I'm seeing something weird happen with the flash movie I'm working on.
One of the first things the movie does is load another movie. The movie it's loading has the potential of being pretty large, so I created a simple overlay on the movie's UI that displays a Loading message along with a % completed. The overlay is created to have the same size as the Stage. Here's the weird thing. Sometimes when I load the movie the overlay doesn't display, due to Stage.width and Stage.height both being 0. One of my coworkers suggested moving everything to the second frame, but that didn't help. Digging some more I found that if I access Stage.width and Stage.height from code in the frame itself (in the FLA) it worked correctly, but accessing it from an .AS file fails. Has anyone seen this before? I've changed my code to pass in the Stage.width and Stage.height to the function being called in the .AS file, which will fix this particular problem, but there are other places in the code that Stage is used, and I worry that they may also have problems. -Andy _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

