Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Flash 5: Run tweened animation in preloader, please help

Posted on 2004-10-21
Medium Priority
Last Modified: 2010-04-03

I've asked this before, but received fairly unclear, non-functioning answers.  Here's what I'm trying to do:

In Flash 5, rather than running a progress bar for a preloader (which I do understand and know how to do), I would like the preloader to play an MC -- of a tweened animation -- in proportion to the loading process.  Imagine a watering can tipping over and, when it's fully tipped, that's when the preloader is done and the movie begins.

So, I create an MC, create the tween effect in the MC, drag it onto the stage at Frame 1, and then what?

Again, kindly remember that this is for Flash 5.

Question by:geod100
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
  • 2
LVL 23

Accepted Solution

Zeffer earned 2000 total points
ID: 12377689
you could do it like this..
say the movie you are loading has 10 frames
and the watering can clip has 5 frames and has the instance name of canClip

put a stop on each frame of canClip

on frame 1 of the main timeline put the code..



Author Comment

ID: 12382670
I thought of something like that...the but movie actually has quite a few frames.  I'll try it, though.
LVL 23

Expert Comment

ID: 12383719
the number of frames doesn't matter as long as you do the calculation to break the loading into segments..
if you have 100 frames with a 5 frame watercan movie ..then it would be 10,20,40 etc ..
also it ocurred to me that if you attach the code to the watercan movie..you don't need the instance name and the code is a little more elegant ..



Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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…
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 what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

610 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