preloader not working with a sliding menu script

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.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 4th, 2007, 12:44
Junior Member
Join Date: May 2007
Location: france
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nikising Send a message via Skype™ to nikising
Unhappy preloader not working with a sliding menu script

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
Attached Files
File Type: fla monasterio_scenes2.fla (1.38 MB, 19 views)
Reply With Quote

  #2 (permalink)  
Old Jun 4th, 2007, 23:03
New Member
Join Date: Jun 2007
Location: Sydney
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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);
}
};
Reply With Quote
  #3 (permalink)  
Old Jun 5th, 2007, 08:05
Junior Member
Join Date: May 2007
Location: france
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nikising Send a message via Skype™ to nikising
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
Reply With Quote
  #4 (permalink)  
Old Jun 5th, 2007, 08:17
Junior Member
Join Date: May 2007
Location: france
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nikising Send a message via Skype™ to 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
Reply With Quote
  #5 (permalink)  
Old Jun 5th, 2007, 14:58
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
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)
Reply With Quote
Reply

Tags
preloader problems

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
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


All times are GMT. The time now is 01:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43