I have 1 .fla and 2 .as files. The first .as file is called documentClass and is the document class for the .fla. The second .as file is called tracePrac contains a function that traces a varible in tracePrac.as. I want to know how i call for this function in my documentClass.as code?
tracePrac:
documentClass:Code:package { import flash.display.MovieClip; public class tracePrac extends MovieClip { public var traceNumber:Number=3245; public function tracePrac() { trace(traceNumber); } } }
Thanks for your helpCode:package { import flash.display.MovieClip; public class documentClass extends MovieClip { public function documentClass() { tracePrac(); } } }
Aaron




Reply With Quote