PDA

View Full Version : Loading SWF w/V2 ComboBox into main movie


dmack
10-31-2007, 06:39 PM
I've got a movie that uses 2 ComboBoxes and works just fine as a standalone SWF:

http://www.mackstudiopro.com/owen/owen_beta.swf

However, when I try to load that SWF into an mc on a different movie using an instance of the MovieClipLoader class, the ComboBoxes still function as expected, but on close they leave an outline (I'm hesitant to call it a halo) where the open ComboBox was:

http://www.mackstudiopro.com/owen/preloader_beta.html

Since the standalone SWF doesn't have this problem, I'm thinking it must have to do with the SWF that's loading it into the mc.

Flash's Help documentation for the loadClip() methods suggests: "If your SWF file includes a version 2 component, use the version 2 component's DepthManager class instead of the MovieClip.getNextHighestDepth() method." I tried this but it didn't seem to have any effect.

If you've experienceed this problem and came up with a workaround, please share.

Thanks!

dmack
10-31-2007, 09:43 PM
I ditched the MovieClipLoader instance with LoadMovieNum and loaded the standalone SWF into _level1 of the preloader movie. All is well now. Thanks.