/ Published in: MXML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="testObject()"> <mx:Script> <![CDATA[ private function testObject():void{ var blog:Blog; blog = Blog.find_by_name("Some Text Here."); } ]]> </mx:Script> </mx:Application>