The message I wrote the other day doesn't seem to have been sent. I'll
try again...
The html file contains the following code in the head-tag:
<script type="text/javascript" src="otherfiles/swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myFlashContent", "9.0.0");
</script>
and the following (amongst others) in the body-tag:
<div id="showcase">
<div class="container">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="400" height="260" id="myFlashContent">
<param name="movie"
value="siteimages/rotator.swf" />
<!--<param name="wmode" value="transparent"
/>-->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="siteimages/
rotator.swf" width="400" height="260">
<!--<param name="wmode" value="transparent"
/>-->
<!--<![endif]-->
<a href="" title=""><img src="" alt=""
/></a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<!--/container-->
</div>
<!--/showcase-->
I changed the swf file to the file I have currently on the live site
(the "frame to frame" animation) and it worked. With the new swf file
it just shows a white square where the pictures should be so the swf
file seems to show, but not the pictures. I guess there is something
wrong between the swf file and the xml file when showing in the
browser, but it works just fine when running it from the map (in the
web page map with the other files in different maps, as it is live)...
The flash file (AS3) linkes to the xml file with this line:
urlLoader.load(new URLRequest("../otherfiles/showcase.xml"));
And the xml file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<rotator speed="2">
<image url="image.jpg" />
<image url="image2.jpg" />
</rotator>
Any ideas or is more info required?
On 15 Apr, 20:33, Sam Sherlock <[email protected]> wrote:
> Do you have a link to this example?
>
> or sample code without either of these suggestions are just shots in the
> dark.
>
> You should easily be able to set this up. Its how I use flash/swfobject all
> the time.
>
> - S
>
> On 15 April 2010 15:27, LK <[email protected]> wrote:
>
> > to that extent. But the pictures are not
> > showing. Since it is working when I play it manually there shouldn't
> > be anything wrong with the files so I wonder if there is something
> > with the SWFObject code that is me
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.