PDA

View Full Version : onTransitionEnd=pano.tilt=90,2000 not working


popunonkok
11-22-2007, 08:51 PM
This is the code Im having.

onClick="loadPano(?panoName=pano4/pano4);global.onTransitionEnd=pano.tilt=90,2000"

when the new pano is loaded the new pano gets the tilt 90 BUT without the 2 second movingtime that I want...

Does anyone know why It just jumps to 90 degree without the time?

//Peter F

zleifr
11-22-2007, 10:27 PM
That is odd.... Does it make any difference if you put the pano.tilt command in a function?
And does it make any difference if you put the tween type? ie pano.tilt=90,2000,smooth?

jaaaab
11-23-2007, 08:07 AM
hi,

zleifr is right, with onTransitionEnd you'd better call a function. Direct code doesn't seem to work.

++