[F8] Preloader For Scene Instead Of Whole Movie
Hi guys.
Initially I created a flash portfolio movie, you can see it here http://www.tickleticklebicycle.com. As you can see by the whiteness that the movie is too large and needs a preloader. I thought about the possiblity of loading scene 1 and then having the rest load in the background. Here is the code that I have for the preloader so far that I used from this tutorial - http://www.tutorialized.com/view/tut...reloader/14517
Is there anyway to modify the code to load only scene 1 and let scene 2 load in the bg?
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); } }
*Also how hard is it to load images via XML like http://www.studiomakgill.com/?
FlashKit > Flash Help > Flash Newbies
Posted on: 09-16-2008, 04:18 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Preloader And Movie In One Scene
What is drawback of making a preloader in the same scene as your larger movie? Isn't it pretty much the same? I think I'm not seeing something.
Scene Preloader Vs Movie Preloader
hi
I have a movie with about six scenes. Each scene begins with a simple preloader...
if (_root.getBytesLoaded()>=_root.getBytesTotal()) {
gotoAndPlay(4);
}
The trouble is that I think that this script only works on the first scene because it is loading the whole movie rather than just the scene to which it belongs.
does anyone know how i alter the script so that it only gets the BytesLoaded and BytesTotal of the current scene rather than the whole movie?
thanks very much for your time.
Inserted Preloader Scene Is Screwing Up My Movie
HELP!! I'm using 2004 MX Pro, and I added a scene at the beginning to hold my preloader...simple, right? Well, the preloader works just fine...but every time I have more than ONE frame in my inserted scene (the preloader scene) it seems as if both A) all the true/false variables in the second scene that control my movieClip movements are suddenly "true"...ALL THE FRIGGIN' TIME!!!!!!! That means that submenus that I have sitting at the first stop() command all open...and won't shut!!!! and B) as if it's already started! If I add 25 frames to the first scene--by the way, these are TOTALLY blank frames at this point due to testing--my submenu will start at frame 25! If I insert only 10 frames, then it'll start on frame 10! Does ANYONE know WHAT THE %&$@ IS GOING ON!?!?!?!?!?!?!?!?!
I have tried everything I can think of. Any help out there or is this some sort of really strange bug?
Scene By Scene Preloader (urgent).
Hi!
I'm looking for an accurate preloader with a progress bar and percent status.
I'm creating an header with selectable headers.
I'm building the movie with a new scene for every header, the way things are right now my preloader just preloads all the scenes at the same time. What I'd like it to do is to just preload the first scene and when I later click a button to go to the next scene I want a preloader to just preload that scene and so on.
Is this possible? then how?
Hoping for a quick reply.
Thanks in advance.
Targeting Frame Label In Scene From Movie Clip In Same Scene
Hey Pals,
I'm trying to target a frame label on the timeline of a scene from a movie clip within the same scene, using Flash MX 2004 Pro. The scene is ultimately used as a .swf to load as a page of a website. The frame label is called "miscOn", the scene is called "misc". The below code is attached to a button within the movie clip.
on (release) {
loadMovieNum("tajwebsite_main.swf",1);
gotoAndPlay(miscOn);
}
Thanks!
Stu
I Cant Navigate 1 Scene From Another Scene Thorogh Movie Clip
SIr i made a Movie Clip and in the movie clip there are 4 buttons when i want to use the button so go to another scence it cant happen so how can i go to Another scene by the button which is present in the MOVIE clip
i think u understand my Problem
simply summary is that i there is a button in the movie clip and i want to use the button to go to another scene but it cant happen
Thk u in adnvance for any body Consideration
On My Movie, At The Middle Of The 3rd Scene, Goes And Plays The Sounds On 4 Scene...m
on my movie, at the middle of the 3rd scene, goes and plays the sounds on 4 scene...leaving some stuff of the 3rd... then goes blank... then it just gets crazy... no where there in the middle of the scene i gave it a command to go to the next scene... what on earth is going on...
please help...
it never happened before...
mayor deadline/...
urgent care...
thank you in advance:
chesckob
Loader Scene -> Movie Scene Problem
When my preloader finishes loading my movie, and i use gotoandplay ("Movie", 1), something goes wrong. When it is done loading, it continues on to the "Movie" Scene, but keeps switching rapidly between the load scene and movie scene. I need to know how to completely turn off the loader scene when it completes. Thanks
Target Frame In Scene From Movie In Same Scene
I know this is probably really basic, but I'm stuck here. Here's what I want to do: I have Movie1 on a layer in Scene1, and Movie2 on another layer in Scene1. In Movie1 is a button that, when pressed, goes to a particular Frame in Movie2. How do I do this!? Thanks!
Access Scene 2 From Movie Clip In Scene 1
I placed a button inside a movie clicp symbol in Scene 1.
Now I wan to set the button to play scene 2 when I click it.
I tryed
on (press) {
gotoAndPlay("Scene 2", 1);
}
and also
on (press) {
_root.gotoAndPlay("Scene 2", 1);
}
But it plays the movie clip symbol from the beggining Not the scene 2
An example file is attached. I should be able to click on the blue square (thats the button inside themovie clip ) and go to scene 2
Movie Clip In One Scene To Another Scene ?
hello guys,
I am trying to get from a movie clip in one scene to another scene
called "Timeline". Currently in the movie clip I have a button with the
code:
tellTarget ("_level0/") {
gotoAndPlay ("Timeline", "start timeline");
}
The thing is I have flash 5 but must publish in flash 4 and the above
code does not work for me.
this should be very easy to do right ?
advance thanks
Patricia
Reseting 2 Scene Movie To Scene 2
Flash 5
I have a 2 scene .fla. Within the 2nd scene there is a MC with a button inside it. Once this button is revealed i would like it to
take the movie back to frame 1 of scene two. So far Ive had no luck with:
on (press) {
tellTarget ("_root") {
gotoAndStop ("scene2", 1);
}
}
In this state it sends the movie back to Scene1,1
Thanks much
Scene To Scene From Movie Clip?
Right now I feel real dumb but is there a way from the end of a movie clip to tell the main body to go to the next scene??
I have a 1 fram main line and a movie clip within it that has 120 frames and I need the movie to go to the next scene when that clip is at it's end is there some way to do this.???
Preloader Scene
help me!! i build a flash site using 7 scene.. now i have problem with preloader....how to make a preloader in 1 scene that load 7 scene ? i using if frame is loaded nothing happen and not works..i using 7 scene preloader (preloader1,preloader2.etc) it's not works too !! plz help me..i like build with scene i think it's better than label
Preloader And Scene?
Hi all,
I've one question.
How works a preloader with a multiple scenes movie?
Does it works as if there were no scene or there's a trick.
As you guess, my preloader in my movie doesn't work pertecly and there's a pause between the scene when ti start.
Thanks by advance!
yerom
Scene Preloader
hello
i have a script that is good for movie preloader and i want to change it so it can tell the user how many bytes and precentage is downloaded from each scene and not from all the movie. i tried to play with the level0 and change it to level1 and to _root but it still doesn't work . does anybody know what to change it ti?
please help
etal
the script
//this will get the total bytes loaded up to now
bytesLoaded = (_level0.getBytesLoaded());
// this will get the total Kilobytes loaded up to now
KbytesLoaded = (int(men.getBytesLoaded() / 1024) add " KB");
//
// this will get the total bytes of the movie
bytesTotal = (_level0.getBytesTotal());
//
// this will get the total Kilobytes of the movie
KbytesTotal = (int(_level0.getBytesTotal() / 1024) add " KB");
//
// this will set up the percentage of the movie loaded
percentSetup = ((bytesLoaded / bytesTotal) * 100);
Scene Preloader?
I would like to know if it is possible to create a preloader to tell when a scene is loaded. I prefer to work with one .swf file rather than a whole lot of them, or do I have to have one preloader for each .swf and create a global library?
Scene Preloader At 100%
I've got an image gallery with thumbnails and an empty mc to load the large images into as seperate swfs. I have a preloader in the first two frames for the pics swf. This is the same preloader I use to load different swfs into levels and it works fine. When the pictures are loading the bar is automatically at 100% and there is still a wait time before the picture loads. Do preloaders work differently when loading swfs into mcs? I dont understand why it doesn't seem to be working properly?
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
percent_done = int((loaded_bytes/total_bytes)*100);
percentage = int((loaded_bytes/total_bytes)*100)+"%";
bar.gotoAndStop(percent_done);
ifFrameLoaded ("pictures", 7) {
gotoAndPlay("pictures", 3);
}
Scene Preloader
Hello
I would like to know if it is possible to make a preloader to preload just the scenes i want, and not preload the entire movie.
Let's say i have 20 scenes. is it possible to have a preloader that preloads the first 7 scenes than other preload activated by a button taht activates the next 3 scenes than another preload that activates 5 scenes (always with buttons) and finnaly a last preloader to preload the final scenes....
Is it possible?
Can you tell me how?
Thanks
Scene Preloader
greetings,
how i can make a preloader that only loads the first scene, then on the other scenes, there is another preloader that preload the next scene?
Preloader For Scene HELP
Hello
i made a presebtation (exe), but i want also to publish at internet.
My movie is divided in 5 scenes...the question is:
Can i make preloaders for each scene (and put this preloaders in your individual scenes too, because i dont want to change my frame numbers in the scenes i aready have, cos of actionscripting).
For example:
Scene 2 (ill make your preloader at scene 1)
Scene 3 (ill make your preloader at scene 2)
and the preloader scene will only have the preloader, nothing more....the movie scene will only have the movie content, not the preloader together
Thanx
Preloader For Each Scene ?
if my website is divided into scenes based on each button you press, should I have a preloader for each scene or just in the beginning of the whole site ??
thanks
Scene Preloader
Hi.
I want to create a simple preloader which can target individual scenes.
I know how to create a preloader that preloads an entire flash movie, but I'm after one which can be staggered.
Please can anyone help?
A.
Preloader - Scene
I have put a preloader which was already made which i downloaded into a seperate scene before my movie, but the problem is it loads up this with the play button first, no sign of the loading bar. It loads with a white screen then as soon as the play button comes up press play movie comes on. Is there something i need to do to get the first scene to come up straight away?
Scene Preloader
I am attempting to make a preloader that has a status bar that shows progress of download. I have found plenty of tutorials that show how to do this.. however... I want to load the data from a specific scene for each loader. For example I have a scene that contains all of the sounds and another with all the images. A bar will appear that will say loading sounds. Then another preloader will load all the images. How do I target these preloaders to specific scenes instead of total percent of movie?
Thanks for any help with this.
Z
Getting Out Of Preloader Scene
I've got a preloader in Scene 1, but its inside of a movie clip.
gotoAndPlay("Scene 1");
...doesn't work unless its on the main timeline. How do I tweek this to work inside of a MC?
Scene Preloader
How do I preload individual scenes in a flash movie as the user clicks on each section of my site. I have found many tutorials about preloading an entire movie with a status bar, but my site is very large and I only want to preload each scene as it is needed. I have seen this on many flash web sites but have not found a tutorial on how to achieve this. Can anybody help me out or point to a tutorial that explains this. I would still like a status bar of some kind.
Preloader In Scene 2?
Hello - I've made a few sites - but never one with a preloader in scene 2 - when I preview in flash or dreamweaver it works fine - but when its up on the net the preloader doesn't work and it runs through the whole movie - then shows the preloader at the end [in scene 2] from there I can access the site as I would like to see it - but I need to make it stop running through scene 1 first.
any help out there??
cheers
see
http://www.emilyandrewsphoto.com/
for what it is doing
Scene Preloader Twice
is there a way of detecting the loaded status of 2 scenes. I have a move which will load the first scene and this scene has a loader for the next scene.
ie: sceneLoader --> sceneLoader2 --> sceneComplete
I have seen loaders for the entire movie, but want to just detect the scene after.
thanks
Preloader Per Scene
ive created a flash website; you may view it at www.wowoweesiberians.com and my problem is the file is more than 10 mb and its taking about 15 mins to load with a 356 kbps bandwidth.
how can i make a preloader per scene. . .ive been searching for weeks now and couldnt find the answer! pls help! thanks in advance!
Scene Preloader?
I followed the basic preloader on the site and it works great. On my site I give the user the option to listen to music or not. I don't want the nonlisteners to be bogged down with a long load time (if they are using dial-up). Can I alter the code to make it look for the bytes_loaded and total of a scene? Or would it be easier to do it on the same scene, but on a later frame?
Preloader In Scene 1
I have a preloader in Scene 1 and main content in scene 2. What actionscript do I use to move to Scene 2 when the preloader has finished?
Preloader By Each Scene
I know how to make a preloader for the whole movie. But I want to find out how to make a preloader for each scene. Does anybody can help me?
The way I do it is like this....
totalK = getBytesTotal()/1000;
loadedK = getBytesLoaded()/1000;
remainingK = totalK-loadedK;
percentageK = (loadedK/totalK)*100;
setProperty ("bar", _xscale, percentageK);
if (loadedK>=totalK && totalK != 0) {
gotoAndPlay (3);
}
and I put goto action on the second frame.
I want to make this preloader for each scene.
Help me PLEASE.
New Scene For Preloader?
Okay, MM's own tutorial/help files specifically mention putting a preloader into a separate scene before the main scene.
Yet...I've been reading posts here that mention putting all on one scene...
Which is better? Is there any benefit for doing it one way as opposed to doing it another way?
Thanks for the help!
-Carrie
Scene 1 & 2 Preloader Issue...
I have a two scene flash, scene 1 is a preloader, standard one. Scene two is a movie. Before adding the preloader & its scene, the movie ran fine. Now when the movie starts playing after the loader is done, when it hits the actionscript _parent._parent.gotoAndStop(2); the movie plays back to the FIRST scene, in the preloader.
I'd LOVE any help with what I've done wrong. THANKS!!!
Ben
Separate Preloader For Each Scene?
I am trying to write a script that will allow a movie with multiple scenes to be preloaded as they are entered. Does the "_framesloaded" property allow for scene detection?
as in:
if (_framesloaded = "Kitchens", 20) {
gotoAndPlay ("Kitchens", 11);
} else {
percentVAL = Int((_framesloaded/20)*100);
percent = percentVAL add " % Kitchens Loaded";
setProperty ("statusbar", _width, percentVAL);
}
Or do I need to break each scene off into it's own .swf?
Thanks,
Aaron
Multiple Scene Preloader
Can anyone please help/guide me in making a multiple scene preloader? I currently have a movie with 7 scenes. I would like a preloader at the beginning that will preaload all 7 scenes before it begins to play scene 1. Any help would greatly be appreciated.
How Can I Make A Preloader For Each Scene?
Hello
My movie is divided into two scenes each of them has about 200kbs, so it takes a long time to preload both of them at the same time.
So I thought about making a preloader just for the first scene and while the user is watching it once it is loaded, start loading the second scene.
Is this possible and if yes, could you please tell me how?
Thank you in advance!
Preloader Scene Problem
I am new to Flash MX and have built a site in this program, however, I have run into a problem that I am hoping to get some help. When I placed my preloader into a new scene and moved it in ffront of my main movie scene it has change my navigation in the main scene that uses _root definitions along with frame numbers. Has this happened to anyone and what can be done to fix it? Need Help Thanks Devon H.
Preloader/Scene Problems
I have a script that just refuses to behave. It is suppose to play a sound when someone click on the play button. It does that well but I also have a preloader and when it is run the preloader refuses to load the next scene with the clickable sound.
Sometimes I do get an error that something is wrong with the script but the script runs fine as long as it's doing so without the preloader.
With the preloader all you get is the actual claickable sound scene but you never get to see the preloader. But if you rewind the movie, there it is!
By the way, the sound I am using is ebmedded not dynamically loaded.
Here are my codes
For frame 1 of the preloader...
if (_framesloaded>=_totalframes) {
gotoAndPlay("sinti",1);
} else {
gotoAndPlay("loading",1);
For frame 10 of the preloader...
gotoAndPlay(1);
For frame 1 of the actions layer in the clickable sound scene...
firstSound.onSoundComplete = function() {
}
For frame 1 of the sound object layer...
firstSound = new Sound();
firstSound.attachSound("firstSound01");
As I said before the scenes are ok when run separately. They just won't play together.
Thanks anyone!!!!
Dave
Preloader For Sound Scene
Hey there
Can anyone tell me or maybe help me with my preloader. The loading scene has to load the entire movie, before it goes to scene 1 where my sound is. But for some reason the loader doesent work ("Loading" scene).
Hope anyone can help me.
Jakob
Preloader Doesn't Go To Next Scene
Hi,
I have made a preloader and tested it in a test movie and it works fine, but when I add it to the site I've been working on (after everything loads) it doesn't go to the next scene. It some how skips the next scene and jumps to the third scene. Here is the flash file home_and_preloader.fla. If someone could take a look and let me know what's wrong it would be much appreciated.
Thanks!!
Preloader For Loading More Than One Scene
I am adding a preloader to a movie with 10 scenes or so but it only waits until the first scene is loaded instead of the whole movie. How can I make it wait until the ENTIRE movie (all 10 scenes) loads before it begins to play the movie. Here is the actionscripting i have on the preloader...
onClipEvent (enterFrame) {
if (_parent.getBytesLoaded() == _parent.getBytesTotal())
_parent.gotoAndStop(2)
}
Thanks for the help!
Preloader And Scene Insertion
Hello-
I need to add a preloader to a number of fla's that have been developed by someone else. These will eventually play inside of Powerpoint.
Scene 1 holds all the content in the current .fla
It was suggested that I insert a new scene previous to 'Scene 1' for the preloader, and also that I use a 'Check all Frames Loaded' route tomake the Preloader work.
I can not find direction for either creating a scene previous to the existing scene 1, or anything on the 'Check all frames Loaded' command.
Any help or links TO help appreciated.
Thanks!
Preloader To Only Load A Particular Scene
Hi there - My site has an intro and a main site which are set up as different scenes. I want the first preloader only to load the intro (which will be quite light) and then to play. Then whilst the intro is playing, I want the main scene to be loading. Then if the intro is over before the main scene is fully loaded, I want to go back to the loader bar to keep the viewer updated.
Can this be done? The only kind of preloader I know is one that loads the whole flv in one hit. If anyone could explain how to set it up so it works as in the above example, I'd appreciate it.
Best Wishes
Peter
|