I really need some help please. I have just started learning AS from this book and am having a little trouble. I have to make a thingie whereby when u enter values into 2 input txt boxes an image modifies its scale and alpha accordingly. Now I have done everything I am supposed to but the funny thing is NOTHING happens. I’ll post the code (I applied it to the button which I think is right)…
First off, you’re setting the scales to a string, “scale”, not the variable, so kill the quotes. Now with text boxes, the value in any textbox will always be a string, so you have to do a little type conversion. In this case, you want Number(value);
Please do not look at the design … I just plonked some stuff in there to try and do this (in other words it looks like it’s been put together by a rhino) :sigh:
I don’t know how to get it to you cause it;s 220 kb and zipped it’s 180 kb … please help
Thanx,