A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: I'm trying to apply a filter to a movieclip but the option is grayed out.

  1. #1

    I'm trying to apply a filter to a movieclip but the option is grayed out.

    So my title kinda says it all but I have a movieclip and I want to apply a blur effect to it but the add filter button is grayed out for some reason. Does anybody know why that would be? I'm not using any actionscript or anything, it's an animation project but I needed a blurry image in the background and I figured using the movieclip filters would be the easiest way to do it and it turns out no...!

    Thanks Advance!

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    You will probably need to convert your graphic to a movieclip and then you can use code like this.
    I imagine the properties options will not be greyed out if you convert it too.
    PHP Code:
    import flash.filters.*;

    var 
    clipBlur:BlurFilter = new BlurFilter(333);

    clip.filters = [clipBlur]; 

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