Instead of using javascript:alert(‘hi’), suppose I store alert(‘hi’) in x.js and put it on host.com/x.js. Is it possible to execute host.com/x.js directly from the address bar using javascript:? Thanks.
After I compile the fla and play the swf in my browser, x.js is executed, but there is an infinite loop that causes the x.js to be executed repeatedly.
Any idea on how I can get out of this infinite loop? Thanks.
@toicontienJan 17.2009 — #AJAX will only work if the web page is hosted on the same domain as the JavaScript. If your FLA only has one frame and it's executing x.js repeatedly, is your FLA simply repeating that first frame?