as3 externally loaded swf from network to control externally loaded swf from network

前端 未结 3 1181
南笙
南笙 2020-12-12 05:55

I have had several posts like this but I have not gotten down to the final answer so I put this image together to try and explain what I am trying to do. I AM SO CLOSE. if

3条回答
  •  误落风尘
    2020-12-12 06:35

    Ok I found it!

    var InsideConent:Object = this.parent.parent as Object; //// GIVES ACCESS TO "Content.swf"
    var ItWorksNow:Sprite = MovieClip(InsideConent.TWO.content).ChildInTWO;  /// 
    
    ItWorksNow.x = 333;  /// I can control property x
    ItWorksNow.alpha = .3;  /// I can control the ALPHA! :)
    

提交回复
热议问题