Return to statements for the Adobe Edge

Hello

I solved this part of the animation that allows 1 single movable element in an area capable of receiving at any time. Apply it to all movable items now. However, I feel a kind of problem right now.

I can drag elements around. but now, I can only drop an element in both integers droppable. The rest of the elements to be will return to its original position without even first fall.

I also put a reset button on the stage, but I don't know why it will not appear even if I tried to change its position on the column 'Elements '.

This is my file so far, a link: https://www.box.com/s/5a0dsq29upy2wtatxmyb

This is a snippet of my code that can work for the 1st element draggable.

() yepnope

{

Nope:]

"js/jquery-ui-1.9.2.custom.min.js,"

"js/jquery.ui.touch-punch.min.js,"

'css/jquery-ui-1.9.2.custom.min.css '.

],

full: init

}

);

function init() {}

var point = sym.$("Stage");

var animalArray = new Array();

DRAGGABLE. case1, _2

_2 var = sym.$("_2");

_2.CSS ("position", "absolute");

_2.draggable ({disabled: false});

_2.draggable ({containment: Stadium});

_2.Draggable({)

Snap: ".target1."

snapMode: 'Center ',.

BACK PART 1

back: "not valid."

stop: function() {}

$(this) .draggable ('option', 'return', 'disabled');

}

});

animalArray.push (_2);

DROPPABLE

position 1 var = sym.$("position1");

position 1. CSS ('position', 'absolute');

position1.droppable({)

BACK PART 2

greedy: true,

accept: ".allcases."

Drop: function (event, ui) {}

Console.log (IU ['draggable']. EQ (0) .attr ('id'));

BACK PART 3

If ($('.filled').length < 1) {}

var draggedElement = ["draggable"] .eq ui (0).attr('id').replace ("Stage_", "")

Console.log (draggedElement)

for loop

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

var element = animalArray [i].attr('id').replace ("Stage_", "")

if(draggedElement == Element) {}

animals change width and height on down here

animalArray [i] .css ('width', '75px');

animalArray [i] .css ('height', '75px');

RETURN TO PART 4

$(this) .append ("< div class =" filled"> < / div > ')

}

}

} else {}

UI. Draggable.Draggable ('option', 'return', true);

}

}

});

//---------------------------------------------------------------------------------------- ----------------

and here are the codes that do not work

DRAGGABLE. CAS2, _5, position2

_5 var = sym.$("_5");

_5.CSS ("position", "absolute");

_5.draggable ({disabled: false});

_5.draggable ({containment: Stadium});

_5.Draggable({)

Snap: ".target2."

snapMode: 'Center ',.

BACK PART 1

back: "not valid."

stop: function() {}

$(this) .draggable ('option', 'return', 'disabled');

}

});

animalArray.push (_5);

DROPPABLE

position2 var = sym.$("position2");

position2. CSS ('position', 'absolute');

Drop it in position2

position2.droppable({)

BACK PART 2

greedy: true,

accept: ".allcases."

Drop: function (event, ui) {}

BACK PART 3

change the length?

Orig: if ($('.filled').length < 1) {}

If ($('.filled').length < 6) {//other elements will still be stacked above it.

If ($('.filled').length < 10) {//other elements will still be piled on him but I am able to drop the 1 e element

If ($('.filled').length < 50) {}

var draggedElement = ["draggable"] .eq ui (0).attr('id').replace ("Stage_", "")

for loop

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

var element = animalArray [i].attr('id').replace ("Stage_", "")

if(draggedElement == Element) {}

animals change width and height on down here

animalArray [i] .css ('width', '75px');

animalArray [i] .css ('height', '75px');

RETURN TO PART 4

$(this) .append ("< div class =" filled"> < / div > ')

}

}

} else {}

UI. Draggable.Draggable ('option', 'return', true);

}

}

});

end of codes.

There are more elements of course, if you download the file from the link above.

I hope someone can help me. Thank you very much

See this discussion: post #10.

Tags: Edge Animate

Similar Questions

  • I can't download the Adobe Edge reflow. The file download is successful but the file is not in my creative cloud so I can't install the program. I already install the CC of Photoshop and the reflow plugin for Photoshop. Can I ask for help? :) T

    I can't download the Adobe Edge reflow. The file download is successful but the file is not in my creative cloud so I can't install the program. I already install the CC of Photoshop and the reflow plugin for Photoshop.

    We have fixed an issue in the cloud, so reflow creative application must be appear to install now.  In order to ensure that the list of products is updated, quit and restart Creative Cloud: cloud creative, select the gear icon at the top right and choose Exit, then restart the Adobe Creative Cloud application.

    I hope this fixes things for you!  If it doesn't, please let us know your operating system and version, as well as the steps how you feel.

  • How can I print a statement for my adobe account?

    How can I print a statement for my adobe account?

    I found the answer on the help. 'Manage accounts' and print the pdf.

  • I have a small C: drive. For children for the Adobe programs. How can I install it on another disk?

    I have a small C: drive. For children for the Adobe programs. How can I install it on another disk?

    Change for Applications installation location

    With the application of CC open, select the gear icon in the upper right, and then choose Preferences.  In the preferences of the screen select creative cloud and then look for the drop-down list installation location

  • What is the phone number for the Adobe Customer Service

    What is the phone number for the Adobe Customer Service

    800-833-6687 (the only one from 05:00 - 19:00 PST, Monday to Friday day US).

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • Hi, how can I find my serial number. Information transferred by time capsule of MAC, unfortunately ex recording was fake email, no entry for the adobe ID

    Hi, how can I find my serial number. Information transferred by time capsule of MAC, unfortunately ex recording was fake email, no entry for the adobe ID

    I sent you the details required in private message.

    Please use link below to download Lightroom 6:

    Download Photoshop Lightroom

    Let me know if it helps.

    ~ UL

  • Hi - I signed up for the Adobe Creative cloud monthyly and don't know where to find?  I bought the product, but is not a file to download? What I have to do to get it on my laptop &gt; how to find this &gt; thanks :)

    I signed up for the Adobe Creative cloud monthyly and don't know where to find?  I bought the product, but is not a file to download? What I have to do to get it on my laptop > how to find this > thanks

    Install the desktop cc app from here, https://creative.adobe.com/products/creative-cloud

    Check your account indicates the subscriptions that you expect (and that the adobe, used in the next step id is correct) by logging in here and checking the status of your subscription, https://www.adobe.com/account.html

    then, if it's current, disconnect and then back to your client application using the adobe with the link above in cc id: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    Use your desktop app to install your programs of cc.

  • I had paid an annual plan for the adobe illustration but I can't download the program.

    I had paid an annual plan for the adobe illustration and received an email with my contact information order in which they say they received my payment. And when I get home my account online, the plan appears but I can't download the program.

    To download and install CC, please visit these links:

    FAQ: How to download and install the Adobe Creative Cloud Desktop App?

    FAQ: How to download and install creative cloud applications?

    FAQ: How to install previous versions of creative cloud applications?

    FAQ: How to launch creative Cloud Apps

    If you try or buy instead of the download, please see the suggestions in this FAQ:

    FAQ: What should I do if I have a subscription, but my application acts as if I had a trial?

  • Get the following error when trying to install adobe reader in Windows 10... "the file 'C:\ProgramData\Adobe\Setup\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}\AcroRead.msi' is not a valid package for the Adobe Reader XI product... How can I fix it

    Get the following error when trying to install adobe reader in Windows 10... "the file 'C:\ProgramData\Adobe\Setup\{AC76BA86-7AD7-1033-7B44-AC0F074E4100}\AcroRead.msi' is not a valid package for the Adobe Reader XI product... How can I solve this problem? Thank you.

    Hi JFO58,

    I recommend you to run on your system cleaning tool:Download Adobe Reader and Acrobat tool - Adobe Labs

    Later, try to install reader again by using the following link: Adobe Acrobat Reader DC install for all versions

    Kind regards
    Rahul

  • My Mac does not read the Mac for the Adobe Photoshop elements 13 drive [was: Mac]

    My Mac does not read the Mac for the Adobe P:photoshop elements 13 drive, fresh have Costco. ???

    You can try to download instead and use the serial number, you make the acquisition of the disc...

    PES 10, 11, 12, 13 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html

  • How can I make my default program for the Adobe Downloads?

    How can I make my default program for the Adobe Downloads?

    Set up the default program depends on the type of file you download, Ex:-PDF file open in Adobe Reader or Acrobat.

    The downloaded file is opened in the default program set on your computer for this file type.

    The steps may vary for Windows and Mac.

    Windows

    Right click on any file with the file type that you want to change the default program Ex:-Pdf,.

    Select 'open with '.

    and from the list select your application that you want to set default Ex: Acrobat

    Check the option on the bottom, "always choose this application to open this file type.

    Mac

    CTRL + click on any file with the file type

    Go to 'Get Info '.

    Modify the Application in the 'open with '.

    Select 'change everything '.

    Close window 'Get info '.

  • The use of objects multi-state for the next stage of the course 9

    In my old clumsy e-Learning authoring tool, I could create a slide with several steps. You would click the button Next to display text and graphics.  When you get to the last step, the next step button disappears, so that you know that you have completed. How can I make this work with multi-state Cap 9 objects?  I created an object with 3 States multi-state. I created a button with an action go to Next State.  It is fine until you get to the last State.  If you click the button again, it starts again with the first State.

    Yes, I can create several buttons. But I really just want a button called next step which disappears after posting the last State.  The user would know that she had displayed all the steps.

    Any suggestions are welcome.  Thank you.

    Jeanne M

    Here is a sample script:

    This has been implemented for 6 States (for a container of text, the Normal State is an empty form).

    There are 2 user variables:

    • v_counter has a default value of 0
    • v_max is the number of States, you can replace it with the literal '6' or you need to

    The first decision "done" check if the counter reaches the maximum value (v_max). If this is the case all States should have been disclosed, and it should end the loop. That's why this decision will disable the button used to change States (SB_StateTrigger) and here also to change its status to an invisible state (AfterLoop). Upon return to the slide, the State will be back to Normal (visible), and simply activate the button again. You can replace this with a simple action to hide as well if you want.

    If the first decision is not true, there are still reports to be shown and the counter is incremented.

    All 6 other decisions are similar (I collapsed 2 of them): they will test the value of the counter and show the associated State. I used to state3 on a common standard. This makes it possible to use exactly the same advanced also action if the total number of States is less than 6. Simply change the value of v_max.

  • Understand the Adobe Edge &amp; AJAX, the Transition from PHP

    Hi all..

    I did just a little edge of adobe, what a fab program.

    But I'm still to pass data in and out of it, here is a simple HTML, AJAX, PHP file that asks the user to click on one of the 5 boxes, each option button has a value set for it. Once the user clicks on one of these radio buttons, the value is validated in a php file using ajax.

    I need a little bit of your professionals to help me understand how to transfer this simple script in Adobe Edge, please don't think that I'm just trying to get a quick response, the project is much bigger than all this little script. Please if you can shed some light on how to do that the rest should be put in place for me...

    Thank you very much!

    <! doctype html >

    < html >

    < head >


    < script type = "text/javascript" src = " " http://AJAX.googleapis.com/AJAX/libs/jQuery/1.10.2/jQuery.min.js '>

    < /script >

    < meta charset = "utf-8" >

    < title > TEST < /title >

    < / head >

    < body >

    Page Scores < h1 > < / h1 >

    < do action = "updatescore.php" method = "post" > "

    < form >

    < input type = "radio" name = "newScore" value = "1" > 1

    < br >

    < input type = "radio" name = "newScore" value = "2" > 2

    < br >

    < input type = "radio" name = "newScore' value '3' = > 3

    < br >

    < input type = "radio" name = "newScore" value = "4" > 4

    < br >

    < input type = "radio" name = "newScore' value '5' = > 5

    < br >

    < / make >

    < / body >

    < script >

    {$(document) .ready (function ()}

    $('_input[name=newScore]').change (function () {}

    var newScore = $(this) .val ();

    .post $('updatescore.php', {newScore:newScore}, {function (data)})

    });

    });

    });

    < /script >

    < / html >

    An attempt: sum.zip - Box

    I hope I understood.

  • 'Go to the State' vs 'Go to the next State' for the selected button state

    I have a series of image galleries in my publication that uses MSOs and buttons to "Go to another" - the thumbnails then have a small edge to have indicated that they are 'selected' - it works very well. The border is added to the click for each thumbnail button state.

    I have a similar scenario is a YouTube embed of the video and an article as a MSO with two States: a State is the vid to youtube and the other State is the article of the text. I have a set place button to switch between these two States. This button is set to "Go to the next State" so he'll just between the two States MSO. Is there any way to have a selected State for this button so that the words under the button change to 'play' video in 'see article' while keeping this button set to "Go to the next State" - the only way I can think to do is with two buttons.

    I realize, this is a very specific use case and I do not expect the features, but if there is a solution I am curious to know if anyone else has come across this.

    Thanks in advance for your help.

    Implement for the buttons in the different States. Then add an invisible button on it to the next State meetings.

    Bob

  • return on investment for the profile line variable

    Hello

    I built a vi with vision assistant, where the profile of a single horizontal line is included. If the acquired image had the X, Y coordinate system, I want to extend the vi so that it updates all possible horizontal lineprofiles (X 1/Y0 to X 1/Yn) line (Y0/Xn to Xn/Yn) in this order. So I have to vary the return on investment (line), but how is this possible? I have no experience in labview, so it's hard for me with the data of different types and functions.

    Thanks for help

    Hi Blue12,

    You may not need to create a return on investment for each line. You can get information on line directly with "IMAQ-profile line. You can directly enter the coordinates of your line and out of the profile.

    Please save yourself frustration and get LabVIEW training before attempting to implement applications.

    Best regards, Topper

Maybe you are looking for

  • Can receive email, but not send, it says incorrect login or password, but it needs people to receive?

    MY mini iPad worked fine for a while then when trying to send mail has been a failure, said incorrect login or password. Can I receive ok?

  • Where can I find help for tools &gt; Web Developer?

    I'm helping a friend change his web site. Where can I find help for the Tools menu > Web Developer? Specifically, I need to find where I can edit the HTML code, preferably in a WYSIWYG environment (that is, not laced with HTML tags), then how can I s

  • Jersey 2 Trackpad sensitivity

    I was unable to find a way to resolve the "one finger click" on a box just out of the Apple Magic Trackpad 2 that I bought with a new, end of 2015 the iMac retina.  After anticipating the joys of the use of any force touch multi-geste on the new mtp2

  • Lockscreen notifications (no lollipop)

    I had not used my motorcycle g 4g lte in a few months, and yesterday, when everything has been updated, I received a notification from facebook. I turned on my phone and it was on the lockscreen and it asked me if I would like to turn on notification

  • Issues of billing.

    So where to start? Maybe how I lied by Microsoft like 5 times now, said my problem is solved, is fixed, or sitting on the phone for 5 hours and then being told that I would be reminded tomorrow. O never received a call.  The question is this. I recen