Being new to Revolution, I'm never sure whether I'm seeing a 
Revolution bug, and interesting feature or a programming error of 
my own.  I think this one is a bug, so I'll send it to the 
"improve" list.

My testing is with graphics, but the problem may occur with all 
controls.

A moving graphic is not displayed while another is being show'd 
with a visual effect.  I accept this.

However, there are a couple problems if the visual effect is still 
going on when the graphic reaches its destination.

First, the moved graphic is not displayed at its final 
destination.  Later it is, so I think the location is correct.

Second, the message "moveStopped" is not sent at the end of the move.

Consider this script (for graphic "Mover"):

on moveToRight
   move me to (right of this card)-50,50 in 200 milliseconds without 
waiting
   show graphic "Door" with visual effect barn door open very slow
end moveToRight

on moveStopped
   set backgroundColor of graphic "Indicator" to "red"
end moveStopped

The visual effect takes longer than the move, and it seems this 
causes the end processing for the move not to occur.  The graphic 
(the moving one with the script) is no longer displayed (even 
though it is visible).  Worse, the "moveStopped" handler is not 
called.

If the time for the move is increased to (say) 3200 milliseconds, 
the visual effect finishes first.  Here, the moving graphic seems 
to jump at the end of the effect (not great, but perhaps 
understandable).  Also, the graphic is displayed at the end of the 
move and the "moveStopped" is executed.

Replacing the move with a send seems to work OK, too, but, of 
course, doesn't do the move:
   send moveStopped to me in 200 milliseconds

I'm using OS X & Revolution 1.1.1 B1.  I haven't tried this with 
other controls.  I haven't tried this with "go" or "play" or 
animations.  Maybe some other method than visual effect will work 
fine.

Dar Scott
Revolution Newbie

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to