KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
From this tutorial http://www.brighthub.com/internet/web-development/articles/11010.aspx I found the code below. Is there a way to break this out so the mxml file just has the mxml, and the code between the script tags is put in an actionscript file? Thanks. -Nick <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="600" height="400" frameRate="100" creationComplete="CreationComplete()" enterFrame="EnterFrame(event)"> <mx:Script><![CDATA[ public function CreationComplete():void { } public function EnterFrame(event:Event):void { } ]]></mx:Script> </mx:Application>
Tags (comma-separated)
Save Edits
Cancel