Passing Variables

Ok guys, I need your help

I am really struggling with this one, and I hope you can help me out.

I have a main movie, and use the following code to call an external movie:

on (release) {
loadMovie ("http://www.furious5.co.uk/ext/portfolio.swf, “_root.container”);
}

Fine I’ve no problems with this, however once I am in portfolio.swf I want to be able to call an ASP file when I click on a button

I.e if I click button 1, I get files records for ID 1 and if I click button 2, I get file record for ID 2. The button click happens in the main movie, any ideas have I can pass a variable in between seperate movies?

once you load the swf into container, it is no longer “seperate” it then becomes what you know as ‘container’. so to reference that movie just refernce container. _root.container IS portfolio.swf’s _root

Erm ok

So how would I go about coding passing the variable?

_root.container.variable