Panel resize problem
hello,
i have 2 panels inside of vbox, both set visible=false user.
i need display both panels in same x, y positions. so:
multipanel.y = singlepanel.y;
multipanel.x = singlepanel.x;
the multipanel defined after singlepanel. need multipanel appear singlepanel appears.
this works fine, except first time dispalyed. no matter do, multipanel displays @ bottom of browser, , relocate correctly when displayed twice.
why happening second panel? on creationcomplete of mxml, if use code doesnt work:
multipanel.y = singlepanel.y;
multipanel.x = singlepanel.x;
multipanel.visible = true;
it works fine after code called twice. why wont work first time around?
perhaps layout vbox laying out multipanel below singlepanel.
try putting 2 panels inside canvas or group , try it.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment