# Assigning AS3 script to mc sited inside othe mc

**URL:** <https://forum.kirupa.com/t/assigning-as3-script-to-mc-sited-inside-othe-mc/319323>\
**Category:** Uncategorized\
**Created:** [February 16, 2011, 10:43am UTC](https://forum.kirupa.com/t/assigning-as3-script-to-mc-sited-inside-othe-mc/319323 "2011-02-16T10:43:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shtrudel](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@shtrudel](https://forum.kirupa.com/u/shtrudel)\
**Post date:** [February 16, 2011, 10:43am UTC](https://forum.kirupa.com/t/assigning-as3-script-to-mc-sited-inside-othe-mc/319323/1 "2011-02-16T10:43:49Z")

</div>

Hi there,

I defined a Button symbol that contains another mc symbol, now I am trying to assign a AS3 to the inner mc symbol but I don’t know how to refference it.

The code I am trying to assign to the inner mc symbol is -

[COLOR=RoyalBlue]import fl.transitions.Tween;  
import fl.transitions.easing.\*;  
import fl.transitions.TweenEvent;

var jump:Tween = new Tween( innerMC,“y”, Strong.easeOut, innerMC.y, innerMC.y - 4, true);[/COLOR]

How do I assign the code to the inner mc symbol ?

regards,
