I have a VERY basic site, and I am using microsoft word to make some simple pages. I have a flash cartoon that i want to upload onto my site but I cant put any of the files into microsoft web page program or get any of the files to load on the site when I upload them. There are buttons in this animation that I need to keep active. So please some one with much more experience, what do I need to do to upload a working flash animation?

Dani AI

Generated

Practical, up-to-date addendum for (builds on earlier replies by and ): a concise checklist to get a working SWF on a simple site, plus what to do now that Flash is deprecated.

  • File + server checklist: upload the .swf and any external assets (MP3, XML, images) to the hosting account using FTP or the host file manager. Confirm the SWF is reachable by entering its direct URL (fix 404/permissions if necessary). The server should present a Flash MIME type for .swf files — add an AddType line in Apache/.htaccess if needed. Use a header check (for example curl -I https://yourdomain/path/movie.swf) to verify the Content-Type. (gsp.com)

  • Embedding and scripting parameters: use standards-based object/embed markup and include the params your SWF needs (for example allowScriptAccess when the SWF calls JavaScript, or wmode for layering). Give the embed a stable id so JS/ExternalInterface calls can target it reliably. Example minimal markup (adjust paths/sizes/params to your movie):

    <object id="myFlash" data="movie.swf" type="application/x-shockwave-flash" width="640" height="480">
      <param name="movie" value="movie.swf" />
      <param name="allowscriptaccess" value="sameDomain" />
      <param name="wmode" value="opaque" />
      <!-- fallback content here -->
    </object>

    For the correct object usage and parameter behavior see the HTML/object guidance. (devdoc.net)

  • Reality check and modern options: Adobe ended Flash Player support and browsers block it; long-term, convert or rebuild interactive content in HTML5/JS or export animation to video. For preserving or running legacy SWFs on modern browsers, consider an emulator like Ruffle or an archival platform such as Flashpoint; these let many SWFs run without the old plugin. Example quick add (Ruffle CDN + object) will often let a modern browser run the SWF via WebAssembly:

    <script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
    <object data="movie.swf" type="application/x-shockwave-flash" width="640" height="480"></object>

    Test SWFs with Ruffle first — compatibility varies by ActionScript version. ()

  • Quick troubleshooting pointers: 1) Try the SWF URL directly to confirm it downloads; 2) check browser console/network for 403/404 or wrong Content-Type; 3) if the SWF loads external data from other domains, ensure a crossdomain.xml policy is present on that host; 4) if buttons or JS calls fail, confirm allowscriptaccess and a unique id for the embed. If the site was generated by Word, rebuild or clean the HTML with a plain-text editor so tags/paths aren’t mangled. (flylib.com)

If the animation is important and interactive, plan to migrate to HTML5/JS for long-term compatibility; emulators are useful stopgaps but not a permanent substitute.

Recommended Answers

All 4 Replies

There is a site called w3scools.com, which can help you with many things in basic web design, here is a to it, stright to part in which they explain how to embed flash into html

Thanks alot for the helpfull hint

I have a VERY basic site, and I am using microsoft word to make some simple pages. I have a flash cartoon that i want to upload onto my site but I cant put any of the files into microsoft web page program or get any of the files to load on the site when I upload them. There are buttons in this animation that I need to keep active. So please some one with much more experience, what do I need to do to upload a working flash animation?

Hi I had the problem about flash mp3 component .. i found my solution at ..... you must try this also.

First, I just have to say it, don't ever use Word for webpages.

2nd, Did you create the flash object? If so then you can just have it export the html like you normally would, then copy everything from <object> to </object> and paste it into where ever you want it within your page. Make sure the path to the flash object is relative and that it point to wherever you uploaded the .swf file.

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.