The annoying problem!

G

GarryJones

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
 
E

Evertjan.

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.
 
T

Thomas 'PointedEars' Lahn

GarryJones said:
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.

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?

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 said:
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
 
T

Thomas 'PointedEars' Lahn

GarryJones said:
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.

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?

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 said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top