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" 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!

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

Similar Messages

  • URGENT-CREATE A HTML FILE WITH AN STRING INPUT FROM THE RUNNING JSP

    I am designing a web page where the user enters a page after entering his/her login and password.The User should now be provided with a display page containing the servers that he has permissions for access.The servers that he has permissions are maintained in a database(a normal text file in UNIX).
    Till now the program has been complete for displaying the servers that are available to him.
    I need to create a HTML form containing these servers names in a check box so that when the user clicks thcheck box against the server name it should go to the server and get the password for the required server.
    THe intention from me is to create a HTML file that dynamically takes values from the running JSP means the server names as a string value to its input and then i can continue
    Please guide me in creating a HTML form based on the string output from the running JSP
    FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
    DataInputStream in1 = new DataInputStream(fs);
    int fl=0;
    while (in1.available() !=0)
    String str1=in1.readLine();
    StringTokenizer st1 = new StringTokenizer(str1);
    String usernam=st1.nextToken();
    if (usernam.equals(uname))
    String ip=st1.nextToken();
    String host=st1.nextToken();
    fl=1;
    out.println("<tr><td>                                                                                              "+ host + "</td><td> " + ip +"</td></tr>");
    if (fl == 0)
    out.println("YOU HAVE NO SEVRER IN YOUR PROFILE !");
    in1.close();
    The host string here is the server name
    the ip is the ip address of the server
    Need to input these values to another HTML page that contains the check box list of the servers .
    once these are clicked i think i can pass on this to another JSP and retreive passwords
    Please guide me in this

    FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
                                    DataInputStream in1 = new DataInputStream(fs);
                                    int fl=0;
                                    while (in1.available() !=0)
                                    String str1=in1.readLine();
                                    StringTokenizer st1 = new StringTokenizer(str1);
                                    String usernam=st1.nextToken();
                                    if (usernam.equals(uname))
                                    String ip=st1.nextToken();
                                    String host=st1.nextToken();
                                    fl=1;
                                    out.println("<tr><td>                                                                                              "+ host + "</td><td>          " + ip +"</td></tr>");
                                    if (fl == 0)
                                    out.println("YOU HAVE NO SERVER IN YOUR PROFILE !");
                                    in1.close();I feel sorry for the inconvenience that is caused as i am new to using these forums.
    I have here used a simple program to retreive the names of the servers that the users have acess to..
    I have here read the servername and server ip stored from a file in UNIX in the running JSP.Now i need to pass these string variables to HTML file and display it in a Check box format.the strings host and ip have to be passed to the input of the HTML file so that they can further be processed once they are clicked using another JSP.
    Can anybody please help me in Passing these strings from the running JSP and display it in a check box format

  • Having problems: can't open an html file with textedit to change code

    Hi. I have been trying to open up both my index.html and my Welcome.html files with textedit in order to change the HTML codes for them - but it doesn't seem to work. When I open them using text edit I still get a discomboblutaed form of the web page and no html codes. HOWEVER when I open them with Word I can get at the HTML code. Will changing the code in Word work or must I use textedit to do it? ULtimately does anyone know how to fix the fact that your web URL always gets redirected to the home page because of the index file. For Instance, my web site is www.zanzibarhotelbeach.com but when you type that in it redirects to the opening page www.zanzibarhotelbeach.com/Home.html which is a problem for when you want to submit your web site to be found on the net. Any help would be MUCH appreciated! Cheers!

    Give TextWrangler a try. It's a free editor by the makers of BBEdit and is very well suited for editing HTML.
    But as far as your URL in the window, unless you have URL forwarding with masking you will always get the page name at the end of the URL in the browser's window. That's just how it works. With masking you will only get www.zanzibarhotelbeach.com in every window of the site. BUT visitors will only be able to bookmark the first page of your site. My tutorial site, http://toadstutorials.info/ is set up that way.
    This thread discusses how the different domain name forwarding works:
    http://discussions.apple.com/thread.jspa?threadID=1164519&tstart=0
    OT

  • How to make ads/banners published for an Adserver (only an HTML file with all js files and images linked)

    Hi everyone!
    I'm hoping someone can solve this.
    I have made some ads in Edge Animate CC and need to put them on an Adserver....
    but the adserver company only accept the HTML code... only extra files or images.
    This means linking the images and the .js files to URLs. I have done it with the images but are hitting a wall with the _edge.js
    I added the script in the HTML to load the _edge.js. (<script src="http://www.christianlaursen.net/ADS/WL_AD_160x600_edge.js"></script>)
    But I get certain errors in the console which I believe relates to how Edge tries to load _edge.js locally (even if i load it separately)
    Uncaught ReferenceError: AdobeEdge is not defined                    WL_AD_160x600_edge.js:3
    Failed to load resource: net::ERR_FILE_NOT_FOUND                 file:///C:/Users/claursen/Desktop/WL_AD_160x600_edge.js
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:133
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:126
    This is as far as I got. I am not sure 100% the script is being loaded correctly, but as the console is complaining about the local file, I have
    a feeling it's with Edge's attempt to load it locally that causing it to stop.
    Anyone doing Ads with Edge? It seems it should be such a simple thing and also important thing
    Thanks in advance for reading and any given help!

    I have verified that an Edge published banner can be booked into DFP (Doubleclick for Publishers) as a third party tag by creating an iFrame of the link to your edge published HTML file. You save that file as a *.txt.There is still the issue of click URL macros, and cachebusters. For DFP the click URL macro is %%CLICK_URL_ESC%%
    So you would probably use in Edge
    window.open('cta', %%CLICK_URL_ESC%%'http://somedomain.com/');
    then for the cachebuster, DFP's is random=%%CACHEBUSTER%%
    This is what an Edge published banner tag would look like.
    <style type="text/css">
    body{
    margin: 0;
    padding: 0;
    </style>
    <iframe src="http://www.somedomain.com/yourfilename.html"
    marginwidth="0" marginheight="0" scrolling="no" width="160" align="top"
    frameborder="0" height="600"></iframe>
    IMO it is worth pursuing using Google Analytics for the reporting, as you can put your Google Analytics code in your Edge published HTML file.Hopefully someine with GA experience will chime in.
    Event Tracking in Google Analytics Universal through Google Tag Manager - YouTube

  • I have an old file with an .A4P video from 1999. I don't own any Adobe products (and don't really want to buy any). I just want to be able to convert the file to something that I can actually view. Any help?

    I have an old file with an .A4P video from 1999. I don't own any Adobe products (and don't really want to buy any). I just want to be able to convert the file to something that I can actually view. Any help?
    I was a kid when I made a documentary for a school project. I've been trying to figure out how to retrieve the file. 4 years ago, I was able to get the files off the Iomega Zip drive (finally), but I now see the file is saved as a .A4P. There is also a file saved as a .PKG as well, but I don't know how to open this with my Windows 8 COmputer.

    .a4p is an Authorware v.4 (Windows) project.
    Interesting you have it as a .pkg...usually that's a published-on-a- Mac extension, if I recall.
    At any rate, can you put the file up on a Box, Dropbox, FTP, etc...and send me a URL?
    I should be able to published it so you can view the project (it would be an .exe).
    It can't be converted to anything though - not without manual effort.

  • Flash Player Security error when publishing HTML files

    I am new to the Captivate world and am just in love with the
    features - but I have been having a very difficult time publishing
    my "movies". I have 8 files that are all called upon in one movie
    (like a table of contents). I have abandon the though of publishing
    each as an EXE file - and have decided to go the HTML route.
    However when I try to run the published HTML file I get an Adobe
    Flash Player Security error - saying "Adobe Flash Player has
    stopped a potentially unsafe operation." It then says that the
    local SWF file is trying to communicate with the Internet-enabled
    HTM file.
    Can someone please tell me what this means? We are using
    Captivate for distance learning as well as internal - so I can't
    know for sure what the end-users will be using when the files are
    used.
    Any assistance would be greatly appreciated.

    Welcome to our community, Rachel
    Where are you running your movie from? If you are planning on
    running them from a server, there should be no need to worry about
    your end user seeing those messages. However, if you are planning
    on each user copying them to their own hard drive or if you are
    running from a CD-ROM, you may need to perform some trickery to
    make them work without issue.
    The message is occurring because there are links in some of
    the files that point to internet resources and the Flash player is
    seeing that as a potential security risk. So it is blocking the
    action until you pat it on the head and assure it the world will
    not, in fact, end if it shows you the content.
    If you wish to banish the screen on your PC, take a look at
    the tutorial linked below.
    Click
    here to view a tutorial
    I'll hold off on the other bit until I'm certain what we are
    dealing with.
    Cheers... Rick

  • I have file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Ac

    I have pdf file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Acrobat X Pro and Windows -7 platform.

    Yes, I just want to cover up all the pages for those particular area of document numbers.
    Nothing sensitive about it. I just want to show the correct document numbers on all pages in print out.
    So, I wanted to cover up by comments, but commenting on each page will be difficult. So, I wanted to comment the same on all pages.

  • Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Thanks. I tried an app called Office2HD and it does exactly what I need. I can even email my edited file from this app.

  • 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 cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • 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(filePath);
                        if(!fname.exists())                return;
                        FileInputStream istr = null;
                        OutputStream ostr = null;
                        response.setContentType("application/"+format);
                        response.setHeader("Content-Disposition", "attachment; filename=\"" + fname.getName() + "\";");
                        try { 
                             istr = new FileInputStream(fname);
                             ostr = response.getOutputStream();
                             int curByte=-1;
                             while( (curByte=istr.read()) !=-1)
                                  ostr.write(curByte);
                             ostr.flush();
    Can anyone suggest what i need to do
    regards

    The client should probably parse the html that comes down, and look for <img> links, and request those of the server as well.

  • 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 engine in PKGBUILD and how. i should write that i don't known much from configure a PKGBUILD by my own. with exaile and totem i have no problem i also play flacs with 24bit and 96khz audio quality. tnks for your time

    Why not amarok 2.3 from extra?
    Found this but its for 2.3: forum.kde.org/viewtopic.php?f=116&t=85428
    looks like amarok just uses xine, which I don't know much about...
    the 2.3 version depends on kde4, so you can run kde4 system settings and switch the multimedia backend between xine, mplayer, and gstreamer (need the aur packages first). I know mplayer should use ffmpeg to playback though.
    Edit: looks like exaile and totem use gstreamer for playback
    Last edited by 1LordAnubis (2010-05-19 16:19:09)

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • How to auto insert a number array with size of 20 into a named excel file with the positon is from A1 TO A20?i use lv6.1

    can you give me a example vi for it ?thanks a lot!
    how to auto insert a number array with size of 20 into a named excel file  with the positon is from A1 TO A20?i use lv6.1

    You don't need us to give you an example, as the example already comes with LV. Go to Help>>Find Examples and search for "excel". You will find an example called "write table to XL". You should note that the example doesn't do that exactly, because it writes a 2D array from 2 to N.
    You can modify the example by using only one for loop (instead of nested loops) with a 1D array or by going into the Set Cell Value and modifying it to accept a second cell value for the Cell2 terminal and wiring in a 1D array instead of the single string. If you do modify it, be sure to save it under a different name, so you don't overwrite the original.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • To add meta tags, you open your published .html pages with TextEdit or any other text editor and modify as required. You have to do redo it each time you republish. Ihow do I do this? I need step by step instructions

    To add meta tags, you open your published .html pages with TextEdit or any other text editor and modify as required. You have to do redo it each time you republish. I need step by step instructions on how to accomplish this  please .

    Rage Sitemap Automator and iWeb SEO Tool are two different applications.
    Use SEO Tool to add the title tag and meta description. These need to be added to the html file for every page of your website. SEO Tool stores all these so that when you republish you only need to add tags to any new pages and click the re-apply button to refresh the existing ones.
    Once you have added. refreshe the tags with iWeb SEO Tool and uploaded the files with your FTP application, then open the site in Sitemap Automator and create and upload a new sitemap.
    Once you have set up accounts with Google, Yahoo and Bing, verified your site with each and submitted a sitemap, on subsequent publishing Sitemap Automator will resubmit the sitemap with one button click. It will also notify Ask.com whch doesn't require an account since you can add your domain name to this URL to ping them...
    http://submissions.ask.com/ping?sitemap=http%3A//www.domain.com/sitemap.xml

  • Hi i have a learning HTML file with a data file include a swf files how can i open it in my ipad?

    hi i have a learning HTML file with a data file include a swf files how can i open it in my ipad?

    iPad do not support flash natively.
    Look in the app store, some browsers do support flash with limited functionality.

Maybe you are looking for

  • Split PR/PO values to allow pass approval limit, how can we control this?

    Is there a way to limit the number of approvals that can be done on PR / PO per hour / day / week (for the same account, position, category, item). The purpose of this not to enable users to split the PR/PO values in multiple PR/PO to allow approval

  • HT1454 how to set mirroring of ipod touch to apple tv?

    My ipod touch does not give me the button to turn on the mirror to show my ipod touch content through Apple TV to my TV, is there any setup I need to do in ipod touch or Apple TV to give me the mirror option?

  • Hide Music Videos from Front Row?

    I have a lot of music videos in my iTunes library, but because Front Row lumps these into the "Movies" category it is very difficult to choose movies. I want to make the interface easier for my kids, but beyond deleting the music videos I have not fo

  • Comparing two PDF documents | Acrobat Tips and Tricks | Adobe TV

    This video will get you started with using the improved Compare Documents command in Acrobat 9 to identify what has changed between two versions of a PDF file. http://adobe.ly/xqvrc7

  • Can Write Full business logic in web Dynpro ?

    Hi All        We are developing many Iviews with WebDynpro and        same time where we need to write the pure business logic ?        Can we write in Web Dynpro ? Any issues on this ? Any one can help me on this pl regards rakesh