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




Question - Preloading



I have an idea of doing this preloading system;

lets say that my site got 3 .swf files, a main page with a area to load them.

my idea:

_______________________________>page_one.swf
__loader.swf>mainpage.swf>loader.swf>page_two.swf
_______________________________>page_three.swf

this means, I will have five swfs: loader.swf,mainpage.swf,page_one.swf,page_two.swf, page_three.swf and when the user clicks the first link, the main page calls
loader. swf to load page_one.swf, and when the user clicks the second link, the main page calls loader. swf to load page_two.swf etc.

can this be achived?How?

sorry for any inconvince in understanding my question, please fell free to ask me at rudolflai999@yahoo.com.hk

Thx again.



FlashKit > Flash Help > Flash ActionScript
Posted on: 07-08-2004, 12:46 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Preloading .swf Before Preloading Main Movie
Ummm

Things are getting complicated lol

I have my main movie going ..AND I actually managed to get a pre-loader working ...

and it's all ok as long as you have adsl or cable connection - otherwise it is REALLY messy.

The main .swf uploads onto the web .. but the secondary swf have not yet loaded .. and so it is all out of synch .. if you wait a while and refresh you get it ... but argh it is horrible .....

so .. is it possible to block the preload of the main movie until it has preloaded its secondary swf's ??

I should imagine it's recoding the actions AGAIN .. can any one get me started please ..

Is this often a problem if you add swf to a main movie ???

tyyyy all

julia

Help Required Progress Indicator Bars. NOT PRELOADING BARS AND NOT A PRELOADING QUE
Help required ! progress indicator bars. NOT PRELOADING BARS AND NOT A PRELOADING QUESTION!

OK I have a swf called audio.swf which just contains a 15 minute streaming audio file that it just dragged along the time line.

I want to have some visual indicators in the swf, so that the user has some info of what is going on:

What I require within the swf are the following:

1.Progress Bar: How much of the movie has been played. This will obviously go up as the timeline for the swf progresses.
2.Streaming bar: Giving the user an indication of the amount of swf that has currently been downloaded.
3.Time (minutes and seconds) that the movie clip has been playing for
4.Elaped time (time remaining)

As you can see I have attached no fla, as I am sure that these 4 visual indicators are all fairly simple to code of any of you action script daddies out there.

Any help on one or all the 4 things I require would be brilliant.

If anyone could help me this would be more than appreciated.
Cheers

PRELOADING (dynamic Preloading?)
dear all

i hope someone could give me tips how to do this:

i have one main scene and 7 navigation-points. each of the 7 scenes are external movies which should be loaded.

but can they load in the background too, even if the user didnt select a point yet? and when he does, the progress bar would automaticly fill up as much as the movie is loaded already. and it should continue loading all the scenes in the background, while he is in one section.

i hope you know what i mean, excuse my english.

looking forward for a help asap. thanks a lot in advance!

PreLoading Scenes (PRELOADING)
Hi everyone. Ive had my website running for a while now www.coriolis-effect.co.uk Its nearly done all but preloading really. I want visitors to be shown that something is happening rather then just waiting. This has caused a fair percent of people to leave the site straight away especially those with crap connections. Anyway Ive had a look around on the forum a bit for help and I can't see anything about Scenes and preloading them. Maybe there is a way to just preload so many frames? Any help appreciated Lewis

http://www.purgeme.co.uk/lewis/Corio...lis-Effect.fla

PRELOADING A MC...is It Same As Preloading A Swf
i have a site where i want to load closer shots of thumbnails and i have the close shot in a MC with a frame infront of it that has it preload it..

my question is that i dont want my whole site to wait for those images to load....

i want my site to stream and then preload the MC if they want to see close ups....

am i doing this right!?

thanks in advanced,
mannyme80

Preloading Swf's
I have a movie which contains two external swfs. I want the whole site to preload. At the moment my preloader only affects the initial movie, how can i preload the swfs and have them recognised by my preloader as well as the main movie.

Thanks

Preloading A MC
Hi! I want to preload a MC, and once it has done this i want it to jump to the next frame, so that the movie continue to plays.
I have got the movie clip to load into a target which is in the first frame, so i want it to jump to the next frame once it has loaded.
If anyone can help i would be much happy!

cheers

Preloading A .swf
im wondering how u preload an external .swf file ?

