In this example I show an easy way to filter an ArrayCollection with multiple conditions, it can also be applied to XMLListColletions. Filters are given by the DropDownLists and the result is shown in the DataGrid. Source here: [RAW] [/RAW] …
Read the full article →
Learn to use Adobe Flex 4 beta 2 (codename Gumbo) and Adobe Flash Builder 4 beta 2 in a week by stepping through this video training course. It is great, and it is the way I learned Flex. From here …
Read the full article →
Some days ago I became crazy trying to format some simple text into a RichEditableText in Flex 4. This is because the Adobe team is deeply changing the way of using text in this new release. Let’s try to understand …
Read the full article →
The classical navigateToURL will not work in a loop to open multiple links at the same time, so here is a good solution: [code lang="as3"] protected function button_clickHandler(n:Number):void { if (n < linksArray.length) { navigateToURL(new URLRequest(linksArray[n]), '_blank'); callLater(callLater, [button_clickHandler, [n+1]]); …
Read the full article →
Well, just tell me what you think of if ;) http://teocomi.com/Teocomi.html don’t forget to report all the bug you may encounter!
I went almost crazy some time ago trying to resize and center some images dynamically loaded into Flex, finally I found out that the key point was to consider the image.contentWidth instead of the image.width. This beacuse if you try …
Read the full article →
Have you ever wondered how to test your PHP (for instance) files locally? Well I never did, till I found XAMP. It is a great tool to quickly install on your computer with no hassle Apache, MySQL, PHP + PEAR, …
Read the full article →
I was trying to create a simple preloader for my image gallery in Flex; so i ended up with something like this: [code lang="XML"] <mx:Image progress="pre.visible=true" complete="pre.visible=false" source="img.png" height="40" width="40" /> <mx:Image id="pre" source="@Embed(source='preloader.swf')" height="40" width="40" /> [/code] we simply …
Read the full article →
I’m not good at flex or actionscript, let’s just say that I’m trying to. Anyway sometimes I’d like to post something about the great tool of Flex (maybe also Flash). So let’s star with some links that provided me great …
Read the full article →