Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Several Movies PreLoading On One Page - AAARGH


Ok, so forgive me if I have missed something obvious... I have been out of touch with all things Flash for a good part of 9 months or so

Anyways, my main home page (100% flash) is getting larger and larger as I update and grow the site, and I recently decided to test breaking it up into several smaller movies, assembling them together in a table through dreamweaver, for ease and so I can perhaps rearrange the layout later down the line too.

Each little movie is loaded into the page by its own preloader movie, a script i sourced ages ago from this site... Here is the scripting:

code: // First thing to do is set the stage size of
// this movie at the same size as your
// "to be loaded" movie, and re-position the display
// elements to your liking.
// Also set the same framerate as your movie.
// Then replace "sound.swf" in 2 of the lines below,
// with the name of your movie.
// Last, make sure your present movie is cleared
// of any preloader, and most importantly, that it
// starts off with a first blank keyframe.
//
// Hides displayed elements
this.reelmc._visible = false;
this.loadbar._visible = false;
percent_display = "";
// create a new movieclip to load
// the external movie into
this.createEmptyMovieClip("container", 10);
// load the external movie into the new movieclip
container.loadMovie("gigs_media.swf");
// check the download status of the external
// movie once every frame
this.onEnterFrame = function() {
// trace the percentage of the movie that has loaded
percent = (this.container.getBytesLoaded()/this.container.getBytesTotal())*100;
if (!isNan(percent)) {
// trace(percent+"% loaded");
if (percent == 0) {
percent_display = "";
} else {
percent_display = Math.ceil(percent)+"% LOADED.";
}
this.loadbar._visible = true;
this.loadbar._xscale = percent;
if (percent>1) {
this.reelmc._visible = true;
}
container.stop();
} else {
// trace("0% loaded");
}
if (percent == 100) {
delete this.onEnterFrame;
this.reelmc._visible = false;
percent_display = "";
this.loadbar._visible = false;
loadMovieNum("gigs_media.swf", 0);
}
};
stop();


However, the movies don't load and start up independantly of each other which is really frustrating. They all go through their own loading procedure, but stop and only start when all the other movies have loaded themselves fully. And in the end, the user ends up waiting even longer for the page to load than my original setup - plus it looks totally unprofessional, and the user probably thinks to themselves - what the heck's goin on here?

I am assuming this is something to do with the 'level' that the movies are loading into?? Hmmm.

This is my original page (one big movie):

Original Page

This is the page I am very slowly trying to create with the original movie, but this time broken up into smaller movies:

What I am Trying To Do

Any help / advice - someone please! Before I pull my hair out... Aargh.


Cheers

Donna
ps. I hope I make sense...

*edit: added AS tags for clarity
gparis




FlashKit > Flash Help > Flash ActionScript
Posted on: 11-28-2004, 07:29 PM


View Complete Forum Thread with Replies

Sponsored Links:

Loading Movies Aaargh
I can quite easily now create a SWF called "Main.swf" with an empty MC in it called "loader"

on top of "main.swf" there are buttons which load or unload other movies into "loader"

What I want to do is, just have 1 .swf file that unloads itself and loads a new swf once an object has been clicked??
(a bit like clicking a door in the movie, and the next room loads)

I cant seem to get it right, when I click on my object it unloads the SWF (I think) and then loads the one 1 want over the other side of the screen!!or to the bottom of it

I cant seem to work out how to do it?

Thanks all

View Replies !    View Related
AAARGH Loading RANDOM Flash Movies INTO Movie?
Ok guys...here's one with a (hopefully) obvious solution. I have a flash movie that loads one of 27 flash movies randomly into the main movie via a container called "nsbe" using this action script:

------------------------
i = random(27)+1;
loadMovie("nsbe"+i+".swf", "nsbe");
------------------------

Simple, right? Works like a breeze when i publish in flash 5 or 6...but I would like to go lower...to flash 4. And when I do, I get this error message

------------------------
Error opening URL "file:///D|/My%20Webs/NSBE%20Region%204/11"
------------------------

Essentially, Flash 4 seems to only recognize the randomly generated number, totally forgetting about the "nsbe__.swf" (in the above case, number "11")!

