How to include flash object in web page

Hi,
I am using the code below:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="626"
height="159">
<param name="movie" value="menu_application.swf" />
<param name="wmode" value="transparent" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
wmode="transparent" data="/portal/nam/swf/menu_application.swf"
width="626" height="159">
<!--<![endif]-->
<ul>
<li id="home"><a href="../"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">Nakheel</a> <span id="tag_line">Where vision
inspires humanity</span></li>
<li id="corporate" class="active"><a
href="../corporate/" onmouseover="swap_main_navigation_class(event,
this)" onmouseout="swap_main_navigation_class(event,
this)">Corporate</a></li>
<li id="news"><a href="../news/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">News</a></li>
<li id="blue_responsibility"><a
href="../blue_responsibility/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event, this)">Blue
Responsibility</a></li>
<li id="developments"><a href="../developments/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">Developments</a></li>
<li id="living"><a href="../living/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">Living</a></li>
</ul>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
Before invoking the code, I have registered the web object
as,
swfobject.registerObject("flash_scroll", "9.0.0",
"/portal/nam/swf/index.swf"); // path is relative to my app server.
Now when I put the same code in single directory, everything
goes smooth, but once I decompse the code and when it loads this
code from different places, it does not work out.
Please guide me as I am a Java guy, but I am suppose to solve
this asap :( some fire on my back...
thank you for the help.

Hi,
I am using the code below:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="626"
height="159">
<param name="movie" value="menu_application.swf" />
<param name="wmode" value="transparent" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash"
wmode="transparent" data="/portal/nam/swf/menu_application.swf"
width="626" height="159">
<!--<![endif]-->
<ul>
<li id="home"><a href="../"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">Nakheel</a> <span id="tag_line">Where vision
inspires humanity</span></li>
<li id="corporate" class="active"><a
href="../corporate/" onmouseover="swap_main_navigation_class(event,
this)" onmouseout="swap_main_navigation_class(event,
this)">Corporate</a></li>
<li id="news"><a href="../news/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">News</a></li>
<li id="blue_responsibility"><a
href="../blue_responsibility/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event, this)">Blue
Responsibility</a></li>
<li id="developments"><a href="../developments/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">Developments</a></li>
<li id="living"><a href="../living/"
onmouseover="swap_main_navigation_class(event, this)"
onmouseout="swap_main_navigation_class(event,
this)">Living</a></li>
</ul>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
Before invoking the code, I have registered the web object
as,
swfobject.registerObject("flash_scroll", "9.0.0",
"/portal/nam/swf/index.swf"); // path is relative to my app server.
Now when I put the same code in single directory, everything
goes smooth, but once I decompse the code and when it loads this
code from different places, it does not work out.
Please guide me as I am a Java guy, but I am suppose to solve
this asap :( some fire on my back...
thank you for the help.

Similar Messages

  • How to display flash file in adf pages

    how to display flash file in adf pages need help

    Thanks all,
    It is resolved.
    the code i am using to display a flash is below.
    <f:verbatim>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
    =10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="mx2004demo.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#4d5c64" />     
    <embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" wmode="transparent"
    pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </f:verbatim>

  • How can I delete an old web page ??

    How can I delete an old web page ?? I have created a web page some time ago and now I want to delete it but i do not know how to do it: can anyone help me ?

    Delete the web page where it is published.
    If it is published to MobileMe, then you need to log into MobileMe and go to your iDisk or mount it on your desktop and then delete it from your Web/sites folder.
    If you have published to a server, then you'll need to download Cyberduck, Filezilla or Transmit - all dedicated ftp programmes to connect with your host/server and then delete your old files from the server.
    It really is not hard.

  • How do i Hyperlink to a web page from a java application?

    How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?

    It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
    String [] cmd={path of IE+Filename.exe,"URL of your website"}
    try
    Runtime.getRuntime().exec(cmd);
    catch (Exception e)
    System.err.println(e.toString());
    }

  • How to Include the URL of a page in Notification Email ?

    Hi ALL,
    I need your help to implement the below requirement.
    I have implemented Email notification in our application.so when ever the user creates any form/modify the form ,mail will be triggered to them.Now the users want to include the link in the email.
    When they click the link in email ,it should be navigated to the newly created form page in Apex.
    How to include the link of the page in the Email process?
    Thanks,
    Ramya.

    Hi Tuceef,
    Thanks for the response.
    I have created another hidden item P8_URL1 IN page 8 and
    I have created an on submit process in page processing section.
    the pl/sql code is
    Begin
    htp.p('<script type = "text/javascript">');
    function setLocation(href)
               // set the location path specified in the textbox.
               htp.p('location.href = document.getElementById(href).value;');
              htp.p('P8_URL1:= location.href');
    htp.p('</script>');
    end;But the code fetching the plain URL only,it's navigating to the empty form page when i click on the URL.
    Please correct the code if am wrong anywhere!
    Thanks & Regards,
    Ramya.

  • How do I close the current web page in Safari?

    UPgraded to IOS 8 because a friend said it cured his problems, so I took the plunge.
    BIg mistake.
    THis question concerns Safari.
    how do I close the current web page?

    I just found how to do this on my iPad!  At the top right are two squares overlapping.  Click on that and you will get your page hanging in space.  There is an X on the top (I think) left.  Click on that and TaDa!  Lost of hoops, but glad I found it.

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • HT1349 How do I get rid of web pages I'm through viewing?

    How do I get rid of web pages I'm through viewing?

    Not sure exactly what you mean but while you are using Safari, just tap the X on the left side of the tab to close a it. Only the active tab shows the X. You have to tap on a tab to make it active or the foremost window.
    If you want to clear the history - Settings>Safari>Clear History.
    These are instructions for Safari in iOS 5. What version are you running?

  • How can I make photos on web page enlarge with mouse-over?

    How can I make photos on web page enlarge with mouse-over?

    There's a couple of recent topics which mention MagicZoom and JQZoom...
    https://discussions.apple.com/message/17438064#17438064
    https://discussions.apple.com/message/17440847#17440847
    A very simple method is shown here...
    https://discussions.apple.com/message/17440847#17440847

  • How to temporary block list of web pages?

    Hi While working I need access to web pages (I am developing web applications) but same time often I got distracted and spend my time reading interesting articles on web instead doing my job. I was using LeechBlock addon for Firefox, but now I migrated to chrome. So my question is:
    Is there simple way how to temporary block list of web pages for all browsers?
    It is OK to block http/https access only, but no problem to block all traffic from/to this sites. I need to by able to easily start/stop this block.

    No. Each domain has (or has not) its own IP address. The IP address of a parent domain has no influence on the IP address of subdomains.
    If you want to be able to use willcard, the best way is probably to base the filtering on HTTP level traffic.
    That is directly in the client (firefox/chrome extensions)
    Or, using an http proxy (squid).
    Or, may be, using iptables with rules that match the URL.
    eg
    sudo iptables -A OUTPUT -p tcp --dport 80 -m string --string "google.com" --algo kmp -j DROP
    will block outgoing traffic matching "google.com". You can of course tune better rules.
    sudo iptables -F OUTPUT will flush all rules.
    You can then add many "iptables -A OUTPUT" lines in a script, and associate a key shortcut to this script...
    Well, an extension to the browser is probably preferable. I give this solution only for the fun

  • How can a customer edit a web page that I have made?

    How can a customer edit a web page that I have made?  The customer should edit the text or pictures by himself. Is this possible? 

    First you can search in this forum "in browser editing".
    Second you may be interested in this video:
    http://tv.adobe.com/de/watch/designtools-in-der-creative-cloud/bearbeitung-im-browser-in-a dobe-muse/

  • How to import html5 animation (created/published using flash) into a web page using Dreamweaver.

    I have created an animation in Flash and published it as a html5 animation.
    How do I get this into an exisitng web page using Dreamweaver?

    Hi Nancy,
    I am using Flash CC2014 which publishing as html.
    (When I publish as html with edge animate you can create an oam file which allow the inserting of the resulktant animation into a web page)
    The files produced with Flash CC 2014 are: html try.html and html.try
    I was hoping I could use some way to just insert the html animation produced by Flash.
    Source Code in html file is ....
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>html try</title>
    <script src="http://code.createjs.com/easeljs-0.7.1.min.js"></script>
    <script src="http://code.createjs.com/tweenjs-0.5.1.min.js"></script>
    <script src="http://code.createjs.com/movieclip-0.7.1.min.js"></script>
    <script src="html try.js"></script>
    <script>
    var canvas, stage, exportRoot;
    function init() {
      canvas = document.getElementById("canvas");
      exportRoot = new lib.htmltry();
      stage = new createjs.Stage(canvas);
      stage.addChild(exportRoot);
      stage.update();
      stage.enableMouseOver();
      createjs.Ticker.setFPS(lib.properties.fps);
      createjs.Ticker.addEventListener("tick", stage);
    </script>
    </head>
    <body onload="init();" style="background-color:#D4D4D4">
      <canvas id="canvas" width="550" height="400" style="background-color:#99CCFF"></canvas>
    </body>
    </html>
    Tony

  • Flash video on web page takes long very time to load before it starts playback

    I just created a basic flash file to play a video on my web page and it's taking several minutes to load before it starts playback.
    I'm using progressive downlaod and the file is in *.mov format and is 84MB in size. At first that seemed large to me for web play back, but I thought it could handle it since I thought the way progressive download works is that it would start playing the first frame right away and progressively play other frames as they download. However, this seems to be downloading the whole file first (or a major part of it) before starting any playback at all.
    Is there some kind of setting I'm missing or is my understanding of the download incorrect and the file size is too large?
    Some vitals:
    - I'm using Flash Pro CS5
    - To create my flash file, I used the standard import video wizard and selected the a file that is "on my computer" and "load external video with playback component" and then, I selected one of the standard skins.
    - To deploy the vidoe on my webiste I have three files:
    1) swf file containing the FLV component
    2) the swf file related to skin
    3) the actual video (84MB, mov file)
    - Web page includes/embeds reference to swf file

    Thanks for your response again. Looks like things have changed a bit to complicate this a little more.
    adninjastrator wrote:
    Are you saying that if I wait long enough it will start to play .... from the link you posted?
    What you are implying here is correct. The file won't play no matter how long you wait.  Looks like it's because of the "source" file settings in the Import Wizard may now be incorrrect. This is why it's not playing in the new file. 
    When I created my original Flash Video using a MOV file, during the import wizard, when asked "Where is your video file?" I selected the option "Already deployed to a web server...". Here I entered the url to where the video file is located on my production server.
    When I created the new Flash Video using F4V file, during the import wizard, when asked "Where is your video file?" I selected the option "On your computer". Here I selected the file from my local drive.
    Sorry for not pointing out the inconsistency earlier - I didn't think it mattered and plus I couldn't get the F4V file to import from the web server.
    Anyway, I've changed my object tag using the acutal published html that flash generates and have uploaded all source files to same location.
    http://www.upperhand.com/tv/video-intro.html
    To sum up the problem(s) I need help with:
    Issue #1 - When trying to import F4V file using import wizard, I cannot use "Already deployed to a web server..." as an option for the file location. I believe this is creating issue #2
    Issue #2 - For some reason, the F4V file will not load into the SWF file when it's published to my production server. 
    It works when viewing locally through browser as c:\inetpub\wwwroot\mywebsite\video-intro.html
    It doesn't work when viewing on development server through browser as http://localhost/mywebsite/video-intro.html
    It doesn't work when viewing on production server through browser as http://www.mywebsite.com/video-intro.html
    Issue #3 - When the above are resolved, I'm not certain if my orignal question/issue will be resolved...  browser tries to downlaod full file before any playback.  

  • Adding Flash Video to web page

    Hi Everyone,
    I have a web page that I have added a flash video to using
    the insert flash video option in Dreamweaver. I uploaded all the
    files including the additional files that are created when you use
    that option and when I try to get to the video file once I have
    uploaded it will not play. If I use a link directly to the .swf
    then it will play but the link to the page where the video is
    inserted just shows a blank page. Can anyone give me any guidance
    on how I can get this to work.
    P.S. If I preview it from my desktop before uploading to the
    website it works fine.
    Thanks,
    Robert

    Upload the Scripts folder to server.
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "ryonker" <[email protected]> wrote in
    message
    news:g2mpvv$3j3$[email protected]..
    > Hi Everyone,
    >
    > I have a web page that I have added a flash video to
    using the insert
    flash
    > video option in Dreamweaver. I uploaded all the files
    including the
    additional
    > files that are created when you use that option and when
    I try to get to
    the
    > video file once I have uploaded it will not play. If I
    use a link directly
    to
    > the .swf then it will play but the link to the page
    where the video is
    inserted
    > just shows a blank page. Can anyone give me any guidance
    on how I can get
    this
    > to work.
    > P.S. If I preview it from my desktop before uploading to
    the website it
    works
    > fine.
    >
    > Thanks,
    > Robert
    >

  • Need code to embed Flash Movie in Web Page

    1 - We want to embed a Flash Movie into a regular web page
    and need the HTML code snippit sample on how to do it...
    2 - What is the difference in HTML coding for a Flash Movie
    and a regular SWF Flash File?
    3 - Is the Flash Movie file format designed just for video
    while swf is designed more for animation?
    Thanks for any help.

    Thanks for the help. Yes I uploaded all of the exported versions:
    MVI_1235-Desktop.m4v
    MVI_1235-iPhone-cell.3gp
    MVI_1235-iPhone.m4v
    MVI_1235-poster.jpg
    MVI_1235.mov
    All are residing in the folder with the reference movie and were not renamed. I noticed in the instructions there is a comment of including the <style> and <script> tags in the <head> of the page so that it validates as XHTML. I copied and pasted the <script> code, but I am not using any <style> tags. I wondered if that is contributing to the issue. Thanks again for the help.

Maybe you are looking for

  • URGENT! Need help with scrolling on a JPanel!

    Hello Guys! I guess there has been many postings about this subject in the forum, but the postings I found there.... still couldn't solve my problem... So, straight to the problem: I am drawing some primitive graphic on a JPanel. This JPanel is then

  • Want A query (Its Urgent)

    Hi,I have a table as below.. AFPFTRAN code date type amt 12 10-04-05 T 1 13 11-05-05 F 2 12 10-05-05 T 3 13 05-04-05 F 4 12 12-04-05 T 5 13 15-05-05 F 7 I want details as below: date Apr May --- code T F T F --- 12 6 0 3 0 13 0 4 0 9 I want to get su

  • Starting an j2se 1.3 application over https with JWS 1.2

    Hi, How can you start an application which needs j2se 1.3* over https? I know, distributing signed Software over https isn't very useful, but it's the only way we can distribute it. I assume that JWS validates codebase and j2se version by it self so

  • Autocomplete search appearing but search not firing?

    I am using the following in my interactive report to provide an autocomplete Jquery search fields When typing in an item in the search boxes the autocomplete works find but for some reason it is not firing the search anymore? Any ideas on what I am m

  • Implementation of HTTP in BPM

    Hi, We are doing HTTP to HTTP scenario,we have some requirement that we have to use bpm in between so i.e we have made sender and receiver asynchronous,our sender and receiver are same, can we use http test client for the same?how will i get response