all groups > flash actionscript > october 2004 >
You're in the

flash actionscript

group:

How to enumerate scenes/labels



Re: How to enumerate scenes/labels David Stiller
10/25/2004 3:51:39 PM
flash actionscript: By hand, on a piece of paper, maybe. ActionScript doesn't do this.


David
stiller ( at ) quip ( dot ) net

How to enumerate scenes/labels kloodge
10/25/2004 7:36:51 PM

Re: How to enumerate scenes/labels kloodge
10/25/2004 10:54:18 PM
In developing a long running movie it would be convient to quickly jump to
certain landmarks in the movie. If I could enumerate the labels or scenes I
could have a key stroke activate a screen that list the scenes/labels that I
could choose and jump to. I could drop this into any movie without specific
coding and reuse it.
Re: How to enumerate scenes/labels Jeckyl
10/26/2004 8:02:53 AM
there is no such thing as a scene in a published SWF movie

labels are not objects and cannot be enumerated .. all you can do with a
label is goto its corresponding frame (or call the code in its frame). You
cannot (directly) tell what frame a label is on, or what label is on a given
frame, or what labels exist in a timeline etc etc

but seeing you are the one creating the movie, you already know all the
labels. Unless of course this is some other movie that you are loading in,
and so you do not know the names of the labels. But if you don't already
know the name of the labels ... what use is it of you COULD enumerate them,
as you don't know what the labels are for? Seems a bit silly.

Re: How to enumerate scenes/labels David Stiller
10/26/2004 8:31:32 AM
Cool idea. The only way you'll be able to do it is to reference an
array or object with that information.


David
stiller ( at ) quip ( dot ) net

AddThis Social Bookmark Button