background preloader

AS3

Facebook Twitter

ActionScript Snippets. Hummingbird AS3 MVC Framework. V3.1.9 engine improvement. Hey folks!

V3.1.9 engine improvement

2014 sounds already like a busy year, even for Flash Developers (take that Apple), and we don’t forget at all the Citrus Engine! Here come a new update with mostly bug fixes and some improvements. Thanks to everyone for their support! Changelog Feathers updated on 1.2.0DrabonBones updated on 2.4.1CitrusEngine.handlePlayingChange can be overriden to modify the default behavior of CE (input resetting as well as audio pause/resume).LevelManager enables SWF caching, very useful on iOS.

Set the new property enableSwfCaching to true.GamePadMap.devPlatform : force a platform value to use on setups (to simulate other platforms such as WIN/MAC/LNX/AND)Gamepad.debug is a static boolean.CitrusSoundEvents moved to citrus.events package and fixed.Introducing CitrusEngine.transformMatrix which when using StarlingCitrusEngine describes the transformation matrix necessary to go from native stage to starling stage (includes viewport translation as well as starling stage scale).

Happy coding! Working tutorial to install AIR native extensions in Flash Develop 4 (Windows desktop project) Installing a native extension in Flash Develop 4 on a Windows Desktop project is a pain in the ass, and the worst part is that the best tutorial you can get searching in google about this is incomplete and innacurate.

Working tutorial to install AIR native extensions in Flash Develop 4 (Windows desktop project)

I have a lot of experience working with native extensions so I decided to create my own tutorials on how to install them for Windows and for Mobile projects. For a Windows app: Packager.bat: replace the line that starts with “call adt” for: call adt -package %OPTIONS% %SIGNING_OPTIONS% -target native %AIR_TARGET% %APP_XML% %FILE_OR_DIR% -extdir lib/ Run.bat: replace the line that starts with “adl “%APP_XML%” for: adl “%APP_XML%” “%APP_DIR%” -extdir lib/ Adobe AIR Native Extensions round-up: iAd ANE Ad.

Flash Daily. Protect SWF files from decompilers with our free online encryption software for Flash - SWFLock. Threading in Flex. There have been several times where we have had to process large sets of data in our client side Flex applications.

Threading in Flex

Several of these locked the UI for up to 15 seconds on slower machines until we started chunking up the work load. Eventually, we solved this issue by developing a framework to instantiate and manage ‘thread’ objects. The threads are really just managed time slices. The framework has the following features: This library has gone through our open source review board and has been approved to be released into the wild :)

ECMAScript 4 muere, complica el futuro de AS3 y Javascript. Roadmap for the Flash runtimes. This section contains a roadmap for Flash runtime releases and features over the next year.

roadmap for the Flash runtimes

This document will be updated as we continue to define and extend this roadmap beyond the time frame reflected below. The information is provided as a guide to help developers and content providers understand the high-level direction of the Flash runtimes, as well as specific features that are being planned or considered. Please note that the roadmap represents Adobe’s current plans and thinking around the Flash runtimes, and is subject to change. The further into the future a planned release is, the more likely specifics around that release will change. Untitled. Documentar tus proyectos de Actionscript 3 con ASDoc.

Algo imprescindible en cualquier proyecto grande o en el que vayan a participar varias personas es tener el código comentado, de manera que todo el mundo pueda comprender la funcionalidad de cada clase, y de sus propiedades y funciones.

Documentar tus proyectos de Actionscript 3 con ASDoc

De igual manera, es posible con ciertas herramientas generar automaticamente la documentación de nuestras clases y proyectos en formato HTML (O el que queramos) similar a la documentación de la referencia de Actionscript o similares. Todo gracias a ASDoc, el equivalente a JavaDoc en el mundo de Flash/Flex.Desde la versión 2.01 de Flex, Adobe ha incluido asdoc, una utilidad que genera la referencia html de los comentarios que hemos puesto en el código. @private - impide que una propiedad o método aparezca en la explicación html porque si no se especifica ningún comentario, ni este tag, aparecerá de todas formas. As3isolib - ActionScript 3 Isometric Library. As3isolib (v1.0) is an open-source ActionScript 3.0 Isometric Library developed to assist in creating isometrically projected content (such as games and graphics) targeted for the Flash player platform.

as3isolib - ActionScript 3 Isometric Library