I tested just loading one specified movie and that worked in Flash 4...but the random thing just isn't cooperating, so i'm confident the cluprit is the "loadMovie" command. I've tried messing with the script more, but no good.

Is there a better code to use that will make this thing load my random movies in Flash 4? Is there something really basic i'm missing?

Thanks in advance, guys!


Adrian J.

View Replies !    View Related
Preloading An Entire Html Page Composed Of Flash Movies In Tablesets
i am using flash MX and dreamweaver MX

i am having a problem with the webiste i am building...i have one html page consisting of several tables whcih hold their own unique flash movie...the problem is, is that when browsed, the page, naturally, finishes loading the smaller flash movies before the beefier ones and the page loads in chunks and looks sloppy...is there any way to say, have the <b>largest</b> flash movie sdripted to tell the smaller ones when to play; so for instance, aa method where the largest one loads and tells the other movies to wait until he's ready and then says go once they <b>all</b> have pre-loaded.

or is this something i can control through the html code (if so plz speak slowly i am a goof at html)

thx

View Replies !    View Related
Aaargh
Right, I'm a graphic designer first and foremost, so I struggle with anything that bears a slight resemblance to programming whatsoever.

My problem is driving me nuts. Basically I have numerous buttons contained in movie clips dotted around a cd rom that I'm writing. When attempting to assign mouse event actions to these buttons, the 'scene' section was greyed out (in Flash 4, that is). Anyway, I installed Flash 5 and praise the lord, an option was available for me to specify which scene to 'go to and stop'. Piece of piss, I thought. But it doesn't work.

Anyone know how to link to a scene from a movie clip, rather than any of this 'telltarget' business, please let me know.

Thank you for listening.

-James
http://www.telekin.co.uk[/url]


[Edited by telekin on 02-25-2002 at 01:39 PM]

View Replies !    View Related
Aaargh
Hi McFalski,

spent some time today to figure it out, didn't work, although it looks quite logical.The best I can do is to get flash to open a browser with an error message.
If you can find the time, please take a look at the zipfile I uploaded.Maybe its a question of where to put the function script... I dunno

greetz,

Lisa

View Replies !    View Related
Aaargh Pls Help Me
hello. i m making a full flash site of about 9 links. On the left side of the document there is a navigation menu which appears in everypage. Suppose on the main page there is a link called 'feedback'. Successfully from home i go to 'feedback' but when i click back on home nothing happens. This happens with other links too ! I am really fed up.. Urgent help required

Thnx a lot !

View Replies !    View Related
Preloading Movies
i have a movie that loads other movies throughout the site. i was wondering if theres a way to preload those movies before they are needed eliminating the wait.

i figured i could load it early in the main movie and put a blank on the first frame of the loaded movie. but doesnt this slow the main movie down???? please advise what the trick is, thanks

View Replies !    View Related
Preloading Movies
Hi Fker's

I cna't get Flash MX to preload my movies, they cause all kinds of grief. I had no problem doing it in 4. 5. but I can't get it to work in MX. I'm using the same technics, the only difference is that I use ' with ' instead of ' tell target ' Is there something new that I should be using or is it that MX just wont do it?

cheers

yeffer

View Replies !    View Related
Preloading Other Movies?
hi, is it possible to preload another .swf file while playing a loading screen? i know about the ifFrameLoaded thing but what about ifMovieLoaded? does something like it exist?

many thanks.

jay

View Replies !    View Related
Preloading Movies?
Hey, I have this site, and im trying to load different movies into an MC. Everything works fine, but theres one thing that bothers me. How would I go about doing something similar to this site:

http://www.fontsforflash.com/

If you notice, there is a preloader for every site section. How could I make a preloader from inside my main movie, and make it preload any movie that is about to be loaded instead of having each movie have its own preloader. This thing is bugging me, since more file size is added by giving a preloader to each swf. Can anyone direct me to a tutorial or give me some sample code?

kthx.

View Replies !    View Related
Preloading 4 Or 5 Movies
I have a preloader and it is working fine with a percentage bar and value. The problem is that in my main movie I have a number of other movies being called:

loadMovieNum("mask.swf", 20);
loadMovieNum("logo.swf", 20);
loadMovieNum("sparkle.swf", 20);
loadMovieNum("home.swf", 20);

When viewed on the web the main movie preloads and starts before the other movies have preloaded. This is especially a problem with mask.swf as it is an animated mask used to cover the footer of the main site. I couldn't use this as part of the main swf since it uses some of Robert Penners easing equations and for some reason my main movie (which has a lot of code I did not develop) does not like them and will not run them. Hence the separate movie(s). So is there a way that I can preload a number of movies including my main movie before the main movie starts? So that the mask is in place and the content is not visible underneath (until the mask moves). At the moment there is a 10 second delay before all the other movies appear.

The code I have for the preloader is this:

Frame 1:

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal() + Math.round(_level20.getBytesTotal()));
trace("bytes_total is "+bytes_total);
trace("bytes_loaded is "+bytes_loaded);
getPercent = bytes_loaded/bytes_total;
_root.loadBar._y = 235; //Load bar is placed off stage and then put on stage at startup to prevent appearing too soon
_root.loadBar._height = getPercent*48; //was 100. changed to match height of logo
_root.loadText = "onscreens is "+Math.round(getPercent*100)+"% loaded";
if (bytes_loaded == bytes_total) {
gotoAndPlay(3);
}

Frame 2:

this.gotoAndPlay(1);

Frame 3:

stop();


The preloader graphics are on Frames 1 and 2. The main content/actionScript is on Frame 3.

TIA

Adrian

View Replies !    View Related
Preloading Sub Movies
Ok can anyone help with this one?

I am loading movies within movies within movies. I amdoing this by loading them into empty MCs for ease. The problem I have is preloading them I can't seem to get any but the intitialmovie to preload correctly.

Any ideas anyone

thanks in advance

Richie

View Replies !    View Related
Preloading Movies
Hello,

I am working on a flash website with many movies that are called on user actions. such as loadMovie level whatever when a user clicks rolls over etc etc. i have a preloader that fills a graphic as the content is loaded. however, it is only preloading the content on the first page. i want it to preload all the movie files for the whole site at this point so that the user can seamlessly browse the site without having to wait for each section to load.

heres my code for the preloader:

mask._yscale = percent;
this.onEnterFrame = function() {
percent = int((getBytesLoaded()/getBytesTotal())*100);
if (percent == 100) {
delete this.onEnterFrame;
gotoAndPlay(2);
} else {
mask._yscale = percent;
display = percent+"%";
}
};


thanks

View Replies !    View Related
Preloading Movies
Hi, im rather new to flash and im using it to animate an short little movies from 3d models for a site intro. is there a way to use action scripting or something else to preload the movie so it dose not lag? I don't wanna turn down the quality because his site is my portfolio.































Edited: 05/19/2007 at 11:23:46 AM by pegasus1820

View Replies !    View Related
Preloading Movies
How do I preload (or create the apperance of preloading) on a .swf file I am loading in to movie clip with in my main .swf file.
here is a zip file which has all the files and hope fully you will get a better idea of what I am meaning as I don't think I explained it well.
http://www.arctosdesign.com/load_movie.zip

Thanx alot

View Replies !    View Related
Preloading Movies
Hi y'all

I've got a problem with making a preloader. The thing is I want to preload a swf movie (child) from my main swf movie (parent). I can handle the loadMovie event, however my preloader stinks! Is it possible to do something like getBytesTotal() from my 'parent' to get the data from the 'child'?

Greetz

View Replies !    View Related
Preloading Movies
I'm relatively new to Flash, and was wondering if someone could tell me how to preload movies. At the moment, I'm working on a movie which will be really big (in terms of file size) by the time I'm finished. And so I want to load the whole thing before it plays, so that it plays at the correct framerate, rather than playing as it's loading and therefore being tediously slow. Thanks for any help

(Hope that all made sense!)

View Replies !    View Related
_currentframe....Aaargh
I have spent 12 hours trying to do the following;
toggle the visibility of an instance by a function of the playhead position of another MC (Flash 5)

the code I am currently trying to use is:

if (mc1._currentframe>=7) {
mc2._visible = 0;
} else {
mc2._visible = 1;
}

