diff options
Diffstat (limited to 'bPod/com/tubes/BuckyTube.as')
| -rw-r--r-- | bPod/com/tubes/BuckyTube.as | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bPod/com/tubes/BuckyTube.as b/bPod/com/tubes/BuckyTube.as new file mode 100644 index 0000000..8e57a80 --- /dev/null +++ b/bPod/com/tubes/BuckyTube.as @@ -0,0 +1,23 @@ +import com.events.EventBroadcaster; +import mx.utils.Delegate; + +class com.tubes.BuckyTube { + + private var query:String; + private var theTube:LoadVars; + public var articles:Array; + + public function BuckyTube(_inQuery:String) { + query = _inQuery; + init(); + } + + private function init() { + theTube = new LoadVars(); + theTube.onLoad = Delegate.create (this, buildArray); + theTube.sendAndLoad( query, theTube, "POST"); + } + + private function buildArray() {} // override plz; + +};
\ No newline at end of file |
