all groups > macromedia flash sitedesign > august 2005 >
You're in the

macromedia flash sitedesign

group:

Web Site Stalls or Doesn't Work



Re: Web Site Stalls or Doesn't Work feed_me
8/18/2005 12:00:00 AM
macromedia flash sitedesign: Can you upload your .Fla file so I can have a look? I'm not sure why this would
happen.

Do you have any code in there that says (english translation) 'if this button
has been pressed, do not reload' (i.e. in order to stop a person loading a page
they are already on.)

Are you unloading movies once they are no longer needed, or straight replacing
them? or hiding them?

Is it your band? The music and videos are great. :)
Re: Web Site Stalls or Doesn't Work snurg
8/18/2005 12:00:00 AM
Hi, thank you, I do play in the band and
also made those videos, glad you enjoyed

I have included the ActionScript on the homepage
below...which should answer your questions

How do I attach an FLA? I will do that too

//stop homeScreen//
stop();

//create empty Movie Clips for UI selections
onLoad = function()
{
_root.createEmptyMovieClip("UI_mc", 1);
_root.createEmptyMovieClip("selections_mc", 2);
}

//buttons load movie clips//
about_btn.onPress = function()
{
loadMovie("about.swf", "UI_mc"),
unloadMovie(2);
}

music_btn.onPress = function()
{
loadMovie("music.swf", "UI_mc"),
unloadMovie(2);
}

pix_btn.onPress = function()
{
loadMovie("pix.swf", "UI_mc"),
unloadMovie(2);
}

gigs_btn.onPress = function()
{
loadMovie("gigs.swf", "UI_mc"),
unloadMovie(2);
}
email_btn.onPress = function()
{
loadMovie("email.swf", "UI_mc"),
unloadMovie(2);
}

:D
Web Site Stalls or Doesn't Work snurg
8/18/2005 12:29:52 PM
I am developing a music site called
http://www.sweetybomb.com

I am having chronic problems with the site working okay at 1st in most
browsers,
but am having 2 similar issues:
1) Activating all the links never works as the Flash site either stalls on a
frame or stops working altogether (it freezes)
2) Revisiting the same site on a browser will work slower or sometimes not at
all

I feel like this is a combination of the web cache (which I've emptied
although the problem re-arises soon) and the
file sizes of "some" of my content
e.g. My homepage and the next movie it loads with UI buttons are a grand total
of 160kb...small small small
BUT, some of the movie clips that can be accessed (witht the loadMovie code)
are large (2MB-8MB)

Anyhow, please advise Thank you
Re: Web Site Stalls or Doesn't Work feed_me
8/22/2005 9:22:29 AM
I'm not sure I get what you're doing here... You've made a movieClip called
'selections_mc' but don't seem to be putting anything in it, only unloading
from it everytime you click a button. If you don't mean to be doing that, then
I think you should also be unloading content before you load in new content,
not after as you've written.

Is whatever loads in UI_mc loading content into selections_mc when it's
loaded? If so, why do you need to do that?

I may be missing something, my brain isn't working yet.

I'm not sure if you can upload it here. It might be worth uploading it to your
webspace and linking to it from here if you're still having trouble.
AddThis Social Bookmark Button