InsideRIA: Facebook Application Development with AS3 Series

Posted in Flash, facebook on April 17th, 2009 by eccheung4

InsideRIA started a new series of articles covering Facebook Application Development using the new Facebook ActionScript 3 library. They always produce great articles and I’m sure this will be a great series with 20 articles to come!

InsideRIA: Facebook Application Development with AS3

Tags: , , ,

Facebook Connect and Flash AS3

Posted in Flash, Flex on March 26th, 2009 by eccheung4

Obviously Facebook is popping up everywhere and I’m sure a lot of companies will be looking to integrate it with flash. Pieter Michels has started a great effort in bridging Facebook Connect and Flash using Actionscript 3. He provides a simple example using Flex and AS3.

Pieter Michels post on Facebook Connect to Actionscript 3
Pieter Michels Code Library at github as FBFlashBridge

Example of Facebook Connect with Flash at http://connect.redbullusa.com/

http://developers.facebook.com/
Facebook Connect Wiki
Facebook Developer Forum

UPDATE 3/30/09: I just noticed this post while looking through Facebook documentation. Looks like Adobe and Facebook are officially working together to support Flash and Facebook.

ActionScript 3.0 Client Library for Facebook Platform - revamped open source version by Jason Crist
Adobe Developer Connection for Facebook - materials and samples

Tags: , , , ,

ComboBox Problem - not displaying correctly when loaded in parent swf

Posted in Flash, Problems on February 27th, 2009 by eccheung4

I remember this previous problem with a ComboBox not showing up properly when a swf is loaded into a parent swf and the problem came up again as I was updating a project to AS3.

Main reason for problem (according to yarcub):
“The component uses system fonts and masks only work on embedded fonts.
Finally the FP10 new text engine will fix a lot of those issues.”

Here’s more info on the problem and possible solutions:
http://www.gotoandlearnforum.com/viewtopic.php?f=29&t=19118

Tags: , , ,

WARNING: Text field variable names are not supported in ActionScript 3.0.

Posted in Flash, Problems on February 15th, 2009 by eccheung4

I’m working on converting a AS2 project to AS3 and this error showed up. “WARNING: Text field variable names are not supported in ActionScript 3.0.” I had trouble finding the problem, but it turned out I just had to change the publish settings back to AS2 first then I could delete the text field variable being used for the text field. You can’t change or even see that there is a text field variable when the publish settings are AS3.

Tags: , , ,

De MonsterDebugger

Posted in Flash, Flex on February 7th, 2009 by eccheung4

Just found out about this AS3 AIR/Flex/Flash Debugger called De MonsterDebugger from Tiago’s Weblog. I’ll definitely have to try it out for my next project. Editing properties during runtime will definitely come in handy when trying to satisfy the positioning of elements for designers.

De MonsterDebugger

Tags: , ,

Set useHandCursor = false for button to disable events behind it

Posted in Problems on January 31st, 2009 by eccheung4

I had this problem in Flash, which entailed disabling some dynamic buttons that had mouseover,mouseout and click events when they were moved under a certain area. This was easily solved by creating an invisible button and setting the property useHandCursor = false. So if you want to disable anything that moves under some area, you can just create a button and set its useHandCursor = false and anything below it will not work. I’m pretty sure I came across this problem before because it seems so familiar. Hopefully this post will help me remember how to solve it and others if they come across this problem as well

Tags: , , ,

AMFPHP 1.9 Beta

Posted in Flash, Projects on January 29th, 2009 by eccheung4

I’m working on a flash project that I used AMFPHP with before, but it was an older version.  I thought this might be a good time to try out AMFPHP 1.9 Beta.   So I thought I would add the resources and tutorials that I find here.  Its been pretty simple to setup so far following the docs. I used AMFPHP 1.2 before and one thing I’m glad that is gone is the Method Table.  Essentially you had to list the functions that were available for the service, which was annoying because if you made a change to the function params, you’d have to update the Method Table.

Here’s the list of related AMFPHP sites, if you have any other good links please share and I can update the list.

AMFPHP docs
AMFPHP 1.9 beta2 from SourceForge
Video Tutorial - Intro to AMFPHP 1 (gotoandlearn.com) - Set up and simple email service
Video Tutorial - Intro to AMFPHP 2 (gotoandlearn.com) - use mysql to return data
AMFPHP Security Basics based on this blog post by Wade Arnold

Integration with Drupal
Internal: Combining Drupal, AMFPHP, SWFAddress and Flash
Retrieving Drupal nodes with Flex 2
Groups.Drupal Adobe Technologies

UPDATE:
AS3 AMFPHP Tutorial List by Carlos Pinho - Great list, wish I found it earlier.

AS3 AMFPHP Class and Wrapper by Kyle Brekke - Easy to use class for AMFPHP

Tags: , , , ,

Keyboard not working when fullscreen using AIR

Posted in Flex, Projects on January 22nd, 2009 by eccheung4

A while back I had a problem with the keyboard actions not working when I was in fullscreen for an AIR application. Luckily, the keyboard wasn’t really need for the app, but it would have been nice. So today, I just happened to pass through the documentation while I was looking something else up and found out that I just had to set

stage.stageDisplay = StageDisplayState.FULL_SCREEN_INTERACTIVE

instead of

stage.stageDisplay = StageDisplayState.FULL_SCREEN.

Tags: , , ,