Hmmmm still cross-browser issues - it's always something... :-)
-----Original Message----- From: Ted Lehr Sent: Thu 5/24/2012 11:43 AM To: Flash Coders List Subject: RE: [Flashcoders] RE: Grab Textfield Value from Javascript So seems like my issue was the object tag - I used a simplified version: <object data="myflash.swf" type="application/x-shockwave-flash" id="myflash" width="100" height="200"> <param name="movie" value="myflash.swf" /> <param name="bgcolor" value="#ffffff" /> <param name="height" value="100" /> <param name="width" value="200" /> <param name="quality" value="high" /> <param name="menu" value="false" /> <param name="allowscriptaccess" value="samedomain" /> </object> and it seems to work... -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr Sent: Thu 5/24/2012 11:24 AM To: Flash Coders List Subject: RE: [Flashcoders] RE: Grab Textfield Value from Javascript 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