[iOS] visual effect are not shown when using opencard
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Wed May 23 05:46:34 EDT 2012
Hi Mark,
i used that code also in the preopencard handler w/o an opencard handler. Shouldn´t that avoid this? But the visual effect is also not shown.
In the ide the visual effect is always shown.
Matthias
Am 23.05.2012 um 11:18 schrieb Mark Schonewille:
> Hi Matthias,
>
> This is because the card is opened before but rendered after the openCard message executes. A solution is to show a different first card that looks the same as your splash screen or display a graphic over your first card, hide it with locked screen and unlock with visual effect.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> We will have room for new projects after 1 June. Contact me now and be first in line.
>
> On 23 mei 2012, at 11:14, Matthias Rebbe wrote:
>
>> Hi,
>>
>> i am using
>>
>> lock screen FOR visual effect
>> go card "service"
>> unlock screen WITH visual effect "push left very fast"
>>
>> in a mouseup handler to go to another card on iOS.
>>
>> This works as long as i do not use some commands in the opencard handler of the target card.
>>
>> If the opencard handler of the target card contains something like this
>>
>> if the environment is "mobile" then set the documents folder to "cache"
>>
>> then the visual effect is not shown.
>>
>> If i just have a put statement like
>>
>> put 3 into a
>>
>> then the visual effect is shown.
>>
>> Are there some limitations i am not aware of?
>>
>> 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
More information about the use-livecode
mailing list