Android timer stuff

Thaylin | December 6, 2011

Wow, it’s been a while since I’ve last posted!
Just wanted to toss up some code for creating a timer in android. One would think you would just utilize the java.utils.Timer class but that creates a new thread and can create issues with your application. Plus it’s a pain to access stuff from the timer. Android [...]

Uploading multiple images/data to server!

Thaylin | April 8, 2011

Oh man what a life saver this was! Super easy to implement and works awesomely so far!
Multipart form data in as3 [Class version 1.2]
Implementing is as easy as this:

?View Code ACTIONSCRIPT1
2
3
4
5
6
7
8
9
10
11
12
13
jpgEncoder = new JPGEncoder( 100 )
 
var photo:ByteArray = jpgEncoder.encode( this.getBitmapData( photoBitmap) );
var thumbnail:ByteArray = jpgEncoder.encode( this.getBitmapData(thumbnailBitmap) );
 
var ml:MultipartURLLoader = new MultipartURLLoader();
ml.dataFormat = URLLoaderDataFormat.TEXT; // or [...]

setting properties at runtime from xml or css

Thaylin | March 9, 2011

Mainly this is just a post to remind myself in later times about this code snippet but basically this will work with any class with accessible variables.
Take an xml node such as

?View Code XML1
<class id="myClass" color="#FF0000" isActive="false"/>

You can use this snippet to parse through those attributes to set all of your variables for you assuming [...]

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 [...]

Spiraling through a matrix

Thaylin | August 21, 2009

As I was saying in my previous post, I ran into a little trickiness with circling through the squares in my matrix of squares. Now there may be a better way to do this, and by all means if there is let me know, but here is the best way I figured out how to [...]

Papervision 3D Audio Matrix

Thaylin | August 21, 2009

I’m in the process of getting to know Papervision 3D more finally. With that I decided to play around with it and music. I created a group of squares and each squares Z axis is controlled by a byteArray set with SoundMixer.computeSpectrum. I run through the byteArray, assigning each square it’s own Z pos based [...]

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 [...]

Flex 3 Professional free for the unemployed!

Thaylin | April 9, 2009

Currently Adobe is offering flex free for anybody who is unemployed! It’s only to be used with non commercial projects as a means to learn with but that’s just awesome.
For anyone interested, you can pick it up here:
https://freeriatools.adobe.com/learnflex/?PID=1225267

What the Heck are Runtime Shared Libraries?

Thaylin | July 10, 2008

So keeping in the topic from my previous post of low overhead flash apps, I decided to talk a little bit about runtime shared libraries.
So what are Runtime Shared Libraries?
These are libraries that are used just like you normally use your libraries in Flex 3 but instead of storing them within the swf, during runtime [...]

XMLSyndication

Thaylin | July 10, 2008

So Last week I did a presentation on the adobe xmlsyndication package and the use of css within an as3 environment sans mxml at the flashcodersny meeting. I think all in all it turned out pretty good but there were a few issues I noticed.
The first being the dependancy on the adobe corelib package and [...]