Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-06-2008, 04:00 AM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default writing global method besides [Initialize]

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.

Reply With Quote
  #2 (permalink)  
Old 04-03-2008, 12:07 PM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default Re: writing global method besides [Initialize]

bump. any idea??
Reply With Quote
  #3 (permalink)  
Old 04-03-2008, 08:42 PM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re: writing global method besides [Initialize]

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
That way it's easier for me to organise my scripts.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:58 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.