Results 1 to 2 of 2

Thread: Exporting a flash movie

  1. #1
    Join Date
    Nov 2004
    Posts
    10

    Default Exporting a flash movie

    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.

  2. #2
    Join Date
    Jul 2005
    Location
    Serbia & Montenegro
    Posts
    71

    Default Hunter

    This is not correct code.
    When in the browser is not installed plugins for flash, what are you doing???

    I use this code for flash, and browser is automatically download plugins for flash, when plugin is not installed.

    Code:
     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="400">
    <param name="movie" value="somefilename.swf">
    <param name="quality" value="high">
    <embed src="somefilename.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed></object></td>

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
  •