# How can I change a html dir with flash?

**URL:** https://forum.kirupa.com/t/how-can-i-change-a-html-dir-with-flash/119855
**Category:** Uncategorized
**Created:** [August 18, 2004, 3:58pm UTC](https://forum.kirupa.com/t/how-can-i-change-a-html-dir-with-flash/119855 "2004-08-18T15:58:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fso](https://avatars.discourse-cdn.com/v4/letter/f/6a8cbe/32.png) [@fso](https://forum.kirupa.com/u/fso)
#### Post date: [August 18, 2004, 3:58pm UTC](https://forum.kirupa.com/t/how-can-i-change-a-html-dir-with-flash/119855/1 "2004-08-18T15:58:11Z")

</div>

I have a dynamic slideshow that uses an embedded object which points to a dir. Im trying to figure out how to change the directory to have multiple galleries and not make the user load a different html and flash document with a different dir. Here is the object I have in my html…any ideas? Thanks

\<object classid=“clsid: D27CDB6E-AE6D-11cf-96B8-444553540000”

codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)”

WIDTH=“734”

HEIGHT=“520”

id=“album”

ALIGN=""\>  
\<PARAM NAME=movie VALUE=“album.swf”\>  
\<PARAM NAME=quality VALUE=high\>  
\<PARAM NAME=bgcolor VALUE=#FFFFFF\>  
\<PARAM NAME=flashVars VALUE=dir=photos//&num=6\>  
\<EMBED src=“album.swf” flashVars=dir=photos/&num=6 quality=high bgcolor=#FFFFFF WIDTH=“734” HEIGHT=“520” ALIGN=""

TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)”\>\</EMBED\>\</object\>
