# Gaia framework + navigations

**URL:** https://forum.kirupa.com/t/gaia-framework-navigations/294516
**Category:** Uncategorized
**Created:** [August 15, 2009, 1:16pm UTC](https://forum.kirupa.com/t/gaia-framework-navigations/294516 "2009-08-15T13:16:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tristessa](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tristessa](https://forum.kirupa.com/u/tristessa)
#### Post date: [August 15, 2009, 1:16pm UTC](https://forum.kirupa.com/t/gaia-framework-navigations/294516/1 "2009-08-15T13:16:53Z")

</div>

Hello there,

I am testing out some gaia framework things, more specific a navigation

Now i have on the nav.fla a movieclip called total\_nav, where my buttons reside.

now i found the tutorial about creating pages & navigation inside gaia  
but when i make my code like this:

total\_nav.button1:MovieClip;  
i get errors inside the navPage.as file. more specific, it seems i can’t write total\_nav.button1, but then how do i link from the class into the total\_nav clip so i can access button1 and button2.

The thing is i need to have the navigation in a movieclip(nested) cuz i want to move it, during the project to specific values.

Any words on how i can use nested movieclip for my navigation like so? Might be uber noob question but i wasn’t able to find it myself.  
Thanks

```auto

class pages.NavPage extends AbstractPage
{
    private var buttons:Array;
    private var names:Array;
    public var total_nav.button1:MovieClip;
    public var total_nav.button2:MovieClip;
    
    public function NavPage ()
    {
        super ();
        _alpha = 0;
        initButtons ();
    }
    public function initButtons ():Void
    {
       total_nav.button1.branch = "index/nav/buttonone";
       total_nav.button2.branch = "index/nav/buttontwo";

        
        buttons = [total_nav.button1, total_nav.button2];
        names = ["my Button name one","my Button name two"];
        var i:Number = buttons.length;
        .........//rest of code, irrelevant to this example

```
