Hi,
I am using external .SWF movie on stage by using the following code. I want to mask some of the portion of this movie. How can I mask an external movie?
Code:
var mySwf1:SWFLoader = new SWFLoader("Clock.swf", {width:200, height:200, x:-300, y:-300, container:this, onComplete:completeHandler1});
mySwf1.load();
function completeHandler1(event:LoaderEvent):void {
TweenMax.fromTo(event.target.content, 3, {x:270, y:250, scaleX:.5, scaleY:.5, alpha:0}, {x:270, y:250, scaleX:2, scaleY:2, alpha:1, delay:3});
TweenLite.delayedCall(30, mySwf1.unload)
I have entered the [COLOR=#ff0000]**code **[/COLOR]on on [COLOR=#ff0000]**Layer2 **[/COLOR]and created a [COLOR=#ff0000]**MASK **[/COLOR](Circle shape) on [COLOR=#ff0000]**Layer1 **[/COLOR]and selected the MASK option by right clicking on [COLOR=#ff0000]Layer1[/COLOR]. But It did not work. How to resolve the problem?
Please help.