Can you specify a range for x coordinates

hey folks,
I'm looking at a I think a pretty basic request. This code below works, but I'd like to modify it so that if my dragged item passes over a region in the x coordinates. So if I pass the dragged item over the range of 600 - 700 then it would play the frame labelled "square", and when it passes out of that region, go back to play the frame labelled "circle". So realy I'm asking how can I modify the <=600 to instead 600 to 700, and else refer to circle.
Hope this makes sense.
if (me.x <=600){
me.gotoAndStop("Square")
} else if (me.x>= 700){
me.gotoAndStop("Circle")

I'm not really sure I follow your description, but the following will do what I was able to interpret...
if (me.x>= 700){
    me.gotoAndStop("Circle")
} else if (me.x >=600){
    me.gotoAndStop("Square")
That ignores anything below 600.  If you want to have anything below 700 go to the square, then just use 'else' instead of 'else if(me.x >= 600)'

Similar Messages

  • Can you specify the port for default services when installing OEG?

    Hi everyone,
    The default installation of OEG 11g uses 8090 port for management services, and 8080 for the virtualized services that you register in the gateway. After installation, you can change the ports by editing gateway's Profile Repository in Policy Studio. But is there a way to specify the port number before/during the installation?
    Thanks,
    Iris

    Hi -
    here are the steps to change the listening port (in 11.1.1.6)
    - Connect to OEG using Policy Studio
    - Click on "Edit Active Configuration"
    - Under "Services", find the default services, and you'll see a listener for port 8080 there. Right-click to edit this.
    - Change the port from 8080 to your desired port. Note that if you've installed the software and running it as a non-root user on Linux, then it will not have permission to bind to a low-number port (like port 80 for instance)
    - Now deploy your change (for 11.1.1.6 hit F6 or click on the "deploy" button which is towards the right of the toolbar in Policy Studio).
    - You may also choose to version your configuration at this point (click on "version" which is beside the "deploy" button and enter a comment about your version).
    Now verify that OEG is listening on your new port. You can see it bind to the new port by looking at the trace [Connect a browser to port 8090 on OEG, login as admin or another user who has rights to view the trace, then click on "Trace"].
    It's a usual practice to configure a new listener on SSL (e.g. on port 443) then to delete that pre-configured port 8080 listener, if you want to only receive traffic over SSL.

  • Can you specify format mask for date or timestamp columns

    Hi,
    Recently when I'm developing a PL/SQL application, I find that any format mismatch between data in table and format mask specified in to_date/to_timestamp function will cause exceptions. However, I'd like to make my application more robust and immune to this kind of problems, and know exactly which format mask to use for exactly what columns in db table.
    Is there a way in a table column to specify the format mask for date/timestamp columns such that I can know exactly what format mask to use when doing conversion? Also I don't want to depend on NLS_DATE_FORMAT specification, don't want to make a long case statement to check for every date format allowed by Oracle.
    Many thanks.

    As per my knowledge it can't be possible
    casuse if you entered '12/11/2007' date
    how oracle know that in date 12'th is the month or 11'th.
    The person who entered that date will also have confusions in future.
    either you have to fix one date format for your whole application (application configuration).
    or you have to store the date format in other column of the table.
    In case you set the date column to varchar and store all the dates without format then
    in future you may face problems in future while fetching the records, searching etc.
    Regards
    Singh

  • Can you specify the links for WAS Java Adminstration

    Hi,
    Is there any links ( documents)  that specify each services that runs in Visual Adminstration? of WAS Java stack.
    Regards,
    Daniel..

    Hi,
    I think you are looking for this link:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/61/e176cb3fd64848966ecb58f8eecba2/frameset.htm
    Hope it helps.
    Regards,
    Siddhesh

  • Can you specify ink trapping for a PDF document within Acrobat Professional, after a PDF has been cr

    (File > Properties > Advanced > Trapped)
    In other words, does this specification really change the ink trapping of the PDF, or does it just change a document information metadata tag?
    Or, does ink trapping have to be specified when the PDF is created, in the application that creates the PDF?

    Your assumption is correct. That field entry will not affect or perform trapping.
    Trapping does not have to be performed by the authoring program. Better results are obtained via the RIP/software/system processing the image data.

  • Can you use one PC for 2 different Ipods, with out erasing the others music from Itunes?

    Can you use one PC for different Ipod touch's , with out erasing the other persons Itunes music?

    Yes.  See:
    How to use multiple iPods, iPads, or iPhones with one computer

  • How can we specify the Mailbox for Notes?

    In Mail.app, how can we specify the Mailbox for Notes (where the new notes will be resided)? It is now 'On My Mac'. I wish to change to my IMAP Mailbox so it sync with my iPhone by just checking email (not by syncing on iTunes).
    Thanks in advance.
    Message was edited by: Ekapon

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • Can you have multiple users for one account?

    Can you have multiple users for one account? if so how do you set it up.
    We are using it for our department and it would be great to see who created what form instead of it being all one name.

    Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
    More information on how to share :
    http://forums.adobe.com/docs/DOC-2462
    Information on how to copy a forms to a different account :
    http://forums.adobe.com/docs/DOC-1390
    Hope this helps
    Gen

  • Can you buy Creative Cloud for a single month? Or do you have to buy the membership which lasts a year? If so can you cancel the membership after a month and only pay for that month.

    Can you buy Creative Cloud for a single month? Or do you have to buy the membership which lasts a year? If so can you cancel the membership after 1 month and only pay for that month?
    Thanks

    Hello Tom,
    You may sign up for a free trial of creative cloud which you can check out here. Download a free trial or buy Adobe products | Adobe downloads
    You may either pay for a month to month membership or annual as listed here. Creative Cloud pricing and membership plans | Adobe Creative Cloud
    Let us know if this helps!
    Thank you,
    Jo-Marie

  • Can you share some links for SCM & MFG on Fusion ?

    Can you share some links for SCM & MFG on Fusion ?

    I was under the impression that having a journal would be safer, not just for the boot drive. Any volume that is not properly unmounted before removed (or the couputer is turned off) might be left in an incomplete save state, since data might have been saved to buffers only, not to the disk proper.
    To me safer would be better. Apple has added journaling to HFS+ which is good, and there are several journaling file systems for Linux. Nothing in common. Not even with Windows. I guess I will have to use HFS+ with the journal turned off, but it seems suboptimal to me.
    /T

  • Can you establish different sounds for multiple emails?

    Can you establish different sounds for multiple email accounts? 

    Sorry no, sound/alerts is universal for different email accounts.

  • Can you download a app for the mac book for reading books off book self, can you download a app for the mac book for reading books off book self

    can you download a app for the mac book for reading books off book self, can you download a app for the mac book for reading books off book self

    Hi...
    If you are referring to iBooks on iOS based devices, no, they cannot be read on the Mac OS X. Two different operating systems.

  • Can you specify third party JMS Provider in Weblogic appserver configuration

              Can you specify third party JMS Provider in Weblogic appserver configuration ???
              Only place i know of is that you can specify third party JMS Provider in MDB configuraion.
              DOES Weblogic has some kind of configuration files where you specify JMS Provider
              info (Like you can do that in JBOSS)
              

    You can also specify a third-party JMS provider using the Messaging Bridge,
              which transfers messages from one queue or topic to another.
              And in general, inside WLS you can use any JMS provider you wish anywhere
              that you can also use WLS JMS. In an upcoming release, there will also be
              some support to make foreign JMS providers a little easier to configure.
              But why would you want to use another JMS provider anyway? ;-)
              greg
              "Neeru Munjal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Can you specify third party JMS Provider in Weblogic appserver
              configuration ???
              >
              > Only place i know of is that you can specify third party JMS Provider in
              MDB configuraion.
              > DOES Weblogic has some kind of configuration files where you specify JMS
              Provider
              > info (Like you can do that in JBOSS)
              

  • Can you buy a plan for multiple computers?

    Can you buy a plan for multiple computers? For just one price and one account?

    MBAs do not have user replaceable batteries. I'm not sure you could even buy third-party replacement batteries. You may be able to purchase an Apple part through places like ifixit.com.

  • Can you "loop" a slideshow for continious playback in either elements or on revel?

    Can you "loop" a slideshow for continious playback in either elements or on revel?

    patrick.nugent
    Although letting the player do the job may be the easier way, you might want to explore the use of a free program named InfoEdit that was brought up in a 2010 thread here.
    http://forums.adobe.com/message/2518706#2518706
    I have not used InfoEdit, but you might find it interesting.
    Plesae let us know the outcome.
    Thanks.
    ATR

Maybe you are looking for

  • Not starting up

    my mac book pro had frozen, had to switch off, restart has led to grey screen and spinning wheel but no more. Tried PRam, tried restarting holding down option key, alas nothing. No hard disk sound - should I bother with re-installing from my installa

  • CX_SY_CONVERSION_NO_NUMBER Error

    Hi All, Iam executing a query in Analyser. Iam getting the following error and analyser id getting disconnected from server. The argument '7.3774100000000000E+05' cannot be interpreted as a number An exception with the type CX_SY_CONVERSION_NO_NUMBER

  • SAP CRM to ECC - SSO Configuration - Logon Language Setup

    Hi All, I am a BASIS consultant currently handling one CRM project. I need a help in configuring SSO between CRM and ECC. Now SSO is not configured, so When I click on the External Link created in CRM calling an ECC transaction, it requests for Clien

  • Output of last command NOT accurate

    Hi, We have Solaris 10 Server running Oracle 10g. when i run last command it shows upto "Mar 21" and today is "May 12". But I see wtmpx being updated properly, Please advise as to how to fix this issue. #last |more oracle    sshd         enter       

  • Rotating knob from AS2 -- AS3 help please

    I'm trying to create a rotating knob that a User can turn with the mouse. The initial code worked in AS2 but the rest of my project is in AS3. so I started to convert it over (with help) Can anybody help make it work in AS3? I'm sure the "update Adve