Javascripr and flash doesnt work
Break down your testing then. Forget about the swf file for the moment. Add a pop-up box in your JS that triggers on PageLoad.
If that renders, your JS is accessible, if not, that's where your problem is.
Alternatively, why not embed the SWF directly in the CEWP?Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/
October 25th, 2011 3:20pm
Hi
I can get it to work when i'm using a Page viewer, in this doc library I have the html page also.
But I cannot get it to work with CEWP. I can see that the java script works to a point but it wont load the movie. the movie AND Javascript are both stored in at
http://sp20103/ScriptLibrary and in the javascript I have an absolute URL var countdownSWF = "http://sp20103/ScriptLibrary/countdown.swf";
I've also tried relative address of var countdownSWF = "countdown.swf"; But It makes no difference.
Any help appreciated.
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2011 9:00am
Break down your testing then. Forget about the swf file for the moment. Add a pop-up box in your JS that triggers on PageLoad.
If that renders, your JS is accessible, if not, that's where your problem is.
Alternatively, why not embed the SWF directly in the CEWP?Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/
October 28th, 2011 9:04am
Hi
I've added a CEWP and linked it to a Javascript file, the javascript links to a flash file.
When I use the browser and browse to a .html page that incorporates the .js / swf file works but within CEWP it does not.
Any ideas on this ?
Error message - movie not loading, but have checked path several times
Thanks
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2011 11:51am
In order to display flash file you need to change the Browse File Handling to permissive for the web application. you can check out the steps
here . can you provide the java script snippet if the link didnt solve ur issue?
Raghavendra Shanbhag | Blog:
http://moss-solutions.blogspot.com
Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
Disclaimer: This posting is provided "AS IS" with no warranties.
October 28th, 2011 2:22pm