Creating InDesign files from scrap for digital (tablet) publications isn't too difficult. But you need to design within certain borders and boundaries, and 'soft proof' your creation constantly.
Sometimes you want to show more content than will fit on one fixed screen or area of the screen. That content may be either images or text.
Solution
There are several design solutions, but one way is to use the Pan and Zoom feature of Adobe's Digital Publishing Suite to create a scrollable frame holding anything you wish.
You want to get NetworkInfo between iOS and Android but one uses a Native Extension (iOS)
Solution
The methods that the NetworkInfo Native extension for iOS uses are the same as the native ActionScript. After adding the native extension to your Flex project, create an interface that defines the methods you want to use. Then create two classes that implement that interface.
You have a hosted video that you want to share on the web or mobile devices.
Solution
Use the free and super-easy-to-use video player called Flash Media Playback. The following how-to video walks you through the simple steps of getting the HTML embed code for the Adobe-hosted video player and pasting it into a finished web page so you can play your own hosted video file anywhere (that Flash Player is).
(Video below is currently offline pending a bug fix by the Cookbooks engineering team. A resolution is expected shortly.)
Working with events in AS3 isn't as easy as it used to be in the past. While you need to monitor every event in your application there is no real easy way to do it without manually remembering all of your events and remembering to remove them on a one by one bases(ohi so much work...).
With all the new features and powers of AS3 came a lot of leg work. So many classes out there tried to tackle this issue from many interesting and different directions. But most of them demand a large learning curve and a big shift in the way you would interact with your code, some through a framework that locks you into a development style, some changed the way flash handles events.
Solution
Essentially Event Controller is an easier way to keep track of events in actionscript 3. Event Controller is a simple extension to your normal workflow that allows you to easily tag, group and remove any and all events, pause events and restore them when you want them back and more.
We know that there are many great solutions out there from very talented people. But we wanted to bring out another option the most simple one we could think about and we are with our ears to the community(so far in our 3rd revision) to making it even easier. The goal is to create the most simple yet feature rich event hub. Let unknown leaks be a thing of the past by taking our library out for a spin.
The CameraRoll class will allow you to add picture taken with CameraUI to the CameraRoll (Photos) gallery on iOS. However the file is still inaccessible due to iOS security and the native JPEGEncoder is very slow.
Solution
You will need to use the Loader, File, FileStream, and Alchemy version of encoding classes to write the new image to a place on the disk you are allowed to access it from.
If you are deploying an application that uses the network connection on a mobile device, you may want to take into account that you only want to do this when the device is using a WiFi connection and not a data connection to save costs. But how do you know which connection the device is using?
Solution
In Flex 4.5 you can request a list of all available interfaces on the device. All you have to do is find the proper interface and check to see whether or not it is active.
The biggest question of most developers i encounter is this: this a good time to learn flash? is it to late to join the party? Is the next party going to be in flash or a different language is swiftly coming to take over (JavaScript?HTML5?)?
Solution
I know knowing things is important but what is the most bang on the buck? I'm going to attempt to prove how and why flash is still king when it comes to the most fun,profitable, and time effective platform to work on. Does that mean HTML5/Javasciprt is out? no not at all Flash isn't in the same play ground as Javascipt is and we will look into what that means as we explore a personalized perspective of web/dev history.
This site is produced in partnership with O'Reilly.