Archive for the ‘ActionScript’ Category
Tuesday, December 2nd, 2008
Many times you may come up with tasks that seem pretty straight forward but involve a bit of researching. In a recent project, I needed to find a way pass a dynamically generated image from one flex application (swf) to another. My senior developer suggested that I pass the ByteArray ...
Posted in ActionScript, Flex, Technology | 3 Comments »
Saturday, October 11th, 2008
For those attending the user group meetings where I present on the topic of Architecting Flex Applications you may have interest in downloading the code for the sample application. The sample application is from Programming Flex 3, where you can find more detailed information and explanations about the application itself. ...
Posted in ActionScript, Flex, Technology | No Comments »
Wednesday, July 23rd, 2008
Jumping off of Joey's post about anonymous functions from externalinterface, here's a quick and perhaps obvious method of dynamically getting JavaScript properties:
package examples {
import flash.external.ExternalInterface;
public class JavaScript {
...
Posted in ActionScript, Flash, Flex, Technology | No Comments »
Tuesday, June 17th, 2008
A little while ago I worked on a project that required some Flex screens to have text fields display dynamic text using a specified maximum number of lines. A simple solution would be to merely define a height on a Text component. In this case there were other components that ...
Posted in ActionScript, Flex, Technology | 1 Comment »
Tuesday, June 17th, 2008
This is probably not news. In fact, it's definitely not _new_ news on account of I learned about it from Theo Hultberg's blog from a post from last year (http://blog.iconara.net/2007/02/06/flexunit/). However, it was, rather embarassingly, news to me, and therefore I'll post it just in case someone else doesn't know ...
Posted in ActionScript, Flash, Flex, Technology | 1 Comment »
Wednesday, June 11th, 2008
Video is the word. It is now used every capacity on the net. The idea of using video with animation is not new. Some would swear by using After Effects solely and not consider building flash timeline animation with video. In some case, you use what you know. And at ...
Posted in ActionScript, Flash | No Comments »
Thursday, June 5th, 2008
I've been working on an ActionScript library for a project. One of the recent and new requirements for this library is that it has to interface with a JavaScript API for a browser plugin. The JavaScript API for this particular plugin requires constructing instances of JavaScript objects, maintaining persistent references ...
Posted in ActionScript, Technology | 3 Comments »
Friday, May 30th, 2008
Occasionally I have the sense that I might be doing something as a workaround that is completely unnecessary, as though I'm jumping through hoops, listening for an exact sequence of one hundred events, and then squinting my eyes and tilting the monitor just right in order to assign text to ...
Posted in ActionScript, Adobe AIR, Flash, Flex, Technology | 2 Comments »
Wednesday, May 28th, 2008
I came upon a challenge creating a custom ToggleButtonBar component. The challenge was to display dynamic text on each button while displaying button states (up, over, down, selected). This is not a problem when you have simple formatted text. You can assign and style the text via the label ...
Posted in ActionScript, Flash, Flex, Technology | No Comments »
Friday, May 23rd, 2008
I only just recently started using Firebug (www.getfirebug.com.) It seems it's a popular way to debug JavaScript and HTML in Firefox. I use Firefox as my preferred browser, but working with Flex and Flash I rarely have to debug HTML or JavaScript. However, I was recently working on a project ...
Posted in ActionScript, Flash, Flex, Technology | No Comments »