embed flash content

  • 1
  • Question
  • Updated 10 years ago
  • Answered
Hi

I would like to add a flash banner to my site (not in the banner position provided in the template because i know this isn't possible).

How do i embed the file in on my pages without using the 'AC_RunActiveContent.js' file that seems to be the standard now? I don't want my visitor to have to press a play button to get the file going, it is a banner, not a gallery/slideshow.

I'm sure there is an obvious solution but i just can't find it...
Photo of michelle

michelle

  • 24 Posts
  • 1 Reply Like
  • frustrated

Posted 10 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello,
Here is a thread with more information about Adding swf Files. Hope this helps!

Regards,
Emmy
Photo of michelle

michelle

  • 24 Posts
  • 1 Reply Like
Hi Emmy

Thanks for getting back to me. How do I include code pointing to the .xml file that drives my banner in Waynes code?
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Michelle,

Your flash file should be a .swf file, is that what it is?

This is Wayne's code:
<!--
<object width="200" height="400">
<param name="movie" value="resources/myswffile.swf">
<embed src="resources/myswffile.swf" width="200" height="400">
</embed>
</object>
-->

where it says resources/myswffile.swf, that is where you will put your swf file (substituting myswffile.swf for your file name ) that is all ready uploaded to your File Manager.

Hope this helps,
Emmy
Photo of michelle

michelle

  • 24 Posts
  • 1 Reply Like
Hi Emmy

I have both the .swf and .xml files and my image files uploaded to my file manager. The banner is xml driven, so the html i put on my page needs to link back to .swf as well as the .xml because that's what's organising the images to go into the banner.

I'm sorry I can't explain any better than this because I don't know the correct terms myself. I have been able to make the banner work in Firefox, but a whole load of junk displays in IE.

Wayne's code above doesn't include the code needed to implement the .xml.

Please let me know if you have solution.

Thanks for your help

Michelle
Photo of jason

jason

  • 13 Posts
  • 5 Reply Likes
Hi

Try and change the code to the following:-

<!--
<object width="200" height="400">
<param name="movie" value="resources/myswffile.swf">
<embed src="resources/myswffile.swf" width="200" height="400" flashvars="file=resources/xmlfilename.xml&autostart=true">
</embed>
</object>
-->
Photo of michelle

michelle

  • 24 Posts
  • 1 Reply Like
hi jason

sorry for not responding sooner. i spent the weekend updating my site, which would i should have had done last week but was trying to resolve this issue with flash instead.

i tried the code you suggested but it's no go. i did manage to edit it so that it's working in safari and firefox, but IE is still a mess.

it looks like there is someone else with the same question as mine so i'll just follow that thread and see how it goes.

i am under the impression that the SWFObject method of bedding flash that uses the active content js file is the standard method of embedding now. if this is correct, is synathsite giong to address this, maybe a widget that enables the js file to be accessed (if this is possible)?

i have been very happy with synthasite's product and service so far and this is the only problem i've ever had that couldn't be easily resolved.

thank you

michelle
Photo of michelle

michelle

  • 24 Posts
  • 1 Reply Like
Hi again

i have finally figured out the problem with IE and it had nothing to do with jason's code (which is working fine now). i have a mac and us safari as my main browser, IE is on the windows side of my mac and i just use it for testing my site... anyway, apparently IE was missing some plug-in from Adobe so when i actually fixed this, my flash file is playing fine.

thanks for providing a great service... even to those who obviously don't know what they're doing :)

michelle
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi Michelle,

Thank you for letting us know - glad to hear you've got it working!