Click here to Skip to main content
12,997,469 members (59,669 online)
Rate this:
Please Sign up or sign in to vote.
Hey all,

I have created an EMBED object in my html page and have added SWF flash object as source.

The swf file contains the PPT slides..that changed after 5 seconds..
Now i want to autoplay this object using javascript..

is it possible by this way or if there is another way please let me know..!

My Embed code is like this..

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="200"
            id="header_flash" align="middle">
            <param name="movie" value="1.swf" />
            <embed src="1.swf" type="application/x-shockwave-flash" flashvars="autoplay=true"
                play="true" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"
                width="720" height="540"></embed>

Where 1.swf is created from simple Powerpoint Slides..!
Posted 21-Aug-12 3:13am
Updated 22-Aug-12 23:09pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

In order to start automatically a flash movie, I've used this and in my case it starts automatically:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
	  <param name="movie" value="/Flash.swf">
	<!--[if !IE]>-->
		<object type="application/x-shockwave-flash">
			data="/Flash.swf" width="800" height="200">
      <param name="movie" value="/Flash.swf">
	<a href="">
	<img src="" alt="Get Adobe Flash player">
	<!--[if !IE]>-->

Try it and see if it works or not.

PS: if this is not the solution you are looking for (possibly it will be the case) improve your question with your code snippet.

Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 23 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100