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

How to access symbol from different stage

$
0
0

Hi everyone,

 

I'm really new at Edge, so I still have a lot to learn and I need your help with something..

 

I want to know how to access a symbol from another stage, here's what I've and what I want to do..

 

I've the main index page with symbol named "content", in content I load other composition (page). called "page2".

all I want to do is when I click a symbol "XX" inside "page2". The "content" symbol loads other composition called "page3".


I don't know how to access "Content" from "page2", so I could load "page3" ..  that's it

 

I feel like it's simple, but I just couldn't know how to do it, I',m sorry for bothering you for such a question, but I've searched a lot and I got nothing.

 

Thanks

 

I thought I could use something like this

 

var comp = Edge.getComposition("EDGE-638329");  

var stage = comp.getStage(); 

var symp= comp.stage.getSymbol("content");

EC.loadComposition("assets/units/stage1/s1_3/s1_3.html",symp);

 

 

but it's still not working, could someone please tell me what I'm doing wrong?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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