Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-23 Thread Kelly Smith
excellent and brief tutorial to achieve what you seek to do: http://www.jamesor.com/2006/10/12/creating-liquid-guis-with-flash-part-2/ - k On 1/22/07, Rákos Attila [EMAIL PROTECTED] wrote: Probably you refer incorrectly to the video and navigation movieclips. By using this you refer to

[Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread Cynthia Lawson Jaramillo
Hi everyone, I'm trying to fill my browser window with my flash movie, but without resizing my nav buttons. My other element on stage is an FLV so I should be able to assign it's width height, right? This is my code which does NOT work: Stage.scaleMode=noScale; var stageL=new Object();

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread Webdevotion
Cynthia, If video is an instance of the flv player component, you should use this code instead: stageL.onResize = function(){ video.setSize( Stage.width, Stage.height ); } Using _width and _height in this case can cause distortion. If you use the setSize method, the component will handle the

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread Cynthia Lawson Jaramillo
Hi, Thanks for the suggestion, but that didn't work either! Any thoughts on what the setting for scaling should be under Publish Settings? Should that matter, or regardless of what I select there, it should get overriden by my code? Any other thoughts? xx C. On Jan 22, 2007, at 10:51

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread R�kos Attila
Probably you refer incorrectly to the video and navigation movieclips. By using this you refer to variables/properties of the listener object itself, but obviously there are no such properties (try to trace them out). And also you may need to set Stage.align, too. Attila