Tomkay
Tomkay

Reputation: 5160

How to call a simple javascript function(); when I click on a button in a .swf file (FLASH)?

I click on a button (or any object where I can write Action Script) and It should call a javascript function which I wrote in my functions.js

Like an alert message for example.

How do I do this?

Upvotes: 0

Views: 289

Answers (1)

mgraph
mgraph

Reputation: 15338

try this ExternalInterface.call("functionname","variables");

Upvotes: 2

Related Questions