Click here to Skip to main content
13,894,340 members
Rate this:
 
Please Sign up or sign in to vote.
I have a problem embedding a swf in my website.
The swf is a dynamic image gallery, and fetches the images with an xml file.
I tried using relative and absolute paths, but I am still unable to load the swf.
Can someone please help me?
This is the site:
cosecha-verde.000webhostapp.com

And this is the code I used to embed the file:

Iam not sure if this is the absolute path, since I am redirected to another site, when I open the file manager.
I am using 000webhost.
Thanks in advance.

What I have tried:

<pre><script type="text/javascript" src="/public_html/swfs/logros/test/swfobject.js"></script> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="text/javascript"> 
var so = new SWFObject("https://www.000webhost.com/members/website/cosecha-verde/files/swfs/logros/test/FExplorer.swf", "Gallery", "1024", "768", "8", "#336699"); so.write("flashcontent"); </script>
Posted
Comments
Graeme_Grant 22-Jan-19 20:10pm
   
Flash is a dead technology. Why use it?
Bryian Tan 22-Jan-19 23:24pm
   
the absolute path should be https://cosecha-verde.000webhostapp.com/swfs/logros/test/FExplorer.swf?
Member 10850253 23-Jan-19 9:16am
   
I just tried the absolute path you gave me in the previous comment, but that didn't work. I know flash is a dead technology, but I have a nice image gallery, that I would like to use with my website. Please let me know if there is something else I can try.
Thanks.
Member 10850253 23-Jan-19 10:19am
   
I fixed the swf part, now the problem is that the images that should load from xml are not loading. I used /public_html/swfs/logros/test/images/Logros 2016-2017/GL10_1.jpg, as the path for one of the images, but I don't know what path should I use.
Can someone please help me out, and let me know which would be the full path, that I should use.
Thanks.
Member 10850253 23-Jan-19 11:50am
   
I also tried using this code in xml, but still nothing:
.../thumbs/Logros-2016-2017/GL12_1.jpg
Please let me know how to load images from an xml file in a webhostapp website.
Thanks.
Member 10850253 23-Jan-19 13:16pm
   
I fixed the problem I ws having. I just have one more issue. The flash image gallery displays just fine in firefox, but it doesn't display in edge or chrome, any ideas why?
Thanks.
Richard Deeming 24-Jan-19 7:13am
   
Because Flash is dead, as Graeme already mentioned. It's either not installed or not enabled in those browsers.

The Flash player will no longer be distributed or updated from the end of next year:
Flash & The Future of Interactive Content | Adobe Blog[^]

Firefox will disable Flash by default this year, and remove support completely next year:
Plugin Roadmap for Firefox | MDN[^]

Chrome will disable Flash by default from July, and remove support completely next December:
Flash Roadmap - The Chromium Projects[^]

Edge will do the same:
The End of an Era – Next Steps for Adobe Flash - Microsoft Edge Blog[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190306.1 | Last Updated 22 Jan 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100