Results 1 to 2 of 2

Thread: Flash Transition Manager

  1. #1
    Join Date
    Mar 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Flash Transition Manager

    Hi, i am havin difficulties getting the IRIS transition to work in Flash 8. I used the code from the flash help files, but it doesn't seem to work. I want a picture to load into a loader and use the IRIS transition. The fade transition seem to work fine but not the IRIS. the code i use is below. Can anybody help me this.
    thanks

    btn1.onRelease = function (){
    picLoader("sport.jpg");

    TransitionManager.start(loader, {type: mx.transitions.Iris, direction:Transition.IN, duration:1, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
    }


  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Code:
    btn1.onRelease = function() {
    	picLoader("sport.jpg");
    	mx.transitions.TransitionManager.start(loader, {type:mx.transitions.Iris, direction:Transition.IN, duration:1, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
    };
    I think the syntax is a little off in yours. Note this only works in Flash 8 and 9, so if you publish for Flash 7 it won't work...
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •