{"id":211,"date":"2010-12-07T08:49:28","date_gmt":"2010-12-07T15:49:28","guid":{"rendered":"https:\/\/gonzalo.aro.cl\/blog\/?p=211"},"modified":"2010-12-07T08:49:28","modified_gmt":"2010-12-07T15:49:28","slug":"cambiar-una-aplicacion-flex-a-air","status":"publish","type":"post","link":"https:\/\/gonzalo.aro.cl\/blog\/2010\/12\/07\/cambiar-una-aplicacion-flex-a-air\/","title":{"rendered":"Cambiar una aplicaci\u00f3n Flex a Air"},"content":{"rendered":"<p>Cuando tienes una aplicaci\u00f3n Flex funcionando y quieres que se traspase a Air debes seguir los siguientes pasos:<\/p>\n<p>En el archivo .actionScriptProperties en la etiqueta compiler cambiar useApolloConfig=\u00bbfalse\u00bb hacia useApolloConfig=\u00bbtrue\u00bb.<br \/>\nEn el archivo de tu aplicaci\u00f3n MXML cambiar la raiz del XML desde Application hacia WindowedApplication.<br \/>\nEn el archivo .project reemplazar la naturaleza del proyecto desde<\/p>\n<pre class=\"brush: xml\">\r\n<nature>com.adobe.flexbuilder.project.flexnature<\/nature>\r\n<\/pre>\n<p>hacia<\/p>\n<pre class=\"brush: xml\">\r\n<nature>com.adobe.flexbuilder.apollo.apollonature<\/nature>\r\n<\/pre>\n<p>Finalmente debes incluir un archivo descriptor de la aplicacion<\/p>\n<pre class=\"brush: xml\">\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<application xmlns=\"https:\/\/ns.adobe.com\/air\/application\/1.1\">\r\n\t<id>MiAplicacion<\/id>\r\n\t<filename>MiAplicacionAir<\/filename>\r\n\t<name>MiAplicacionAir<\/name>\r\n\t<version>v1<\/version>\r\n\t<initialWindow>\r\n\t\t<content>Inicio.swf<\/content>\r\n\t\t<title>MiAplicacion<\/title> \r\n\t\t<systemChrome>standard<\/systemChrome> -->\r\n\t\t<visible>true<\/visible>\r\n\t\t<width>800<\/width> \r\n\t\t<height>600<\/height>\r\n\t<\/initialWindow>\r\n<\/application>\r\n<\/pre>\n<p>Esta debiese estar dentro del directorio raiz de tu aplicacion (por lo general donde mismo esta tu MXML).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cuando tienes una aplicaci\u00f3n Flex funcionando y quieres que se traspase a Air debes seguir los siguientes pasos: En el archivo .actionScriptProperties en la etiqueta compiler cambiar useApolloConfig=\u00bbfalse\u00bb hacia useApolloConfig=\u00bbtrue\u00bb. En el archivo de tu aplicaci\u00f3n MXML cambiar la raiz del XML desde Application hacia WindowedApplication. En el archivo .project reemplazar la naturaleza del proyecto [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-desarrollo"],"_links":{"self":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/211"}],"collection":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":4,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gonzalo.aro.cl\/blog\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}