Image object not existing ?
René Micout
rene.micout at numericable.com
Mon Feb 14 11:55:58 EST 2011
YES !! This is that !
My main stack is the "About" stack and when I refer to objects in "on openStack" script my stack is not "open"... I understand...
I modified that and all works well (no error message).
I turned the problem by placing these lines in the card script under "on openCard"...
But it is better for me to place this in the stack script.
Thank you Peter !!
Bon souvenir de Paris
Le 14 févr. 2011 à 17:21, Peter Brigham MD a écrit :
> 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
>
>
> _______________________________________________
> 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