digitalfiz
05-21-2008, 01:01 AM
ActionScript 3.0 and Flash CS3 is what I am using. I am a super n00b when it comes to action script. I just started messing with it a few days ago and I'm playing with the built in stuff for flv videos.
My problem is setting the flv dynamically. I've managed to mess with the skins and get one to look like i want it but I lack any knowledge in action script and its error terminology. Here is how i am trying to set the path hard coded just till I get it to work:
FLVPlayback.contentPath = "moviegen.flv";
FLVPlayback is the default name for the player object im guessing but I get this error when I try to modify it any:
1119: Access of possibly undefined property contentPath through a reference with static type Class.Now I'm assuming there is a way to do this so can anyone help?
P.S. On another note its not a big deal because fixing this problem I think will fix the other. I've read that the flvplayer will resize auto for the video it is playing is this true? If not I was going to set the width and height of the FLVPlayback to the stage height/width. Any opinions on the correct way to go about this?
My problem is setting the flv dynamically. I've managed to mess with the skins and get one to look like i want it but I lack any knowledge in action script and its error terminology. Here is how i am trying to set the path hard coded just till I get it to work:
FLVPlayback.contentPath = "moviegen.flv";
FLVPlayback is the default name for the player object im guessing but I get this error when I try to modify it any:
1119: Access of possibly undefined property contentPath through a reference with static type Class.Now I'm assuming there is a way to do this so can anyone help?
P.S. On another note its not a big deal because fixing this problem I think will fix the other. I've read that the flvplayer will resize auto for the video it is playing is this true? If not I was going to set the width and height of the FLVPlayback to the stage height/width. Any opinions on the correct way to go about this?