A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Blur + Saturate with AS 2

  1. #1

    Blur + Saturate with AS 2

    Hi there

    I was trying to Blur + Saturate an MC using actionscript. I only managed to do 1 of them.

    here is the code:

    PHP Code:
    import flash.filters.BlurFilter

    //blur filter 
    var blurred:BlurFilter = new BlurFilter(771); 
    var 
    storedBlur:Array = [blurred]; 
    this.btn1.onRelease = function() { 
    world.filters storedBlur
         
    }; 
    this.btn2.onRelease = function() { 
    world.filters null
         
    }; 
    I guess the big question is...how to do i set them both (Blur + Saturate)?

    Also, if possible..is there a way to make this a "transition type" effect?


    Sunny

  2. #2
    We running out of Elite Flash Knights ?

  3. #3
    Member
    Join Date
    Apr 2006
    Posts
    50
    meh, I was bored.... here....

    I used these for my information:
    http://livedocs.adobe.com/flash/8/ma...=00001507.html
    http://www.adobe.com/livedocs/flash/...=00002079.html

    attached, is a working example.
    Attached Files Attached Files

  4. #4
    Thanks again

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center