|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
Could some one tell me how to embedded flash on my website without having to click one it to get it to activate it. I have some flash content on my site and when you place the mouse over it, a text box appears and prompts the user to click on the swf to activate it. I have viewed other sites and the swf file has been embedded in such a way the this text box does not appear. How is this done? Thanks in advance |
|
||||
|
The autostart function is used to set the flash to start automatically or not.
flashvars="file=yourfile.xml&backcolor=0x000000&au tostart=true" Usually, when the flash file is created the creator specifies it to start automatically (or not). ~Roland
__________________
website design | Smith, Sullivan & Company, CPA | video golf lessons | my twitter Last edited by vwebworld; 01-06-2008 at 01:36 PM. |
|
|||
|
There are two ways, hand code the fix, which I can provide documentation on or use Dreamweaver. Please say you use Dreamweaver!
Do you use Dreamweaver? |
|
|||
|
What???
|
|
||||
|
OK, let's back up a little... the flash you want to embed, did you create it?
If so, you should be able to specify in the flash variable for the file to auto start. If not and you do not have access to the creating program, you'll need to code the flash variable autostart=true ~Roland
__________________
website design | Smith, Sullivan & Company, CPA | video golf lessons | my twitter |
|
|||
|
First, Save the following piece of code into your root directory. Name it 'ieupdate.js'.
Code:
objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[i].outerHTML = objects[i].outerHTML;
}
Code:
<script type="text/javascript" src="ieupdate.js"></script> Last edited by tom_hicks; 02-21-2008 at 12:48 PM. |
|
||||
|
objects[i].outerHTML = objects[i].outerHTML;
X=X? Hm A little explanation may be in place since: outerHTML Property (A, ABBR, ACRONYM, ...) Example: This example uses the outerHTML property to copy an object, accompanying attributes, and children to a list when a user clicks one of the objects. <SCRIPT> function fnCopyHTML(){ var oWorkItem = event.srcElement; if((oWorkItem.tagName != "UL") && (oWorkItem.tagName != "LI")){ alert("Adding " + oWorkItem.outerHTML + " to the list."); oScratch.innerHTML += oWorkItem.outerHTML + "<BR>"; } } </SCRIPT> <UL onclick = "fnCopyHTML()"> <LI><B>Bold text</B> <LI><I>Italic text</I> <LI><U>Underlined text</U> <LI><STRIKE>Strikeout text</STRIKE> </UL> <P> <DIV ID = "oScratch" > </DIV> Related: insertAdjacentHTML Inserts the given HTML text into the element at the location. These methods are faster than XHR supported by most modern browsers, but there is no public standard that applies to these properties. Also see: DOM:element.innerHTML - MDC Quote:
See: Scott Andrew - DIY acoustic pop superhero! > http://www.sitepoint.com/blogs/2004/...-on-page-load/
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started Last edited by kgun; 02-21-2008 at 01:20 PM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Which Embedded Video Player is Best? | Crum | Internet Industry | 0 | 11-29-2006 03:22 PM |
| Embedded video (without the buttons) - Help! | clivemcg | Graphics & Design Discussion Forum | 5 | 02-22-2005 04:52 AM |
| http://www.manvish.com - seo, dev, embedded | sanjaykattimani | Submit Your Site For Review | 1 | 07-01-2004 06:26 PM |
| Embedded baloon ads | ldyguique | Graphics & Design Discussion Forum | 2 | 02-25-2004 05:35 AM |
| SQL embedded in HTML | bradle01 | Web Programming Discussion Forum | 1 | 11-08-2003 04:10 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |