I've been unable to find information about the timing of loading Flash and JavaScript. I have a page that includes a JavaScript file and has a Flash SWF:
<script src="stuff.js"></script>
...
<object ...><embed ...>
...
<script>
// some code
</script>
The SWF calls a function defined in the JavaScript.
- Is it possible for the SWF to load before the JavaScript and be unable to find the function?
- Is it possible for "some code" to run before the SWF is loaded?