i got an interface with buttons, and when u press any of the buttons it will call another .swf file that plays an animation of a door closing.

now i want the next .swf to be preloaded at the backside off the door while its closed. after the preloading is complete i want the doors to open and have the preloaded .swf visible.

the door is at "level 10" and i have the other .swf clips at "level 9"

PRELOADING AN .SWF ?
im wondering how u preload an external .swf file ?

i got an interface with buttons, and when u press any of the buttons it will call another .swf file that plays an animation of a door closing.

now i want the next .swf to be preloaded at the backside off the door while its closed. after the preloading is complete i want the doors to open and have the preloaded .swf visible.

the door is at "level 10" and i have the other .swf clips at "level 9"

Preloading
I have a preloader as one .swf and my main movie as another .swf, so how can I preload a seperate .swf? Thanks

Preloading
NEED HELP! I've made preloaders for intros and main pages. The intros I have created have been from the basic if frame is loaded to a more complex par and percentage loader. Now I face a problem, I'm loading a external flash movie into a target and I can't get it to preload. Can anyone point me to a good tutorial or help.

Zero

Preloading A SWF From Another SWF ?
Hi,

Is it possible to preload an external swf-file from another one. Or a preloader which loads several swf-files?

Please reply

Thanx

Help...preloading A Swf
When I load my movie in _level2 I also want other swf movies preloaded in _level3.
I have a preloader movie that checks if my _level2 movie is loaded. This works fine.

The first frame of the _level2 movie has this code

dnumber=number + 1;
loadmovienum ("drop"+dnumber+".swf");

on the next frame

IfFrameLoaded (1){
play ();
}

This is not working. it is not caching the movie in _level3 only the movie in _level2.
Can anybody help me or point me in some kind of direction?

Preloading Help
How can I create a preloader that will play while the movie is still loading without stalling.

My movie is 20 scenes (3megs). Thanks...

About PRELOADING
I built a preloader for a flash application which shall
show a lot of jpgs. The preloader seems to work fine since
it displays the loaded percentage.
Then I have one jpg per frame, they should then be displayed very fast one after the other.
The problem I have is that the first time all the jpgs are shown slowly one after the other and just when the movie repeats I have the expected behaviour. It seems that even if the jpg are loaded from the server it still takes time to load them in to the application... (this is what I imagine since I cannot understand why the very first time they are shown so slowly).
Does anybody can help me with this?
Shall I add some more test to be sure the jpgs will be shown to me fast as I wish?
thanks a lot.

Preloading
is there a way to preload all your swfs. what I have is an interface that has all my buttons on it to various small swf's. now even thoe these are small when you click on a buttan you have a couple of seconds wait for them to come in. is there a way to actualy preload the swf's while a person is reading the intro text that I have so that when the click on any button everything is instant??????

% PRELOADING - NEEDS HELP
I have been looking for a way to make a preloader that will display the percentage of the movie that has been preloaded. I have found many links in other forums to other forums on what to do, but i am too new to completely understand. Can anyone send me a swi file that has it or explain to me how exactly to make one, i can make a normal "loading..." one find. But that is too boring, I really want this % one because i have a few that are really big and take a while to load......

PLEASE HELP!

What Are They Using For This Preloading?
Hi,
I have seen a prelooading from the following web site.
can someone tell me or send me fla for this kind of preloading.?

thanx for your helps.
here is the web address:
http://www.ferrinivalle.com/main.html

Preloading Help
Hi, dear people.

I had previously done my website using load movie clip. Something like placeHolder. But I want ny preloading bar to shown before loading these clip. Can any one pls help me. you can log on to http://www.nextpagemgt.com to view my current website. Not all the link are done yet but seeing it you will know what I mean. Try to enter (About Us) or (Services).

Thanks a millions
Cheers
Regards
Louis Chan

Preloading
I have a intro animation that builds my main menu and content. I have animations that build new content when you click on a button in my menu. I find the preload time is to long, because it's downloading all the frames. How do I break down the preload time to do only per section on user request. Kinda like 2advanced.com or happypencil.com. If the answer is multi swf files I'm not sure how to do that...
please help.


Thanks,

Lee

Preloading Several Outside Swf
Hi Gang,

I need to have a percentage preloader for several swf which I use with loadMovie into my mian movie.

Anyone seen one of those?

