I’m very, very new to As3 and flashdevelop so please forgive me if this question sounds a bit stupid. My question is: what are public properties? I’ve been trying to make an object have an animation that then changes to a different animation when the first one has completly played. I was following the tutorial here: [Animation tutorial][1] And noticed that there was a link to a page about the class Spritemap which is this one: [Information on Spritemap][2] [1]: http://useflashpunk.net/intermediate/animated-sprites.html [2]: http://useflashpunk.net/docs/net/flashpunk/graphics/Spritemap.html Anyways if you follow this link you can also see a table headed “Public Properties” I saw on this table a public property called ‘complete’ and was wondering how I would use this? I was under the impression that these are already predefined variables that can be tested straight away however when I write
if (Spritemap.complete = true && Spritemap.currentAnim()="Smack") { sprHand.play("Still"); }
I get an error. So what is a public property and how would I use one?
Thanks