| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
By the power of greyskull
Join Date: Sep 2006
Location: Canada
Posts: 39
|
get frame numbers using frame labels
This might seem like an odd question, but I have a giant movieclip and I want to turn it's frame labels into numbers. I know it sounds silly, "why not just check the numbers and note them down" is what you'd say. Well, the problem is that the numbers are constantly changing each time something is tweeked for animation, or an item is added etc. Here's what I got Code:
of course, any frame that has additional actions get's executed in the second loop, but the clip is disabled and hidden... so this should work, in theory. I'm just wondering if somebody has a better solution. Last edited by .simplestick : 02-06-2007 at 06:19. |
|
|
|
|
|
#3 (permalink) |
|
By the power of greyskull
Join Date: Sep 2006
Location: Canada
Posts: 39
|
I have this 'frameTo' function ( I think everyone uses something similar ) but sadly it doesn't allow me to do "frameTo( 'label1' );". I'm only able to use frame numbers; While I could probablly define variables for each label, it would still require me to pass through the main clip at least once. And I'd much prefer to have all my actionscript at the root level. What I have works... But it's a bit hefty for what it is. Was just wondering if somebody had a better idea |
|
![]() |