Solved

Jquerry popup window flash problem

Posted on 2011-09-27
4
288 Views
Last Modified: 2012-05-12
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
Comment
Question by:emresamisuzer
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:conagraman
ID: 36713591
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
 

Author Comment

by:emresamisuzer
ID: 36716258
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
 
LVL 10

Accepted Solution

by:
conagraman earned 500 total points
ID: 36718417
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
 

Author Closing Comment

by:emresamisuzer
ID: 36960305
Thank you for your kindly help.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question