PDA

View Full Version : FLV player resizes, very confusing...


kokeefe
11-06-2006, 07:50 PM
I'm developing a CD that plays a lot of .flv videos. It loads the content path like so...

player.contentPath = "Pages" + "/" + curr + "/" + curr + "_movie.flv";

and this works fine.

BUT, when I play one .flv, then click off and play another (loading a different content path into the player) the video and the player shrink a little more. So if I keep playing different .flv's the vids keep getting smaller. I have no idea why. I've tried to set the autosize several different ways, and a few other things but nothing seems to work... Does anyone have any idea what the problem may be?

One more thing, it seems that one .flv file in particular sets the resizing into motion...so I recreated it and renamed it, but it still doesn't work. HELP!!!

kokeefe
11-06-2006, 08:49 PM
Figured it out...you can NOT have different resolution flv's that play from the same player. It was going from 720X480 to 640X480, then next time 720 would play it would start at 640...and keep getting smaller.

Sucks it can't dynamically resize.

Let me know if anyone has any ideas please.

sleekdigital
11-08-2006, 04:05 PM
There are 2 properties of the FLV Playback component that you need to pay attention to here... autoSize and maintainAspectRatio

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003523.html

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003523.html