Facebook Twitter Linkedin Digg Delicious Reddit Stumbleupon Tumblr Flickr Email

SecurityError: Error #2028: Local-with-filesystem SWF file

Posted on

Whilst debugging a Flash project within the Flash IDE I all of a sudden began to get a security sandbox error. I know when using earlier versions of the Flash plugin that if you wanted to run a swf locally from the HD which accessed the interned you had to add the path to the

Continue Reading →

Clear Array

Posted on

Here’s a neat and tidy solution for clearing arrays. private function clearArray(theArray:Array):void { while (theArray.length > 0 ) { theArray.pop(); } } You then just need to call the function, passing the array that you want clearing, like this… clearArray(nameOfArray); Update… or just do nameOfArray = []; Follow @crooksy88