Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-21-2008, 08:40 PM   #1
New Member
Join Date: Feb 2007
Posts: 27
Default [AS2] help with flv resizing


I am having a bit of trouble resizing flvs.

Basically I have to load in flvs of various dimensions (one at a time) into the same flv component instance.

I don't understand why when I call the following function the video isn't resizing.

ActionScript Code:
function setFlvSize(){ my_FLVPlybk.height = 240; var listenerObject:Object = new Object(); listenerObject.resize = function(eventObject:Object):Void {     trace("Player's width is: " + my_FLVPlybk.width)     trace("Player's height is: " + my_FLVPlybk.height) }; my_FLVPlybk.addEventListener("resize", listenerObject); }

So how do I make ALL the flvs that I import heights 240 and maintain aspect ratio - no matter what there original dimensions.

I have maintain aspect ration set to true and resize set to false in the parameters for my flv component.

Any help appreciated.

paulie is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing FLV player componentPath boibastard ActionScript 2.0 2 08-14-2008 03:15 AM
[AS2] SeekBar Controls FLV & Loaded Swf nyekola Components 0 07-29-2008 07:36 PM
[AS2] SeekBar Controls FLV & Loaded Swf nyekola Components 1 07-29-2008 07:23 PM
[AS2] Large Play button on FLV Playback - is this built in? pulpo Components 3 07-15-2008 03:52 AM
resizing an embedded flv video using actionscript timmeahy ActionScript 2.0 2 10-02-2007 01:29 AM

All times are GMT. The time now is 11:42 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.