Featured Posts

Adobe Flex - Filter XML Data using E4X and RegExp Have you ever you wanted to filter your data like you would using the SQL LIKE condition? Well with E4X and RegExp you too can reap the benefits of pattern matching! Here...

Readmore

Flex Assets/File Manager – ASP VBScript - Version... I recently built a JavaScript file manager but I wanted more control and better usability instead of expanding on the JavaScript version I decided to build it using Flex....

Readmore

Getting at your SQL Database using Flex and .NET Web ServicesGetting at your SQL Database using Flex and .NET Web... So you gave up on trying to figure out how you can directly connect Flex to your database like with any server side language and decided to Google the answer. Well by now...

Readmore

Adobe Flex - Filter XML Data using E4X and RegExp Have you ever you wanted to filter your data like you would using the SQL LIKE condition? Well with E4X and RegExp you too can reap the benefits of pattern matching! Here...

Readmore

Fitchett Rss

Flex / Flash Builder – Inline Conditional, If Then, Code

Posted on : 02-11-2009 | By : Michael Fitchett | In : ActionScript, Flash Builder, Flex

0

inline-condition-example-ssInline conditionals, coding, if then’s whatever you want to call it is soooo easy yet has been a pain in the royal _ _ _ for me to find maybe its the search terms I have been Google’ing I don’t know.

Flex & MS SQL Server – Performance Refactoring Part 1

Posted on : 16-06-2009 | By : Chris | In : ActionScript, Development, Flex

0

configHello! Hows it going? Alright the guy who has to go to the restroom, go now, make some popcorn and come back. Good now that were all cozy i’m going to explain this series.

I’m going to in a series of posts walk you through the initial steps of what I like to call Performance Refactoring. I refer to it as such because I am not going to concentrate on just the code, just the app, just the web server etc. We’re going to look at it all. This is necessary with today’s technologies for a lot of reasons, but for enterprise level applications to not do performance checking can be deadly.

Flex Assets/File Manager – ASP VBScript – Version 1.0

Posted on : 10-06-2009 | By : Michael Fitchett | In : ActionScript, Flex, JavaScript, VBScript

4

ss-main-interface

I recently built a JavaScript file manager but I wanted more control and better usability instead of expanding on the JavaScript version I decided to build it using Flex. Because Flex doesn’t have file system commands (that I know of) I had to use a server side language. We use VBScript at our company so I used that for the backend. I will be expanding this to other languages the next one to be released will be .NET C# as that seems to be what people polled for.

Adobe Flex – Filter XML Data using E4X and RegExp

Posted on : 09-05-2009 | By : Michael Fitchett | In : ActionScript, Development, Flex

2

flex-filter-xml-data-using-e4x-regexp1Have you ever you wanted to filter your data like you would using the SQL LIKE condition? Well with E4X and RegExp you too can reap the benefits of pattern matching!

Resize IFRAME Based on Content – Cross Domain

Posted on : 30-04-2009 | By : Michael Fitchett | In : HTML, JavaScript

3

windowYou will find a lot on this topic but no real solid answers. I looked around and ended up piecing this solution together. Yes that’s right it CAN be done! Well sorta…

Adobe Flex – ASP.NET Web Service Send E-mail

Posted on : 08-04-2009 | By : Michael Fitchett | In : ASP.NET, ActionScript, Development, Flex, Web Service

5

flex-email-applicationBefore we get started download “One Headlight” by the Wallflowers. Yea its a bit old but still rocks! ;-)

Now that have some music jamming in the background lets get started.

We need an ASP.NET web service if you don’t already have one create it; if you do then great. This example code is in C# it can easily be done in VB as well.

1. Let’s add an import to the top

using System.Web.Mail;

 

Adobe Flex – Format Date & Time (inside of a DataGrid too)

Posted on : 01-04-2009 | By : Michael Fitchett | In : ActionScript, Development, Flex

8

flex-format-date-timeThis is probably one of the easier things to do in Flex. Yea you could probably find out how to do this by reading the Adobe Flex Documentation but who wants to read that when you have Google at your fingertips.

What the Adobe Flex Documentation wont tell you is how to format your date and time inside of a DataGrid or other components.  No worries I do!

Here is how you format a date pulled in as XML, E4X or whatever…

First you will need a DateFormatter

<mx:DateFormatter id="formatDateTime" formatString="MM/DD/YY" />

 

Adobe Flex – Filter XML data using E4X

Posted on : 31-03-2009 | By : Michael Fitchett | In : Flex, Quick Tips

2

find1You have imported your data using either an HTTPService, Web Service or some other means. Great! now how do you filter and sort the data? Using E4X of course! Lets get started.

1st. Switch the resultFormat on your HTTPService or Web Service by adding the following property resultFormat=”e4x” to your tag:

<!-- HTTPService -->
<mx:HTTPService id='data' resultFormat="e4x"/>
<!-- Web Service -->
<mx:WebService id="wsData" wsdl="http://www.domain.com/Service.asmx?WSDL" showBusyCursor="true">
      <mx:operation name="getData" resultFormat="e4x">

Adobe Flex – Scale images without making them pixelated using Smooth Image component

Posted on : 26-03-2009 | By : Michael Fitchett | In : ActionScript, Development, Flex, Great Resources

0

flex-resize-imageLet me guess your images look all funky aka pixelated aka jagged when you resize them using the standard image display component that comes with Flex? OK no big deal another hip programming dude made a component called Smooth Image which does exactly that.

Adobe Flex – Scale down your video without making it pixelated using Smooth Video Display component

Posted on : 25-03-2009 | By : Michael Fitchett | In : ActionScript, Development, Flex, Video

0

bad-videoDo your movies look like this because you set the size of the VideoDisplay component to a different size than your source movie?:

Advertise Here