Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900