Thanks, that's very helpful!
On 30-May-06, at 10:31 PM, Geoff Stearns wrote:
yes, just make your links like this:
http://www.example.com/path/to/page.html?variable=value
replace variable with the name of a variable you want, and 'value'
with whatever value you want to pass.
then, in your page.html when you embed the flash movie, you can
grab the variable from the url string using javascript (or a server
side language) and pass it into the flash movie using flashvars.
if you use swfobject, it has a little utility that can grab vars
from the url and pass them into the movie, so your embed code would
look something like this:
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "200", "100",
"7", "#336699");
so.addVariable("variable1", "value1");
so.write("flashcontent");
</script>
more info on the script:
http://blog.deconcept.com/swfobject/
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com