This is a discussion on "preloader not working with a sliding menu script" within the Flash & Multimedia Forum section. This forum, and the thread "preloader not working with a sliding menu script are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
preloader not working with a sliding menu script
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hello,
I have a problem with a preloader not working with a sliding menu script. I have two scenes , one preloader and the 2nd main. For some reason the preloader doesn't show when streaming. I think the sliding menu script loads all the images (its like an image gallery ) onto the first frame and so it's too heavy to see the preloader? I don't know. I've attached the file. I'm sure it won't be difficult for someone who can actionscript. Can someone help me out? Niki |
|
|
|
|||
|
Re: preloader not working with a sliding menu script
why not just put the preloader on the 1st frame of the 2nd scene?
or perhaps you could try.. w = 0; stop(); onEnterFrame = function () { myload = _parent.getBytesLoaded(); mytotal = _parent.getBytesTotal(); mypercent = myload/mytotal*100; // w += (mypercent*2-w)/3; mcStroke._width = Math.round(w); mcBar._width = mcStroke._width; mcLine._x = mcStroke._width; // if (mypercent>10) { txt.text = Math.round(mypercent); txt._x = mcLine._x-20; } /* Here you can add the code to execute when loading is complete */ if (myload == mytotal) { gotoAndStop("main",1); } }; |
|
|||
|
Re: preloader not working with a sliding menu script
Hi,
How would that work, if I put it on the first frame of the second scene? And where would I put the code you included in your post? Thanks I would love to try it, please don't disappear acidgreen, could you just explain a bit more? Nikising |
|
|||
|
Re: preloader not working with a sliding menu script
Hi,
Okay, I can't put the preloader on the same scene as the main page because I can't move the main scripts off of the 1st frame. So Maybe I could do it with the script you gave me. Anyways, I tried it with the scenes and I couldn't see anything ( bar or loading ) with simulate download. That script is supposed to creat a bar no? Thanks, Niki |
|
|||
|
Re: preloader not working with a sliding menu script
Why can't you move the script off of the first frame? Just curious.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| preloader problems |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS menu not working in IE6 | HitByLife | Web Page Design | 11 | Dec 6th, 2007 13:03 |
| menu which controls sliding to images | raydius | Flash & Multimedia Forum | 0 | Aug 13th, 2007 16:32 |
| php script not working | acrikey | PHP Forum | 13 | Apr 14th, 2007 14:44 |
| Sliding Menu? | thenajsays | Web Page Design | 4 | Nov 13th, 2006 10:42 |
| J-Script question (re: sliding bar) | darkus | JavaScript Forum | 1 | Dec 3rd, 2005 01:23 |