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








Is It Possible To Preload In Sections?


I currently have a site that is growing and becoming too many single .swf files. I probably have close to 70 and have at least another 50 to go. What I am doing is putting an image then a small description under it with a previous/next button to navigate. Well its getting to be too much to keep creating/saving/publishing these things over and over, so im wondering if I could dump all of this in one swf and preload certain areas as needed. It would be far too big to preload the entire thing but if I could just make it preload certain frames when required to view that content Im sure that would alot easier to work with than what im doing now. Any suggestions will be appreciated.




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 06-26-2004, 12:54 AM


View Complete Forum Thread with Replies

Sponsored Links:

Is It Possible To Preload In Sections?
I currently have a site that is growing and becoming too many single .swf files. I probably have close to 70 and have at least another 50 to go. What I am doing is putting an image then a small description under it with a previous/next button to navigate. Well its getting to be too much to keep creating/saving/publishing these things over and over, so im wondering if I could dump all of this in one swf and preload certain areas as needed. It would be far too big to preload the entire thing but if I could just make it preload certain frames when required to view that content Im sure that would alot easier to work with than what im doing now. Any suggestions will be appreciated.

View Replies !    View Related
Preload In 25% Sections?
Okay, i am trying to make a preloaded that stops on frames depending on how much is loaded, i want it to stay on frame 1 if 24% or less of the movies is loaded and for every 25% i want it to it to move forward a frame,

so far i have done thus,

var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
if (bytes / bytes_loaded >= .25) {
_root.gotoAndPlay(2);
} else {
_root.gottoAndStop(1); }

i am not sure if this works or not for i am at work, and will not get to try it for another 6 hours, but many of my past attempts have failed and i doubt this one will work, can anybody help me modify this code to do what i need, thanks a million! kiss, kiss

View Replies !    View Related
Preload In 25% Sections?
Okay, i am trying to make a preloaded that stops on frames depending on how much is loaded, i want it to stay on frame 1 if 24% or less of the movies is loaded and for every 25% i want it to it to move forward a frame,

so far i have done thus,

var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
if (bytes / bytes_loaded >= .25) {
_root.gotoAndPlay(2);
} else {
_root.gottoAndStop(1); }

i am not sure if this works or not for i am at work, and will not get to try it for another 6 hours, but many of my past attempts have failed and i doubt this one will work, can anybody help me modify this code to do what i need, thanks a million! kiss, kiss

View Replies !    View Related
Preload Only Sections Of Your Movie
Hello everyone out there. I am semi new to this flash thing and trying to teach myself, and i have googled this for days and i can't seem to figure out how to do this.

On the site http://www.ourladypeace.com/home.html, every time you click on a link (bio, tour, music) it wipes everything off the screen (which i guess is easy enough to figure out how to do...) and loads the next page, but it doesn't go to a different web page - it just loads a new swf into the same html page.

I have tried doing this with the loadmovie action attached to a button but it loads the new movie on top of the current one, so they are layered on top of each other, and then i have two mp3 players playing at the same time...

I am not quite sure how to do this.

To wrap up:
1.how to you only load sections of a site at a time (www.ourladypeace.com/home.html)

2. How do you load external .sfw's into an html page without layering them (or how do you clear the first movie first before loading the second one?)

Thank you very much.

View Replies !    View Related
Is It Possible To Preload Movie (frames) In Sections?
Hi guys,
I have a question. I currently have a movie which is about 500k with a preloader. It is made up of various different sections, and i was wondering if it is possible to have the movie preload in between sections instead of all at the same time at the begining (this is waht i am currently doing).

What I mean is, to start, the movie would just preload the first introductory screen (frame 2) and when the user select to go to a different section, another preload screen will come up loading only that specific section (frames).

I was thinking of a frames-based preloader or something but have no idea how to do this, and havent really found anything on the forums here on how to do it...

Help!

Cheers

