URGENT: Preload A Movie In An Another One
Hello, let me explain my problem briefly.
Ingeridents:
1- Main movie (index.swf) in 190KB size with a preloader.
2- Sound movie (Sound.swf) in 880kb in size. (A volume control bar and the music in different layers)
3- A placeholder for sound movie inside the main movie.
Problem:
When page starts, the index.swf preloads and starts correctly, after that the movie begins. The thing I want ( and I can not do is) the sound bar
to preload in the preloader and then the control bar to become vissible while music starts.
you can both use loading the external swf to main movie or user another method.
Waiting for solutions urgently.
thanks.
(Fla is 35MB in size, and I dont know why so I can upload here )
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 02-09-2005, 05:18 PM
View Complete Forum Thread with Replies
Sponsored Links:
Preload Madness - Preload Movies Clip In A Movie?
hey people... a brought up this subject here a while back but it didn't really go anywhere... now that this sections seems to be a bit more lively perhaps some of you flashers can help me out... I am going to break this down very simple... I haven’t even storyboarded this so this is an extremely rough draft of the idea
I am building a photo gallery
this gallery has eight images which range from 30k-75k (roughly) so I don't want the user to wait for a full load of 240k-600k
I want to first load the thumbnails for the images... and then begin to preload the first image directly after that... then display it
and then from that point when the user clicks a thumbnail the corresponding full image will preload and then display
basicially this is about preloading a movieclip in a movie... I jsut can't wrap my head this... so I will ask for help before I get too deep.... any input on the basics of this idea would be appreciated
thanx!
View Replies !
View Related
How To Preload Movie Which Is Loading Through The Load Movie Action?
I want to preload main movie and the movie, which is loaded later through the load movie action, with the same preloader. The movie which is loading through the load movie action is level 1.
What changes must I aply to the code of the preloader, to do this task right? Here the code of the preloader:
btload = _root.getBytesLoaded();
totbt = _root.getBytesTotal();
sclbar = btload*100/totbt;
sclbar = Math.round(sclbar);
setProperty (_root.orangebar, _xscale, sclbar);
barwid = getProperty(_root.orangebar, _width)
barwid = barwid + getProperty(_root.orangebar, _x)
setProperty (_root.ldper, _x, barwid);
//setProperty (this.ldbar, _xscale, sclbar);
//trace (sclbar);
// trace(bytloaded);
if (btload>=totbt) {
gotoAndPlay ("slide panel", 1);
// trace ("loading complete");
} else {
gotoAndPlay (1);
}
Hope you help!!!
View Replies !
View Related
Please Help Fraternity Preload Movie And Main Movie
I really would appreciate some much needed help with this project from some of you smart people!! I read this forum and appreciate the knowledge I see!!
My son created the SigEp Arbeta Fraternity(Arkansas-Henderson State University) preloader .swf and the main .swf that they would like for the introduction to their site.
The preloader has the precentage and loading bar to show the main movie loading. This is WAY OVER MY head. I am a beginnner and they need someone that would like to help them with this.
What they want is the preloader to run with the percentage and preloader bar loading for the main movie and of course, then, the main movie starts.
Would some one want to help me set this up? I do not have a clue how to do this. I have HONESTLY tried to read, read, work, study, and apply tutorials, but this is too advance for me.
Here are the movies:
http://www.darcejean.com/arbeta/flas..._preloader.swf
www.darcejean.com/arbeta/flash/arbeta.swf
Thank you
Darce Jean
Retired Artist,Mother,Grandmother
View Replies !
View Related
Preload A Movie
How do I preload a movie using the following direction?
Have 4 layers, one for actionscript and one each for each empty movie and three frames. In the first two frames, the empty movies are far off the stage so it is invisible to the user. In the third frame, the empty movies should be placed properly.
In this example, they use the following actionscripts but I am not able to do them. What am I doing wrong?
Frame 1 actionscript:
if getProperty("empty_movie",_width)>0
if getProperty("empty_movie2",_width)>0
if getProperty("empty_movie3",_width)>0
tellTarget(empty_movie)
goto and play 1
end tellTarget
tellTarget (empty_movie2)
goTo and play 1
end tellTarget
tellTarget(empty_movie3)
goTo and play 1
end tellTarget
goTo and play 3
end if
end if
end if
Frame 2 actionscript:
goto and play 1
Frame 3 actionscript
stop
Should I have all these in one layer? Your help is appreciated.
View Replies !
View Related
Preload A Movie
I have created a flash movie which is 380k. It has 7 scenes. I want the first scene to be a loading scene so i have created the loading movie text to inform the viewer that the movie is still being delivered. What I cant figure out is how to tell the loading scene to make sure the whole 380k is downloaded before continuing on to the first frame of the actual movie. And if its no bother, tell the user how may KB's is being loaded (0-380 countdown).
Help would be very much appreciated.
View Replies !
View Related
Preload Movie How?
I got two swf files, preload swf and main.swf now i would like to write action script with loadmovie but i don't know how. Help MEEEEE )))))
p.s.
it's has to be with two swf files ...
View Replies !
View Related
Preload? Movie
I have preload.swf and mainmovie.swf. Preload should preload mainmovie.swf. But i have little problem with action script
LoadMovie(mainmovie.swf,1)
totaly_bytes= _root.getBytesTotal();
load_bytes = _root.getBytesLoaded();
stay_bytes = ukupno_bajtova-ucitano_bajtova;
procent_loaded = int((ucitano_bajtova/ukupno_bajtova)*100);
traka.gotoAndStop(procenat_ucitanog);
ifFrameLoaded ("Scena 2", 30) {
gotoAndPlay ("Scena 2", 1);
)
someone help...
View Replies !
View Related
Preload Movie?
hey guys im doing a portfolio and my file size is pretty small. about 168kb but in one of the sections, im loading a movie that is 412kb. so i dont want to make the user wait so long, so can i preload a movie since the beggining of my site?
here is what im thinking... can i use the loadVariables(); and load my 412k movie in a variable so that its loading, and then when the user cliks the button that loads the movie it will be somewhat loaded already?
is that possible?
thanks in advance
View Replies !
View Related
Preload Movie
l want to make a preload movie for my first scene , that sound nice now, my first scene has only one key frame ! because l put all the contents in one MC ! now how can l direct the preload codes to the MC? is it too complicated? or l have to copy all layers to the main scene?
please help
View Replies !
View Related
Using 1 Movie To Preload 2 Others?
Hey all -
I've recently been hired to optimize a site that someone else created, and I'm having one problem. The site has 2 seperate movies that load up and the client wants them both preload together so they load up simultaneously. My intial plan is to make a third movie that will preload everything, and then link to the html page with the 2 frames and movies will just start right up.
Is this just a terrible way of doing things? I haven't been able to figure out how to preload several movies at the same time. I feel like localConnection should work, I just can't figure it out.
Any help would be greatly appreciated.
Oh, and I can't combine the 2 movies into one, due to navigation and size issues the client is adamantly against it.
View Replies !
View Related
Preload The Whole Movie?
I have a 10 meg animation with 6 scenes that I use for my gaming clans website ( all users use highspeed ). Is there a way that I can preload the WHOLE THING before it starts to play? I have a preloader already but I realized that it only preloaded frame1 of scene one which is the audio soundtrack.
Can someone PLEEEEAAAASSSEEE help.
For all you High Speeders...check it out...you will see what I meen
http://dbdutgmc.recongamer.com
Thanks
View Replies !
View Related
Movie Won't Preload.
Hi, i have my movie here: http://www.jsment.com there is a preloader in there but as you can see, when you go to the site, it does not preload. you can see it downloading in ur browser but the preload screen does not come up. what am i missing? here is how my movie is set up:
first frame contains a movieclip which is the loader. within this clip is one frame: using actionscript and the onEnterFrame event, I dynamically resize a shape within the frame. this is all, when the loading movie notices that the getBytesLoaded > getBytesTotal it says _root.gotoAndPlay(2).
I do not see the loading screen at all (you may see it for a split second after the entire swf has downloaded.
What's the deal? do I need to attach the fla?
Thanks,
Josh
View Replies !
View Related
Help With Preload Movie
I have added a preload movie to my flash 8 project. It plays fine at the beginning, but when my flash movie plays, instead of continuously looping, it briefly disappears at the end and we see the preload bars. Then the movie restarts, ad infinitum.
Please click here to see what I'm talking about:
www.noisivision.com/comedy.htm
I am using 3D Animator version 4, release 6.
Advice, please?
Thanks.
View Replies !
View Related
Movie Not To Preload
Hey Guys,
Hello to everyone, this is my first post. I am somewhat versed in using flash, but am limited in actionscript, so I could use your expert help.
I have a page that requires 9 Flash Videos on the one HTML page.
My Question is this:
I need them only to start loading when "Play" is clicked, rather than have them loading on Page load.
Can anyone tell me how to make a player that will only start buffering when "play" is clicked?
thanks in advance!
Ben
View Replies !
View Related
How To Preload Swf Into A Movie
I'd Like to know if it is possible to preload a swf file so that when I choose to klick a certain button that file loads without any delay.
How to put a file into standby so to say.
Thank you in advance,
Marc05
I'm meddling on the sound buttons in www.arqpais.pt (A Portuguese site I made)
View Replies !
View Related
Help How Do I Preload My Whole Movie
this might be very simple, but for some reason cant do it.. i have a component (flip page book) that loads after my background loads. It has its own preloader, but i dont know if thats the problem. I just need the whole thing to appear together... thanks!!
View Replies !
View Related
How To Preload Swf Into A Movie
I'd Like to know if it is possible to preload a swf file so that when I choose to klick a certain button that file loads without any delay.
How to put a file into standby so to say.
Thank you in advance,
Marc05
I'm meddling on the sound buttons in www.arqpais.pt (A Portuguese site I made)
View Replies !
View Related
How To Preload A Movie
Hello, I am new in Flash, I have created my first flash movie. www.prideimage.com. Now my question is that I have a movie in my first page that calls my second page and in that page my second movie has a mp3 song that really takes sometime to load the first time. Is there a way of preloading that second movie when you are in my first page so like that when you get to the second page you do not wait so long thinking that the page is not loading. or to put an animation that loops such as "loading..." that is playing while the clip is loading itself completely and that truns off and lets the movie play when the music is loaded. Go to the website www.prideimage.com. waited out and you will see exactly what i am talking about. Thanks alot for your help, learning flash!!
View Replies !
View Related
How Can I Preload The Movie And Its Library
as i`ve tried every preloader flash kit has here and all can handle preloading a phisical objects in the movie but when the movie`s library contain [exported objects](attached) the whole thing goes wrong as its seems like flash preload the library and then goes to the preloader scene.
the next scene is the real movie but nothing has left to preload after the whole library has been already preloaded.
please help
Ninki
View Replies !
View Related
Multiple Movie Preload
HI!
Here is my situation. I have a series of swfs that need to be run one right after the other. Is there a way for me to preload the next one while the current one is playing so that I don't have to wait at the end of the current swf to load the next one? I guess what i'm asking is that is there a way to preload the next movie and stop it(rather than let it play) while the current clip is playing? PLEASE HELP!
View Replies !
View Related
Preload In A Different Page Than Movie
Hi Guys,
Some help with this, please:
- I want to use the preloader on a different page than the actual movie is in.
Is it possible to use a preloader separated from the actual movie to be loaded? I guess in this preloader you need to specify where is the movie to be preloaded, but how?
Thanks,
View Replies !
View Related
Preload Movie Clips
Here's my question: Is possible to load a movie clip separated of the main movie? My movie have 45 kb, and the movie clip i want to load separated it's responsable for 39 of them... I've been trying to load the movie clip, called "target", with the script above (very big chance of being stupid):
onClipEvent (enterFrame) {
if (_root.target._totalframes ==_root.target._framesloaded) {
_root.target.play();
}
}
So... HELP ME! I'll really apreciate, and thx for reading
View Replies !
View Related
Preload A Movie Clip
I have seen websites like 2advanced.com and such that have perloading in what looks like movie clips. in otherwords some part of the website is loaded and there is another part that has a preloader animation and when its done then that section loads. any help on how that is done.
View Replies !
View Related
Preload External Movie
Hi,
Need preload script for my external swf,
In all the external swf, i created a preloader for each external swf , i want it goto preloader before playing in all my external movie. But seen like not working, everytime when i click, the movie play without running preloader in all my external swf, pls advice. Thanks.
My link http://deicidez.cjb.net
Amiwai
View Replies !
View Related
Problem To Preload Movie...
Hi, can you go at http://www.cyclonemedias.com
now that you are there this is the problem:
there is 3 items loaded at first time:
Menu, Background, dans a special windows with a schedule... I have to load those 3 level before the are visible. but How can I load 3 levels without showing them? Do I put a stop action on each and when it's loaded 'with' action level 1-2-3 play(); ???
Help!
Thanks!
View Replies !
View Related
Preloaders - Do You Preload The Whole Movie?
When i didn't have a preloader, my flash site was really slow for dial ups...
but now i find that loading can take up to a minute if i preload the whole intro or each link...
is it better to only load 3 quarters or something and then let it start playing?
or is there now way around this for dial ups?
View Replies !
View Related
Multiple Movie Preload Help
I hope I can explain this well enough for you to understand. I'm trying to preload my main movie without preloading the external movies that are scritped within the movie. The preloading with the main movie goes fine but then when I call the external movie it opens it instantly like it had already been preloaded I want it to call the movie and then preload it at that point. The external movie does have a preloader also. Could anyone help me with this. The script I'm using on a frame action is :
_root.createEmptyMovieClip("cprofile", 1);
loadMovie("profile.swf", "cprofile");
cprofile._x = 156;
cprofile._y = 3;
The profile.swf does have a preloader but it doesn't use it and I know it's not just loading it quickly because it's bigger than the main movie and I'm on dial-up. Thanks.
View Replies !
View Related
No Preload When Loading Movie Into MC
Driving me nuts-- I have a tried and true code for your standard preload code (getBytesLoaded), but when I use it in an MC that is loaded into a movie clip, it disappears, although the loaded movie does indeed run fine once it loads in. What gives? is it that the "holder" movie clip's content disappears when the new one is loaded in, giving it a null size + width and no room to display my loading bar?
Here's my preload code:
bytes = Math.floor(_root.getBytesTotal()/1000);
loaded = Math.floor(_root.getBytesLoaded()/1000);
if (loaded>=bytes) {
gotoAndPlay("intro", 1);
} else {
downloaded = Math.floor((loaded/bytes)*100);
_root.percent6 = downloaded+'%'+' '+bytes+'/'+loaded;
}
_root.percent6 is my text readout.
View Replies !
View Related
Preload Movie That Uses Components
I need help making a preloader for my main movie that uses components. Because components must be loaded in the first frame, if I use a standard preload approach the preloader won't show until 20% of the movie is loaded. So I found this work around here:
http://odin.prohosting.com/~oldnew/f...ng/preload.zip
Everthing works great but only one problem. My movie loads a sound swf into level 1 and then the movie starts at the same time. When i use the above preloader it can't load the sound. You can see it at http://www.upfieldmedia.com/2ndpreload.html and if you go here http://www.upfieldmedia.com you will see what it does with a standard preloader. The page apprears after about 20% loaded and the sound loads correctly. ( need to clear your cache before you check each page)
My problem is how do I combine this preloader with my current movie? my files are here http://www.upfieldmedia.com/files.htm
View Replies !
View Related
Preload For A Loaded Movie
I've tried a variety of scripts to get this working, but can't quite get it. I've got the preloader bar woking in my main movie, and I have my main movie loading a nested clip using loadMovie("load.swf", loadClip);
But I can't get the preloader bar in the nested clip to indicate loading.
You can see the test file at:
http://www.dixonschwabl.com/test.swf
I have the main movie loading a 40K picture and audio and the nested movie loading a 3 MB mpeg, just so you can see the preloader working/not working.
You can download the fla files at:
http://www.dixonschwabl.com/test.fla
http://www.dixonschwabl.com/load.fla (although I didn't include the mpeg since it was 16 MB)
Preloader script (for main...this works fine):
onClipEvent (enterFrame) {
procent = int(_root.getBytesLoaded()*100/_root.getBytesTotal());
mc_bar._width = procent;
}
and
if (procent<97) {
gotoAndPlay(1);
} else if (procent>97) {
gotoAndPlay(3);
}
Preloader script (for nested clip...doesn't work):
onClipEvent (enterFrame) {
_parent.procent = int(this.getBytesLoaded()*100/this.getBytesTotal());
mc_bar._width = _parent.procent;
}
and
if (_parent.procent<97) {
gotoAndPlay(1);
} else if (_parent.procent>97) {
gotoAndPlay(3);
}
HELP!!!
TIA
View Replies !
View Related
Preload, But Movie Still Gets Hung Up.
THE SITE: http://www.greenlemon.info/
I have 2 preloaders. 1st i have a java script loader that loads...
then i have a scene in my movie that loads... nothing is working.
I created my first flash web site. I have a preloader on my first
scene of the main movie.. it reads "initializing" here is the script for the preloader:
FRAME 1 reads:::::
If Frame Is Loaded (index, 43)
Go to and Play (index, 1)
FRAME 2 reads::::
Go to and Play (preloader, 1)
when my movie comes up... it stops and gets hung up before finishing
the movie... any ideas why? or how i can make it play smoothly through??
Thanks:
jason
View Replies !
View Related
Preload Only Part Of A Movie?
Can I preload only part of a movie and the library?
I have a movie full of Video and sounds. I need a preloader for the movie, but I want each video to have its own preloader when viewers decide to view them!
Thanks
Chris
View Replies !
View Related
Preload A Movie Clip
hello,
i have been searching the tutorials and what not but i could not find the answer to this question. is it possible to preload movie clips in parts? what i mean is to make it look like the preloader is movieng to differant percentages and not just loading all at once. also the movie clip i want to preload is withing another movie clip which is withing another movie clip. please help. thanks
Robert
View Replies !
View Related
Preload Movie/Photos?
I am making a photography site and when the user clicks "slideshow" in the main navigation I want it to preload slideshow.swf and then load it into a emptyMC on the stage, but I also want it to preload the jpg's that slideshow.swf will dynamically display as the user flips through the slideshow. So, im assuming that what i need to do is have the preloader load slideshow.swf and all the photos, but not display the photos yet. Can someone help me out with the actionscript for this?
I also want a frame to dynamically resize to fit each photo, but ill worry about that later.
THANKS!
View Replies !
View Related
Movie Won't Play In Preload
Hello,
I've been working on an intro to my site and was wondering how to put a movie in while preloading. I can make a simple animation but am unsure of how to implement a movie into the layer without it giving me the following error:
Statement must appear within on/onClipEvent handler
ifFrameLoaded (250) {
If anybody can help me out I would greatly appreciate it. Thanks!
View Replies !
View Related
Preload For Dynamic Movie
I have a flash movie that is approx. 75Kb in size. The entire movie builds dynamically and there is only one frame, which contains all the code. Everything (around 1000 pieces) is brought onto the stage at run-time dynamically using mainly attachMovie and some other techniques.
The problem I have is somewhat obvious, at 75Kb in size before anything appears in the users browser, there is a large amount of lag time before the user sees anything at all.
Does anyone know how I can build a preloader for a movie like this considering that dynamically loaded library clips (which all have 'linkage') must always load into a flash file before anything at all appears on stage ?
Thanks,
Stephen.
View Replies !
View Related
Preload The Movie Before Play
hey Guy
i have a problem about load the movie before play.
movie A
1st layer 1st frame is (stop)
2nd layer 1st frame is a button with on release/ play frame 2/ loadMovie("B.swf"),"root.content"
3th layer 2st frame to 10th frame is doing a sliding cover action
4th layer 2nd frame is content movie clip for load "B.swf"
the problem is when i clicked the layer 2 button, then finished the layer 3th action. But "B.swf" is wait 2 or 3 sec then come out. i haven't done any preload script in B.swf
so anyone can solve the waiting the sec problem, can add some scripts in the 1st layer frame to call the movie already down. thank
View Replies !
View Related
Preload A Movie Every Time
Hi,
I've made a header for my website that uses a preloader. I was hoping that someone could help me with this preloader so that it shows the preloader animation every time, even though the movie is fully loaded.
My .fla file is located here: http://www.planetbarca.com/bluevision_header.fla
Thanks,
planetbarca
View Replies !
View Related
Can't Load Movie After Preload
Hi all,
I got problem with my preloader. As progress bar finish (100%), nothing happened (the movie not load). The movie i load about 500kb. Here is the code :
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
_root.loadMovieNum("product.swf",0);
}
many thanks
View Replies !
View Related
[F8] How Do You Preload Two Things In The Same Movie?
I have a movie that has a flash top navigation part and a middle part.. They have to load seperately because the top is just for navigation and whatnot.. but the middle part is gonna load videos and animation.. They tie together by design though.. Some parts of the top go to the middle and vice versa...
Do I create seperate SWFs and have one on top of the other or.. Have one big one that holds the two SWFs so that theres not a Navigation part loaded.. and a big white space in the middle until it loads...
Whats the best way to do this kinda thing?
Thanks!
View Replies !
View Related
Preload A Movie On Level1
Does anyone know if I can preload a movie on Level1 and make it invisible untill I need it. I know I can load an external movie into a a empty movieclip and make it invisible, but is it possible to make a level1 invisible? What would be the code for this? _level1._visible=0; does not seem to work.
thanks,
Mike
View Replies !
View Related
FLV Preload/buffer Movie
I'm using the FLV Playback Player 8 that comes with Flash 8 and am trying to create a movie that will play while the flv buffers, and then goes away when the flv starts.
Because the FLV Player has it's own parameters for designating the content path for my flv file, I am not using an ActionScript NetConnection, which seems to hinder my ability to have a movie stop playing when my flv is finished buffering...
I tried using this actionscript in my movie clip that holds my FLV Player, but with no luck.
ns.onStatus = function(info) {
if(info.code == "NetStream.Buffer.Full") {
bufferClip._visible = false;
}
if(info.code == "NetStream.Buffer.Empty") {
bufferClip._visible = true;
}
}
Any ideas would be most appreciated.
thanks-
View Replies !
View Related
|