Pil
The problem it's that Flex changed your Application width size at run time, but also, when you tested in the browser it's still at same time due to the HTML it's still with Application width fixed.
So, How to change that?
Open your html-template base and change the _javascript_ in there, to 100%.
Than, when you try again it will fix this issue. so, try to resize and it will happens the changes.
Regards.
On 10/29/06, pilby1 <[EMAIL PROTECTED] > wrote:When I run my application where mx:Application's width is 640x480, by
default, it shows a gradient blue square depicting those screen
dimensions.
I then try to dynamically change the width to 1024 in actionscript when
a button is clicked. I had "trace"'d the application width after
changing it, and it does say the width is now 1024, but the screen
still shows 640x480. How can I make the application refresh to reflect
this new change in width? I tried invalidateSize(),
invalidateProperties, but neither works.
Thanks.
--
----------------------------
Igor Costa
www.igorcosta.com
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- Re: [flexcoders] Changing mx:Application's width during ... Flex Learner
- [flexcoders] Changing mx:Application's width during... bjorn.schultheiss
Reply via email to
Hi All,
I've a similar requirement, but can we change the size of application using AS ? . Any ideas for changing the size of application when "modules" (Flex 2 Beta) are loaded . As observed, we can change the Flash size using js in the embedded HTML
Thanks
Joseph
On 10/30/06, Igor Costa <[EMAIL PROTECTED]> wrote:

