I'm starting to give my first steps in livecode and i'm having a problem that I'm not being able to deal with (and its frustrating because its a BASIC thing....)
I have an image inside a group and I want to be able to change that image size by script. LEts say, with buttons to increase and decrease the size.
so, my image name is "play_area_bg" and i tried to do the following:
Code: Select all
on mouseUp
set the width of image play_area_bg to 2000 px
-- set the width of image play_area_bg to the width of image play_area_bg + 50
end mouseUp
the second string gives me the error "button "Button": execution error at line 3 (Chunk: no such object) near "play_area_bg", char 55"
I really don't understand way and i would like to understand

Thanks ins advance
- Miguel