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.

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.

Discover Links That Make You Think

December 29, 2009

With games like “Brainage” out there, it is obvious people are getting the idea of keeping their brains sharp. While games like  Brainage nd Sudoku seem good at working on your mental stamina, speed, computational and logic skills; they still lack something I feel is important: Content. If you’re going to keep your brain fit, you might as well use it for something! I’ve decided to start sharing some links to site I have found that provide that stimulus I need; links to content and ideas that get me thinking. Hopefully others will contribute as well. Read more…

GuessWho: Augmented Reality Project

December 26, 2009

GuessWho is an augmented reality project done as a group for one of my classes. The premise of the project is based off of a drinking game where people place a card on their forehead with a name written on it; the person has to figure out who they are (name on the card), by asking other people questions about themselves. We took the game up a notch, by using square augmented reality “markers” instead of cards. People can then use our little flash program to stare at them through a webcam to figure out who they are. Placing the marker of their forehead places a 3D face in front of their (on the screen) and the face will tilt and turn just like their would. The source code is at the bottom of the page.

Read more…

Flash Navigation Idea

December 10, 2009

For those of you that haven’t used Dreamweaver CS4,  there is an option to navigate to different entries in your CSS code, dependent on what element you clicked on while holding down ALT. Wouldn’t it be great to have a quick navigation option like that while working with your actionscript? Maybe holding ALT and Clicking could bring up a quick nav menu that can move you straight to the top of the package, class or function on the list. I think it could be really useful especially considering that your functions aren’t usually listed in alphabetical order. Well, I can dream right?

Create your own website, free on WordPress.com.Create your own website.
Start free