Can I import multiple png files into flash and animate them

Posted on 2006-05-17
Last Modified: 2008-03-04
I have 120 png files that are output files from an animation.

I would like to bring those files into flash for use in a flash animation.

I would like to know if there is a trick to importing them as an animation file without having to hand
create the animation frame by frame inside Flash?


Question by:JLRoark
    LVL 19

    Expert Comment

    It's all pretty much the same, unfortunately. For example, you could take them into Fireworks and distribute to frames. Then export to swf. However, that will take about as much time as just importing the whole thing into the library, creating a new movie clip and just dropping in one frame at a time. That said, 120 png files is not that many to put into 1 by 1. Just make sure they have sequential names so you can sort them in the library and it will be easy to add them one by one. About 30 seconds per, if that much?

    Don't know of any other way.
    LVL 7

    Accepted Solution

    I assume that the names are serial ie. image001.png, image002.png ,.. and so on
    so all you have to do is to make a new empty movie clip (from Insert / New Symbol / Movie Clip) thne OK
    then File / import to stage (or Ctrl + R) and then select the very first image
    flash is smart enought and it'll tell you :
    "This file appears to be part of a sequence of images. Do you want to import all of the images in the sequence ? "
    you just say yes ...
    it'll put each image in a frame ..
    you now have a movie clip with all the png files, just put it on stage and it'll run the animation fine .

    Best Regards,

    Author Comment

    Thanks for you help Iammontoya, and Ramy atef.

    I utilized Fireworks to create and export the SWF file.  Now I know multiple ways to accomplish the animation.  I will be using the New Empty Movie technique in flash from now on.

    Thanks again for your input.

    LVL 19

    Expert Comment

    I knew that! Brain freeze! :)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to how to record live broadcast.

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now