Differences Between Air SDK and Flex SDK

Recently, I upgraded the SDK for AS development from Flex SDK 4.9.1 to Air SDK 4.0, which caused a previously written FLV player to stop playing videos. Eventually, I discovered the bug was due to a variable name in a method being the same as a get method in the class. The situation is similar to what is shown in the image below: In the image, the variable time and the get method time have the same name. The compiler handles this naming conflict differently in Flex SDK and Air SDK. ...

March 27, 2014 · 1 min · Zhiya

Installing Flash Builder Plugin in Eclipse 4.3

Flash Builder is an Eclipse-based IDE. In the utilities directory of the Flash Builder folder, Adobe has provided an installation program for the plugin version, named Adobe Flash Builder 4.7 Plug-in Utility. This plugin version allows you to integrate Flash Builder into an already installed Eclipse as a view, enabling you to develop AS programs within Eclipse. After running the plugin installation program and following the prompts, you will find that the current latest version of Eclipse is 4.3. However, the Flash Builder 4.7 plugin version only supports Eclipse 3.7 or 4.2 and cannot be installed on 4.3. ...

February 27, 2014 · 1 min · Zhiya

Issue of Not Finding Base Class BitmapAsset After Upgrading to Flex SDK 4.9.1

A project compiled using the Flex SDK encountered the following error after upgrading the SDK to 4.9.1: errors: 1017: The definition of base class BitmapAsset was not found. After some Googling, I found that others have encountered this issue as well. See more details here: http://mail-archives.apache.org/mod_mbox/flex-dev/201303.mbox/%3CCD596C86.4E4D3%[email protected]%3E The core.swc in Flex SDK 4.9 is about half the size of the core.swc in 4.8, which suggests that some base classes have been moved out of core.swc, leading to the BitmapAsset not being found. ...

August 27, 2013 · 1 min · Zhiya

Loading SWF Files in Flash and Playing Frame by Frame

In Flash, importing and playing SWF files can be easily done using the loadMovie() function in ActionScript. However, playing them frame by frame is a bit more complex. When playing frame by frame, you either need to set a play time for each frame or manually control it with buttons. Here, we’ll take an example of playing frame by frame based on time, and explain how to control it using ActionScript. ...

November 22, 2012 · 1 min · Zhiya