Divyakedia
07-24-2006, 11:46 PM
Hi,
I am generating a 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 any img/swf which comes from an xml file. Now, as we know this component is draggable, which is ok. But, in my case the image in the popup changes with the click of a radio btn and therefore the popup refreshes itself each time, so if the user changes the position of the popup according to his liking and then selects another radio the popup should remain at the new position but in my case the popup returns to where it was originally. What changes do i make to the script so that it records the new position and stays there?
I thought of this: the popup will not refresh only the img changes, but then the popup is scalable since my images will be of diff. sizes. pls help.
Do i att. my fla,xml?
I am generating a 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 any img/swf which comes from an xml file. Now, as we know this component is draggable, which is ok. But, in my case the image in the popup changes with the click of a radio btn and therefore the popup refreshes itself each time, so if the user changes the position of the popup according to his liking and then selects another radio the popup should remain at the new position but in my case the popup returns to where it was originally. What changes do i make to the script so that it records the new position and stays there?
I thought of this: the popup will not refresh only the img changes, but then the popup is scalable since my images will be of diff. sizes. pls help.
Do i att. my fla,xml?