My friends and family are under attack in Ukraine.
Donate to protect them directly or help international organizations.

Flex: working with MovieClips

June 16th, 2008

You do not do everything with Flex components, especially if you develop games or cool interfaces. You often need to load SWF files and use the MovieClips inside them. A previous article talks about Instantiating and displaying MovieClips from loaded SWF. Here are a few considerations when loading MovieClips into Flex: If you embed a […]

Read more

codeFest 2.1 Conclusion

May 19th, 2008

The codeFest is now over. It went really well. We had about 20 developers yesterday. It was really productive for most people. Some learned a lot. The event was beneficial to the community. With Yann LarrivĂ©e and Louis-Philippe Huberdeau, I was able to make much progress on the PHP Quebec website (jobs section). The new […]

Read more

.htaccess on Leopard

April 28th, 2008

After moving my databases and websites to a new Mac with Leopard, none of the websites were working. It was as if mod_rewrite was not working. First, I noticed that the .htaccess files were all ignored. I checked the Apache configuration file in MAMP, and everything seemed fine. After over an hour of going through […]

Read more

Runtime Sharing problems solved for good!

March 26th, 2008

I stayed at work until 8:00 pm today because I could not figure out why I was getting a #1065 Reference Error when using Runtime Sharing. The scenario A main ActionScript application loads multiple swf files (screens). These swf import various symbols from a central swf (global_asset_library). When I load the first screen, I can […]

Read more

Data Binding expressions

March 8th, 2008

In MXML, you may use expressions as a source of data binding. The Label will only be displayed if the person is 18 or older. Did you try a more complex expression? Ah ha! You get a compiler error. Why? Because you’re inside MXML and the & character is special. […]

Read more

[Bindable] public override

March 7th, 2008

I stumbled upon a compiler error when overriding a setter function with the Bindable metadata tag: “overriding a function that is not marked for override” The answer is short and simple: use –[Bindable] public override– instead of –[Bindable] override public– It may sound silly but the override actually has to come second in order for […]

Read more

Instantiating and displaying MovieClips from loaded SWF

March 7th, 2008

So you want to dynamically load a .swf, instantiate it and add to to a SWFLoader control. […]

Read more

AS3 data binding and component states

February 28th, 2008

If you ever developed a complex data-driven application, you probably stumbled upon the data binding nightmare. Altough a great feature in Flex (a central one in my opinion), it lacks a bit of control. I needed a form with multiple states depending on the flavor of the edited object. This way, I could have common […]

Read more

AIR Prerelease Tour

February 8th, 2008

I attended a presentation on Flex and AIR yesterday. Mike Potter was unable to come and was replaced by LordAlex Leon. The presentation began with a long description of Adobe applications and their integration, but an hour later finally reached AIR. The part about AIR was quite short and did not teach me anything new. […]

Read more

Sending headers

February 7th, 2008

There are many reasons to send headers in the middle of you PHP script. Sometimes you want to redirect the user based on some computed information or display different content types (mime-type). Have you ever had a problem with PHP complaining about “output already sent”? To solve this problem, there is a workaround with ob_start/ob_flush. […]

Read more

Newer Posts Older Posts