[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performanc
From: |
Udo Giacomozzi |
Subject: |
Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem) |
Date: |
Thu, 10 May 2007 11:07:43 +0200 |
Hello Sandro,
Thursday, May 10, 2007, 10:52:05 AM, you wrote:
SS> Could you also add an onClipEvent(construct) please ?
AArrrgghhh!! I *hate* you! ;) construct is called :-(
Ok, new code for the instances:
----------------8<---------------------------------------------
onClipEvent(load) {
trace("instance A: loaded");
}
onClipEvent(unload) {
trace("instance A: unload");
}
onClipEvent(enterFrame) {
trace("instance A: enterFrame");
}
onClipEvent(construct) {
trace("instance A: construct");
}
----------------8<---------------------------------------------
I also added some traces to see where gotoAndPlay() is called and when
particular frame actions are executed.
Output:
----------------8<---------------------------------------------
--- first frame ---
instance A: construct
instance A: loaded
_level0.A created in frame 3
instance A: enterFrame
--- gotoAndPlay ---
instance B: construct
instance C: construct
instance A: unload
_level0.A removed in frame 14
instance B: loaded
instance B: unload
instance C: loaded
_level0.C created in frame 14
instance C: enterFrame
--- last frame ---
----------------8<---------------------------------------------
Now, to make it a bit more complicated, you see that "loaded" is
printed even if I said in my previous post that it gets not fired.
That's because I define onClipEvent(unload). No clue why, but
onClipEvent(load) works only when there is a "unload" event handler.
SS> Also, could you target at versions from 4 to 8 to see if there's
SS> *any* difference introduced ?
SWF5 and earlier don't support these features (onUnload, construct,
...). SWF6 doesn't support onClipEvent(construct), but shows otherwise
the same output. SWF7-8: no difference
BTW, onClipEvent(construct) is not documented.
My SWF in version 7 attached.
Now, I'm interested in some explanation for this new fact :(
Udo
skipFramesTest.swf
Description: application/shockwave-flash
- Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), (continued)
- Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/09
- Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Sandro Santilli, 2007/05/09
- Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/10
- Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Udo Giacomozzi, 2007/05/10
- Re: Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/10
- Re: Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/10
- Re[4]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Udo Giacomozzi, 2007/05/10
- Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Sandro Santilli, 2007/05/10
- Re[2]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem),
Udo Giacomozzi <=
- Re[3]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Udo Giacomozzi, 2007/05/10
- Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Sandro Santilli, 2007/05/10
- Re[4]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Udo Giacomozzi, 2007/05/10
- Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Sandro Santilli, 2007/05/10
- Re: Re[3]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/10
- Re: Re[4]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/10
- Re[6]: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), Udo Giacomozzi, 2007/05/10
Re: [Gnash-dev] Re: gotoAndPlay bug in Gnash (was: Serious performance problem), zou lunkai, 2007/05/08