Join Joseph Labrecque for an in-depth discussion in this video Saving a sketch, part of Building a Mobile App with Feathers and Starling.
Previously, we had rendered and encoded our canvas object…to a PNG file representation, stored in a byte array.…We'll now complete the sketching mechanism, by writing the image…render to a file, through the native file stream API.…So the first thing we'll need to is,…perform some imports within our sketch screen class.…The first thing we'll import is actually…the main class from com which is labrecque.quicksketch.…The reason we're going to do this is because we're going to want…to invoke a function on that class when this process is complete.…
So we say Import com.josephlabrecque.quicksketch.Main.…Next we'll want to import the Flash file system APIs.…So import flash.filesystem.File.…And the file class itself represents a File.…We'll also import File mode.…File mode determines what we want to do with that file.…So do we want to read the file into the system?…Do we want to write it?…In this case, we're going to want to write, and then file stream.…
File stream is the actual mechanism with which the…file gets read, or written, or anything like that.…
- Downloading the frameworks and the AIR SDK
- Configuring the project
- Implementing a theme
- Creating the screen classes
- Adding a navbar component
- Building the classes
- Returning saved files
- Publishing a project
- Installing and running the app
Skill Level Intermediate
Building Flash Games with Starlingwith Lee Brimelow2h 57m Intermediate
Flex 4.6 and AIR 3.0 New Features for Mobile Appswith James Talbot1h 49m Intermediate
1. Project Setup
2. Feathers Screens
3. Building the Interface
Using layouts in Feathers1m 55s
4. Sketch Functionality
5. Browse Functionality
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.