Ask a Question related to Macromedia Flash, Design and Development.
-
Bender #1
Flash newbie ...
Hi all,
I made my first Flash "intro" for my webpage @
[url]http://www.telusplanet.net/public/nitroacd/[/url]
It's pretty big for a first page download @ 4 odd meg,
so I'd like to add a loading status screen (preloader status display?)
before the movie plays. How do I do this and or any suggestions
on where to look to learn how to do this?
Any help is appreciated,
Craig
Bender Guest
-
Newbie xml and flash
HI, I am trying to learn xml in flash myself and am finding it v.hard! All i am trying to do is create a little 'story' with 3 pages.I have... -
newbie Flash/XML question
I have a working web service and a working flash test which passes 3 strings. The web service responds and I can update a TextArea. However, I... -
Newbie to Flash 5
I'm looking for some beginner flash 5 books to read any suggestions jbxdesign7... -
Flash Newbie Needs Help
Hi All, I've completed a HTML version of my site... I would now like to do a Flash version, something I have started as of a few hours ago. I... -
Flash MX Newbie Help Please
Hello All I am a newbie to Flash MX. Having used DW and FW for a number of years, I wish to expand my knowledge with Flash MX and especially... -
Speade #2
Re: Flash newbie ...
Yep, quite big file you got there, I suggest you don't provide the skip
flash intro link and also wait the end of the movie to let people in.....
lets see how many hits you get :)
ok, just kiddin...
To make an easy preloader:
don't put anything before frame.. lets say 10
Label your frame 6 "loading", and your frame 8 "beginMovie".
in your frame 7, you put that code:
------------------------------------
var loadAmount = _totalframes;
if (_framesloaded == loadAmount) {
gotoAndPlay("beginMovie");
} else {
gotoAndPlay("loading");
}
------------------------------------
So you get the point:
Your movie will loop between frame 6 and 7 till it is completely loaded.
Then we can add something more: the display of % loaded:
A dynamic textfield, which will be in frames 6-7 and display % loading...
add that code between the {} after else:
------------------------------------
loaded = Math.round(getBytesLoaded()/1024);
total = Math.round(getBytesTotal()/1024);
percent = Math.round((loaded/total)*100);
percentOutput = percent+"%";
------------------------------------
Use the variable "percentOutput" for that dynamic textfield.
You could also use a loading bar instead of just displaying % as text.. I'll
let you think about that, just a hint:
loadBar._width = loadBarHousing._width*(percent/100);
You can of course change frame numbers, you could use 1-2-3 instead of my
6-7-8 example, I just use these because it gives me empty frames before, in
case I want to add something else.. like loading textfile, etc...
Hoping that was helpful,
-Speade-
"Bender" <no@morespam.com> wrote in message
news:DVDlb.1273$SJ1.121@edtnps84...> Hi all,
>
> I made my first Flash "intro" for my webpage @
>
> [url]http://www.telusplanet.net/public/nitroacd/[/url]
>
> It's pretty big for a first page download @ 4 odd meg,
> so I'd like to add a loading status screen (preloader status display?)
> before the movie plays. How do I do this and or any suggestions
> on where to look to learn how to do this?
>
> Any help is appreciated,
> Craig
>
>
Speade Guest
-
Bender #3
Re: Flash newbie ...
"Speade" <alain@maisondequartier.com> wrote in message
news:bn9d8o$uem$1@nyytiset.pp.htv.fi...<<SNIP>>> Yep, quite big file you got there, I suggest you don't provide the skip
> flash intro link and also wait the end of the movie to let people in.....
> lets see how many hits you get :)
> ok, just kiddin...
>
> To make an easy preloader:
Hi Speade,
Thank you very much for the reply!
Hehe, I got a real good laugh out of your humor about the "skip flash intro"
link! :)
Thanks for the action script code, I'm firing up Flash MX as this message
prints,
I'll give it the old "college try" for sure! - Thanx again!
Later,
Craig
Bender Guest
-
Ciaran #4
Re: Flash newbie ...
4Mb ?
Just give up now, unless you know you have a verrrrrrrrrrry patient
audience. Nobody will wait, and you will have wasted your own time.
Ciaran
Ciaran Guest



Reply With Quote

