TestApp.mxml v0.1


/ Published in: MXML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
  3. applicationComplete="testObject()">
  4. <mx:Script>
  5. <![CDATA[
  6. private function testObject():void{
  7. var blog:Blog;
  8. blog = Blog.find_by_name("Some Text Here.");
  9. }
  10. ]]>
  11. </mx:Script>
  12. </mx:Application>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.