|
From: strk <st...@ke...> - 2007-02-26 16:31:37
|
Updates on this issue.
I committed a patch dropping special support for 'gotoFrame'.
With current HEAD, gotoFrame(2) will just be a function/method call.
On the other hand, gotoAndPlay and gotoAndStop are either
converted to specific tags (GOTOFRAME, GOTOFRAME2, GOTOLABEL)
or considered method calls:
gotoAndPlay(3) ---> GOTOFRAME
gotoAndPlay("label") ---> GOTOLABEL
gotoAndPlay(target) ---> GOTOFRAME2
this.gotoAndPlay(<anything>) ---> callMethod
--strk;
On Wed, Feb 21, 2007 at 06:00:38PM +0100, strk wrote:
>
> Trying to output GOTOFRAME or GOTOFRAME2 tags I found
> out that Ming output those only if using the 'gotoFrame'
> construct, which is NOT a valid ActionScript builtin.
>
> Also, I found out that some compilers convert
> gotoAndPlay and gotoAndStop to GOTOFRAME or GOTOFRAME2
> (maybe GOTOLABEL too ?) tags, rather then introducing
> another construct. Dunno how they do to actually output
> a function call to the _global or MovieClip methods.
>
> Anyway, hard-coding a non-standard gotoFrame() doesn't
> seem a good idea to me. Additionally, it seems there's no
> way to output a GOTOFRAME2 with *play* semantic . Rather,
> when GOTOFRAME2 is output [gotoFrame(<expression>)] it's
> 'play' flag is always set to 0.
>
> Ideas on how to proceed with these ?
>
> --strk;
>
> () ASCII Ribbon Campaign
> /\ Keep it simple!
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Ming-devr mailing list
> Min...@li...
> https://lists.sourceforge.net/lists/listinfo/ming-devr
--
() ASCII Ribbon Campaign
/\ Keep it simple!
|