*In JS:*

mainFlash = document.getElementById('flash'); //id of the object element


mainFlash.asFunc(); //trigger flash with an external interface call


*In Flash:*


//Flash listens for asFunc in JS and knows to execute myFunc

ExternalInterface.addCallback('asFunc', myFunc); //my Func is an
actual function in my AS3;

 myFunc will contain your script to grab the text in the TF and send
it back to JS.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to