Products
Technologies

Developer resources

Search Cookbooks for Tyler Larson

Not finding what you are looking for? Request a recipe!

  1. Avg. Rating 5.0

    Fast, light, simple JSON decoding

    Because JSON is just a subset of JavaScript objects ExternalInterface can just send these objects as Strings to JavaScript within your browser and the JavaScript interpreter will send an ActionScript Object back to you with the correct types. I have also noticed that this information is parsed faste ...

  2. Avg. Rating 1.0

    Merging two Arrays together

    Looping over all of the items is not very elegant. By using the built in apply method that is on every Function in ActionScript you can do the same thing with out the need to loop over anything. The apply method takes two arguments, the scope which we can pass null and an Array of arguments that is ...

  3. Not yet rated

    Rotate Dynamic System Fonts

    By turning your TextField into a image you will have created a bitmap of your text object and anything can be done to this image. The standard way of doing this is creating a Bitmap object and a BitmapData object and drawing into it. This is a lot to do if you just want to rotate some text around. A ...

  4. Not yet rated

    Conditional Compiling

    The MXMLC has a built in way to handle conditional compiling! It is done by defining constants for the compiler and then referencing these in your code. It has a couple of odd things you have to take into account but it works quite well.

  • Results 1-4 of 4