var myGIFPlayer1:GIFPlayer = new GIFPlayer(); myGIFPlayer1.load ( new URLRequest (link ); this.g2.addChild(myGIFPlayer1);