How to read different values from different domain/website/database?

Some more questions about passing values.
Can I pass in value in HTML like the example below?

<param name=“Hobby” value=“swimming”>
<embed src=“myHobby.swf”>

instead of

<embed src=“myHobby.swf?Hobby=swimming”>

If can, can point out my mistake, because I tried and It wont work.

Thanks.