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:  

Swiz Framework : Invoking a WebService call

On June 6, 2010, in Flex, by Anuj Gakhar

As I blogged before, I spent the weekend trying to get my head around Swiz framework. The project I did uses HTTPService and WebService calls to fetch data into the UI. While this sounds pretty straightforward, I came across a little gotcha which I thought I should blog about here.

Tagged with:  

First Take at Swiz Framework

On June 6, 2010, in Flex, by Anuj Gakhar

I came across a project at work that was written using Swiz so I decided to spend the weekend getting my head around Swiz Framework for Flex. Swiz is a framework that provides Inversion of Control and Dependency Injection as its killer feature. I have been using Cairngorm for too long now and I was […]

Tagged with:  

Flex : Tooltip on Fixed Width DataGrid Columns

On May 21, 2010, in Flex, by Anuj Gakhar

I was displaying some data in a DataGrid and a requirement came up to show tooltips on the columns which had more data than the column width. Since increasing the column width was not an option, the ideal solution was to show the the ellipses (“…”) at the end of the column and the rest […]

Tagged with:  

MultiLine Label in Flex

On November 12, 2009, in Flex, by Anuj Gakhar

If you are a Flex developer, you would have come across this issue several times. If you are using the <mx:Label> control and the size of your text is bigger than the size of the container, you will see a cut off version of the text because by default, the Label control does not allow […]

Tagged with:  

Flex Vertical TabBar With CornerRadius on Left or Right

On September 11, 2009, in Flex, by Anuj Gakhar

If you are using Flex and want to have a TabBar control that aligns vertically instead of the default “horizontal” behaviour , then you can simply use the “direction” property on the control and make it vertical. You can see an example of that below . Notice how the tabs are now vertically aligned but the […]

Tagged with:  

Triggering FlexSpy with a Keyboard Shortcut

On September 5, 2009, in AIR, Flex, by Anuj Gakhar

If you are a Flex developer, you are probably aware of what FlexSpy is. FlexSpy is an inspection tool for Flex applications, similar to what Firebug is for HTML applications. FlexSpy is distributed as a .swc file (Flex Library file) which you can simply put under your projects’ “libs” folder and it will become available […]

Tagged with:  

How to get Eclipse to show more than 100 Errors/Warnings

On August 26, 2009, in Flex Builder, Eclipse, by Anuj Gakhar

I was stuck on this issue few days back, when I happened to have more than 100 errors in my project and Eclipse “Problems” window was only showing me the top 100. It took me a while to figure out where to change this , so I thought I would blog it. In your Eclipse […]

 

Flex: Casting with AS vs Casting with Braces

On August 26, 2009, in Flex, by Anuj Gakhar

I gave a telephonic interview yesterday (yes, I am looking for new contract roles these days!) and this question came up. The interviewer asked the difference between Casting with Braces and Casting with the “AS” operator in Flex. I thought I could write a little example to demonstrate the difference between the two.

Tagged with:  
© 2011 Anuj Gakhar