Solved

Flash Preloader

Posted on 2006-11-10
3
357 Views
Last Modified: 2012-05-05
ok, here's the problem,

first a quick summary what I've done so far.

first scene is my preloader scene with a picture (800x320) in the background, then I've 160 40x40 white boxes on top of them so you don't see the picture in the first place.

now the preloader should remove more boxes the more the movie is loaded, i.e. if 20% of the movie is loader then 20% of the boxes are gone(transparent).

Now my problem is that flash loads the movie entirely before the preloader even kicks in.
I guess it's the problem because I've already a picture on the first frame, so my question is:

Is there a way to load an image before all the rest of the movie and THEN start with the preload sequence?
0
Comment
Question by:simtech2007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
blockage1 earned 250 total points
ID: 17919653
Yes. A movie will load everything it needs for each frame before loading the next frame. So for example, if you put your image on frame 1 and everything else you need on frame 2; You can make your preloader hold the movie on frame 1 until everything else is loaded. Of course, if the 800x320 accounts for most of your file then you wont see much preloader.

Also if you have symbols in your library that are exported for actionscript, by default they will be exported on frame 1. You can turn this off in the linkage dialog, but you will need to make sure you add them to the stage (on frame 2) or they wont get exported.

One more tip: open your publish settings an tick generate size report to find out exaclty where the load in you movie is.
0
 
LVL 3

Assisted Solution

by:judsonmusic
judsonmusic earned 250 total points
ID: 17923560
Create 1 frame with the instance of that animation
You have to create a loop that loads the entire movie  while playing that animation.
Once the Movie is loaded, it will continue on to the first frame "usually frame 2"

I usually like to make preloaders in a seperate .swf file.

This is alot smoother and will also allow you to use it with other files.

Judson
0
 
LVL 1

Author Comment

by:simtech2007
ID: 17928408
The problem was that if you use the Linkage function to "export for Actionscript" those movies get loaded in an imaginary frame 0.

so I've unchecked the "export on first frame" option, then put all the needed instances somewhere hidden on the frame after the preloader.

Now he only loads the first image, after that the preloader runs good.

thanks anyway
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question