SitePoint Sponsor

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 25 of 32

Hybrid View

  1. #1
    SitePoint Wizard Rabies's Avatar
    Join Date
    Apr 2005
    Posts
    1,515
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "Click to Activate" solution! (AKA: Ugly Box problem)

    So you're here because you find that you have an ugly box around your Flash content when viewing it in Internet Explorer.

    Or you find you need to CLICK TWICE to get any Flash to work properly.

    History of this problem:
    These are a result of Microsoft losing a lawsuit with a company called Eolas. MS decided to not pay for a patent license and instead patched their browser to work in a way that does not infringe on the Eolas patent.

    One Solution:
    Visit www.Adobe.com and download the "fix" for Flash called "Active Content Update". This fix adds a publishing option, and also a new "Command". You must use this publishing option and use the Command in order to "add" the fix to your HTML page.


    Anyone else: Please add relevant links to other solutions, and perhaps to that older thread which discussed this Eolas mess.
    Last edited by Rabies; Oct 3, 2006 at 11:14.

  2. #2
    SitePoint Evangelist
    Join Date
    Jan 2006
    Location
    UK
    Posts
    537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SWFObject is another popular solution, using javascript. It also provides the capability to provide alternative content for non-flash enabled visitors, and to activate in-page upgrading of the flash player.

    http://blog.deconcept.com/swfobject/

  3. #3
    .* draziW tnioPetiS *. bronze trophy
    Join Date
    Jun 2004
    Location
    "Then I figure the most good good guy will win."
    Posts
    1,666
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very interesting.

    I just started using swfobject (very nice), but I remember seeing "click to activate" even with said javascript solution in said POS browser... although, maybe I did not have it setup correctly...

    Anyway, another reason to hate IE.

  4. #4
    SitePoint Wizard rbutler's Avatar
    Join Date
    Jul 2003
    Location
    Springfield, MO
    Posts
    1,867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Abobe's solution in my opinion is quite bulky and ridiculous. The best script I have found so far which works well is at the below address:

    http://www.webreference.com/programming/ie/
    Ryan Butler

    Midwest Web Design

  5. #5
    SitePoint Evangelist
    Join Date
    Jan 2001
    Location
    earth
    Posts
    501
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rbutler View Post
    Abobe's solution in my opinion is quite bulky and ridiculous. The best script I have found so far which works well is at the below address:

    http://www.webreference.com/programming/ie/



    How it works?
    When I replaced the original tags with the Java the flash file disappears. And how it's possible to put javascript inside the body tag?

    Please, I need help.

  6. #6
    SitePoint Enthusiast
    Join Date
    Jan 2006
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm definitely suggest to use SWFObject to fix this issue. It's most smart and simple solution and also easily integrating with flash player ExpressInstall.
    In the download package you will find few samples of usage.
    Also pay attention to the SWFAdress script that intergrated with SWFObject. Very useful for the deep linking in flash sites.

  7. #7
    SitePoint Wizard rbutler's Avatar
    Join Date
    Jul 2003
    Location
    Springfield, MO
    Posts
    1,867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by magi View Post


    How it works?
    When I replaced the original tags with the Java the flash file disappears. And how it's possible to put javascript inside the body tag?

    Please, I need help.
    See if this helps:

    http://midwestwebdesign.net/tutorial...tent/index.php
    Ryan Butler

    Midwest Web Design

  8. #8
    SitePoint Addict
    Join Date
    Aug 2005
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Great - any idea where the zip file is for this?

    Quote Originally Posted by rbutler View Post
    Abobe's solution in my opinion is quite bulky and ridiculous. The best script I have found so far which works well is at the below address:

    http://www.webreference.com/programming/ie/
    Great - any idea where the zip file is for this?

    Thanks
    Steven

  9. #9
    SitePoint Zealot Acquiesce's Avatar
    Join Date
    Feb 2007
    Location
    Reading, England
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are using Dreamweaver 8 there is a solution for this included in the 8.0.2 Updater.

    http://www.adobe.com/cfusion/knowled...fm?id=2f98fbe7

    To summarise whenever you insert an .swf file into your webpage it will create an external .js file in a subfolder entitled 'Scripts'.

    It will also add the same into any existing webpages which include .swf files when you re-open them in DW.

    I downloaded the updater the moment I saw it and haven't had any problems since.

  10. #10
    SitePoint Wizard rbutler's Avatar
    Join Date
    Jul 2003
    Location
    Springfield, MO
    Posts
    1,867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Acquiesce View Post
    If you are using Dreamweaver 8 there is a solution for this included in the 8.0.2 Updater.

    http://www.adobe.com/cfusion/knowled...fm?id=2f98fbe7

    To summarise whenever you insert an .swf file into your webpage it will create an external .js file in a subfolder entitled 'Scripts'.

    It will also add the same into any existing webpages which include .swf files when you re-open them in DW.

    I downloaded the updater the moment I saw it and haven't had any problems since.
    That's the same worthless script that has been known to cause conflicts in pages with extensive body calls and JS occuring.
    Ryan Butler

    Midwest Web Design

  11. #11
    SitePoint Addict
    Join Date
    Dec 2004
    Location
    england
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ive been using the SWFObject to fix this issue in ie....however im after a way of making the movies transparent?

    any ideas - heres the movie in question

    http://hunterjohnstone-info.co.uk/ox.../services.html

  12. #12
    SitePoint Wizard rbutler's Avatar
    Join Date
    Jul 2003
    Location
    Springfield, MO
    Posts
    1,867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Steve100 View Post
    Great - any idea where the zip file is for this?

    Thanks
    Steven
    There's no zip file. Just download the trial, execute it once, and you'll notice what's going on (it's not difficult). Then uninstall the program.
    Ryan Butler

    Midwest Web Design

  13. #13
    SitePoint Wizard Rabies's Avatar
    Join Date
    Apr 2005
    Posts
    1,515
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PS: If you wish to read up on a variety of other (yet similar) methods to fix this issue, do a SitePoint search for "eolas".

    Here's a lengthy thread which much discussion of this issue: http://www.sitepoint.com/forums/showthread.php?t=372542

  14. #14
    SitePoint Member
    Join Date
    Nov 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually posted this in the 'dhtml display over flash' thread but it applies to here as well and is the best solution to IE's "click to activate" bug I have seen-

    ====== re post below from another thread ===========
    Thanks to a friend at another forum for this tip.

    There IS a way to make flash run UNDER dhtml and still avoid IE's "click to activate" feature (ahem!).

    See how here- http://blog.deconcept.com/swfobject/

    It took a bit of getting my head around how it all works but its not that hard in the end. I had to dig a bit more as my flash is pulling random movies and such but once you figure out how the so.addParam works, it's easy stuff (basically the same as the old way of publishing flash).

    See it in action here- http://www.zacspeed.com/exotecsp3.shtml (click on the product images to see the dhtml running OVER the top of the flash header).

    There is an extension for Dreamweaver so you use this method with just a few mouse clicks (http://www.communitymx.com/abstract.cfm?cid=3DA1E).

    ====================================

  15. #15
    SitePoint Addict AfroNinja's Avatar
    Join Date
    Oct 2006
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I currently just use javascript include and in the javascript file I document.write the code that displays the flash and it works fine. However it doesn't seem to work in IE7? any experience with this?
    The Flash Gaming Network
    Editorial reviews for the latest flash games!
    Afro Ninja Productions
    Original flash games and content from a guy with an afro

  16. #16
    SitePoint Enthusiast uberhost's Avatar
    Join Date
    Jun 2007
    Location
    Southern California
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AfroNinja View Post
    I currently just use javascript include and in the javascript file I document.write the code that displays the flash and it works fine. However it doesn't seem to work in IE7? any experience with this?
    Although I prefer SWFObject for its versatility, it's easy enough to use the JavaScript solution you mentioned.

    Create a file called movie.js, for instance, with the following code (you'll need to edit the size, movie name, Flash version, paths, etc:

    Code:
    function RunMovie()
    {
       document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="movie" width="300"  height="300">\n');
       document.write('<param name="movie" value="movie.swf">\n');
       document.write('<param name="quality" value="high">\n');
       document.write('<param name="wmode" value="transparent">\n');
       document.write('<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="header" width="300" height="300" src="movie.swf" quality="high" wmode="transparent" swliveconnect="true" allowscriptaccess="samedomain"></embed>\n');
       document.write('</object>\n');
    }
    Add this between your <head> tags:

    Code:
    <script src="movie.js" type="text/javascript"></script>
    Then simply add this code where you'd like your movie to display:

    Code:
    <script type="text/javascript">RunMovie();</script>
    If you're doing it like that, IE7 should have no problems at all, and there should be no "click to activate" problem either.

    One thing, it is a sort of validation "cheat" though.

    OT: Sorry for the bump, but I thought this info might be useful to someone.

    Cheers,
    UBERHOST.NET
    Shared, Reseller, Semi-Dedicated Hosting and Dedicated Servers
    cPanel or DirectAdmin Money-Back Guarantee 24/7 Support
    Providing "Service Above All Else" since 2005

  17. #17
    Matt Williams revsorg's Avatar
    Join Date
    Jun 2002
    Location
    Planet Vorcon-5 in sector cx-37-b
    Posts
    1,136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you seen this?

    www.adobe.com/devnet/activecontent/articles/devletter.html

    'On November 8, 2007, Microsoft announced that, as a result of recent technology licenses acquisitions, the 'click to activate' restrictions are no longer mandatory. Microsoft plans to remove the activation behavior from Internet Explorer in April 2008'
    work: revs | ecru
    reviews: films | mp3s
    projects: Glastonbury Tor | London IT support

  18. #18
    SitePoint Guru [Paul Ferrie]'s Avatar
    Join Date
    Oct 2007
    Location
    Glasgow, Scotland, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah but i hear this is only going to apply to a patch release for Vista.
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher
    bringmadeleinehome.com

  19. #19
    SitePoint Member
    Join Date
    May 2008
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by revsorg View Post
    Have you seen this?

    www.adobe.com/devnet/activecontent/articles/devletter.html

    'On November 8, 2007, Microsoft announced that, as a result of recent technology licenses acquisitions, the 'click to activate' restrictions are no longer mandatory. Microsoft plans to remove the activation behavior from Internet Explorer in April 2008'

    Hmm~~actually, I didn't notice this. Firefox is my first choice.

  20. #20
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use swfobject, but have lately noted a problem with IE7 and swfobject (in most computers)... it simply doesn't work.

    Have you guys had the same problem?

  21. #21
    Matt Williams revsorg's Avatar
    Join Date
    Jun 2002
    Location
    Planet Vorcon-5 in sector cx-37-b
    Posts
    1,136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's hard to be certain, but I'm using IE6/XP and I can't find an example of a Flash object that has the click to activate message.
    work: revs | ecru
    reviews: films | mp3s
    projects: Glastonbury Tor | London IT support

  22. #22
    SitePoint Wizard Rabies's Avatar
    Join Date
    Apr 2005
    Posts
    1,515
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by revsorg View Post
    It's hard to be certain, but I'm using IE6/XP and I can't find an example of a Flash object that has the click to activate message.
    That's because IE 6 doesn't have that!! The whole lawsuit occurred after IE 6. IE 7 is the one with this behaviour.

  23. #23
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IE sucks in playing .swf file.

  24. #24
    SitePoint Guru [Paul Ferrie]'s Avatar
    Join Date
    Oct 2007
    Location
    Glasgow, Scotland, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by crtblindseo View Post
    IE sucks in playing .swf file.
    Playing is not the issue.
    Embedding is.
    Can the moders close this thread please.
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher
    bringmadeleinehome.com

  25. #25
    SitePoint Enthusiast
    Join Date
    Jun 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One question.

    The "Insert Flash" in Adobe Dreamweaver CS 4 uses a (modified) Swfobject. But it still results in a "Click to activate...". Thus, I'm using CS3 just to insert Flash. Does anyone else experience this shortcoming? Or is this special to us here? Or a fix for DW CS4?

    Ok, I know there are/may be better solutions, but DW really automates it, and this is especially good for smaller projects.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •