2013-07-18 2 views

답변

0

질문에 약간의 혼란이 있습니다. 무대 인 심볼에 sym.playReverse()를 호출하고 싶습니까? 아니면 무대 안의 상징 "샘"입니까?

스테이지 내에서 "sam"이라는 심볼에 playReverse()를 호출한다고 가정 해 봅시다.

구성 이름이 EDGE-12345678이라고 가정합니다. 자바 스크립트 코드 :

$(window).resize(function() { 
    // Replace with your composition name. You read it in the proerties of the Stage. 
    var composition = AdobeEdge.getComposition("EDGE-12345678"); 
    var stage = composition.getStage(); 
    // Get the sam symbol, child of stage. 
    var symbolSam = stage.getSymbol("sam"); 
    symbolSam.playReverse(); 
});