If I drag and drop an object in a box. When the timeline returns like that, I want the object to remain in the area and restores not where it was originally.

Hi all, this is my first post here. Very happy to be here.

I created an interaction by which objects can be dragged and got stuck in a box. Never, I solved the problem when the playhead returned items I looked where I had left. I did it with as2 and never solved the problem which I am sure is easy enough to solve. I remember someone saying something about levels.

I need to create an interaction where objects are put in a box and they stay there until the interaction ends. Say that the objects are in a room where the user must visit several times in the interaction. There must be a certain number of objects in the room and drag them into a box to get a done message, I want the user to be able to move to another part of my interaction and come back and be able to complete the conclusion and place the objects in the box without reset everything to where they were first encountered user them.

I have wi

All advice, tips are greatly appreciated.

Looks like you need to add programming that 1) stores the x / y locations of the objects since they change 2) uses this information in position to position objects whenever you enter the picture that they are in.

You should be able to create variables to store the information that is on a layer that extends from the complete timeline so that the data is stored as it is updated and you move along the timeline.  When you move the object update you its position data. Then, in the context where you have objects use you a simple coding to place objects using this position info... something as simple as...

Object1.x = object1X;

Object1.y = object1Y;

If you are still using AS1/2 you would use _x and FLF instead of x and y

Tags: Adobe Animate