(all instances are on the same level)

Can _currentframe even be used in an if/else loop?

Thanks.

View Replies !    View Related
Tables Aaargh
I'm trying to set up some simple tables.
If I use html tags in actionscript I get a lot of unexpected results. If I build them in Illustrator with text and hand drawn borders they import incorrectly (spacing, tabs, etc).

I just want to do some simple table in flash...!

Can anyone suggest a simple fool proof way of doing a table.

This is looking like another "why don't you just do it in html?, it's 100% easier."

please help.

S

View Replies !    View Related
Aaargh - This Should Be Simple
I'm having problem with my flash file linking to scenes. IE from scene one I want to jump to scene two, where you can return to scene one and select scene three. Currently it just scrolls through the scenes - doesn't jump according to the actionscript. Can someone have a look and let me know why it isn't working? Any help would be greatly appreciated!

Phil

Download flash file

View Replies !    View Related
Preloading Load Movies
I have a few swf's that I'm loading into certain targets at different stages throughout a movie. The load movies take a few seconds to load up. I was wondering if its possible in these few seconds could I have a preloader or something to make the screen a bit more interesting rather than just a black part of the screen showing and how to do this. Anyone???

View Replies !    View Related
Preloading Loaded Movies .?.?
Does anyone know of a way to preload .swf's that are loaded from the main swf, using loadMovie.?
I have one swf that is basically a container for many small animations that are loaded.
I want to preload them all...

View Replies !    View Related
Preloading Multiple Movies
Could anybody post some sample .fla how to preload multiple movies. I tried the tutorial posted at where-here.com but it doesn't seem to work if you have movies preloaded with animations in it.

Thank you

View Replies !    View Related
Preloading Seperate Movies
Just wondering if it is possible to preload a seperate movie before it is actually loaded?????

Thanks for the help.

View Replies !    View Related
Preloading Additional Movies....HELP
i made a movie, located at http://www.comicscave.gr/skinetic which, after is loaded, plays a small intro, and then the buttons appear. however, i made a small swfx created effect to play upon button over state of each button. because of the nature of the loadmovie command, the effects are loaded first time when the user moves the cursor over the buttons, so if a user has a really slow connection, he will wait for ever for the effects to appear, and the page will seem abnormal. is there a way to preload these small(3-5 k) movies along the main movie,and play them whenever the mouse is over one of the buttons?

View Replies !    View Related
Preloading Mulitple Movies
Hi All,

I have a flash movie - http://www.virtualistic.com/flashed_site/start.htm - with 6 sub-movies that are loaded into an empty movie clip target (conveniently named empty_mc) (not levels) which resides on the main timeline of the main movie. I have a preloader on the main timeline of the main movie which works fine for the “shell” or “holder” (i.e. the frame for the other movies to load inside of).
The problem is when a “submovie” loads in, its content is not immediately available and was not included within the preloader just mentioned.
I’ve found two excellent articles/scripts that I thought would address the issue but don’t apply exactly:
This great script seems to be for preloading multiple movies into MULTIPLE targets but not for loading into a SINGLE target. (I tried using the same target name 6 times but nogo): http://www.bokelberg.de/actionscript/4.html .
Colin’s excellent The Art of Flash 5 Preloading - http://design.oreilly.com/news/action_0501.html - addresses Multiple-Movie Preloaders as well but I’m not sure it’s what I’m after.

Any suggestions?
TIA.

Brian

View Replies !    View Related
Preloading Two Different Movies At The Same Time
I am trying to preload two different movies at the same time. One has the sound loop and the other has the actual movie. I'm not sure how to get the preloader from level one check if the sounds on level two are loaded. Could somebody please help me!!

Thanks

View Replies !    View Related
Preloading Movies Problem
What I'm looking to do is have a preloader scene which loads all the movies in the main scene (there are 3), and then be able to tell when to play the movies in the main scene timeline? I would like a preloader that says something to the effect of, "Loading Menu", then "Loading Sounds" and "Loading Images". Does this make sense? I'm getting desperate...this is the last thing holding me back from finishing my site. Thanks!!!

