there's a ready state for the External interface you might need to check, the ready state fires when the page has done loading and the javascript is ready for you to call , check the ExternalInterface class in flash 8 for that
On 11/16/06, Dave Segal <[EMAIL PROTECTED]> wrote:
Thanks for the response Joey. I actually tried a similar method before that almost worked. From Flash I did this - getURL("javascript:document.mySWF.SetVariable('referringDomain', document.loc ation.host)"); The problem I ran into was that in IE as soon as this line executes the page stops rendering. This is especially problematic when the swf begins before the page is done loading. The page never completes. Also, several sites I am targeting, like mySpace, restrict javascript. I'm not sure what would happen if I tried writing javascript at runtime to a mySpace page. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com