The annoying problem!

Discussion in 'Javascript' started by GarryJones, Jan 4, 2009.

  1. GarryJones

    GarryJones Guest

    This is the worst type of problem, you code something, you check it in
    several versions of several browsers and upload it and then discover
    that some people cant see the page.... Please help,

    I constructed and uploaded a flash file from a program I downloaded.

    The program gave me the code to use. It works in every pc in firefox.
    But in some cases it does not work in MSIE. It works in msie 7 on my
    pc, but not in msie 7 on my laptop. Several people (about 1 in 10)
    cant see it.

    But I dont know what I can change so I can see it on my laptop. If I
    can find that out I can help others correctly configure msie. Or
    maybe
    the code needs to be tweaked so it will work in all versions of msie?

    The code is as follows.
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/
    flash/
    swflash.cab#version=7,0,0,0"
    width="180" height="180" id="test" align="middle">
    <param name="movie" value="./media/
    chasethesunspringfilm09.swf" />
    <param name="quality" value="high" />
    <param name="play" value="true" />
    <param name="bgColor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <embed src="./media/chasethesunspringfilm09.swf"
    width="180" height="180"
    quality="high"
    play="true"
    bgColor="#FFFFFF"
    wmode="transparent"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/
    getflashplayer" />
    </object>

    I opened the code in dreamweaver and dreamweaver suggested the
    following change, but this just stopped it from working in pcs it was
    working in. I post to this group as it maybe can be fixed with better
    javascript code than dreamweaver can write?

    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/
    shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',
    '180','height','180','id','test','align','middle','src','./media/
    chasethesunspringfilm09','quality','high','play','true','bgcolor','#FFFFFF'­,
    'wmode','transparent','pluginspage','http://www.macromedia.com/go/
    getflashplayer','movie','./media/chasethesunspringfilm09' ); //end AC
    code
    </script>
    <noscript><object classid="clsid:d27cdb6e-
    ae6d-11cf-96b8-444553540000"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/
    flash/
    swflash.cab#version=7,0,0,0"
    width="180" height="180" id="test" align="middle">
    <param name="movie" value="./media/
    chasethesunspringfilm09.swf" />
    <param name="quality" value="high" />
    <param name="play" value="true" />
    <param name="bgColor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <embed src="./media/chasethesunspringfilm09.swf"
    width="180" height="180"
    quality="high"
    play="true"
    bgColor="#FFFFFF"
    wmode="transparent"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/
    getflashplayer" />
    </object></noscript>

    And the object is on a page here

    www.scfmotion.se/chasethesun

    If it does not work in your msie do you know why? Or can you see the
    problem?

    One other little problem with this I want to be able to click on the
    flash object to link somewhere else.

    At the moment I have had to add the link under the object as I could
    not get the a tag to work on the object.

    Any help greatly appreciated.

    Garry Jones
    Sweden
     
    GarryJones, Jan 4, 2009
    #1
    1. Advertising

  2. GarryJones

    Evertjan. Guest

    GarryJones wrote on 04 jan 2009 in comp.lang.javascript:

    > This is the worst type of problem, you code something, you check it in
    > several versions of several browsers and upload it and then discover
    > that some people cant see the page.... Please help,
    >
    > I constructed and uploaded a flash file from a program I downloaded.
    >
    > The program gave me the code to use. It works in every pc in firefox.
    > But in some cases it does not work in MSIE. It works in msie 7 on my
    > pc, but not in msie 7 on my laptop. Several people (about 1 in 10)
    > cant see it.
    >
    > But I dont know what I can change so I can see it on my laptop. If I
    > can find that out I can help others correctly configure msie. Or
    > maybe
    > the code needs to be tweaked so it will work in all versions of msie?
    >
    > The code is as follows.
    > <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    > codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/
    > flash/
    > swflash.cab#version=7,0,0,0"
    > width="180" height="180" id="test" align="middle">
    > <param name="movie" value="./media/
    > chasethesunspringfilm09.swf" />
    > <param name="quality" value="high" />
    > <param name="play" value="true" />
    > <param name="bgColor" value="#FFFFFF" />
    > <param name="wmode" value="transparent" />
    > <embed src="./media/chasethesunspringfilm09.swf"
    > width="180" height="180"
    > quality="high"
    > play="true"
    > bgColor="#FFFFFF"
    > wmode="transparent"
    > type="application/x-shockwave-flash"
    > pluginspage="http://www.macromedia.com/go/
    > getflashplayer" />
    > </object>
    >
    > I opened the code in dreamweaver and dreamweaver suggested the
    > following change, but this just stopped it from working in pcs it was
    > working in. I post to this group as it maybe can be fixed with better
    > javascript code than dreamweaver can write?
    >
    > <script type="text/javascript">
    > AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/
    > shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',
    > '180','height','180','id','test','align','middle','src','./media/
    > chasethesunspringfilm09','quality','high','play','true','bgcolor','#FFF
    > FFF'­,
    > 'wmode','transparent','pluginspage','http://www.macromedia.com/go/
    > getflashplayer','movie','./media/chasethesunspringfilm09' ); //end AC
    > code
    > </script>
    > <noscript><object classid="clsid:d27cdb6e-
    > ae6d-11cf-96b8-444553540000"
    > codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/
    > flash/
    > swflash.cab#version=7,0,0,0"
    > width="180" height="180" id="test" align="middle">
    > <param name="movie" value="./media/
    > chasethesunspringfilm09.swf" />
    > <param name="quality" value="high" />
    > <param name="play" value="true" />
    > <param name="bgColor" value="#FFFFFF" />
    > <param name="wmode" value="transparent" />
    > <embed src="./media/chasethesunspringfilm09.swf"
    > width="180" height="180"
    > quality="high"
    > play="true"
    > bgColor="#FFFFFF"
    > wmode="transparent"
    > type="application/x-shockwave-flash"
    > pluginspage="http://www.macromedia.com/go/
    > getflashplayer" />
    > </object></noscript>
    >
    > And the object is on a page here
    >
    > www.scfmotion.se/chasethesun
    >
    > If it does not work in your msie do you know why? Or can you see the
    > problem?
    >
    > One other little problem with this I want to be able to click on the
    > flash object to link somewhere else.
    >
    > At the moment I have had to add the link under the object as I could
    > not get the a tag to work on the object.


    I don't think it is a javascript problem, why do you think it is?

    Better find some shockwave flash guru or such a NG.


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Jan 4, 2009
    #2
    1. Advertising

  3. GarryJones wrote:
    > I constructed and uploaded a flash file from a program I downloaded.
    >
    > The program gave me the code to use. It works in every pc in firefox.
    > But in some cases it does not work in MSIE. It works in msie 7 on my
    > pc, but not in msie 7 on my laptop. Several people (about 1 in 10)
    > cant see it.
    >
    > But I dont know what I can change so I can see it on my laptop. If I
    > can find that out I can help others correctly configure msie. Or
    > maybe
    > the code needs to be tweaked so it will work in all versions of msie?
    >
    > The code is as follows.
    > <object [...]>
    > </object>


    That's not script code. It looks remotely like XHTML, but you are not
    declaring XHTML. You should declare and use HTML 4.01 instead.

    <http://validator.w3.org/>

    > I opened the code in dreamweaver and dreamweaver suggested the
    > following change, but this just stopped it from working in pcs it was
    > working in.


    <http://www.jibbering.com/faq/faq_notes/clj_posts.html#ps1DontWork>

    > I post to this group as it maybe can be fixed with better
    > javascript code than dreamweaver can write?


    Undoubtedly. Dreamweaver-generated code is usually atrocious.

    > <script type="text/javascript">
    > AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/
    > shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',
    > '180','height','180','id','test','align','middle','src','./media/
    > chasethesunspringfilm09','quality','high','play','true','bgcolor','#FFFFFF'­,
    > 'wmode','transparent','pluginspage','http://www.macromedia.com/go/
    > getflashplayer','movie','./media/chasethesunspringfilm09' ); //end AC
    > code
    > </script>


    (See?) Without the code for AC_FL_RunContent(), that doesn't mean anything.

    > <noscript><object classid="clsid:d27cdb6e-
    > ae6d-11cf-96b8-444553540000" [...]


    Since clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 is an ActiveX/COM object's
    class ID, it likely won't run in non-IEs. In fact, it is only the
    proprietary `embed' element that makes the script have effect in my
    Firefox/Iceweasel (see below).

    > And the object is on a page here
    > .
    > www.scfmotion.se/chasethesun


    WFM in

    - "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122011
    Iceweasel/3.0.5 (Debian-3.0.5-1)" (Firefox 3.0.5) with Shockwave Flash
    10.0 r15 plugin

    - "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
    (IE 6.0 from IEs4Linux 2.99.0.1 beta on wine-1.0.1-174-gc4039bd
    on Debian GNU/Linux stable/lenny/unstable
    on Linux 2.6.27.8-20081225.024056+0100 PREEMPT i686)
    with Flash Player 10,0,12,36 (image flickers, but that is apparently
    because of the Windows emulation)

    > If it does not work in your msie do you know why? Or can you see the
    > problem?


    I have encountered (but not yet solved) problems with Flash movies in MSIE
    that were displayed with Flash Player 9 but stopped being displayed with
    Flash Player 10 in December last year. More about this can probably be
    found at <http://www.adobe.com/devnet/>.

    > One other little problem with this I want to be able to click on the
    > flash object to link somewhere else.


    I think for this you need to add script code to the movie itself. However,
    Macromedia/Adobe ActionScript, although an ECMAScript implementation, is
    rather off-topic here, as there are the macromedia.flash.actionscript
    newsgroup and other Adobe support.


    PointedEars
     
    Thomas 'PointedEars' Lahn, Jan 4, 2009
    #3
  4. GarryJones wrote:
    > I constructed and uploaded a flash file from a program I downloaded.
    >
    > The program gave me the code to use. It works in every pc in firefox.
    > But in some cases it does not work in MSIE. It works in msie 7 on my
    > pc, but not in msie 7 on my laptop. Several people (about 1 in 10)
    > cant see it.
    >
    > But I dont know what I can change so I can see it on my laptop. If I
    > can find that out I can help others correctly configure msie. Or
    > maybe
    > the code needs to be tweaked so it will work in all versions of msie?
    >
    > The code is as follows.
    > <object [...]>
    > </object>


    That's not script code. It looks remotely like XHTML, but you are not
    declaring XHTML. You should declare and use HTML 4.01 instead.

    <http://validator.w3.org/>

    > I opened the code in dreamweaver and dreamweaver suggested the
    > following change, but this just stopped it from working in pcs it was
    > working in.


    <http://www.jibbering.com/faq/faq_notes/clj_posts.html#ps1DontWork>

    > I post to this group as it maybe can be fixed with better
    > javascript code than dreamweaver can write?


    Undoubtedly. Dreamweaver-generated code is usually atrocious.

    > <script type="text/javascript">
    > AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/
    > shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width',
    > '180','height','180','id','test','align','middle','src','./media/
    > chasethesunspringfilm09','quality','high','play','true','bgcolor','#FFFFFF'­,
    > 'wmode','transparent','pluginspage','http://www.macromedia.com/go/
    > getflashplayer','movie','./media/chasethesunspringfilm09' ); //end AC
    > code
    > </script>


    (See?) Without the code for AC_FL_RunContent(), that doesn't mean anything.

    > <noscript><object classid="clsid:d27cdb6e-
    > ae6d-11cf-96b8-444553540000" [...]


    Since clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 is an ActiveX/COM object's
    class ID, it likely won't run in non-IEs. In fact, it is only the
    proprietary `embed' element that makes the script have effect in my
    Firefox/Iceweasel (see below).

    > And the object is on a page here
    > .
    > www.scfmotion.se/chasethesun


    WFM in

    - "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122011
    Iceweasel/3.0.5 (Debian-3.0.5-1)" (Firefox 3.0.5) with Shockwave Flash
    10.0 r15 plugin

    - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
    (IE 6.0 from IEs4Linux 2.99.0.1 beta on wine-1.0.1-174-gc4039bd
    on Debian GNU/Linux stable/lenny/unstable
    on Linux 2.6.27.8-20081225.024056+0100 PREEMPT i686)
    with Flash Player 10,0,12,36 (image flickers, but that is apparently
    because of the Windows emulation)

    > If it does not work in your msie do you know why? Or can you see the
    > problem?


    I have encountered (but not yet solved) problems with Flash movies in MSIE
    that were displayed with Flash Player 9 but stopped being displayed with
    Flash Player 10 in December last year. More about this can probably be
    found at <http://www.adobe.com/devnet/>.

    > One other little problem with this I want to be able to click on the
    > flash object to link somewhere else.


    I think for this you need to add script code to the movie itself. However,
    Macromedia/Adobe ActionScript, although an ECMAScript implementation, is
    rather off-topic here, as there are the macromedia.flash.actionscript
    newsgroup and other Adobe support.


    PointedEars
     
    Thomas 'PointedEars' Lahn, Jan 4, 2009
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Zita

    Annoying HttpModule/QueryString Problem

    Andreas Zita, Nov 29, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    523
    Andreas Zita
    Nov 29, 2005
  2. Daniel Fisher\(lennybacon\)

    Re: Annoying HttpModule/QueryString Problem

    Daniel Fisher\(lennybacon\), Nov 30, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    593
    Daniel Fisher\(lennybacon\)
    Nov 30, 2005
  3. Joe
    Replies:
    2
    Views:
    1,782
  4. TheKeith
    Replies:
    15
    Views:
    6,826
    Denise Enck
    Jun 30, 2003
  5. Paul Watt

    Annoying problem with spacer

    Paul Watt, Oct 4, 2005, in forum: HTML
    Replies:
    20
    Views:
    954
    Matt Probert
    Oct 5, 2005
Loading...

Share This Page