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.
|
|
|
|
|
![]() |
||
Preloader Problems 2
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
|||
|
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)
|
|
|||
|
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
|
![]() |
| Tags |
| flash, preloader, web loader |
| Thread Tools | |
|
|
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 |