![]() |
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Preloader Scene |
Page: 1 | Reply |
Jul 6th 2001 | #7716 Report |
![]() Posts: 4 |
Does anyone know how to create a true percentage preloader in a separate scene from the main one? this is what i have in the preloader scene percent = Math.round((_root.getBytesLoaded()/_root.getBytesTotal()) * 100) but when i stream it, the percentage stays at zero. Any solutions? Thnx in advance |
Reply with Quote Reply |
Jul 7th 2001 | #7811 Report |
![]() Posts: 2421 |
If you just want a percentage why don't you just use. percent = Math.round( ( framesLoaded/totalFrames)*100) If it were a different level you wanted to preload and show a percetage just use the _leveln._framesLoaded etc... |
Reply with Quote Reply |
Jul 7th 2001 | #7833 Report |
![]() Posts: 1604 |
Somebody's been reading ;) Chris |
Reply with Quote Reply |
Jul 7th 2001 | #7834 Report |
![]() Posts: 2 |
hi it was probably me, well i have a question, i am a newbie to flash, i dont know all the actions and what not, but i do know how to make a preloader, but i dont know how to do the percent thing like he was talking about, it seems he knows more about percenting then i do, i know nothing, when would i type that percent = Math.round( ( framesLoaded/totalFrames)*100) where would it appear, and one last thing, can i have a preloader that reloads one section of the loader, or is that not possible |
Reply with Quote Reply |
Jul 7th 2001 | #7837 Report |
![]() Posts: 2 |
heres an example http://www.2advanced.com/skatejam2000/sj2k-website.html where the squares are loaded again and the tech dots are not, does anyone know how thats done |
Reply with Quote Reply |
Jul 7th 2001 | #7845 Report |
![]() Posts: 1604 |
Ok, that code would go on a frame action at the beginning of your movie, just double-click the first frame on a blank layer (in Flash 5) and it'll pull up your actionscript dialogue box. As far as the animated preloading sequence, I think what you want to do is just create the animation for your preloader in a movie clip then place that on the first frame of your movie. It'll play till the preloading script tells it to move on to the next frame. Chris |
Reply with Quote Reply |
Jul 8th 2001 | #7874 Report |
![]() Posts: 2421 |
Yep Fig ![]() |
Reply with Quote Reply |
Jul 9th 2001 | #7981 Report |
![]() Posts: 1604 |
Good stuff man. Which ones have you read so far? Chris |
Reply with Quote Reply |
Jul 9th 2001 | #7986 Report |
![]() Posts: 2421 |
Foundation actionscript and Flash 5 studio (3/4) on that one. I went and ordered off amazon the Actionscript studio. It seems to be in the loop actionscript is the key ![]() ![]() |
Reply with Quote Reply |
Jul 9th 2001 | #7989 Report |
![]() Posts: 1604 |
Cool, I'm going thru Foundation Actionscript now and have AS Studio to go thru when i'm done. Can ya give me some details on Flash 5 Studio, what kinda stuff in covered, etc.? I may have to pick that one up... Chris |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |