Image object not existing ?

Peter Brigham MD pmbrig at gmail.com
Mon Feb 14 11:21:01 EST 2011


May try adding the stack specifier to the image and btn references in  
your script?
    img "imgFondSliderIntensité" of stack "myStackName", etc.
-- it sounds as if when that script is running the defaultstack has  
been set to a different stack.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig


On Feb 13, 2011, at 9:23 AM, René Micout wrote:

> Hello everybody,
> I have a one card stack (LiveCode 4.5.3 build 1210 / Mac OS X  
> 10.6.6) named "Exagofon".
> In my stack I have an image object named "imgFondSliderIntensité" to  
> which reference is made from some buttons > all works perfectly.
> When I put into the stack script (into "on openStack" script) this  
> line :
> put (the left of img "imgFondSliderIntensité") + round((the width of  
> btn "btnThumbVolumeGénéral")/2,0) + vpValeur - 1 into vxX
> everything continues to work well, but...
> when I save the stack, I have this error message :
> Chunk: no such object
> Object: Exagofon
> Line: put (the left of img "imgFondSliderIntensité") + round((the  
> width of btn "btnThumbVolumeGénéral")/2,0) + vpValeur - 1 into vxX
> Hint	: imgFondSliderIntensité
> Why ?
> Rene(é)
> _______________________________________________
> 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