Re: [flexcoders] Re: sizing dinamically the screen

2009-02-19 Thread Suresh G
Hey See the easiest thing is to replace the x and y with 100% values say for eg now ur app width is 1024 enter 100% On Tue, Feb 10, 2009 at 8:55 AM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Gustavo Duenas LRS gdue...@... wrote:

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-09 Thread Gustavo Duenas LRS
thanks Amy, but it seems when I try to tell the document in Js about the new size, that it is not doing the resize, Example is trying to do the sizing in the document for vista and others like document.width = screen.availWidth; document.height= screen.availHeight; those arguments work in

RE: [flexcoders] Re: sizing dinamically the screen

2009-02-09 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gustavo Duenas LRS Sent: Monday, February 09, 2009 1:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: sizing dinamically the screen thanks Amy, but it seems when I

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
OK,,I have this using the external interface let me know if I'm wrong...:) mx:script import flash.external.*; publicFunction resizerFlash():void{ var h:uint; var w:uint; if (ExternalInterface.available){ var availableHeight:uint = browserHeight ; h= ExternalInterface.call(availableHeight,

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
Ok, jim, my flex ste: is: http://leftandrightsolutions.com/lrsad/bin/lrsad.html please check it on a pc with windows and let me know if this one looks good on windows/vista/xp borwsers, prefenrently IE. Regards, Gustavo P.d: the aplication for mac computer has a window.open() but problem

Re: [flexcoders] Re: sizing dinamically the screen

2009-02-02 Thread Gustavo Duenas LRS
actually I'm trying to pass the JS var with the availWidth to flex in order to be used on var h:number = ExternalInterface.call(getAvailWidth); var w:humber = ExternalInterface.call(getAvailHeight); root.stage.width = w root.stage.height=h assuming I have in the html wrapper function