Forum Topic: Movie freezes at Frame 16001 ?

(375 views • 25 replies)

This topic is 1 page long.

<< < > >>
Resigned

HyperGumba

Reply To Post Reply & Quote

Posted at: 5/11/09 10:22 AM

HyperGumba FAB LEVEL 16

Sign-Up: 06/22/08

Posts: 654

It is kinda important for me how to fix this, because it is the second episode of DeDeDe´s Minions and I am some kind of proud on it.

Problem: The last scene of the movie (ya,I know working with scenes sucks dicks but I wanted to try) which was supposed to be an easteregg works fine when testing this single scene. But when I test the whole movie and it comes to the scene it works well,but when it comes to around the middle of the scene (around frame 230 from the scene and exactly frame 16001 (I saw that with the Bandwith Profiler) when testing the movie) it freezes. But there is no Actionscript around 16001 and I can´t solve the problem yet.

I make DDDM2 with AS 2 and 24fps. Please help I´m begging you guys.

To the cuntface who instant deletes my threads:
Played Madness Accelerant? I am going to rape your face with the chainsaw like Hank did it to the giant guy. :3

BBS Signature

Shouting

WhoknowsmeaUdiO

Reply To Post Reply & Quote

Posted at: 5/11/09 10:30 AM

WhoknowsmeaUdiO DARK LEVEL 13

Sign-Up: 04/11/07

Posts: 1,170

At 5/11/09 10:22 AM, HyperGumba wrote: Please help

Try and cut the frames of the last scene and paste them into a new empty MC. Drag the MC to the frame and use a stop AS. That should work!

Flash has 16000 as the limit, so you'll cut the frames of the scene, which will remove some frame. When you put them in the MC, Flash doesn't count those frames.

Try if that works.

In case you haven't noticed yet, this isn't my main anymore. PM me here.

BBS Signature

None

HyperGumba

Reply To Post Reply & Quote

Posted at: 5/11/09 10:32 AM

HyperGumba FAB LEVEL 16

Sign-Up: 06/22/08

Posts: 654

Wow,I will try,thanks for the quick reply :D

To the cuntface who instant deletes my threads:
Played Madness Accelerant? I am going to rape your face with the chainsaw like Hank did it to the giant guy. :3

BBS Signature

Expressionless

HyperGumba

Reply To Post Reply & Quote

Posted at: 5/11/09 10:48 AM

HyperGumba FAB LEVEL 16

Sign-Up: 06/22/08

Posts: 654

Well,okay now I have less frames but the stop() doesn´t seem to work that good...now the MV repeats infinite times. Doesn´t a function like sleep() like in C++ exist in Flash?

To the cuntface who instant deletes my threads:
Played Madness Accelerant? I am going to rape your face with the chainsaw like Hank did it to the giant guy. :3

BBS Signature

None

4urentertainment

Reply To Post Reply & Quote

Posted at: 5/11/09 10:52 AM

4urentertainment NEUTRAL LEVEL 13

Sign-Up: 08/01/08

Posts: 1,535

Just put another stop on the last frame inside the movieclip.

"When you look at yourself from a universal standpoint, something inside always reminds or informs you that there are bigger and better things to worry about. "- Einstein


None

WhoknowsmeaUdiO

Reply To Post Reply & Quote

Posted at: 5/11/09 10:54 AM

WhoknowsmeaUdiO DARK LEVEL 13

Sign-Up: 04/11/07

Posts: 1,170

At 5/11/09 10:52 AM, 4urentertainment wrote: Just put another stop on the last frame inside the movieclip.

Correct.

1 quiz point to your team. And... the golden star! :D

In case you haven't noticed yet, this isn't my main anymore. PM me here.

BBS Signature

None

HyperGumba

Reply To Post Reply & Quote

Posted at: 5/11/09 11:11 AM

HyperGumba FAB LEVEL 16

Sign-Up: 06/22/08

Posts: 654

I´m sorry,I forgot to mention that I have some scenes behind that one and I wanted to go to the next scene when the MV is over. Maybe some kind of "gotoNextScene when MV finishes"?

To the cuntface who instant deletes my threads:
Played Madness Accelerant? I am going to rape your face with the chainsaw like Hank did it to the giant guy. :3

BBS Signature

None

mayoarm11

Reply To Post Reply & Quote

Posted at: 5/11/09 11:14 AM

mayoarm11 NEUTRAL LEVEL 17

Sign-Up: 06/13/07

Posts: 998

u can switch scenes using

gotoAndPlay(1,"scene_name");

that goes to scene_name, and plays from frame 1.

