If you have designers sending you Flash SWFs for buttons and other objects in your Flex application you probably have come across Adobe’s tutorial which may not answer all your questions. The simple question my designer had was “How do I export a symbol?”. Read on to find out how… Read more…
Christopher Flash, Flex
This script is intended to be used as an apache 404 error page. When an html document is not found, it will try to find the same document with the php extension, otherwise it will redirect the user to your home page. Save this script as redirect.php and create a file called “.htaccess” in your root directory with the following line: ErrorDocument 404 /redirect.php. Any time a user requests a missing file it should redirect them appropriately.
Read more…
Christopher PHP
Here is another quickie. This tag will add the date a file was last modified to the bottom of your page so guests will know how recent the information is.
Read more…
Christopher PHP
The following is a very basic PHP hit counter I wrote some time ago. It uses a browser cookie to prevent the count from increasing by the same user over a short period of time.
Read more…
Christopher PHP
Data Binding is a great way to reduce unnecessary marshaling and marshaling code when manipulating data based on user input. Read on for some neat tips.
Read more…
Christopher Flex
In order to reduce the size of the main application SWF, I have come up with some practices to keep as much code as possible in the module while still utilizing a single event dispatcher and service locator.
I accomplished this by creating a Cairngorm command to register other commands found inside modules. Read more…
Christopher Flex
When I first started working with Cairngorm I didn’t really see the purpose to ValueObjects. I would just define my variables inside the event like many of the examples out there. Then I found an old blog post at richinternetapps.com and was convinced to give them a shot. Read more…
Christopher Flex
When the module is ready to be displayed, instead of having it pop-up immediately you can have it fade in smoothly.
Read more…
Christopher Flex
The downside to the ModuleLoader component is that you do not have control over when your module is loaded unless you start messing with creationPolicy=”all” but we won’t go there. Instead, you can use the ModuleManager to load your modules when your application is initialized.
Read more…
Christopher Flex
As your application grows, you may find the initial download time becomes unbearable. The solution is to break your application up into separate SWF modules.
Read more…
Christopher Flex