• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

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?
0
emresamisuzer
Asked:
emresamisuzer
  • 2
  • 2
1 Solution
 
conagramanCommented:
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()");



0
 
emresamisuzerAuthor Commented:
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.
0
 
conagramanCommented:
there might be other better resources on this but see if this link helps
http://www.judahfrangipane.com/blog/2007/01/01/security-error-accessing-url/
0
 
emresamisuzerAuthor Commented:
Thank you for your kindly help.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now