Mobile browser properties and messages

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Mobile browser properties and messages

Post by Pistris » Thu Sep 22, 2016 4:09 am

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.

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Mobile browser properties and messages

Post by Klaus » Thu Sep 22, 2016 10:39 am

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

Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Re: Mobile browser properties and messages

Post by Pistris » Thu Sep 22, 2016 5:46 pm

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

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Mobile browser properties and messages

Post by Klaus » Thu Sep 22, 2016 5:57 pm

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

Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Re: Mobile browser properties and messages

Post by Pistris » Thu Sep 22, 2016 9:41 pm

So is there a better alternative to animated gifs in livecode?
What would be the best route? What are u using?

Thanks

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Mobile browser properties and messages

Post by Klaus » Fri Sep 23, 2016 11:27 am

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

Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Re: Mobile browser properties and messages

Post by Pistris » Fri Sep 23, 2016 5:30 pm

Well perfect then.

Thank you so much Klaus.

Post Reply