Preloader problems

  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post January 25th, 2004, 8:56 am

Hi
I am using a preloader which i kinda modded for my own use. It was one which i got from kirupa, made by lostinbeta 8)

anyway, I inserted the frames into the from of my movie...It works!...

but when i put it onto the front of a movie clip with was loaded into my main .swf it just gets stuck on the "Loaded" sign, so it does preload it, it just doesn't pass onto the next frame which has the content on it.

so it works when it is simply opend, but not when it is on the front of a movieclip loaded into another.?

any help would be a bonus....

Nucleo
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 25th, 2004, 8:56 am

  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post January 25th, 2004, 9:23 am

you're going to need to modify the original preloader code to
apply itself ONLY to the MC you're loading. I think he took care
of that by using 'this' throughout that code, but I may be wrong.

If it's stuck on loading, check your frames...where is it supposed
to continue playing after it loads?? what frame? and did you
make sure you labeled it correctly? You could also post the
code itself here so we can see what you're using.
UNFLUX.FOTO
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post January 25th, 2004, 10:22 am

That tutorial has updated code to fix this issue in the tutorial (I changed "_root" to "this"). It is the final .zip file at the end that doesn't have the updated code... which my guess is you must of decided to just use that.
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post January 25th, 2004, 11:24 am

WHOOHOO!!

thanks alot unflux, lost...

changing all the "_root." to "this" did the trick and it works fine now...

thanks..back to flash... :D
-----------------------------------------------

a little off topic, i am making a flash game with some friends, well i say a flash game...

it aint really, more a football management game, anyway, it will probably be up for review when it is done..

kinda diving in the deep end, im fairly new to flash, now its gonna use php, logins, registrations and MySql...

lol, should be fun
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post February 9th, 2004, 11:44 am

hi again

another query about the peloader...
whenever i run it on the net and with the controled speed in flash the preloader always starts at about 80%

so it shows when the movie is almost finished...
i checked and the preloader is about 2kb max and the movie about 100kb, so it should show with the controled net speed thing on flash ( :P )

any idea's?...
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |
  • solaris
  • Student
  • Student
  • User avatar
  • Joined: Oct 18, 2003
  • Posts: 83
  • Loc: NC
  • Status: Offline

Post February 9th, 2004, 1:39 pm

it might be because the preloader only loads whats actually on the stage/scene in the movie, and not what you have included in the library, or it could be an issue of placement, where it starts to load, varying what it actually loads / leaves out.
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post February 9th, 2004, 1:56 pm

that's because the preloader is loading everything it can show
during its own frames, and trying to load the rest of the movie.

what i mean is, if you have a large graphic or a lot of text to
show along with the preloader's own graphics, it will have to
load those first, then the preloader will display. Kinda
backwards, I know....but i learned this the hard way myself.

when you say 2kb max -- what are you doing with the
preloader to begin with? Can you put up an example?
UNFLUX.FOTO
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post February 9th, 2004, 3:40 pm

Basically, to sum up what Unflux said...

The preloader is part of your movie, it is the first part of your movie that is used to load the rest of your movie after that. So a preloader should be a low file size so it can load quick enough to be visible to the viewer before the movie is fully loaded.
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post February 10th, 2004, 9:25 am

this is practicly it...
http://www.inucleo.co.uk/preloader.zip
then it moves onto the next scene where the movie is...
this script i used was meant to move to another frame, but i changed it to move to dif frame once it has finished loading...
any ideal's?...


a number of different preloaders have done this to me before...only just decided to ask lol
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post February 11th, 2004, 7:13 am

ok, there is the source file /\
||
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 48 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.