So I have a sprite that is holding a map and some mc's overlaying the map....

I am trying to resize the sprite (and thus everthing in it...)

Something weird happens with the height....

The sprite is initially resized to, say, 500x500, and that works fine...


Then I have a listener set on when it is clicked and I am, in the listener 
function, initially doing:

trace(e.currentTarget.width);
trace(e.currentTarget.height);

and I get

500
-107374173

So it is not reading the height correctly...

and the if I try:

e.currentTarget.width = e.currentTarget.width+10;
e.currentTarget.height = e.currentTarget.height+10;

and I trace it and get:

510
107374173

What am I doing wrong?




_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to