View Replies !    View Related
RESIonline.com Preload Sections For Ease
Hey, Just working on a site and wanted to know how RESIonline.com was able to preload sections before the user clicked on them to optimize time while at a site. Do you just create a movieclip off the stage and have an array that starts loading all the clips into it? Is there a better way to do this?

View Replies !    View Related
[URGENT] Q About Preload Different Sections & Text Scroll Bar
Hello everyone, Ive been posting msgs in here a lot lately, I hope someone can help me with the following questions - this is quite urgent. Please help!

1) my site currently has a preloader that preload the whole movie, im using getbytesloaded/getbytestotal code (percentage kind), it is working.

But How can I preload different section? because preload the whole movie seems to takes too long for dial-up connection??
(ive 2 scenes one is preloader, one is scene 1 - main scene. And in Scene 1, I have different labels that goes to different pages.

E.G. when I first enter the page, I want it to preload the main page, then when i click on the "about" button it preloads the "about" section?

2) I have a text scroll bar that comes with flash component,

a) I want to know if there is anyway I can put a link there that links to other pages in the flash file?

b) and how do I put a link to mailto: html code in a text scroll bar? is it like (a href="mailto:email@email.com")(/a)?

thank you so much once again and I cannot express how much I love flashkit.com

View Replies !    View Related
Different Sections
Hello all,

I would like to ask you if the following is possible:

I have for example 3 sections in my movie, s1, s2, s3.
Three different buttons get me to each section.
In the middle of each section I load different movie clips.

I have made some effects for transition to each section.

Everything works perfectly exept of the following.

When I am for example in s1 and press the button to go to s3, s1 dissapears and then plays the transition effect before loading s3.

Is there a way to check in which section I am, and keep the contents of this section till half the transition before loading the next mc?


Thanking in advance for your help,
vk

View Replies !    View Related
Different Sections
i was wondering about something. There are so many Flash websites that, between the different sections of the site have animations almost as if things are being rewinded. Let's say the page loads and it starts with an animation that takes you to "home". Then, when you click on "portfolio" the "home" animation rewinds, then it shows a loading screen and then the "portfolio" animation plays. I have been trying to find resources on this, but it's really hard to find ones that really explain how all this works on the timeline, and with dynamic content and stuff. For instance, do the different sections need to be external swf's? Is that the best way? Or is everything animated on the timeline? And how does the loading bit in between the sections work?

Can someone explain this, or point out some resources that I havent come across yet?

Thanks

View Replies !    View Related
Sections...external .swf's
when your on a flash page, and you go to a new section, and that section has a preloader, that's because that section is an external swf loaded dynamically into the site movie. am I right? or is there another way of doing this?

anyhow, i was wondering if anyone of you know a good tutorial on doing this... never done it before, but i thought it would be a good way to get the file size of the main movie down... thanks

View Replies !    View Related
Loading Sections
I have a game that I want to load just the title screen and display it. Then when the user clicks start, I want it to load level 1 and do that level. When level 1 is done, I want to load level 2 and so on. How should I do this?

I use a lot of the same graphics in each level and every other level has the same music, so it doesn't seem like loading an swf of every level would be the most efficient way. Any help is appreciated. Thanks!

View Replies !    View Related
Need Some Help With A Menu With Sub-sections
I am trying to make a horizontal menu that have sub-sections. Similar to what they have at http://www.metallica.com. But I can't seem to get the sub-menu to stay after I rollOut of the buttons.

If any one knows of a tutorial on the web that could help, that would be great. Any help would be appreciated.

View Replies !    View Related
Separate Sections Help
I would like to do separate sections on my movie..but I don't know how to load each section when I need it...for example when I press a button on a loaded movie to load another swf movie all on a main swf movie....somebody can help me please!!

Thanks a lot

View Replies !    View Related
[F8] Sliding Sections Of A Mc
I like to create a simular effect as used in the flashbanner on this site:
http://www.efocus.nl

First i analysed and visualised the effect a little:


I think the best way to do this is by using masks, but i'm not sure..
But i prefer it to be as dynamic as possible, so i won't have to aply tweens manualy.
Some sliding sections should contain textfields/links/buttons/etc so it has to be a mc, and not just an image.

