Chronology of trigger has to play based on conditional

I'm working on a project in which I have four draggables, able to receive four and four default droppable in the composition.  Once these four individual draggables were abandoned on the beneficiaries of their point of view I want to trigger a symbol to play his chronology based on a conditional statement that checks that all four draggables were deleted correctly.

To do this, I pushed the four movable in a table after groups that they were interrupted and movable destroyed using the jquery ui library.  I know that the table is filled because I get the appropriate groups in the console and the length of the table.

I tried to make a loop for to analyze the table and feed than an if statement to verify that it has four points and trigger the chronology of symbol reading.  Only problem is that it doesn't.  Do you have advice on how to solve the problem of the code below?

correct=[];

//DRAGGABLE RIDE TO AIRPORT GROUP

sym.$('rideGroup').draggable({           containment:'parent',           scope: 'task3',           opacity:.9,            revert:'invalid',            zIndex:6 });

//Make the targetRide area droppable and accept the Ride to Airport Group

sym.$('targetRide').droppable({

      scope:'task3',

      drop: function(event, ui){

           accept: 'rideGroup'

           tolerance:'fit'

           draggable:'destroy'

           correct.push('rideGroup');

      }

});

sym.$('defaultRide').droppable({

      scope: 'task3',           drop: function(event,ui){

           accept: 'rideGroup'

           }

     });

for(var i=0; i <= correct.length; i++){

      if(i === 4 && correct.length === 4){

           sym.getSymbol('Animation').play('greatJob');

      }else{           sym.getSymbol('Animation').play('notRight');

   }

};

If I take the line code sym.getSymbol in the conditional statement and place it where the push instruction has, each of the draggables play the timeline after a fall.  We're not that good.  We have the timeline plays that once all four of the draggables were dropped.  I've included the code for one of the moveable and sets able to receive here for reasons of space only.

Thanks for any help you can provide.

K lies in case handler - so when the event occurs, k is incremented and when it equals the number of events (the draggables that are well placed) it does what you want it to do, in this case an animation. This could be used for something else if you wanted to.

The position can use left, high, mid, low, Center... I would not add pixels to it. It is best to get the placement in this way. If you have images that have limits of the strange, you could use transparent droppable on images. Hope it makes sense.

Tags: Edge Animate

Similar Questions

  • Video has stopped playing and has not saved after alert imessage

    During video recording on my iPad, I received an alert from iMessage.  The video has stopped playing and did not save what has been already registered.

    Is this a normal behavior or y at - it a setting I can change to block all alerts being recorded?

    Thanks in advance.

    Hi sabfa,

    If you do not want to be interrupted when you save the video on your iPad, try to activate do not disturb.

    Use of do not disturb on your iPhone, iPad or iPod touch

    Turn on or off the do not disturb

    When do not disturb is activated, a Crescent Moon , or half-moon, an icon will appear in the status bar. There are two ways to turn on or off the do not disturb:

    • Tap Settings > do not disturb. Choose the manual option to activate the do not disturb sign now or set a schedule.
    • Swipe up from the bottom of the screen to open the Control Center. Tap on the Crescent Moon.

    Change your settings

    You can also choose if you want to be disturbed:

    • Allow calls to: allow calls from anyone, person, your Favorites or stored on your device or your iCloud account specific contact groups.
    • The calls repeated: If someone calls you twice within three minutes, the call will not be silent.
    • Silence: select silencing calls and notifications always or only when the device is locked.

    Take care

  • Media Player 9.0 has stopped playing DVDs

    Windows XP Media Player 9 has stopped playing all commercial DVDs with message about multimedia digital protected.

    Restore the system back a month when it played DVD and by removing all updates Media Player does not help, same message.

    Tips on how to restore playback of DVD?

    Thank you

    aquaries

    The WMP for DVD is correct. You need a DVD encoder (software)

    This gives you digital rights to read the DVD. ATI video cards has a free, NVIDIA

    fees for it, or go online for others...

  • Hello everyone my CD Rom has stopped playing DVDs but plays the audio CD and CD-ROM. I tried to uninstall it without result. The box pop up for media player does not appear when I insert any kind of CD.

    Hello everyone my CD Rom has stopped playing DVDs but plays the audio CD and CD-ROM. I tried to uninstall it without result. The box pop up for media player does not appear when I insert any kind of CD.

    Hello
    Try this:
    http://support.Microsoft.com/kb/306318
    b Eddie

  • Windows Media Player has stopped playing and ripping of CD

    My Windows Media Player 11 has stopped playing and ripping of CD. I insert the CD, you are prompted to rip, but sometimes even before the CD auto-éjecte without playing or tear. XP OPERATING SYSTEM. Do you want?

    The following links may be worth a visit:

    (982116) your CD or DVD drive is missing
    or is not recognized by Windows or other programs
    http://support.Microsoft.com/kb/982116
    (Windows XP / Windows Vista / Windows 7)

    Your CD or DVD drive cannot read or write media
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    It is possible that your optical drive needs some maintenance or replacement.

  • my media center of windows has stopped playing tv and movies online need help fixing it

    my media center of windows has stopped playing any content online a month ago, I have to reach the point of signing in my sky ID and can press the play button but on all the videos I continues to redirect to "navigation to the webpage was canceled" by giving these potential problems :

    not connected to the internet, the Web page is encountering problems and typing error,

    my excellent internet connection and that it is a hyperlink to the login page, it cannot be a typo on my side. and to my knowledge, there has been no update for my computer that would change how the program works, if anyone can help get this sort would be great

    Type system in the start - menu, help and Support, restore and then see if you can restore
    up before it happens.
     
    --
    ..
    --
    "lauracrew" wrote in message news: fe37f7c7-62bb-469f-ab51-54eea01f2f32...
    > my media center of windows has stopped playing any content online about a month
    > there is, I can get to the point of signing in my sky ID and can press on the
    > play but button on each video I keep to redirect to "navigation to.
    ' > the webpage was canceled "by giving these potential problems:
    >
    > not connected to the internet, the Web page is encountering problems and typing
    > error,.
    >
    > my internet connection as it is a hyperlink to the signal and excellent in
    > page cannot be a typo on my side. and to my knowledge there is no
    > was no update for my computer that would upset the functioning of the
    > program if anyone can help get this sort would be great
    >
    >
    >
    >
    >
     
     
  • Crackle M4800 Audio when the sound is played (if no sound has been played for a while)

    I have a new DELL Precision M4800 running Windows 7.

    There is a distinct noise pop crackle that occurs when the sound is played (if no sound has been played for a while.)

    If the laptop is audio playback currently it looks good, but if the laptop is quiet for a while and then something like an e-mail notification is available, crack/pop noise happens as the driver/speaker is trying to wake up.

    The problem occurs with the laptop connected and detached.

    -Edit

    The solution for me was provided by pknb below.

    Reference Dell Open Audio in the control panel. Go to advanced, energy management. Disable the option to disable audio devices.

    I do not have the Audio from Dell driver installed - and it seems that maybe the default setting is that the speakers put in 'sleep' in the context of a power saving mode. Looking at my description above I even referenced at the time of the issue seemed to be that the speaker was not long in 'waking '. In any case after you change this setting the problem now seems to be resolved.

    Reference Dell Open Audio in the control panel. Go to advanced, energy management. Disable the option to disable audio devices.

  • Windows Media Player has stopped playing sound of. AVI files

    Title: Windows Media Player has stopped playing some with audio files

    I am running Window 7 Home Premium with Windows Media Player 12. Recently, Media Player has been playing some of my files .avi with any audio. However, it is used to play these same files very well before. The files also work on Windows Media Center, but I prefer to just use WMP. Why did happen and how can I solve this problem?

    Hello

    I suggest you run the Microsoft FIXIT from the link below and if the problem persists.
    Method 1: Solve the video issues in Windows Media Player and other media or library
    http://support.Microsoft.com/mats/windows_media_player_diagnostic/
    Method 2: Uninstall and reinstall Windows Media Player
    Step 1:
    Uninstalling Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. search for multimedia and uncheck the brand in the face of Windows Media Player.
    4 restart the computer.
    Step 2:
    Reinstall Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. find the multimedia functions and place a check mark in front of the Windows Media Player.
    4 restart the computer.
    Hope this information helps.
  • Based where conditional clause...

    dear team,
    i have following code..
    
    Declare
      gv_flag1 Varchar2(1)   := 'N';
      gv_flag2 Varchar2(1)   := 'N';
      gv_flag3 Varchar2(1)   := 'N';
      all_where1       Varchar2(250);
      all_where2       Varchar2(250);
      ALL_where3       Varchar2(250);
      V_QTY           Number;
    Begin
      If gv_flag1 = 'N' Then
         all_where1 := 'AND '||'V.OWNER = ''PROD''';
      End If;
      DBMS_OUTPUT.PUT_LINE(all_where1);
      
      If gv_flag2 = 'N' Then 
         all_where2 := 'AND '||'V.OPERATION NOT LIKE (''10%'')';
      End If;   
      DBMS_OUTPUT.PUT_LINE(all_where2);
      
      If gv_flag3 = 'N' Then
         all_where3 := 'AND '||'V.OPERATION NOT LIKE (''07%'')';
      End If;
      DBMS_OUTPUT.PUT_LINE(all_where3); 
       
      --select based on conditions..
    End; 
    
    NOW I want where conditions in select statment to be conditional...
    
    which means if flag1='N' and flag2 = 'N' then use both all_where1 and all_where2 in *where* clause statement...
    if flag1='N' and flag3 = 'N' then then use all_where1 and all_where 3 in *where* clause of select statement...
    if all there flag = 'N' then use all_where conditions in *where* clause of select statement...
    
    i have 3 flags, which means total of 9 combinations,  is there any simpler way to do such kind of thing??
    
    please assist me
    
    nic

    Nicloei W wrote:
    Hi Jeenesh,

    What happens if Flag2 = 'Y' and Indicateur3 = 'Y' in this case, I want only the condition with Flag1

    concerning
    NIC

    SQL> ed
    Wrote file afiedt.buf
    
      1  Declare
      2    gv_flag1 Varchar2(1)   := 'N';
      3    gv_flag2 Varchar2(1)   := 'Y';
      4    gv_flag3 Varchar2(1)   := 'Y';
      5    --all_where1       Varchar2(250);
      6    --all_where2       Varchar2(250);
      7    --ALL_where3       Varchar2(250);
      8    lc_query varchar2(1000):= 'select count(*) from test v ';
      9    lc_where varchar2(500) := ' where 1 = 1 ';
     10    V_QTY           Number;
     11  Begin
     12    If gv_flag1 = 'N' Then
     13       lc_where := lc_where||' AND V.OWNER = ''TEST''';
     14    End If;
     15    If gv_flag2 = 'N' Then
     16       lc_where := lc_where||' AND V.OPERATION NOT LIKE ''10%''';
     17    End If;
     18    If gv_flag3 = 'N' Then
     19       lc_where := lc_where||' AND V.OPERATION NOT LIKE ''07%''';
     20    End If;
     21    lc_query := lc_query||lc_where;
     22    dbms_output.put_line(lc_query);
     23    dbms_output.put_line('-----------');
     24    execute immediate lc_query into v_qty;
     25    dbms_output.put_line('Count: '||v_qty);
     26* End;
    SQL> /
    select count(*) from test v  where 1 = 1  AND V.OWNER = 'TEST'
    -----------
    Count: 3
    
    PL/SQL procedure successfully completed.
    
  • Adobe Captivate Advanced - 8 Actions trigger an event after that audio connected to a button has finished playing

    Hi all.  I use Adobe Captivate 8 on Windows.  I have a slide that has 2 buttons.  The buttons are placed in advanced actions, when you click on it to play an audio file and display the text, and then set the variable key 1, clicked.  The button are similar functions and can be clicked in any order.  When you click on the two buttons, I need to read an audio of conclusion.

    My problem is that once the second button is clicked, select what action starts immediately, as the two buttons were clicked and the condition is now filled.  I need to finish reading the audio second-clicked the button before she turns to the next action, and no matter what I try it doesn't work!  Major frustration!  If you need me to post any screen shots, please let me know.  Thanks in advance,

    Mike

    You must use conditional Actions, not simple actions.  With a Standard action or conditional button does not automatically frees the timeline AFTER it has been clicked.

    You must also configure the tracking variables so that your conditional Action will be able to determine whether or not the two buttons were clicked and that's why the audio file should be placed accordingly.

    Take a look at this tutorial on creating dynamic menu slides:

    Create a dynamic Menu slide in Adobe Captivate. Infosemantics Pty Ltd

    The basics are really quite the same.

  • store work has stopped playing

    My store play has stoped working

    Happened to me every time that I update.

    Go to settings/applications and find game Google store

    Click on that.

    Click on uninstall updates

    Restart Tablet and Google play updates and should start working again.

  • PowerDVD has stopped playing blu - ray after Windows update

    I have a problem with powerDVD 7.3 m he ceased to play blu - ray discs on media center PC - seems to have stopped after the last windows automatic updating and reloading powerDVD has not helped.  Y at - it a patch or another way to play with media center blu - ray?

    Hello

    -What Windows Update caused the problem?

    I recommend to start your computer in safe mode and System Restore to the date that your computer was working fine and then install the updates manually by failing to install problem causing the update.

  • CD has stopped playing media

    my internal CD has stopped working. The computerized test says it's working properly, but it's not. When I place a CD ROM or audio cd and close the tray sometimes it will spit on the cd, sometimes she closes and the light flashes several times and then nothing. When I go into my computer and click on the cd-rom drive, it says insert the disc, when I do the hourglass icon rises, but nothing happens. I bought a disc plu usb n play multi and the computer recognizes it, but as with the drive internal it too does not play media. Any help to solve this problem will be greatly appreciated.

    I am running:

    Windows xp home edition

    version 2002

    service pack 3

    Hi j13h,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    3. you have any third-party DVD burning software installed on the computer?

    See the Microsoft article below and run them the fixit tool available, check if it helps.

    If the fixit tool does not solve the problem, then you will need to try the mentioned manual steps and check if it helps.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/982116

     

    Also check the State of the CD player internal on the computer using Device Manager and the poster with the details.

    How to manage devices in Windows XP

    http://support.Microsoft.com/kb/283658

  • Windows Media Player 11 has stopped playing some of my MP3s. Any ideas on how to solve this?

    I have a desktop Dell Dimension running XP. I uninstalled Real Player and Rhapsody, just in case they were causing problems, but that did not work.

    Here is what I noticed:

    WMP plays still files were extracted a CD, the songs that were purchased from Amazon, but not:

    -The MP3s that have been purchased by third parties (for example, recordings of teleseminar I bought

    -Downloaded free MP3s (once again the teleseminar recordings)

    -WMA files that I downloaded (records of my seminars)

    All this has played before. I can't put my finger when he started, although I think that things started to get weird when I downloaded itunes months ago, but I don't remember this particular problem from this time.

    I searched the Web for similar positions, but found none.

    So... any suggestions would be most appreciated.

    Thank you very much
    David

    Hello OutbackDAL,

    Thank you for your message.  There is an option in iTunes to convert all the songs to the .aac format.  This might be the reason why you are not able to play in Media Player, because this format is not supported in Media Player 11.  Right click on one of the songs that can not play and check the format of the song.  If the song is the .aac format, you will need to convert it to another compatible format or .mp3.  If the song is already in a readable format, you can watch download or install a new Codec.  Sometimes, they have several players (that is to say real, Rhapsody, iTunes, etc.) can damage your Codec.  You can get the Windows Media Player Codec from the link below.
    Please let us know if it did or did not help to solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • HDMI has stopped playing sound using Vista

    I have been using a HDMI cable to play Netflix on my TV via a laptop computer for a couple of years.  Suddenly, yesterday, I hooked it up and plays the video but not sound.  The sound comes through the speakers.  I went on several forums looking for answers to the problem "hdmi will not play sound" and none of the solutions work.

    For example, I did this: click Start, go to control panel, go in where it says hardware and audio and click the words 'Hardware and Sound', then the third option down, is "Sound". On the right under 'Sound', he says 'manage Audio devices '. Click on that and then click on where it says "device (HDMI) digital output" when that highlights, go down and click on "Set as default", then click on 'OK '.
    I do not see the DEVICE of DIGITAL (HDMI) OUTPUT in the box "manage audio devices" and it can be a problem, but what is confusing to me, is that I used to be able to play sounds without any problem, and now I can't.
    Something has changed, but I don't know what.  Microsoft has made an update that now interferes with the sound hdmi?

    Hello

    Make sure that the physical connections are properly connected. You can do the system restore, see if it works very well.

    What is system restore?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

Maybe you are looking for

  • WAN card on 1800-712

    I just installed service pack 2 and now my wan card will work only if I restart my computer, not a startup from sleep mode. I get a black mark in a yellow circle next to Manager wan indevice card and the usb port is disabled.well work until sp2 has b

  • Connect with Apple

    I want to contact the company apple of Pentecost, but my country had no apple store What to do! ??? Apple have mail address? please me hellp

  • The M-series multiplexer sequencer allows to sequence external multiplexers?

    Hello community OR. I have been using a set of IA-32 M-series cards to scan the independent streams of data to the 32 kech. / s.  The source of the signal is a series of very low voltage signals current 256 (action potentials in the brain of a rat in

  • HP G62 229NR help

    Whenever I turn my laptop on, the screen ask password administrator or power on password. I bought this laptop then handed and I don't know what I'm supposed to do could you please help.

  • HP Pavilion dv5-1050en

    I have a HP Pavilion dv5-1050en, the problem is that this does not work, when I press the power button lights up for 1 second and turn off the lights. I was told to distribution costs 300 euros! It's too much, I'd fix sal, can someone help me with an