can anyone explain me about this code?
var circle:MyCircle = (MyCircle)(e.target);
what i really don't understand is about (MyCircle)(e.target) ,
what does it mean? thanks ...
Printable View
can anyone explain me about this code?
var circle:MyCircle = (MyCircle)(e.target);
what i really don't understand is about (MyCircle)(e.target) ,
what does it mean? thanks ...
The below is not the right answer
In PHP - what some people do is:
Saying that $var is an int, so maybe its there to say that circle is MyCircle?PHP Code:$var = (int) 5;
HUM? yes in PHP we can say that $var = (int) 5; means $var is an int with the value 5.
but are you sure that (MyCircle)(e.target); is the same thing?
:) Does that answer your question?
Since there aren't many AS people on this forums - I would suggest: http://www.actionscript.org/forums/ (I've asked questions there a couple of times. :))
oke, i will go to that actionscript.org forum..thanks
Glad to suggest that to you. :)