Archive for the ‘AIR’ Category

Alchemist for Adobe AIR on Android

Tuesday, February 16th, 2010

At this year’s Mobile World Congress 2010 in Barcelona Adobe Systems Inc. officially announced the much anticipated Adobe AIR for Smartphones and Mobile Devices. Using Adobe AIR, developers and designers will be able to build standalone applications to target devices running the Google Android operating system.

Adobe’s own Michael Chou was kind to feature our “Alchemist” game in their technology announcement post which you can see here.

Alchemist on Motorola Droid

We at InRuntime Ltd. have been working closely with Adobe for the last couple of weeks to deliver our new games across a range of new platforms and devices using pre-release and lab versions of Adobe CS5 family products. As a result of that “Alchemist” game is currently available in three formats:

  • Adobe Flash 10.1 version for web (optimized for mobile) – play for free
  • Native app for iPhone and iPod Touch – info | purchase
  • Adobe AIR Mobile for Google Android (technology preview)

If you are attending MWC 2010 this year, make sure to stop by Adobe’s booth at Stand 1D45 in Hall 1 and see “Alchemist” running on a wide range of devices!

During the next few weeks I will be posting information on our company website and this blog about cross-device and cross-platform development using the exciting new tools available in Adobe Creative Suite 5 (CS5). Please follow us on Twitter @inruntime and @pauliusuza to get the latest updates!

Thanks!

AS3 Scale9 Bitmap – New In Codex

Wednesday, February 18th, 2009

AS3 Scale9 Bitmap is helper class that lets you create scale9 sprites with bitmap data fill – originally this was not possible in Flash 9. The helper class creates a “fake” scale 9 sprite containing 9 shapes that scale according to user-defined scaling matrix. Extremely useful for user interface work (creating buttons, scalable UI elements etc.).

Read Documentation
Download AS3 Scale9 Bitmap (4104)

Demo:

Scale9SimpleStateButton (top left), Scale9SimpleBitmapSprite (top right) and original skin files (bottom row)


Watch EMA 2008 Live + AIR APP

Thursday, November 6th, 2008

On an extremely short notice (5 hours) me and my team at ZenTeam.gr have made it possible to watch MTV EMA 2008 awards live on MTV.gr website and through AIR application installable from the frontpage. The video feed is live now and streaming Perez Hilton directly from the EMA Red Carpet as we wait for the main event :)

ENJOY THE EMA 2008 SHOW!

For your convenience the video feed is served through Akamai CDN so the connection and sound quality should be top-notch wherever you are.

Freelancing 101

Friday, July 18th, 2008

Once in a while in my business there’s a customer who thinks he is the greatest thing that happened to me and then disappears. Some of them go silently – just stop answering emails when you send them the source code (lesson learned). For some of them it’s enough to get the demo file to be able decompile it (lesson learned too). Some of them go away loudly citing Aristotle, calling names and naming matters of principle.

Here are some tips to avoid unfortunate problems while doing freelance work:

No rocket science

As a service provider you have to give away the completed product ONLY after the full payment has been made, or at least such guarantees are in place (such as Escrow process). If you don’t have such guarantees – you can be easily ripped off and not paid for your work.

Client’s size or his reputation should not be a factor for trust. Especially if you are an in-house developer, ask yourself: why would a multinational company with years of reputation and millions in cash would give the development of it’s most anticipated online product to your hands? Why do they care to bargain until the price gets ridiculously low?

Trust can be gained through depositing funds in Escrow and releasing them shortly after adequate project steps have been finalized, this will help both sides to feel that the project is going well and no one is trying to fool anyone. If you don’t use Escrow for your projects, make sure that you at least ask for an advance payment that should cover your basic development costs. The worst thing that could happen is to spend weeks on something that will not be published online at all. Even if you get ripped of and your source code get’s decompiled and reworked, you still have the benefit of claiming copyright rights to the final published work and putting it in your portfolio.

Budget and Timeline

Project’s time line and budget CAN and often DO change. Communicate any technical problems you encounter as soon as possible to your client and ask for extension of development timeline / budget if it is necessary, especially if you are working on an hourly basis – every minute you delay will cost you money.

If the project is large it is hard to keep track of every little detail, shift of deadline or little change in the specifications. So it’s very good if you communicate with your clients through an online tool such as Basecamp, then you can easily keep track of the changes to the project and adjust the budget / timeline accordingly.

Communication

Communicate professionally without getting into personal details with the client and keeping your tone official. Always remember – this is just business, there’s deadline, requirements and budget – nothing else nothing more. Use email as much as possible, if a problem occurs it helps to keep the emotions down to minimum and pick your words carefully. Respect the client and never talk with him in a disrespectful manner, if it happens that you are on the verge of a big conflict – take a walk to cool down, think how you can solve the problem and finish your project without escalating the tension.

Things To Avoid

  • Avoid clients that get too personal too early. Calling you “buddy”, promising you fame and fortune, a new 3G iPhone, shares in their business or a vacation with them in the Caribbean.
  • Avoid people who undermine your professionalism by citing your age, race or religion. It is discriminatory and should not be tolerated. In my current company the greatest talent is 18-24 years old, most of them are better than me in one discipline or another.
  • Avoid projects that are below your budget requirements, in case the project goes flop the advance payment will not be enough to cover your basic development costs.

That’s about it. I am sure that learning from someone else mistakes is better than learning from your own.

And I wish best of luck to you all in freelancing!
Paul

Showcase in PV3D

Thursday, July 10th, 2008

Long time since I wrote my last decent post and I think it is just the right moment for change!

During these few months a lot has happened in my life, new job, new industry, new experiences – both good and bad. It was all overwhelming for me however I felt that I was lacking something. While trying to solve a million of daily tasks and work related problems in my head I forgot my best friend – Flash.

So I’ve made some adjustments to my schedule and since beginning of this month I’m officially a freelancer (again), woohoo! :)

To strengthen my position and to get you, dear readers, interested in what I do, I’ve put together a simple portfolio website which will be constantly upgraded and updated with new additions during the next 6 of months. Showcase site uses Papervision3D as it’s main rendering engine and also features a very cool custom made search engine which in theory could handle 1.000.000 items without hanging the Flash Player!

No more taking. Ladies and gentlemen – click away: http://www.uza.lt/showcase, besides this link the showcase should be accessible via a dedicated link in the top menu.

And as always, don’t forget to leave feedback (bad or good)! :)

AIR 1.0, Aptana Studio and ExtJS

Monday, February 25th, 2008

Today (February 25, 2008) Adobe has finally released AIR 1.0 into the wild.

It has been a wonderful experience to see this technology mature in Adobe’s Apollo pre-release program and to take active part in this process. I want to congratulate the Adobe AIR team and all pre-release program members for their great work and valuable input into finally getting AIR through the door! Woohoo!

(more…)

Many Faces of Flash, The Guide

Saturday, December 8th, 2007

I want to take a moment and talk about Flash and and what You can do with it. This is a mini-guide for people who are looking into Flash as their primary platform but have not made up their mind yet.

(more…)

$.console – update

Tuesday, September 4th, 2007

$.console has been updated to version 1.1 with the following changes:

  • Fixed a bug where console would not show more than 4 lines of code on some systems
  • Added ability to pass parameters as an Array to registered functions
  • Added additional key listener (220) for German keyboards


The new way functions handle parameters is very useful for debugging:

Actionscript:
  1. $.console.register(testD,"D");

Now type "D 1,2,3,4" without quotes in the console to see the result.
It will call the following function:

Actionscript:
  1. private function testD(param:Array = null):void {
  2.     if(param) {
  3.         $.trace("with param " + param);
  4.     } else {
  5.         $.trace("without param");
  6.     }
  7. }

I want to say special thanks to Eric (ericd) and Dave for spotting the bugs. Thanks guys!

Download Source (v1.1)

Flickr Opens Crossdomain.xml

Wednesday, August 29th, 2007

Flickr has decided to fix the issue of accessing their images from Flash Player. They have a new crossdomain policy file (located at http://static.flickr.com/crossdomain.xml) that allows full access to Flickr images.

This means that you are now able to access and modify BitmapData from the loaded images in any way you like.

More information at Yahoo! Flash(R) Blog

Results: Right Click

Monday, August 27th, 2007

Hey everyone,

First of all I would like to thank everyone for their great feedback regarding the Right-Click project. I have received thousands (!!!) of feedback emails with your browser data which helped me to better understand the different browser compatibility issues.

The mostly incompatible platforms for now are:

  • Opera (all OS)
  • Firefox 2 (Linux)
  • Firefox 2 Russian
  • Safari 2 (OS X)

There are also incompatibilities with almost all mouse-gesture browser plugins and specific mouse software running outside browser. These plugins capture mouse events using the browser's JS engine and often fail to pass them on to HTML correctly.

I would also like to note that first click inside Flash Player does not generate the event. This is not a bug! it is required for IE browser to start capturing mouse events correctly. Without this safeguard the mouse event would fire at last known mouse position inside Flash Player, which is in most cases somewhere near the Flash/HTML border and it can produce unwanted results.

Script's success rate is 86%. I think this is pretty good for a very basic Javacript hack, but yet far from perfect.

Once again I want to clarify that by contributing my time to this project I did not meant to "customize the Flash menu" or "sabotage the Flash Player" but instead I wanted to be able to use the right-click event in Actionscript 3 natively for creative purposes (for ex. RTS games where left-click selects units and right-click dispatches orders). In the world of multitouch interfaces we are still tied to a single click in Flash Player and I would like to be able to change that. However, I want to turn this project a in a little bit different direction and kindly ask you to contribute to the discussion in the comments.

What do you think?:

  • Can you think of a cool scenario (website, application or game) that uses right-click events in Flash?
  • Do you as a developer need right-click events in Flash Player and how would you use it?
  • Do you think this technology will be abused? How and why?
  • What do Adobe's minds think about this?

Thank you.