[FMX] Head Scratcher!

hey. on my movie when you increase the height then click the skinny button, there is junk left behind, how do i stop this? here is the skinny button code:


on (release) {
	widthV = block_mc._width;
	setProperty ("block_mc", _width, widthV - 10);
}

and this is where my movie can be found:
http://www.geocities.com/mdipi2k2/height.html

anyone? PLEASE?!

on (release) {
	_root.block_mc._width -= 10;
}

Try that.

thanks lost i will try it asap!

Let me know how it goes.

nope lost:( still is weird. oh well.

Works fine for me, considering that is used to replace setProperty.

Try changing all of your options using that method.

If you chance all of them, maybe it will work.

as soon as i find time! :stuck_out_tongue: i might go see HP2 today so its an if day.

I might be going to see that Sunday…lol.

perhaps you can edit it with _xscale and _yscale instead of _width and _height… might work a little better… not sure though… personally ive never used _width or _height… just _xscale and _yscale

Same here about the _width and _height, but the difference I noticed…

_xscale and _yscale adjust by percentage, where _width and _height adjust by actual pixels.

wow i didnt know that… i figured xscale and yscale used pixels cuz it refered to the x and y of stuff… but i wasnt sure… that sounds like its good to know…

Yeah I figured it out when I was using a 1px by 1px square and I wanted to make it 100x100 px, but it wasn’t working.

So I tried it with _width and _height and worked like a charm :slight_smile:

And when I increased the scaling to more than 100 it grew, so I came to the conclusion scaling has to deal with %s.