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