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 [...]
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;
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 [...]
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:
Now, you’ve [...]
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:
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 [...]
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.
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.
We start with our usual two login [...]
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 [...]
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 [...]