Groups | Blog | Home
all groups > flash actionscript > november 2004 >

flash actionscript : Get frame label unanswered question


mxflasher
11/11/2004 10:50:32 PM
Curiously, I have always wondered why you can get a frame's label through Flash
methods, and can get it with some script within the movie itself... And nobody
has ever been able to answer this! TCurrentLabel 3,4, 5 3,4, 5 Syntax
TCurrentLabel(target)] Description Returns the label of the current frame of
the timeline specified by target. If there is no current frame label, an empty
string is returned. The argument type is string. Example var currentLabel =
movie.TCurrentLabel('/MovieClip'); The javascript is bound to get the
requested info above, by 'questioning' the movie (and I can effectively
retreive the info from within the movie), so why can't I get it directly from
within the movie, and have to do it through javascript?
mxflasher
11/12/2004 1:08:36 AM
Jeckyl
11/12/2004 10:03:34 AM
Because Macromedia are slack, basically :) Just like you can set the x and
y angle (skewing) via motion tweens, but they only give you _rotation from
script. There is no good reason at all not to allow skewing via script, MM
just chose not to do it.

More to the point, it is a matter of development priorities .. MM seem to
want to devote more time to things like XML support and videos and complex
componentry and automating the Flash environment etc than on some of the
simpler, long-standing issues like supporting current label, properly fixing
bitmap shift, making transparent wmode work correctly etc. They do have
time to do things like removing Normal mode and changing the whole way
undo/redo works though. Hmmmmm.


AddThis Social Bookmark Button