Codeigniter 2.0.3 with AMFPHP 2.0

I’ve just came across a tutorial on how to integrate CodeIgniter 2.0.3 and AMFPHP 2.0.
This has a different and simpler approach from the one I was used to.

At the time of this writing, the most recent versions are 2.1.0 and 2.0.1 respectively, but everything should work fine as well with the most recent versions.

The tutorial itself has an error, but the files available for download are correct and work as expected.

It should read:

Download amfPHP (reloaded) and extract the Amfphp folder to the application/libraries folder of your CodeIgniter project.

Make a new folder in your application/controllers folder called amf

Inside the amf folder make a controller file gateway.php and a new folder called services.
Inside the services folder make a php file called testservice.php.

Posted in ActionScript, amfPHP, AS3, CodeIgniter, Flash, Tutorial | 3 Comments

amfPHP 2.0.1

amfPHP

I’ve just noticed that amfPHP 2.0.1 has been released and is available for download.

This is great news!
After being left aside for so long, amfPHP seems to be back!

All the info is available here.

Posted in ActionScript, amfPHP, Flash, PHP | Leave a comment

DComSoft SWF Protector – review

If you want to protect your work, DComSoft SWF Protector is a great encryption solution for your SWF files.
It’s available for Windows, Mac and Linux and it’s free to try. You get a fully functional copy when you download it.

The interface is really intuitive.
Continue reading

Posted in Review | Comments Off

Import / Export shortcuts in Aptana

You have customized your Aptana (or Eclipse) shortcuts and want to use them on another installation…
You may have noticed that the Keys screen offers the option to export the shortcuts as a CSV file, which may lead you to think that this is the way to do it.
It’s not.

In order to export and import shortcuts, you do it in the File->Export and File->Import menus.

Here‘s the full explanation.

Posted in Eclipse / Aptana | 2 Comments

Image Generation with AS3 and PHP – Tutorial @ FlashKit

A new tutorial – Image Generation with AS3 and PHP – is now available at FlashKit.

You’ll learn how to capture an image, a screen shot of a MovieClip in your Flash Application as BitmapData. You’ll learn how to encode this BitmaData properly in order to send it to the PHP Script that will generate and save the JPG image on your server.

The tutorial is available here.

Posted in AS3, PHP, Tutorial | 1 Comment

Passing URL variables into Flash using FlashVars and SWFObject – Tutorial @ FlashKit

A new tutorial – Passing URL variables into Flash using FlashVars and SWFObject – is now available at FlashKit.

You’ll learn how to pass variables from the URL into Flash, using SWFObject and FlashVars.

The tutorial is available here.

Posted in ActionScript, AS3, Tutorial | Leave a comment

Loading a different image each time using Local Shared Objects – Tutorial @ FlashKit

A new tutorial – Loading a different image each time using Local Shared Objects – is now available at FlashKit.

You’ll learn how to keep track of data from one visit to another using Local Shared Objects (LSO). You’ll also learn how to generate a random number to load images randomly.

The tutorial is available here.

Posted in 1 | Leave a comment

Listing image files in a directory with PHP – Tutorial @ FlashKit

A new tutorial – Listing image files in a directory with PHP – is now available at FlashKit.

You’ll learn how to read the contents of a folder full of images and to create XML dynamically using PHP. Then, you’ll load the XML into Flash and create a slideshow.

The tutorial is available here.

Posted in ActionScript, AS3, PHP, Tutorial | 1 Comment