Adobe Solution Partner

April 27, 2008

Shan’s Simple Examples: File uploads with Flex and ColdFusion

Filed under: ColdFusion, Flex & Flash, Shan's Simple Examples — Tags: , , — Shannon Hicks @ 2:18 pm
Someone in #flex was talking about how there were no good examples for doing uploads with Flex and ColdFusion. Sounded like an excellent topic to cover here. Now this example is a tiny bit more complex than previous examples, because I needed to cover two methods of functionality: single file uploads and multi-file uploads. Both [...]

April 14, 2008

Shan’s Simple Examples: Start to Finish, using Ant with Flex for the first time

Filed under: Shan's Simple Examples — Tags: , , , — Shannon Hicks @ 8:01 pm
Disclaimer: This post is not about best practices or anything of that sort. This is just a recount of my first attempt at using Ant with an open-source Flex library project. Here are the steps I went through (well, minus the steps that did nothing) to get my first Ant build script up & running; Installing Ant There [...]

March 19, 2008

Shan’s Simple Examples: Using events (aka how to pass data from components)

Filed under: Flex & Flash, Shan's Simple Examples — Tags: , — Shannon Hicks @ 7:35 am
There was some confusion in #flex yesterday. The question came up on how a child component could access the parent component. Eventually, it came down to they wanted to pass some data from the child back to the parent. Well, the “black box” method of component programming says that we should use custom events to send [...]

March 6, 2008

Shan’s Simple Examples: Keyboard shortcuts and TextInput

Filed under: Flex & Flash, Shan's Simple Examples — Tags: , — Shannon Hicks @ 1:58 pm
Someone on #flex asked about preventing text from appearing in a TextInput or TextArea, when the user is using a keyboard shortcut. After a little discussion, I came up with a working example. I decided to use shift-space to simplify things. The first assumption is that you’re listening for keyboard shortcuts at the application level: ::CODECOLORER_BLOCK_6:: Now, you’ve [...]

March 3, 2008

Shan’s Simple Examples: Using an XML datasource with mx:ComboBox

Filed under: Flex & Flash, Shan's Simple Examples — Tags: , , — Shannon Hicks @ 1:44 pm
Over the weekend I was writing a simple little app, and came across something that should have been trivial, but turned out to throw me for a loop momentarily. I needed to drive some data from XML instead of my tried-and-true ColdFusion components, and I realized I’d never done it before. So, here’s the example: First [...]

February 7, 2008

Google Calendar XML: Deciphering the Data

Filed under: ColdFusion, Google — Tags: , , , , — Steve Nelson @ 4:57 am
In my previous post we looked at getting a list of calendars using the Google API. We looked at how to make the request, but not what to do with the data Google sends back. When you make a request for a list of calendars, Google sends the list back in an xml format. Some of [...]

February 1, 2008

Flex: Making Scrollbars Follow Focus

Filed under: Flex & Flash — Tags: , — Daryl Banttari @ 11:30 am
If you’ve ever created a form tall enough to require a vertical scroll bar in Flex, you may have not even have noticed that you have you scroll down manually when focus moves below the visible part of a window. Users, however, notice, especially if they don’t have a scroll wheel on their mouse. There [...]

Google Calendar API: Using ColdFusion to get a list of Calendars

Filed under: ColdFusion, Google — Tags: , , , , — Steve Nelson @ 6:42 am
Before we handle the methods for editing a calendar, we need to make sure we’re editing the correct calendar. To do that we need to get a list of the calendars from Google. This method we’ll look at today is very simple. So, let’s jump right into the code. ::CODECOLORER_BLOCK_16:: We start with our usual two login [...]

January 31, 2008

Google Calendar API – Creating a new Calendar with ColdFusion

Filed under: ColdFusion, Google — Tags: , , , , — Steve Nelson @ 7:14 am
Now that we have finished with the crazy method of obtaining all the various tokens for accessing the Google API, let’s jump into our first Google Calendar API method. We will start by using the Google Calendar API to create a new calendar. This method is very straight forward. It’s just a matter of correctly [...]

January 30, 2008

Google API: Using gSessionId with AuthSub Part 4

Filed under: ColdFusion, Google — Tags: , , , — Steve Nelson @ 5:46 am
I swear this is a bug. It has to be a bug because it’s so ridiculous. If it’s not a bug, I hope someone can explain it. After you finish part 1 and part 2 of logging in using Google’s AuthSub. You’ll find it’s just not enough. Something really weird happens if you attempt to get [...]
Older Posts »

Server Down?

Maximize Web application uptime by drawing upon Webapper's years of experience tuning and stabilizing many of the world's largest ColdFusion Web applications. Contact us today!