# Tween scope

**URL:** <https://forum.kirupa.com/t/tween-scope/256106>\
**Category:** Uncategorized\
**Created:** [March 30, 2008, 8:37pm UTC](https://forum.kirupa.com/t/tween-scope/256106 "2008-03-30T20:37:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [March 30, 2008, 8:37pm UTC](https://forum.kirupa.com/t/tween-scope/256106/1 "2008-03-30T20:37:54Z")

</div>

I’m using tween animations imported in.

Most of my code is on my root, however there is a MC which gets dupilcated and loads in seperate xml data

atm I’m just using one alpha tween in the mc, but so far I seem to lose scope unless I load the tween class in to the MC, which is daft, seeming it gets duplicated.

…

the MC in question, loads in XML and displays a thumbnail gallery, the tween is onLoadComplete function and alphas the file in.

**var** myAlpha:Tween = **new** Tween (targetMC,"\_alpha",Strong.easeOut,0,100,3,true);

is there a simple way of just referring to the imported tween on the root

or would I have to call a function on the root, referring to targetMC?

…

thanks
