You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(42) |
Dec
(10) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(4) |
Feb
(17) |
Mar
(8) |
Apr
(9) |
May
(12) |
Jun
(28) |
Jul
(8) |
Aug
(8) |
Sep
(15) |
Oct
(21) |
Nov
(39) |
Dec
(13) |
| 2004 |
Jan
(128) |
Feb
(32) |
Mar
(46) |
Apr
(98) |
May
(51) |
Jun
(26) |
Jul
(54) |
Aug
(16) |
Sep
(45) |
Oct
(71) |
Nov
(12) |
Dec
(9) |
| 2005 |
Jan
|
Feb
(4) |
Mar
(57) |
Apr
(37) |
May
(11) |
Jun
(5) |
Jul
(14) |
Aug
(65) |
Sep
(16) |
Oct
(2) |
Nov
(36) |
Dec
(21) |
| 2006 |
Jan
(79) |
Feb
(81) |
Mar
(15) |
Apr
(60) |
May
(56) |
Jun
(26) |
Jul
(12) |
Aug
(3) |
Sep
(3) |
Oct
(2) |
Nov
(20) |
Dec
(114) |
| 2007 |
Jan
(45) |
Feb
(15) |
Mar
(3) |
Apr
(12) |
May
(6) |
Jun
(14) |
Jul
(8) |
Aug
|
Sep
(14) |
Oct
(5) |
Nov
(21) |
Dec
(9) |
| 2008 |
Jan
(53) |
Feb
(3) |
Mar
(5) |
Apr
(30) |
May
(40) |
Jun
(31) |
Jul
(84) |
Aug
(15) |
Sep
(56) |
Oct
(17) |
Nov
(6) |
Dec
(40) |
| 2009 |
Jan
(9) |
Feb
(11) |
Mar
(39) |
Apr
(8) |
May
(4) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(15) |
Dec
(30) |
| 2010 |
Jan
(4) |
Feb
(22) |
Mar
(6) |
Apr
(6) |
May
(12) |
Jun
(21) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
| 2011 |
Jan
(1) |
Feb
(4) |
Mar
(7) |
Apr
(2) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
|
2
(2) |
3
|
4
(3) |
5
|
6
|
|
7
|
8
|
9
|
10
(2) |
11
|
12
(3) |
13
(3) |
|
14
|
15
(4) |
16
|
17
|
18
|
19
(17) |
20
|
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
|
28
(1) |
29
(5) |
30
|
31
|
|
|
|
|
From: strk <st...@ke...> - 2008-12-29 22:12:38
|
On Mon, Dec 29, 2008 at 04:23:43PM -0500, Jay Koutavas wrote: > Also.. how can I reference my movieclip I created using Ming from > inside an action script? i.e. how do I get to its instance. So, from > a action on the movie itself I can do: <mc>.stop(); Where do I get > <mc>? You can set a name to an instance you place: SWFDisplayItem it = SWFMovie_add(myMovie, myMc); SWFDisplayItem_setName(it, "myMcName"); Then you can refer to it using 'myMcName' --strk; GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! |
|
From: strk <st...@ke...> - 2008-12-29 21:30:03
|
On Mon, Dec 29, 2008 at 04:20:29PM -0500, Jay Koutavas wrote:
> How does one add an action to a specific frame in the movieclip? I
> thought when you do a movieclip->addAction() you are doing it for the
> whole clip. Is it like this?:
> SWFMovieClip* mc = new SWFMovieClip();
> mc->addAction( new SWFAction("trace('action on frame 1');"));
> mc->nextFrame();
> mc->addAction( new SWFAction("trace('action on frame 2');"));
Yes :)
--strk;
|
|
From: Jay K. <ja...@he...> - 2008-12-29 21:23:51
|
Also.. how can I reference my movieclip I created using Ming from inside an action script? i.e. how do I get to its instance. So, from a action on the movie itself I can do: <mc>.stop(); Where do I get <mc>? At 5:09 PM +0100 12/29/08, strk wrote: >On Sun, Dec 28, 2008 at 06:10:18PM -0500, Jay Koutavas wrote: >> Thanks, this helped. >> >> Now my next problem. :) >> >> I want to stop a movieclip in my movie. I do this: >> >> movieClip->addInitAction( new SWFAction( "stop();" )); >> >> But it plays one frame. If I try to stop it in onEnterFrame, like so: > >Make the animation start on the second frame, have only "stop" in the >first one. The frame containing the "stop" action will be executed of course. > >--strk; -- -------------------------------------------------------- Jay Koutavas mailto:ja...@he... Heynow Software http://www.heynow.com Windham, New Hampshire, USA -------------------------------------------------------- |
|
From: Jay K. <ja...@he...> - 2008-12-29 21:20:32
|
How does one add an action to a specific frame in the movieclip? I
thought when you do a movieclip->addAction() you are doing it for the
whole clip. Is it like this?:
SWFMovieClip* mc = new SWFMovieClip();
mc->addAction( new SWFAction("trace('action on frame 1');"));
mc->nextFrame();
mc->addAction( new SWFAction("trace('action on frame 2');"));
/Jay
At 5:09 PM +0100 12/29/08, strk wrote:
>On Sun, Dec 28, 2008 at 06:10:18PM -0500, Jay Koutavas wrote:
>> Thanks, this helped.
>>
>> Now my next problem. :)
>>
>> I want to stop a movieclip in my movie. I do this:
>>
>> movieClip->addInitAction( new SWFAction( "stop();" ));
>>
>> But it plays one frame. If I try to stop it in onEnterFrame, like so:
>
>Make the animation start on the second frame, have only "stop" in the
>first one. The frame containing the "stop" action will be executed of course.
>
>--strk;
--
--------------------------------------------------------
Jay Koutavas mailto:ja...@he...
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
|
|
From: strk <st...@ke...> - 2008-12-29 16:09:39
|
On Sun, Dec 28, 2008 at 06:10:18PM -0500, Jay Koutavas wrote: > Thanks, this helped. > > Now my next problem. :) > > I want to stop a movieclip in my movie. I do this: > > movieClip->addInitAction( new SWFAction( "stop();" )); > > But it plays one frame. If I try to stop it in onEnterFrame, like so: Make the animation start on the second frame, have only "stop" in the first one. The frame containing the "stop" action will be executed of course. --strk; |
|
From: Jay K. <ja...@he...> - 2008-12-28 23:10:25
|
Thanks, this helped.
Now my next problem. :)
I want to stop a movieclip in my movie. I do this:
movieClip->addInitAction( new SWFAction( "stop();" ));
But it plays one frame. If I try to stop it in onEnterFrame, like so:
movieClip->add( new SWFAction(
"onEnterFrame=function() {stop();};"
) );
it still plays one frame. What am I missing? Do I need to do the stop
in the movie's init action? If so, what's the ActionScript reference
to the movieclip going to be? <myMovieClip>.stop().
Thanks.
/Jay
At 10:13 AM +0100 12/19/08, strk wrote:
>On Mon, Dec 15, 2008 at 11:14:57AM -0500, Jay Koutavas wrote:
>
>> Here's the ming lib C/C++ code:
>>
>> SWFMovieClip* movieClip = SWFMovieClip();
>> ....
>> movieClip->add( new SWFAction(
>> "myFunc = function() {"
>> "trace(\"myFunc was called\");"
>> "}"));
>> movieClip->addInitAction(new SWFAction("myFunc();"));
>
>Init actions are executed *before* other actions,
>so your call to myFunc happens *before* 'myFunc' is
>defined. Add the definition with addInitAction and you
>should be fine.
>
>--strk;
--
--------------------------------------------------------
Jay Koutavas mailto:ja...@he...
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
|
|
From: Patrice D. <per...@fr...> - 2008-12-19 19:33:05
|
On Fri, Dec 19, 2008 at 06:55:22PM +0100, strk wrote: > On Fri, Dec 19, 2008 at 11:57:03AM +0100, Patrice Dumas wrote: > > Pat, the current ming head seems to succeed in building python > out of the source tree already. What am I missing ? > Different python or automake versions ? Here is th eprecise error. Even if ming_wrap.c is created, the one from the source dir is used, and the ming_wrap.o file is created in the sourcedir: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -Wall -DSWF_LITTLE_ENDIAN -fno-strict-aliasing -fPIC -I/usr/local/include -I/home/dumas/tmp/ming/py_ext/../src -I/usr/include/python2.5 -c ../../../src/ming/py_ext/ming_wrap.c -o build/temp.linux-i686-2.5/../../../src/ming/py_ext/ming_wrap.o Assembler messages: Fatal error: can't create build/temp.linux-i686-2.5/../../../src/ming/py_ext/ming_wrap.o: No such file or directory That's why I proposed to always have ming_wrap.c in the build directory and use that file in setup.py.in. It even seems to me that what I propose doesn't break in case of parallel make, since ming_wrap.c being BUILT_SOURCES is a dependency of all, and all-am is run by a call of MAKE and therefore cannot be done in parallel with ming_wrap.c. -- Pat |
|
From: Patrice D. <per...@fr...> - 2008-12-19 19:13:09
|
On Fri, Dec 19, 2008 at 06:55:22PM +0100, strk wrote: > On Fri, Dec 19, 2008 at 11:57:03AM +0100, Patrice Dumas wrote: > > > Things are worse, in fact. distutil seems to be able to do the object > > file only in the source file directory. I found a workaround that looks > > fine. Patch attached. > > Pat, the current ming head seems to succeed in building python > out of the source tree already. What am I missing ? > Different python or automake versions ? Maybe it is linked with newer distutils. If I remember well, the case with ming_wrap.c present in the source dir failed since the .o was also created in the source dir. -- Pat |
|
From: strk <st...@ke...> - 2008-12-19 17:55:37
|
On Fri, Dec 19, 2008 at 11:57:03AM +0100, Patrice Dumas wrote: > Things are worse, in fact. distutil seems to be able to do the object > file only in the source file directory. I found a workaround that looks > fine. Patch attached. Pat, the current ming head seems to succeed in building python out of the source tree already. What am I missing ? Different python or automake versions ? --strk; GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! |
|
From: Bradley G. <br...@pi...> - 2008-12-19 17:52:58
|
Maybe this?
php -r 'var_dump($argv);' var1 var2
array(3) {
[0]=>
string(1) "-"
[1]=>
string(4) "var1"
[2]=>
string(4) "var2"
}
On Dec 19, 2008, at 4:04 AM, Patrice Dumas wrote:
> On Fri, Dec 19, 2008 at 01:03:08PM +0100, strk wrote:
>>
>> Any idea how to have php process command line args ?
>
> I also read php, but don't write that language either...
>
> --
> Pat
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Ming-devr mailing list
> Min...@li...
> https://lists.sourceforge.net/lists/listinfo/ming-devr
|
|
From: Bradley G. <br...@pi...> - 2008-12-19 17:52:54
|
On Dec 19, 2008, at 4:03 AM, strk wrote: > On Fri, Dec 19, 2008 at 11:59:51AM +0100, Patrice Dumas wrote: >> On Fri, Dec 19, 2008 at 10:23:31AM +0100, strk wrote: >>>> Hello, >>>> >>>> Out of tree test of >>>> test/Movie/setSoundStream/test02.php >> >> The failure remains for php tests. At least >> test/Movie/setSoundStream/test01.php >> test02.php >> test03.php > > Any idea how to have php process command line args ? > > --strk; > > GIS & Flash consultant/developer () ASCII Ribbon Campaign > http://foo.keybit.net/~strk/services.html /\ Keep it simple! > > ------------------------------------------------------------------------------ > _______________________________________________ > Ming-devr mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/ming-devr |
|
From: strk <st...@ke...> - 2008-12-19 17:39:54
|
Thanks bradley, committed
--strk;
On Fri, Dec 19, 2008 at 08:52:04AM -0800, Bradley Giesbrecht wrote:
> Like this?
>
> <?php
> // php_cmd.php
>
> echo "\n\n" ;
> echo var_dump ( $argv ) ;
> echo "\n\n" ;
>
> foreach ( $argv as $key => $value ) {
>
> echo $key . " => " . $value ;
> echo "\n\n" ;
> }
>
> ?>
>
> brad$ php php_cmd.php arg2 101
>
> array(3) {
> [0]=>
> string(11) "php_cmd.php"
> [1]=>
> string(4) "arg2"
> [2]=>
> string(3) "101"
> }
>
>
> 0 => php_cmd.php
>
> 1 => arg2
>
> 2 => 101
>
>
>
> On Dec 19, 2008, at 4:03 AM, strk wrote:
>
> >On Fri, Dec 19, 2008 at 11:59:51AM +0100, Patrice Dumas wrote:
> >>On Fri, Dec 19, 2008 at 10:23:31AM +0100, strk wrote:
> >>>>Hello,
> >>>>
> >>>>Out of tree test of
> >>>>test/Movie/setSoundStream/test02.php
> >>
> >>The failure remains for php tests. At least
> >>test/Movie/setSoundStream/test01.php
> >> test02.php
> >> test03.php
> >
> >Any idea how to have php process command line args ?
> >
> >--strk;
> >
> >GIS & Flash consultant/developer () ASCII Ribbon Campaign
> >http://foo.keybit.net/~strk/services.html /\ Keep it simple!
> >
> >------------------------------------------------------------------------------
> >_______________________________________________
> >Ming-devr mailing list
> >Min...@li...
> >https://lists.sourceforge.net/lists/listinfo/ming-devr
--
GIS & Flash consultant/developer () ASCII Ribbon Campaign
http://foo.keybit.net/~strk/services.html /\ Keep it simple!
|
|
From: Patrice D. <per...@fr...> - 2008-12-19 12:04:48
|
On Fri, Dec 19, 2008 at 01:03:08PM +0100, strk wrote: > > Any idea how to have php process command line args ? I also read php, but don't write that language either... -- Pat |
|
From: strk <st...@ke...> - 2008-12-19 12:03:19
|
On Fri, Dec 19, 2008 at 11:59:51AM +0100, Patrice Dumas wrote: > On Fri, Dec 19, 2008 at 10:23:31AM +0100, strk wrote: > > > Hello, > > > > > > Out of tree test of > > > test/Movie/setSoundStream/test02.php > > The failure remains for php tests. At least > test/Movie/setSoundStream/test01.php > test02.php > test03.php Any idea how to have php process command line args ? --strk; GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! |
|
From: Patrice D. <per...@fr...> - 2008-12-19 10:59:59
|
On Fri, Dec 19, 2008 at 10:23:31AM +0100, strk wrote:
> > Hello,
> >
> > Out of tree test of
> > test/Movie/setSoundStream/test02.php
The failure remains for php tests. At least
test/Movie/setSoundStream/test01.php
test02.php
test03.php
--
Pat
|
|
From: Patrice D. <per...@fr...> - 2008-12-19 10:57:08
|
On Fri, Dec 12, 2008 at 02:01:33AM +0100, Patrice Dumas wrote: > Hello, > > Using -I$(srcdir)/.. instead of -I.. is not enough for python to have > out of source build work rightly. Indeed python will still use the > ming_wrap.c from the srcdir, even if there is a new ming_wrap.c in the > build dir. To fix that I think that the best would be to modify > setup.py.in such that if there is a ming_wrap.c in the build directory > it uses it, otherwise it uses the one in the source directory. I am not > good enough in python to do that, though... Things are worse, in fact. distutil seems to be able to do the object file only in the source file directory. I found a workaround that looks fine. Patch attached. -- Pat |
|
From: strk <st...@ke...> - 2008-12-19 09:43:04
|
On Fri, Dec 19, 2008 at 10:28:08AM +0100, Patrice Dumas wrote: > On Fri, Dec 19, 2008 at 10:23:31AM +0100, strk wrote: > > > > > > One way to fix that would be to use the srcdir env variable, set it > > > to . if not defined, and use $srcdir/../../Media/video02.flv > > > > Those tests get built with "srcdir" passed as first arg. > > I'm not a python developer... if you know how to scan arguments it > > should be easy to fix. > > I read python, but I don't write it... I committed a fix for the argv[1]. import sys; srcdir = sys.argv[1]; There's another failure in the font test now. --strk; GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! |
|
From: strk <st...@ke...> - 2008-12-19 09:42:21
|
On Fri, Dec 12, 2008 at 02:01:33AM +0100, Patrice Dumas wrote: > Hello, > > Please find attached a patch with small fixes for py_ext and tcl_ext. > > Using -I$(srcdir)/.. instead of -I.. is not enough for python to have > out of source build work rightly. Indeed python will still use the > ming_wrap.c from the srcdir, even if there is a new ming_wrap.c in the > build dir. To fix that I think that the best would be to modify > setup.py.in such that if there is a ming_wrap.c in the build directory > it uses it, otherwise it uses the one in the source directory. I am not > good enough in python to do that, though... Committed, thanks ! --strk; |
|
From: Patrice D. <per...@fr...> - 2008-12-19 09:28:16
|
On Fri, Dec 19, 2008 at 10:23:31AM +0100, strk wrote: > > > > One way to fix that would be to use the srcdir env variable, set it > > to . if not defined, and use $srcdir/../../Media/video02.flv > > Those tests get built with "srcdir" passed as first arg. > I'm not a python developer... if you know how to scan arguments it > should be easy to fix. I read python, but I don't write it... -- Pat |
|
From: strk <st...@ke...> - 2008-12-19 09:23:48
|
On Fri, Dec 12, 2008 at 01:42:09AM +0100, Patrice Dumas wrote:
> Hello,
>
> Out of tree test of
> test/Movie/setSoundStream/test02.php
> fails because it contains:
>
> $sound = new SWFSoundStream("../../Media/video02.flv");
>
> One way to fix that would be to use the srcdir env variable, set it
> to . if not defined, and use $srcdir/../../Media/video02.flv
Those tests get built with "srcdir" passed as first arg.
I'm not a python developer... if you know how to scan arguments it
should be easy to fix.
--strk;
|
|
From: strk <st...@ke...> - 2008-12-19 09:13:37
|
On Mon, Dec 15, 2008 at 11:14:57AM -0500, Jay Koutavas wrote:
> Here's the ming lib C/C++ code:
>
> SWFMovieClip* movieClip = SWFMovieClip();
> ....
> movieClip->add( new SWFAction(
> "myFunc = function() {"
> "trace(\"myFunc was called\");"
> "}"));
> movieClip->addInitAction(new SWFAction("myFunc();"));
Init actions are executed *before* other actions,
so your call to myFunc happens *before* 'myFunc' is
defined. Add the definition with addInitAction and you
should be fine.
--strk;
|
|
From: Axel H. <ax...@3d...> - 2008-12-19 07:08:44
|
Jay Koutavas schrieb: > 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; >> > > > Hi, here is how I debug my ming actionscript: <?php ming_useswfversion(8); $w = 640; $h = 480; $movie = new SWFMovie(); $movie->setDimension($w, $h); $movie->setBackground(0xcc, 0xcc, 0xee); $layer = new SWFSprite(); $s = new SWFShape(); $font = new SWFFont("../mingres/Arial.fdb"); $t = new SWFTextField(); $t->setFont($font); $t->addUTF8String("naughty@home"); $t->setColor(80, 0,0); $t->setHeight(40); $t->setName('label'); $handle = $movie->add($t); $handle->setName('textfield'); $handle->moveTo(150, 120); $action = <<<EAC dumpObject(textfield); debug(label); function debug(m){ _root.getURL('javascript:debug(\"'+m+'\")'); } function dumpObject(o){ debug('dumpObject:' + o); if(typeof(o)=='movieclip'){ debug(o._name+":"); pl = props.length; for(p=0;p<pl;p++){ debug(o._name+'.'+props[p]+' = '+o[props[p]]); } } for(e in o){ debug(typeof(o[e])+"->"+e+':'+o[e]); } } EAC; $movie->add( new SWFAction($action) ); $movie->nextFrame(); $movie->add( new SWFAction("debug('Stop Movie now!');stop();" )); $movie->nextFrame(); header('Content-type: application/x-shockwave-flash'); $movie->output(0); ?> you can see how it works with firefox opened with -console on http://teamtrier.de/mingdevel/netScreen.php?movie=text.php Axel |
|
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 -------------------------------------------------------- |
|
From: strk <st...@ke...> - 2008-12-15 16:40:12
|
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; |
|
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
--------------------------------------------------------
|