Playing different labels depending on timeline direction...

Hi there.
Here's the issue:
- I have a timeline with stop() trigers every 1000ms.
- I have several symbols moving horizontally, stopping at those triggers.
- There's a central location at the timeline - 3000ms
- When a symbol reaches (play) that central location, it plays, inside itself, the label "previous_to_center"
- When a symbol leaves (play) the central location, it plays, inside itself, the label "center_to_next"
- If a symbol reverses (playReverse) and reaches the central location, I want it to play, inside itself, the label "next_to_center"
- Finally, if a symbol reverses again (playReverse) and leaves the center location, I want it to play, inside itself, the label "center_to_previous"
I need the code for this.
Thanx.

Having multiple table with same structure looks like a design flaw. What benefit that does bring. So please explain the reason to have 2 table with same structure.
Said that here are few more ways.
SQL> select id
  2       , col1
  3       , col2
  4    from (
  5            select t1.id
  6                 , decode(t2.id, null, 'T4', 'T3') table_handle
  7              from t1
  8              left
  9              join t2
10                on t1.id = t2.id
11         ) a
12    join (
13            select 'T3' table_handle, col1, col2 from t3
14            union all
15            select 'T4' table_handle, col1, col2 from t4
16         ) b
17      on a.table_handle = b.table_handle;
        ID COL1       COL2
         1 DATA1      DATA2
         2 DATA3      DATA4
SQL> select id
  2       , col1
  3       , col2
  4    from (
  5            select t1.id
  6                 , dbms_xmlgen.getxmltype('select col1, col2 from ' || decode(t2.id, null, 'T4', 'T3')) xml_data
  7              from t1
  8              left
  9              join t2
10                on t1.id = t2.id
11         )
12       , xmltable
13         (
14            '/ROWSET/ROW' passing xml_data
15            columns col1 varchar2(10) path 'COL1',
16                    col2 varchar2(10) path 'COL2'
17         );
        ID COL1       COL2
         1 DATA1      DATA2
         2 DATA3      DATA4
SQL>

Similar Messages

  • Play label in createChildSymbol timeline

    Hi
    How do i play a label in createChildSymbol time line?
    I've tried ....
    sym.$("content").empty();
    sym.getComposition().getStage().createChildSymbol("Symbol1","content").play("label1");
    and...
    sym.$("content").empty();
    var myNewChildSymbol = sym.getComposition().getStage().createChildSymbol("Symbol1", "content");
    sym.myNewChildSymbol.play('label2');
    but they only call up Symbol1 in the content box and play from the beginning of its timeline, not from label1
    Any ideas?
    Thanks in advance

    Hi,
    You can try:
    var instance = sym.getComposition().getStage().createChildSymbol( "Symbol1", "content" );
    instance.play( "label2" );
    And, you can also try:
    var instance = sym.createChildSymbol( "Symbol1", "content" );
    instance.play( "label2" );
    Both run.

  • Canvas window - video plays back at different speeds from the timeline. Why

    I've scanned 25 pages of topics but found nothing that mentioned this as a problem. When I play a sequence in the timeline, the video in the Canvas window slows down (and sometimes suddenly speeds up to catch up with the audio) About the audio, it sounds find regardless of how the video is playing back. if I hit the space bar to stop play back, the video snaps to the correct position.
    Any ideas why?
    Sometthings I've noticed : If I restart my computer, the video tends to play back fine. But if I leave the program open and use it alot, the play back problem happens over time. If I make the canvas window tiny (25% size), the video plays fine but at 50% - I get video speed changes. (audio, always good)
    Here is what Im using : The project is about 20 mins long. I have over 50 gigs of HD space (the Macs main drive) Im using FCP version 4.5 on a Dual G5. 2.5 GB of Ram.
    Well thanks to any one who respones.

    When I play a sequence in the timeline, the video in the Canvas window slows down (and sometimes suddenly speeds up to catch up with the audio) About the audio, it sounds find regardless of how the video is playing back. if I hit the space bar to stop play back, the video snaps to the correct position.
    Does this happen in any other sequences within this FCP project? Or, for that matter, with any other projects on your FCP system?
    And, to confirm, your media is running off your system drive? That is, your machine has only one hard drive on it, correct? (Partitioned or not)

  • AS2 open another scene and play a label inside a mc

    I'm looking for a piece of AS2 script that will open a different scene and play a label from inside a mc.
    So it should be something like...
    On release go to scene x and play x label from inside x mc.
    I can get to the scene via the button "on release gotoandplay scene 2 .
    Once in the scene I can get a button to gotoandplay themc.mc and the label.
    But what I really want to do is get the button on one page to go to the scene and play the label on the second scene.
    Any ideas?

    use:
    gotoAndPlay("scene2_frame1");
    this.onEnterFrame=someF;
    function someF(){
    yourmovieclip.gotoAndPlay("some label");
    delete this.onEnterFrame;

  • Premiere Pro CC and Encoder CC ( 7.1.0 ) produce different outputs dependant on Queue or Export meth

    I have used a standard workflow for many months but recently something has changed. If I create a simple 720x576 sequence with video and then send this to Media encoder I get different results dependant on if I queue or export the sequence. If I export directly from the application then the resulting file is perfect ( MPEG2/QT ) , however if I queue the file and then export the resulting file contains small black vertical bands at either side of the image an the resulting image looks squashed.
    Testing the same workflow in CS6 does not have the issue.
    Has something changed with the latest 7.1.0 release ???
    Can anyone make a simple test and let me know ??
    If you simply queue to the Media encoder and view the window you can see the added bands ??
    I am using MAC OSX 10.7.5 as a platform
    Thanks

    Here you can download the trial they are all the first build (7.0)
    http://prodesigntools.com/adobe-cc-direct-download-links.html
    Updates can be found here:
    http://www.adobe.com/support/downloads/product.jsp?product=98&platform =Windows
    http://www.adobe.com/support/downloads/product.jsp?product=98&platform =Macintosh
    Take from http://forums.adobe.com/thread/1357792?tstart=0
    Also, take care to track down Adobe Media Encoder 7.0 — the installers above don't downgrade AME, and you'll have issues queing projects if you're sending it from Premiere 7.0 to AME 7.2.

  • Play Previous Label

    Is there any way to play from the previous label in a timeline?
    ie: if i have 10 labels in the timeline and have 2 buttons to move forwards and backwards through them, then the "backwards" button would need to play from the previous label each time it is pressed. Play reverse is no good as the animation i have will play in reverse.

    Ok, nevermind that last question.
    I have the code in and almost working.
    I am now having a slight inconsistency issue.
    When I click forward, sometimes the symbols play from the start, sometimes they play from the middle and sometimes they are stopped at the end of their animation.
    When I click back, they sometimes play from the start, sometimes they don't play.
    Here is the code I have:
    // Array for my Timeline labels
    var myLabels = ['Pn1','Pn2','Pn3','End'];
    //Array for my symbols
    var myPanels = ['Panel1','Panel2','Panel3'];
    // Initial setting of 'i'
    i=0;
    // For forward button click
    sym.$('FWD').click(function(){
              i++;
       sym.play(myLabels[i]);
       sym.getSymbol(myPanels[i]).play(0);
    // For backward button click
    sym.$('BACK').click(function(){
              i--;
              if (i<0){
                         i=0;
       else{
              sym.play(myLabels[i]);
              sym.getSymbol(myPanels[i]).play(0);
    Thanks for all your help so far...

  • RTorrent: move downloads to different directories depending on tracker

    Hi!
    I would like rTorrent to move completed downloads to different directories depending on the trackers in the torrent. An ideal setup for me would be something like this:
    torrents/completed/tracker_x
    torrents/completed/tracker_y
    torrents/completed/tracker_z
    torrents/completed/unknown_trackers
    torrents/incomplete
    torrents/torrent_files
    torrents/session_data
    Any hints/links/etc for me? I think i can make something work if rTorrent could pass the .torrent file path and downloading directory to a bash script

    very lazily copied out my .rtorrentrc
    32 schedule = watch_directory_1,10,10,"load_start=/home/share/media/torrents/foo/*.torrent,d.set_custom1=/home /share/media/video/foo"
    33 schedule = watch_directory_2,10,10,"load_start=/home/share/media/torrents/bar/*.torrent,d.set_custom1=/home/s hare/media/video/bar"
    39 on_finished = move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-u,$d.get_base_path=,$d.get_custom1="
    there's also this, but i think it doesn't actually move the files; it makes symlinks.
    http://code.google.com/p/pyroscope/wiki … Completion
    Last edited by tladuke (2010-12-12 23:31:40)

  • Different labels for a textview based on component usage

    Hi,
    We are on SAP E-Recruiting EHP5 and we have a requirement wherein the label of a textview in a view needs to be dynamicaly controlled. The candidates personal data page (view VW_PERSONALDATA of component HRRCF_C_PERSONL_DATA_UI) gets displayed both:
    1) When the candidate is signing up on the portal to create his profile
    2) On the application page while the candidate is applying against a particular position
    Now case 1 is a straightforward one. I set the label to a OTR and it just works fine. Case 2 is where the problem occurs. When the candidate applies against a particular position the standard SAP roadmap comes up with the view VW_PERSONALDATA of component HRRCF_C_PERSONL_DATA_UI as its 1st step. So now how can I set a different label for the textview in this particular case coz the navigation happens dynamically through prepare_dynamic_navigation( ). Appreciate your inputs on this one.
    Regards,
    Uday
    Edited by: Uday Mr on Feb 29, 2012 3:36 PM

    Hi Uday,
    Please try to create it dynamically.
    Example:
    METHOD wddomodifyview.
    *-Data declaration
      DATA: root        TYPE REF TO cl_wd_uielement_container,
            page_header TYPE REF TO cl_wd_page_header.
    *-Get reference to Root UI Element Container
      root ?= view->get_element('ROOTUIELEMENTCONTAINER').
    *-Creating page header
      page_header = cl_wd_page_header=>new_page_header( title = 'Page Header' ).
      cl_wd_flow_data=>new_flow_data( element = page_header ).
    *-Add new page header to ROOT Element Container
      root->add_child( page_header ).
    ENDMETHOD.

  • Audio tracks playing different audio tracks - routing issue?

    I'm having trouble with some routing issues I believe. Here's the deal:
    Some audio tracks are playing different audio tracks, when that region is not even in it. For instance:
    Track #2 is Soloed. Output is Output 1-2. I hear the audio file that is in Track #1, which is NOT Soloed and I shouldn't even hear. I don't hear anything from Track #2. The only way I can hear Track #2 is by playing it from the audio bin, which obviously isn't going to work out right.
    If I drag the audio region of Track #2 to a brand new audio track, I still don't hear anything. Is it possible this audio file(s) got corrupted somehow?
    Please help!

    Chris Joye wrote:
    I'm having trouble with some routing issues I believe. Here's the deal:
    Some audio tracks are playing different audio tracks, when that region is not even in it. For instance:
    Track #2 is Soloed. Output is Output 1-2. I hear the audio file that is in Track #1, which is NOT Soloed and I shouldn't even hear. I don't hear anything from Track #2. The only way I can hear Track #2 is by playing it from the audio bin, which obviously isn't going to work out right.
    If I drag the audio region of Track #2 to a brand new audio track, I still don't hear anything. Is it possible this audio file(s) got corrupted somehow?
    Please help!
    Check the parameters, in the left side of the arrange page window.
    To me, it sounds as if you have a bunch of arrange tracks, which are all playing back through audio track #1.
    Cheers

  • Can i play different songs to different airplay speakers at the same time ?

    Can i play different songs to different airplay speakers at the same time ?
    I know you can select the different speakers to play the music to, but wondered if you can also push different music to different speakers at the same time ?
    If not is there a way around this other than going for something like Sonos ?

    I found another solution in this thread http://forums.macrumors.com/showthread.php?t=695360
    Again you need the rogueamoeba guys.

  • Show report in different currency depending on user parameter

    hi all,
    i'm trying to show my report in different currency, depending on users given parameter.
    i hold my account balance in USD based. User should select one parameter, in which currency they want to see their account balance. (e.g. EURO, GBP ...) and depending on their selection, i want to convert USD based info into chosen currency, by fetching field from currency table and making some calculation.
    also i want to include in report currency($, £ ...) accordingly ().
    how can i achieve this, has somebody any suggestion to me?
    thanks in advance.
    bogi.

    hi,
    i think i need to explain my problem more detailed. anyone who has suggestion, please help me.
    i have 3 tables account, times and currency.
    - times table has time_key, date, day_of_week fields.
    - account table has - account_balance and time_key_FK fields.
    - currency table has currency_type, amount, time_key_FK fields.
    1. i have function decode(:Currency,'USD',account_balance,'EURO',--here i want to replace my calculation CALC1---)
    CALC1- this calculation need to some calculation like this: account_balance * (fetched field from this sql)(select amount from currency, account where currency.currency_type='EURO' and account.time_key_FK=currency.time_key_FK)
    i tried to do this, but discoverer plus doesn't let me make condition and calc. i'm very confused.
    2. after i achieve this query, somehow i want to display on worksheet on which currency is it based. can i get parameter value, and show this value as in column heading?
    tnx!!!

  • Aperture performs adjustments in a different order depending on file type

    Aperture performs Adjustments in a different order depending on file type.
    Here's an example:
    Starting with two copies of an image, one in RAW format (Canon CRW from a D60), the other in TIFF (opened the .crw file in Preview and exported an 8bit tiff file).
    {The test image is a photo of my copy of Aperture on the floor of my studio (which, for reference, is a few points of Cyan off of a neutral grey).}
    The original Image.
    http://members.arstechnica.com/x/adrien/testRAW_originalImage.jpg
    Adjustments
    http://members.arstechnica.com/x/adrien/adjustments.jpg
    The RAW file adjusted
    http://members.arstechnica.com/x/adrien/testRAW_adjusted.jpg
    The TIFF files adjusted
    http://members.arstechnica.com/x/adrien/testTIFF_adjusted.jpg
    Import both of these files (testRAW.crw & testTIFF.tiff) into Aperture.
    Make adjustments to the RAW and TIFF images:
    - Exposure: Saturation -> 0 (lowest possible value).
    - White Balance: Temp -> 3500K (from 5000K).
    It doesn't matter what order you perform these operations in.
    The RAW file is now a neutral greyscale image. With the Saturation set to 0, the White Balance makes no major difference in the image, it stays grey.
    The TIFF file, however, is now a blue tinted greyscale image - much like a sepia-tone effect. Moving the White Balance slider changes the color of the image.
    It appears that Aperture is performing the Saturation and WB operations in a different order: for the RAW file it first performs the WB, then the saturation; while in the TIFF file it performs the saturation first, then the WB.
    The result is the same for a JPEG image.
    The RAW behavior is the 'expected' behavior in photography - White Balance should happen 'before' the Saturation setting.
    I've filed the bug with Apple (number 4394125 at bugreport.apple.com). hopefully they'll fix this.
    Cross posted from this discussion at the MacAch on ArsTechnica forums:
    http://episteme.arstechnica.com/groupee/forums/a/tpc/f/8300945231/m/893007866731 /r/832001796731#832001796731

    Well, there are different ways of achieving this.
    Solution 1:
    You can create a new output type which will be triggered and call a same driver program and the new smart form. I am sure you can customize as to what Purchasing document type will trigger which output type. Get in touch with someone in the function team to get this configured.
    Solution 2:
    No Customizing, let the configuration be the same, but in the driver program change the value of  "TNAPR-FONAM" immediately after the form entry_neu to the new form name based on the Purchasing document type.

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • Playing different Movie Clips onRollover?

    I have several buttons that I would like to play different
    movie clips
    onrollover on the stage. So if button 1 is rolled over it
    plays a clip
    in the lower right corner and when rolled off it stops and if
    button 2
    is rolled over it does the same.
    How is this done?
    Thanks!

    This is the code I am currently using to play and stop a
    movieclip:
    myPlay_btn.addEventListener(MouseEvent.CLICK, playMc);
    myStop_btn.addEventListener(MouseEvent.CLICK, stopMc);
    function playMc(e:MouseEvent):void{
    my_mc.play();
    function stopMc(e:MouseEvent):void{
    my_mc.stop();
    1. How do I drag my movie clips onto the stage, but not have
    them
    display until the button is rolled over?
    2. Would this code just be applied for each button and
    modified from
    CLICK to OnRollover?
    Thanks!!!!
    kglad wrote:
    > assign a rollover listener to button 1 and in its
    listener function apply the play() method to your right corner
    movieclip. likewise for button 2.

  • I have to have two apple TV to play different playlists using the same AV Receiver dual zone?

    Hi  folks.
    I have a AV receiver dual zone and I'd like to play different playlists from my computer in each zone. To do that i have to have two Apple TV connected in this Receiver?
    Thank you in advance.
    cntg

    Hi,
    There are two easy fixes to this.
    One, you can set up Family Sharing, in which you can have two different iCloud Accounts, yet still share the same apps, music, media etc.
    Two, go to Settings and turn-off "Handoff". This can be found under the General page.
    Hope this helps!

Maybe you are looking for

  • Creation of suspension line items for Subscription orders

    hi ,        I am currently working on IS-Media project. I have a requirement that I need to create a suspension for all the line items available for the subscription orders. I mean I have to create a new line item for all the active line items of a s

  • NCS on OES11 SP1 needs eDir 8.8.7 or later. With a replica?

    We have 3 replicas running, one NW 6.5SP8 and two OES2SP3 (eDir 8.8 SP6). These 3 servers are 32bit. I'm about to test NCS in the lab (we've not used it before) and see on page 50 (4.6.3) of "clus_admin_lx.pdf" that eDir 8.8.7 is required for managin

  • Cisco catalyst 2960 booting garbage, help on restore IOS

    Dear All, This is my first time on terminal access of Cisco Catalyst 2960 (2960TC-L), normally would use the web configuration for most task. Now the switch has an issue with the web interface and when I try to access through terminal, I was greeted

  • What specific modem do I have?

    I was given a Mac 350Hz G4 w/ OS 10.2.8 and 448 mgs of ram. I am new to Mac and need to know what exactly what internal modem I have and who manfactured it. The Mac data base does not help very much with older models, manuals, etc.. and when I put in

  • How do I get a cropped image to snap to a larger size?

    I'm in PSE 10 and when I crop a small portion of an image and accept the crop, it remains a small image instead of snapping to a larger image like it did in PSE 6. I know there must be some way to have the small image automatically made larger rather