Page 1 of 1
Mobile browser properties and messages
Posted: Thu Sep 22, 2016 4:09 am
by Pistris
Hello guys
Where can i get a list of all the properties and messages a browser control generates for IOS
i tried the dictionary but no luck.
thank you so much.
Edd.
Re: Mobile browser properties and messages
Posted: Thu Sep 22, 2016 10:39 am
by Klaus
Hi Edd,
in the dictionary check "mobilecontrolget" and "mobilecontrolset" to see a list of available native browser related properties.
Sorry, no idea about messages.
Best
Klaus
Re: Mobile browser properties and messages
Posted: Thu Sep 22, 2016 5:46 pm
by Pistris
Thanks Klaus
I though that the control would pass messages for things like the user clicking somewhere or an address change, things like that
i think am gonna have to monitor that after the user the user clicks with the finger anywhere inside the rect of the control.
but thank you so much thats the information i needed.
On another note where can i find a good thread or tutorial on using animated images like gifs?
thanks again.
Edd
Re: Mobile browser properties and messages
Posted: Thu Sep 22, 2016 5:57 pm
by Klaus
Hi Edd,
there are only handful (only four, to be precise) of props related to animated gifs, check these in the dictionary:
framecount, currentframe, palindromeframes, repeatcount
Best
Klaus
Re: Mobile browser properties and messages
Posted: Thu Sep 22, 2016 9:41 pm
by Pistris
So is there a better alternative to animated gifs in livecode?
What would be the best route? What are u using?
Thanks
Re: Mobile browser properties and messages
Posted: Fri Sep 23, 2016 11:27 am
by Klaus
Hi Edd,
unfortunately animated GIFs are, beside video, the only animation format LC currently supports.
OTOH are there any other (more or less standard) formats at all?
I used to use single images (frames of animation) and set the icon of a button to their IDs with a
"send" command. Play around with the fequency of "send" a bit.
Best
Klaus
Re: Mobile browser properties and messages
Posted: Fri Sep 23, 2016 5:30 pm
by Pistris
Well perfect then.
Thank you so much Klaus.