Can anyone help me get started, or suply me with an example?

Thanks in advance!

View Replies !    View Related
[F8] How Do You Transplant Whole Sections
Hi, I am updating to a newer template for my business and have a perfectly good working commerce section on my old flash file. Does anyone have a suggestion as to how I can extract only that section and place it in the new template? Thanks

View Replies !    View Related
[CS3] Cuepoints Or FLV In Sections?
Hi,

I'm reasonably new to this, so have one main question about best practice with video, and some other minor things

I was wondering if someone could tell me the best way to link an flv file to slides - should I spend the time encoding each section of video that corresponds to a slide as separate flv files (from iMovie) and call on each of these files, or should I encode the whole video as an flv with embedded cuepoints and link to the cuepoints? The video is about an hour long ( a seminar) so may be quite a large file. I would like a recommendation, as I think both ways would work, but which would be better?

Also, I noticed encoding to flv from iMovie on Mono sound produces no sound at all, but is fine with stereo, and have read on other forums that it's the sample rate - should be on 44.1Khz - causing the problem due to a bug in flash 8, but has anyone heard whether this is right? As there isn't a way to choose sample rate in the audio section of flash video encoding, only data rate?

Sorry for rambling, only one more thing....

Has anyone else noticed a drastic increase in encoding time with the flv export component from iMovie when upgrading to CS3? For example, I'm going back to chopping up my video after the upgrade, and a 20second clip is telling me it'll take 45 mins to encode, when I'm sure it was only about 10 mins with flash 8? I don't think anything else has changed (settings etc.)

Any help or advice would be greatly appreciated.

Thanks,
Emma

View Replies !    View Related
Pre-Loader For Different Sections
Hello Everyone,

