Sunday, March 28, 2010

resizing widgets along with browser...

I am working on an application where the master file contains

?%26lt;mx:VBox id=''sports'' name=''Sports'' label=''Sports'' width=''100%'' height=''100%'' /%26gt;
?%26lt;mx:VBox id=''Tech'' name=''Tech'' label=''Tech'' width=''100%'' height=''100%''?/%26gt;
?%26lt;mx:VBox id=''local'' name=''Local'' label=''Local'' width=''100%'' height=''100%''?/%26gt;
?

No in these VBoxes are loaded swf as follows:

containrOfTheModule = sports;

loadModule(

''Sports.swf'');

isSportsLoaded =

true;

So far so good.?These swf files contain different widgets, like Tabs, form items etc.?Now the problem arises when I resize the browser window.?On resizing the browser window all of them dont get resized at all.?Please advise what do I need to do for that.

Thanks

resizing widgets along with browser...

Set 100% height and width for components in the loaded module (''Sports.swf'')

resizing widgets along with browser...

Am doing that already.?here it is:-

%26lt;mx:Module

xmlns:mx=''http://www.adobe.com/2006/mxml'' width=''100%'' height=''100%''

creationComplete=''creationComplete()''

initialize=''init()''

backgroundImage=''''

backgroundColor=''

#FFFFFF''

label=''Sports

''

%26gt;

try using ModuleLoader instead of VBox

Tried that but to no use.?No difference from how VBox was behaving.

No comments:

Post a Comment