Unable to get realtime position of animated child symbol's div from parent node (Stage)

hi,
for a data viz project, i've created an animated child symbol which changes its position on realtime basis. however, for some calculation purposes, i'm not able to keep track of the  realtime position of the div through stage as it is only showing me fixed value (starting position of the child div).... can anyone help? or is there a way to make global variable which can store position value in child symbol and i can access those values on the main stage???

Try these in compositionReady. Adapt the scope of your element.
var symTop = sym.$('Rectangle').css('top');
var symLeft = sym.$('Rectangle').css('left');
Then use the variable value where needed.
or
var position = sym.$("Rectangle").position();
console.log( "x or left: " + position.left + ", y or top: " + position.top );
var x = sym.$("Rectangle").position().left;
var y = sym.$("Rectangle").position().top;
console.log("x=",x,"y=",y);
var coord = sym.$("Rectangle").position();
sym.$("test_Text").html("x:" + coord.left + "<br>y:" + coord.top);

Similar Messages

  • How to update child record when item from parent record changes

    Hi, I have a master and detail form with two regions on the same page.
    Region one references parent record, one of column in the parent record is also in the child record. And is one to many relation
    between parent record and child record. How can I have the column on the child record updated when the column of the parent record is being modified?
    For exemple; Parent record has two columns : ID and Program.
    Child record has Program, goal# and status. I have two pages established, page 27 and page 28.
    Page 27 list out all programs from parent record, by clicking on edit to a program, it braches to page 28 with program listed as editable field in region one, and mulitple records list in region two from the child record with the same program.
    The problem that I am having is once the program in region one got modified using ApplyMRU, the program in child record did not get updated with the new value and therefore those record become orphan records. I need a way to update all current child records with the new program value.
    Thanks in advance for anyone who can hlep out on this problem.
    Julie
    Edited by: JulieHP on May 24, 2012 4:57 PM

    One Idea is
    If possible create a after update database trigger on the parent table to update the relevant child record.
    Next one
    Create a PL/SQL process on the parent page with process sequence next to ApplyMRU, so when the ApplyMRU is seccessfull it goes not to your process where you can have your update statement

  • Hi - new to the forum. I am unable to get the true colour printing I am used to from my Canon Pixma 9500 mk2 since moving to a mac and using Aperture. The colours are simply not representative of the on-screen image. Any ideas?

    Whatever I do with installing or de-installing printer drivers, selecting or deselecting colour synch or colour management options, the colour is simply awful compared to what I have been used to fir years, using the same printer with a pc and a 10 yeart old version of paintshop Pro. What is going on!??

    First guess is that you are subjecting the data to two passes of printing conversions.  If you use Aperture's color management for printing, you _must_ disable the color controls in your printer dialog.
    How this is done varies for each printer.  (The Aperture User Manual says, in full:
    To turn off color management for your printer
    Refer to the owner’s manual that came with your printer.
    Additionally, make sure you have the most recent printer driver for your printer and OS.  Printer makers have gotten good at making these files easy to get.  Most now come with installation instructions.
    Lastly, the only way to ensure that you get a good screen-to-print match is to use a hardware device to calibrate your monitor.  That doesn't seem to be your problem, though.

  • Unable to get help with Broken car compuer module item purchased from seller.

    Hi,
    I am having issue with an item that I purchased march 15.
    The item I purchased was a bmw car light module computer which controls the light.
    On march 20th my machanic installed the part to my car and it over heated so, I contacted the seller on march 20.
    Seller said following:
    "The heating up thing I'm not sure about"......"I wouldn't feel comforatabl taking a return on a module that now might be damaged"
    Asked about operating temperature and seller kept on telling me he/she doesn't know.
    I have went to couple mechanics to get it working as they told me they couldn't program it.
    With refer I was able to find a machanic shop who specialized in programming and had it working after while.
    After having the part programmed it was working fine for couple days and now it random stopped functioning again.
    Going through multiple tests the mechanic told me it's the part that I purchased that's having the issue.
    I contacted the seller again few times regards to this and on June 23th, I asked seller he told me to go see bmw see if they can warranty it.  So I asked for documentation so I can actually make that happen as this product as described is a brand new part from bmw. after few message back and forth now seller says:
    "I don't have any documentation from the dealer purchase. I wish there was something I could do but after the 14 day return period as per ebay, warranties are not obligatory on my behalf. I'm very sorry your having this problem..but other than giving you an invoice from ebay, here I nothing else I can do"
    Telling me now that he has no part no receipt or no way for me to get this part warrantied.....
    On June 24th:
    I have told him that I got the part number from bmw dealer and the part plugged into the car over heated.  How is one supposed to know if part is over heating until it's not working and somone touches it??  This bmw part is the only thing that fits into the slot and there is no way anyone can install it wrong and if size was different it would not fit...  so I think I seller should be more worried about my car being damaged not his broken part that he sold me.
    I been wanting to make this work with this seller yet, he doesn't seem to help me make this work.
    I know the date is way past but with car parts I have to make numerous number of trip to the shop and make appointment,... also he sold brand new part from bmw why can't I get warranty on the part?
    I am making this post because with ebay contact help I wasn't able send them a message.
     

    You purchased on March 15.You received it and it was installed on March 20.The item does not work.So I asked for documentation so I can actually make that happen as this product as described is a brand new part from bmw.Did the mechanic say anything about this part being counterfeit? Most companies will not warranty items sold online, unless the item was purchased from an authorized dealer. Counterfeits are only part of the problem, since some resellers deal in returns, refurbishing, and ( occasionally/ rarely) even stolen stock.  also he sold brand new part from bmw why can't I get warranty on the part?What makes you think he is telling the truth about that? Liars lie. So the seller won't help.BMV won't help.  You are past the 45 day deadline for eBay Buyer Protection.Go to Paypal first, and start a claim for 'Item Not As Described'. PP has a 180 day deadline, but I am not sure that it covers NAD claims.  If that doesn't work, go to the credit card you really paid with (PP is just a useful mediator) phone the 1-800 number on the card and ask the customer service rep about a chargeback.

  • I am unable to get Flash sites to run since moving to FF4 from Chrome

    I have this issue on both my desktop and Notebook. Both are running Win7. When i go to a site like gizmodo.com it says im missing the plugin, but i download it and install it, restart firefox, and i get the same error.

    I can't see Adobe Flash player in your list of plugins, only ''Shockwave Flash For Director'' which is a different app.
    You can download the Shockwave Flash player from http://get.adobe.com/flashplayer/

  • Make spry child font size different from parent

    Hi you all,
    Hi am using the old spry menu. This works for me so i dont need the spry ui menu.If you want to make the child text font sixe and padding different create your own selectors.
    ul.MenuBarHorizontal ul li a
        font-size: 12px;
        padding: .2em 1em;
    works fine instead of having every thing been the same.

    thank you very much, Nancy!
    Greetings from Mannheim, Germany
    Alex
    Am 03.09.2010 um 23:45 schrieb Nancy O.:
    >> In IE6 however, the submenu is shown far below the parent element. 
    >> Is there a solution?
    Possibly.  It's hard to tell without seeing your page, though.
    >
    The position of Spry Menu Bar submenus is controlledby the margin 
    property on submenu ul tags.
    1. Locate the ul.MenuBarVertical ul or ul.MenuBarHorizontalul rule.
    2. Change the margin: -5% 0 0 95%; default values to the desired 
    values.
    >
    http://livedocs.adobe.com/en_US/Spry/SDG/help.html?content=WS895F3A6D-6D73-42ef-B568-3D04A BD2F171.html
    >
    Also, look through the CSS coments for IE hacks. Often these 
    workarounds for older browsers can be commented out or deleted.  
    Test before you delete anything permanently.
    >
    >
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    >

  • SCRIPT5007: Unable to get property 'top' of undefined or null and too much recursion

    I am not sure about placing two questions into one post, but here it goes:
    The error above  "SCRIPT5007: Unable to get property 'top' of undefined or null" is coming from this function:
    Code: 
    $(function () { //this is the way to run your code at the DOM Ready event  $('a').click(function () { $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top }, 1500); return false; });  });
    This is the effected code I believe that is causing the problem:
    Code: 
    scrollTop: $($(this).attr('href')).offset().top
    the error occurs when I click on a "clear" button in my form. My website is one long page and that function allows my navigation to slide up and down the site. Without it, everytime you click a nav, it jumps to that anchor.
    For the 2nd problem, the too much recursion, the problem lies within here:
    Code: 
    function () { if ($.isReady) return; imReady = true; $.each($.includeStates, function (url, state) { if (!state) return imReady = false }); if (imReady) { $.readyOld.apply($, arguments) } else { setTimeout(arguments.callee, 10) } }
    where the error is actually coming from the 2nd "function" script. This is part of the browser compatibility script for mozilla/opera at the top of the index page. Any help would be great. Thanks.

    Ahh I apologize. I simply was posting to JavaScript forums in hopes of
    finding a solution. Sorry for the mixup.

  • Unable to get my BG in HR:Position

    i've config my BG in Sys Ad:profile site level, but im unable to get this BG in organization column in positions form. and it also gives message "APP-PER-52803: YOUR BUSINESS GROUP DOES NOT MATCH YOUR SECURITY PROFILE"
    how can i appreciate you guys prompt response? thanks
    aq
    any1?
    Edited by: 321582 on Feb 24, 2012 11:56 AM

    resolve. with HR: Security Profile
    thanks forum.

  • Unable to get a connection for pool - ResourceUnavailableException

    Hi
    I have a BPEL process which starts a child instance of another asynchronous BPEL process for each message in an XML file. The child BPEL process makes a call to the Oracle Apps JCA Adapter to push the data into E-Business Suite.
    All works perfectly except when the number of messages exceeds a certain limit (15 or so). The error received is as follows:
    "Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SyncPersonRecord' failed due to:
    JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    ebsPeoplesoftEmployees:SyncPersonRecord [ SyncPersonRecord_ptt::SyncPersonRecord(InputParameters,OutputParameters) ] :
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue:
    javax.resource.spi.ApplicationServerInternalException:
    Unable to get a connection for pool = 'eis/Apps/Apps',
    weblogic.common.resourcepool.ResourceUnavailableException:
    No resources currently available in pool eis/Apps/Apps to allocate to applications.
    Either specify a time period to wait for resources to become available, or increase the size of the pool and retry.. Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections.
    Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ".
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution."
    Obviously what is happening is the connection pool maximum is reached (currently 15) and this is throwing the error.
    What I need to do is to implement the suggestion of "specifying a time period to wait" and I was hoping someone could tell me how I do this?
    I have tried setting the 'Connection Creation Retry Frequency' parameter to 30 seconds which made no difference and also have checked the documentation on "Configuring and Managing JDBC Data Sources for Oracle WebLogic Server".
    Does anyone know if this is something that is implemented directly in the BPEL process/composite or in the connection source itself.
    Many thanks

    Open the jndi : eis/Apps/Apps in /console - config tab - increase the initial and max conn capacity and save it. Retry the scenario

  • How can I get the position stream for a composition?

    I am writing an AEGP plugin for AfterFx and I need to get the position stream for a composition. I have based my plugin on ProjDumper.
    Can anyone help?

    Hi Shachar,
    Many thanks, that goes some way to explain it.
    However I am creating a composition adding text layers to it and animating the positions of the individual text layers. Then I create a second composition and include the first as a nested composition and I animate the position of the first composition within the second composition.
    When I run my plugin I only see the animations I added to the individual text layers, they are not combined with the overall animation attached to the first compisition within the second composition.  The animation data for the first composition must be stored somewhere. Do you know where ?
    I have been looking at source items and markers neither seem to provide the information I am interested in. Any clues would be very helpful.
    Thanks in advance.

  • Getting error data when navigate child report.

    hi,
    i am unable to get the current session data when i navigate to the child report from mother report.....
    ex,when mother report has data for 12/01/13(date prompt) then after navigation data is showing from 10/01/2013 to last date.....not just 12/01/2013.
    My req is when i select particular date in mother report (Main Report), then when i click any column the child report will also display the same date data.
    thanks for your help.
    Regards
    Zakeer

    Make sure you used same date column in Both Reports and in second Report Make Date column as "Is Prompted"

  • Rule 168 unable to get superior

    I am trying to activate a workflow but getting error . The technical log details shows that the superior(manager) cannot be resolved in rule 168 . while testing the rule 168 I can get the superior of person by passing
    Extended object id  = Position
    and
    object type =  ‘S’
    but when I try to find the superior by passing
    Extended object id = SAP log on name
    and
    object type as ‘US’
    I am unable to get the superior ..
    Please advice what could be the cause of it . do we need to change some HR setting ie saving relation  in some info type or some thing can be done in workflow to resolve it .

    while testing the rule 168 I can get the superior of person by passing
    Extended object id = Position
    and
    object type = ‘S’
    but when I try to find the superior by passing
    Extended object id = SAP log on name
    and
    object type as ‘US’
    I am unable to get the superior ..
    <b>actally when we use position or empid whith respective id type the testing of rule seems to be working fine but when we use object type 'US' and provide sap id it does not find it superior .. the all cases are in testing of rule using pfac_dis and whith the same empids .</b>
    as these all cases are in pfac_dis by default the rule uses type US ? or we have some setting for it

  • CUPS, HP PSC 2355 and "Unable to get list of printer drivers: Unknown"

    Hey fellow Archers!
    The Introduction
    The other day, I installed ArchLinux for the ARM processor on my GoFlex Home. Straight away I installed samba, got it set up and everything works like a charm with explosive transfer-rates compared to the old factory-firmware. Also put on a mysql server to centralize my xbmc database and pyload to download large files without having to have my laptop opened all the time. Have to admit, this Arch Linux is a glorious world!
    The Setup
    Well, after this positive input, now comes my problem. I wanted to share our printer on our LAN, so I did a little search to quickly find CUPS. Installed it together with all the dependencies, like foomatic, python (which was installed as pyload uses it) and all that stuff.
    Changed the /etc/cups/cupsd.conf to listen on 0.0.0.0 and started the daemon.. Woohoo! Turned on the printer, opened the web interface, went to administration -> add printer and selected one of the printers available from this list:
    Local printers
    CUPS-PDF (Virtual PDF Printer)
    HP PSC 2350 series USB MY5BNF4423KJ HPLIP (HP PSC 2350 series)
    Seriel port #1
    HP PSC 2350 series (HP PSC 2350 series)
    HP Fax (HPLIP)
    Before I proceed, I want to say that I have tried the following with both of the PSC-entries.
    The Problem
    Now, i selected the printer and just let the default values be, pressed continue and got this error message:
    "Unable to get list of printer drivers: Unknown"
    Well, googled it a bit and tried to blacklist lsusb, as well as chmod /dev/bus/usb/001/002 to 665 (even 777). Still the same error message. Also tried to install the printer with hp-setup -i which let me pick a ppd myself; didn't work either. Gave me an error message saying that it was unable to add the printer to cups. I have run out of options, and the almighty sir Google wont give me any solutions other than those which I have tried.
    I even get this error message when I try to add cups-pdf (which I also installed oc).
    Kind regards,
    Rasmus Dencker
    Last edited by dencker90 (2011-12-30 17:53:10)

    Hey fellow Archers!
    The Introduction
    The other day, I installed ArchLinux for the ARM processor on my GoFlex Home. Straight away I installed samba, got it set up and everything works like a charm with explosive transfer-rates compared to the old factory-firmware. Also put on a mysql server to centralize my xbmc database and pyload to download large files without having to have my laptop opened all the time. Have to admit, this Arch Linux is a glorious world!
    The Setup
    Well, after this positive input, now comes my problem. I wanted to share our printer on our LAN, so I did a little search to quickly find CUPS. Installed it together with all the dependencies, like foomatic, python (which was installed as pyload uses it) and all that stuff.
    Changed the /etc/cups/cupsd.conf to listen on 0.0.0.0 and started the daemon.. Woohoo! Turned on the printer, opened the web interface, went to administration -> add printer and selected one of the printers available from this list:
    Local printers
    CUPS-PDF (Virtual PDF Printer)
    HP PSC 2350 series USB MY5BNF4423KJ HPLIP (HP PSC 2350 series)
    Seriel port #1
    HP PSC 2350 series (HP PSC 2350 series)
    HP Fax (HPLIP)
    Before I proceed, I want to say that I have tried the following with both of the PSC-entries.
    The Problem
    Now, i selected the printer and just let the default values be, pressed continue and got this error message:
    "Unable to get list of printer drivers: Unknown"
    Well, googled it a bit and tried to blacklist lsusb, as well as chmod /dev/bus/usb/001/002 to 665 (even 777). Still the same error message. Also tried to install the printer with hp-setup -i which let me pick a ppd myself; didn't work either. Gave me an error message saying that it was unable to add the printer to cups. I have run out of options, and the almighty sir Google wont give me any solutions other than those which I have tried.
    I even get this error message when I try to add cups-pdf (which I also installed oc).
    Kind regards,
    Rasmus Dencker
    Last edited by dencker90 (2011-12-30 17:53:10)

  • Get relay position (multiple) with NI-Switch

    Hello All,
      Working with NI-Switch again to configure multiplexer instrument cards, and noticed a difference between NI-Switch and DAQmx-Switches.  Could someone tell me how to configure the NI-Switch function "get relay position" for multiple relays?  The DAQmx Switches equivalent to this functiion can accomplish it, but I don't see how to do it with NI-Switch.  Please advise.  Thanks.
    GSinMN

    GSinMN,
    Unfortunatly, you are unable to call multiple relays using this NI-SWITCH function. Instead try to call this in a for loop. There is a KnowledgeBase Article about this, Get Relay Position, which states "You will have to call this VI repeatedly to get the relay position of multiple relays. To return all relay positions with one call, you can use DAQmx Switch Get Relay Position.vi from the NI-DAQmx API."
    Frank,
    National Instruments
    Staff Software Project Engineer

  • Dbx: internal warning: Unable to get fun table addr in librtc.so

    Hi
    I am trying to resolve a memory leak in my program.
    getting the following errors:
    leaks checking - ON
    RTC: Enabling Error Checking...
    dbx: internal warning: Unable to get fun table addr in librtc.so
    dbx: Error checking initialization failed. All error checking disabled.
    dbx: warning: Error checking initialization failed.
    followed the following steps.
    1. setenv LD_PRELOAD /opt/SUNWspro/lib/librtc.so
    2. Ran the program. the program forks a child process.
    3. Attached to the child process.
    4. issued check -leaks, results in following error.
    Attached to process 13954
    stopped in _read at 0xfeb9e880
    0xfeb9e880: _read+0x0008: ta 0x8
    dbx: internal warning: set_error_limit called too early
    (dbx) check -leaks
    leaks checking - ON
    RTC: Enabling Error Checking...
    dbx: internal warning: Unable to get fun table addr in librtc.so
    dbx: Error checking initialization failed. All error checking disabled.
    dbx: warning: Error checking initialization failed.
    (dbx)
    dbx version:
    Sun Dbx Debugger 7.1 Patch 112758-02 2003/11/12
    System Info
    Operating System: SunOS Release 5.8 Generic_117350-04
    Type:SUNW, UltraAX-i2; sparc; sun4u
    Any hints welcome.
    Thanks
    Bhaskar Mathur

    Replied
    Rose

Maybe you are looking for

  • Ebook problems in Indesign 5.5

    I am creating an ebook in indesign 5.5 and the mimetype file (according to my information there should be one) is missing and the TOC that I created in Indesign does not work. Am thinking I may have to create one manually.  Also am using bbedit which

  • Slideshow "jitters" on tv

    Would like to answer wife's question why certain images in a slideshow appear to jump and jitter when dvd is viewed on tv, but appear ok in dvdsp. all images come from digital still camera. i'm thinking image pattern characteristics that don't bother

  • Oracle Payables

    Hi, I am building a report using SQL off Oracle Financials data. The report is based on Oracle payables, I am mainly using AP_INVOICES_ALL/AP_SUPPLIERS table to obtain fields. The fields I require from the database are: Payee (Vendor) Site (?) Docume

  • Reverting to an older version.

    Yep, I know it's an odd question, but how do I revert to an iTunes version 6 series? iTunes 7 series works well, except that it will not sync my Outlook contacts. Aparently it doesn't like any Outlook older than 2004, and I'm not willing to upgrade s

  • Condition Tables

    Hi I have in my selection screen CONDITION TYPE  (T685-kschl)     as Select-options (mandatory) CONDITION TABLE (T682I-Kotabnr) as Select-options (mandatory) PLTGROUP      (Tvk8-kvtr8)             as Select-options BRANDCODE   ( Tvm1-mvgr1)         a