Thanks for any help

Planethouse

Re-preloading Or Preloading?
Currently, I have a flash site (menu.swf) with an internal preload scene,
using ifFrameLoaded scripts at key frames, which ultimately goes to
the second scene when the last frame of the movie is preloaded.

Now, that works fine, but recent developments require a change. The
preload scene needs to be replaced by a seperate .swf


So:

I want to embed 2 .swf files into a .htm page called size.htm :

preload.swf

This (width="200" height="200") movie is to preload menu.swf and then
load a page called menu.htm (which is to embed menu.swf at width="100%" height="100%")

menu.swf

This movie (width="1" height="1") is to act as a hidden movie.


The purpose of this, is so that when menu.htm is opened, the embedded menu.swf
will promptly load (due to already being preloaded by preload.htm page).

It is important to do it this way, as the .htm pages prior to the size.htm
page have a strict width="200" height="200" for their various contents,
and thus when size.htm displays the embedded preload.swf at width="200" height="200"
there is no size/location distortion which occurs when the current preloader
for menu.swf is embedded into itself, when run fullscreen via the menu.htm
page.

Any help, suggestions to get this working would be gratefully recieved.

::bluemoth::

Preloading
How do I go about preloading all the movies that I am going to use in my sight. I use loadmovie quite a bit and I want them all to start loading onto the viewers browser as soon as they enter the site. Any help will be welcome.

Thanks.

Pkab

Preloading Swf's
is there a way to preload swf's for faster access?
for example: when i load a movie into the level whatever, is there a way that I could have that swf already stored in cache so it will load quicker??

Thanks.
rplmri

Preloading
I am using the first scene of a flash movie as a preloader for the whole movie. In this movie, I have an MP3 file of about 84KB in size. The preloader is working but here is the problem:

The preloader elements and progress bar do not load until after about 43% percent of the movie has loaded. When I test the movie using control>testmovie and the "show streaming", "streaming graph" options, I see that the MP3 is loading first before the graphics for the preloader. As a result, the progress bar (in the preloader) is already at about 43% pecent before you even see it. The MP3 file is being used as a linked element for sound control.

How do I get the preloader graphics to load before the MP3?

Your help is greatly appreciated!

Preloading Help
Could someone please help me with this...?

If Frame Is Loaded (MovieScene, 350)
// if the last frame of the movie is loaded
Go to and Play (MovieScene, 1)
// go to and play the movie
End Frame Loaded

I found out how to insert if, Go to and play, But how do u insert end frame loaded?

Preloading & Big Mp3's
Hey everyone,

I have a slight problem. I've built a site for a local band, and I've made a link for listening to some of the band's demo tracks. Anyway, when they click the link a window pops that has the .swf that has the song in it. The thing is, I've built a preloader for the thing, but the pop up window wont even show the contents of the .swf until the song is loaded, so it seems like somethings wrong and the impatient user closes out. How can I get the preloader to show while the song is loading? I have them in seperate scenes already. Help please! To see an example, http://www.geocities.com/tgoesm - under the music section, "The Truth High Bandwidth" Thanks guys

Preloading.
ok, so Preloades.

I get the Idear, find them great to look at and such, but where the hell do I put them in a movie!! Where in the timeline?? wht dodI do with them?? I need them to work so I can make a complete Flash site, (first one ), but I can't seem to make head nor tail of where to put them...

Could someone point me in the direction of a HELPFUL tutorial about setting up prelaoders... that would be great.

Thx ppl..

Robskiwarrior

Preloading - HELP
Can someone please help me to get a preloader to work in my movie??? I have tried advice from others before, but I just can't get it to work. I've gotten preloaders from FlashKit.com, but what do I do with the preloaders after I download them?

Thanks!
Dan from Long Island

Preloading, But More Than One?
Guys,

Me again. My problem this time is that I need to pre-load multiple movies from one initial movies. The movies however are NOT to be displayed at the same time right away. In my instance, I have a separate movie for the music, but it needs to be preloaded so that the action in the movie on the underlying layer is matched up to the music. Do you catch my drift or did it drift on by? The site is http://www.vmvisions.com/ so you may be able to see what I'm talking about, only modem will be able to tell the problem, DSL and above runs smoothly. Help!!!

Thanks,
Marc

