Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Access Label in Nested Symbol

$
0
0

Hello All;

 

OK. Here we go.

Project is laid out like so

Stage

MainMenu (Symbol)

   SubMenu1 (Symbol)

 

 

Within the MainMenu, I have a Label (ShowSub1)

The MenuItem under the MainMenu, when clicked, needs to activate the label (ShowSub1)

However, I cannot seem to access the Symbols.

 

 

This is the code that I have tried.

 

Access all Symbols

sym.getComposition().getStage().getSymbol('MainMenu').getSymbol("SubMenu1").play('ShowSub1 ')
Also tried this as well
sym.getComposition().getStage().getSymbol("SubMenu1").play('ShowSub1')

 

I need to Access the SubMenu Symbol and Label from within the MainMenu.

 

Any assistance on this would be great.

Thanks

Wayne


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>