Hopefully someone can help me with this, I have a photography portfolio website (http://www.lennypoplianski.com) which is around 2.6 MB in size. I already had to downscale the quality of the photos so I was wondering how to attach a pre-loader to each section of my portfolio so the main loader doesn't take so long. Any help would be appreciated, thanks!

View Replies !    View Related
1 Preloader For Different Sections?
hey every1 , I just wanna know if this is possible because I have a pretty big transition , so is it possible to have the transition in a seperate swf and load it ontop of sections?

View Replies !    View Related
Loading Different Sections
i have a swf comprised of many scenes, is it possible to preload the first scene and then while that is playing load the second scene and then while that is playing load the third scene, etc?

View Replies !    View Related
XML Gallery With Sections
Hi again

I'm trying to split my gallery into multiple sections. I'm using kirupa's tutorial of XML gallery.

Should i use attributes in xml? like:

<pic section="web">
<image>pathToImage</image>
<caption>description</caption>
</pic>
<pic section="print">
<image>pathToImage</image>
<caption>description</caption>
</pic>

If so how can make flash read this?

i think i need something like this..

if (section="web"){
display image x
display caption x}
if (section="pint"){
display image y
display caption y}

or is it better to make a different xml file?


thanks again!

View Replies !    View Related
Website Sections
Hey all,

I've always wondered what is bettered when creating a full flash site. When it comes to the different sections of each site, is better to split them up into different movies or is it better to keep everything in one movie?

View Replies !    View Related
Splitting Up A Map Into Different Sections?
Hi all,

I heard there was a way in flash 8 to easily and accurately split an image up into different sections?? Ex. Splitting a map up into different countries.
I've tried searching for ways to do this on the site but obviously amn't entering the correct search criteria!! Could someone please tell me how to do this or give me a link to show me?

Tanx a mil guys,
Derms

View Replies !    View Related
XML Gallery Sections
I've question. Let's say I have 10 thumbs. And I I'd like to get the next 10 thumbs. I can use sections - like 1, 2, 3 etc. I hope you understand what I mean. Anyway, how should I do it?

View Replies !    View Related
Loading Different Sections
i have a swf comprised of many scenes, is it possible to preload the first scene and then while that is playing load the second scene and then while that is playing load the third scene, etc?

View Replies !    View Related
Sliding Sections
ok firstly take a look at this link

http://www.impulsive-solutions.co.uk/t07.swf

What im wondering is when u click on a link how does it distinguish between what section it has to travel to and how do you perform the sliding bit of it. I pressume you just create everything off canvas and then use a motion tween but how does it know which section to travel to?

Thanks

View Replies !    View Related
Can You Divide Symbols Into Sections?
Hey,

I am wondeirng if you can divide Buttons into different sections. I have 1 button, I want to know if I can make it so that different sections of the button link to different sites. Like the right corner of it might link to one section of a site, or the bottom to another. If its possible, please let me know

View Replies !    View Related
Preloading Sections With A Load - Bar?
Hey guys,

I've created a large site with about 12 scenes in it, and I wanted to have a preloader percentage bar that shows the percentage of loading a particular scene.

In this instance, due to size and other reasons, loading the entire site in one hit is not preferable.

So how can I show the percentage loaded of a single scene, or a few scenes? Showing a percentage loaded is my main concern.

An example site :

Preloader 1
Home scene 25k
Theories 32k
Downloads 15k
Contact 5k
Folio Button (opens next scene, starts Preloader 2)

Preloader 2 (shows percentage of 200k folio scene created)
Folio 200k

Preloader 3 (same as preloader 2...)
Illustration 150k

Preloader 4 ...
Photography 200k

And so on...

gatorage





[Edited by gatorage on 07-09-2002 at 02:11 AM]

View Replies !    View Related
Loading Sections Of Site
instead of the user having to wait for the site to fully load before entering i want sections to load as they are selected. since the site has alot of images its really big. http://www.draperarchitects.co.nz

View Replies !    View Related
Transitions Between Page Sections
here's my problem:
I have a portfolio web site (http://www.michael-r-nelson.com) with a four part main menu (portfolio, research, resume, and about me sections).

I need to find a way to seemlessly transition between them.

If someone was viewing my resume section and then clicked the portfolio button, I could get it to play the rest of the resume section and allow it to fade out and then go to the portfolio section and let it fade in

laymans actions scripting:
1)on release of any other main menu button
2)go to and play current scene fade out frames
3)and then go to the scene the button you just pressed called for

I appologize for the floopyness of this request, but I'm kinda a flash gimp.

Thanks for anyone's help

View Replies !    View Related
Preloading Different Sections Of Same Movie
hello you,

i have a 3 meg .swf file that contains 6 sections...

instead of preloading it all at once, which would take a while, i want to split it up so that each section preloads as you enter it.

how do i do that?

i'm guessing i have to create 6 different .swf files (one for each section) but then how do i link them together?

your help is appreciated.
thanks

View Replies !    View Related
Pre Loading Movies In Sections
Hi Guys, I need some help please. I am fairly mew to flash 5 but I am happy making movies with the standard loader (if frame loaded, go to etc) but I have seen sites that load the navigation and when you select something from the menu it then loads that section so you get a loader each time you make a selection. This seems ideal for large sites wher users may not want to view/load the whole site. Where as when I make a movie it would pre-load the whole movie. Also, I dont know if its related but can someone explain the advantages of using scenes?

Thanks for your time.

View Replies !    View Related
Whats The Best Way To Load In Sections?
I have a site which im working on...

The page is split into 2 parts.... the menu on the left and the main feature on the right.

How can i get it so that when i make a selection from the left it loads in to the right of the page.

View Replies !    View Related
Question About Loading Sections
http://pages.globetrotter.net/sinstone/launcher.htm

alright, check my swf above

alright so, im gonna get a preloader in there soon

now, my question, i made my buttons, now i want to make the about section preloader appear when i hit the about button

i dont want to forword the onclick to a frame cause thats a real pain

can i use actionscript to get my sections to display?

thanks in advance

View Replies !    View Related
Preloading Different Sections Of A Site
hi, i'm planning on making a site where i first load the site, then load different parts of it, taking inspiration from www.2advanced.com

