How can I open a new window in Flex 3 under Opera without unload my app ?

Hi,

For my development, I use Flex 3.0.1.

At beginning, user type his username and password. But I have a link to retrieve forgotten password which open a URL in a new window (or tab).
In IE, FF and Safari, I haven't any problems, but under Opera, new window is opened in a new tab but my initial flex app is unload.

Did someone have a solution ?
KCTeamAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

evcrCommented:
can you post some code showing the problem?
0
evcrCommented:
works here:
---- opera.mxml ----
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
	<![CDATA[
		 public function goURL():void {
	        var u:URLRequest = new URLRequest("http://localhost/eedemos/bin-debug/opera2.html");
	        navigateToURL(u,"_blank");
	     }
	]]>
</mx:Script>
	<mx:Button x="10" y="10" label="Page 1" click="goURL();"/>
</mx:Application>
 
---- opera2.mxml ----
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
	<![CDATA[
		 public function goURL():void {
	        var u:URLRequest = new URLRequest("http://localhost/eedemos/bin-debug/opera.html");
	        navigateToURL(u,"_blank");
	     }
	]]>
</mx:Script>
	<mx:Button x="10" y="10" label="Page 2" click="goURL();"/>
</mx:Application>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
evcrCommented:
oh i see what you mean, i'll get back to you
0
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

evcrCommented:
you said the first Flash is 'unloading' do you mean 'restarting' i.e. when you go back to the first tab the application has restarted?

I'd need to see some code to see what's happening

k
0
KCTeamAuthor Commented:
First, thanks for your answers.

My app is very huge, I cannot put code here, but I'm still working on problem identification.

What I know :
  1. I can only use navigateToURL() to open URL because other methods are blocked by Opera. I use "_blank" parameter.
  2. With a new very simple project, this is working properly.
My app is build like this :
  • MainApp.mxml which extends from MainAppClass.as
  • MainAppClass.as which
    • On creation complete : initialize new Login object
  • Login.as which
    • Build a new LoginGUI
    • popup LoginGUI with command :
      • PopUpManager.addPopUp(aLoginGUI, (Application.application as MainApp), false)
    • ==>> Here, user can click on links (==>> problems)
  • LoginGUI.mxml

I don't expect a solution, but if you (or somebody else)  have ideas...
For my part, I try to reduce code to identify problem.


Thanks a lot.
0
KCTeamAuthor Commented:
To help you to understand, I attach an animated screen shot of what happening. Sorry for poor quality and French language used.

At the end in flash context menu, "Animation non chargée" => "Non loaded animation".

error.gif
0
evcrCommented:

maybe not much help here but what happens if you run this from it's html wrapper instead of running the swf directly i.e. KPWebDeskFullFlex.html instead of KPWebDeskFullFlex.swf





0
KCTeamAuthor Commented:
It's the same.

I'm going to try to reduce code to identify problem.
0
KCTeamAuthor Commented:
Very hard problem, very hard to explain
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.