Forum Topic: Preloader Without Timeline Anim

(67 views • 3 replies)

This topic is 1 page long.

<< < > >>
Angry

lores3000

Reply To Post Reply & Quote

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

lores3000 NEUTRAL LEVEL 01

Sign-Up: 11/05/09

Posts: 1

I just finished porting our iPhone game ORBITAL to Flash (yep, people do that ;)) and i have Problems integrating the NG Preloader... Thing is, in my Project, the timeline is empty. There is only a reference in the publish settings which instantiates my MAIN class.

I've added some preloader code there as seen on several pages, thing is it only shows "100% loaded" after the whole game has been downloaded.

I've already tried to have two frames, add the NG Loader to the first and the game to the second (with addChild(new Main()), but this does not change the behaviour, the Preloader is only shown after the movie has been fully downloaded.

I've unchecked "Export in frame 1" for all resources.

Can someone hint me to a PROPER way to do a preloader without using the Timeline? All Tut's i've found use things like movie stop() and play() and stuff, but as i said, i don't use the timeline.

Thank you.
Oh, and please don't hint me to google, i'm looking for a solution for three hours now... Maybe i was using the wrong keywords though...


None

Yambanshee

Reply To Post Reply & Quote

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

Yambanshee DARK LEVEL 11

Sign-Up: 10/05/08

Posts: 1,608

the only possible problem i can think off is that all your data is loaded before your preloader (first frame) so maybe if you load it in dynamically it might work? just a thought

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

BBS Signature

None

henke37

Reply To Post Reply & Quote

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

henke37 NEUTRAL LEVEL 23

Sign-Up: 09/10/04

Posts: 3,674

Things used by the main timeline class is forcibly exported in the first frame. Don't do that.

Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.


None

Johnny

Reply To Post Reply & Quote

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

Johnny DARK LEVEL 21

Sign-Up: 04/17/04

Posts: 4,594

At 11/5/09 02:32 PM, henke37 wrote: Things used by the main timeline class is forcibly exported in the first frame. Don't do that.

Is that to say that the Document class is exported before the preloader is? Or things hardcoded into a frame on the timeline?

All sites currently down. Deal with it. <3

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 01:48 PM

<< 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!