via PayPal / credit card
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
I'm trying to load monoslideshow in my AS3 swf, but it's not working.
I've followed the manual instructions and the comments on this thread:
I'm getting the error:
ReferenceError: Error #1069: Property setViewport not found on flash.display.AVM1Movie and there is no default value.
at hs_ss1_fla::MainTimeline/onLoadComplete()
My code is:
var loader:Loader = new Loader();
var monoslideshow:Object;
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
addChild(loader);
loader.load(new URLRequest("monoslideshow.swf"));
function onLoadComplete(event:Event):void {
monoslideshow = event.target.content;
monoslideshow.setViewport(new Rectangle(50, 50, 480, 360));
monoslideshow.loadDataFile("monoslideshow.xml");
}
1 to 1 of 1