Pages: [1]
  Print  
Author Topic: Pre Loader  (Read 274 times)
Mickey
Gaia Novice
*
Posts: 8


« on: June 26, 2011, 11:23:49 PM »

Hello Gaia Community

Is there a way of having one preloader for for when the site is first loaded and then other pre loaders for the inbetween pages?

Thanks in advance

Logged
Nemo
Moderator
Gaia Addict
*****
Posts: 594


Freelancer for hire


WWW
« Reply #1 on: June 27, 2011, 06:06:15 AM »

Yes, after first page is loaded, switch loader.
Logged

!
Mickey
Gaia Novice
*
Posts: 8


« Reply #2 on: June 27, 2011, 08:25:18 AM »

How is this done?
Logged
wiyono
Gaia User
**
Posts: 10


WWW
« Reply #3 on: June 27, 2011, 09:23:19 AM »

Gaia is already so.............
Logged

Nemo
Moderator
Gaia Addict
*****
Posts: 594


Freelancer for hire


WWW
« Reply #4 on: June 27, 2011, 10:32:13 AM »

you have to create flag:  firstLoad=True,

afterTransitionInComplete  you check if flag is True, if yes,
you switch preloader, and set firstLoad=false
Logged

!
viaria
Gaia Fan
***
Posts: 112


viaria
WWW
« Reply #5 on: June 29, 2011, 04:33:47 AM »

This answers gaia community's weirdo style. Sometimes no answers.
Logged
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3871


gaiaframework
WWW
« Reply #6 on: June 29, 2011, 04:55:11 AM »

There is an entire section dedicated to this topic in the documentation.

http://www.gaiaflashframework.com/wiki/index.php?title=Preloader#Overriding_The_Preloader_At_Runtime

Instead of attacking Nemo by calling him a "weirdo", consider that 1) he is giving his own free time to help, 2) English is his second language, and 3) that he at least tried to answer a question already answered in the documentation, which normally get no answers or a "Read the documentation" answer. From the looks of it, it appears to me that he was answering the question based on the assumption that the documentation was already read.
« Last Edit: June 29, 2011, 05:45:53 AM by steven » Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
Nemo
Moderator
Gaia Addict
*****
Posts: 594


Freelancer for hire


WWW
« Reply #7 on: July 01, 2011, 09:16:51 AM »

Thanks Steven.

I always assume that somebody who is looking for help on the forum read documentation. That's why I am throwing ideas so that the user alone can come to the answer.

@viaria And what help you granted in your reply?
Logged

!
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc