Making clips flicker with AS [FMX]

Anyone know if the following things are even possible?

  1. Making a movie clip flicker via ActionScript (i.e., it’s alpha changes constantly between two values for a set period of time)

  2. ‘Flipping’ a movie clip horizontally via ActionScript

If so, I’d love to know how :slight_smile: If not, just let me know so I stop wasting my time trying to figure out if I can :cyclops:

Thanks :slight_smile:

  • wobbly

well… there may be(and I’m sure there are) other ways to make an mc flip but here’s a good way:
let’s say that the width of the mc is 222
mymc.width = -222
just make the width a negative value…
And to make an mc flicker. The easiest way is:

alpha = 100
mymc._alpha = -mcalpha

this actually makes the alpha 100, then -100, then 100, then -100 etc…
-100 is the same as 0 of course…
well… these are just some easy ways of doiing such things…

Interesting… thanks! I’ll try them both out later and see if I’m all set :slight_smile: