New Toronto Group

AIR

Ternary Conditional Operator in ActionScript 3 - New Toronto Group

Ternary Conditional Operator in ActionScript 3

| June 05th, 2013 by Chad Upton

By Chad Upton - senior consultantTernary operators exist in most modern programming languages and actionscript is no different. These short operators may look strange if you've never seen them before, but they're very helpful, especially if you want to add conditional arguments to mxml bindings.This is an example of a ternary conditional operator:[cc lang="css" escaped="true" line_numbers="false" theme="blackboard"]var…

Read more »

Posted in as3, Chad Upton, operator, shorthand, ternary | 0 Comments

PlayBook SDK and Simulator with AIR 2.7 - New Toronto Group

The Gist of Code Sharing

| April 17th, 2013 by Oliver Merk

Agile development teams often need to share code while in the heat of battle.At the high end of the scale, there are publicly-accessible repositories, such as GitHub. Creating a GitHub project is obviously overkill for those wishing to simply pass a few key lines of code to their buddy in the next seat.For stand-alone, runnable demo code, sites like Plunker and JSFiddle  are great. You will see references…

Read more »

Posted in Code Sharing, Github | 0 Comments

Getting started with AIR and BB10 - New Toronto Group

Getting started with AIR and BB10

| May 23th, 2012 by Rod Nolan

I just started to play with the latest BB10 SDK for Adobe AIR. I had a couple of issues right away so I’m going to document them here to save you the headache. First, make sure you download the correct SDK. Sounds simple, I know, but it wasn’t immediately apparent that there are currently two different SDKs available for download. BlackBerry PlayBook SDK for Adobe AIR, easy to find but not the…

Read more »

Posted in AIR BB10 BlackBerry PlayBook ActionScript Native Extension | 0 Comments

PlayBook SDK and Simulator with AIR 2.7 - New Toronto Group

BlackBerry Hackathons - Come out and Play(Book)!

| May 16th, 2012 by Oliver Merk

I'm currently in Bogotá, Colombia taking part in my third Hackathon on behalf of RIM. These hackathons are two-day events where local developers get the opportunity to interact directly with experts in PlayBook development. They also get a free PlayBook just for showing up!We typically have a team of three experts covering AIR, HTML5/WebWorks and Native development. Most of the events have been focused…

Read more »

Posted in AIR, HTML5, Native, WebWorks | 0 Comments

Ternary Conditional Operator in ActionScript 3 - New Toronto Group

Fixing "Unknown Problem" in Adobe Flash Builder

| March 16th, 2012 by Chad Upton

By Chad Upton - senior consultantI'm not sure what causes it, but I was seeing it a lot for a while.When it first appeared, I checked google to see if anyone else had the same problem. No luck there. Then I talked to Derek Santos and Alain Thibodeau and they had seen it as well. Here's what we've found takes care of it: Close all open tabs in Flash Builder (middle click on tab or left click on the…

Read more »

Posted in error, flash builder, Flex, flex problem, unknown problem | 0 Comments

Generate a Certificate with ADT and ANT - New Toronto Group

Flex Mobile: Skinning the ActionBar

| January 25th, 2012 by Alain Thibodeau

By Alain Thibodeau - ConsultantIn a Flex mobile application, the ActionBar is the main bar at the top which contains several content areas. These areas consists of the titleDisplay, actionGroup, titleGroup and navigationGroup skin parts. With a custom skin you can move these skin parts where you need them and add background images.I first hit Photoshop and created my visuals for the ActionBar as shown…

Read more »

Posted in Actionscript, AIR, flash builder, Flex, Mobile | 0 Comments

Ternary Conditional Operator in ActionScript 3 - New Toronto Group

Creating an HRule in MXML with Spark Components

| January 10th, 2012 by Chad Upton

By Chad Upton - senior consultantAlthough there is an MX HRule component, there is not a Spark equivalent. You could still use the mx component, but it's better to use a vector graphic for something as simple as a straight line -- particularly if you're building a mobile application.For a horizontal rule, you can simple set the width of the line, the color, and the weight (stroke/thickness).[cc lang="mxml"…

Read more »

Posted in 4.6, Flex, hrule, line, mx, sdk, solidcolorstroke, spark, vector, vrule | 0 Comments

Using Sprites in Flex 4 Applications - New Toronto Group

Flex IMXMLObject Interface

| January 06th, 2012 by Derek Santos

[cc lang="actionscript3"]function initialized(document:Object, id:String):void;[/cc]Here is Adobe's documentation for this function:"Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized."What this means is that once the parent is created and has intialized its properties, it will pass a reference of the parent to your IMXMLObject…

Read more »

Posted in Actionscript, Flex, IMXMLObject, ViewHelper | 0 Comments

Generate a Certificate with ADT and ANT - New Toronto Group

Flex Mobile: IconItemRenderer Example

| January 05th, 2012 by Alain Thibodeau

Here is an example of using IconItemRenderer in the simplest form: MyIconItemRenderer.mxml 12345678910 HomeView.mxml 1234567891011121314151617181920212223242526272829303132333435363738394041424344

Read more »

Posted in | 0 Comments

Ternary Conditional Operator in ActionScript 3 - New Toronto Group

Introduction to Amazon SimpleDB for Adobe Flex and AIR Apps

| November 21th, 2011 by Chad Upton

By Chad Upton - senior consultantFlex is a great platform for building applications quickly. Amazon SimpleDB is a cloud database with similar characteristics along with some unique advantages and trade-offs compared to traditional databases.SimpleDB is a non-relational database that focuses on small data sets. It is built in Erlang and intended to run in the Amazon cloud, but there is an offline/local implementation that…

Read more »

Posted in amazon, Chad Upton, cloud, M/DB, simpledb, web services | 0 Comments