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?
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.
Don't see what you're looking for? Try a search.
|