Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding new file path/code

    Hi,
    Can someone please help me with this code,
    Need to keep so that it views in IE and Firefox
    I need to modify this code to change file path/location of swf file
    This is original:
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','525','height','423','align','middle','title','bangs and fringes pictures video','src','support-files/bangs1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','support-files/bangs1' ); //end AC code
    </script>
    <noscript>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="525" height="423" align="middle" title="bangs and fringes pictures video">
    <param name="movie" value="support-files/bangs1.swf">
    <param name="quality" value="high">
    <embed src="support-files/bangs1.swf" width="525" height="423" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
    </object>
    </noscript>
    I have this at page top:
    <script src="support-files/AC_RunActiveContent.js" type="text/javascript"></script>
    and
    <script type="text/javascript" src="support-files/swfobject.js"></script>

    I need to change the support files/ to the site they will now be stored on,
    how would I now write the code?
    I have tried this and does not work, getting this line wrong?
    video','src','http://76.12.200.158/bangs/files/bangs1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://76.12.200.158/bangs/bangs1'
    This is code, not working
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','525','height','423','align','middle','title','bangs and fringes pictures video','src','http://76.12.200.158/bangs/files/bangs1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://76.12.200.158/bangs/bangs1' ); //end AC code
    </script>
    <noscript>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="525" height="423" align="middle" title="bangs and fringes pictures video">
    <param name="movie" value="http://76.12.200.158/bangs//bangs1.swf">
    <param name="quality" value="high">
    <embed src="http://76.12.200.158/bangs/bangs1.swf" width="525" height="423" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Best Method of Embedding Flash

    This is a better method for embedding Flash. Try this first.


  •  

    Posting Permissions

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