| Register
Saturday, May 17, 2008   

Flash 8 Component: Tile Transitions

Created By  Satori Canton, at  11/18/2005 - 99 comments.

Click to view this author's website.

Update: 2/14/2006: The source code for this component is available here. Happy Valentine's Day!

Note: Grazie to Carmelo Condorelli who has made this article available in Italian.

I've been messing around with some of the new expressiveness features in Flash 8 by creating different slide-show type transitions. After creating a few different tile dropping and blurring effects, I decide to add some more effects and package the whole thing up as a component.

In this article, I'm going to document the API for this component. Hopefully someone will find it useful. You can download the component along with the demo slide show shown above here. Just double-click the MXP file to install the component in Flash 8.

Basic Usage (using the Component Inspector)

This component works by pulling images out of the library based on their Linkage identifiers. You can try out the component by dragging an instance of it on the stage and setting the list of Images in the Component Inspector to identify a list of images in your library.

The size of the tiles, speed of the effect (how fast the tiles clear) and the number of tiles affected during any given frame are all configurable on the Component Inspector. Some of the effects (the ones using blur filters) can be very processor intensive. If you notice the frame rate of the effect being negatively affected, adjust the speed to a higher number or the number affected to a lower number to reduce the total number of moving objects Flash has to keep up with.

The only two methods of the component you will need to call for basic usage are getNextImage() and getPreviousImage(). For example, if you wanted to create a constant slide show like the sample above, you would just drag the component on the stage, add your images to the Image list, give the component an instance name (I called mine "clip") and add this code in the first frame of the movie:


Advanced Usage (using the API)

The component API is pretty straight forward and works much like the properties in the Component Inspector, but you can set them at runtime. They are:
  • setEffectSpeed()
  • setEffectType()
  • setImageArray()
  • setNumberAffected()
  • setTileWidth()
  • setTileHeight()
  • getNextImage()
  • getPreviousImage()

setEffectSpeed(n:Number):Void - This method is used to set the speed at which a tile is removed from the stage during the transition. It takes in any number greater than 1 and returns nothing.

setEffectType(s:String):Void - This method sets the type of transition effect that you want. Valid types are "pourTiles", "erodeTiles", "shatterTiles", "zoomTopToBottom", "zoomBottomToTop", "zoomRandom", "fadeTopToBottom", "fadeBottomToTop", "fadeRandom", "blurTopToBottom", "blurBottomToTop", "blurRandom", and "random"

setImageArray(a:Array):Void - This method takes in an array of strings identifying a list of images that exist in the library. This list will be used (in order) to display transitions between images.

setNumberAffected(n:Number):Void - This method sets the number of tiles that will be triggered to be removed during any given frame. It takes in any whole number greater than 0.

setTileWidth(n:Number):Void -This method takes in any number to set the tile width.

setTileHeight(n:Number):Void - This method takes in any number to set the tile height.

getNextImage():Void - This method will trigger the component to load the next image in the image array and transition the old image off the stage with the chosen effect. If the image currently displayed is the last image in the array, then the component will start back at the beginning of the array.

getPreviousImage():Void - This method will trigger the component to load the previous image in the image array and transition the old image off the stage with the chosen effect. If the image currently displayed is the first image in the array, then the component will draw from the end of the array.

Update - 11/18/2005:

I actually started using this component for a project this morning and immediately realized that it was missing some important functionality. So, I've added an addListener() method to it so that you can subscribe for "onEffectComplete" events from it. This will fire whenever the final tile is removed from the stage. I have also added a property called isInTransit. This is a boolean value telling you whether or not the transition is currently animating (doing a transition). The component also now ignores calls to getNextImage() and getPreviousImage() when it isInTransit.

The zip file on our server has been overwritten and the component is now in version 1.1.0. You can download it here


Need Professional Help For Your ActionScript Project?
ActionScript.com Consulting Services provide top quality professional ActionScript consulting to businesses around the globe. If you have a professional project in need to world-class talent, tell us about your project by requesting a quote today.

