View Full Version : [F5] thunder, lightning, "HELP!"
morse
November 10th, 2002, 11:38 PM
go here
http://www.geocities.com/h4xx02/movie2_2_37.swf
and tell me if you get past 25% loading.
If you do, please comment on the site. It is my first decend Flash website, but don't hold back.
im not getting past 25%.
Troubleshoot my AS?:
frame1:
stop()
ifFrameLoaded (5) {
gotoAndPlay (2);
}
frame2:
stop()
ifFrameLoaded (75) {
gotoAndPlay (3);
}
frame3:
stop()
ifFrameLoaded (134) {
gotoAndPlay (4);
}
frame4:
stop()
ifFrameLoaded (270) {
gotoAndPlay (5);
}
frame5:
stop()
ifFrameLoaded (276) {
gotoAndPlay (10);
}
any help?
-=:.:=-
thanks.
lostinbeta
November 10th, 2002, 11:50 PM
IfFramesLoaded has been deprecated (fazed out).... Try this kind of preloader.
http://www.kirupa.com/developer/actionscript/preloader.asp
PS: Please don't crosspost the same question in multiple threads.
I am going to delete the others.
morse
November 10th, 2002, 11:55 PM
so sorry, I wont do it anymore.
lostinbeta
November 10th, 2002, 11:55 PM
It is ok, just letting you know. Posting the same question in multiple forums causes confusion when people answer them.
morse
November 11th, 2002, 12:19 AM
ok, wont happen again.
Anyway, I'm uploading new version of my site, check it out?
www.geocities.com/h4xx02/movie2_2_37.swf
thx
lostinbeta
November 11th, 2002, 12:21 AM
That is very good for your first Flash site.
Did you trace all of that by hand in Flash? If so, that must have been very time consuming! :o
The text is a little hard to read though :-\
morse
November 11th, 2002, 12:22 AM
hymm
try
www.geocities.com/h4xx02
instead.
and [deleted] my AS didnt seem to work. Here is what I have:
Frame4:
if (_framesloaded>=_totalframes) {
gotoAndPlay (5);
} else {
gotoAndPlay (4);
}
Frame5:
gotoAndPlay (10);
hlp?
btw I love the format and effects of your website. I think its really well done.
lostinbeta
November 11th, 2002, 12:28 AM
Hey, thanks for the compliments on my site :)
As for your preloader not working... are you sure it isn't working, or is your page just loading too fast to show it?
I got a quick blip of it the beginning and there are no sounds to beef up your file size, so it should load fairly quickly.
PS: Times New Roman is considered an unprofessional font, so it is up to you, but you might want to look into changing that :)
morse
November 11th, 2002, 12:44 AM
yea i hate times, i was just using it until i found a better one that i liked. I'm very peculiar. I love the one on www.rayoflight.net but i dont know what it is. you should check that site out, if you havent already. i believe that Yasuto Suga is the best flasher i have ever seen.
the preloader - i dont think it is working, when i viewed the site it continued right through like i was loading quickly, but it slowed and seemed to wait for frames to load later on. It should take a few seconds, the movie is 588 kb.
the lines - yes i spent a few hours drawing thoes, but that perfectly fine with me, i love flashing and anything that looks good i fly with.
btw if you do go to photoalchemy.com, the new flash version is not up yet, i just submitted it to the owner of photoalchemy today.
any suggestion of a font to use?
lostinbeta
November 11th, 2002, 12:54 AM
Alright, here is what I always use for a preloader. I put it in the scene before my main movie.
On Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded()/1000);
bytes_total = Math.round(_root.getBytesTotal()/1000);
_root.loadBar._width = bytes_loaded/bytes_total*125;
_root.loadText = "("+bytes_loaded+" Bytes out of "+bytes_total+" Bytes Loaded)\n"+Math.round((bytes_loaded/bytes_total)*100)+"%";
if (bytes_loaded == bytes_total) {
gotoAndStop("Scene 2", 1);
delete bytes_loaded;
delete bytes_total;
}
On Frame 2
gotoAndPlay(1);
Where loadBar is the bar i want to change the width to, 125 is the final width of the bar when the movie is done loading, loadText is the textbox that displays the information.
I haven't tested it in Flash 5, but by theory it should work, I believe Flash 5 supports all those actions. This preloader has never failed me.
You don't need to put it in a different scene, I just do because it is my preference.
The font used on rayoflight looks a lot like Times. It might be Arial maybe :-\ I usually use Verdana, Verdana is a highly popular font and comes with almost all OS's.
morse
November 11th, 2002, 12:59 AM
lol I'v never even tried to make a multi-scene movie. know any good tutorials?
yea thanks for the AS ill try it as soon as i can get thoes smilies out...done...
thx
lostinbeta
November 11th, 2002, 01:02 AM
As I said... You don't need to use scenes.
I only use scenes for the preloader, everything else I use loadMovie or something.
Just go to Insert/Scene the go to Window/Panels/Scene (I believe that is where it is in Flash 5) and make sure the scene with your preloader is before the one with your main movie.
morse
November 11th, 2002, 02:04 AM
ok well, I'm uploading a new one. I changed the font to Century Gothic. I dont know if it is going to work...i didnt embed the font. oh well...
i havent done the loading screen. Im not sure it works in flash 5, i think i screwed up anyway. ill work it out tomorrow. with a broadband connection you shouldnt have trouble having it load in time.
i gotta get flash 6, dont know how though.... Cant exactly afford it. I havent done very many pages for $$$. I got $50 for the original PhotoAlchemy, and dont know how much for the new one....anyway....
check out the new site. see if the font works. thx.
ill be on tomorrow...its 12:04 here.
again thx for all your help.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.