A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 21

Thread: How to do blur animation in scripting ?

  1. #1
    Senior Member
    Join Date
    May 2009
    Posts
    213

    How to do blur animation in scripting ?

    How to make an object or pic in a webpage slowly blur when mouse overed ?

  2. #2
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    You can use masks.

  3. #3
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Masks ? Hmmmmm. You mean having 2 images (1 blurred and one not) and using a mask to reveal the one behind ? I dont know how that wud be possible. Though i know how to create and animate a mask. Also i dont think this would cause the slow blur that im talking about. Im talking about when u mouse over the pic gradually clears up or ramps into being blurred. Ive heard that theres a code property which can do this in AS.

  4. #4
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    Do you have a website example, so I can understand what you mean.

  5. #5
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Hi Ilike2,

    http://www.formativeinnovations.com/ (skip intro) as you can see there seems to be a blur effect and also a brightness thing that adds up when you leave your mouse over the button for a moment.

    Im basically wanting to know how i can animated properties such as brightness, color sat, blur etc of a movieclip or Symbol. I know brightness etc can be animated using timeline keyframing. But im keen to know what commands in AS address a symbols properties like this.

    Thanks

  6. #6
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    You basically need to add the blur filter property to a movie clip. Are you using AS2 or AS3 ?

  7. #7
    Senior Member
    Join Date
    May 2009
    Posts
    213
    AS2 please.

  8. #8

  9. #9
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Will do that and post back.
    Thanks

  10. #10
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Thanks. That was a nice and simple tutorial. I havent got to my workstation to try it out yet. But it answered my question.

    May i ask if the same format can be used to apply brightness, inverse, color sat filters to a clip or symbol ? Any idea please ?

  11. #11
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    Take a look at the colour matrix filter http://1c44c6e5.tinybucks.net

  12. #12
    Senior Member
    Join Date
    May 2009
    Posts
    213
    That went totally over my head. Im a newbie and seeing so much code which someone else concieved in logic sends my head spinning. LOL. Is there a simple way to understand this. Or if u can just tell me the actionscript command to control a clips saturation & brightness ?

    Thank You

  13. #13
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    Well, i think the easiest method would be to download the tweenMax plugin

  14. #14
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Is it free ?

  15. #15

  16. #16
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Thanks for the link. But i couldnt make out anything there ? That wepage seems conglomerated with info. And it also mentions something called Tween Lite. I couldnt ever find a DOWNLOAD link. The page looks more like a discussion page rather than a plugin with a clear description and a download here link.

    Your first suggestion for the blur filter where its done thru AS2 seemed better. Looks like this is a program as much a labyrinth as flash itself and im already just learning flash. Is there a simple coding way to do the saturation and brightness control ?

  17. #17
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    Well, there is a large button on the right that says "AS2 download". I can't believe you missed such a large button.

  18. #18
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Hi, I did see that button but it said AS2 download. Holy cow i now understand. They meant download "FOR" AS2 or "FOR" AS3. OKKKK. I thought it was literally what it said "Download AS2" , why should i, i already have AS2 on my system. . OK ! Excuse me for im a mere mortal for now and just learning flash. But still it seems to have a plethora of controls, is this easy to use for someone just stepping into actions.

    Thanks.

  19. #19
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    Its very easy to use take a look at this tutorial http://www.ilike2flash.com/2009/11/h...-tweenmax.html to setup.

  20. #20
    Senior Member
    Join Date
    May 2009
    Posts
    213
    Thanks i will give this a serious shot and then post back.

    Thanks..

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