Hey
> 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
>
>
> At 11:26 PM +0700 4/18/01, Victor Iwan wrote:
> >Is there anyway to display actual frametempo by lingo ??
> >
>
Having seen this behavior on a recent lingo list I tried to convert to
pre dot syntax I receive a "property not found" "#the milliseconds"
What's up?? and any other errors you see let me know. I am using D6 on a
Mac PPC
property pMember
property spriteNum
property pLastMilliseconds
on beginSprite me
set pMember = the member of sprite (spriteNum)
set pLastMilliseconds = the milliseconds -- "property not found"
end
on exitFrame me
set nMillisecondsElapsed = the milliseconds - pLastMilliseconds
set fps = 1000.0 / float(nMillisecondsElapsed)
set the text of member pMember = fps && " fps"
set pLastMilliseconds = the milliseconds
end
Thanks CMMMMI
[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!]