I'm assuming u know how scenes work. Also, I'm pretty sure it's that way, but if not i may have switched them around, so it might be

gotoAndPlay("scene_name",1);

Awesome turret game in the making, featuring 85 uniqe turrets: News post

BBS Signature

None

4urentertainment

Reply To Post Reply & Quote

Posted at: 5/11/09 11:15 AM

4urentertainment NEUTRAL LEVEL 13

Sign-Up: 08/01/08

Posts: 1,535

nextScene();

or

_root.nextScene();

"When you look at yourself from a universal standpoint, something inside always reminds or informs you that there are bigger and better things to worry about. "- Einstein


None

WhoknowsmeaUdiO

Reply To Post Reply & Quote

Posted at: 5/11/09 12:13 PM

WhoknowsmeaUdiO DARK LEVEL 13

Sign-Up: 04/11/07

Posts: 1,170

At 5/11/09 11:15 AM, 4urentertainment wrote: nextScene();

or

_root.nextScene();

He's gonna put it in an MC, so that'd be:
_root.nextScene()
on the last frame in your movieclip.

In case you haven't noticed yet, this isn't my main anymore. PM me here.

BBS Signature

None

HyperGumba

Reply To Post Reply & Quote

Posted at: 5/11/09 02:32 PM

HyperGumba FAB LEVEL 16

Sign-Up: 06/22/08

Posts: 654

At 5/11/09 12:13 PM, WhoknowsmeaUdiO wrote: _root.nextScene()
on the last frame in your movieclip.

Nah,still doesn´t work. Sure that it´s AS2? Or any other suggestions?

To the cuntface who instant deletes my threads:
Played Madness Accelerant? I am going to rape your face with the chainsaw like Hank did it to the giant guy. :3

BBS Signature

Sad

HyperGumba

Reply To Post Reply & Quote

Posted at: 5/11/09 03:51 PM

HyperGumba FAB LEVEL 16

Sign-Up: 06/22/08

Posts: 654

Anyone there? I want to solve the problem as fast as possible.

To the cuntface who instant deletes my threads:
Played Madness Accelerant? I am going to rape your face with the chainsaw like Hank did it to the giant guy. :3

BBS Signature

None

Sunrie

Reply To Post Reply & Quote

Posted at: 5/11/09 04:02 PM

Sunrie NEUTRAL LEVEL 26

Sign-Up: 09/14/03

Posts: 316

I thought Flash had a 16K timeline limit without going into another scene or using a stopped movie clip on a single frame with action script telling it to go to the next frame after that movie clip ends?


None

Chaz

Reply To Post Reply & Quote

Posted at: 5/11/09 05:29 PM

Chaz NEUTRAL LEVEL 22

Sign-Up: 09/27/05

Posts: 4,324

You will just have to make more scenes into movieclips. In theory if you have 15 scenes you could end up with a movie using 15 frames ...


None

Sunrie

Reply To Post Reply & Quote

Posted at: 5/15/09 02:47 PM

Sunrie NEUTRAL LEVEL 26

Sign-Up: 09/14/03

Posts: 316

At 5/11/09 05:29 PM, Chaz wrote: You will just have to make more scenes into movieclips. In theory if you have 15 scenes you could end up with a movie using 15 frames ...

^^^
This. I'm afraid I don't know the AS for doing this, however, this is how you get movies to be incredible running time lengths and how most collabs are done in order to fit it within the frame limit.


None

superzowsky

Reply To Post Reply & Quote

Posted at: 5/15/09 02:59 PM

superzowsky NEUTRAL LEVEL 10

Sign-Up: 09/01/08

Posts: 57

At 5/15/09 02:47 PM, Sunrie wrote:
At 5/11/09 05:29 PM, Chaz wrote: You will just have to make more scenes into movieclips. In theory if you have 15 scenes you could end up with a movie using 15 frames ...
^^^
This. I'm afraid I don't know the AS for doing this, however, this is how you get movies to be incredible running time lengths and how most collabs are done in order to fit it within the frame limit.

it isn't as, just cut the all the frames from a scene and put them into a movie clip :)


None

Neo-13

Reply To Post Reply & Quote

Posted at: 5/15/09 03:04 PM

Neo-13 LIGHT LEVEL 20

Sign-Up: 06/09/07

Posts: 1,475

You do need AS to connect them though, although it is very simple.

BBS Signature

None

WhoknowsmeaUdiO

Reply To Post Reply & Quote

Posted at: 5/15/09 03:09 PM

WhoknowsmeaUdiO DARK LEVEL 13

Sign-Up: 04/11/07

