From Kohana to ZendFramework in about 30 minutes

I am pleased to say that it took me only about 30 minutes to transfer a basic site writte on Kohana to the ZendFramework, both frameworks make it easy to switch between each other. For one thing you can use the ZendFramework Library in Kohana (although I haven’t done it myself people declare is rather [...]

Optimizing SWF files with Flex Optimizer

I found a reference to optimizing SWC files with Flex Optimizer and I figured I would run some tests through SWF files and see what effects it had in it.
To my surprise the Optimizer tool did optimize the SWF files but just by a few bytes:
Test 1:
…_concept1_v1_alt.swf (56569 bytes)
…_concept1_v1_alt_optimized.swf (56456 bytes)
Test 2:
…600_Flash_v1.swf (38164 bytes)
…600_Flash_v1_optimized.swf (38127 [...]

PureMVC Framework from The Flex Show podcast

These are notes that I took while listening to the podcast, by no means the information should be taken as final. Feel free to listen to the podcast and let me know if you notice any discrepancies from what it was said on the podcast and what was written here.
Notes from PureMVC Framework – The [...]

Disable extra fields in CCK for Drupal

There are times when you want to allow the Super Admin to edit those extra fields but not the editors/contributors of your site so this is one way to do it:
PHP:

< ?php
/**
* Change the node form
*/
function phptemplate_node_form($form) {
  // echo "<div style=’direction:ltr;’>"; dprint_r ($form); echo ”;
 
  // Hide ‘Log message’ text area
  $form[’log’][’#access’] = [...]

JQuery and dynamic elements

I have been working with JQuery on a couple of work and personal projects and I really like the library. One of my first challenges was to access elements dynamically and at the same time trigger custom events. This is specially necessary when working with elements where you don’t know the source of the data [...]

Covert mov files to flv with ffmpeg

The shell script below will take files from the folder you are running it from and convert all “mov” files to “flv”. The script can be updated to use the same file name as flv name. Since this is not for production but only for testing the name for the flv that I am using [...]

TextMate current block folding

Having the ability to fold blocks of code in TextMate can be a great time saver. Specially if you are working on a rather large file and you are trying to concentrate only in one area of your code.
You can activate block folding by pressing F1 and this is how the content is going to [...]

Mike Chambers asks: Are you still using ActionScript 2? (or 1)?

Mike Chambers posted the question on his site: Are you still using ActionScript 2? (or 1)?
Many people have placed their 2 cents to answer and I wanted to take a stab at it:
Short Answer : AS1 = No, AS2 = Yes.
Long Answer: I haven’t touched AS1 for years now and I haven’t had a reason [...]

Papervision AS2 reflected bitmap

I have been working on a paper vision in AS2, as you know the AS2 version was dropped as soon as AS3 was out so many of the PPV2 features were never applied to the first version. Anyways, if you ever wanted to portrait a bitmap on one side reflected directly from the library, this [...]

Silverlight creating ZIP files in MAC

If you are creating a Silverlight document in a MAC be aware that if you create a ZIP file from the Finder context menu “Create Archive of…” every time you try to access the files inside the ZIP file with Silverlight it will fail. Why? Not sure but I would assume something to do with [...]