adriansalisbury
10-02-2009, 04:16 PM
I've actually got this request at the bottom of another thread but guess it is a bit lost there.
My Flash developer is struggling here integrating into FPP and I wonder if any of you can help.
We are struggling with popups that seem to close but when you leave the scene and then come back to it, every popup you clicked on previously reappears. http://axis.uk-virtualtours.co.uk/development/
After Hans narrowed it down to the popups themselves I got my Flash developer to look at his code and he wonders if there is some kind of 'registry' in a particular scene that remembers which popups to have open, and while I am visually hiding the popup, the scene doesn't know and assumes you want
it open again when you come back?
Here is the code in his swf to close the popup:
close_btn.addEventListener(MouseEvent.CLICK, function (event:MouseEvent):void {
(loaderInfo.loader as Object).parent.visible = false; });
Does anyone understand this that might be able to help us?!?
My Flash developer is struggling here integrating into FPP and I wonder if any of you can help.
We are struggling with popups that seem to close but when you leave the scene and then come back to it, every popup you clicked on previously reappears. http://axis.uk-virtualtours.co.uk/development/
After Hans narrowed it down to the popups themselves I got my Flash developer to look at his code and he wonders if there is some kind of 'registry' in a particular scene that remembers which popups to have open, and while I am visually hiding the popup, the scene doesn't know and assumes you want
it open again when you come back?
Here is the code in his swf to close the popup:
close_btn.addEventListener(MouseEvent.CLICK, function (event:MouseEvent):void {
(loaderInfo.loader as Object).parent.visible = false; });
Does anyone understand this that might be able to help us?!?