|
From: Jay K. <ja...@he...> - 2008-12-19 02:14:05
|
I use gnash. It tells me it's not finding the myFunc() function. The init action is called before the function gets defined. Even if I call addAction before addInitAction. gnash also reports failure if I try to define myFunc() using an addInitAction. Every example in the ming tests, and on google searches shows just straight actionscript being used to call existing Flash functions. Do you have an example anywhere of how to create a function, and then call it from an action? /Jay At 5:40 PM +0100 12/15/08, strk wrote: >On Mon, Dec 15, 2008 at 11:37:46AM -0500, Jay Koutavas wrote: >> Thanks, got past that now. Next question: >> >> Why doesn't it work? >> >> -- there's no trace output of "myFunc was called" in the output pane >> on CS4 Flash, though I can get output if I call trace() directly in >> my init function. > >Try using Gnash, it'll tell you more if you enable ActionScript >errors verbosity. >http://www.gnu.org/software/gnash > >--strk; -- -------------------------------------------------------- Jay Koutavas mailto:ja...@he... Heynow Software http://www.heynow.com Windham, New Hampshire, USA -------------------------------------------------------- |