i'm wondering: how do i stop the user from loading for example "portfolio" when first entering the site? I want to load that section only when the user is trying to access it. thx.

View Replies !    View Related
Preloaders For Web Page Sections
Hi,

I've been struggling with this for a while. So I'll post the question again to see if there are new suggestions this w-end.

I'm trying to set up the whole structure of my webpage as follows:

As you press a button, it would call another swf file. This new incoming file would have a preloader at the beginning. My first question is: What's the best way to set up the preloader so that it will show at all when the new movie is loaded?

If I have a small transition (animation) before the movie reaches the actionscript for the getsbytesloaded, would it show at all?

And lastly, how can I set up my preloaders so that when the page is viewed once, the second time the user calls the movie, it doesn't need to re-load again?

I would greatly appreciate some suggestions to these questions.

thanks

iam2001

View Replies !    View Related
Loading/switching Sections
Hey,

I've worked with flash before, but abandoned it for a while and am wanting to get back into it.

The thing i would like to know now is kinda hard to explain.

look at http://exidge.com

when you select another section, an animation comes on inside the section window and the new section is loaded.

How is this done?

Thanks

View Replies !    View Related
Transitions Between Loading Sections
HI,
I'm trying to make a site that when you select a menu option, it loads the swf into a mc on the main movie, plays the intro, then stops, when i goto another section, it plays the outro, and opens the other section when the outro is over. every method i try, just can't figure it out

an example of this is

http://www.masiaone.com/content.htm

THANKS!

View Replies !    View Related
Loading For Website 'sections'
hi.

i have a frame [frame 1], with a bunch of movieclips, and a button. and when you press the button, it goes to a new frame [frame 2]. frame 2 has a lot of images, and so takes a while to go from [1] to [2] (even though i have a pre-loader at the start)
is there anyway of having a loader so that when you press the button on frame [1], it goes to [frame 3] (which has a "loading" movieclip) and then only goes to frame [2] once all the images have loaded?

any help would be greatley appreciated.

View Replies !    View Related
How To Create Transition Between Sections
Hello,

I need help figuring out how to create a transition between each section when clicking on the menu. I have three sections (home, about me, and portfolio). Let's say a visitor in viewing the "home" page and then click on the "about me" button. I want the home page to fade out and then take the user to the "about me" page. If the user click on "portfolio", the current page the visitor is on will fade out and the portfolio page fades in.

Can anyone help?

View Replies !    View Related
How Could I Convert Sections Of Map Into Buttons
im trying to change for eg gambia into a button and the uk without breaking up the map.

how can i do this in flash/fireworks etc

any ideas eternally gratefull

View Replies !    View Related
Easily Updateable Sections
If you want to offer easy updatable sections (eg a news section) in flash how would u go about doin it.

im talking about a client being able to do it.

would you make a swf that writes edits text files on the server?

View Replies !    View Related
Loading Seperate Sections
I tried searching for this topic (as I imagined it has been asked before), but the search link wasn't working for me for some reason.

Anyway, I'm trying to load certain parts of a flash site only when they're called upon. For example, when somebody clicks the gallery section it loads the gallery. When the main swf is loading, I don't want it to have to load the ENTIRE swf; only the main section that links to the different areas. 2advanced.com does this. The main movie loads into the main section, then when you click "Portfolio" or something, that part of the site is loaded seperately and isn't included in the main loading.

How would I go about doing this? Would I have to just make the seperate section a different movie clip, or would I just make it load an entirely different swf file into the main swf? Either way, I'd be completely lost on how to do it... If anybody could point me in the direction of a topic that already answered this, or if somebody could answer it themselves, I'd greatly appreciate it. Thanks!

View Replies !    View Related
Sin City Sections Load How ?
if you go to http://sincitythemovie.com/
when you click on a link, it shows a gun and loads the next section. I'm doing a large flash site and was wondering, on that site, do you think they are separate scenes in one flash file ? what would be the best way to do this ? maybe each section should be a separate swf ? would that be the best thing to do ?

