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.



More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support