View Replies !    View Related
Preloading Additional Movies
I understand how to make a basic preloader that checks the frames of a seperate scene but what if I have several other ".swf" files that need to be loaded into the same movie /or scene and accessed quickly without having to put preloaders in each of those files?

Is there a way to load those movies when the first preloader takes-off and have that preloader check to see if they are loaded?

Or should I be asking myself, why don't I, instead of saving seperate .swf files and loading each into the main movie when called upon, why don't I just incorperate them into the same file as the preloader, just put each in a seperate scene. I'm not sure why I didn't do that. Perhaps I didn't understand how to at the time or maybe I needed it to access it as a seperate file.

Hope I haven't confused yourself.

View Replies !    View Related
Preloading External Movies
i have multiple externl movies coming in at all different times is there a way to preload them in the preloader but then come in on the load movie command at their designated times.

thanks

View Replies !    View Related
PreLoading Multiple Movies
Ok, I know that this question may sound dumb to alot of you but I am a designer that is trying to progress into the realm of development and programming. I have recently lost my ActionScripter, so I have serious motivation to learn AS and to master XML...

Here it is:

I know how to make a percentage-preloader for a single movie, but I do not know how to preload one section of my site at a time (ie load main first, then PROFILE when it is selected by user etc)

Can anyone help me????

View Replies !    View Related
Preloading Oaded Movies
hi there,

If you could advise or steer me in the direction of a tutorial for this question.

This is all built in flash 4 but I can go to 5 if it holds the answer.

I've a main movie with other movies load into target windows, which all works fine. The problem is that the preloader in the main movie does not seem to be recognise the size of the movies loaded into the target windows, and isn't looping, the movies are just loading when they can.Is it to with _totalframes or bytes loaded?

Which is a problem,

ttfn

View Replies !    View Related
Preloading External Movies
i am loading a couple of external movies into a movie (holding movie). i am loading the movies into a target (movieclip).

i want to preload the external movies, before my holding movie starts playing the external movies.

any ideas on how i can achieve this.

thanks

hans de feber

View Replies !    View Related
Preloading External Movies
Hi -

I have this huge problem!
Ive used the loadmovie action, but it takes about 5 seconds or more to load it the first time -

Is there a way to load the whole folder with all its contens?

Or do I have to load the swf's into the preloader -
and then again to the main scene?

hope that any of you knows the answer!

thanks!

View Replies !    View Related
Preloading External Movies
Greetings everyone. I am having a problem with loading external movies. I have one main movie in which I am trying to load 6 external movies in it. Each move resides on a different level than level zero. My main movie only taks 2 seconds to load on a modem connection. One of the movies takes 17 seconds to load. So I put a preloader in it that sets all other movies invisible until the bytes in the one movie is finished loading. So on my main movie in frame 1 I have loadmove function for all the external movies. One of the external movies has the preloader like I said earlier that sets the visibility of the other movies to false. Does anyone have a better idea. I don't understand how people for example the 2advanced.com site loads so quickly. It has to be an explanation. I have read so many books but all the preloader topics are for within one movie. I understand that but please help me out

corynthionwright@hotmail.com

View Replies !    View Related
PLEASE HELP PreLoading Movies Problem
I have a project with multiple external Movies that load in when one has completed. In the beginning of each movie I have a preloader. BUT, is there any way to Load these movies while the previous one is playing? They all combine to form one movie: the 1st loads, then as the 1st is playing I would like the second to load, while the second is playing I would like the third to load, etc. Of course I don't want any of these "loading" movies to play until they are called to do so. PLEASE HELP!!!

Thanks,
Jason

View Replies !    View Related
Preloading Modular Movies
hello...

Using this code in a seperate scene (script in frame one - goto frame 1 in frame 2) for my preloaders:
----------------------------------------------------------
_root.total_bytes = _root.getBytesTotal();
_root.loaded_bytes = _root.getBytesLoaded();
_root.remaining_bytes = total_bytes-loaded_bytes;
_root.percent_done = int((loaded_bytes/total_bytes)*100);
_root.fadein.gotoAndStop(percent_done);
ifFrameLoaded ("main", 2) {
gotoAndPlay ("main", "no1");
}
loadbytes = loaded_bytes+" K loaded out of "+total_bytes+" K";
----------------------------------------------------------
works fine for the main movie but goes weird when i try and use it on swf's I try and load into my main thing...

