A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Putting flash into html code

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    1
    I know this question has probably been asked like 10000000 times, but will someone please give the code to put my swf file into my html. thanks in advance

  2. #2
    Senior Member
    Join Date
    Sep 2000
    Posts
    532
    Go into publish options and check the html checkbox. Flash will produce an html document for you. If you don't want to use that html doc, open the file and mimic the code they use in there.

  3. #3

    Wink swf Code for HTML

    KrazyKlown:

    Simply "publish" your file in Flash (use the file option on the menu bar, scroll down to where it says Publish Preview, and over to HTML (or else hit F12). If you like, you can cut and paste out the swf code and place into a separate HTML file. Simply look for the two object tags <OBJECT> and </OBJECT> and copy them (and everything in between them) into your other HTML page.

    Watch out for any URL's you have in your file. The codes for these come between the <A HREF> and closing </A> tags. You'll need these too, if you transfer the source code.

    Hope that helps!

    Bob Treat

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center