How to pass flashvars to a swf file?

Visit title_cmdln

Top  Previous  Next

How to pass flashvars to a swf file?

CLIP0002

Question: I just have another question :) I couldn't work out from the documentation how to pass flashvars to the swf file that will need to be converted to video. My swf file will need to accept two parameters that I'd normally pass in via the flashvars querystring in the embed object html code , eg flashvar="uid=9999&usertype=student".  Could you please let me know if it is possible to use flashvars with your product ,and if so could you please provide an example?

 

Many thanks!

 

Paul

 

Answer: From 1.3 version, Flash2Video Command Line support passing flashvars to a swf file, the flashvars is case-sensitive.

For example:

f2vcmdln.exe -cmd createtask -sourcefile "yourswf.swf?uid=9999&usertype=student" -taskfile "yourtask.tsk"