can i embed shockwave file in asp page?? How do i do it??? i am getting error message from macrmedia 8...

error message "The tag name: "embed" Not found in currently active version.[XHTML 1.0 frameset]"

Dani AI

Generated

Short answer: yes — embedding is done in the page that ASP serves (ASP only builds the HTML), but the runtime and the browser/plugin determine whether the Shockwave/Flash content actually loads. The plugin error you saw points to a mismatch between the markup the player expects and the document your server is delivering. flagged the markup issue and showed the standards-based object approach; the practical fixes below extend that advice.

Practical checklist

  • Confirm the file type (.swf is Flash, .dcr is Director/Shockwave). Each needs its matching player/plugin.
  • Make sure the server is delivering the page and media with accessible URLs and correct headers. Check the browser Network panel to verify the SWF/DCR file returns 200 and a reasonable Content-Type.
  • If you must support XHTML or strict doctypes, use a standards-friendly embedding helper (it avoids relying on an inline <embed> element). The helper also handles browser/plugin detection and version fallbacks.
  • If you still see plugin errors, test the same embed markup in a simple static HTML page served as text/html. That isolates ASP/server issues from markup/plugin issues.

Example: use a small JavaScript helper that writes the object/embed markup and performs version checks (this avoids embedding the old inline <embed> tag directly).

<script src="/scripts/swfobject.js"></script>
<div id="flashArea">Alternate content</div>
<script>
  swfobject.embedSWF("movie.swf","flashArea","640","360","9.0.0");
</script>

Cautions and modern context

  • Flash and Shockwave plugins have been deprecated across modern browsers; many users will not be able to run .swf or .dcr files without special legacy setups. See Adobe's end-of-life notice and consider JS-based emulators (for SWF) like Ruffle or converting content to HTML5. SWFObject source and Ruffle are useful references. For server static mappings on IIS, check MIME configuration in Microsoft docs if responses show incorrect types.

Recommended Answers

All 2 Replies

Member Avatar for Member #114696

EMBED tag is not supported in XHTML i mean eliminated from that. its not supported even in html 4. use html doctylpes to use embed.

Hi there,

you can use this code to EMBED shockwave file in XHTML 1.0

Valid Flash for XHTML 1.0 Strict (XHTML 1.1)

example

<object type="application/x-shockwave-flash" data="YOURFILE.swf" width="288" height="128">
<param name="movie" value="YOURFILE.swf" />
<img src="Alternate_FILE_NAME.gif" width="288" height="128" alt="Any thing" />
</object>

Rahul Dev

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.