PDA

View Full Version : Get author and title string of video file


Flashants
04-30-2002, 12:21 PM
The GetTitle is valid only when video is playing

So you may add a NewStream event first, and use GetTitle command at /:NewStreamAction frame, i.e.
frame 1:
fscommand("fas.avclip.load","icp.asf")
fscommand ("fas.event.NEWSTREAM", "/:NewStreamAction");


frame 50, set frame label to NewStreamAction
fscommand("fas.clipInfo.GETTITLE",ClipTitle")


--- --- --- --- --- --- --- --- ---

Replying to:

I use
fscommand ("fas.avclip.Load", "icp.asf")
fscommand ("fas.avclip.DisplaySize","FitToSize")
fscommand ("fas.avclip.AutoSize", "False")
fscommand ("fas.avclip.Rect", "0,0,550, 400")

fscommand ("fas.clipinfo.GETTITLE", "ClipTitle");

gotoAndPlay (1);

to load my video into the flash, and the video works nicely, but it won't send the name to the variable on my flash.

Now that's weird, should the command be in a certain event of loading or something?

It loads good and the control buttons work as well, but it sends nothing to the textfield (I mean really "", cause it removes the text from the field) what did I miss?