Posts: 1,170

At 5/15/09 03:04 PM, Neo-13 wrote: You do need AS to connect them though, although it is very simple.

A simple nextFrame() would do the trick ;D

In case you haven't noticed yet, this isn't my main anymore. PM me here.

BBS Signature

None

Sunrie

Reply To Post Reply & Quote

Posted at: 5/22/09 12:46 PM

Sunrie NEUTRAL LEVEL 26

Sign-Up: 09/14/03

Posts: 316

And that helps me! I was looking for the actual script and couldn't find it *L*


None

SK8ninja

Reply To Post Reply & Quote

Posted at: 5/22/09 03:25 PM

SK8ninja EVIL LEVEL 08

Sign-Up: 08/08/08

Posts: 576

16000...and to think the DS game Flipbook has a limit of 30. LOL

Who do you think is awesomer: Satan or Jebus?? PM SK8ninja your vote.

SATAN : 9 JEBUS : 10

BBS Signature

None

Sunrie

Reply To Post Reply & Quote

Posted at: 5/22/09 05:16 PM

Sunrie NEUTRAL LEVEL 26

Sign-Up: 09/14/03

Posts: 316

At 5/15/09 03:09 PM, WhoknowsmeaUdiO wrote:
At 5/15/09 03:04 PM, Neo-13 wrote: You do need AS to connect them though, although it is very simple.
A simple nextFrame() would do the trick ;D

Hmm...just tried this in an animation I'm already working on... in the root timeline, I placed the MC with AS "stop();" on it. Then inside the movie clip, on the last frame, I put AS "nextFrame()" and it only replayed the movie clip. What's the trick?


None

Pessimence

Reply To Post Reply & Quote

Posted at: 5/22/09 06:20 PM

Pessimence NEUTRAL LEVEL 02

Sign-Up: 05/22/09

Posts: 1

At 5/22/09 05:16 PM, Sunrie wrote: Hmm...just tried this in an animation I'm already working on... in the root timeline, I placed the MC with AS "stop();" on it. Then inside the movie clip, on the last frame, I put AS "nextFrame()" and it only replayed the movie clip. What's the trick?

If I'm correct you need to get rid of the "stop();"


None

MichaelHurst

Reply To Post Reply & Quote

Posted at: 5/22/09 06:44 PM

MichaelHurst FAB LEVEL 23

Sign-Up: 04/18/07

Posts: 4,618

At 5/22/09 05:16 PM, Sunrie wrote: Hmm...just tried this in an animation I'm already working on... in the root timeline, I placed the MC with AS "stop();" on it. Then inside the movie clip, on the last frame, I put AS "nextFrame()" and it only replayed the movie clip. What's the trick?

It would be

_root.nextFrame();

You would need to use _root. because it is inside of a movieclip (and it would work without the ; but its a good habit to use those)


None

Archon68

Reply To Post Reply & Quote

Posted at: 5/22/09 08:00 PM

Archon68 LIGHT LEVEL 22

Sign-Up: 09/09/07

Posts: 3,187

Uhh... Yeah. Scenes DO suck.

Just make a separate MC for each scene, and use a different frame on the _root for each. For each frame, use a stop(); action, and at the last frame in each scene MC, use a _root.nextFrame(); action.

I code in AS2, in case I forgot to mention it.

BBS Signature

None

Sunrie

Reply To Post Reply & Quote

Posted at: 5/22/09 10:34 PM

Sunrie NEUTRAL LEVEL 26

Sign-Up: 09/14/03

Posts: 316

At 5/22/09 06:44 PM, MichaelHurst wrote:
At 5/22/09 05:16 PM, Sunrie wrote: Hmm...just tried this in an animation I'm already working on... in the root timeline, I placed the MC with AS "stop();" on it. Then inside the movie clip, on the last frame, I put AS "nextFrame()" and it only replayed the movie clip. What's the trick?
It would be

_root.nextFrame();

You would need to use _root. because it is inside of a movieclip (and it would work without the ; but its a good habit to use those)

You guys rock, thanks. I'm not a big AS guy and really only know enough to make buttons go to specific areas, preloaders, and really basic things


None

Yambanshee

Reply To Post Reply & Quote

Posted at: 5/23/09 02:38 AM

Yambanshee DARK LEVEL 10

Sign-Up: 10/05/08

Posts: 1,427

all you need is on the first frame of all the MCs are _root.stop() and on the last frame _root.play() :D. If you need preloader help, pm me ;)

AS2||AS3||Motox
Thanks to hdxmike for the sig :]

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 10:51 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!