iOS: Native fields and visual effects

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Thu Jun 28 03:15:33 CDT 2012


John,

what would be the best way?

at the moment i have solved this, that i create the native field  in the opencard handler of the "target" card and set the visible to false.
In the card script of that  "target" card i created an handler makevisible  in which i set the visible of  the native fields to true.

and the last line of my opencard handler of the "target" card  contains

send "makevisible" in 50 milliseconds to me

This works so far, but i was wondering if this is the correct way.

Regards,

Matthias 


Am 28.06.2012 um 09:23 schrieb John Dixon:

> 
> 
> 
> Matthias...
> 
> Construct the iOS native field on going to a card and delete the iOS native field on closing a card... as the field is an overlay and that is what you are seeing...
> 
>> Hi,
>> 
>> When i go from one card to another card, which contains native fields, with a visual effect,
>> i can see the native field already on the "old" card before the new card is shown.
>> 
>> I go from one card to another with visual effects using this script
>> 
>> lock screen for visual effect
>> go card "whatevername"
>> unlock screen with visual effect push right very fast
>> 
>> If the target card contains ios native field, then one can see this fields already on the "first" card from where i want to go to the target card.
>> It seems that native fields are always shown, regardles if the screen is locked or not.
>> 
>> Does anyone know, how to fix that?
>> 
>> Regards
>> 
>> Matthias
>> _______________________________________________
>> 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
> 		 	   		  
> _______________________________________________
> 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




More information about the use-livecode mailing list