Preloading
If Frame Is Loaded (MovieScene, 350)
Go to and Play (MovieScene, 1)
End Frame Loaded

how can i do this script in flash MX ??? i can't edit it in expert mode !!! he give me some error ARG

PLZ help ME !!! ^^

Preloading
Hello.
Quick one:

I want to create a flash site...woohoo...I have been through some of the preloader tutorials and they help in some ways, what I want to know is. Is there someone or somewhere I can see how to incorporate preloaders throughout a site.

An example : Obviously the first preloader appears before the site starts, now lets say a user clicks a button for another page thats quite large...then I want another preloader to start up.

Do I... Place frames before each "part" of the movie that I want preloaded? Do I create scenes? What?

Thanks for you help

PRELOADing In MX
Hey there-

I remember seeing a flash MX demo on the macromedia site before it came out- that showed that you could dynamically preload a number of different images within a flash movie--- it seemed like MX would make a progressive preloader bar for you.

I now have MX and I can't find this operation.

Did I dream about this functionality?

Thanks for any help.


MrT

Preloading JPG's
Hi all.

I have a quick question about preloading jpgs. I have 20 frames and the first 3 frames are set up as the preloader. On the 4th frame, I have a blank MC named "holder." The script for the 4th frame is;

with(holder) {
loadMovie("pic_01.jpg");
}

Going back to the preloader, if on the 2nd frame, I put;

if (_framesloaded ==_totalframes) {
gotoAndPlay (4);
}

Now, does the preloader consider the 4th frame loaded if and only if the JPG is completed loaded?

Any help would be greatly appreciated. Thanks.


SKY 90006

Preloading Several SWF's...?
this is what i want to do....

my web site has 4 (seperate) swf's.

i want to have a start page that will preload these 4, so when a user goes into the main site, all 4 have already preloaded and will start at the same time (more or less).

can anyone help???

ps. i'm a flash newbie

Preloading Help
Hey, I am trying to create a preloader that displays the total bytes loaded, and preloads the backround for my page. The page that I am trying to preload contains images, as well as several movie clips. How would I make it so that the movie clips preload in the preloader?

PreLoading?
ok im trying to set up a preloader that will play an mp3 after it completely loads and waits for you to press a button called continue which then routes to Scene 2 where the music SHOULD start....I've tried the tutes, maybe i did something wrong?? anyone have any idea's on how i might go about doing this?


Thanks!

Preloading Swf's
i tried this earlier but there was a problem with the forum post.

i am trying to link swfs and include a preloader within one of the linked swfs. i am putting this code at the beginning of the swf files. it keeps linking to the root file, but when i remove the "_root" the preloader doesnt work at all. i'm assuming i should swap the _root with something else, but i cant figure out what to replace it with.


i am using this code:
onClipEvent (enterFrame) {
ifFrameLoaded (5) {
_root.gotoAndPlay(3);
}
}

any thoughts would be great! thanks!

Preloading Exe Off Of Cd?
I have a couple of 50MB, Flash MX, video projects cooking and want to know if anyone has solved the preload-off-of-CD problem. Basically, if I make one 50MB EXE, the entire thing will have to load into memory up front whether I build your normal, "if _framesloaded = _totalframes," animated preloader or not. I can separate out the preloader sequence into its own, quickly downloadable EXE, but it will stop all animation (even from within a movie clip) on the frame which loads the main content SWF.

Is there either a way to:
(a) keep the preload animation looping while loading the content SWF into either a level or movie clip, or
(b) have a preload.exe call a content.exe which then, in turn, quits the preload.exe?

Thanks in advance,
mindmagma

Preloading
i have absolutly no idea how to do preloading, could some one please help me? send me a link or something! thanx for your time

Preloading MP3
I want to preload a mp3 but it doesn't work, when it has to play the song afterwards it doesn't. When I refresh the browser, it stops to load a while again and when it plays there's music. Whats the problem in this script? I know my script to play the music afterwards is fine...

stop();
mSound = new Sound();
mSound.onLoad = function(success) {
if (success) {
play();
}
};

mSound.loadSound("music/intromusic.mp3", false);

THANK YOU!

Preloading
Is there a way to preload an external swf from my main movie?

thank you

