Results 1 to 8 of 8

 

Thread: How do I Attach an image file!

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Cwmbran, Wales
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Hi All,

    I have had a few banners created for valentines day to promote some of our new special offers.

    I currently have them in a swf file format but i want to write a newsletter in html and attach the images.

    How do I attach a Swf file as a banner image in html.

    Any help would be grat.

    Icould then get round to posting up www.blushingbuyer.co.uk special offers for Valentines day.

    Kind Regards to all

    Lewis Coburn

  2. #2
    data muncher

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Berlin
    Posts
    2,475
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am sure most people would say that you have posted in the wrong forum but here is the help that you need:

    Flash Embedded in HTML
    After creating a Flash movie you choose File > Save As from the top menu to save your movie. Save the file as "Somefilename.fla".

    To embed the Flash movie you just made into an HTML page, you should go back to your Flash program and do the following steps:

    Step 1
    Choose File > Open. Open a Flash movie you have created.

    Step 2
    Choose File > Export Movie.

    Step 3
    Name the file "somefilename.swf". Choose the location where the file is to be stored (in your Web folder). Click OK.

    Step 4
    Open the HTML page where you want to insert your Flash movie. Insert this code:

    <object width="550" height="400">
    <param name="movie" value="somefilename.swf">
    <embed src="somefilename.swf" width="550" height="400">
    </embed>
    </object>

    Note: This is the minimum code you need to embed a Flash movie in a browser. A broken icon will appear on the Web page if the user does not have the Flash plug-in installed.

    Note: In the code above there is both an <embed> tag and an <object> tag. This is because the <object> tag is recognized by Internet Explorer, and Netscape recognizes the <embed> tag and ignores the <object> tag.

    Step 5
    Type in the address of the HTML file in your browser and look at your first Flash movie.


    --------------------------------------------------------------------------------

    Let the Flash Program do the Work
    The code above is the absolute minimum code to embed Flash movies in HTML pages. It is not recommended to use the minimum code. There should be a few more attributes added:

    classid is an attribute to the <object> tag. It tells Internet Explorer to load the ActiveX plug-in if it is not installed
    pluginspage is an attribute to the <embed> tag. It displays a link to the Shockwave download page if Netscape does not have it
    The Flash program can add these attributes for you:

    Step 1
    Choose File > Publish. Flash will now create the <object>, <param>, and <embed> tags for you. It will also create the classid and pluginspage attributes.

    Step 2
    Open the HTML document that Flash created, view the HTML source and copy the code into your HTML page where you want your Flash movie.

    Step 3
    Be sure that you have the "somefilename.swf" in your Web folder.

    Step 4
    Type in the address of the HTML file in your browser and look at your first Flash movie.


    --------------------------------------------------------------------------------
    Nothing to see here...

  3. #3
    data muncher

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Berlin
    Posts
    2,475
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry html screwed up a bit, here is the code that should of displayed:

    <object width="550" height="400">
    <param name="movie" value="somefilename.swf">
    <embed src="somefilename.swf" width="550" height="400">
    </embed>
    </object>
    Nothing to see here...

  4. #4
    data muncher

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Berlin
    Posts
    2,475
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <PRE>
    <object width="550" height="400">
    <param name="movie" value="somefilename.swf">
    <embed src="somefilename.swf" width="550" height="400">
    </embed>
    </object>
    </PRE>
    Last edited by Fraser; 31-01-05 at 10:46 AM.
    Nothing to see here...

  5. #5
    data muncher

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Berlin
    Posts
    2,475
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It is treating the html that i post as html in the website so is not showing the code lol, will email you it instead
    Nothing to see here...

  6. #6
    Registered User

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Cwmbran, Wales
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks a lot for the code......

    I await your email.

    regards,

    Lewis

  7. #7
    data muncher

    Status
    Offline
    Join Date
    Sep 2004
    Location
    Berlin
    Posts
    2,475
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i emailed you on your customer care address i found on your website ;-)
    Nothing to see here...

  8. #8
    Paul Wright's Avatar
    Fishboy

    Status
    Offline
    Join Date
    Jan 2005
    Location
    London
    Posts
    1,735
    Thanks
    32
    Thanked 20 Times in 14 Posts
    Hi, just a quick post to say that if you would like to use code in the forums there's a "PHP" that you can use.

    or surround your code by code [ code ] [ /code ] tags like so...

    Code:
     blah blah this is some code
    cheers.
    Last edited by Vivid Paul; 31-01-05 at 01:34 PM.
    Agency Services Director | e: paul.wright@tradedoubler.com | t: 0207 798 5825




Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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

Content Relevant URLs by vBSEO 3.5.0 RC2