Solved

Jquerry popup window flash problem

Posted on 2011-09-27
4
286 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now