ExternalInterface and separate .js files

Hello guys,

I am attempting to call a javascript function from flash. If the stuff in the .js is placed between <script> tags on the html page with the flash is embedded, then the call goes through fine.

However, if the script is placed in a .js file and embedded in the html file via:

<script type="text/javascript" src="scripts/bookmark.js"></script>

the call from ExternalInterface fails.

Any ideas appreciated

cheers :slight_smile: