A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Movie Clip Filters Not Showing Up In SWF Preview

  1. #1
    Member
    Join Date
    Dec 2008
    Location
    Colorado
    Posts
    38

    Movie Clip Filters Not Showing Up In SWF Preview

    So I'm making a game and I want the background to be blurred. I did that, and I see it blurred, but when testing the movie in SWF form, there's no blur effect on it... this never happened before.

    The only thing I can possibly think of is that the background, along with everything else, is programmed to move when you press the arrow keys... could filters possibly just be removed if you program it to move?? I'm using Flash 8 with AS2. Help...

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Don't know what's happening, but you can always do it with Actionscript:

    Actionscript Code:
    onClipEvent(load){
        import flash.filters.BlurFilter;
    }

    onClipEvent(enterFrame){
        var myBlurFilter = new BlurFilter (20,30,3); //20 is X, and 30 is Y, and 3 is Quality
        this.filters = [myBlurFilter];
    }

    Use this on the Background Movieclip - see if it helps

    Btw, do you still not understand SharedObjects, 'cause I am preparing a Flash movie for you, explaining SharedObjects
    Last edited by Nig 13; 07-11-2011 at 06:49 PM.
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

Tags for this Thread

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