A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Names in Flash html code

Hybrid View

  1. #1
    Member
    Join Date
    Feb 2005
    Posts
    34

    Names in Flash html code

    This is more of a flash Q than Flix, but in the generated code which is typical for loading flash the name of the swf file is repeated 5 times. Are some of these redundant or are there situations where they may be different? Is there a place that discusses what each are used for? How does the player vs the content .swf enter into this?

    The flash classid - is this something that must be generated new for each object or what are the ramifications if we reuse for different .swfs? What does the classid do?

    Thanks.

    <!-- tags to embed Flix movies into an HTML page-->
    <OBJECT width="239" height="209" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" name="video.swf" id="video.swf" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
    <PARAM name="movie" value="./video.swf">
    <PARAM name="loop" value="false">
    <PARAM name="quality" value="high">
    <PARAM name="play" value="TRUE">

    <EMBED width="239" height="209" src="./video.swf" name="video.swf" loop="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

  2. #2
    Member
    Join Date
    Feb 2005
    Posts
    34
    I found this web page which was quite helpful as a start:
    http://www.w3schools.com/flash/flash_inhtml.asp

  3. #3
    Wildform Moderator
    Join Date
    Sep 2000
    Posts
    2,070
    Hi.
    The easiest thing to do is to replace the name, but you have to make sure things like the swf dimensions are also correct.
    If you use the automatic html export while encoding with Flix, the name and dimensions will be set for you.
    jb

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