Hi again,
if I understand it correctly there is the following difference between content and rawContent:
content: container integrating the loaded swf (rawContent) as a sub-object (name like loader object)
rawContent: the loaded swf itself without a container integrating it (name "instance..." whatever)
What I'm working on is a tool similar to your XMLLoader which receives a xml structure and generates loadings out of it.
What I'm developing is a tool receiving a xml-file and generating tweens, timelines and actions (i.e. MOVIE1.visible=true, MOVIE2.mouseLeave=MOVIE2.x+200, MOVIE3.background.color=0, etc) out of it.
To implement the actions quite simple I use the instance names to access the objects. I could implement a code which routes the action if required to the rawContent, but I try to avoid that.
Would it be possible for you to add a parameter to set the name of the rawContent (i.e. rawName="MOVIE")?
If I read the error message correctly it says that the object is already added to the DisplayList. Maybe you could add a parameter (i.e. addDisplayList=false) to prevent adding it to the DisplayList or is there any way to remove it from the DisplayList, set the name and add it to the DisplayList again?
Thanks a lot for your great support
Uli