Reader Comments

  1. asji  Replied:
    ( 11/18/2005 At 12:50 AM)

    Very nice Satori! I'll have fun studying this :)
    thanks for sharing!
    asji

  2. Mr. Potato  Replied:
    ( 11/18/2005 At 2:42 AM)

    What is the licensing terms for this component? It looks nice, but I don't know how I would use it (but this is always my first question.)

  3. tcs  Replied:
    ( 11/18/2005 At 2:52 AM)

    hey thanks dude, very nice and clean!

  4. Satori Canton  Replied:
    ( 11/18/2005 At 8:04 AM)

    Mr. Potato,
    This component is free to use and free to extend. I make no warranty (expressed or implied) to its stability or merchantability. Credit for its use is nice, but not at all necessary.
    It's really just an experiment that seemed well suited to a component. If you find it useful (or even just mildly interesting), then my effort was worth it.

  5. Carlos Rovira  Replied:
    ( 11/18/2005 At 1:34 PM)

    Very Cool Satori! Nice One :)

  6. wocunzai  Replied:
    ( 11/18/2005 At 11:25 PM)

    make no warranty

  7. Satori Canton  Replied:
    ( 11/19/2005 At 12:37 AM)

    I've added listener functionality to the component and also a property to tell if the component is currently animating or not (see the updated post to the article above for details).

  8. asji  Replied:
    ( 11/19/2005 At 12:41 AM)

    Satori, what would be really cool is if i could use external jpegs in my list. Or bitmap data's... I harldy ever put an image in my library anymore. what do you think?

  9. Satori Canton  Replied:
    ( 11/19/2005 At 2:01 AM)

    asji,
    I'll probably update the component to support external jpgs. I'm still tinkering around with it.

  10. Awflasher  Replied:
    ( 11/20/2005 At 12:27 PM)

    Hey! relly good work!
    But ... there seem some problems with "setImageArray", it seems not working ...
    I set my array as this:
    var myArr:Array = new Array("img0","img1");
    //img0,img1 is the linkage name of my picture in the library.
    clip.setImageArray(myArr);
    //The swf is blank....
    I don't know what's wrong'

  11. luffy  Replied:
    ( 11/20/2005 At 2:27 PM)

    Very nice!I'm from China.I appreciate your works!

  12. Satori Canton  Replied:
    ( 11/20/2005 At 10:20 PM)

    Awflasher,
    Try downloading the current archive and installing it again. I made some performance enhancements to the component over the weekend.

  13. Awflasher  Replied:
    ( 11/21/2005 At 7:52 AM)

    OK , Thanks.
    Wish to see big progress in the next version:)
    Good luck~

  14. huguilang  Replied:
    ( 11/21/2005 At 11:14 AM)

    i love you .haha

  15. huguilang  Replied:
    ( 11/21/2005 At 11:30 AM)

    OK , Thanks.
    Wish to see big progress in the next version
    Good luck~

  16. charlie  Replied:
    ( 11/23/2005 At 5:47 AM)

    beautiful!

  17. Alexandre Plennevaux  Replied:
    ( 11/23/2005 At 9:48 PM)

    veeeery nice !
    Is there a way to link it to an xml file containing the image elements ?
    bravo !

  18. Andre Infante  Replied:
    ( 11/23/2005 At 10:55 PM)

    Very nice and clean this effect, still specting more, if so.

  19. Dave  Replied:
    ( 11/29/2005 At 2:53 AM)

    Satori, you've done a great job!
    Let me ask you something about performances.
    I'm not a flash expert so sorry for my question: I've tried to create a small transition with 5 images (233x70 px) and on my Pentium 4 everything is ok, but I've tried on a pentium III it goes very slow (cpu at 100% during the transition).
    I've tried to change some parameters on your component, but I'd like to know if you can suggest me a good combinations of these parameters to improve the animation performance.
    thanks a lot and sorry for my poor English.
    Dave

  20. Satori Canton  Replied:
    ( 11/29/2005 At 4:09 AM)

    Dave,
    You're right, this kind of effect is VERY processor intensive. If it weren't for the cacheAsBitmap feature of Flash 8, these effects run poorly even on very fast processors. If you were going to use this on a project that will go into production, you'll definitely want to test on a minimal system and adjust settings appropriately.
    I don't have any specific benchmarks or recommended transitions. Other than the advice that larger (and therefore fewer) tiles improve performance and that faster Effect Speed (therefore removing tiles faster and having less objects animating at one time) can help performance. It's really just something you'll have to play with a little bit to figure out what's going to work for your specific needs.

  21. zikey  Replied:
    ( 11/29/2005 At 7:22 AM)

    very nice!

  22. xiuzi  Replied:
    ( 11/29/2005 At 2:15 PM)

    It looks nice, but I don’t know how I would use it (but this is always my first question.)
    tcs replied:

  23. Dave  Replied:
    ( 11/29/2005 At 2:33 PM)

    Satori,
    thanks for your answer.
    ciao
    Dave

  24. moffee9  Replied:
    ( 11/30/2005 At 6:57 AM)

    I'm a chinese girl, from one website look for your website ,it looks nice,i like it very much,and want to learn this,I'll tell you and your good effect to my friends.
    thank you very much!
    that's my first reply in English.I'll remember here.
    其实我的英文不好,让您见笑了。

  25. David  Replied:
    ( 11/30/2005 At 3:44 PM)

    Hi, i have question about the first image loaded and shown, when the SWF plays. The first image is visble only for 1 sec., is possibile to increase this time....
    Thanks

  26. mJustBrowsing  Replied:
    ( 12/1/2005 At 1:22 AM)

    First off, thanks for sharing this great component!
    Question with regards to firing the "onEffectComplete" event. Below is what I have been trying, however, I have not be very successful in getting it to work. Can provide some feedback?
    Thanks again,
    //code - start
    getNext = function ()
    {
    clip.getNextImage();
    };
    var listenerObject:Object = new Object();
    listenerObject.onEffectComplete = function(evtObj:Object)
    {
    trace("onEffectComplete");
    };
    clip.addEventListener("onEffectComplete", listenerObject);
    setInterval (getNext, 4000);
    //code - end

  27. Satori Canton  Replied:
    ( 12/1/2005 At 7:39 AM)

    mJustBrowsing,
    The component doesn't implement addEventListener, it implements something more like AsBroadcaster's addListener method.
    if you change:
    clip.addEventListener("onEffectComplete", listenerObject);
    to read:
    clip.addListener(listenerObject);
    your listenerObject should recieve the onEffectComplete event.

  28. mJustBrowsing  Replied:
    ( 12/1/2005 At 7:45 PM)

    Thanks Satori!
    =)

  29. emily  Replied:
    ( 12/5/2005 At 12:23 PM)

    very nice!
    Thanks Satori!

  30. Piya  Replied:
    ( 12/7/2005 At 11:22 PM)

    Wonderful work!
    I was just wondering if it's possible to add links to the images (I'm pretty new to Flash; I know how to add links but with this I'm not sure where I'd put it?).
    Thank you so much :)

  31. aral  Replied:
    ( 12/8/2005 At 3:00 AM)

    How freakin' cool :)

  32. crl  Replied:
    ( 12/9/2005 At 9:58 AM)

    cool

  33. raymedia  Replied:
    ( 12/10/2005 At 1:15 PM)

    cool! thank you so much!

  34. Piya  Replied:
    ( 12/13/2005 At 5:39 AM)

    Hi, sorry, I figured out how to add links to the frames; but I would like to know if there is a way to lengthen or shorten the amount of time that the images are being shown.
    Thanks for any help.

  35. moffee9  Replied:
    ( 12/14/2005 At 5:39 AM)

    Satori:
    您好,我英文不好,第二次来到这里。
    还是有一些步骤没有明白,如果我想让图片加到10幅,我该怎么处理?

  36. Gianluca Rossi  Replied:
    ( 12/16/2005 At 3:06 PM)

    Cool!
    Is possible to import by actionscript this component like this
    import mx.blah.blah.bla
    createClassObject(etc...etc...etc...);
    Is this possible?
    Thanks for any help!

  37. Ibad  Replied:
    ( 12/16/2005 At 7:11 PM)

    This is one GREAT COMPONENT MAN!!!!
    I have been trying to make these kinds of transitions but have failed. They are so cool
    Thanks for the help!!!

  38. BK  Replied:
    ( 12/21/2005 At 3:20 PM)

    This is a very cool transition!
    But I was wondering if you've done anything about being able to use external images, I really don't like to import images into the fla file itself (and in the project I'd maybe like to use this in I can't). Please let me know if it's possible
    Regards,
    BK

  39. Gerry  Replied:
    ( 12/21/2005 At 8:54 PM)

    Nice component but I have to agree that this isn't really useful unless you can load the images externally.

  40. Satori Canton  Replied:
    ( 12/22/2005 At 2:28 AM)

    Hi guys,
    I'm working on (actually completed, just need to document) a component that manages loading external images into a thumbnail gallery. I'll then make a variant of this component that the thumbnail loader can use.
    I'm also going to be releasing the source code for all of the components in a new area of ActionScript.com that will be coming out in the next month or so.

  41. Leo  Replied:
    ( 12/24/2005 At 1:18 PM)

    Dear Satori:
    Really amazing component! Since I am very new to flash, could you pls help advise how to add more photos to your transition demo file? tks.

  42. Awflasher  Replied:
    ( 12/24/2005 At 10:16 PM)

    Thanks a lot for your open-source.
    That would be much helpful to us!

  43. Raja  Replied:
    ( 12/27/2005 At 12:12 PM)

    Really good work....
    Amazing....

  44. pixcels  Replied:
    ( 12/30/2005 At 12:21 AM)

    Is there a way to make the component load in images from the array?
    Example: clip.getImage(img_2);

  45. Riccardo Bartoli  Replied:
    ( 12/30/2005 At 5:50 PM)

    Same question of pixcels

  46. Satori Canton  Replied:
    ( 12/30/2005 At 8:06 PM)

    pixcels & Ricardo,
    Currently, it doesn't load a specific image in the array (just moves forward or backward through it). But I'm working on a new implementation of this that will be used as a photo gallery, and that will do exactly what you were asking. Probably still a few weeks away though.

  47. cris mark  Replied:
    ( 1/11/2006 At 8:03 AM)

    hi I am a designer and never liked programming. I love your transtion component. It has reduced a lot of my design time for such effect. But i have a trouble now. When it comes to the end of image linkage lists I want it open a url. Would it be possible? Can you help me.
    Thank you
    crs

  48. Gerry Creighton  Replied:
    ( 1/11/2006 At 11:46 PM)

    When are we going to get the ability to load external images?

  49. Satori Canton  Replied:
    ( 1/12/2006 At 2:53 AM)

    Hi Gerry,

    Actually, I've built a Photo Gallery component that I just need to find time to document. It manages loading external images and with a few tweeks, the transitions component could be a display output for it. But other projects (and moving to the new ActionScript.com website) has kept me pretty busy. So, I don't know when exactly, but I will say "soon".

  50. Gerry Creighton  Replied:
    ( 1/13/2006 At 8:46 PM)

    I tried setting the properties at runtime using the code at the top but just can't get the array set for the images to be external. This would be great for a project I'm working right now. I guess I'll hang and wait to see what you come up with.
    Thanks!

  51. caleb brown  Replied:
    ( 2/14/2006 At 2:51 PM)

    any word on when the source will be available? These are very cool effects and I wouldn't mind seeing how they're done.

  52. Satori Canton  Replied:
    ( 2/14/2006 At 4:00 PM)

    I've been meaning to update and document the classes used in the component, but still haven't had a chance. We're working on a new section of ActionScript.com for just these kinds of examples. But until that's done and I get some time to write about it, you can use this link to download the raw source files for the Tile Transitions component.

  53. caleb brown  Replied:
    ( 2/14/2006 At 6:36 PM)

    thank you so much. that's perfect

  54. Pedro Fernandea  Replied:
    ( 2/18/2006 At 1:26 PM)

    Very Nice...
    If you have wish list, to me, load external images from and xml.

  55. Anthony B  Replied:
    ( 2/20/2006 At 5:41 PM)

    Satori

    thanks for the great component!

    i am not really good with flash but when i open your component by itself it works....however when i try to drag it over to the flash template that i have....it doesn't work....when the template loads all i see is Tile Transitions Component
    by Satori Canton
    (c) 2005 ActionScript.com
    with some red squares...

    what am i doing wrong ?

  56. Satori Canton  Replied:
    ( 2/20/2006 At 9:50 PM)

    Hi Anthony,

    Did you set up the "Images" parameters in the Component Inspector and also set up matching Linkage names in the library?

  57. Anthony B  Replied:
    ( 2/22/2006 At 5:04 AM)

    yes i did, the interesting thing is if i open new document and drag your component over it (without changing any settings) and then compile it....the red boxes with your name don't show up.....however if i drag it over to the template your name shows up when it is compiled.

    is this making sence ?

  58. Satori Canton  Replied:
    ( 2/22/2006 At 11:27 AM)

    I'm not sure what the problem is. If you'd like to send (satori AT actionscript DOT com) me your FLA, I'll have a look at it for you.

  59. michael fleury  Replied:
    ( 3/13/2006 At 12:01 PM)

    this is a pretty handy component. it's exactly what i've been looking for, as i've gotten it to look like one of those old airport info signs that flips tiles to display info.
    does anyone know if it's possible to say use this transition on twenty eight images and at the end of the twenty-eight images go to the next scene? i'm not the brightest on scripting, as i am pretty new at this. has any one figured out how to set the amount of time the images are displayed before they transition?

  60. Satori Canton  Replied:
    ( 3/13/2006 At 3:05 PM)

    Hi Michael,

    If you were going to switch scenes at the end of the images, or set a particular time between transitions, you would need to script that outside the scope of this component. The component just handles the visual effects.

    You could, for example, have a counter that keeps track of which of your 28 images are currently being displayed. When the "onEffectComplete" event fires, if it's on the last image, you could change scenes.

    Whatever timing mechanisim you're using to call the "getNextImage" method can be adjusted to any interval. From the example above, you could change the interval from 6000 to some other value.

    function nextImage() {
       clip.getNextImage();
    }
    setInterval(nextImage, 6000);
    

  61. pixeler pixeler  Replied:
    ( 4/18/2006 At 11:48 PM)

    Great effect Satori!
    just wondering how I might increase the time the first images shows for? It starts to transition into the second image straight away...

    thanks
    P

  62. Pedro Fernandea  Replied:
    ( 4/19/2006 At 7:09 AM)

    Hello:
    are there any way to stop the transitions and star it again.
    Maybe : clip.stop(), clip.play()....

    Thanks a lot

  63. Satori Canton  Replied:
    ( 4/19/2006 At 8:34 PM)

    pixeler:

    If you want to adjust the timing between transitions, you'll need to adjust the interval value in the sample FLA.

    Basically, you can set any kind of behavior/timing between transitions by setting up the logic of whatever calls the method getNextImage()

    Pedro:

    You can't stop a transitions in the middle of the transition (without editing the component code, which is available at the link on top of this page). But you can stop the change from happening or adjust it's timing by changing whatever is calling getNextImage(), like pixeler was asking.

  64. pixeler pixeler  Replied:
    ( 4/19/2006 At 10:09 PM)

    Thanks Satori,

    I understand that changing the interval value controls the timing but its just the very first transition that Im looking to delay. The first image transitions off the screen straight away so we dont get to see it! If I make the first two images in the array the same so that we get to see the image then when the movie loops we have to view this one twice.
    Im wondering if there is a simple way of delaying just the very first transition, after that they can run as normal.

    Say Ive used:
    setInterval(nextImage, 18000);
    when I launch the movie for the first time I would like to wait an interval of 18000 before any transition occurs at all....is this possible?

    thanks again,
    P

  65. Simon Zimmer  Replied:
    ( 4/21/2006 At 5:18 PM)

    This is a great component.

    Any due date for the externally loaded jpg version of this component?

    Simon

  66. Satori Canton  Replied:
    ( 4/21/2006 At 5:58 PM)

    pixeler,

    You'll just need to change the logic behind the getNextImage() call. You can call this method whenever you like. In the example, I did it with setInterval and have it start immediately and then loop.

    To change this behavior, you could set up the call to getNextImage() in another way (say as the result of a button click).

    Simon,

    I haven't really worked with this component much since I created it. I released the source since I kind of ran out of free time to update and extend it.

    But if I can get a free moment, I will try to make a build that manages loading external images. Just not sure when that will be.

  67. grimmwerks  Replied:
    ( 5/11/2006 At 1:20 AM)

    Hey Satori - hate to be a pita.

    But I'm trying to change the source of your components to allow the loading in of external images, but can't seem to et it up and working.

    I don't know if you've got this type of functionality already in the version you're working on, but would greatly appreciate your time.

    Thanks

  68. Satori Canton  Replied:
    ( 5/11/2006 At 3:00 PM)

    Alright, this lit the fire under me. I'll make us another class that will allow us to use external images with the component.

  69. Kevin McKerracher  Replied:
    ( 5/12/2006 At 5:23 PM)

    How can I trigger the images to change onRelease. The path to the button that will change the image is _root.menu1.button1 I want the background of my web site to transition to the next image when a menu item is clicked. Thanks for the help.

  70. Satori Canton  Replied:
    ( 5/14/2006 At 12:33 PM)

    You'll need your button action to call the getNextImage() method of the component. For example, if you're pathing everything from _root, and the component is sitting in the _root with the name "myTransition". Then you could use this code in a frame on the timeline of _root.menu1 to define the action for the button:

    button1.onRelease = function() {
    _root.myTransition.getNextImage();
    }

  71. teo castellino  Replied:
    ( 5/17/2006 At 6:06 AM)

    I wan't to put a preloader before animation, is possible ?

    Sorry for my english !

  72. Prashanth Bhagavan  Replied:
    ( 5/17/2006 At 6:25 AM)

    This stuff is really cool.
    i was trying out some stuff.
    var Img_array:Array = new Array();
    attachMovie("img0","img0_mc",1);
    attachMovie("img1","img1_mc",2);
    Img_array.push("img0_mc");
    Img_array.push("img1_mc");
    // Can i not add dynamically called movieclip and set the Image Array ::
    clip.setImageArray(Img_array);
    function nextImage() {
    clip.getNextImage();
    }
    clip.getNextImage();
    setInterval(nextImage, 6000);

    is there a problem using dynamically attached movieclips....

  73. Kevin McKerracher  Replied:
    ( 5/17/2006 At 10:08 AM)

    Great work Satori! Worked first attempt!

    button1.onRelease = function() {
    _root.myTransition.getNextImage();
    }

    Thanks for your help!

  74. Pablo Esquivel  Replied:
    ( 6/12/2006 At 9:37 AM)

    In first place, thank you so much for this wonderful component.
    I would like to know how to leave the images visible more time. This is the time between the ending of a transition and the start of the next one.
    Since I know nothing about flash, I figured out (newbie way)that it could be the script on the on the first frame, where I replaced

    function nextImage() {
    clip.getNextImage();
    }
    clip.getNextImage();
    setInterval(nextImage, 6000);

    for this...

    function nextImage() {
    clip.getNextImage();
    }
    clip.getNextImage();
    setInterval(nextImage, 90000);

    but nothing changed.

    Thank you very much for your attention.

  75. gh  Replied:
    ( 6/14/2006 At 11:08 AM)

    is there a way to have the order of the images (img1, img2, etc) become random as they display?

  76. Seth Aldridge  Replied:
    ( 7/6/2006 At 4:15 PM)

    Satori,

    You had posted earlier that you were going to make an external images class, however i didn't see an update on that? I just wanted to know if it ever happened.

    Thanks,
    Seth

  77. Satori Canton  Replied:
    ( 7/7/2006 At 12:47 PM)

    I'm working on a new version of this component that works with external images and XML data. Progress has been slow going with other projects taking priority. But I've started releasing some of the core classes that will make up the final component:

    http://www.actionscript.com/Article/tabid/54/ArticleID/Preloading-Files-into-the-Browser-s-Cache/Default.aspx

  78. frank  Replied:
    ( 7/27/2006 At 3:05 PM)

    Nice component.

    Could you please give me the tip about random image display. I have your SatoriArray.as file but I have no idea how to put code to access from .as file.

    Simply I need to display images in random order.

  79. steve guberman  Replied:
    ( 8/1/2006 At 10:17 AM)

    This looks exactly like what I need, only bad thing is I'm on Flash MX 2004 still. Is there a way to get this to work on an older version of flash?

  80. Rob Carrillo  Replied:
    ( 10/8/2006 At 12:27 AM)

    Satori, great component. Keep up the good work.

  81. Erik Lembke  Replied:
    ( 11/2/2006 At 8:20 AM)

    Hi,

    first i'd like to say that Satori did a excellent job with this component.
    Many of you asked for dynamically loaded images. Today i spent a couple of hours with analyzing the component and how it works. My target was to globalize it's functionality to the whole clip. The key to the solution is the BitmapData-class.

    http://www.unic8.com/index.php?option=com_content&task=view&id=35&Itemid=2

    I think it should be also possible to do the same with dynamically loaded images. Just load them in the background, convert them into a bitmap and attach it to the tiles.

  82. Colin Campbell  Replied:
    ( 11/21/2006 At 4:12 AM)

    Hi there...

    Satori -- well done! An absolutely great component!
    I just read some of the comments and found some of
    them ridiculous so I decided to help and try answer
    them, if that's ok with you..

    -----------------------------------------------------
    Random Image work around :

    -----------------------------------------------------
    -----------------------------------------------------

    var array_1:Array = new Array("img01","img02",
    "img03", img04);

    var array_2:Array = new Array("start_image");

    var img_count = 1;

    clip.setImageArray(array_2);

    function randomImage() {
    if (img_count == 2) img_count = 0;

    array_2[img_count] = array_1[random(array1.length)];

    if (img_count == 0) clip.getNextImage();
    else clip.getPreviousImage();

    img_count++;
    }

    clip.randomImage();
    setInterval(randomImage, 6000);

    -----------------------------------------------------

    Well -- that's my simple work-around for gh's request...

    HuNtR

  83. Daniel Hall  Replied:
    ( 11/27/2006 At 4:50 AM)

    Thanks Erik,

    Still can't get it to work though. Seems to copy okay, but doesn't do the transition. Waiting hopefully for an example of the tile transition with xml load of the images.

    Daniel.

  84. Erik Lembke  Replied:
    ( 11/29/2006 At 1:11 AM)

    Hi,

    I just finished a good sample for loading external images in combination with the TransitionsComponent.

    http://www.unic8.com/en/labs/external-image-transitions.html

    Hope this helps!

    Greetings from Germany
    Erik

  85. Francis Fernandes  Replied:
    ( 12/17/2006 At 6:18 AM)

    Thanks a lot Satori. This is pure brilliance.

    And also, Erik's xml solution works great. However I have a issue.

    Say is it possible to resize the component? Because, it seems not...

    Thanks,
    FF

  86. kevin marx  Replied:
    ( 2/15/2007 At 7:28 AM)

    Satori,
    Sorry I had posted in the wrong section.

    Its a great component(tile tranistion effect) !! I am having issues using a preloader along with the component, does anyone have any problems using the preloder for this component.

    My file size is 512kb i am usuing the preloader in the first scene, for some reason it does not show the preloader at all?? when i test the simulate download it does not jump into frame 1, but it completes the 512kb and just loads the file without the preloader..

    Help appreciated..

    Kevin

  87. CoffeePowered  Replied:
    ( 2/24/2007 At 3:45 PM)

    Hey Satori

    Great stuff, I love this component. I was wondering if it's capable of transitioning images in just the same way it transitions images out. I'd like to be able to build images in and out w/ this component, similar to TextScript.

    Cheers.

  88. sverre rakkenes  Replied:
    ( 3/10/2007 At 6:32 AM)

    Hi there,

    I was trying to use larger images, with this effect, but the effect only covered part of the image, any way to re-size it?

    Thanks,

    Sverre

  89. Audrey Bastrash  Replied:
    ( 3/30/2007 At 1:00 AM)

    Please someone, help ! This is a great component and I'm too stupid to use it on my own... How can I put more than 5 images? I mean : how do I set things so that the pictures I load in the library are picked up by the component? I need a walkthrough, please, help, have pity ! :)

  90. Audrey Bastrash  Replied:
    ( 4/1/2007 At 4:16 PM)

    Wow, great component, the effects are so cool ! I don't understand how it works... How do I change the number of pictures? In the array? I want to add more pictures and don't understand how... Could someone help me out? Pleeeaase! I would need a walkthrough, step by step...

  91. The Champ  Replied:
    ( 4/2/2007 At 12:38 AM)

    This is arguably one of the best components on the web for designers. Awesome job Satori. And, the revised version by Erik Lembke from BMW land is equally grand. However, the component is currently unusable for users who publish to Flash 6. Secondly, as one of the posts above pointed out, the component would be a favorite if 1) you could publish to Flash 6, and 2) if there was the ability to load external images with a preloader, and once the image is loaded, th image would be revealed with the tile component in action.

    In short, I'm hoping you or someone can extend this high-powered component as I have just explained...


    ...keep Flashing...

  92. Rami Djemal  Replied:
    ( 5/7/2007 At 12:09 PM)

    Hi,

    I am curious if this effect works on Mac browsers.

    Thanks,
    RRD

  93. Colin Campbell  Replied:
    ( 6/13/2007 At 4:25 AM)

    Woohoo...

    I just completed a little project that loads the images externally using a pre-loader and then displays them in the tile transition component.

    I am no flash expert and so I thank Erik Lembke for his contribution in showing us how to externally load images into the symbol.

    Once again.. It's a brilliant component.. Thanx Satori.. I'll hopefully try post an example or the code somewhere when I've cleaned up the code.

    Till then -- Keep coding..
    CoLiN

  94. Miguel Boloboski  Replied:
    ( 6/20/2007 At 5:38 PM)

    First of all I want to thank you Satori for making this great component and sharing it.

    I'm a Flash newbie, and belive me when I say that I've tried to find out where to put the setInterval code to slowdown the slideshow.

    Could you or anyone else help me with that?

    Thanks.

  95. Gerry Creighton  Replied:
    ( 7/25/2007 At 2:03 PM)

    @Rami Djemal

    It's a Flash component that runs in an swf so of course it will work on Mac browsers.

    To answer your question though...yes it does work on mac.

  96. Nate Zander  Replied:
    ( 7/27/2007 At 10:19 AM)

    Hey Santorini-

    Thanks for the great component. Is there any way to
    #1 - Pause the transitions, i.e. pause the movie?
    #2 - How do you access the timeline of a loaded movie? clip.movie_mc.action doesn't seem to work?

    Thanks!

    -Nate

  97. Simon  Replied:
    ( 8/17/2007 At 9:39 AM)

    I am having problems getting a preloader to work with this component. I noticed other people are having the same problems.

    I don't mean a preloader for each image, I just mean a preloader which comes before the component actually starts.

    I have tried all the simple preloaders I can find including the progressbar and they never appear or work properly. Anybody have an idea or have an example of a preloader working for this component?

    Thanks,

    Simon

  98. Keenan Donegan  Replied:
    ( 8/20/2007 At 3:15 PM)

    Great Component..

    #1 - Is there a way to delay the first transition? I set the interval to 8 seconds, but the first transition does not respond to this. Thanks.

  99. Audrey Bastrash  Replied:
    ( 10/29/2007 At 6:30 PM)

    Wow, this is a great component for designers. I have used it a few times in projects for www.Yannick.net, and the result has always been great. I am now trying to create a sequence where the transitions would take effect in only a portion of the movie. Is there a way to do so ? Thanks in advance !

Login to post your comments. If you do not have an account with us please Register.
Copyright 2005 by ActionScript, Inc.   |  Privacy Statement  |  Terms Of Use  |  ActionScript Client Extranet