javascript function call from Flash

A

Anees

Hi,

i need to invoke a javascript function while clicking a button that is
in a flash movie.
i hav used geturl() to redirect the page to some other page.
but is it possible to call a javascript function from FLASH..??

please help me

Regards
Anees
 
D

d d

Anees said:
i need to invoke a javascript function while clicking a button that is
in a flash movie.
i hav used geturl() to redirect the page to some other page.
but is it possible to call a javascript function from FLASH..??
Anees

There are 3 ways to call javascript from Flash.

#1 - You can do this: getURL("javascript:alert('hello world')");
Note, this can result in a "navigation click" sound on Windows/IE.

#2 - use an FS command (this needs the JavaScript to be FS command aware).

#3 - Use the Flash8+ ExternalInterface

You'll get more useful help for Flash from one of the Adobe support forums.

~dd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top