Visual effect in rect

Jacques Hausser jacques.hausser at unil.ch
Thu Aug 9 03:30:04 EDT 2012


Hi Jacque,

I had the same problem and finally it worked with the following, but I don't remember exactly why. The trick was perhaps 'show image "Affiche" ' which was never hidden. If it is the case, you should perhaps group the things you are changing and 'show group' before unlocking ? 

  lock screen for visual effect in rect (the rect of graphic "Fond")
  < change the file name of image "Affiche" and set its size>
   show image "Affiche"
   switch tsens
      case "left"
         unlock screen with visual effect push left
         break
      case "right"
         unlock screen with visual effect push right
         break
      case "fade"
         unlock screen with visual effect dissolve very slow
   end switch

two additional remarks: 1) 'visual effect in rect'  is not documented in the dictionary and 2) I was never able to use core effects with this command.


Le 9 août 2012 à 06:42, J. Landman Gay a écrit :

> I'm doing this:
> 
>  lock screen for visual effect in rect tRect
>  <show some stuff, hide some stuff>
>  unlock screen with visual effect push right very fast
> 
> I expect to see the new content push the older content off screen. Instead I see the content change on the card immediately, and then a copy of the new content pushes the duplicate content off.
> 
> I tried a few other effects and they behave the same way. Anyone else seeing that?
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************





More information about the use-livecode mailing list