Try commenting out all lines except the gotoAndPlay and see if it
works. If it does work, then add the code in a bit at a time until it
stops working. This will allow you to see where your problem is.
-David R
On 10/26/05, Roman Blöth <[EMAIL PROTECTED]> wrote:
> Hello there,
>
>
> today something very, very strange happened with my flash project.
>
> What Flash should do is no big deal: In the first frame, I have this code:
>
> if (this == _root)
> {
> trace("starting solo");
> _root.collapse_values.sound_atmo.start(0, 9999999);
> initialize();
> is_initialized = true;
> this.gotoAndPlay("pregame");
> }
>
>
> This - of course - worked the day through. Now Flash seems not to handle
> the "gotoAndPlay" any more:
>
> The traces (one seen here and one inside the initialize-function)
> also work, but the whole thing rests on frame 1 forever.
>
> Now for the very weird part:
>
> When I debug the movie, it works! So I can't debug this
> misbehaviour, since in debug mode everything works fine! But as soon as
> I start the movie - be it within Flash or in Firefox or IE - it stays on
> frame 1 forever! When I add a
>
> this.onEnterFrame = function() {
> trace("_currentframe = "+_currentframe);
> }
>
> then I get an endless output of "_currentframe = 1"...
>
>
> Someone any ideas on this?!?!
>
> Any comment very welcome!!!
>
>
> regards,
> roman.
>
> --
>
> -------------------------------------------------------------------
> gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin
> t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de
> -------------------------------------------------------------------
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders