Creating an auto-updating button icon thumbnail image from card snapshot

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Fri Apr 1 07:31:15 EDT 2011


Thanks Mark - that's clear. I'll move my script onto the card, use 'openCard' as its base and provide something to distract the viewer whilst the thumbnails update!
Best,
Keith..

On 1 Apr 2011, at 11:49, Mark Schonewille wrote:

> Keith,
> 
> On preOpen... the control or card isn't open yet and you can't get a screenshot of it yet. A stacks or card needs to load completely before you can do such things. A very clear example is e.g. the impossibility to get the dimensions of a player if the movie of that player is being loaded duing a preOpenStack handler and the stack is invisible.
> 
> You might want to load a "please wait" picture first and load your custom image on openCard.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553




More information about the use-livecode mailing list