Mx 2004 getting vars in

I’m working on an ecard app and here is what i need.

I need to receive a variable from a the page that the flash file is being loaded from (the id of the card)

I have seen this:



<PARAM NAME=movie VALUE="read_card.swf?id=xxxxxx">


Is this the only way to get a variable into flash so that you can then call a send and load to another page using that variable?

thanks