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 ...
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 ...
///////////////////////////////////////////////////
///// http://www.mediatutorial.web.id
///////////////////////////////////////////////////
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;
Jeremy | jfein.net
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?
///////////////////////////////////////////////////
///// http://www.mediatutorial.web.id
///////////////////////////////////////////////////
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.)
Last edited by Nile; 01-27-2010 at 03:51 AM.
Jeremy | jfein.net
oke, i will go to that actionscript.org forum..thanks
///////////////////////////////////////////////////
///// http://www.mediatutorial.web.id
///////////////////////////////////////////////////
Bookmarks