Go to next label or previous label

Is there an action in Animate to play next label or stop at  previous label?
Thanks for any support.
Att.,
Edwin

Hi, guys.
It's not a formal , but there is also such a way.
The label information, can be accessed in the "Default Timeline" via.
console.log(sym.timelines['Default Timeline'].labels);
So, use this, We can extend the Edge-Symbol. like this.
//document.compositionReady
//get label index for the time
Symbol.prototype.getLabelID = function(time){
  time = time||this.getPosition();
  time = Math.max(time,1);
  //mapping the label name & time
  var ex = this.ex = this.ex||{};
  if(!ex.labels){
    ex.labels = [{time:0,name:'start'}];
    if(this.timelines['Default Timeline'].labels){
      $.each(
        this.timelines['Default Timeline'].labels,
        function(key,val){ex.labels.push({time:val,name:key});}
    //sort by time
    ex.labels.sort(function(a,b){return (a.time<b.time)?-1:(a.time>b.time)?1:0});
  //serch the label index
  for(var i=1;i<ex.labels.length;i++){
    if(time<ex.labels[i].time)break;
  return i-1;
Symbol.prototype.getNextLabelTime= function(time){
  var id =this.getLabelID(time);
  var labels = this.ex.labels;
  //return labels[Math.min(++id,labels.length-1)].time;
  return labels[++id%labels.length].time; // case loop
Symbol.prototype.getPrevLabelTime= function(time){
  var id =this.getLabelID(time);
  var labels = this.ex.labels;
  //return labels[Math.max(--id,0)].time;
  return labels[(--id+labels.length)%labels.length].time; // case loop
Symbol.prototype.nextLabel=function(play){
  var func =(play)?this.play:this.stop;
  func.call(this,this.getNextLabelTime());
Symbol.prototype.prevLabel=function(play){
  var func =(play)?this.play:this.stop;
  func.call(this,this.getPrevLabelTime());
In this. We can use prevLabel/nextLabel method.
//move to next label
sym.nextLabel();
sym.getSymbol("Symbol_1").nextLabel();
//move to prev label and play
sym.prevLabel(true);
etc..
Because it extends the Edge-Symbol on its own, It's not the way "well-behaved".
If you are interested, try .
thanks.
Ume.

Similar Messages

  • How to go to next lines in a label  on LWUIT

    Hello
    I am using J2ME LWUIT to design my application. I take data from web server and display it on screen. I can do it without any problem. Unfortunately when the text is so long, I want Label to go to next line. But it writes all the text at same line.Then the user needs to wait the line to stop to read whole Label. Could you please tell me a way for user to go to next line when the text is long enough ? Thank you in advance.
    Regards
    Altayli
    Here is how I defined my Label:
    label9.setText(topkapi.TopkapiAyrinti);
    label9.setFocusable(true);
    b2.addComponent(label9);

    Hello
    I fixed "why it always goes to next page problem" by changing KeyPressed() to KeyReleased(). But I still I do not know how to go next lines in a label on LWUIT. I will take very long datas and display it on the screen and when it's more than one line I want the label to go to next line instead of displaying all the info in same line. I am waiting for your replies. I tried nearly all LWUIT functions to find out the solutions but still I could not find anything. Thank you in advance..
    Best Regards
    Altayli

  • 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...

  • When printing labels for each printed label a blank label comes out of the printer

    Hello Experts
    We have a CR report which is designed to prints labels for the items using a label printer. After an upgrade that we have last month the settings for this report are missing so the labels were coming out wrong.
    Due to this I have had to reconfigure this report and its printing preferences and so far I have managed to make the prints fit in each label. But the problem is that if I try to print 5 copies of a label, the 5 labels come out of the printer just fine, butt after it another 5 blank labels come out of the printer too.
    I have tried with all parameters in "Printing preferences", mainly in the "Material" tab but nothing works.
    Thanks in advance and regards

    Hi,
    Please check below SAP note and let me know your feedback:
    1043235 - Label/thermal printers are not supported by SAP Business
    One
    Thanks & Regards,
    Nagarajan

  • Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF by default, not the top. How do you change this?

    Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF page by default, not the top of the PDF page. How do you change this? In Mac OS 10.9 and previous, going to the next or previous PDF file displays the top of the PDF by default. Is there a way to change this back? When I go to the next or previous PDF file, I want to first view the top of the page, not the bottom. This really doesn't make any sense. Any help? Thanks!
    MacBook Air (13-inch, Mid 2012)
    2 GHz Intel Core i7
    8 GB 1600 MHz DDR3
    500 GB Flash Storage
    Preview Version 8.0 (859)
    Mac OS 10.10.1

    That to me seems like a bug in Yosemite.
    Apple Feedback http://www.apple.com/feedback/
    Bug Reporter https://bugreport.apple.com/

  • Print metadata label on a label writer?

    Anyone know a way to print an metadata label using a label writer? This would be handy stick on the backside of a print. That way it would be easy too see filname, when the photo was taken, where, keywords and so on.
    Anyone tried this?

    Don't know about a label-writer, but it shouldn't be difficult to print a contact sheet which matches one of the Avery (or other) standard label forms. That will give you not only the metadata, but a thumbnail as well. The trick will be getting it lined up, and getting the metadata you want.
    You might be able to do something similar with a label-printer, printing one image w. metadata per page/label.
    Note too that you can export metadata for selected images as a text file grid. This then requires additional manipulation -- format and print any way you want. If you do it often, it would be well worth automating the process.

  • Adobe reader has buttons next page and previous page, why not also top of current page and bottom of

    Adobe reader has buttons "next page" and "previous page",
    why not alson "bottom of current page" and "top of current page" ,
    these would be very useful if the page is increase to the maximum left and right

    This is a user forum; if you have any product enhancement requests, do it here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to play Previous Label and Next Label?

    How can I tell flash to play a previous or next label with
    simple scripting?
    ...are there any predefined playprevLabel or playnextLabel
    functionality in the program that can be called simply ?
    I heard of putting the label names into an array but it seems
    too convoluted. thanks, Attila

    Why not name the labels incrementally, then merely add or
    subtract from the value of your label variable, and use a standard
    goto?
    K.

  • Maintaining backed up pictures in previously labeled albums

    I need to know how to back up my pictures so that when i use the back up dvd(s) to restore my i photo library, it will be organized into the albums I have already created to store them in I photo. It should tell you how to back up albums such that when you restore the backed up photos to a new hard drive or computer, the pictures will be organized into numbered and/or labeled albums just as they are stored in i photo. EG:" 60. Christmas Pictures 2006".
    I recently had to restore my pictures from dvd backup and they were there, but not organized as I had them in i photo!. Has someone solved this one?
    powerbook G4   Mac OS X (10.4.8)  
    powerbook G4   Mac OS X (10.4.8)  

    rpm2268:
    Welcome to the Apple Discussions. To do what you want burn the albums using the Share->Burn menu option. The disks can then be mounted in iPhoto and the albums will display as shown here. Just drag the album from the disk version into the Source pane as shown.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How do get the label id or label name of a filed's label?

    Hello everybody,
    I need your help for getting the name of id of label, this label belongs to a field in a form.
    When I create my javascript's function I could manipulate the visibility of a field with the next sentence:
    document.getElementById("P1_NAME_OF_FIELD").style.visibility = "visible";
    but I do not know to do the same thing with its label:
    Also, I have tried with the parentnode javascript attribute, this is because getting the parentnode ( a tag of TD ) but I don't have a good result.
    document.getElementById.parentNode.parentNode.style.visibility = "visible";
    I write twice parentnode because I found in the code that the label and the field are like this:
    <tr>
    <td> label </td>
    <td> text field </td>
    </tr>
    The first parent node is TD and the second corresponding to TR.
    After that I edit the item, in the label's part I wrote in Label:
    <div id="ID_LABEL" name="ID_LABEL" style="visibility:hidden"> Label </div>
    This was for assigning the id to the label and with this to identy easily.
    and in the element's part I wrote in 'HTML Table Cell Attributes'
    style = "visibility:hidden"
    And in the javascript function I wrote the next:
    document.getElementById("P1_NAME_OF_FIELD").style.visibility = "visible";
    document.getElementById("ID_LABEL").style.visibility = "visible";
    With this I could manipulate the visibility but the problem is that the font size of is not the same with the others labels.
    Could you help me with this problem?
    What and how do I must do in apex?
    Could you send me a page with relationated examples with this problem?
    Thank you.
    Best Regards.

    Long story short: A ColorModel is not a Color. It is an object containing information about how the colors in an object are described... or something like that.
    Component.getForeground() is probably want you want. It returns a Color object.
    http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Component.html#getForeground()

  • Line chart x-axis label overloaded with labels

    Hi,
    I have a Line chart filled by a large resultset (hundreds of rows). Each row contains a decimal value and a timestamp. The interval between timestamps is short so it is impossible to plot every single date/time in the x-axis label because there is no space.
    I would like to hide the the x-axis label for most rows and plot this label for each x rows. Something like this:
      18/12/2009 09:00            18/12/2009 10:00           18/12/2009 11:00            18/12/2009 12:00
            |---------------------------|---------------------------|---------------------------|
    In the previous x-axis example there are many timestamps between 18/12/2009 09:00 and 18/12/2009 10:00 but they are not plotted in the chart. It is possible to do something like this in MII charts?
    Thank you,
    Wilson Freitas
    Vetta Technologies

    Hi,
    I think Michael is right about the Ticks per label parameter. Looks like it is not working for me because the chart data binding is not behaving as expected.
    The chart rowset is composed by two fields: decimal and date time. The date time field is already converted to string. The rowset comes from a BLS transaction.
    I think this forum has no support for file upload so I will add links to the xMII workbench screenshots so you guys can see my chart/query configuration.
    This is the XACUTE Query used by the chart: http://www.vetta-group.com:8080/imgs/xacute_config.PNG
    This is the Line Chart configuration:
      - Chart area:http://www.vetta-group.com:8080/imgs/chart_area.PNG
      - Data mapping: http://www.vetta-group.com:8080/imgs/data_mapping.PNG
      - X-axis: http://www.vetta-group.com:8080/imgs/xaxis.PNG
      - Y-axis: http://www.vetta-group.com:8080/imgs/yaxis.PNG
      - Server scaling:http://www.vetta-group.com:8080/imgs/server_scaling.PNG
      - Data series:http://www.vetta-group.com:8080/imgs/data_series.PNG
    The chart row set is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Rowsets DateCreated="2010-02-02T20:50:08" EndDate="2010-02-02T20:50:07"
         StartDate="2010-02-02T19:50:07" Version="12.0.8 Build(24)">
         <Rowset>
              <Columns>
                   <Column Description="" MaxRange="1" MinRange="0" Name="TAG_TIMESTAMP"
                        SQLDataType="1" SourceColumn="TAG_TIMESTAMP" />
                   <Column Description="" MaxRange="1" MinRange="0" Name="TAG_VALUE"
                        SQLDataType="8" SourceColumn="TAG_VALUE" />
              </Columns>
              <Row>
                   <TAG_TIMESTAMP>01/12/2009 12:00:00</TAG_TIMESTAMP>
                   <TAG_VALUE>80.723414730584</TAG_VALUE>
              </Row>
              <Row>
                   <TAG_TIMESTAMP>01/12/2009 12:23:59</TAG_TIMESTAMP>
                   <TAG_VALUE>87.33149769706</TAG_VALUE>
              </Row>
              <Row>
                   <TAG_TIMESTAMP>02/12/2009 12:47:59</TAG_TIMESTAMP>
                   <TAG_VALUE>86.966843701221</TAG_VALUE>
              </Row>
              <Row>
                   <TAG_TIMESTAMP>02/12/2009 01:11:59</TAG_TIMESTAMP>
                   <TAG_VALUE>83.989991258174</TAG_VALUE>
              </Row>
         </Rowset>
    </Rowsets>
    When I run the chart I get this result: http://www.vetta-group.com:8080/imgs/chart1.PNG
    As you can see the chart has no X-Axis labels ans I need to add the date/time to the X-axis. If I add the field to "X-Axis label columns" the field values are ploted but the parameter "Ticks per label" is ignored and hundreds of labels are ploted together and is impossible to read them. I think the "Ticks per label" parameter only works for fields added to Labels columns (in data mapping). The problem I am facing is: when I add the date field (http://www.vetta-group.com:8080/imgs/data_mapping2.PNG) to Label columns I get an empty chart like this: http://www.vetta-group.com:8080/imgs/chart2.PNG
    What am I doing wrong?
    Thank you

  • Why Cat6500 PE just can only show VPN label without IGP label ?

    Hi,there:
    We have a couple Cat6500 as our MPLS/VPN P, PE routers. But from the following first command output, we just only can see one label (VPN lable) 339 imposed,can't see the IGP label imposed.
    From the second command we can see both IGP and VPN labels (339,224 or 339,20)are imposed.
    Is there anybody can point out why the first command just can only show the VPN label ?
    We're using Sup720 supervisor and 12.2(18)SXF9 IOS.
    6500PE#sh ip cef vrf XYZ 172.212.0.0 255.255.0.0 detail
    172.212.0.0/16, version 321, epoch 0
    0 packets, 0 bytes
    tag information set, all rewrites owned
    local tag: VPN-route-head
    fast tag rewrite with
    Recursive rewrite via 172.17.0.213/32, tags imposed {339}
    via 172.17.0.213, 0 dependencies, recursive
    next hop 192.168.131.128, TenGigabitEthernet2/5 via 172.17.0.213/32 (Default)
    valid adjacency
    tag rewrite with
    Recursive rewrite via 172.17.0.213/32, tags imposed {339}
    Recursive load sharing using 172.17.0.213/32.
    6500PE#sh mls cef vrf XYA 172.212.0.0
    Codes: decap - Decapsulation, + - Push Label
    Index Prefix Adjacency
    108775 172.212.0.0/16 Te2/5 339(+),224(+) (Hash: 0001)
    Te1/5 339(+),20(+) (Hash: 0002)
    6500PE

    Hi,Martin:
    Thanks for your reply.
    I tried these two commands, but just only could get IGP labels(20 and 224), no way to see the VPN label(339).
    Any idea ?
    Jerry
    6500PE#sh ip cef 172.17.0.213 255.255.255.255 detail
    172.17.0.213/32, version 1080, epoch 0
    0 packets, 0 bytes
    tag information set, shared, all rewrites owned
    local tag: 171
    via 192.168.130.128, TenGigabitEthernet1/5, 11 dependencies
    traffic share 1
    next hop 192.168.130.128, TenGigabitEthernet1/5
    valid adjacency
    tag rewrite with Te1/5, 192.168.130.128, tags imposed: {20}
    via 192.168.131.128, TenGigabitEthernet2/5, 43 dependencies
    traffic share 1
    next hop 192.168.131.128, TenGigabitEthernet2/5
    valid adjacency
    tag rewrite with Te2/5, 192.168.131.128, tags imposed: {224}
    0 packets, 0 bytes switched through the prefix
    tmstats: external 0 packets, 0 bytes
    internal 0 packets, 0 bytes
    6500PE#sh
    6500PE#show mpls forwarding-table 172.17.0.213 32 detail
    Local Outgoing Prefix Bytes tag Outgoing Next Hop
    tag tag or VC or Tunnel Id switched interface
    171 20 172.17.0.213/32 0 Te1/5 192.168.130.128
    MAC/Encaps=14/18, MRU=1548, Tag Stack{20}
    001A6C9F0A44001CF9B3D0008847 00014000
    No output feature configured
    Per-destination load-sharing, slots: 0 2 4 6 8 10 12 14
    224 172.17.0.213/32 0 Te2/5 192.168.131.128
    MAC/Encaps=14/18, MRU=1548, Tag Stack{224}
    001A6C9F12BC001CF9B3D0008847 000E0000
    No output feature configured
    Per-destination load-sharing, slots: 1 3 5 7 9 11 13 15
    6500PE#

  • Optional Label w Help - label template

    Hi All,
    I am working on 508 stuff for sequence navigation with tab order. We have a input form on one place where the labels have help text. If I navigate the form using tab key, input fields get the focus first and labels at last. I removed the tabindex="999" from the template to get the right order. Labels are getting focus before input fields, but if I click on label to see the help, help popup appears but can't get focus using IE. And if I try to go to next field after opening the help popup, it throws me out of the form. Please let me know if there is a way to handle this.
    Thanks.

    Hi,
    Thanks for your question. Firstly, can you provide the following information:
    - APEX version
    - IE version
    - Theme #
    So I think you're fix for the tab order issue is correct. Generally speaking, positive tabindex definitions almost always have a negative effect on usability for keyboard-only users. They have been present in theme label templates for a long time and must have been added initially as a way for users to move between form fields quickly. However, and as you have realised, this disrupts a keyboard-only user who wishes to view item help text. This can cause either a) If the form field has focus when the page loads, they have to TAB many times until they reach the help, or b) Form field focus is not set on page load, which can cause page focus to go directly to the label (because browsers treat elements with a positive tabindex as higher priority in the tab order than elements with no tabindex), and then the user has to press TAB many times to get to the form field. It's not good. I have filed bug #16183368 to remove this from all our modern themes, and we also had existing bug #9474840 which deals with the same issue in our internal applications that comprise APEX.
    So moving on to the help text dialog issue. Firstly setting focus to the dialog. I am unable to reproduce focus not being set to the dialog in IE. I tab to the label, hit ENTER, dialog opens, then I can either hit ESC key, or TAB once to go to the 'x' close icon and hit ENTER, to close the dialog. I tested in IE9 and works as expected for me. Can you provide a test case on apex.oracle.com where I could try there?
    Regarding closing the dialog, this is a problem with the version of the underlying jQuery UI dialog widget, where focus is not set back to the calling element when the dialog closes. We failed to workaround this in the default behaviour, (I believe in the most recent release of jQuery UI they have added this now by default, which we hope to pick up in our next release). Until then, I can see 2 options:
    1) Although a little counter-intuitive, you could suggest for keyboard-only users to use 'Screen Reader Mode'. In this mode, the old style page popup loads with the help text. This is fine for keyboard-only users too and focus is still in the same place when the popup closes.
    2) Rework the popup JS to also handle setting focus back to right place on close. I can suggest the code for you, but I need to know your version first, before I can do that.
    Regards,
    Anthony.
    Edited by: Anthony Rayner on Jan 17, 2013 11:37 AM

  • What determines the order of label in a label stack?

    Suppose there is a PE router,take part in igp mpls,bgp ipv4 with label,vpnv4 and TE.Then when a packet pass the LSR from CE,the LSR will put several label on the packet.Then comes the question:How can the router determine the order of these labels when puting them on the packet.
    I think there's two possibal answers:
    first,it is define by some document,that's an arbitrary answer;
    second,it is relate to the packet process flow.
    I wonder what is the truth.I need some detailed explain or document.thanks!

    The idea behind the stack is derived by the need to have multiple forwarding tables for the under lying forwarding planes.
    1) What this means is each router as pointed by you can have multiple protocols which may be utilizing MPLS labels for data forwarding. MPLS TE will have labels of its own via RSVP to forward data on TE tunnels, VPNs will have VPN labels to forward VPN data across via MPBGP, Global routes would have labels allocated by LDP to forward data between LSR's.
    2) This essentially creates multiple forwarding tables. Now where and how does the label stack come into picture, this can be answered by answering a simple question.
    3) Where did the MPBGP get the label from for the VPN, from the IBGP nexthop, now is there any label to reach the next hop yes, there is via LDP, hence you get a label stack.
    So whenever you build a forwarding table for any plane through a existing LSP then you have a label stack.
    For eg: if you have a VPN label learnt via a LDP LSP which in turn is built via a MPLS TE LSP then you have a 3 label stack. (the lowermost being VPN since it was learnt through a next hop reachable via LDP label, which in turn was connected till the next hop via multiple TE tunnels.)
    On the converse if you have a MPLS TE tunnel running between the PE's end-to-end you need not run LDP at all and the label stack to forward data across would be consiting of a VPN label and a TE label only.
    HTH-Cheers,
    Swaroop

  • How can you set up a custom keyboard shortcut for Next Tab and Previous Tab?

    You can do this in Chrome because there is a top menu item for it, and OS X supports easily rebinding of keyboard shortcuts that are in the main menus.
    Is this possible in Firefox? Using a two handed shortcut to switch tabs is annoying when you want to keep one hand on the mouse!
    Thanks!

    Keyboard shortcuts
    * https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts
    -> Next Tab
    * Ctrl + Tab
    * Ctrl + Page Down
    -> Previous Tab
    * Ctrl + Shift + Tab
    * Ctrl + Page Up
    Check and tell if its working.

Maybe you are looking for

  • Need help to display geo-characteristics on a map in SAP BW report

    Hello all, Currently I am struggling to display plants on a map of Germany in a SAP BW report, using dynamic geo-characteristics in SAP BW. We do not have the ESRI software ArcView (my superior does not want to buy it), so I have to be successful wit

  • Xorg 1.5rc6 radeon high cpu usage

    Hi to all. I tried to install the new Xorg with radeon driver, because it doesn't work with catalyst/fglrx, but my system become really slow. Xorg uses a lot of cpu when I move a windows or just start an app. With XAA it's a little better than EXA, w

  • [JS][CS4]PDF Export With RegExp Doesn't Include First Zero-Please Help

    This is a script we put together with the help of Jongware, Shonkyin and Kaysan a while back... Here's the link to the original thread: http://forums.adobe.com/thread/481958?tstart=0 ( function() { if(app.documents.length != 0){ var myFolder = app.ac

  • How do I send someone a link so they can view my files?

    I don't understand this "free" storage.  I put some files on the cloud because I received a message about sharing file with others, but I don't see any way to do this, unless I upgrade to one of the plans.  Since I don't have a need for this often, I

  • HP Pavillion dv9810us, Windows Vista 32 bit, Will not start.

    AC connection is good. When I push the start button lights flash but nothing happens, computer will not start. Quick play and DVD cause the same effect.