View Full Version : EOLAS : Click to activate and use this control
dreimann
10-13-2006, 01:04 PM
When I open my page I have to press Enter or mouse clikc. to activate flash, How can I remove it ?
Thank`s
flashpipe
10-13-2006, 01:38 PM
A few other ways on Adobe & Microsoft's sites, but this works easiest & best for me...
http://blog.deconcept.com/swfobject/
or
http://www.kirupa.com/developer/flash8/flash_fix.htm
Hope that helps!!
dreimann
10-13-2006, 02:11 PM
Thank`s in kirupa I understand that but I can not open flashobject JScript file what should I do?
flashpipe
10-13-2006, 02:37 PM
You shouldn't need to open the js file...if you can't open the zip, you can get the latest swfobject.js source code from the deconcept address:
http://blog.deconcept.com/swfobject/swfobject_source.js
This is actually more up-to-date than the js in the kirupa post...
Hope that helps!!
gimbras
01-26-2007, 12:16 PM
I have already answered this in another topic, sorry for the quotation.
Here's the fix:
This is a simple update to Flash 8 (Professional and Basic) in order to publish HTML file with the new embed code so that the SWF can receive user input immediately, instead of seeing a tooltip and activating the content manually.
http://www.adobe.com/support/flash/downloads.html#flash8
(You have to install this update using the Extension Manager)
Read more about it here:
http://www.adobe.com/designcenter/popular_topics/click_to_activate/
http://www.adobe.com/devnet/activecontent/
:) Hope it helps.
exactpixel
01-26-2007, 04:36 PM
I have already answered this in another topic, sorry for the quotation.
oooooo... extensions! Now I can bee lazy (er) :P
derfburg
05-30-2007, 02:00 PM
This is a simple update to Flash 8 (Professional and Basic) in order to publish HTML file with the new embed code so that the SWF can receive user input immediately, instead of seeing a tooltip and activating the content manually.
http://www.adobe.com/support/flash/d...ds.html#flash8
(You have to install this update using the Extension Manager)
Man, I am stupid I guess. I have followed the directions and still not working. I am using MX 2004, nad DW 4. Once I uninstall what it said to, then install what I DL, go to flash and publish. Do a test preview and it still wants me to click the dern thing.
derfburg
05-30-2007, 02:53 PM
OK, what the heck does this mean?
1) Just below the last <object> in your HTML page, insert the following Javascript:
<script type="text/javascript" src="fixit.js"></script>
That whole thing is confusing, sorry again for my stupidity.
ryancbutler
05-30-2007, 03:36 PM
God those are terribly complex scripts. I wrote a simple how-to on my site, see if it helps:
http://midwestwebdesign.net/tutorials/flash/faq/activecontent/index.php
derfburg
05-31-2007, 01:38 PM
ouch, man I am still lost on this. So I need to create an extra .js file for all other files? Sorry.
ryancbutler
05-31-2007, 09:46 PM
Say you have a container.swf which loads the rest of your flash application and have an html which loads it.
1. Create an HTML file
2. Create a JS file
3. In HTML add the following:
<script language="JavaScript" src="touri1f1.js" type="text/javascript"></script><script language="JavaScript" type="text/javascript">
<!-- hide script from non-JS browsers
iefixNtouri1f1()
// end hide -->
</script>
4. In the JS file, add the following:
function iefixNtouri1f1() {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="520" id="container" align="middle">\n')
document.write('<param name="allowScriptAccess" value="sameDomain">\n')
document.write('<param name="movie" value="container.swf">\n')
document.write('<param name="menu" value="false">\n')
document.write('<param name="quality" value="high">\n')
document.write('<embed src="container.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="520" menu="false" loop="false" name="container" align="middle" allowScriptAccess="sameDomain"></embed>\n')
document.write('</object>\n')
}
Where you see this:
document.write('<param name="movie" value="container.swf">\n')
Change the bold to the name of your Flash movie
Where you see this:
document.write('<embed src="container.swf"
Change the bold to the name of your Flash movie
Upload HTML, JS and container.swf to the same directory.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.