www.webdeveloper.com
Results 1 to 7 of 7

Thread: embeded swf file not working ( xml problem)

  1. #1
    Join Date
    Feb 2010
    Posts
    13

    embeded swf file not working ( xml problem)

    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..

  2. #2
    Join Date
    Mar 2009
    Posts
    452
    try this:
    Code:
    <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>

  3. #3
    Join Date
    Feb 2010
    Posts
    13
    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...

  4. #4
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    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
    Code:
    <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

  5. #5
    Join Date
    Feb 2010
    Posts
    13
    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

  6. #6
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    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

  7. #7
    Join Date
    Feb 2010
    Posts
    13
    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..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles