This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > April 2006 > Movie pauses but plays correctly when browser refreshed
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Movie pauses but plays correctly when browser refreshed
|
|
|
|
|
| klloyd skrev:
> I am having an issue with the below fla file. The first time you view
> the movie in the html page, it will hang for unknown reasons. But if
> you refresh the browser, it will play correctly. I also have the flash
> file available at the link below. I'm assuming it has something to do
> with the actionscript but I can't locate the problem. Please help I'm
> stumped here!
>
> http://test.idnrteachkids.com/inter...creatures2.html
>
> http://test.idnrteachkids.com/inter.../creatures2.fla
>
Well, as I see it your scene is too complicated and contains
way too much to be functioning properly.
I learned pretty early that the best thing to do is to make
a movie as a "master" and make several more movies loaded
into that when needed. You can compare with "structured
programming" where you have a main program and several
sub-routines.
Then you have more control over the situation.
If I were you I would split op all the main parts into
several separate movies and load them as necessary into the
main movie.
There are several advantages apart from mentioned, one is
that the loading of the movie does not take so long when all
is downloaded in the beginning. You know, it is over 1,5
Mbytes, calculate the loading time with 56 kbit/s! It comes
to well over 4 minutes! It is better when it takes a few
seconds the first time and more as you proceed.
I have adopted this method in one of my projects (under
development): www.bohuswines.se/ophthalma/
and it works great!
Ralph
| |
|
| klloyd skrev:
> I am having an issue with the below fla file. The first time you view
> the movie in the html page, it will hang for unknown reasons. But if
> you refresh the browser, it will play correctly. I also have the flash
> file available at the link below. I'm assuming it has something to do
> with the actionscript but I can't locate the problem. Please help I'm
> stumped here!
>
> http://test.idnrteachkids.com/inter...creatures2.html
>
> http://test.idnrteachkids.com/inter.../creatures2.fla
>
Put this: gotoAndPlay(3); in Action layer frame 1.
I did that and tested here: www.bohuswines.se/creatures2.swf
and it works OK. You can look over the first actions to be sure.
Otherwise:
As I see it your movie is very complicated and contains too
much in one single movie in my opinion to be easy to understand.
I learned pretty early that the best thing to do is to make
a movie as a "master" and make several more movies loaded
into that when needed. You can compare with "structured
programming" where you have a main program and several
sub-routines.
Then you have more control over the situation.
If I were you I would split op all the main parts into
several separate movies and load them as necessary into the
main movie.
There are several advantages apart from mentioned, one is
that the loading of the movie does not take so long when all
is downloaded in the beginning. You know, it is over 1,5
Mbytes, calculate the loading time with 56 kbit/s! It comes
to well over 4 minutes! It is better when it takes a few
seconds the first time and more as you proceed.
I have adopted this method in one of my projects (under
development): www.bohuswines.se/ophthalma/
and it works great!
Ralph
| |
|
| Ralph skrev:
> klloyd skrev:
>
>
> Put this: gotoAndPlay(3); in Action layer frame 1.
> I did that and tested here: www.bohuswines.se/creatures2.swf
> and it works OK. You can look over the first actions to be sure.
>
> Otherwise:
>
> As I see it your movie is very complicated and contains too much in one
> single movie in my opinion to be easy to understand.
>
> I learned pretty early that the best thing to do is to make a movie as a
> "master" and make several more movies loaded into that when needed. You
> can compare with "structured programming" where you have a main program
> and several sub-routines.
>
> Then you have more control over the situation.
>
> If I were you I would split op all the main parts into several separate
> movies and load them as necessary into the main movie.
>
> There are several advantages apart from mentioned, one is that the
> loading of the movie does not take so long when all is downloaded in the
> beginning. You know, it is over 1,5 Mbytes, calculate the loading time
> with 56 kbit/s! It comes to well over 4 minutes! It is better when it
> takes a few seconds the first time and more as you proceed.
>
> I have adopted this method in one of my projects (under development):
> www.bohuswines.se/ophthalma/
> and it works great!
>
> Ralph
Oh sorry, forgot, very nice work otherwise!
Ralph
| |
|
|
|
| klloyd skrev:
> Thank you very much for the help and the compliment! It works great. It
> is now live here:
>
> http://www.idnrteachkids.com/interactive/creatures.html
>
> Kevin
>
You are so welcome.
But, still the first loading is very long, hopefully you
don't have any players with modem out there.
It is always a tradeoff between your servers upload speed
and your clients download speed.
Have you tried to load with 56 kB/s?
You can test the download time by simulating in flash with
the .fla file and ctrl/enter and choose 56 kB/s in the menus.
Do that.
Ralph
| |
|
| Ralph skrev:
> klloyd skrev:
>
>
>
> You are so welcome.
>
> But, still the first loading is very long, hopefully you don't have any
> players with modem out there.
>
> It is always a tradeoff between your servers upload speed and your
> clients download speed.
>
> Have you tried to load with 56 kB/s?
>
> You can test the download time by simulating in flash with the .fla file
> and ctrl/enter and choose 56 kB/s in the menus.
>
> Do that.
>
> Ralph
It takes a minute and a half to download and I have 19
Mbits/second adsl!
Ralph
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|