Results 1 to 4 of 4

Thread: Embedding swf file in a webpage - I've tried everything I can think of

  1. #1
    Join Date
    Oct 2005

    Embedding swf file in a webpage - I've tried everything I can think of

    I created a photo album with a program and created a display with thumbnails on the side and a slideshow of the full size pictures. I copied and pasted the code from the video html page, but it doesn't work. Can someone help me out?

    This is the code from the video html page that goes in the <head>:

    <style type="text/css">
    * {margin:0 auto; padding:0 ;}
    #top { height:20px; background-color:#1A1A1A; border-bottom:1px solid #5A5A5A;}
    #title{ font-size:22px; color:#CCCCCC;}
    a {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-decoration: underline;

    And this is the object code that is placed on the page where I want the video to play:

    <!-- saved from url=(0013)about:internet -->
    <div id="top">
    <table align="center" border="0" cellpadding=0 cellspacing=0>
    <td align="center"><span id="title">MOONLIGHT (DEMO)</span></td>
    <tr><td align="center"></td></tr>
    <td align="center">
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="660" height="450" id="tech" align="middle">
    <param name="movie" value="DEMO.swf?xml_path=slides.xml" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="allowScriptAccess" value="always" />
    <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
    <embed src="DEMO.swf?xml_path=slides.xml" width="660" height="450" quality="high" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />


    Here's the URL of the sad and lonely page:

    http://www.belesprit.net/v2/demo/DEMOTEST.aspx (it is a css page in case that makes a difference)

    The website is created in Dreamweaver, so I first tried using Dreamweaver command (INSERT/MEDIA) to insert the Flash, but didn't work. I have also looked online for sample embed coding, double checked code and followed numerous different instructions to embed swf. Everything gives me a completely blank page or "LOAD FAIL."


  2. #2
    Join Date
    Feb 2008
    NW Washington State
    First off, I'll admit that I know nothing about how .asp pages work, but on the other hand, I know a heck of a lot about how the Flash part works, so maybe I can offer a few suggestions.
    Typically when diagonsing Flash problems, it's a good idea to start by checking to see if each of the files needed are available (the .swf, the .xml, etc). Applying that process to your web page seems to bring up a couple of problems. First,
    should allow direct download of the .swf and
    should allow direct download of the .xml file. But both addresses come up with file not found. So it appears that either the address is wrong, the file is some other folder, or there is some other problem with the path to those files.
    So for starters, you should double check the upload process, make sure all the files have been correctly uploaded and that you can directly download any and all files. Then you can correctly code the path.
    <param name="movie" value="DEMO.swf?xml_path=slides.xml" />
    Best wishes,
    Eye for Video

  3. #3
    Join Date
    Oct 2005
    If I could impose once more - I'm a complete idiot when it comes to this. I uploaded the entire folder created for the video, with the slides, the swf, html and slide.xml files plus all the other stuff - this is the folder of stuff the video program creates. Still doesn't work. I don't know what I am screwing up. Any ideas? This is driving me nuts.

  4. #4
    Join Date
    Feb 2008
    NW Washington State
    Well we're still working with a lot of variables here:
    I created a photo album with a program
    Without seeing the software/code used to do this, there's really no telling how the final output is supposed to work. Was this Flash or a Flash knock off? Have you tested the final .swf on your local machine and everything works?
    I copied and pasted the code from the video html page
    just because some code may work for a video player file, does not necessarily mean that the exact same code will work for a slide show, (though it might).
    Can you go to the folder which holds your .swf, on your local machine, click on DEMO.swf (all those caps make me nervous), and does the slide show display correctly?
    That has to work before you start any coding on a Web page.
    Best wishes,

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.10162 seconds
  • Memory Usage 2,876KB
  • Queries Executed 15 (?)
More Information
Template Usage (34):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates