Preloader Problems 2

This is a discussion on "Preloader Problems 2" within the Flash & Multimedia Forum section. This forum, and the thread "Preloader Problems 2 are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old May 26th, 2007, 12:49
New Member
Join Date: May 2007
Location: boston
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Preloader Problems 2

Hello,
I posted a couple of days ago about this. Here's a recap.

I made a flash website. I noticed it was taking a while to load so I built a preloader for it. But when I tried to load the movie the preloader loads it but none of the buttons work. I tried it both ways I tried using buttons and movie clips for buttons and it still doesn't work. I imported my site to frame 5 and have it go to frame 5 when the preloader is done. I imported the swf file and it turned it into a mc. I'm not too sure how to get the preloader to load an external file instead of importing the file.

The original files were too large to post but here's a copy of the code that I used and yes I put the website in the right frame.


Here's the code I used:

stop();
loadingBar._xscale = 1;
var loadingCall:Number = setInterval(preloadSite, 50);
function preloadSite():Void {
var siteLoaded:Number = _root.getBytesLoaded();
var siteTotal:Number = _root.getBytesTotal();
var percentage:Number = Math.round(siteLoaded/siteTotal*100);
loadingBar._xscale = percentage;
percentClip.percentDisplay.text = percentage + "%";
percentClip._x = loadingBar._x + loadingBar._width;
bytesDisplay.text = "loaded " + siteLoaded + " of " + siteTotal + " bytes";
if (siteLoaded >= siteTotal) {
clearInterval(loadingCall);
gotoAndStop(5);
}
}

The preloader works. The swf doesn't. I can't click on anything. The buttons don't work, they aren't active for some reason but they work in the swf alone without it being in the preloader.

Please Help!!!


Thanks,
Christina
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 26th, 2007, 15:33
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Preloader Problems 2

Hmmm....you imported the .swf INTO the preloader?

I would have just added a frame to the beginning of your original file (f5 will add an empty frame....and then put the preloader on that frame of the main project and told it to gotoAndPlay(2); or whatever frame your site started on.

If you imported your SWF is most likely lost ALL of the specifc qualities on buttons, actionscripting, etc - depending on what version of flash you are using.

Make sense?

If not - change gotoAndStop(5); and try gotoAndStop(5);

It's hard to say without seeing everything in action.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 26th, 2007, 19:28
New Member
Join Date: May 2007
Location: boston
Age: 25
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Preloader Problems 2

I'm using MX Flash. The swf is in the correct frame. When the swf loads it just doesn't have the buttons. I don't know whats happened to them
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
flash, preloader, web loader

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with preloader tcpodg Flash & Multimedia Forum 2 Dec 6th, 2007 13:57
preloader crazytyler34 Flash & Multimedia Forum 3 Oct 28th, 2007 17:27
preloader help jpixel Flash & Multimedia Forum 3 Sep 27th, 2007 20:35
Preloader Problems imriven Flash & Multimedia Forum 3 May 23rd, 2007 19:22
Help with preloader huminuh83 Flash & Multimedia Forum 4 Jan 6th, 2007 20:10


All times are GMT. The time now is 00:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42