You are using the Flex 3 VideoDisplay component ? Weird....it works fine with me..
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init(event)"> <mx:VideoDisplay x="146.5" y="157" width="395" height="258" id="videoObj"/> <mx:Script> <![CDATA[ import mx.events.SliderEvent; private var iniW:Number; private var iniH:Number; private function init(e:Event):void { iniW = videoObj.width; iniH = videoObj.height; try { videoObj.source = "http://localhost/surf.flv"; } catch (e:Error) { output_txt.text = e.message; } sizeSlider.addEventListener(SliderEvent.CHANGE, resizeVideo); } private function resizeVideo(e:SliderEvent):void { var nw:Number = iniW + (sizeSlider.value * 25); var nh:Number = iniH + (sizeSlider.value * 25); videoObj.setActualSize( nw, nh ); } ]]> </mx:Script> <mx:HSlider x="264" y="131" id="sizeSlider" liveDragging="true" minimum="0" maximum="20" snapInterval="1"/> </mx:Application> --- On Fri, 9/5/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Subject: Re: [flexcoders] VideoDisplay Object To: [email protected] Date: Friday, September 5, 2008, 4:04 PM So am i. I made it smaller and the video itself stays the same size but the component shrinks and displays scrollbars PercySent via BlackBerry by AT&TFrom: Mario Falomir <mario_falomir@ yahoo.com> Date: Fri, 5 Sep 2008 12:12:40 -0700 (PDT) To: <[EMAIL PROTECTED] ups.com> Subject: Re: [flexcoders] VideoDisplay Object Hi percy, I used its width and height property and everything resize fine... --- On Fri, 9/5/08, [p e r c e p t i c o n] <percepticon@ gmail.com> wrote: From: [p e r c e p t i c o n] <percepticon@ gmail.com> Subject: [flexcoders] VideoDisplay Object To: [EMAIL PROTECTED] ups.com Date: Friday, September 5, 2008, 12:07 PM Hi People,I'm resizing video display object in my app and the video itself isn't being resized...just the component... how can i change the size of the video itself. percy

