Swf position inside HTML

Hi,
Is there a way to check _X and _Y of .swf (in Flash), where
it is placed within an HTML page?
My banner will be placed in different places (around the
page) and it should know where it is (the banner will be within :
<div class="banner">
<script language="JavaScript" src="
http://ads.hotmail.com/js.ng/site=portal&spaceid=banner&sz=468x60&ls=f&tid=120877339178085 65&Section=portal&view=home"></script>
</div>
so actually I need to know _x and _y of that <div>
to play proper animation (either animate from left ro right,
or from bottom to top).

off the top of my head i don't know what code you should use
and i suspect you'll need to account for, at least, two of the
major browser types in your javascript.
you can use google to search for javascript help and if you
get desperate you can hire me to write the code for you.

Similar Messages

  • Fscommand when the swf inside html  table

    in the html file , when I put the swf file inside a table,
    the fscommands does not work.
    how do i make it work?
    should i make any changes in the html? ?
    notice: when the swf is out side the table , it is working
    fine.

    Found the solution to the problem.
    wrapped the entire HTML page till the JSF component ( panelGrid) under <f:verbatim>.
    something like this
    <f:verbatim>
    <table>
    <tr> <td>...</td>
    <td>
    </f:verbatim>
    <h:panelGrid> ... </h:panelGrid>
    <f:verbatim>
    </td>
    </table>
    </f:verbatim>

  • Stretch height in panelStretchLayout dont work inside html table?

    I need to put panelsplitter inside html table and i write something like this:
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="position:absolute; padding:0px 30px;">
    <tr><td>XXXX</td><td>yyyyy</td></tr>
    <tr><td>
    <af:panelStretchLayout id="pt_psl1" styleClass="AFStretchWidth">
    <f:facet name="center">
    <af:panelSplitter splitterPosition="165" id="pt_ps1"
    inlineStyle="background-color:White; padding:0px 15px;"
    styleClass="AFStretchWidth">
    <f:facet name="first">
    <af:facetRef facetName="1"/>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelStretchLayout>
    </td></tr>
    </table>
    But panel splitter dont stretch inside table componenet... there is a way to make it work?
    thnxs

    Don't mix HTML tags with ADF Faces tags.
    Instead you should use the ADF layout components to achieve what you are looking for.
    Use a panelStretchLayout and at the top facet put the xxxx yyyy in output text components.
    then in the center use the panelSplitter.

  • My Flash SWF file inside of my Flash Catalyst SWF won't play when previewed in Dreamweaver?

    However, when I preview the flash catalyst swf file, the flash swf thats inside, plays just fine. any suggestions or solutions?

    Does the one swf load the other swf?  If so, is the one swf in the same folder as the html file that embeds it?

  • XML parser to parse XML inside HTML file

    Hi,
    I wish to know is there any other parsers apart from JAXP to parse xml content present inside HTML file. For example,
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title></title>
    </head>
    <body>
    <form id="j_id_jsp_1394907664_1" name="j_id_jsp_1394907664_1" method="post" action="/msaiphoneportal1.1c/pages/xmlchech.faces;jsessionid=5666F0E1CF0E44B978940F021012AA41" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="j_id_jsp_1394907664_1" value="j_id_jsp_1394907664_1" />
    <?xml version="1.0" encoding="UTF-8"?>
    <hospital>
    <Users>
    <User id="1" password="x" type="staff" username="x"/>
    <User id="2" password="y" type="staff" username="y"/>
    <User id="3" password="z" type="staff" username="z"/>
    </Users>
    <Survey/>
    <Patients>staaatus</Patients>
    </hospital>
    <input type="hidden" name="j_id_jsp_1394907664_1:j_id_jsp_1394907664_2" /><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-4298162632826268059:-1507671971163298623" autocomplete="off" />
    </form>
    </body>
    </html>
    I need to read the XML content inside. Is there any way please let me know
    Edited by: DHURAI on Jul 22, 2010 12:59 AM

    DHURAI wrote:
    while reading, we can fetch the starting of XML through <?xml> tag, but how we know the ending of the XML as it seems to be dynamic.1) Extract the document root element which follows the <?xml ... ?>
    2) From this root element , construct the associated root element terminal by inserting a / after the <.
    3) Search for the terminal.
    If the root name can also be the name of an enclosed element then you will have to count the number of terminals.

  • Search for strings inside html tags ?

    Is there any way to get Spotlight to find search strings inside html documents? One example is I want to find any file that includes a certain alt=" " string inside an img src tag.
    Spotlight does not seem to include anything inside html tags in it's search, as far as I can tell.
    Am I missing something? Is there something I need to do?
    Thanks for any ideas,
    KarenD
    G5   Mac OS X (10.4.4)  
    G5   Mac OS X (10.3.5)  

    Very strange--it does find text inside the html files, but indeed does not seem to have text that is in the file but only appears within a tag. The solution is EasyFind by Christian Grunenberg:
    http://www.grunenberg.com
    You can do a content search on files in a particular folder, which I recommend since it does a brute force search and can take awhile if it has to search everything.
    Francine
    Schwieder

  • API / Sdk to play swf files inside a Mac / Windows application

    Hi
    We have set of .swf movie files in our application.
    These .swf movie files has to be played inside the content
    area of
    the window.
    We want to know how to play .swf movie files through program
    inside
    our application.
    Is there any api / SDK to play .swf files in Mac and Windows
    Thanks
    Ram

    Hi
    we want to give some clarifications
    As per our requirement we need to play same swf file ( about
    5 in number) always.
    These swf files are kept in some folder and during run time
    we need to play these swf files inside our Mac / windows
    application using flash player.
    we don't need to play any swf file, but the same swf files
    we need a api / sdk to implement this
    Any help will be very well appreciated
    Sudesh

  • Branding inside html ewa reports

    Hello,
    Anyone know if it's possible to modify SAP logo or add a new company logo inside html ewa reports ?
    regards,
    Luis

    Hi Luis,
    Unfortuantly, as far as I know it is not possible to modify the EWA report (no customizing is possible).
    However, what you can do is change some parts of the Service Level report which is subset of the EWA report which might help.
    You can change the Frontpage and Header and Footingin the SLR setup,
    when you navigate to node "Variant <variant_name>", in tabs
    - Report Front Page Customizing
    - Report Header/Footer Customizing
    Please see further details in www.service.sap.com/slr -> Media Library
      > "Service Level Reporting - Introduction", page 13.
    Unfortunately the SAP Logo cannot be removed or replaced from the SAP
    Standard Reports, but you can add/remove lines of text as per the
    docuemntation above.
    Thanks and Regards,
    Roland

  • Problem loading .swf embedded with HTML

    Hi All,
    I have embedded .swf file with HTML. It is working fine with
    win xp and win 2003. But not working on win 2000 server.
    I have set the MIME in IIS for .swf.
    Please let me know what setting I should configure.
    Thanks,
    Aung

    does container exit on the timeline that contains your code?
    is master.swf in the same directory with your flash swf and
    html?

  • Making xml playlist to play swf files inside one swf

    Hi,
    I have made an swf file and xml playlist.
    I want to include swf filepaths in xml playlist so i would be able to choose from my the list, which file i want to play.
    My list-component reads data from the xml, but i cannot get the swf files open there.
    I will attach my .fla file so you understand what i'm talking about.
    the .fla:
    http://www.mediafire.com/file/m24dz0gmzwz/Untitled-1.fla
    xml file:
    http://www.mediafire.com/file/gdyzzymy5mn/swfList.xml
    would you guys look at my files? i know i can play .flv files but i want to know how to play swf files inside another swf. The swf files should be loaded to  by the xml list.

    Hi
    we want to give some clarifications
    As per our requirement we need to play same swf file ( about
    5 in number) always.
    These swf files are kept in some folder and during run time
    we need to play these swf files inside our Mac / windows
    application using flash player.
    we don't need to play any swf file, but the same swf files
    we need a api / sdk to implement this
    Any help will be very well appreciated
    Sudesh

  • Load swf file in html based air?

    1. The start window opens up a transperant window in an iframe.
    2. Then the transperant window loads an external asp file from my server (content.asp) in an iframe.
    3. In the content.asp file i try to load an swf file, but nothing is visible?
    I use the following code in content.asp to show the swf file:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="300">       
    <param name="movie" value="flashtest.swf" />
    </object>
    I have uploaded a testpage with this code to the server and it works fine, but not in the air application!?
    What Im I doing wrong?

    No, nothing with HTML.
    I have 2 SWF applications. One is the Gallery, and the second is my Main Page.
    My Main Page must integrate the Gallery module in one of its page.
    The problem is when I try to integrate it, I think I must give de future loaded SWF some parameters like this :
    (My Main SWF loading in HTML)
    var so = new SWFObject("WebSite.swf", "flashcontent", "520", "700", "10", "#111111");
    so.addParam("allowfullscreen","true");
    so.addParam("allowScriptAccess","always");
    so.addParam("menu","false");
    so.addParam("wmode","opaque");
    so.addParam("bgcolor","#000000");
    so.setAttribute("id","flash");
    so.write("flashcontent");
    It was for the Main App. For my Gallery SWF I had to load it like this (in HTML) :
    var so = new SWFObject("Gallerie.swf", "gallery", "249", "249", "10", "#111111");
    so.addVariable("xml_path","Galerie/config.xml"); // this line is adding the path to the xml file make sure that it's name is xml_path
    so.addParam("allowfullscreen","true"); 
    so.write("flashcontent");
    So at the beginning I had 2 different projects with an HTML page for each.
    Now I wan't to directly integrate the Gallery SWF into the Main SWF. And as you have seen I must give it some parameters such as the "xml_path" and "allowfullscreen". This must be done in ActionScript 3 and I don't know how...
    I think I have to use FlashVars but I don't know how. As I said before, I have tried using the loaderinfo.parameters, but it is in read-only...
    Do you have an idea of how I can make it work ?

  • How can I set cursor position inside TextInput or TextArea

    Hallo.. I can't find the way for changing che cursor position inside a String in the TextInput or TextArea Component.. I hope you can help me..
    Thx
    Max

    setSelection(index, index);

  • Accessing a swf file inside a UILoader

    In my game currently I have a series of UILoaders which can be set to load a specific swf file inside the larger one.   What Im trying to do is manipulate the 'child' swf file from the parent- in particular use the goToAndPlay() function.  Im pretty sure Ive seen the solution before but I cant find it now.
    How make the connection from the UILoader class to its contents as a movieClip?
    Thanks

    Ok using the Content value of the UILoader class is the answer it seems.

  • Control/unload swf inside html textfield i AS3

    Hi,
    In a CS3/As3 project I have xml files with html content loaded in a texfiled inside a mc. In some cases I have swf files embedded with img tag in the xml. The problem is that when a swf is loaded this way It keeps 'living', playing with sounds in the background when other xml files and swf are loaded in the texfiled.
    Then, every time it is loaded, a new instance of the swf is created and played.
    I have found out you can refer to the loader object with getImageReference method giving an id to img tag and, for example, adding an Event.COMPLETE listener to the loader.
    But I don't know how to access to the loaded swf to unload it or at least stop it (mc_name.texfiled_name.swf_id doesn't seem to work in AS3)
    Does anybody know if it is possible?
    Thanks in advance

    Thank you, the second method is good to control movieclip in my case (fp9).
    But I have still the following problem: the loaded objects (swf or images) seem to remain in memory.
    I have a loader like this (swf_Id is the id of img tag)
    loader = myMC.MyHtmlTextField.getImageReference("swf_Id");
    and, following your indication, a second Mc like this
    myMC2=MovieClip(loader.content);
    doing the following things seem to remove the objects from stage but with no effects on the memory wich always increases
    myMC2.removeChildAt(0);
    myMC2=null;
    loader.unload();
    Any idea about this?
    Thanks a lot!

  • Placing Flex SWF inside HTML?

    We're building a website that will incorporate a flex
    gallery. We would like to house this inside of HTML on the page. Is
    this possible? Would it be as simple as calling a regular flash (in
    this case, flex) movie, or is it more complex? We dont want it to
    take up the entire window, but only a portion, inside of a
    template. Thanks!
    Ryan

    As JabbyPanda says, yes, In fact it is rare to find a Flex
    app that is not contained in an html page. Flex builder generates
    this wrapper for us automatically.
    In an Flex only app, the object/embed tag is just set to take
    up the whole browser.
    Tracy