View Replies !    View Related
Loading Website Sections
My flash website has a somewhat large animation (450k) on its main page (its not an intro). This animation starts loading as soon as everything else on the main page has been loaded. I want users to be able to ignore the loading animation (interrupt it) and go to another section of the website (which also isn't pre-loaded, because it has images). So on the click of a button the user should be able to stop loading the animation and start loading the section requested. But I'm not sure how this could be accomplished.

The easiest way would be ot make every section on a different keyframe and jump to that frame when the user clicks the button. The problem with this method is that once the animation has started loading, you cant load the content on the new frame untill the animation has finished loading.

Any ideas?

View Replies !    View Related
[F8] Using .txt To Fill In Sections Of Actionscript?
Is there a way to be able to place a .txt file within the same folder of a swf, and have what the .txt file says be placed somewhere within the actionscript?

For example, If I have a movie clip, and there are three different functions that make the MC do something. But I only want one of them to play through designation of an outside file. I just have to place a .txt file in the folder that says "function1" And it will call that function in the action script.

Example idea.

Code:
function function1() {
mc.play();
}
function function2() {
mc.loadMovie("picture1.jpg");
}
function function3() {
mc.onEnterFrame = function(){
if (this.hitTest(_xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
};
}
//pick whatever function

then have it pick which function. instead of just typing function3(); in the action script. Have it be whatever is in the .txt file. That way you can pick what function is played by just changing the .txt file.

I'm hoping what I want to do makes sense. Help would be very much appreciated

View Replies !    View Related
Loading Sections Of Images
I'm wondering if anyone knows how to dynamically load sections of images. There's a good example on the AIGA website: http://designarchives.aiga.org/index.html?s1=2|s2=1|eid=3158

what they seem to do is just load a thumbnail of the picture initially and then enlarge it depending on what percent you want it enlarged too...seems like a good solution for not making the user wait for the image to load.

Does anyone know how to do this?

View Replies !    View Related
Slider With Clickable Sections
I am trying to create a slider that also can be used as a pick list. Sounds kind of weird I know. Basicly, I want a little UI elements that has five selectable points. I also want these selectable points to be activated by sliding a bar iver them. The issue I am having is I am running into conflicting "onPress" and "onRollOver" commands.

Each button has both a rollover and a press action on it. But as I slide the slider over I need these two actions not to run.

Anyone have an idea?

jbeals

View Replies !    View Related
Rollover/Rollout Sections
I'm trying to create sections of my website that rollover/rollout. When you click on the colored sections, I want each one to rollout to the left and then roll back in when you click on it again. I'm just not sure about what actionscript to use. I'm not good with actionscript. Maybe someone could help.

http://www.heathertom.net/portfolio1.fla

View Replies !    View Related
Sections Animated Panels
i have to do something like this site.
http://stenkat.kimasa-crew.com/

what i´m looking for is to make the trasition betwen the sections of the site. Like the above site, when you click on a different link, the black panels make the inverse movement to get out of the screen and make room to the next panels and animation. I have to make something similar...

how is the AS i may use for this kind of menu?

thanks

View Replies !    View Related
Trying To Link Sections Of Site PLEASE HELP
i'm basically trying to have it so the user can click on the diffrent buttons, and each section will fade in to the spot where the flyer is at the start, i have tried almost everything, but always run into a problem.
here is the url:
http://kosmik-kare.com/flashhome2
and here is a link to a picture that shows what my timeline looks like:
http://members.fortunecity.com/hpeezy/timeline.JPG

any help is greatly appreciated

View Replies !    View Related
Smooth Transistions Tut- Need Sub-Sections Help
I fully understood the smooth transitions tut but I also need to make sub-sections within each section. Do I need to to make a new container mc on the section to pull up the subsection? Must I remove the (_root) to place it on a level? I have the source files to demonstrate what I tried doing. Section 1 has a button that needs to go to "sub_section1.swf".

http://www.kirupa.com/developer/mx2004/transitions2.htm

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