Preloading 50+ SWF's
All the images and sounds on my site are external SWF's, loaded into Level 1 or 2. I wanna know, is there any way to preload all of these files at some point during the beginning of the site, either on the splash HTML page or in the First Scene of the main Flash file? I rather do this than create seperate preloaders on each of the 50 SWF's. Would a bunch-load like this drastically extend the load time on the site? And can anyone provide a link or code for a nice, clean, simple bar preloader with a percentage counter?

Thanks for your help.

- FUKNUT -
www.analogdub.com

Preloading
I recently upgraded to Flash MX so once again i am quite a novice. I was experimenting with exporting sound files for a background music sound track. I do have a preloader, but the sound files want to load before the preloader. I tried disabling the "Export on first frame" option, but then the sound didn't load at all!! I expect there is an action script command that loads it, but as of yet I haven’t been able to find any resources on this subject.

On a completely different note, I also have a nav panel that gets loaded on top of the _root. I'd Like it to be able to advance to the next scene using the nextscene() command; it doesn't. My theory that explains this is because it is attached it can't properly send the command. I have tried things such as tell target, but that doesn't seem to work either. The only way it does navigate to the next scene is if a frame label is present, but I would like to avoid the task of telling which scene is the next, and have it automatically navigate.

One last thing. I would like the nav pannel to display how may frames are left in the swf file. I have used the code _totalframes and _currentframes to achieve this effect. The problem is that I would like it to automatically update its self, by knowing if the _root has advanced a frame. At the moment each frame in the root has to update it manually.


Code:

// Build Navagator
_root.attachMovie("nav", "navpannel", 0);
_root.navpannel.gotoAndStop (25);

// Positioning
_root.navpannel._x = 106;
_root.navpannel._y = -58;
// Update Navagator
tellTarget (_root.navpannel) {
// Current Page
CurrentF = "Opening Page";
// Next Frame
NextF = "N/A";
// Last Frame
LastF = "N/A";
// Next Chapter
NextC = "N/A";
// Last Chapter
LastC = "N/A";
// Update Remaining Frames
tframe = _root._totalframes;
cframe = _root._currentframe;
frameleft = tframe-cframe;
RemainF = frameleft;

}



Thanks in advance

Mp3 Preloading
Hey all, I was wondering if someone would be nice enough to explain to me or direct me to a website that explains how to create a mp3 player but that preloads the song so I can add a full mp3 but at the same time it not being direct in the site.

Thanks in advance.

Mp3 Preloading
Hey all, I was wondering if someone would be nice enough to explain to me or direct me to a website that explains how to create a mp3 player but that preloads the song so I can add a full mp3 but at the same time it not being direct in the site.

Thanks in advance.

Preloading Certain Mc's
Hello,

i have a problem, not like anyone here doesn't either...

I have made a preloader, i know already how stages and scenes download and how a swf is inside...

the problem is this, i would like to know, when i go to a site and have the user download a stage where all i have is mc's on it, how do i download certain mc's first and when those are done, download another set of mc's of one at a time...

i would like to monitor their downloads through the preloaders...

any tutorials or tips...

Thank you

Preloading Help
iv been trying to tweek and tweek....but cant get it to work...maybe there is another approach.

if precentage bytes loaded = > 20. _parent gotoandplay 2

anione turn that into actionscriptong for me....and i need something to measure the byes loaded ??


thanx in advanced

----PreLoading-----
Hello there...

Just a quick question!!

Say I have a 'website'.. If I want to load a nav bar and a number of animated swfs from a seperate folder into their own individual place holders.... and I want them all to have some kind of preload ! What is the best technique regards the preloading ??? Do I put the preloadin MC on the first keyframes of my external swf's ?? Or ! do I have just one preloading MC in my main movie which works for everything ?

Similar to 2advanced ??

I ask because I want my site to start up instantly. Then load the info and navigation required for each part of my site.

Thanks..

----- PreLoading -----
Hello there...

Just a quick question!!

Say I have a 'website'.. If I want to load a nav bar and a number of animated swfs from a seperate folder into their own individual place holders.... and I want them all to have some kind of preload ! What is the best technique regards the preloading ??? Do I put the preloadin MC on the first keyframes of my external swf's ?? Or ! do I have just one preloading MC in my main movie which works for everything ?

Similar to 2advanced ??

I ask because I want my site to start up instantly. Then load the info and navigation required for each part of my site.

Thanks..

Copyright © 2005-08 www.BigResource.com, All rights reserved