Click to See Complete Forum and Search --> : retain position of window component


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?

Divyakedia
07-26-2006, 12:21 AM
Also, when i've uploaded this stuff the scalable thing is ok but the close btn which comes on the right hand side shifts to left. could someone help or this post is going to be used just for reading the query and leaving it unsolved? :(

Divyakedia
07-28-2006, 01:18 AM
At least leave a comment so that i may know that u wanted to help but couldn't.

raviganesh91221
07-28-2006, 01:50 AM
I am trying yaar but its too tough. What can i do I have my work too. I have also seeked help form my freinds too. Wait and u can even try other forums.