Hi all,
I am trying to use the Flv component in Flash CS3.
I want to open the flv files dynamically derived through an ASP page.
I dragged teh component instance on the stage and named it myFLVPlybk.
I added the below action script to another layer on top of layer that contains my component instance myFLVPlybk.
Code:
var id:String;
//id = "images/admin/flv/m.flv";
// loads source property
myFLVPlybk.source = id;
// loads source parameter of load() method
myFLVPlybk.load(id);
// loads source parameter of play() method
myFLVPlybk.play(id);
This works fine when I assign id = "images/admin/flv/m.flv" in the actionscript but if commented no values are obtained.
I would like to pass the variable from ASP/ VBscript page to the swf file:
Code:
where the value user is derived from the database.
As the passing variable method has changes in AS3, i would like to know the easiest way of passing the value to SWF file.
I am a newbie, I have tried the method described in tutorial section for PHP but couldn't get it worked.
I would be grateful if you could give me some hint. This would also help loads of other people who are trying to run FLV files dynamically.
Regards an Happy New years
Khna