Dynamic class property retrieval

Thaylin | December 11, 2009

I’m taking a break from the pattern tutorials for the moment to write the as3 facebook connect integration library I’ve been meaning to write. With that said, here’s a little method I didn’t realize was around to pull properties from classes. Normally the for..in method you can pull properties available within an object, but this [...]

Singleton Pattern introduction

Thaylin | November 11, 2009

Staying on the course of my tutorial kick I’m now moving to the Singleton pattern. Understanding this pattern will help later in understanding patterns such as the Factory Pattern which I will be discussing later.
Another pattern, or rather anti-pattern according to some, is called the Singleton Pattern.
The Singleton pattern, as the name implies, allows for [...]

MVC (Model-View-Controller) introduction simplified

Thaylin | November 4, 2009

It recently came to my attention that while working alone I have lost a bit of the ability to explain programming patterns. It’s not that I’ve forgotten about them, as I use variations of them in everyday work, but I’ve just lost touch with the ability to easily explain the workings of them.
So what better [...]

See the code Flex generates for you

Thaylin | September 24, 2009

A fascinating way of seeing all the code that the mxmlc compiler generates from your flex apps is to set a compiler flag for your project.
-keep
This takes all the generated code from your mxml files and places it in a “generated” folder in your src folder. This is great because it gives you the option [...]

FireBugLogger class update

Thaylin | June 3, 2009

So a while ago I wrote a class that I called FireBugLogger that uses the console.debug as well as the rest of the FireBug method calls.
Today I came across a great way to help the other developers that may be implementing your flash on the html side. Though you’ll have to call the debug [...]

crossdomain gateway or “How can I get that data!”

Thaylin | May 29, 2009

A lot of sites today are very open with their APIs allowing users from other sites to retrieve their data, but sometimes you’ll come across websites that may not have that same open access. When their sites limit the access that other sites can retrieve data from via the crossdomain file it’s frustrating to say [...]

the down lo on ExternalInterface and javascript injection via actionscript 3

Thaylin | May 21, 2009

Yesterday I did a presentation on ExternalInterface and it’s uses along with how to inject javascript on the page and a few other tidbits at FlashCodersNY.
Here’s the zip file with the project we went over. Whether you were there or not you should still be able to easily follow along since there’s tons of comments [...]

Javascript injection via as3 to embed external libraries

Thaylin | May 1, 2009

On my quest to make the facebook actionscript connectivity as easy to work with as possible I needed to be able to reproduce the

?View Code ACTIONSCRIPT1
2
<script src="myExternalLibrary.js">
</script>

call in order for everything to work appropriately.
After some searching I came across a clip of code that worked beautifully

Facebook API

Thaylin | April 29, 2009

So I’m still unsure about the SendLiveMessage, but I believe it will only work for users that have accepted the application on their facebook account.
On another note, the one thing that’s bugging me about the facebook actionscript api is the inability to login seamlessly. But I think I’ve figured out a way to get [...]

Facebook chat update

Thaylin | April 23, 2009

[Quick Update]
I discovered there’s actually a class in the actionscript api called SendLiveMessage. Not sure yet if I can utilize this to listen for updates from facebook but it’s a start.