I’m working on an eBook, presently implementing each page as a separate displayGroup(). Two issues I’m encountering:
-
I want to share some display objects on multiple pages - but sometimes they refuse to appear on some pages. I can insert, say one image object into the display group for several pages, but sometimes it will be missing on some pages. Things ‘compile’ and run fine, but some objects, known to be inserted are just absent on some pages. It’s not universal, seems a little random 'where’the absences are – but whatever is missing or visible on launch stays that way as other things go on at runtime
-
I insert the same two display object hotspots (let’s say ‘back’ and ‘next’) on each page - each one with an eventListener that triggers the flip. each one This works in some cases - but seems ‘absent’ here and there, too. No crashes or runtime complaints - just ‘dead spots’
I can post code to give more detail if necessary - but I wonder at the global level for now … is it OK to have one eventListener attached to a display object that is inserted in multiple displayGroups? I have all the code I need to sort out ‘who called’ and make everything else work fine, but there seems to be a weak spot in my approach with inserting copies across groups.
Thanks for any tips…
[import]uid: 34130 topic_id: 7442 reply_id: 307442[/import]