0

beside swfaddress is there any other way to send data from a html page to a swf application? What I need is when a user clicks on html contents to change information inside the swf.

Thanks

2
  • I might have found a possible solution, using ExternalInterface, this is from adob website: kb2.adobe.com/cps/156/tn_15683.html "From JavaScript on the HTML page, you can call an ActionScript function in Flash Player. The ActionScript function can return a value, and JavaScript receives it immediately as the return value of the call." Commented Feb 8, 2010 at 22:57
  • Mhm, that's how ExternalInterface works. -pokes answer- Commented Feb 8, 2010 at 23:00

1 Answer 1

2

Take a look at ExternalInterface. You can set up callbacks in the SWF that allow you to use Javascript to call your Actionscript functions.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.