A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: flash not working - weird grey box

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26

    flash not working - weird grey box

    http://www.80scartoonscontent.co.uk/ngc/profiles.html

    I've created this page, but the buttons (with the names) don't work as soon as the page loads - you have to click on them to activate it as a button?!? None of the links work yet by the way, I know that

    When you move the mouse over any flash object, you get a weird grey box surrounding it.

    Very annoying!! Why has this suddenly started happening, and how can I stop it?

    Any help or advice is greatly appreciated!

    Thanks
    "I Only Smile In The Dark"

  2. #2
    Junior Member
    Join Date
    Feb 2003
    Location
    Scotland
    Posts
    26
    ok, my apologies - its the activeX thing that's happening to everyone.

    i've searched through loads of topics, and i'm trying to get the javascript thing to work, but i'm not very experienced, and it's not working.



    how do i find out what my flash file ID is?
    "I Only Smile In The Dark"

  3. #3
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    a simple workaround for a swf called actionscript.swf -
    html -
    PHP Code:
    <HTML>
    <
    HEAD>
    <
    TITLE>actionscript</TITLE>
    <
    script src=actionscript.js></script>
    </
    HEAD>
    <
    BODY  bgcolor="#7DC6BD" scroll="auto" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" 
    <
    TABLE HEIGHT=100WIDTH=100%><CENTER>
    <
    TR><TD>
    <
    script>actionscript_swf();</script></CENTER></TD></TR></TABLE>
    </
    BODY>
    </
    HTML
    actionscript.js -
    Code:
    function actionscript_swf()
    {
    	output = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"  codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"  WIDTH=\"100%\" HEIGHT=\"100%\" id=\"actionscript\" ALIGN=\"\">";
    	output += "<param NAME=movie VALUE=\"actionscript.swf\">";
    	output += "<param NAME=loop VALUE=false>";
    	output += "<param NAME=menu VALUE=false>";
    	output += "<param NAME=quality VALUE=high>";
    	output += "<param NAME=bgcolor VALUE=#7DC6BD><EMBED src=\"actionscript.swf\" loop=false menu=false quality=high bgcolor=#7DC6BD  WIDTH=\"100%\" HEIGHT=\"100%\" NAME=\"actionscript\" ALIGN=\"\"  TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED></object>";
    	document.write(output);
    }
    Edit in these files with Notepad to suit your movie name and upload both to a server and test

  4. #4
    Junior Member
    Join Date
    May 2006
    Posts
    1

    Implementing along with Flash Detection JS

    Hey folks,
    We've implemented the ACTIVEX Adobe script (and Mark-Bennett's Comments' script from his http://activecontent.blogspot.com/ site) which works perfectly on our Flash that's embedded simply within HTML. However we're having problems with pages that already have JS detection scripts installed (Colin Moock's and Macromedia's Flash Detection Kit). Would someone be able to post how we'd implement the new ACTIVEX script into those detection scripts? Advice?

    zumbasan

  5. #5
    Senior Member
    Join Date
    Feb 2004
    Posts
    494
    I wanted to know how do I change the layout size in the html or js script. It sqwishes down the highet of my swf file.

    Thanks

  6. #6
    Senior Member
    Join Date
    Feb 2004
    Posts
    494
    How do you do this code if you have ywo flash files on one page?

    I have one html page and two seperate swf files on it.

    Please help.


    Thanks

  7. #7
    Junior Member
    Join Date
    Aug 2002
    Posts
    7

    fix not working

    I copied the suggested code, put into my web page, linked the js but I still have the grey box
    http://www.maggiehollins.com/Updated...site/test.html
    any suggestions please?
    my head hurts

  8. #8
    Senior Member
    Join Date
    May 2005
    Location
    Canada
    Posts
    212

  9. #9
    Senior Member
    Join Date
    Feb 2004
    Posts
    494
    I have a question. Why does my website work fine for over a year and then all of a sudden I have to click it to activate it and the the buttons work??

    Thanks

  10. #10
    Senior Member
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    147
    Its the new microsoft active x controls.
    They lost a big lawsuit to someone who patented the technology way back when.
    Google it, as there is a javascript work-a-round to stop this happening.

    See this site for an example.. BWS

  11. #11
    Junior Member
    Join Date
    Aug 2002
    Posts
    7

    fix added

    yes I think you are correct. I viewed my website on another computer and it looked ok. Now I have added the js fix on the page. Thankyou
    my head hurts

  12. #12
    Senior Member
    Join Date
    Feb 2004
    Posts
    494
    ok, but it shows for one move"swf file" and I have two on one page. How do I fix this and add two in one js file?

    Thanks

  13. #13
    Senior Member
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    147
    hmmm, as far as i tested, it works on multiple flash files...
    check out, BWS - Beer Wine Spirits

    I this is a client of mine, and we run multiple flash files on this page.
    and it uses the same javascript (as far as i can remember!)

    Hope this helps?

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center