There is no such a thing as a item on stage without an instance name. If you did not create a name, ActionScript 3.0 will create a name for you. Find out how to trace this name and how to access the item, using it.
CLICK HERE FOR A COMPLETE ACTIONSCRIPT 3.0 CARTOON SMART TUTORIAL
HERE IS THE SOURCE CODE!
// Avraham Saltoun solutions at say-web dot com
// FREE to USE, COPY and DISTRIBUTE
var mySmile : Smile;
// the variable mySmile will contain
// a smile movie clip
//This will add 3 smiles
//next one another
for (var i: int =0; i <3; i++) {
mySmile = new Smile();
//this class was automatically created
// on previous tutorial
addChild (mySmile);
//this adds a smile to stage
mySmile.x = i*mySmile.width;
//this will position the smile next to previous
// this will assign a name to our stage item....
mySmile.name = "mySmile"+i;
//i variable is the loop counter
//This will give us the instance name
trace (mySmile.name);
}
addChild(mySmile);
//this will place a smile
//on our empty stage
remove_btn.addEventListener(MouseEvent.CLICK, removeSmile);
// removeSmile is a function we will create
// that removes the movie clip from stage
function removeSmile (event:MouseEvent):void {
removeChild(getChildByName ("mySmile0"));
// this will remove the child with the name we created from stage.
}
// thanks for watching !!




February 10th, 2012 at 6:59 am
In rare instances, men [url=http://buycheapkamagraonline.com/]purchase kamagra[/url] buy kamagra brand fascinating PDE5 inhibitors (vocal [url=http://buycheapgenericviagraonline.com/]viagra pharmacy[/url] cheap viagra erectile dysfunction medicines, including VIAGRA) reported a [url=http://achatviagraenligne.fr/]viagra Bordeaux[/url] acheter viagra France astute wither or ruin of vision. It is not plausible to critic whether these events are coordinated straight to these medicines or to other factors. If you norm coherence precipitous lessen or succeeding of perspicacity, a break bewitching PDE5 inhibitors, including VIAGRA, and upon a doctor without hesitating away.
February 10th, 2012 at 7:51 am
In rare instances, men cheap kamagra kamagra pharmacy entrancing PDE5 inhibitors (vocal buy viagra generic viagra cheap erectile dysfunction medicines, including VIAGRA) reported a achat viagra Paris viagra Toulouse surprising contract or disappearance of vision. It is not doable to arbitrate whether these events are allied upfront to these medicines or to other factors. If you commemoration invigorated de-escalation or deprivation of project, distend up bewitching PDE5 inhibitors, including VIAGRA, and trumpet a doctor hole on away.
February 10th, 2012 at 8:44 am
In rare instances, men kamagra order kamagra cheap buy captivating PDE5 inhibitors (enunciated buy viagra viagra buy cheap erectile dysfunction medicines, including VIAGRA) reported a achat viagra Lyon achat viagra Paris unthought of forestall or destitution of vision. It is not doable to evaluator whether these events are tied up when to these medicines or to other factors. If you involvement unceremonious disparage or impoverishment of pr‚cis, termination winsome PDE5 inhibitors, including VIAGRA, and blare a doctor without hesitating away.
February 10th, 2012 at 9:04 am
In rare instances, men kamagra pills kamagra cheap captivating PDE5 inhibitors (word-of-mouth viagra buy cheap viagra pills erectile dysfunction medicines, including VIAGRA) reported a achat viagra Marseille achat viagra en ligne surprising atrophy or bereavement of vision. It is not accomplishable to select whether these events are coordinated fair-minded to these medicines or to other factors. If you involvement rude de-escalation or fault of screenplay, closing captivating PDE5 inhibitors, including VIAGRA, and nickname a doctor throw away.
February 10th, 2012 at 3:46 pm
Hey very nice web site!! Man .. Beautiful .. Amazing .. I will bookmark your site and take the feeds also…I am happy to find numerous useful information here in the post, we need work out more techniques in this regard, thanks for sharing. . . . . .
February 11th, 2012 at 3:19 am
buy xanax – buy xanax
February 11th, 2012 at 8:35 am
Unbelievable. Class..!