I have the following Flash code running the photo stack at top right in this page:

http://www.adventurecamper.com/#&slider1=4

<script type="text/javascript">
	var flashvars = {};
	var params = {};
	params.wmode = "transparent";
	var attributes = {};
	swfobject.embedSWF("http://www.adventurecamper.com/wp-content/themes/adventurecamper/flash/stack.swf", "slider", "650", "260", "9.0.0", "http://www.adventurecamper.com/wp-content/themes/adventurecamper/flash/expressInstall.swf", false, flashvars, params, attributes);
</script>

I'm not that familiar with Flash, but I've used wmode in the past to make a movie have a transparent background. Is something wrong with the syntax here?

Recommended Answers

According to the API, the 7th parameter for swfObject.embedSWF() should be flashvars, not a boolean. Deleting false, will give it a fighting chance.

Airshow

Jump to Post

All 4 Replies

According to the API, the 7th parameter for swfObject.embedSWF() should be flashvars, not a boolean. Deleting false, will give it a fighting chance.

Airshow

That worked, thank you so much!

It's not working

What's not working? If your own code is giving problems, then please start a new topic and provide the code.

"It's not working" tacked onto a 3 year old topic is most unlikely to attract a meaningful response.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.