Archive for March, 2007
« Previous Entries Next Entries »Write your first file to the file system using Apollo
Monday, March 19th, 2007Creating a file is very simple with Apollo. This is a very basic example of how to create a new file which is saved to the appStorageDirectory. Simply create a new Apollo project within FlexBuilder and paste the following as the main file.
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:ApolloApplication xmlns:mx=”http://www.adobe.com/2006/mxml”>
<mx:Script>
<![CDATA[
import flash.filesystem.*;
private var stream:FileStream;
private function saveFile():void{
var file:File = File.appStorageDirectory.resolve("HelloWorld.txt");
var stream:FileStream [...]
Editing the Apollo Descriptor File
Monday, March 19th, 2007The descriptor file is used by the installer to define the application name, publisher, description, copyright, and icons. Open the project named MyApolloApp that was created in the “Creating your first Apollo Application with Flex Builder” and edit the publisher, description, and copyright information within the properties section of MyApolloApp-App.xml.
Your file should look something [...]
Deploy an AIR file with FlexBuilder
Monday, March 19th, 2007To package the Apollo application we just built (Creating your first Apollo Application with Flex Builder) into a distributable AIR file, simply right click on the project, choose Export.
Select Deployable AIR file and click Next
Select the files you wish to include in the AIR package and click Finish
To run it simply launch the .air file [...]
Creating your first Apollo Application with Flex Builder
Monday, March 19th, 2007After installing the plug-in.
Open Flex Builder
Choose File -> New -> Apollo Project
Give it a name like MyApolloApp.
Open the main file (MyApolloApp.mxml), switch to design mode, add a few components.
You will have something like this:
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:ApolloApplication
xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”>
<mx:Label text=”Hello World, Apollo Rules !!” horizontalCenter=”0″ verticalCenter=”0″/>
</mx:ApolloApplication>
Now just hit the run button , and you will see this:
That’s [...]
Apollo Name Vote Results
Sunday, March 18th, 2007After 3 days of votes, the opinions of the developers is obvious, but unfortunately, Apollo will not be the product name. Here is Mike Chambers response:
“Yes. We also really like the Apollo name, but for various reasons we
cannot use it as the final name. Apollo is just a code name, and will not be [...]






