emresamisuzer
asked on
Jquerry popup window flash problem
Hi,
I am creating a cataloque cd for my company with Swishmax4. I run flash animation inside a html file. I want to create an offer form which will be opened as a html by a link from the flash animation. I am not allowed to open the offer file in new browser. This offer form is not going to close the main html and the flash. I made an example(jquerry).
In my example when I click the link for the form html on the flash object it does not work properly. After I save my swf file as a trusted file in flash player then it worked. Then I uninstall the flash player and install again. Same thing happened. I run this in different computers. It worked in some of them, it did not work in some of them. This project is going to work in a CD and we are going to give this CD to our customers. So I can not say to our customers to save this swf file as a trusted file in flash player.
What do you suggest? Is there another way?
I am creating a cataloque cd for my company with Swishmax4. I run flash animation inside a html file. I want to create an offer form which will be opened as a html by a link from the flash animation. I am not allowed to open the offer file in new browser. This offer form is not going to close the main html and the flash. I made an example(jquerry).
In my example when I click the link for the form html on the flash object it does not work properly. After I save my swf file as a trusted file in flash player then it worked. Then I uninstall the flash player and install again. Same thing happened. I run this in different computers. It worked in some of them, it did not work in some of them. This project is going to work in a CD and we are going to give this CD to our customers. So I can not say to our customers to save this swf file as a trusted file in flash player.
What do you suggest? Is there another way?
ASKER
I guess my question was not clear enough. I want to rewrite:
I am preparing a CD that contains an HTML file with Flash embedded. In the Flash I want to create a form, and by clicking the send button I want to e-mail the form contends.
I created an online web page and try to load the page inside the flash. The web page will get the address bar parameters and send them in e-mail. The problem is, Flash's security settings doesn't allow the web page to load.
Briefly, I want to send an e-mail through a flash that runs locally on a CD, not on web page.
By the way, I am using Swishmax4.
I am preparing a CD that contains an HTML file with Flash embedded. In the Flash I want to create a form, and by clicking the send button I want to e-mail the form contends.
I created an online web page and try to load the page inside the flash. The web page will get the address bar parameters and send them in e-mail. The problem is, Flash's security settings doesn't allow the web page to load.
Briefly, I want to send an e-mail through a flash that runs locally on a CD, not on web page.
By the way, I am using Swishmax4.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for your kindly help.
In your source file create a function I use javascript so I would create a javascript function then..
In your AS add this line where you need it to happen. in your on enter event or in a button etc..
Here is the code
ExternalInterface.call("Yo