Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Flashants Support Forum

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-30-2002, 01:21 PM   #1
Flashants
Moderator
 
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
Default Get author and title string of video file

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?
Flashants is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.