I just read Jesse Wardens post “Why Google Analytics for Flash“. So finally we have a proper solution for trackin Flash content. Well yes it has been possible before but you had to write your own logic to accomplish the task. Now you get it with 1 line of code and some fore-thought into the events you’d like to track.

Currently, Flash tracking is available for any Flash content embedded in a web page. So basicly that means that data sent from Adobe Air or other standalone applications is not supported but I can live with that. So go download your ActionScript 3 API for Google Analytics and start trackin.

Read more

Iconator is a small Flash app to generate favicons (16×16). You can either create one from the scratch or upload an image and modify it as needed. When you are done hit the “export” button to save your master piece on your local harddrive.

If you decide to use an existing image and upload it to Iconator you should remember one thing. Uploded pictures will be automatically streched to 16×16 size. So if you upload an image make sure its height and width are equal. Otherwise the image will be distorted.

If you are happy with the results and want to add the favicon to your web site you can use following markup:

<link rel="shortcut icon" href="/favicon.ico" />

Well… to cut the long story short… give it a try.

Read more

Here is tiny app to save your drawing as png to your local hard drive. Thanks to joa for this post Save ByteArray to file with PHP“.

Well once I started I had to do another demo with Away3D. Here is some sort of typewriter. Just start typing (click anywhere on the stage to set focus). And just as you would expect backspace erases letters and hitting enter starts a new line.

Keyboard.CharCodeStrings was causing me headache. I just couldn’t get it work… but then found out that it is only available within the AIR 1.0 runtime. Fortunately I found Scott Ruttencutters CharCodeStrings Library (download). Thanks for sharing it Scott :) .

NOTE! Returned character codes are for US English.

I recently had a chat with my collegue about these 3d engines. We ended up discussing about the differences between them (Away3D and PV3D). Well that didn’t actually get us too far because neither of us had previous experience about away3d. So I took the time and tried it. And this is what I managed to put together. Really original you think. I now… Even I don’t understand how can I come up with these groundbreaking ideas :) .

Anyway. Here is a few things I like about Away3D.

  1. I like the way you can initialize primitives in Away3D. Instead of passing parameters you can assign an optional object containing the end values of all the properties.
  2. Material defaults to colored wireframe. Good feature if you want to try something quickly.
  3. Built in project stats (FPS, RAM, MS, etc.) Just right click over a 3D object and choose the first one from the list. Really handy.

Let’s keep the ball rolling

Read more

Here is again a small demo made with ape. It would have been really simple to put this together even without APE but still I ended up using it. Anyway check out the demo here :) .

for a change let’s give 2D a chance. Here is a little billiard demo I made with Ape.

Instructions:

  1. Right click on a ball you wiah to hit.
  2. Adjust the angle by rotating your mouse cursor around the ball.
  3. To adjust the hit power move your mouse closer or further from the ball.


And here is the analog counterpart.

UPDATE: Here is the source: AnalogClockDemo.as


So here is a digital clock demo.

I found this post a few days ago and desided to try something similar. My experiment is far more simplier compared to Exey Panteleevs demo but the result is pretty goot anyway.

Click the plane to switch between water and flag.
Water/Flag demo page

Read more

← Previous pageNext page →