Flash ActionScript - Filters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jztheillest
    New Member
    • Oct 2008
    • 2

    Flash ActionScript - Filters

    Hi,
    I'm trying to control the brightness of an image through action script that would be in turn controlled by buttons.

    Son on the on(release) handler I would like to atach a code that would make it brighter or darker, hopefully by controlling the color - brightness filter.

    thanks,

    JZ
  • Stang02GT
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    software development is not the correct forum for this question.


    Moved to Flash/Action Script.

    Comment

    • Fabez
      New Member
      • Oct 2008
      • 29

      #3
      You will need to create variables to hold the filter information, then push the dynamic filter into the filter array for your object. However a bitmap cannot have filters applied to it so you would need to place it inside a movie clip. You could also use the ._alpha variable to control the brightness as an alternative to filters.

      Comment

      Working...