Maybe you are looking for

  • ClassCastException while creating an XML document in servlet

    HI, I am trying to create an XML document in a servlet and I am getting ClassCastException at runtime when casting org.w3c.dom.document to org.apache.crimson.tree.XmlDocument . I am using Tomcat 4.1 The same code is working fine when executed in a st

  • Itunes 10.6.1.7 won't open

    There's no error message or anything. Whenever I try to run it it just gives me the loading cursor for a few seconds and then nothing. I don't know how to look for and fix the fault module in the problem report, so any help would be greatly appreciat

  • Why only 24 hrs fot to know where is my ipod touch

    My Ipod touch was stolen lest week... then I can find due to one mail where told me you ipod was  finded, but the mail was send to the spam 30 hrs I fin it in the spam, the cuestion is could you know                         if after 24 hrs I can know

  • Subquery over a subquery is not allowed?

    I am trying to create subquery over another sheet which is a subquery itself, but it seems it is not allowed. I have the original sheet S1(A,B,C) with the items A,B,C. I create a new sheet S2(A,B,C,D) and I add an item D with the condition that the v

  • Why does CC Status say "normal" when it is not?

    Why does the Creative Cloud Status report "operating normally" when it clearly is not? I have not been able to use my CC apps that are installed on my computer since Friday, June 21, 2014. Apparently, I'm not alone. When I launch an app, it diverts m