Re: Playing an image sequence in reverse
Status: Alpha
Brought to you by:
cwalther
|
From: James W. <jfc...@ya...> - 2009-10-01 14:34:49
|
Thanks! That worked perfectly. Thanks also for being patient with me.
Thanks again,
James
--- On Thu, 10/1/09, Urs Holzer <ur...@an...> wrote:
From: Urs Holzer <ur...@an...>
Subject: Re: Playing an image sequence in reverse
To: pip...@li...
Date: Thursday, October 1, 2009, 6:47 AM
James Wilson wrote:
> Thanks, I think this last little problem is my fault:
> I click on the hotspot and nothing happens. I think it's because I closed
> "hotspot" incorrectly. What do you think? Sorry to drag this out.
Sorry, this is my fault. The line
if animpos < 0 then animpos = 100 end
only makes sure that animpos gets back to 100 once it reaches -1. I forgot
to insert a line that actually decreases animpos by 1. So this should work
now:
hotspot {
onmousedown = function()
pipmak.schedule(
0.04,
function()
animpos = animpos - 1
if animpos < 0 then animpos = 100 end
an_linkingBook:setimage ("an_linkingBook/an_linkingBook_" .. animpos
..".jpg")
return 0.04
end
)
end
}
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Pipmak-Users mailing list
Pip...@li...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |