Link to home
Start Free TrialLog in
Avatar of emresamisuzer
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?
Avatar of conagraman
conagraman
Flag of United States of America image

i don’t know if i completely understand the question but you can add a form in your flash timeline without calling any external functions. If you need to just call an external function …
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("YourFunctionName()");



Avatar of emresamisuzer
emresamisuzer

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.
ASKER CERTIFIED SOLUTION
Avatar of conagraman
conagraman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for your kindly help.