As3isolib includes utilities, primitives and views. As3isolib was developed with simplicity, speed and performance in mind so that developers can focus on actual implementations rather than having to learn a complex API. The as3isolib is loosely based on a scenegraph implementation. Game development guide. Mikechambers/as3corelib. Keeping Bitmaps Decompressed « JacksonDunstan.com. Jan 21 2013 by jackson in AS3 Tags: bitmap, bitmapdata, garbage collection, GC, performance, preload It came to my attention in the comments of Preloading Bitmap Decompression that Flash Player would actually free the decompressed bitmap memory if you didn’t make active use of it, similar to garbage collection.

Keeping Bitmaps Decompressed « JacksonDunstan.com

So if you followed my strategy from that article to preload a bitmap, it may have been un-preloaded for you by Flash Player! ¡Hasta siempre! A lo largo de este año dos ideas han ido cogiendo fuerza en mi cabeza, y ahora que se acaba el 2012 las voy a hacer realidad: Ya no dedicaré más tiempo personal a la plataforma Flash.Cierro el blog.

¡Hasta siempre!

Y aquí va un último post para explicar un poquito de qué va esto: La historia y muerte del Flash Player en iPhone y Android. Todo empezó hace cinco años.

La historia y muerte del Flash Player en iPhone y Android

Cuando el iPhone salió y Apple, famosamente, prohibió la existencia de Flash en el teléfono. De ahí se desprende una saga gigantesca: 2007, salida del iPhone El 2007 sacudió al planeta entero. La salida del primer dispositivo multitouch, teléfono, navegador completo, computador real de bolsillo, a un precio semi-sensato, fue una sorpresa para la que nadie estaba preparado. 2008, la bipolaridad de Apple y Adobe. Starling 1.3. Daniel Sperl on January 14, 2013 A new year has started — it's about time that our little Starling bird was updated to the next version, to show off all that it has learned over the past months!

Starling 1.3

2012 has been an amazing year for our little bird. I'm especially happy to see how the community around it is getting bigger and bigger. Tutorial de AMFPHP y Actionscript 3. Muchas veces queremos conectar Actionscript con alguna base de datos o enviar mails, etc..., sin embargo Flash, Flex y AIR por si mismo no traen un mecanismo que lo haga nativamente por lo que debemos usar algun lenjuage que nos permita hacer de back-end.

Si bien hoy en día hay muchas posibilidades (Weborb, Zend Framework, ...) usaremos la mas conocida y simple: AMFPHP, que como su nombre lo indica, nos comunicará con una clase PHP. Flash AS3 Pixel based circle collision engine. Guida allo Sviluppo Software » Implementing Encryption in AS2 and AS3. Actionscript – PHP: Encriptación de datos. Estoy empezando a usar encriptacion en Flash, ahora estoy obligado por un pedido expreso del cliente, pero lo estoy encontrando util para aplicarlo en el futuro para todos los proyectos, especialmente cuando uno guarda cookies y variables shared object. Feathers - Open Source UI Controls for Starling Framework.

Pancake Pandemonium « Chris Andrews. Pancake Pandemonium is the first of four children’s interactive storybooks published by Digital Leaf, deployed on IOS and Android. The book is based around one little girl’s dream of eating piles of pancakes which turns into a nightmare. Its a very fun tale and is made even better with lots of interactive elements which bring the story to life.

The story even features narration by an adult and a child, or the option to read it yourself. Hidden within the story are pans that can be collected which unlock a fun bonus game. Within each scene the user can do different things, such as: Touching polly to make her wake up the sleeping dragon. The app created by Playerthree and was built using Adobe Air and Stage3D, utilising the Starling framework.

The book is currently available on IOS and can be found here on iTunes and will soon be available on Google Play. FlashRealtime.com. Using the GoViral social networking native extension for Android. With the GoViral native extension for Android from Milkman Games, you can rapidly integrate social networking support for Facebook, Twitter, and email into your mobile AIR application using ActionScript 3. The GoViral extension for Android is a completely native Java solution that enables you to: Integrate with the official Facebook app and website for authenticationSend Facebook invitations (recipients are directed straight back to your app or to Google PlayAccess the entire Facebook Graph API through ActionScript 3Use one-line functions for common Facebook tasks like invites and wall postsDisplay native Facebook dialog boxes with the official Facebook Android SDKSend plain-text or HTML email messages to friends with image attachmentsPost scores or other status updates to TwitterJumpstart development with a complete sample application, ActionScript 3 documentation, and a getting started guide GoViral is also available for iOS.

Figure 1. Click Apps in the top menu. Figure 2. Actionscript 3 - How to create a native installer in AIR. i.e Installer should be .exe, .deb, .dmg instead of .air. Starling Framework - The Open Source Game Engine for Flash. Overlaying AIR SDK for Flash Professional CS5.5.