Flex VideoDisplay and MP3 files

On January 1, 2012, in Flex, by Anuj Gakhar

I have been troubleshooting a Flex application which plays audio/video files using the Spark VideoDisplay component. I know that a VideoDisplay component is bit of an overkill to play just mp3 files, but why this application has been doing so, is out of the scope of this post. Rest assured, there are valid reasons for […]

Tagged with:  

Passed the Flex 4 ACE Exam

On May 5, 2011, in AIR, Flex, Adobe, by Anuj Gakhar

I am happy to say that I have passed the Flex 4 ACE Exam today. This is something that has been on my list for quite a while but I never really got around doing it. This time, however, I actually booked the exam few days ago to give myself a firm deadline. My score […]

Tagged with:  

Railo, Flex Remoting and HTTP Auth

On March 29, 2011, in ColdFusion, Flex, Railo, by Anuj Gakhar

I’ve got an app running on Railo which has a Flex app being used and the Flex app uses Flex Remoting to communicate with CFC’s from Railo. That has been working absolutely fine for a few weeks now , until today, when I turned on the Apache based HTTP Authentication on the entire folder. All […]

Tagged with:  

Railo, Apache and Flash Remoting on Ubuntu

On January 10, 2011, in ColdFusion, Flex, Railo, by Anuj Gakhar

Having spent some time getting Flash Remoting to work on my Ubuntu Server running Railo/Apache/Tomcat – I thought this deserves a blog post, for sure. So, to give you an idea of the environment – I’ve got a Ubuntu 10.04 server running Railo 3.2 with Tomcat 6 as the Java container. And on top of […]

Tagged with:  

Adding Separators in a Spark List with Grouping

On December 20, 2010, in Flex, by Anuj Gakhar

I had this requirement recently come up at work, where I had to add separators to a List. The List was grouped by items of certain types and after each type of items, a separator was required. To give you a better idea of what I am talking about, I took this menu from my […]

Tagged with:  

Flex : Find Closest Date for a given Date

On October 12, 2010, in Flex, by Anuj Gakhar

This requirement came up today at work where I had an ArrayCollection of Date Objects and then I had another Date Object and I wanted to find from my Collection of Dates, the closest Date to my given Date – whether in the past or the future. Although this does not sound like a very […]

Tagged with:  

Conditional Debugging in Flash Builder 4

On August 15, 2010, in Flex Builder, Flex, by Anuj Gakhar

I have started using Flash Builder 4 recently and the one feature I am loving the most is the Conditional Debugging. Using conditional breakpoints in Flash Builder 4, you can configure a breakpoint to trigger only after a certain number of loop iterations. For instance, you can halt the application on the third time a […]

Tagged with:  

Flex 4: Understanding DataGroups and VirtualLayouts

On August 2, 2010, in Flex, by Anuj Gakhar

As I have recently started working with Flex4, I have started to use some of the new components from the Flex 4 SDK. One of them is the DataGroup class. A brief explanation of the class is below (from the docs) :- The DataGroup class is the base container class for data items. The DataGroup […]

Tagged with:  

Accessing a URL with Flex and YQL when there is no crossdomain.xml

On July 23, 2010, in Flex, by Anuj Gakhar

If you are making a HTTPService call in Flex, you need to make sure that the domain specified in the url attribute is the domain from where your application was downloaded or there is a crossdomain.xml file granting access to your application’s originating is available on the domain specified in the HTTPService url attribute. Take […]

Tagged with:  

CF/Flex Connectivity in Flex Builder : Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.

On June 8, 2010, in ColdFusion, Flex Builder, Flex, Mac, by Anuj Gakhar

I was setting up a new Project in Flex Builder with Application Server Type as ‘ColdFusion’. I had the default values in the Flex Builder wizard. But the Wizard wont let me go past the second screen. I kept getting this error :- Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml. And […]

Tagged with:  
© 2011 Anuj Gakhar