Skip to main content
Known Participant
May 18, 2011
Question

AS3 Preloader for game

  • May 18, 2011
  • 1 reply
  • 1323 views

Hi,

I am currently finishing up with a game I've been working on. The game makes use of a document class, music, video, and other as3 classes.

Since the document class starts working from the first frame, how can I load it beforehand using a preloader?

Additionally I would like to have the preloader say which asset is being loaded(Loading Music... Loading Video.., etc.).

If you know the answer to any of these problems or if you could point me in the right direction it would be appreciated.

Kudos,

The Cheap Guest.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 18, 2011

use an external preloader.  ie, a separate swf the loads your main swf.  and setup your preloader to load the assets needed by your main swf (music, video, etc).

Known Participant
May 18, 2011

sorry, I'm not exactly sure how to do this. Could you point me in the right direction or give me a link?

Thanks anyway...

kglad
Community Expert
Community Expert
May 18, 2011

you're not sure how to use an external preloader?  or, you don't know how to load assets like sounds etc?