A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] - Relative Reference to SWF within EMBED Tag

  1. #1
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017

    [CS3] - Relative Reference to SWF within EMBED Tag

    Hey all,

    I haven't messed with HTML in a while, and it seems like I've forgotten how to do relative references. Here is my code:

    Code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" 
    WIDTH="1024" HEIGHT="768" id="myMovieName">
    <PARAM NAME="movie" VALUE="\DATA\Dashboard.swf"> 
    <PARAM NAME="quality" VALUE="high">
    <PARAM NAME="bgcolor" VALUE="#FFFFFF">
    <PARAM NAME="play" VALUE="true">
    <PARAM NAME="loop" VALUE="true">
    <PARAM NAME=bgcolor VALUE="#FFFFFF">
    <param name="scale" value="noscale">
    <EMBED src="\DATA\Dashboard.swf" quality=high bgcolor=#FFFFFF WIDTH="1024" HEIGHT="768" 
    NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" 
    play="true" loop="true" 
    PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>
    My directory structure is:

    Code:
    _root:
    dashboard.html
    
    DATA:
    Dashboard.swf
    Wherever the _root is may change, so I need a relative reference to the SWF.

    Thanks,
    DaVULF
    Last edited by DaVulf; 12-10-2008 at 01:44 PM.

  2. #2
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    Got it. Thanks.

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