# How to Use \_parent in AS3.0

**URL:** <https://forum.kirupa.com/t/how-to-use--parent-in-as3-0/288725>\
**Category:** flash\
**Created:** [May 20, 2009, 8:00am UTC](https://forum.kirupa.com/t/how-to-use--parent-in-as3-0/288725 "2009-05-20T08:00:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gyan\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@Gyan\_Singh](https://forum.kirupa.com/u/Gyan_Singh)\
**Post date:** [May 20, 2009, 8:00am UTC](https://forum.kirupa.com/t/how-to-use--parent-in-as3-0/288725/1 "2009-05-20T08:00:18Z")

</div>

Hi Friends,  
in AS2 we used to \_parent and \_root.

but how we can use this in AS3.0

I have a problem…

I have a button “nextBtn” and a MovieClip “animMc” on the stage.  
on first frame of main stage i wrote “nextBtn.visible = false”,  
when animMc play and reach to last frame, nextBtn should be visible.

(in AS2, I can use “\_parent.nextBtn.\_visible = true”)  
But,  
how can i do this in AS3 ??
