[Flashcoders] all useless: removeMovieClip, destroyObject, DepthManager.setDepthTo
Hi list... I can't seem to figure out in AS2 how to get V2 components off the stage. I've tried destroyObject, removeMovieClip and even used the DepthManager class to try to get the depth within range to be removed. It's showing as -32000. Any ideas how to get the movieClip off the stage? Help! Thanks, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] all useless: removeMovieClip, destroyObject, DepthManager.setDepthTo
It's showing as -32000. Have you tried swapping it to a positive depth first before removing it? Not with the DepthManager, but with movieClip.swapDepths() (I think that's what it's called, its been a while since I worked in AS2) Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] all useless: removeMovieClip, destroyObject, DepthManager.setDepthTo
Thanks Jason for replying, however it didn't work, but I appreciate the suggestion. I've tried swapDepths to a positive number, destroyObject of the components within that movieClip (2 get destroyed, the third one, a ScrollPane containing the other two doesn't), simple removeMovieClip calls, and trying to createEmptyMovieClip on that level. I must be missing something. - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] all useless: removeMovieClip, destroyObject, DepthManager.setDepthTo
On Sep 3, 2008, at 2:16 PM, Mendelsohn, Michael wrote: I can't seem to figure out in AS2 how to get V2 components off the stage. I've tried destroyObject, removeMovieClip and even used the DepthManager class to try to get the depth within range to be removed. It's showing as -32000. Any ideas how to get the movieClip off the stage? This might help. http://board.flashkit.com/board/showthread.php?t=702902 I have never used DepthManager and createClassObjectAtDepth, or createClassObject ... mainly because they suck. So, I've never had a problem because I've always just casted any v2 component as a MovieClip in any AS2 class (I never needed code completion on them). good luck with that one. - jon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders