Desarrollando Aplicaciones con Adobe Apollo, FlashDevelop (II)
April 13, 2007 on 7:34 pm | En Adobe Integrated Runtime (Apollo) | 22 ComentariosComo continuación a este post donde comentaba brevemente lo que era Apollo, para más tarde explicar en este post como desarrollar nuestras aplicaciones por medio del SDK de Apollo.. Pasaré a explicar qué necesitamos, y cómo podemos compilar y empaquetar nuestras aplicación con FlashDevelop.

Comienzo dando por hecho que tenemos ya instalado tanto el runtime como el SDK de Adobe Apollo. De no tenerlo, es necesario descargarlo de aquí.
Si no tenemos instalado el SDK de Flex, debemos descargarlo e instalarlo. Disponible aquí.
Necesitaremos descargar e instalar la útima versión de FlashDevelop. Yo actualmente tengo la versión 2.0.2 disponible aquí.
Una vez instalado FlashDevelop, le añadiremos un Template para aplicaciones Apollo que podremos descargar de aquí. Tendremos que situarlo en la carpeta Data/Project Templates del directorio donde instalamos FlashDevelop.

Lo siguiente que necesitaremos, es descargar la última versión disponible de ANT.
Yo he descargado la versión 1.7.0 disponble aquí.
En mi caso he descomprimido el contenido de ANT en el directorio C:/ant de mí pc.
Una vez realizado esto, tendremos que modificar la variable de sistema Path, añadiendo la ruta del directorio bin de ANT. Para ello en las propiedades de Mi Pc, en la pestaña de Opciones Avanzadas encontraremos el botón Variables de entorno que nos llevará a una ventana similar a esta donde añadiremos la ruta del directorio bin de ANT.

Llegados a este punto añadiremos un nuevo botón al toolbar de FlashDevelop para poder llamar desde alli a ANT. Para ello modificaremos el fichero ToolBar.xml situado en la carpeta Setting, del directorio donde tengamos instalado FlashDevelop.

Añadiremos:
-
<button label="ANT Build" click="PluginCommand" image="54" tag="Run;SaveAll;ant" shortcut="CtrlF7" />
Una vez hecho esto, tendremos que volver al template que descargamos. Dentro de la carpeta 07 Apollo Project encontraremos un archivo llamado build.properties. Este archivo lo podemos abrir con el bloc de notas. Necesitamos editar y comprobar que tanto la ruta del SDK de Apollo como la del SDK de Flex están bien indicadas.. Encontraremos algo similar a esto:
-
# Flex 2 SDK and Apollo SDK directories.<br />
-
flex2.dir=C:/Program Files/Adobe/Flex_2_SDK<br />
-
apollo.dir=C:/Program Files/Adobe/Apollo<br />
En caso de que las rutas no esten bien indicadas, simplemente debemos cambiar esas rutas por las correctas.
En este mismo archivo encontraremos lo siguiente.
-
# Values are 'test' or 'air'.<br />
-
# test - Launches your Apollo app without packaging an AIR file.<br />
-
# air - Publishes your Apollo app as an AIR file and generates documentation.<br />
-
launchmethod=test
En esa linea indicaremos si probamos nuestra aplicación Apollo como haciamos al llamar a ADL, o si creamos nuestro .air como haciamos con ADT.
Una vez realizado todo esto, ya sólo nos queda abrir FlashDevelop y en el menú Project/New Project nos aparecerá una ventana donde seleccionaremos Apollo Project.
Automaticamente se nos generarán los archivos necesarios para poder empezar.

Y para probar nuestra aplicación Apollo, simplemente tendremos que pulsar en el nuevo botón que hemos añadido..

22 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^
como siempre, fantastico!
gracias por el tutorial Sergio, es lo suficientemente detallado que hasta yo he sido capaz de seguirlo sin ningun problema
Prefiero mil veces usar FlashDevelop que Eclipse o que el metodo anterior de hacer muchas cosas “a mano” (con el command line)
Salut!
Comment by Ernesto Quezada — April 14, 2007 #
Para mi hoy por hoy FlashDevelop es una gran herramienta a tener en cuenta!
Gracias por estar ahi Brunin!
Comment by ...sErGiO... — April 16, 2007 #
segui los pasos al pie de la letra pero !!!!NO ME EJECUTO!!!
mira lo q me sale plx HELP!!
http://img338.imageshack.us/img338/9853/neoshooter1nh5.png
Comment by gecko — June 13, 2007 #
Instalaste bien ANT?
Comment by ...sErGiO... — June 13, 2007 #
mqjw pcioe amateur sex llpcmw o wa h ooa
kqwd mnkkl [URL=http://www.amateurporn234.com – amateur porn[/URL – ubvnga u qh o sku
Comment by amateur porn — April 12, 2011 #
Cheap tramadol cod buy cheap cod online tramadol….
Buy online cheap and fast tramadol. Buy cheap tramadol mg tablets only in us online. Buy tramadol. Buy tramadol online save wholesale price yep….
Trackback by Buy tramadol pharmacy index. — April 12, 2011 #
Great – I need to certainly pronounce, impressed with your site. I had no difficulty navigating implies all the tabs also as linked info ended up being genuinely simple to accomplish to entry. I lately discovered what I hoped for ahead of you realize it in any way.
Comment by synthetic rattan dining chair — April 12, 2011 #
Do you use any cache plugin on this site?
Comment by Public Fucking Tube — April 20, 2011 #
Terrific piece of writing and also quick to be able to fully understand story. How do My partner and i begin acquiring agreement to be able to place component with the page within my new newssheet? Offering right credit rating for your requirements the particular source and also weblink for the online site will not be described as a concern.
Comment by liposukcja — June 30, 2011 #
Thank you for sharing superb informations. Your site is very cool. I’m impressed by the details that you’ve on this blog. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for more articles. You, my friend, ROCK! I found just the information I already searched all over the place and just could not come across. What a perfect website.
Comment by Aron Dimeo — July 10, 2011 #
I love you’r blog design, which template do you have? please comment back!
Comment by Yankees — July 15, 2011 #
Hi there! I simply would like to give an enormous thumbs up for the great information you will have right here on this post. I can be coming back to your blog for more soon.
Comment by Pozycjonowanie stron Tarnobrzeg — July 18, 2011 #
Thanks for the fantastic stuff in your post. I will absolutely be seeing more of your articles when I get home. Added to favorites!
Comment by Blog Poster — July 19, 2011 #
Hello, Neat post. There is an issue with your website in web explorer, would check this… IE still is the market chief and a big part of people will pass over your fantastic writing because of this problem.
Comment by Jarrod Viereck — August 6, 2011 #
Сильному да храброму незачем нападать исподтишка. Пусть честный враг приготовится к битве, пусть вынет из ножен меч, застегнёт на себе броню. Так больше славы его одолеть. найдешь тут ogli
Comment by Beibrilliax — August 7, 2011 #
I am happy that I observed this web site, exactly the right information that I was looking for!
Comment by pro flight — August 8, 2011 #
I conceive you have remarked some very interesting details , regards for the post.
Comment by pomysl na biznes — August 9, 2011 #
Great website here.. I would love to see another post but can’t find the menu to naviagte. You can drop me an email with more info if you like. Keep this up and do not stop! Greetings from my Country!
Comment by dom wielkopolska — August 19, 2011 #
Hey would you mind stating which blog platform you’re working with? I’m looking to start my own blog in the near future but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something unique. P.S My apologies for being off-topic but I had to ask!
Comment by Sonya Kaler — September 4, 2011 #
Aw, this was a very nice post. In concept I want to put in writing like this moreover ? taking time and precise effort to make a very good article? however what can I say? I procrastinate alot and not at all appear to get one thing done.
Comment by Jim Chizmar — September 26, 2011 #
How do you do? We just loves your beautiful article thank you and please keep it up
Comment by free iphone 4 apple — September 28, 2011 #
Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and return to read more of Blog de Sergio Ãlvarez Fernández » Desarrollando Aplicaciones con Adobe Apollo, FlashDevelop (II) . Thanks for the post. I’ll definitely return.
Comment by liberty reserve — January 19, 2012 #