|
|||
|
since ExternalInterface.call is only able to call global methods. I wonder if there is any way to write global methods besides Initialize script?
its hard to manage a big script file like Initialize thanks P.S. I know fscommand could call a script. but i think ExternalInterface.call is way better. |
|
|||
|
I don't know if this will help.
I mostly make several SWFKit-scripts where I write my methods. for example : i make a script 'Image_scripts' where I put all my image related functions i make a script 'connect_scripts' where I put all my database related functions ... therefore my initialize-script is nothing more then a list of scripts that I call with invoke Code:
//Initialize
invoke("'Image_scripts")
invoke("'connect_scripts")
...
return true
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|