# HELP! I badly need help migrating from 2.0 to 3.0!

**URL:** <https://forum.kirupa.com/t/help-i-badly-need-help-migrating-from-2-0-to-3-0/234213>\
**Category:** flash\
**Created:** [July 31, 2007, 1:54pm UTC](https://forum.kirupa.com/t/help-i-badly-need-help-migrating-from-2-0-to-3-0/234213 "2007-07-31T13:54:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KillaRizzay](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@KillaRizzay](https://forum.kirupa.com/u/KillaRizzay)\
**Post date:** [July 31, 2007, 1:54pm UTC](https://forum.kirupa.com/t/help-i-badly-need-help-migrating-from-2-0-to-3-0/234213/1 "2007-07-31T13:54:54Z")

</div>

Ok, after 2 and a half solid days researching (books, video tutorials, this site, Senocular’s site, etc) I finally can’t search no more and will simply post my questions here and hope for a response. I have 90% of my code migrated to 3.0 but i still have 2 problems:

1. I still havent figured out how to target an object. Im trying to access an object in my timeline from my .as file and since theres no \_root, i tried many of the alternatives with no luck so for now i changed _\_root_ to _this_. Can someone tell me how to use the stage to access the root or even how to use Senocular’s TopLevel.as?

2. In the same .as file (but the 2.0 version) I had many lines where id say:  
\_root.Main\_Mc.textBox.text = myFunction (param1, param2);

As i said i updated \_root when migrating so the statement now looks like:  
this.Main\_Mc.textBox.text = myFunction (param1, param2);

Now in as2.0, the textbox would call the myFunction, pass it what it needs, and then display the return value of the function but now i get: “_Error 1180: Call to a possibly undefined method myFunction_”. I assume they changed how this works in as 3.0?

If someone, _anyone,_ could shed some light on my issues id be forever grateful. Im about a a lock of hair away from insanity. So I beg of you, please help me out!

Thank you in advance.
