package { import flash.display.Sprite; public class CallPackagedFunction extends Sprite { public function CallPackagedFunction() { PackagedFunction(graphics); } } }
package { import flash.display.Graphics; public function PackagedFunction(target:Graphics):void { target.lineStyle(0); target.lineTo(100,100); } }
Related Scripts with Example Source Code in same category :