Play Symbol To A Label From Wherever It Currently Is

Perhaps I do not understand this right
How do I get a symbol to play from wherever it currently is to a label?
Could be forwards or backwards
This works fine - Play the symbol to the end
sym.getSymbol("digit_02").play();
And this works fine - Play the symbol starting @ 700 ms to the end
sym.getSymbol("digit_02").play(700);
If I try this, it does nothing
I thought it should play and then stop at that label
sym.getSymbol("digit_02").stop("labelNameHere");
Thanks
Mathias

Hi Mathias,
Here is a possible logic for a "playTo()" feature :
Stage.creationComplete
sym.setVariable("currentLabel", "1");
Labels "1", "2", "3", "4" and "5" at 0, 500, 1000, 1500 and 2000 ms
in the timeline of symbol "numbers".
numbers.trigger@1000 ms
if (sym.getParentSymbol().getVariable("currentLabel")=="3")
  sym.stop();
There are five buttons symbols (instance names "btn1-1", "btn2-1", "btn3-1", "btn4-1", "btn5-1")
controling the sliding numbers symbol (instance name "numbers-1").
btn3-1.click
sym.getComposition().getStage().setVariable("currentLabel", "3");
var symbNumb = sym.getSymbol("numbers-1");
var position = symbNumb.getPosition();
if ( position < 0 || position < 1000) // position == -1 before the first click
  symbNumb.play();
} else {
  symbNumb.playReverse();
The other buttons have similar code (special case for the first and the last one).
Here is a working example : https://www.box.com/s/p5is3s2wzwl1xh6c61va
Gil

Similar Messages

  • On my ipnone 3gs the ipod play symbols appear on screen in locked mode???

    when my ipnone 3gs is in lock mode, sometimes the play symbol from the ipod apperas on top half of the screen? anyone know why is it doing this? please help

    Double-tapping the "Home" button at the bottom of the iPhone when in locked mode displays/hides the play/pause etc symbols, so that you can control your music without having to unlock your phone

  • I want to print file labels but the avery ap doesn't support their own file labels.  Any other way to print file labels from ipad?

    I want to print file labels but the avery ap doesn't support file labels, is there ant way to print file label from an ipad?

    You cannot save to Dropbox from Pages natively, but there is a workaround that allows you to use the Copy to WebDAV to get things to Dropbox:
    http://techinch.com/2011/02/02/integrate-dropbox-with-pages-keynote-and-numbers- on-ipad/
    As to the "Send to iTunes" command "not playing ball", if you'll post specifics, perhaps someone can help you sort that out. It should be pretty straightforward.
    Regards.

  • HT201335 While air play setting I am getting air play symbol but not getting mirroring option

    While try for AirPlay setting I am getting air play symbol but not getting mirroring option

    Please explain more, such as what device you are trying to mirror from.

  • How can I remove LABELS from my gmail account?

    How can I remove unwanted LABELS from the side bar unsung gmail?

    I assume you're using GMail as your primary e-mail account?  Try this.  This is how I am setup.  Not only will it move all your contacts to your phone but any changes made in GMail or on the iPhone will be sync'd with the server.
    http://www.google.com/support/mobile/bin/answer.py?answer=138740
    Note... I think this will delete your existing contacts from your device.  You will want to use iTunes to back them up and get them imported into GMail before you sync your device wtih GMail.

  • I just updated my Ipad 2 last night with iOS 7.04 now I can't print shipping labels from Paypal. I downloaded a different browser, Dolphin, per Paypal's suggestion. Still can not print. It says it has lost connection with the server.help!.

    Hello! I updated my Ipad now I can not print USPS labels from Paypal. I used my boss' Ipad not updated and worked fine. I am dependent on my Ipad to print these labels for me. I can print anything else I want, like email or packing slips. Any thoughts? I would go back to the previous version if anyone knows how to do that.

    Hello Sapo11,
    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
    Thanks for your time.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • How can I print address labels from numbers spread sheet

    How can I print address labels from numbers spread sheet

    CAB,
    The 5163 template has the following dimensional specs:
    Dimensions & Info
    Length: 4.00000"          Height: 2.00000"
    Top Margin: 0.50000"          Bottom Margin: 0.50000"
    Left Margin: 0.18000"          Right Margin: 0.18000"
    Hor. Spacing (gutter): 0.14000"          Vert. Spacing (gutter): 0.00000"
    Intended Use: Mailing Labels, Shipping Labels, Address Labels
    There's a great vendor site with this data readily available, better than the Avery site in my opinion. But, you can get the same info in the Contacts Print dialog pane.
    You can grab a template matching these dimensions from that vendor site, Copy the table after opening the Word Template in Pages and drop the into a blank Numbers Sheet.
    I found that Sheet side margins of 0.15" worked better than 0.18. For some reason the table wanted to flow to the next page to the right with 0.18". Turning off the Headers and Footers and setting Top and Bottom Margins to 0.5" worked well. These adjustments are made in the Sheets Inspector.
    So, that will put the template you specified into a Numbers document and you can print labels properly aligned from there. Since your problem statement is a bit lacking in detail, that's all I can offer you at this point.
    Jerry

  • Hello, i purchased the movie Changeling and its shows in Itunes library but will not transfer to my Ipod. It has the Icloud icon showing in the top right hand corner and if i click on play it starts to download from Icloud again and it does this each time

    hello i purchased a movie recently and it shows in my Itunes library but will not transfer to my ipod. It has the Icloud icon in the top right hand corner of the cover and if i click on play it starts to download from Icloud again and it does this each time i wish to play it, the same now happens to all my purcased movies which of course uses additional ISP download allowance. Before the recent update and lay out of Itunes this didn't happen i just purchased a movie and downloaded it then synced it to my ipod and enjoyed it. But now this latest movie purchase will not download to my ipod. I have sent the problem to Itumes and if  there is answer i havent received it. Appreciate any advice
    regards john

    Hello hotsone,
    You may need to download a lower resolution version of the movie in order for it to sync to your iPod.
    iTunes: Sync purchased HD videos to iPod or iOS device
    http://support.apple.com/kb/TS4223
    Cheers,
    Allen

  • How do I stop Firefox from playing video after I navigate from the page or leave Firefox?

    Simple and annoying. . Extremely frustrating issue with Firefox for Android. ..
    I watch a YouTube video or any flash video. . And after I hit play, the ONLY way to stop it is to hit pause or let it play to the end or close the tab. .
    It will NOT automatically stop if I open another tab. or if I navigate from Firefox. .
    I feel this is a very basic feature. Did I set something up that was wrong?
    Can I ask two questions?
    I have another extremely annoying and frustrating problem with Firefox for Android.
    The "top" (if you pull down the tabs) search bar DOES NOT allow my stock Samsung keyboard to auto space. . Thus instead of typing
    "How do I stop Firefox from playing video after I navigate from the page or leave Firefox?"
    I'll type in
    "HowdoIstopFirefoxfromplayingvideoafterInavigatefromthepageorleaveFirefox?"
    Unless I manually got the space bar.
    Using a recently factory data reset Samsung Galaxy s4 active.. android 4.2.2 and stock Samsung keyboard ... Firefox 34.0.1
    Thanks in advanced.
    Ps
    I was a hardcore xscope user for years and just recently gave in to Firefox when i lost all my bookmarks due to a forced factory data reset. .

    I'm using a different keyboard which works fine in the most top search bar...
    I cannot believe that it's not a feature.
    What if I was watching a video and wanted to shut it off quickly? I'll have to hit back? Wait for the previous screen to load then hit the power button?
    Please tell me that feature ids soon to come

  • How can i play iTunes on apple tv from my mac?  i used to have an icon that synced the two but i can't find that icon anymore

    how can i play iTunes on apple tv from my mac?  i used to have an icon that synced the two but i can't find that icon anymore

    If you are using the 2nd or 3rd gen Apple TV (little black box) then it would have no syncing or storage capability.
    iTunes content would be accessed using home sharing.
    Setting up Home Sharing for Apple TV (2nd generation and 3rd generation) - Apple Support
    If you are referring to the 1st gen (bigger aluminum box with hard drive)
    iTunes 11 for Mac: Play items in your iTunes library using Apple TV (1st generation)

  • TS5148 When I try to play a movie on Netflix from my IPad, I get a pop up saying: Cannot play video. "The connected display is not supported".

    When I try to play a movie on Netflix from my IPad, I get a pop up saying: Cannot play video. "The connected display is not supported".  I have updated my Apple TV, tried restarting it, and have tried using my IPod Touch all without any luck. This display has worked in the past. This just happen a couple days ago.
    Any ideas out there?

    I have been successfully using my Apple TV with my iPad2 to access Netflix through airplay (mirroring) and suddenly it won't work.  It says "the connected display is not supported"  What's up?
    Also when I try to stream Netflix through my Apple TV menu on my television it says "An error occurred loading this content.  Try again later.  But trying again later doesn't work any better.
    Now the only way I can watch Netflix is using my small iPad screen.  It appears the problem is with streaming Netflix through my Apple TV

  • When printing mailing labels from Contacts how do I change the label size?

    I want to print mutliple labels from a group in Contacts. I can print 20 labels per page but I want to print 14. I have tried every option in the pop up window but nothing lets me change the label size, 

    Hi 786menzies,
    Welcome to the HP Support forums.  I understand that your print jobs from Photosmart 5520 seems very small.
    The font size is controlled by the software program that the document was created in, for example any Microsoft Word document that you send to the printer the font size would have been chosen in Microsoft Word.  I've included two different documents on how to change the print settings; one for Mac and one for Windows 8.  These documents will show you the process on changing print settings if not the actual steps as you may not be using one of the operating systems mentioned.
    Changing Print Settings in Mac OS X
    Changing Print Settings in Windows 8
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • I am getting the following error during the play of a rented movie from my MacBook that i am trying to watch on AppleTV Could not play the rental "A Thousand Words" because it is authorized to play on another computer or device." any ideas?

    I am getting the following error during the play of a rented movie from my MacBook that i am trying to watch on AppleTV Could not play the rental “A Thousand Words” because it is authorized to play on another computer or device." any ideas?

    Rentals can only play on one device/computer at a time.  Have you tried to play on the computer and still have that window open?
    Have you transferred the rental to iPod/iPhone or iPad to watch?
    If it won't play anywhere contact iTunes support at:
    expresslane.apple.com
    AC

  • My iTunes will no longer play videos/music videos (bought from the iTunes store) since the last update? (Win7 64bit)

    My iTunes will no longer play videos/music videos (bought from the iTunes store) since the last update? (Win7 64bit)

    Guys I have the same problem.
    Since I installed iTunes 10.5 I can't play any of my music videos downloaded from the iTunes store.
    I can play music ok but no videos. I just click on the videos and nothing happens!!
    Help..... is there a remedy???

  • Print HU label from Outbound delivery using output determination

    Hi,
      We have a business requirement to print HU labels from outbound delivery. The steps followed are
    1) User executes VL02N
    2) User clicks on packing
    3) Material is entered to pack. HU is automatically generated.
    4) After saving the delivery, output message is triggered.
    Output determination is as follows
    1) An Z output type is created.
    2) Form entry and smartform name is assigned to this output type
    Issue:
    The issue is when the output message is triggered and the code in the form entry is executed, the handling unit (from nast) is not yet committed in the database. Since it is not updated in the database table, we cannot get any handling unit data to be printed.
    Any inputs on how to print HU labels using output determination from outbound delivery is appreciated.
    Thanks,
    Sandeep

    Hi Surya,
         Thanks for the reply. But, my question was how to print labels from VL02N when i pack a material on this delivery.
    Regards,
    Sandeep

Maybe you are looking for

  • GR non valuated check box in PO

    Dear All, Our client has created a PO for Asset (Acct Assignment A) and Multiple acct assignment given in item detail. After making GRN found that Accounting entry is not there. When checked in PO GR-non valuated check box is checked. After cancellin

  • PR to PO Error

    Hi ALL , I am creating a Sales order for Configurable material with Item Category TAS , it is creating PR but when  trying to create PO , it is giving error as Requisition xxxx ,item 00010 assigned to other order account Not possible to determine any

  • Using DBMS_CRYPTO package in reports

    hi all, i want to encrypt & decrypt user parameter in report. to encrypt i use; l_encrypted_raw := dbms_crypto.encrypt(src => my_parameter, typ => dbms_crypto.des_cbc_pkcs5, key => l_key); to decrypt; l_decrypted_raw := dbms_crypto.decrypt(src => l_e

  • HT4623 How to update my iphone 3

    can u please tell me how to see what my operating system is and how to update my phone please

  • Traffic Generator with Statistical Capability

    I am looking for a traffic generator that I can use to simulate Video traffic (Qos, Packet Size, Continuous Streaming, etc.) across the network. IP SLA UDP jitter is close but it is not a continuous stream and from viewing the documentation I'm not s