Similar Questions

  • I noticed from lately, when I change my settings on the 2 online games, I play, I can disconnect turn it back on and notice the changes eventually reversed to where it was before.

    original title: Vista settings will not save. Why?

    I have a problem. When you use this computer (and this computer has Windows Vista), I noticed from lately, when I change my settings on the 2 online games, I play, I can disconnect turn it back on and notice the changes eventually reversed to where it was before.

    It's getting boring because it is not happened in the past and when I noticed it happened for the 2nd game after seeing this constantly on my 1st game, it came to me that it is not the games that does this: it is the computer itself.

    What should I do so that the computer can actually record setting changes I made?

    Hey, Andrew,.

    Most likely a configuration of settings on your computer file is damaged. You can take a look at this article that Blizzard has published:
    You can also ask your question on the forums of World of Warcraft:
  • Cannot connect to the local file and print when the domain controller is not available because the network connection

    Hi all
    Having problems for local users, connection to a file and print server in one of my satellite offices.
    When my t1 connection is disrupted (problem of local carrier) my users when the connection is down to connect to the file room and print and always have access to their files and the local printer.
    The domain controller is off site in my main office.
    Environment:
    All local desktop clients are windows machines 7.
    Printing and local file is a windows 2003 server.
    DC is window 2008
    Note that we recently changed all 2003 to all domain controllers the PDC 2008, suspect that it may cause the problem, but just cannot know where it track.
    Any help or thoughts would be appreciated.
    Thank you

    Hello trj'hwma,

    Thank you for the question!

    It's discouraging to know that have problems you with the local file and print. As I understand well you cannot connect to the local file and print when the domain controller is not available because the network connection.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    Windows 7 IT Pro category

    Answer to us if you have problems with the local files and print or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • Hi people! Can someone advise me something in Lightroom please CC.  When I export files once after you have finished the adjustments etc. and I click 'Save with the previous' - how to find where it was recorded, if I forgot the last folder saved to?

    Can someone advise me something in Lightroom please CC. When I export files once after you have finished the adjustments etc. and I click 'Save with the previous' - how to find where it was recorded, if I forgot the last folder saved to?

    I guess you mean "Export with previous. If so, open the export page. It will be defined as "precedent".

  • I bought a physical copy of Lightroom 5, but I'm having a problem with my disc drive (iMac - vintage 2009 - running os10.7.5).  I tried to download a trial of LR5 creative cloud and using the serial number of the box, but the license key is not vali

    I bought a physical copy of Lightroom 5, but I'm having a problem with my disc drive (iMac - vintage 2009 - running os10.7.5).  I tried to download a trial of LR5 creative cloud and using the serial number of the box, but the license key is not valid.  Is there a way I can download a copy so that my license key will work?

    A download of Cloud will not work for a licensed version.

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • lack of start up programs, did a search and all the files on the hard drive, just not where they belong, running windows xp with sp3, any help would be appreciated

    all programs and files on the hard drive just not here where they belong, on windows xp with s p 3

    Hi tessagourden,

    1 have you tried all of the suggestions listed in the previous post?

    Add the previous suggestions, you can also try the system restore to the point before the attack of viruses and to check if it helps.

    How to restore Windows XP to a previous state

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

  • Windows 7 backup and restore not recognizing external hard drives

    My laptop recognizes the drives external hard and other storage devices and I can read and manually copy files, etc for them. But the backup and restore told me that nothing is connected when I try to run it. Also, when I connect the external hard drive to a USB port, the menu that is displayed does not include the option of backup of the device just connect. Is there a setting I need to change in the backup and restore program? Or is there another solution that everyone is aware of it please?

    Hi Sally,

    Thanks for posting your query in Microsoft Community.

    I understand that the backup and restore does not recognize the external hard drive, but Windows doesn't. I'll be happy to help you with your query. Let me ask you;

    1. Is - this happy with all external hard drives or individual?
    2. What kind of backup are trying to create, auto or manual?
    3. You did it recently no specific changes in the computer?

    There may be several reasons why backup & restore does not recognize the external hard drive. Let's check out the steps below.

    Step 1: Connect the device to a USB (Universal Serial Bus) and a different test.

    Step 2: You can check if the services responsible for the backup of restoration & work or not.

    Volume Shadow Copy and backup of Windows service.

    To check the services, you can follow the procedure.

    (a) click Start.

    (b) in the Search tab, type Services.msc , and then press Efriendship.

    (c) now in the services window, locate Windows Backup service and Volume Shadow Copy services. Check if they are started.

    Note: Check the services separately, and then close the Services window.

    Step 3: Run the next Fixit and check if the disc is recognized.

    Click here to launch the Fixit.

    Step 4: You can try to temporarily disable the security software of the computer and check with the question. Later, re-enable the security software.

    See: , disable the anti-virus software

    Important: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attack.

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • BlackBerry Smartphones backup and restore not working do not or am I missing something?

    I installed the office mainly Manager to be able to save the info on my computer.  Only problem is when I go to back up and restore the button which allows me to back up (or restore) is not highlights, so it is not allowing me this option.  It will allow me to access all what is the 'Advanced' and 'options button' on the backup and restore window. I don't want to lose all my info again if the phone fails then please HELP!  And it took me about 10 tent before Desktop Manager loaded correctly on my computer so don't know if the problem is in the installation, but when I look at the desktop window manage it shows "disabled" and also does not allow me to choose one of the options in the top bar.  How can I activate this program?  When I tried to load the disc I got some message to be now able to run Adobe scripts so don't know if it's maybe part of the problem.

    Not as inept that I thought I was.  Had to go to the Manager of the office, is go to Options in the toolbar, you click 'Connection settings' and chose USB option and detect and now everything works fine.

  • iTunes ipad 11.4 and restore not what are my options?

    my elderly neighbour has a new air of iPad (1 year) she has herself locked out (is dropped to the bottom of the bear pit of the recent update iOS who wanted new security issues and then managed to lock herself out of it.)

    Now, it starts with "iPad disabled connect to iTunes."

    She has also a mac but this old iss (running 10.6.8 and his souvenir, I hesitate to upgrade for it.)

    She never attached the iPad to itunes, so there is no chance to get it right, but I just want to get the work buffer.

    The mac running iTunes 11.4 - when I go through the process of fixation of the iPad on mac and now the keys down (wake/home) - recover after only 3 hours of itunes download new iOS software (we live in a poor rural broadband) it says "extraction software" it says

    "The iPad could not be restored. The device is not eligible for the requested build. »

    Argh!

    Any ideas what to try next with received recognition.

    An idevice running iOS9 usually requires iTunes 12.3 requiring at his lap 10.8.5 OSX or higher.  While some people managed to get iOS9 work with iTunes 11.4 if they had updated live I don't know what happens if you push your luck and try to make updates or restores.

  • When I drop a photo from my iPhone to the iMac I'm not

    Whence the photo that I dumped my iPhone to my iMac resident on the iMac? It seems that I have a picture of the iPhone for iMac parachute successfully but I can't. I expect to be in photos or at least in the pictures folder in the finder.

    Are the Photos app on the device drops? Where do you look on Mac? (BTW - what iOS iPhone works?)

    See you soon,.

    GB

  • I bought an album but it isn't in my bought recently and is not where in my library

    I bought Insaneintherainmusic Undertale parody album "Live at Grillby." In my library, it was the day I bought it, and now it is nowhere, not even in my recently purchased. I tried to contact iTunes support, but it requires an order number, which, for some reason I didn't. To make things worse, the money used to buy the album on my balance is still missing. So, I bought the album, listened and now his party without a trace, literally. Someone please help.

    Then GoTo iTunes store > check for available in the menu downloads, or select the purchase link under quick links on the right hand side of the iTunes store home page and see if they show for re - download here.

  • resettinng email and password, when the adobe system will not accept?

    Cannot reset my username and password Adobe system will not accept?

    Hello

    Please see account Adobe ID and login troubleshooting

    Hope that helps!

    Kind regards

    Sheena

  • DV6 1362nr HDMI Port is no longer detected and does not while he was

    Hello, I have a 1362nr laptop dv6 that I bought last year. Since I've owned this laptop I tried repeatedly to get the HDMI port to function. Once I could get to recognise there was a different view (toshiba LCD 1280 x 720), he couldn't so he can send a signal to it. Now, I've updated my computer laptop for windows 7 ultimate, installed all the drivers from the hp site and the laptop is even more recognizes that it has a HDMI port. I looked a the driver for it with no luck. But even if I found it, there is always the question of work or not. Thanks for any idea that you can give me.

    -Mike

    If you have done this and updated the BIOS and the video - and then back into support and make them send it and make them specifically test the port - (have you tried a different cable right?)   ...

  • "To drag the Notes" section when the tab 'Edit' does not open

    The arrow button that activates / deactivates the open 'slide notes' & closed does not open when, on the tab 'change '. He moves to point upwards and downwards, but it won't open the box to display the text of the notes! In addition, it works very well on the legs of the table of Storyboard and branching and will appear under the Audio section / recording as well. It worked last week, but not today, when I opened the same Bill... ideas?

    Hello

    I've seen this problem on a number of occasion. In most cases, I found that Captivate closing and opening it again normally are good to go. If this does not work you can try

    a. rename the Captivate.dat file which can be found in the following path:
    C:\Documents and Settings\nom_utilisateur\Application Data\Adobe\Adobe Captivate
    b. loading Captivate again.

    The .dat file contains many of your personal settings, and sometimes can be damaged. Rename the original copy and loading Captivate forces the application to create a new .dat file.

    If it does not yet solve the problem you can either:

    a. re - install Captivate
    b. report the problem using the
    Feature request/Bug Report Form]

    Kind regards
    Mark

  • Drag and drop the problem in the card game

    Hello world

    I'm trying to adapt the game memory in Chapter 3 of the "ActionScript 3.0 Game Programming University" book for my own use. I want to get all the cards to flip and drag. I am able to return the first card and drag it, but when I return the second card, I can't drag. I have two files, MatchingGameMe.fla and MatchingGameMe.as. All the actionscript code is in MatchingGameMe.as. Here's the code. Did anyone see how I can change so that all the cards slide? Thank you in advance for your help!

    MemoryGameMe.as:


    package {}
    import flash.display. *;
    import flash.events. *;

    SerializableAttribute public class MatchingGameMe extends MovieClip {}
    game constants
    private static const boardWidth:uint = 6;
    private static const boardHeight:uint = 6;

    boardOffsetX:Number private static const is 120;.
    boardOffsetY:Number private static const is 45;.

    private var firstCard:Card;
    private var secondCard:Card;

    public void MatchingGameMe (): void {}
    Make a list of card numbers
    var cardlist:Array = new Array();
    for (var i: uint = 0; i < boardWidth * boardHeight/2; i ++) {}
    CARDLIST.push (i);
    CARDLIST.push (i);

    }

    create all the maps, their position and assign a randomcard to each
    for (var x: uint = 0; x < boardWidth; x ++) {/ / horizontal}
    for (var y: uint = 0; y < boardHeight; y ++) {/ / vertical}
    var c:Card = new Card(); copy the clip
    c.Stop (); stop on the first frame

    var r: uint = Math.floor (Math.random () * cardlist.length); get a random face
    c.cardface = cardlist [r]; assign to the map
    CARDLIST.splice (r, 1); Remove the face of list
    c.addEventListener (MouseEvent.CLICK, clickCard); have it listen to the clicks
    addChild (c); Show the map

    This function is called when the mouse button is pressed.
    function startDragging(event:MouseEvent):void
    {
    c.startDrag ();
    }

    This function is called when the mouse button is released.
    function stopDragging(event:MouseEvent):void
    {
    c.stopDrag ();
    }

    c.addEventListener (MouseEvent.MOUSE_DOWN, startDragging);
    c.addEventListener (MouseEvent.MOUSE_UP, stopDragging);

    }
    }
    }

    clicking on a card reader
    public void clickCard(event:MouseEvent) {}
    var thisCard:Card = (event.target as card); What card?
    firstCard = thisCard; It notes
    firstCard.gotoAndStop(thisCard.cardface+2); Return it

    }
    }

    }

    Don't know if it will work within the classes, but working with AS3, this type the command to oppose you just clicked, and the object you just dropped:

    // This function is called when the mouse button is pressed.
       function startDragging(event:MouseEvent):void
       {
            event.currentTarget.startDrag();
       }
    
        // This function is called when the mouse button is released.
        function stopDragging(event:MouseEvent):void
       {
           event.currentTarget.stopDrag();
       }
    

Maybe you are looking for

  • 14 Firefox will not open!

    I tried to update, on 14 FF, twice, and whenever I do, FF does not open. I'm under return 13 without any problem, but as soon as I upgrade to 14, I need to uninstall FF and reinstall 13 and not up to date. But I need to update, most of my modules are

  • Registration code

    BDP-S570 Is it possible to recover the registration code of the blu - ray? After seting upward for Netflix initially and very easily... customer wants to Pandora and others, but he repeats to me is a recorded legacy custom we implemented these progra

  • R7500 can't find my IP cam

    Hello Since yesterday, I use a Nighthawk R7500 and I can plug my devices. One is not connected, an IP DB-power cam. When you are connected by cable I have setup the cam using the configuration and the server DHCP the SSID and password and all other p

  • Sprint - Text Message with 'Ok Google' moment

    When you use Google now to send text - it seems to send message 2 two of the same content. My wife I have the X and have tried both with the same results. Thank you R

  • Win 7 issues... Help

    I have a new 64 bit, Win7 IE8 system. It seems to me to be hitting brick walls everywhere. #1-installed AOEIII, it seems ok, but the installed "Asian Dynasties" expansion pack does not appear in my programs and will not work for more than 5 minutes w