How to Communicate with JavaScript?

Answer Posted / madhusudhan

To call javascript using flash

getURL("javascript:name of the function");

but better to call with ExternalInterface it supports all is
6 firefox also ...

import flash.external.ExternalInterface;
ExternalInterface.call("name of the function with out round
brackets")

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello! I would like to learn the technique (I don't know if there is a name for it) used by Stu Campbell (a.k.a. Sutu) in his flash comic book Nawlz for animating the image of whale in episode one. The the three tutorials that the artist made explain the basic scenario of the working process but they do not at all go into coding and such.

1942


what is flash tweening? : Adobe flash

523


what methods are used to pass variables out of flash to a server side solution? : Adobe flash

472


in general, non-mp3 digital audio destined to be imported into the flash mx authoring environment should first be compressed how much? : Adobe flash

461


How many menus will you find on the menu bar?

505






How does removal of actual objects and data work in actionscript?

477


which code should be added to create a second blue square to the right of the first? : Adobe flash

507


what should be used in the name of constant? : Adobe flash

471


which two sets the x position of the instance my_mc to that of the mouse cursor? : Adobe flash

504


Differentiate between as2 and as3.

509


which of the following is not a guideline for conducting effective usability testing? : Adobe flash

484


I shoot underwater with a ttl strobe that does not allow you to set flash exposure compensation. How do I set fill flash with this set up? : Adobe flash

474


What is meant by vector graphic animation?

468


which of cannot be automatically outputted by the trace action? : Adobe flash

491


How to embed flash in html?

501