We are currently working on making some changes in DIF. Soon we’ll have candy for you all! Check back for news!

Image Sequencer

Posted: March 6th, 2008 | Author: Ivan Valadares | Filed under: Actionscript3, Code, Components, Demo | 3 Comments »

To solve the problem of the image sequence I already know the solution, some time ago me and Pedro did something like this. This time I made two different versions, a class version (project in flex 3) and a component to flash cs3. With this solution, you can keep your images outside the project and manipulate them like a movieClip.

Arguments and Parameters

folder -> images folder.
filename -> first part of filename (ex: image1.jpg ), it should be "image".
type -> extension of the filename (jpg,png).
startImageNum-> first image number.
endImageNum->last Image numer.

For the class (ImageSequencer.as) version use:

For the component version:
Run “ImageSequencer.xmp” to install component. Run flash cs3, go to Windows > Components > Standard Components, drag ImageSequencer to the stage and fill the Parameters.

Methods,Events,Properties:

Flash Component and Example
Class File and Example


3 Comments on “Image Sequencer”

  1. 1 Hans Hoppe said at 5:17 pm on April 14th, 2008:

    Hi there!

    Read with great interest your entry on Image Sequences, unfortunately the zip archives available for download are “corrupted”. I tried downloading from 2 different computers, same result. Could you check this, please? Would be a shame to leave it like this… Should I be wrong and your archive be ok (and my downloading to blame), could you possibly send the 2 zip files to me via email attachments? Many thanks.

    Hans

  2. 2 Hans Hoppe said at 6:44 pm on April 14th, 2008:

    Dear Ivan,

    Yep – was me: CRC errors and the like… Need to fix that. Thanks for sending the files, will play tomorrow…

    Cheers,

    Hans

  3. 3 Idoru said at 8:10 pm on April 14th, 2008:

    Thank you Hans.


Leave a Reply