Posts Tagged ‘security’


Loading a Remote Module into a Local App

08.14.2009

At work, we deal a lot with loading modules residing on remote servers into our applications running locally.  By locally I mean from a local path on our hard drives (the default Flex Builder run/debug settings), not on a local web server instance (localhost).  Depending on what type of module we are loading, we would normally use one of Flex’s built-in functions to load modules:

// Loading a language resource module:
resourceManager.loadResourceModule('http://aaronhardy.com/en_US_ResourceModule.swf');
 
// Loading a style module (e.g., a compiled font swf):
StyleManager.loadStyleDeclarations("http://aaronhardy.com/fonts/Astroid.swf");
 
// Loading miscellaneous modules:
var moduleInfo:IModuleInfo = ModuleManager.getModule('http://aaronhardy.com/MyModule.swf');
moduleInfo.load();

But these methods of importing modules result in errors like the following:

Unable to load resource module from http://aaronhardy.com/en_US_ResourceModule.swf
Error: Unable to load style(SWF is not a loadable module): http://aaronhardy.com/fonts/Astroid.swf.

Continue reading »


Illegal Immigration

06.24.2007

While watching the news a couple months back, I saw something that struck me as rather “oxymoronic.” The broadcast was about the protests in Los Angeles held by illegal immigrants or those who support their cause. While most of the signs that the protesters were holding read something like “Legalize Immigration,” “Land of the Free,” or other phrases advocating open borders, one of them said “No somos illegales.” For the English audience, this means “We aren’t illegals.” Interesting. This summarizes what I think has happened in this whole debate–politicians and many Americans are starting to think the same way. Continue reading »