For example see http://www.designer-resource.com - notice how main preloader doesn't loop but subsequent preloaders do..?
I guess it's down to a conflict with the main scene - any suggestions or alternative script appreciated...
Thanks, John

View Replies !    View Related
Preloading Multiple Movies
hi people,

i have got the gist of creating a preloader but before i start i was wondering how i would go about this scenario :

i have 4 swf,s about 700kb each now if i get the first one to load using a preloader what would be the best way to have the other 3 preloading whilst someone is watching the first ?

the idea would be that as soon as the first swf has been watched the next drops in and plays straight away as it has been preloaded then whilst this is being watched the next preloads and so forth

is this possible or am i asking a bit too much ??

View Replies !    View Related
Preloading External Movies
I know this has been asked before but never FULLY resolved - so I am back!

Been looking everywhere on how to easily do this. Something always goes wrong. I have a blacnk movie clip that I load external videos (swf files that contain video) into this blank movieclip. I want to initally stop the video (easy enough), pop up a progress bar that shows the percentage loaded and once done, play the movie. You would think this would be easy enough but sometimes the video size of the 2nd or 3rd clip loaded doesn't show up, etc.

Can anyone point me to a resource or fork me some actionscript that will allow me to take care of all of this easily? Thanks!

View Replies !    View Related
Preloading External Movies
I know this has been asked before but never FULLY resolved - so I am back!

Been looking everywhere on how to easily do this. Something always goes wrong. I have a blacnk movie clip that I load external videos (swf files that contain video) into this blank movieclip. I want to initally stop the video (easy enough), pop up a progress bar that shows the percentage loaded and once done, play the movie. You would think this would be easy enough but sometimes the video size of the 2nd or 3rd clip loaded doesn't show up, etc.

Can anyone point me to a resource or fork me some actionscript that will allow me to take care of all of this easily? Thanks!

View Replies !    View Related
Preloading Multiple Movies
I have a main site that has been compartmentalized into 6 sections. The root movie loads 6 separate movies for each section. The problem i'm having is that my preloader works only for the root movie not each section, so sections are loading at different rates, and this interferes with functionality.

Is there a way to have a single preloader take in consideration multiple movies?

thanks icarus666

View Replies !    View Related
Preloading External Movies
I really need help here guys...

I am building a site and i need to have one main preloader that is utilised when i load .swf into the main .swf.

I have found this tutorial which works well -

http://www.kirupa.com/developer/mx/p...transition.htm

... the only problem is that i need a preloader bar to illustrate the .swf loading!

Can anyone help! (I am desperate)

View Replies !    View Related
Preloading ALL Movies Without Showing Them
Okay, first of all, I realize that I can just test out several ways for doing this, but my movies are massively HUUUGE, and my connection sux, so please help me out here.

I'm trying to load a bunch of swfs at once, instead of doing them separately when a user clicks on a link. So here's what I was thinking I can do. In the _level0 movie, I can load all of them up at _level1 thru how many ever levels I need for each swf file. While loading the very first swf, which will serve as a "cover" as well as the "preloading" screen, in _level100. So the preloading screen gets up, and everything is being loaded in the background in _level1. Once the preloader finishes, it'll unload ALL the movies except for the one that I want shown, and then I get rid of the preloader, thus removing the cover. The next time the user needs to load the movie, it will already be in the user's cache, right? Will this work?

View Replies !    View Related
Preloading External Movies
i'll try to explain this the best i can, okay, here goes.

I have my main movie that has five buttons within it. these five buttons call on an external movie, 'bgimage.swf' that has five different images in it, these have the labels attached to each image being 'im01', 'im02' etc. the code i have on the five buttons within my main movie is

on (release) {
with (_root.bgimage) {
gotoAndPlay("im01");
}
}

this pulls in an image and attaches it to a mc container on the main stage that is masked...

this works perfectly. when i click on any of the five buttons, the image in my main movie changes. okay... but what i am after is this.

i want to five buttons to only appear if the five frames from the external movie have loaded? once the five external frames have loaded, then the buttons become visable in my main movie.

