|
From: Jay K. <ja...@he...> - 2008-12-15 16:37:51
|
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.
/Jay
At 5:24 PM +0100 12/15/08, strk wrote:
>On Mon, Dec 15, 2008 at 11:14:57AM -0500, Jay Koutavas wrote:
>
>> movieClip->add( new SWFAction(
>> "myFunc = function() {"
>> "trace(\"myFunc was called\");"
>> "}"));
>
>Add a semicolon at the end of function body:
>
> myFunc = function() {
> trace("myFunc was called");
> }; // <-- the semicolon here is required
>
>--strk;
--
--------------------------------------------------------
Jay Koutavas mailto:ja...@he...
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
|