View Full Version : functions used by multiple commands?
is there a way to store a collection of functions that could be used by multiple commands in one file, and give the commands access to it?
09-23-2005, 11:55 AM
A partial solution is to use fl.runScript() to run a function in another file - you can pass values and have a value returned; so it is possible to have a library of commonly used functions which are shared.
I too would be interested to hear of other solutions, especially ones that don't do this rather nasty pass back through flash.
09-24-2005, 03:18 PM
well this is the only way currently. another sollution is to have dll in which you execute code, but that would be ide non specific code ~(handy for math functions for example)
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.