flash asfunction
- Started
- Last post
- 6 Responses
- stewart0
found it.
somehow the _global functions didn't work anymore when called from an external txt document (when i published the flash file for player version 8 instead of version 6).i changed all _global. functions into _root. functions and now it works again like it did before.
strange.
- maximillion_0
were you calling the funtion with the _global prefix?
- stewart0
no, without.
in the txt document it looked like this:
a href="asfunction:printform"
- maximillion_0
are the global functions defined in the first frame with _global? and yr txt doc loaded later?
just wondering why it didnt work and you had to change them
- lvl_130
copy/paste as from txt file into the flash as window and check syntax? that should at least tell you any obvious errors.
- skelly_b0
Make it an AS file and use it like so?
#include "yourscript.as"