> property pMember
> property spriteNum
> property pLastMilliseconds
>
> on beginSprite me
> pMember = sprite(spriteNum).member
> pLastMilliseconds = the milliseconds
> end
>
> on exitFrame me
> nMillisecondsElapsed = the milliseconds - pLastMilliseconds
> fps = 1000.0 / float(nMillisecondsElapsed)
> member(pMember).text = fps && " fps"
> pLastMilliseconds = the milliseconds
> end
>
Figured it out (in theory anyhow) got turned around with the dot syntax
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]