Skip to content

We’ve moved!

February 4, 2011

This blog is moving permanently to http://blog.nitinmalik.com

All the same blog posts can now be found there and the posts will eventually be removed from this location. Lots of changes to come (including the blog’s look). Hopefully I’ll be putting up some new posts there soon.

Advertisements

Preloaders: Introduction to Various Methods

January 12, 2011

As far as I know there isn’t a standard methodology for creating a Flash Preloader in ActionScript 3. I have found some tutorials that provide different methods. I’ll introduce the concept behind each other them here and provide links to the tutorials, so you can choose the learn the method that’s best for you.

Read more…

Playing with Tilt (in Flash CS4)

March 28, 2010

I know, with CS5 so close, why would I try out programming for tilt before I could try out the Accelerometer class and the related AccelerometerEvent class which are both currently in their beta stages? The short answer is “school”. Anyways, this post will cover emulating tilt with external API’s and also mention trying out tilt with a Wiimote.

Read more…

Sound Visualization and Flash

March 25, 2010

Using sound data in Flash can be accomplished using the SoundMixer.computeSpectrum Class. Essentially, the computeSpectrum class takes values of a soundwave in at the moment when computeSpectrum is called. 512 values are returned in a byte array: 256 values from the left stereo channel, followed by 256 values from the right. Note that computeSpectrum cannot be applied to individual sounds (ie. if two mp3s are playing at the same time, computeSpectrum would not be able to analyze these sounds seperately). Instead it reads the overall sound output at runtime.

Read more…

Multiplayer And Flash

March 25, 2010

In researching methods of developing  mutiplayer/multiuser flash games,  it seems to me that multiplayer in flash is a relatively new trend in flash that started in early 2009. Here I’ve listed out a number of options for building mutiplayer/multiuser games in Flash.

Read more…

Little Things Causing Big Problems in Actionscript

February 18, 2010

This is the best I can do to help troubleshoot some little issues in your actionscript code that can cause you to ask questions like “wtf?”, say things like “but my code is perfect” or even resort to starting over. Here are some of the issues I’ve encountered while  coding or have helped other people resolve:

Read more…

Warning Lights on Cars Need Revamping

January 13, 2010

Every once in a while, I’ll run into this scenario while driving. I see a car with it’s signals blinking and I have no clue whether it is turning or if it has it’s Warning/Caution/4-way lights on. This is because if you can’t see both sides of the vehicle (from the front or back of the car), both of these signals look the same. I find this is especially an issue when cars  are parallel parked.

A solution to this seems ridiculously simple, therefore I feel like it must have a flaw. If the warning lights had a different pattern of blinking (ex. a double blink, then a pause) then it would be harder to misinterpret them for a turn signal. I have no clue who to suggest this idea to: the government, car companies? I’m not sure where this regulation stems from. If someone could let me know or tell these people yourselves, I’d love to see this changed.