Adding Flash Content

Posted by Community Admin on 03-Aug-2018 21:16

Adding Flash Content

All Replies

Posted by Community Admin on 12-Feb-2013 00:00
Hi Guys, I'm having a problem visualizing a flash image rotator based on an XML file. I've created the Files folder to store the swf file. Question is, when I use the Content Editor and choose more formatting options and then choose the add flash button I can see the swf files I want to use. I then make all the necessary adjustments for size and save the modifications and close, after which I use preview to see if it's all good and low and behold, all I see is a blank object with a small black rectangle at the top left of the container and the word null. I've used this method in the past with 3.7, but I'm using 5.3 on a virtual machine, with Firefox. I've already verified the swf files by themselves in their folder, and there are aren't any problems. Wondering if SF, once it accepts the swf file in the content editor, that it breaks the path to the xml files.
Posted by Community Admin on 15-Feb-2013 00:00
Hello,

Can you please verify that the application pool identity has read permissions for the folder where the XML files are placed? Additionally check if the paths from your flash application to your XML files are correct.

Also you may want to take a look at this forum thread.
http://www.sitefinity.com/developer-network/forums/bugs-issues/xml-driven-flash-movie-wont-play

If you are still experiencing problems I would suggest to open a support ticket and send us the files.

Regards,

Pavel Benov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 18-Feb-2013 00:00

Ok, boys and girls, here's the solution I've found that seems to work, at least in my case. Using SF 5.3, apparently the api changes the path from /Files/swf.swf file to /ProjectNameFolder/Files/swf.swf file. So when you want to visualize the Flash object it must be seen using the "Live Site" option. Other than that, just make sure that if it's XML based, that the paths are all correct with regard to any image files you my be using. Lastly, this is the embed code I use:

<embed width="940" height="400" flashvars="sloganRotatorXml=/BeachRugby/Files/xml/preview_1.xml" allowscriptaccess="always" quality="high" name="movie" id="movie" src="/BeachRugby/Files/preview_1.swf" type="application/x-shockwave-flash"></embed>

This works for me. So if you're in need of an alternative there it is.

Posted by Community Admin on 21-Feb-2013 00:00

Hello,

Thank you for sharing the information with the community. 

Kind regards,
Pavel Benov
the Telerik team

Posted by Community Admin on 05-Mar-2013 00:00

Ok, now I have another problem, I know it's a path issue, but the flash object wont play on a child page, any ideas where to start looking to correct this problem. It plays correctly on the parent page ie. the following parameter work on the parent page, but not the child;

<embed width="940" height="400" flashvars="sloganRotatorXml=/xml/preview_1.xml" allowscriptaccess="always" quality="high" name="movie" id="movie" src="/Files/preview_1.swf" type="application/x-shockwave-flash"></embed>





<embed width="940" height="150" flashvars="sloganRotatorXml=/xml/slogan_rotator.xml" allowscriptaccess="always" quality="high" name="movie" id="movie" src="/Files/slogan_rotator.swf" type="application/x-shockwave-flash"></embed>

Posted by Community Admin on 08-Mar-2013 00:00
Hello,

Have you tried to place the project's name folder in the .xml file reference?

Xml=/BeachRugby/Files/xml/preview_1.xml"

Kind regards,
Pavel Benov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
This thread is closed