ID:263004
 
I fixed it, the icons were saved in the cache and I needed to clean compile. Thanks :-)

Code:
flick("Attack",src)


Problem description:
I have used flick() countless times before, but for some reason it is not flicking my overlays!
The overlay turns blank when I call flick()
It's not the icon I think becuase it has a blank and "Attack" icon_state..help please.

make sure its cased right, if your flicknig "Attack" make sure the overlays state is "Attack" >_>
In response to Nintendo
Dude, flick should change the overlay also.
In response to Sniper Joe
yes, im saying make sure you have the state named "Attack" in the overlay icon you want to flick. if its typo'd it would cause that.
In response to Nintendo
I already stated I DID.
PLUS having a blank icon state should defualt to that if there isn't Attack.
Just for everyones knowledge..
1 - I have the icon right.
2 - I have the icon_state right with an "Attack" state and a blank one.
3 - The code is right "flick("Attack",src)".

So...just to stop any random/useless posts here.
In response to Sniper Joe
Sniper Joe wrote:
Dude, flick should change the overlay also.

No it shouldn't. In fact it does no such thing.

Lummox JR
In response to Lummox JR
Test it, yes it will.
flick("Attack",src) will flick the overlays "Attack" state also.