How can I play an animation in reverse only if the symbol that contains the animation is visible? if the symbol is not visible have the trigger no longer target that symbol?

Hi
I have a button the does two functions at the same time. it plays a symbol's animation in reverse (in order to hide it) and it slides an element. the symbols animation is triggered by another button (which is not relevant) . So my problem is that if the animation has been triggered first than when the button is pushed the animation plays in reverse, the symbol hides and everything is fine, but if a push the button before that the animation will flash in reverse. SO how can I tell it to only play in reverse when the symbol's animation has run. I know it's an if / else statement but i have no idea how to do it.
thx

Here is a case close to your issue:
if ( sym.getSymbol("Symbol1").$("Text").is(":visible") ) { sym.getSymbol("Symbol1").playReverse(); }
else { sym.getSymbol("Symbol1").play(); }
Demo files ==> isVisible.zip - Box

Similar Messages

  • Living in Europe how can I use a gift card valid only on the U.S. iTunes Store

    Living in Europe how can I use a gift card valid only on the U.S. iTunes Store?

    Sorry...   iTunes Gift Cards are only Valid in Country of Issue.

  • HT201272 how can i play games on my computer bought at the apple store

    I have lots of apps from the apple store. Can I play use them on my computer?

    If the apps are OS X apps then they can be be played on your MAC. If they are iPhone/iPad apps then they can NOT be played on your MAC.  neither can be played on a windows PC.

  • How can I access user defined column(in query) inside the trigger?

    Hi
    I have 3 unions and each query displays different records on some criteria. I also have a column hard-coded
    Ex:
    select a.col1, a.col2,
    add as update
    from table1 a
    where ...
    union
    select a.col1, a.col2,
    change as update
    from table1 a
    where ...
    union
    select a.col1, a.col2,
    del as update
    from table1 a
    where ...
    And I need to display a column in the report only if update is Add. I was thinking of writing a format trigger for that field. But I do not know how can I access this user defined column named update in the trigger?
    Any help?

    Try ":update" minus the double-quotes. Ex:
        IF :update = 'add' THEN
          RETURN(TRUE);
        ELSE
          RETURN FALSE;
        END IF;
    You'll want to place your hard-coded values in single-quotes. Ex:
        select a.col1, a.col2,
        'add' as update
    - Brian

  • How can I play multiple animations at once?

    I'm trying to create a map using Illustrator for my graphics and Edge Animate for my animations.  I want to have a hover effect where the state pops up and adds a shadow but will lay flat when you remove your mouse from that state.  The problem that I can't seem to get around is the fact that when the mouse moves from one state to hover over another, that animation will automatically start playing and the mouse out on the first state will not play.  I have the same problem with mousing out on a menu when you hover over another item.
    Can anybody help with this?

    I have a mouseover that I will use to bounce the state out and add a shadow to make it look like you just pulled it from the map.  Then, I will have a mouseout event to reverse the mouse over event and drop it back into location.  The problem that I'm speaking of will be when you go from one state to the next and it will stop the mouseout event to play the mouseover event of the next state.
    Does this make sense?
    Remember, I have not done this for this specific file.  I did this on a menu that I created to try to get an animated drop down menu through Edge.

  • How can I play all songs from an artist in the ipad 2, with the new IOS 5?

    in the music app (which was named ipod before the update for the IOS 5) I want to play all songs for a certain artist that have different albums, but I dont know how.
    hope someone can help me

    Actually, JinKL, doing a search from "Songs" is harder to do and does not give the exact same result. It's harder to do because I have to key an artist's name rather than pick one from a list. The results aren't the same for several reasons. If you key an artist name that matches a song, you get that song, too. OK, that doesn't happen THAT much, but it does happen. And if I key a partial name, say "Morrison" for "Van Morrison", I get all the songs on "Morrison Hotel" by the Doors.
    "All Songs" should be added to the iPad music player. While they're at it, they should add column titles and allow allow sorting on the column values.

  • How can I play all songs from a genre  in the new iOS 7

    I used to select a genre in my music and played all songs randomly, now when I open a genre I can only play an album, not all the songs from a genre

    Actually, JinKL, doing a search from "Songs" is harder to do and does not give the exact same result. It's harder to do because I have to key an artist's name rather than pick one from a list. The results aren't the same for several reasons. If you key an artist name that matches a song, you get that song, too. OK, that doesn't happen THAT much, but it does happen. And if I key a partial name, say "Morrison" for "Van Morrison", I get all the songs on "Morrison Hotel" by the Doors.
    "All Songs" should be added to the iPad music player. While they're at it, they should add column titles and allow allow sorting on the column values.

  • How can we just update few selected document only in the icloud

    Hi can anyone tell me how to upload only selected documents through iCloud

    What "document" is it? For most apps, if not all, you just flip the switch to "off". It will say that it will delete it form backup, but don't worry, it will delete it from iCloud not your device, unless it is contacts or calendar etc.
    So what is the app called that contains your document?
    ~Lt. Leviathan

  • HT1222 I cannot delete my unwanted apps. How can i do this ? I've tried hold the icon for long until it wobbles but there's no x sign. Please help.

    I want to delete my unwanted apps. Help

    Be sure there are no Restriction. Go to Settings//General/ restrictions
    if there are no restrictions on Apps then got to Settings/General/Usage and under Storage select Manage storage scroll down and find the App in question, seleft the app then hit Delete.

  • No AUX plug in car, how can I play music from BB curve to car?

    I have no AUX  to plug in my phone to the stereo. How can I play music from my BB curve to the stereo??

    Love my VM 605s, I have 2 of them for the cars.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How can i play with Network packets in java

    Hi all
    How can i play with packets, traverse them and get the desired information from packets in java...is it possible in java? if its possible then how? and if its not possible then is their any other way out to get them traversed or to play with them in java? if its not possilbe in java then wht else i can do about it?any help would be highly appreciated..Take care All
    Warm regards
    waqas

    Here are 2 diff java libraries (with the same name):
    http://jpcap.sourceforge.net/
    http://netresearch.ics.uci.edu/kfujii/jpcap/doc/
    Not surprisingly, they both need the libpcap libray installed.

  • How can I play .avi movies on my mac?

    How can I play .avi movies on my mac?
    Quicktime pro doesn't do it.
    If there's some kind of patch or something, please give me the url/link!
    Thanks!

    How can I play .avi movies on my mac?With difficulty.
    Quicktime pro doesn't do it.Generally speaking, no -- not without third-party components.
    If there's some kind of patch or something, please give me the url/link!Try Perian (free). It contains a collection of popular PC codecs which may or may not support the specific files you want. If not, you have to determine what particular codec is required, find out if it is available, and then download/install it. (Not all AVI audio/video file formats have been ported for Mac use.) Even then, if it is a proprietary codec and you want to be able to convert to/from that format, you may have to purchase/register the component.

  • How can i play pc dvd on mac

    How can i play pc dvd on mac pro. Latest update

    If it contains Windows software, you need to use Windows, CrossOver Mac, or Wine. If not, it depends on the file types it contains.
    (112033)

  • I have a gmail account and someone sent me a video. How can I play the video message on my ipad?

    I'm new to ipad. I received a video message in gmail. How can I play it on my ipad?

    Leslie-
    The iPad can not play some video formats such as WMV or FLV.  Those would need to be converted on your computer to something the iPad can play, like M4V or MP4.
    You might ask the person who sent the message to you to do the conversion and send it again.
    Fred

  • How can I play Reverse between label A and label B

    hi again~
    I have a symbol,some timaline and labels in it.
    so now I want to play reverse between the Label A and Lable B
    but the action syntax is like
    test1_play.playReverse();
    so how can I play reverse rom LableB to LableA?
    I found this information, I am fresh in edge animate, so I can't figure out the issue.
    anybody help?
    sym.playReverse ( position, executeTriggers )
    position defaults to the current playhead position (which defaults to 0); If play is issued and the playhead is at the end of the timeline, play from the end.
    executeTriggers can be true, false, or null and indicates whether triggers at the starting position are fired:
    true - all triggers at the starting position are fired.
    false - no triggers are fired at the start point.
    null, undefined or omitted - triggers are fired at the starting position only if the timeline is being played for the first time, or if the starting position is different than the current playhead position as returned by getPosition().
    Description: Play the default timeline in reverse from the given position given in milliseconds (if position is a number) or as a label (if position is a string).

    Hi again
    See that thread (you'll find a downloadable example) : http://forums.adobe.com/message/5347434#5347434
    Gil

Maybe you are looking for