-
get the name of the current scene
Yes. I know there are work-arounds and hacks.
I have searched for quite a while now and can't find an answer that actually works.
Using flash 8 pro, AS2.0
I've tried all kinds of apparently relative solutions, including the classes:
import flash.display.MovieClip;
...currentScene, name(), etc. as found in the newsgroups with not even a little success.
I'm going to dynamically name and control movies based on the current scene, yet not duplicate a lot of scenes. To do this I need to know which scene I'm in. Even using an array index to determine this is fine, as there is supposed to be an array of scenes maintained for use.
Ideas?
TIA!
-
Senior Member
Hi
Not quite sure i understand you!....but maybe,
Have a _global variable which gets set by code in each scenes timeline ,
then refer to the _global var to find out which scene you are in.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|