acwtionscript, _currentlabel?
- Started
- Last post
- 5 Responses
- fitsum
Is there a reserved variable for frame labels similar to _currentframe? or do I have to need to do a workaround?
- ********0
just create a function called setCurrentFrame() or something
and have it called everytime you change frames.
- alloyd0
frame labels just cant use a reserved name...
Just look up 'About reserved words' in the Flash help section, you can't use any of them....
- fitsum0
right on. thanks folks
- alloyd0
also, an underscore "_" is usually used to identify a prop in a class, so I wouldn't recommend using it in a frame label name.
- fitsum0
I think the way I asked the question was confusing. I was wondering if there was a global variable called "_currentlabel" or something similar that would allow me to check what the current label of a given movie clip was using onClipEvent(enterFrame). Turns out I dind t really need to know what the label was anyway.
thanks to all for responding