Flash 5: Run tweened animation in preloader, please help

Posted on 2004-10-21
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
    LVL 23

    Accepted Solution

    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

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

    Expert Comment

    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 don't need the instance name and the code is a little more elegant ..



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    Title # Comments Views Activity
    SWF won't scale? 4 502
    FLV versus SWF 11 253
    Youtube video error 30 636
    Where to download Acrobat flash offline installer? 2 223
    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 …
    I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    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…

    933 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now