scale popup according to the content
hi,
i generating popup thru actionscipt:
mytw = mx.managers.popupmanager.createpopup(_root, mx.containers.window, false, {closebutton: true, title: _root.reqmessage1, _width: 610, _height: 232, _x: 120, _y: 240, color: 16711680,contentpath:radiobuttonarray[_loc2].object.bkimage});
where,
bkimage represents img/swf comes xml file. now, have specified width& height in properties. but, when image bigger or smaller, have popup scale accordingly. changes make script? pls help.
i generating popup thru actionscipt:
mytw = mx.managers.popupmanager.createpopup(_root, mx.containers.window, false, {closebutton: true, title: _root.reqmessage1, _width: 610, _height: 232, _x: 120, _y: 240, color: 16711680,contentpath:radiobuttonarray[_loc2].object.bkimage});
where,
bkimage represents img/swf comes xml file. now, have specified width& height in properties. but, when image bigger or smaller, have popup scale accordingly. changes make script? pls help.

More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment