Image woes

Jim Ault JimAultWins at yahoo.com
Wed Nov 15 01:41:25 EST 2006


One trick to resizing may be to
on preopencard
set the visible of the last image to false
resize, then viz


Jim Ault
Las Vegas
On 11/14/06 10:25 PM, "Scott Kane" <scott at cdroo.com> wrote:

> Hi folks,
> 
> I'm working on a quick and dirty little project and am using Trevor Devore's
> "empDB" sample project as the basis.  The problem I'm having is that the
> stack I need to use must have tool buttons with images.  Now the problem is
> that Trevor uses the "last image" variable to retrieve the data from a
> custom property.  The result is that the first card in the stack loses the
> plot and the image ends up taking over the entire card - instead of sizing
> itself nicely inside the button.  This only happens with the first card -
> the subsequent cards size the image perfectly.  I'd prefer to store the
> image in the card in this instance but that's proving to be somewhat
> difficult given the behaviour of the first card.  Is there something I'm
> missing with the "last Image" variable or indeed the custom property?  I'm
> not sure how to retrieve the data directly from the custom property and size
> it, there doesn't seem to be anything attached to it that I can use to
> resize.  Of course I could be completely wrong on that.





More information about the use-livecode mailing list