Skip to main content
December 11, 2008
Question

Calling a .js file from Flash

  • December 11, 2008
  • 2 replies
  • 441 views
To start I am relatively new to using ActionScript. I have inherited a website built entirely with flash (AS2). I have been asked to add a third party chat feature to this website. Unfortunately the third party provider does not support their product within a flash website. I have been told that this can be done but I do not know where to start. I can get this product to work on an HTML page but I do not want to start re-building a perfectly good flash pages in HTML. Can anyone point me in the right direction?
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
December 13, 2008
you can't "call the .js file into the html...". you can execute js functions from flash.
kglad
Community Expert
Community Expert
December 11, 2008
you can load html pages with flash and you can call js functions with flash. there's not much else to go on from the info in your message.
December 13, 2008
If I call the the .js file into the HTML page the icon that it creates will reside outside of the .SWF file that resides on the page. I need the .js file to link to graphic that will appear within the SWF. Thank you.