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: , , ,

http://feeds2.feedburner.com/eccheung4

Posted in Projects on January 10th, 2009 by eccheung4

I just got a Dreamhost account to host my stuff. The transfer of my posts and data went fine, except I had to input all my links again unless I missed something when I was transferring it. Anyways, please update you’re RSS feed to http://feeds2.feedburner.com/eccheung4. If you’re interested in getting a Dreamhost account as well, you can use my promo code (ECCHEUNG4) and you’ll get $50 off.

Updated Links:
Blog: http://blog.eccheung4.com
Website/Portfolio: http://www.eccheung4.com
RSS Feed: http://feeds2.feedburner.com/eccheung4

Quaternion Tracer

Posted in Projects on December 31st, 2008 by eccheung4

fractal
Quaternion Tracer Video on vimeo.

Found this video while looking for a old Transformer game I worked on back in college. I worked on this interactive program with another person that explores 4-D fractals using quaternions. Changing parameters here and there, we produced these visualizations and made a video. The project was based on the paper, “Ray Tracing Deterministic 3-D Fractals (PDF)” (Computer Graphics, Volume 23, Number 3, July 1989)

I added the music by Bennie K - Sunrise to the file using AfterEffects. I probably could have just used any movie program, but I’m learning to use AfterEffects at www.lynda.com. A pretty good video tutorial service by the way, considering the amount of content they have and the price. I didn’t add any special effects to this video, but I found another video that I may play around with using AfterEffects. I can’t seem to find the files for that project though, just the final video.

thearmyexperience

Posted in Papervision3d, Projects on December 17th, 2008 by eccheung4

Here is the project I’ve been working on for Ignited that just pushed its next build live http://www.thearmyexperience.com. I mainly worked on the photo gallery, but I also helped fixed many other bugs through out the site. The only 3 major problems I had trouble figuring out was the OBJECT_CLICK event from the previous post, a good way to loop the gallery pictures, and this MOUSE_MOVE event with event.target and event.current target == stage that started popping up after I created the 3d gallery.

The Army Experience Center looks like a pretty awesome place to go if you are ever in the area.

Tags: ,

AIR Application Install Error

Posted in Projects on November 6th, 2008 by eccheung4

Application Install

I was working on an AIR application for a golf tournament when this error popped up when I tried installing my application. “The application could not be installed because the AIR file is damaged.” That didn’t give me much information about what the problem was. After a couple hours of looking through my code, looking at the descriptor file, making changes here and there, and trying to install repeatedly only to get the same error everytime, I finally found a post on the subject on the web.

http://bugs.adobe.com/jira/browse/FB-10582

It turns out that my “Texas A&M” asset files that I included in the AIR project was the cause of the problem because it contains the “&” in the file name. Once I removed the file from the AIR project, it installed fine. So then I renamed my file and took out the “&”, and it worked fine as well. So just remember to check your file names for all assets if this error ever pops up. I would think that flex builder should catch this error when it packages up the AIR app.

One more note, when creating your install badge, you’ll need to put the absolute path to your .air application in the flashvars for “appurl”.

More Info at: http://www.tonynorcross.com/?p=13

Tags: ,

Added Source Code View for Portfolio

Posted in Projects on November 3rd, 2008 by eccheung4

I’ve added Source Code View for my portfolio in case anyone is interested in viewing the code for the project. I’ll try to keep it updated as I add more stuff to the project. This project was built using Flex Builder and Actionscript 3. You can right click on my Portfolio and select View Source to see the code. The link directly to the source code is below as well.

Portfolio Source Code

Papervision3d Portfolio

Posted in Projects on October 29th, 2008 by eccheung4

I’ve been learning Papervision3D following various blogs and tutorials and have learned a great deal as I worked on my portfolio using Papervision3D.  One of the well written tutorials I followed was here by tartiflop.  My portfolio is still a work in progress as I add stuff, but I think it shows the projects I have worked on well.  I am also currently learning AfterEffects and looking forward to using it in my Flash/Flex projects.

Link to my portfolio