hopefully i have explained this correctly.

would i be correct in thinking that i would use some AS that uses the commands getbytes etc? or maybe build it all as one external movie?

tasvinO

View Replies !    View Related
Preloading Several External Movies
Hi

I,ve some difficulties to do the following:
I've one index movie with 3 buttons, each button opens an external movie.

- how can I make a preload for each movie?
- place a preload inside index, or inside each movie?
- if inside index, how?

thanks

View Replies !    View Related
Question Re: Preloading In Inner Movies
Hi,

got a question rereloading .. I know there are tons of examples and I have most of them =) but I am still having problems understanding some concepts and actually getting my preloaders to work properly. First of all I have a main movie that loads movie called "Studio", then inside my (externally loaded swf file) studio.swf I am doing more preloading of some jpg images ... preloading works fine for all my root movies but seems to have problems once used in inner movies. One of the problems is once loading my "studio" it finishes loading sits on 100% for a while then loads after what could be causing this? Same thing happens if I reuse the preloader for the jpg images (is there a bette way to preload each jpg image there is a lot of them) that I am loading in "studio" they sit on 100% for ages before actually showing up ??? Any ideas or nice code that could solve it?

//frame 1
onClipEvent (load) {
_xscale = 0
tot = _root.content.getBytesTotal();
}
onClipEvent (enterFrame) {
car = _root.content.getBytesLoaded();
perc = int((car/tot)*10)
_xscale += (perc*10 - _xscale)/5
if(car >= tot) _root.content.nextFrame();
}

//frame 2 --> graphics for studio

'_root.content' is movie clip holder in my "main movie"

Any suggestions ?

cheers

View Replies !    View Related
Preloading Flash Movies
Hello peopl...new guy here with a question...but first some back ground.
just graduated with an associats in computer programming but...doing my final project i found out too late that i needed to pre load my movie into less then 100 killobite pices into a projecter so as not to freak out the flash program. Meaning my movie < which was interactive, was way too big and wouldn't render or any thing....so i need a tutorial or somthin so i can get on with my inspired flash creation....if you under stand my question or even if you don't puh-leeease respond...

thank you.

View Replies !    View Related
Preloading Multiple Movies
I've created mutilple Flash movies and now trying to put all of them into a preloader. I can't seem to be able to synchronize my preloader to start and wait for every movie to be loaded and then show the Flash movie.

Any body got some hints and the sequence how I should place the elements on the timeline???

View Replies !    View Related
Preloading External Movies
I am trying to load an external movie on the first frame of scene 2, but I don't want it to play until frame 85... I tried the following with no luck...

loadMovieNum("flash/loop.swf",1);
_level1.gotoAndStop(2);

and then I put the next script on frame 85 where I would like it to play:

_level1.gotoAndPlay(1);


Not working though???


Any ideas? Thanks guys

View Replies !    View Related
Streaming Movies/preloading
Hi all...
ok I am making progress byte by byte I am designing a flash web site...the main idea is that I have a Main page, say home.swf loaded into an html page. there is only ONE html page...the home swf loads and then the other swf files load into a new level when activated by a button. ok. here is the issue. each of these swf files are fairly decent in size. I would like to have a preloader (not just the bar) but like maybe some quotes fading in and out and the WHOLE movie to load. the home.swf file is only like 120K and I have the other swf files loaded in the first few frames of the home movie using loadMovieNuM. I thought the purpose of using this loadmovie was so it would load in the cache before the user actually clicked on a button. so basically what I want to happen is for all of the swf files to load before the home.swf file is even shown.

right now what happens is you see the preloader for like 2 seconds then home.swf comes up....but lets say you go and click on the last button (which would load the movie contact.swf which should load on the like frame 5) and then is activated when you click on the button.

does any of this make sense?
so I guess what I am not understanding is #1 how to create a preloader with animation (fading quotes)
and then if I use a preloader, how come it doesn't actually keep showing until after all of the swf files have actually been loaded?

thanks for your advice and help!

Kari

View Replies !    View Related
Preloading Multiple Movies
I need a preloader which will preload the main swf with all external swf's inside it (dg, image, menu etc.)
Help?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved