Help Editing code from a published html file with flash detection enabled from flash

Advertisement

hi guys ive publish a html file with flash detection enabled from flash
heres the code from the publish html:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>main</title>
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 45;
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
     alert("This page requires AC_RunActiveContent.js.");
} else {
     var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
     if(hasRightVersion) {  // if we've detected an acceptable version
          // embed the flash movie
          AC_FL_RunContent(
               'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0',
               'width', '800',
               'height', '600',
               'src', 'main',
               'quality', 'high',
               'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
               'align', 'middle',
               'play', 'true',
               'loop', 'true',
               'scale', 'showall',
               'wmode', 'window',
               'devicefont', 'false',
               'id', 'main',
               'bgcolor', '#ffffff',
               'name', 'main',
               'menu', 'true',
               'allowScriptAccess','sameDomain',
               'allowFullScreen','false',
               'movie', 'main',
               'salign', ''
               ); //end AC code
     } else {  // flash is too old or we can't detect the plugin
          var alternateContent = 'Alternate HTML content should be placed here.'
               + 'This content requires the Adobe Flash Player.'
               + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
          document.write(alternateContent);  // insert non-flash content
// -->
</script>
<noscript>
     // Provide alternate content for browsers that do not support scripting
     // or for those that have scripting disabled.
       Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
       <a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
</noscript>
</body>
</html>
now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th valign="middle" scope="col"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <th height="600" bgcolor="#333333" scope="col"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','800','height','600','src','main','quality','high','pluginspage','http://www.adobe.com /shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','main' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600">
          <param name="movie" value="main.swf">
          <param name="quality" value="high">
          <embed src="main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="600"></embed>
        </object></noscript></th>
      </tr>
    </table></th>
  </tr>
  <tr>
    <td height="30" bgcolor="#990000"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <th scope="col"><table width="800" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th scope="col"><div align="left" class="style1">Copyright 2009 St. Paul of the Cross Parish. All Rights reserved.</div></th>
            <th width="400" scope="col"><div align="right" class="style1">Usage outside our permissions guidelines requires our prior written consent.</div></th>
          </tr>
        </table></th>
      </tr>
    </table></td>
  </tr>
</table>
Tnx in advance!

Advertisement

Hi
Can you tell me which version of dreamweaver you are using (and flash pro, if you have it), as the code you provided has element of a number of different versions (e.g. your js flash files are reasonably new, but your flash inserted into the html body is old, but with the cs3 version of flash player indicated!). Also the detect flash file is no longer required.
PZ

November 30, -0001

Help Editing code from a published html file with flash detection enabled from flash

hi guys ive publish a html file with flash detection enabled from flash heres the code from the publish html: <!-- saved from url=(0013)about:internet --> <html lang="en"> <head> <meta http-equiv="Content-Type" con

Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.

Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.A possible

Amarok 1.4.10 from AUR plays flac files with errors

amarok 1.4.10 from AUR plays flac files with errors and i mean that it plays flac files but with strange behavior and of course the result is awful is there any chance to fix that problem. i have compile it with xine engine, can i use a different eng

How to save HTML file with images present in the server to local machine

Hi all In my application i have a option for the user to save HTML files with images present in the server. The HTML file is getting saved but the images are not being saved. The code i am using is below :- l                     File fname = new File

Plz help to get the tag of html file

hi I wants to convert the HTML file into PDF file dynamically. So first i wants to get the tag of html file when we pass the path of html file. so how i do this plz help me.Plz Tell me how I get the HTML Tag through the java code.Read other 2 answers

Parsing the URL of all images from Google Images html file

Hello all, I am trying to pull all the image URL's from a html file. I have used URLConnection class to copy the follwing link http://images.google.com/images?q=tiger&gbv=2&svnum=10&hl=en&start=21&sa=N&ndsp=21 into a html file in m

How to read data from PDF and HTML  file

I have got solution to read text form .txt file but did'nt get code for PDF and HTML. I dont want to convert PDF to txt. Please help me ...ah crap i could have guessed there would be a crosspost only the forum in where the crosspost is made is abit f

Print html file with barcode from abap report

hi i am printing html file from abap program using gui_execute. i am using netscape.exe , its printing first time and when reprint its not working basically html file contains gif file which has fedex barcode. could you please let me know how to prin

Html files with included php: related files, code color?

Hi there, Wow, what an active forum! I have two questions about html files that include php. Almost all my html files have this structure: <?php (php stuff) require_once 'somefile.php'; ?> (html stuff) My first question is, is there any way for DW C

I can't open a HTML file with flash linked

I have Flash CS3.  I have created a flash file.  If I click on the SWF file I have no problems opening it.  It plays.  It looks nice.  I'm the man. However, now when I try to publish it, the HTML file will not work.  It says "windows cannot find this

Can't select local html files with web object in captivate 8

I can select pdf's via browse, but it I want to add local html files I have to type the path in manually. I'm guessing this is just a bug, I should be able to choose web pages for the web object even if they are local right?Fireworks is a graphics ed

Importing/adding html files with bookmarks to project/TOC

Overview: I've been importing some old html files that have a massive number of bookmarks/anchors in them (few hundred html 'pages' some of them mini help document libraries) in an effort to move the manuals into RH format. Using RH11 Problem: when I

Problems uploading a text file with line feed characters from Windows

Hi, I am using the FM GUI_UPLOAD to load a text file in which at the end of each line there is a line feed character. When I upload the file, the FM interprets the entire file as ONE record; it does not recognize the line feed character at the end of

Custom html file with pix and links as Mac desktop display?

Hi, in Windows it is possible to select an html file to use as your desktop display...pictures, web links, and links to network and local folders, files, and applications can be written directly into the html page. It was actually really nice. How ca

Java code to connect to WSDL file with custom header

Hi all, I am an absolute noob when it comes to Java. I need to write a Java app that can connect to a WSDL file with a custom header. Basically, all I need to do is connect to the web service and pass a username and password. Any help would be apprec

Using Mac OS, Firefox 3.6 will not save nor open html files with spaces in the file name. Will version 4.0 do this?

I have hundreds of saved files with names that have spaces in them (like movie 10 41.html). I could not use Firefox 3.6 because it would not open these files for viewing and had to reinstall Firefox 3.5.8 which I have now. If I install Firefox 4.o, w

Publish HTML file in Dreamweaver CS6 (in eLearning Suite 6) to SCORM 2004 - How?

I have an HTML page I want to publish as a SCORM 2004 package from Dreamweaver CS6.  I don't have any interactions - I just want to track if a learner opened / viewed the file.  This ought to be EASY, but there is no clear "Click here to publish to S

Help, swf does not work in html file.

why is the swf ( http://happynick.com/sheflash/openingvideo.swf) not showing up in the html page? I see only the black center and not swf. see http://happynick.com/sheflash/index3.html where this page should be located. how can I make it run automati

Error creating files. Compilation failed... when publishing iOS app with AIR 3.1 and Flash 11.5.1

Hello, I'm running Windows 7. I'm using Flash 11.5.1 (that's CS5.5 updated once) and AIR 3.1 to make an iPhone app. I can export the app perfectly fine with either Ctrl+Enter or F12. I added all the required things with AIR for iOS settings, such as

Recovery from crashed drive - PSe3 files with tag info?

Hi, I've had a crashed hard drive which I cannot now boot from. So without being able to reboot, I can't start PSE3 and view the photos and the tags in the organiser. I do have one back up but it was done some time ago and, since then, I've added qui