I have a 'shell' swf that i use to navigate a series of swfs. When i want to test or run a swf standalone i want to detect that no parent is present and locate XMLS or images in a local path. If i run in the parent SWF i understand that paths are realative.
The code below doesent work because this.parent evaluates to [object Stage]
if (this.parent != null) {
xmlURL = "TheProtocol/" + sevencharid + "/xml/clientconversation.xml";
trace("in top");
} else {
xmlURL = "xml/clientconversation.xml";
trace("in bot");
}