Ask not what the pixels can do for you but, what you can do for the pixels!

Links to keep from RIA Radio @ Flashbelt

Posted: July 2nd, 2010 | Author: josh | Filed under: as3, flash, grab bag | Tags: , , , , , , | No Comments »

Game platforms:

http://flixel.org/

http://pushbuttonengine.com/

AS3 IDE:

http://www.jetbrains.com/idea/

http://www.insideria.com/2010/02/intellij-idea9-actionscript-3f.html


Flash to Peggy 2.0 – LED Insanity

Posted: May 27th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , | No Comments »

Just wow, this is awesome.

http://www.leonardsouza.com/flex/flash-to-peggy/


Elastic Lists for Flash and Cake PHP Framework

Posted: May 26th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , , , | No Comments »

Elastic Lists
http://moritz.stefaner.eu/projects/elastic-lists/

CakePHP Framework
http://cakephp.org/


Quicklinks for PV3D and BOX2D Physics Engine, doing some testing.

Posted: May 1st, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , , | No Comments »

Get your learn on:
http://pv3d.org/2008/12/20/papervision3d-with-box2dflash-hello-world/
http://content.madvertices.com/articles/PV3DTraining/default.htm
http://blog.tartiflop.com/2008/08/first-steps-in-papervision3d-part-4-lighting-and-shading/

Fixes for Box2D compile errors, that I ran into:
http://orenyomtov.com/box2d-flash-action-script-3-compile-errors-fix.html

PV3D official documentation, really nice:
http://papervision3d.googlecode.com/svn/trunk/as3/trunk/docs/index.html

After my testing, for what I’m trying to do, PV3D and Box2D do not provide the performance that I’m looking for, so fixing to try some other routes.


AS3 Frameworks

Posted: April 28th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , | No Comments »

Just a list of frameworks for quick reference:

Maybe more to come.


Lazy man’s AS3 way of parsing URL variables.

Posted: March 25th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , , | No Comments »

Quick and easy:

  1. import flash.external.ExternalInterface;
  2.  
  3. var urlVar1:String = ExternalInterface.call("window.location.href.toString");

I only needed what was at the ‘?’ and after so a bit of string manipulation and ding, it was done.

  1. var urlVar2:String = urlVar1.slice(urlVar1.indexOf("?"), urlVar1.length);

I’m sure there are better way’s of doing this, but this works for now.


Flash’s compiler error messages are such smart alecs

Posted: March 17th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , | No Comments »

In an application with a ton of lines of code I get this compiler message:

TypeError: Error #1010: A term is undefined and has no properties.

Thanks, I guess.

Adobe, you wanna throw me a bone and fix that to actually say what the problem really is?

I did end up finding the problem, but that message from the compiler merited a blog post. Now get back to work.


AS3 Preload Multiple Data Types

Posted: March 15th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , | No Comments »

Some nice links for preloading multiple files.

http://code.google.com/p/bulk-loader/

http://code.google.com/p/as3-multiple-file-preloader/


AS3 Libraries for the Wordpress API

Posted: March 6th, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , | No Comments »

I was searching for something else and ran upon these, should prove to be very useful links in the future.

http://blog.absentdesign.com/as3-library-for-the-wordpress-api/
http://www.kirupa.com/forum/showthread.php?t=323331


Flash Full Screen

Posted: March 1st, 2010 | Author: josh | Filed under: as3, flash, programming | Tags: , , , | 2 Comments »

Original article can be found here: http://www.ilike2flash.com/2009/07/full-screen-in-actionscript-3.html

Great write up on full screen flash utilizing AS3.

Code from write-up, for quick reference:

  1. // Import classes.
  2. import flash.display.StageScaleMode;
  3.  
  4. // Fullscreen toggle mothod.
  5. function setFullScreen():void
  6. {
  7.      if (stage.displayState == "normal")
  8.      {
  9.           stage.displayState = "fullScreen";
  10.           stage.scaleMode = StageScaleMode.NO_SCALE;
  11.      }
  12.      else
  13.      {
  14.           stage.displayState = "normal";
  15.      }
  16. }
  17.  
  18. // Mouse event listener.
  19. button1.addEventListener(MouseEvent.CLICK, goFull);
  20.  
  21. // Method to call full screen toggler.
  22. function goFull(event:MouseEvent):void
  23. {
  24.      setFullScreen();
  25. }

Also, remember in your embed to set ‘allowfullscreen’ to ‘true’.