Child SWF access Parent SWF variables

What do I need to do?

The external swf is located at: www.website.com/folder/folder/child.swf

In the parent.swf, I put System.security.allowDomain(“www.website.com”);
When you click a button on the child.swf it’s suppose to trace data from the parent.swf, but it returns undefined.

What am I doing wrong? I MUST access data from the parent.swf

Most likely an issue with referencing the data than security. Are you sure you got the path right?

Yes. 100%.

I tried calling the variable by using _global, _root, _level0, to no avail.

I googled up a useful link, maybe if someone understands what this guy is saying: http://www.outside-media.co.uk/blog/?page_id=5

Apparently the problem resides in crossdomains, I believe, because when the parent.swf is uploaded on the website, it works fine.

-edit-

Nevermind. Crossdomain.xml changed nothing. The problem still resides that if the parent.swf is not on the server (which it will be eventually, but for testing purposes it’s not efficient) it doesn’t work.

Alright, I’m pissed.

The problem was because my variable used freaking “_GLOBAL” and it can’t.

Thanks alot ****ty Flash Docs. :mario: