Download presentation
Presentation is loading. Please wait.
Published byAlicia Malone Modified over 9 years ago
1
CISC 110 Day 9 Grande Finale File I/O, Downloading Images, Components, 3D, Internet Development, Uber-Advanced
2
Outline File Input / Output (I/O) Downloading Images Components 3D Internet Development Uber-Advanced 2
3
File I/O Loading a File (File Input) var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEventListener(Event.COMPLETE, onLoaded); function onLoaded(e:Event):void { trace(e.target.data); } myTextLoader.load(new URLRequest("example.txt")); //myTextLoader.load(newURLRequest("http://dougwightman.com/cisc110/onlineExample.txt"));http://dougwightman.com/cisc110/onlineExample.txt
4
File I/O Downloading an Image var ldr:Loader = new Loader(); var url:String = "secret.jpg"; /* var url:String = "http://dougwightman.com/cisc110/mystery.jpg";http://dougwightman.com/cisc110/mystery.jpg */ var urlReq:URLRequest = new URLRequest(url); ldr.load(urlReq); addChild(ldr);
5
File I/O Writing a File (File Output) Possible to write to a local or remote (Internet) location Local location: special access privileges required Remote location: special software required –ActionScript + PHP Example
6
Components Drag from the Components Library (or write ActionScript) –Buttons –Sliders –Checkboxes –Progress Bars –Scrollpanes –TextAreas Examples on Adobe LiveDocs …but be careful about copy and paste – may need to link packages…
7
3D CS4 Supports 3D Transforms There are also 3D Packages for Flash
8
Internet Development Apache MySql phpMyAdmin
9
Uber-Advanced Multi-dimensional Arrays Hash tables Trees
10
…be confident – you are already far more skilled than you yet realize – congratulations on a job very well done!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.