Grab Cursor Native Mouse AS3
Since flash player 10.2 you can make custom mouse cursors for your applications. Today I'll show you how to use a class I made for a simple but really useful custom grab cursor. Read more >>
TweetTLFText and error 1195
In a recent project I suddenly started to have a problem when compiling.
Every time I tried to test my program I kept getting this error:

Error 1195: Attempted access of inaccessible method...
Read more >>
A simple tweenlite JS example
Recently GreenSock released its newest tweening platform for JavaScript. I've been using for a while TweenLite and TweenMax for ActionScript and I just can say that it's really easy to use and has saved me a lot of time. I decided to give it a go to the JavaScript api to see the differences and I was surprised by the fact that it's almost the same, so people coming from a flash background, like me, have it really easy.
TweetFixing FB graph api for as3
A few days ago, many flash apps suddenly stopped working, if you have this problem follow this steps:
1.- If you are using GraphAPI_Web_1_8_1.swc delete it.
2.- Download the modified graph api from here.
3.- Paste those folders on your librarys, if you had the facebook folder overwrite it.
4.- Publish your project.
This problem started when facebook changed its file http://connect.facebook.net/en_US/all.js in a way that all the calls made from the as3 file "FacebookJSBridge.as" must be changed from "FB.JSON" to just "JSON".
TweetImageprocessing Library by Joa Ebert
Last weeks I've been working in a project where I needed to make some adjustments to a picture uploaded by the user. A slider for brightness, hue and contrast adjustment.. no problem there.
After that I needed a brush-like filter, I knew it wasn't going to be solved by Flash native functions easily, so I started my research.
After some googling and a little of luck I found an awesome library by Joa Ebert that exceeded what I needed.
Read more >>
Looping a background efficiently and easier with as3
Sometimes we need to have a seamless background running behind our game or site infinitely.
The first solution most of us figure out is to duplicate the background and check when it goes out of the screen to position it correctly.
The problem with this is that we must make some comparisons in the loop where we update the background position, besides if the background is really big, Flash would have to manage a large graphic object even if most of it is outside the screen.
That's a lot of background for our little stage.
The way we can avoid this is using some Bitmap copying tricks.
Read more >>
Files
- January 2013 (2)
- October 2012 (1)
- July 2012 (2)
- June 2012 (2)
- May 2012 (2)
- February 2012 (4)
- December 2011 (4)
- September 2011 (4)
- May 2011 (4)
- April 2011 (1)
- March 2011 (2)
- January 2011 (1)
- December 2010 (13)
- September 2010 (1)
- June 2010 (2)
- May 2010 (1)
- April 2010 (11)
- March 2010 (10)
- February 2010 (1)




