You can do that :
First, you must declare the class for include it in the swf.
var toto:YOUR_CLASS;
And next you can get an instance by :
var instance = new["directory.subdirectory.YOUR_CLASS"]();
Edit:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:at="at.controls.*" creationComplete="init()">
<mx:Script>
<![CDATA[
import mx.rpc.remoting.mxml.RemoteObject;
private function init():void {
var obj:Object = ObjectLoader.getInstanceOf(RemoteObject);
}
]]>
</mx:Script>
</mx:Application>
ObjectLoader:
package {
public class ObjectLoader {
public function ObjectLoader(){
}
public static function getInstanceOf(cl:Class):Object {
return new cl;
}
}
This is a new example. I create an instance of RemoteObject.
}