From 52105472d05085e833be7677b92805d8d505bbc7 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 11 Jun 2009 07:26:42 -0400 Subject: [PATCH] still poking at it --- .gitignore | 2 ++ HubbleSiteDailyImageChumby.hx | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 HubbleSiteDailyImageChumby.hx diff --git a/.gitignore b/.gitignore index 9f63e7c..78b9238 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *~ *.n +*.swf + diff --git a/HubbleSiteDailyImageChumby.hx b/HubbleSiteDailyImageChumby.hx new file mode 100644 index 0000000..00af07b --- /dev/null +++ b/HubbleSiteDailyImageChumby.hx @@ -0,0 +1,17 @@ +class HubbleSiteDailyImageChumby { + static public function main() { + var xml:Xml = Xml.createElement("gallery"); + var myClip:flash.MovieClip = flash.Lib.current; + + var t:flash.TextField = myClip.createTextField("test", 1, 0, 0, 200, 200); + + flash.XMLRequest.load('http://hubblesite.org/gallery/album/daily_image.php', + xml, + onData + ); + } + + static private function onData(data : Null):Void { + trace("made it here"); + } +} \ No newline at end of file