views:

225

answers:

2

I want to call my update(id) javascript function from my flash menu with actionscript 3. How do I do?

A: 

Here's a short tutorial on that.

Ólafur Waage
+2  A: 

You can use ExternalInterface.call.

import flash.external.ExternalInterface;


ExternalInterface.call('update', id);
Eldar Djafarov