Multiple statements one drop box

So I am creating a drag and drop game but the thing is that there is not one question for each statement. Is it possible to have say... 10 statments on the right and one "box" on the left where the statements can be dragged to, if its correct it stays there, if its incorrect it goes back to its original position.

Maybe what you need to do is capture the stuck object in a variable outside of any functions so that you can use that to target it.
var stuckObject:Object;
You can assign the object to that variable in the drop it function when it gets stuck
stuckObject = event.target;
Then you can use that variable to target it hen you want to remove it...
removeChild(stuckObject);

Similar Messages

  • Data Merge, multiple records, one text box, one page

    I need to my data to merge in one text box on multiple lines.
    Example:
    My TXT file:
    Name
    Mary
    Bob
    Paul
    I want my InDesign file to look like this: (one text box, one page)
    Mary
    Bob
    Paul
    I don't want multiple pages or multiple text boxes. I hope this makes sense.
    TIA

    Sorry, that's not how it works in Data Merge.
    Your list will require multiple records per page, or a restucturing of the data (a better choice, in this case) so you have Name1, Name2, Name3 or something similar.
    Have you considered just placing the text file?
    How many records are you really using?

  • Setup drop-box folder on external drive for multiple Macs

    Greetings,
    I have a classroom full of photography students who need to turn in 4GB folders with pictures in them so that the teacher can grade them. We've discussed various options for facilitating this, with the only feasible solution we can come up with being setting up an external 2TB MyBook and having the kids go up, plug in the firewire and xfer their folder to the drive (see requirements below for why this is the feasible solution). One snag with this is that I want to set it up so that when the drive mounts, it's mounted as a drop-box share to prevent plagiarism as well as kids deleting/messing with other kids' projects. The problem is that each computer has different profiles so when the drop-box is setup correctly on one computer, another computer is plugged in and the folders are wide open again. Since I obviously can't setup the permissions for each profile on each computer, what options do I have to set this up? I'm open to different ideas/different ways to accomplish this, but here are the requirements:
    - Drop-box-like functionality. Students can basically "submit" work, but only the teacher can view the files.
    - Preferably the device needs to be hardwired to the MBP using Firewire. USB is too slow and these are wireless laptops without benefit of having any ethernet jacks accessible to them. They are all connecting through an Airport Extreme and xferring 4GB files wirelessly is not an option due to class time restraints.
    - This has to work across 30 laptops with multiple user profiles.
    - If software is a suggestion, free and/or OSS is preferable since this problem will be mitigated next school year with implementation of iMacs and Xserves in this program.

    I would love how to do this as well. I actually tried moving a .mbox file out of ~/Library/Mailboxes/Mail and onto an external hard drive. Then I created an alias of the .mbox file and put it back into ~/Library/Mailboxes/Mail. No luck.

  • Connecting multiple services together: Google Drive, Drop Box, and Cloud.

    Is there a way to connect multiple services  such as Google Drive, Drop Box, and Cloud into one program that allows to you manage all three at once? I am trying to look for a program that can connect all three together into one. Is there such a thing?

    No such program exists that I've seen, and given the proprietary nature of each service, particularly iCloud, I very much doubt such a program would be possible.
    Regards.

  • Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized.

    Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized. I see how to do it one at a time with the "download" button in Dropbox but that's so cumbersome for lots of photos.

    Have you tried these avenues?
    Contact us - Dropbox
    Dropbox Help Center
    Dropbox Forums
    Submit a help request - Dropbox
    OT

  • Problem in Showing multiple values into one text box.

    Hi all,
    How can show i multiple row values into one text box. here text box is multi line type.
    i have one table it has content column, it has number of rows. i need to show those data into one text box in form. how can i solve it?
    my sample code here,
    egin
    --:block3.txt_to := :parameter.p_current_user||''||':'||:block3.txt_From;
    -- go_item('txt_from');
    insert into chat(fromid,toid,content)values(:block3.fromid,:block3.toid,:block3.txt_From);
    :block3.txt_From:= null;
    commit;
    :block3.txt_to := :parameter.p_current_user||''||':'||:block3.txt_From;
    go_item('txt_from');
    declare
    cursor c4 is select content from chat where toid = :block3.fromid;
    rec1 c4%rowtype;
    begin
    open c4;
    loop
    fetch c4 into rec1;
    exit when c4%notfound;
    null;
    end loop;
    end;
    --select content into :block3.txt_to from chat where toid= :block3.fromid;
    end;
    please give me some tips to solve it.
    thanks
    gurus

    Hi,
    Try giving CHR(10) for line feed.
    DECLARE
         CURSOR C4 IS SELECT CONTENT FROM CHAT WHERE TOID = :BLOCK3.FROMID;
         Str_Temp VARCHAR2(20);
    BEGIN
         :BLOCK3.TXT_TO := '';
         OPEN C4;
         LOOP
              FETCH C4 INTO Str_Temp;
              EXIT WHEN C4%NOTFOUND;
              :BLOCK3.TXT_TO := :BLOCK3.TXT_TO || CHR(10) || Str_Temp;
         END LOOP;
         CLOSE C4;
    END;Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • I created an iDVD through iMovie on one computer in my home and want to edit the slideshow and delete some videos on the iDVD.  However, I want to work on my own iMac.  Is there a way to "share" the original project through the drop box on my computer?

    I created an iDVD through iMovie on one computer in my home and want to edit the slideshow and delete some videos on the iDVD.  However, I want to work on my own iMac.  Is there a way to "share" the original project through the drop box on my computer?

    Sir Churchill, I tried deleting one of the playlists from my computer (Playlist 130).  The next day I checked my wife's computer and noticed that Playlist 130 was now missing from her computer as well.  Is there a way that I can delete a playlist from my computer without it disappearing from hers as well?

  • Multiple Text Boxes into One Text Box

    I need multiple text boxes to populate into one text box.  I've got it to work with....
    a=a + "\n " + (this.getField("Other Current Illnesses 1").value)
    However, if the field is blank, it gives me a blank line.   What is the code if the box is "empty" to "skip" that text box?
    Here is what I tried, but it takes everything away even if there is something in the textbox:
    if (this.getField("Other Current Illnesses 1").value !==null) {a=a + ""} else
    a=a + "\n " + (this.getField("Other Current Illnesses 6").value)
    Any help?

    From the sample forms supplied with the Acrobat distribution CD, you can use the "fillin" function that can process up to 3 fields at one time and automatically adjust for null value fields and add an option separator string;
    The document level function:
    // Concatenate 3 strings with separators where needed
    function fillin(s1, s2, s3, sep) {
    Purpose: concatenate up to 3 strings with an optional separator
    inputs:
    s1: required input string text or empty string
    s2: required input string text or empty string
    s3: required input string text or empty string
    sep: optional separator sting
    returns:
    sResult concatenated string
    // variable to determine how to concatenate the strings
      var test = 0; // all strings null
      var sResult; // re slut string to return
    // force any number string to a character string for input variables
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      if(sep.toString() == undefined) sep = ''; // if sep is undefined force to null
    assign a binary value for each string present 
    so the computed value of the strings will indicate which strings are present
    when converted to a binary value
      if (s1 != "") test += 1; // string 1 present add binary value: 001
      if (s2 != "") test += 2; // string 2 present add binary value: 010
      if (s3 != "") test += 4; // string 3 present add binary value: 100
      /* return appropriate string combination based on
      calculated test value as a binary value
      switch (test.toString(2)) {
      case "0": // no non-empty strings passed - binary 0
         sResult = "";
      break;
      case "1": // only string 1 present - binary 1
         sResult = s1;  
      break;
      case "10": // only string 2 present - binary 10
         sResult = s2;  
      break;
      case "11": // string 1 and 2 present - binary 10 + 1
         sResult = s1 + sep + s2; 
      break;
      case "100": // only string 3 present - binary 100
         sResult = s3;
      break;
      case "101": // string 1 and 3 - binary 100 + 001
         sResult = s1 + sep + s3; 
      break;
      case "110": // string 2 and 3 - binary 100 + 010
         sResult = s2 + sep + s3; 
      break;
      case "111": // all 3 strings  - binary 100 + 010 + 001
         sResult = s1 + sep + s2 + sep + s3; 
      break;
      default: // any missed combinations
         sResult = "";
      break;
    return sResult;
    Then a custom calculation field for a full business phone number consisting of 4 fields could be:
    // Business telephone number w/country code and extension
    function doFullBusinessTelephoneVoice() {
      var cc = this.getField("business.telephone.voice.countrycode"); // country code;
      var ac = this.getField("business.telephone.voice.areacode"); // area code;
      var nu = this.getField("business.telephone.voice.number"); // exhchange and phone number;
      var ex = this.getField("business.telephone.voice.extension"); // internal extension number;
      event.value = fillin(cc.value, ac.value, nu.value, "-"); // first 3 fields;
      event.value = fillin(event.value, ex.value, "", "-"); // combined 3 fields and internal extension;
    doFullBusinessTelephoneVoice();
    It looks like a lot of code, but it is easy to insert document level scripts into t pdf so the actual coding is not that much. And if one hase multiple fields that requrie multiple input fields, the coding task is even less compared to working out each field.

  • Can't see/access Drop Box in one user account

    Here's an odd problem. We have four user accounts on our iMac. I can see and access everyone's Drop Box except for one user. No one can access that user's Drop Box. When you navigate to MacHD > Users > User1 > Public, that's as far as you can go. Drop Box does not show up. You can still drop files into Public.
    I checked the Sharing and Permissions for User1's Public folder and Drop Box, and they match the settings for all the other users. I also looked at the Shared and Locked checkboxes, and they match the other users.
    I'm stumped. It's no big deal, really, since you can still drop stuff off into Public, but it's also something that's not working right.
    Anyone have an idea what could be wrong?

    Snap And like you said, I have both machines set up with exactly the same settings. Another bug or something I'm doing wrong? Please reply if you figure out the solution.

  • How B2B Adapter will process multiple statements in one file

    Hi All,
    I have a file of MT940 format. I am able to read the file using B2B adapter. It contains multiple statements. Each statement is having opening and closing balance.
    Now B2B Adapter is creating the instance on each statements Simultaneously.
    Problem:
    Here i need the closing balance of the 1st statement, is opening for the next statement, and i need to record the updated closing and opening balance in table. As B2B is processing independently each statement, i am not able to correlate the statement details.
    Example -
    Lets say i have 3001490311 - 16012013 MT940 File having mutilple statements, Lets say 3 statements.
    Statement 1 -
    Op Bal - 10,000, Cl Bal - 20,000
    Statement 2 -
    Op Bal - 20,000, Cl Bal - 30,000
    Statement 3 -
    Op Bal - 30,000, Cl Bal - 40,000
    I need to record the Updated closing balance in the table, As B2B Adpter starts processing the statements independently, so i am not able to corelate bettwen the statements. Please if any one has any solution for this problem, please post it immediately

    Thanks Anuj,
    Thanks for your reply. As I unchecked the translate button. while testing i came to know that, In B2B console it showing as complete, but soa process is not getting started.
    Problem:
    B2b reading the file sequentially. In My case file type MT940 Postional Flat File. As its getting the starting position of the statement, B2B is creating a instance and that instance keep on moving independently, now again B2b is keep on reading the another statements in the same file.
    Once again B2B is getting a starting position to read the statement, again creating the instance. so in the similar ways B2B is keep on creating the instance for other statement in the same file.
    But in my case i need the out put of one process should be input to the next processs. As B2B is processing independently, i am not able to correalte the processes.
    In my case I need B2b should processs first statement, till completion of the first process second processes should not initiate, so that i can use the out put of one process to input to the another process.
    Thanks
    Dilllip

  • Multiple statements in one cfquery

    Providing there is only one or no SELECT statement, can I
    issue multiple statements to a database inside a single cfquery?
    For example will this work correctly:
    <cfquery datasource="myDB" username="myUserName"
    password="myPassword">
    CREATE TABLE dbo.table1 ( ... );
    CREATE INDEX Ix1 ON dbo.table1 (col1);
    CREATE TABLE dbo.table2 ( ... );
    etc...
    </cfquery>
    or must I SET NOCOUNT ON and put GO between each statement?
    (I am working with SQL Server 2005.)
    Doug

    doug777 wrote:
    > or must I SET NOCOUNT ON and put GO between each
    statement? (I am working with
    > SQL Server 2005.)
    no, just wrap the mess of sql in a NOCOUNT ON/OFF block.

  • How to get multiple row values in one text box while clicking one row from grid?

    hi friends,
               i am working on flex4 web application i am using  one datagrid ,it have two records(bills),one button and one text box.
    ex:
    customername      salesrepname   receipt no      amount
    venkat                         raj                         1102          10000
    ramu                          ramesh                   1102         20000
    here both receipt no is same.now i want to select one of this receipt and click pay button which is place in outside the grid.
    now my need is after click the pay button in text box i need 10000+20000=30000,after click that button i want both receipts should be invisible...'
    how i will do this,
    any suggession,
    Thanks
    B.venkatesan

    One way with 10g:
    select mgr,
           rtrim(xmlagg(xmlelement(empno,empno||',').extract('//text()')),',')  emps
    from emp
    where mgr is not null
    group by mgr;10g:
    -- define this function:
    create or replace
    function concatenate(c Sys_refcursor, sep varchar2 default null) return varchar2
    as
      val varchar2(100);
      return_value varchar2(4000);
    begin
    --  open c;
      loop
      fetch c into val;
      exit when c%notfound;
      if return_value is null then
        return_value:=val;
      else
        return_value:=return_value||sep||val;
      end if;
      end loop;
      return return_value;
    end;
    select mgr,
           concatenate(cursor(select empno from emp e where e.mgr=emp.mgr order by empno),',')
    from emp
    where mgr is not null
    group by mgr;With 11g:
    select mgr,
           listagg(empno,',') within group (order by empno) emps
    from emp
    where mgr is not null
    group by mgr;

  • Does anyone know how to get one drop down populate multiple drop downs in adobe form not live cycle!

    I have one drop down that when value selected another drop down is filled with list of choices, and then one of those choices is made another drop down should be populated with some choices.
    ish

    Hi zach317,
    Thank you for visiting the HP Support Forums.  As stated in the thread you have cited, the purpose of this forum is to give feedback or make suggestions on ways to improve the forums.  Should you have feedback on other issues, please contact HP directly using this link.  This is a user-to-user forum, so you'll have to use this link for direct assistance from HP.
    Many members of the community are extremely knowledgable. If you're having an issue you believe the other users in the community may be able to assist you with, please feel free to find the appropriate forum and post your question there. 
    Should you have any further questions or concerns, you can send a Private Message to me or another moderator or admin at any time.
    Thank you!
    Message Edited by SandyD on 11-22-2008 03:03 AM
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • Multiple statements from one connection causes ORA-0100 Maximum open cursor

    HI,
    I am creating a connection and trying to run 2 statements off the connection. The connection has autocommit as false as I want to commit only after the second statement commits successfully. Upon executing the second statement, I get the ORAC-0100: Maximum open cursor error. I have verified that I have closed all the Preparedstatement and ResultSet in the first statement.
    My code looks like this:
    Connection myConn = DriverManager.getConnection(jdbc:oracle:thin:.....); myConn.setAutoCommmit(false); Savepoint sp = myConn.setSavePoint("save1"); PreparedStatement pstmt = myConn.prepareStatement(...) ResultSet rs = pstmt.executeQuery(); while (rs.next()){ ..... } rs.close(); pstmt.close(); rs=null; pstmt=null; Statement stmt2 = myConn.createStatement(); sql="DELETE FROM TempTable..."; stmt2.executeUpdate(sql);
    I put a breakpoint just before stmt.executeUpdate and verified the open cursor are below the threshold. And as soon as I execute stmt2.executeUpdate,I get the maximum cursor error. Also, I noticed that the number of open cursors jumps to the limit after stmt2.executeUpdate(sql) as verified by the following sql
    select s.sid, s.username,  a.value from v$sesstat a, v$statname b, v$session s where a.statistic# = b.statistic#  and s.sid=a.sid and b.name = 'opened cursors current' and s.username = 'user_name';
    Am I doing something wrong? Is there a better way to execute multiple statements using the same connection and commiting only after the last statement has executed successfully?

    I believe you need to close your connection via myConn.close() as follows:
    PreparedStatement pstmt=null;
    ResultSet rs=null;
    Connection myConn=null;
    try{
    myConn= //put code to get connection in this statement here
    pstmt = myConn.prepareStatement(...)
    rs = pstmt.executeQuery();
    while (rs.next()){
    }finally{
    if(rs!=null)
    rs.close();
    if(pstmt!=null)
    pstmt.close();
    if(myConn!=null)
    myConn.close();
    }

  • How do you use the Multiple Item Information dialog box ???

    How do you use the Multiple Item Information dialog box ???
    Where are the instructions on how the information in the Multiple Item Information dialog box equates to ...
    1. The way iTunes sorts tracks and albums
    2. The reason to select a leading check box
    3. Why there are Option selections (Yes /No) and leading check boxes.
    4. Why some changes remain in the track info, but do not "take effect" in iTunes (Part of a compilation is an example)
    Looked in Help, Support, went to the local Genius bar for an hour, even arrainged a call from apple support ...
    Thanks

    As Christopher says, it's a compilation. Different tracks are by different artists.
    Setting the *Album Artist* field to *Various Artists* and setting *Part of a compilation* to Yes should be all that is required. Depending on your *Group compilations when browsing* setting ( I recommend On ) either should suffice but I suggest doing both.
    Based on your commentary, I selected all the "O Brother" tracks, and checked the boxes for everything line that was blank in the Info and the Sort panes. Only exceptions were the album name and the disc number 1 of 1 and the artwork. I blanked and checked anything else.
    That's not what I meant. When you select multiple tracks, only those values which +are already common+ to all tracks are displayed. Typically these will include Artist, though not with compilation albums, Album Artist, Album, No. of Tracks, Genre plus various sort fields. A blank value may indicate that different tracks have different values or it may be that the value is blank for all tracks. For the drop down values on the Options tab the value shown may not reflect the information in every tag. If values you expect to be common, such as Album Artist or the Album title are not displayed you can simply type these in and click OK. This will often be enough to group the album.
    If you place a checkmark against the blank boxes and apply changes then you will clear those fields so you should only do this if that is the effect you want. Putting a checkmark next to an empty (representing different values) *Track No.* box, for example, will just clear the all the track numbers which is very rarely useful.
    Adding then removing extra text is for a specific problem where despite all common values being identical across the tracks of the album iTunes seems to "remember" that it should see two albums. A typical example would be when an album originally listed as *Album CD1* & *Album CD2* is given disc numbers X of Y and then has the Album name changed to Album. I've seen iTunes merge all but one track into the new album, but insist on listing one remaining track separately, despite both albums having the same title. In this case I've found overtyping the album title again has no effect whereas changing it to AlbumX and then back to Album does what I was trying to achieve in the first place.
    Don't forget that even properly organsied albums may still break up if you don't chose an album-friendly view. Sorting on the track name or track number columns can be useful in some circumstances but in general I revert to Album by Artist when browsing through my library.
    tt2

Maybe you are looking for

  • Vendor master "fixed-line telephone" and "standard fixed-line telephone"

    Hi, Can any one pls explain what is the difference between 1) The telephone number is a fixed-line telephone and 2) The telephone number is the standard fixed-line telephone Vendor master record I am not able to find both the fields. Thx Jai

  • 178MB file too large for 4GB DVD disc?

    Using iPhoto6 on my new MacBook, when trying to burn photos to a DVD/RW I sometimes get a message that there isn't enough room. The DVD has a capacity of over 4GB, but the File Info says I'm trying to burn only about 178MB of info (Approx. 200 photos

  • Copy "info circle" ?

    I want to copy into a text file the information that is provided in the dark circle with the i in it that appears at the end of the discussion line in podcasts. A click on the circle creates a popup with additional information on that podcast. It can

  • Where I can download the Boot Camp 4.0?

    Hi, I just got my new MacBook Air, the Serial number is:C02******RVD. Could you please send me the download link? Thanks! Tim

  • Copying or backup of a database

    Hello all, This may be a very simple question to answer. I am looking at getting a (copy) of our live database off our live server (Sql management studio 2005) and moving into a test server for testing. I want the live database to still be active , w