AS3 timeline bug?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AS3 timeline bug?

Gabor Udvari
Hi,

I've experienced the following problem: I created a three-frame flash
movie with Swfmill. The first frame for the actions, second frame for
preloader graphics, and third frame for everything else. And then I
insert all the actionscript to the first frame, what checks the
preloader graphics, and the progress of the whole loading process.
This concept worked great with AS2, but with AS3 I have a problem.
Namely, after I use gotoAndStop(3) for the third frame, and try to
attach a clip from the library with flash.Lib.attach() the movie looks
like frozen. Nothing will be executed, not even a trace(). I found a
similar bug on Adobe's site: http://bugs.adobe.com/jira/browse/FP-43
which is still in progress. Could somebody check the bug, whether it
is AS3 or a Haxe, or a Linux related bug? My haxe is 1.19, swfmill
0.2.12, os is Debian Lenny, the Flash Player is 9.0 r124.

The minimal code to reproduce the bug can be downloaded from my site:
http://udionline.hu/fajlok/as3-timeline-bug.zip . Everything is
included, even the binaries if you don't want to build the source
files again.

Thank you for your help: Gabor Udvari 'Udi'

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: AS3 timeline bug?

Gabor Udvari
Hi again,

I figured out, when I do not import something on the first frame with
swfmill, than haXe will not find my asset. Not even with:

Type.createInstance( Type.resolveClass("asset"), [] )

Is there a solution to update the classes which are generated from the
library assets on the fly or when the movie is fully loaded? Or is it
an AS3 issue? Because with AS2 any attachMovie commands worked even if
my swfmill library assets were not on the first frame.

2008/10/24 Gabor Udvari <[hidden email]>:

> Hi,
>
> I've experienced the following problem: I created a three-frame flash
> movie with Swfmill. The first frame for the actions, second frame for
> preloader graphics, and third frame for everything else. And then I
> insert all the actionscript to the first frame, what checks the
> preloader graphics, and the progress of the whole loading process.
> This concept worked great with AS2, but with AS3 I have a problem.
> Namely, after I use gotoAndStop(3) for the third frame, and try to
> attach a clip from the library with flash.Lib.attach() the movie looks
> like frozen. Nothing will be executed, not even a trace(). I found a
> similar bug on Adobe's site: http://bugs.adobe.com/jira/browse/FP-43
> which is still in progress. Could somebody check the bug, whether it
> is AS3 or a Haxe, or a Linux related bug? My haxe is 1.19, swfmill
> 0.2.12, os is Debian Lenny, the Flash Player is 9.0 r124.
>
> The minimal code to reproduce the bug can be downloaded from my site:
> http://udionline.hu/fajlok/as3-timeline-bug.zip . Everything is
> included, even the binaries if you don't want to build the source
> files again.
>
> Thank you for your help: Gabor Udvari 'Udi'
>

--
haXe - an open source web programming language
http://haxe.org