Herke
01-08-2008, 03:29 PM
Hi, i have a movie clip thats 750 wide, and in it i have an flvPlayback component.
I want to load an flv into this and then align the player so that its centred in the 750 wide movie clip (the videos will vary in width)
How to i go about this? at the moment when i load an flv in the flvPlayback x is always in the same place. How can i get the size of the flv its trying to load?
Here is what im using inside the mc:
function startVid(vidURL){
trace("vidplayer = " + vidURL)
my_FLVPlybk.contentPath = vidURL;
my_FLVPlybk.play();
}
Thanks for the help
neil
I want to load an flv into this and then align the player so that its centred in the 750 wide movie clip (the videos will vary in width)
How to i go about this? at the moment when i load an flv in the flvPlayback x is always in the same place. How can i get the size of the flv its trying to load?
Here is what im using inside the mc:
function startVid(vidURL){
trace("vidplayer = " + vidURL)
my_FLVPlybk.contentPath = vidURL;
my_FLVPlybk.play();
}
Thanks for the help
neil