I want to create a RSL with Flash Pro CS5 and then use it with another Flash file. I've created the following example:
RSLLib.fla
Circle
, export it for ActionScript as Circle
and tick "Export for runtime sharing" with the value "RSLLib.swf"User.fla
On the first frame of the timeline add the following ActionScript
addChild(new Circle());
In ActionScript Settings, in the Library Path create and entry pointing to RSLLib.swc and choose Link Type: "Runtime shared library" with RSL URL "RSLLib.swf"
Am I doing anything wrong here?... Any pointers appreciated.
All works fine for me. Sounds more like a system/sand-box problem, maybe try changing folders or launching it via http.
Also, little detail I noticed in your example : you don't have to tick the "Export for runtime-sharing" in the library if you are handling the import via SWC etc. Shouldn't crash flash anyway but just so you know ; )