Story Pixel

Independent Interaction of Sam Wilson

Determining domain

Many times in building a Flash app, you need to know what your current domain is. Sometimes you need to know from where to load in assets depending on if you are testing on your computer in the IDE or if the application is live on a server.

Loading JSON data

A very useful method of transferring data between Flash and a data source is JSON. Here is some code from a recent project that loads JSON in a usable form.