Showing posts with label Flash 103: Advanced. Show all posts
Showing posts with label Flash 103: Advanced. Show all posts

Tuesday, March 15, 2011

Flash Error #2048 : Security sandbox violation: %1 cannot load data from %2.

Many Flash AS3 developer have encountered this problem and wondering what the...

The problem is simple.  Your swf in domain A is trying to access a swf from domain B, and it does not like it...



Monday, March 14, 2011

Loading files using URLStream:

There are many ways one can load files in Flash Action Script 3, and this is one of the methods to do so.  But more importantly, this is one of the ways you can use to by pass the annoying "Flash Error #2048: Sandbox Security Error." 





Thursday, January 27, 2011

How to use Flash Actionscript to save a MovieClip or Sprite to JPEG file:

Have you ever wonder how you can use Flash actionscript to save images?  Well, it is quite easy and below is the code you will need for doing so, more specifically, it will allow you to save MovieClip or Sprite to JPEG.

In order to do this, you will need the as3corelib and the save function in FileReference class requires minimum Flash Player 10 or Air 1.5.
 



Tuesday, January 25, 2011

Monday, January 24, 2011