Thanks for the response - I have tried this and a search of the internet makes it appear as though this is the tried and true method HOWEVER... in the FF error console - I am getting (if it were your code below):
"....asFunc is not a function" it is though it is searching for that function locally in the JS.... not sure if I have a js browser setting off or not... Ted -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Nathan Mynarcik Sent: Thu 5/24/2012 11:01 AM To: Flash Coders List Subject: Re: [Flashcoders] RE: Grab Textfield Value from Javascript *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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders