Click to See Complete Forum and Search --> : embeded swf file not working ( xml problem)
olanexhari
03-01-2010, 12:07 PM
Hi,
I am trying to embed swf file in to html page. It has xml file with it for modification of size and photos. I use dreamweaver for it. when I embed file and preview it in browser but when I ftp it and view in browser it shows nothing but white background.
here is link to page
http://www.reedhee.com/index.html
here is link to xml file
http://www.reedhee.com/load/load.xml
I m working on it for last one week without result. I m getting frustrated by it..
anybody please help me..
try this:
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="index.swf?xml_path=load/load.xml" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<embed src='index.swf'
width='358'
height='357'
bgcolor='#FFFFFF'
allowscriptaccess='always'
allowfullscreen='false'
quality='best'
flashvars='xml_path=load/load.xml'
</embed>
</object>
olanexhari
03-01-2010, 01:30 PM
Thanks Zabi,
I tried it but its not working.
somehow i realized that there is something wrong with index.swf file.
Here is URL for index.swf file
http://www.reedhee.com/index.swf
see its not displaying images...
well i was wondering if you have any idea what to do in this condition?
Thanks...
Eye for Video
03-01-2010, 02:04 PM
My guess is that it's a pathing problem. The xml file is in the load folder, correct? And in the load folder is there an images folder? If so, then the path from the xml file to the .jpg files would be
<image_path>images/click.jpg</image_path>
The difference is removing the folder name load from the path.
Give that a try.
Best wishes,
Eye for Video
www.cidigitalmedia.com
olanexhari
03-01-2010, 02:25 PM
well i changed images path but still its not working.
i was happy for a while coz i thought if thats path problem it should be okay after changing it. but still it dosnt work..
any way thanks
Eye for Video
03-01-2010, 02:54 PM
Well I still think that's the correct path from the .xml file to the images.
Testing by direct download show the very first image missing.
This does not work ... file not found:
http://www.reedhee.com/load/images/click.jpg
This link works
http://www.reedhee.com/load/images/mnik.jpg
But you can see that from the xml file to the .jpg images, the images folder is in the load folder so "load" should not need to be included in the path.
Put the missing "click" image in the images folder or comment that entire <image> out and test the path again as I suggested.
EfV
olanexhari
03-01-2010, 05:18 PM
Thank you very much Eye for Video,
you are wonderful. It worked finally. Only problem was in my root folder name of file was Click.jpg( C is upper case here) and i gave path click.jpg( c is lower case here). I changed from upper case to lower case in its working just great.. Here is d final result...
http://www.reedhee.com/
its only becoz you pointed out that click.jpg is not working, i could manage it to work.
thank you very much for your time..