If another statement concerning the position of the playhead in a symbol

Hello

I am really new on adobe and java script, so my question here might be an easy answer, at least I hope.

My problem is the following:

I have two symbols respectively two clips on the stage, and they produce on the same place within the scene, but - of course - not at the same time. At least what I'm trying to accomplish with the if statement.

The scenario is more: when I press the button 1, animation (symbol) 1 - a is played until what the frame of 50 and it stays there until I hit the close button, then he plays 50 to 100 and returns to frame 1 in the 1-a symbol.

There is also entertainment (symbol) 2A, who plays up to 50 chassis and stays there, and cela at the same place in the scene.

What I would like to do following: when I press key 1 for example to play the animation-1A, first of all, he must check where is the head of animation 2-a reading and if it's the plot of 50, the keystroke the 1 should play first resp. close the animation 2 and then play animation 1 up to 50.

I hope I could explain my problem enough, and I look forward to replies.

Stanko

Stanko-

If I understand you correctly, you want to do is to see the position of the playhead in a symbol.  Here's an example of code with that you might want to play:

If the read head in my element mySymbolInstanceName is less than 50...

If (sym.getSymbol("mySymbolInstanceName").getPosition)< 50)="">

do one thing

}

else {}

do something totally different

}

Hope that helps,

-Elaine

Tags: Edge Animate

Similar Questions

  • BlackBerry smartphones another question concerning the size of microSD for bb8310 max

    Hi all...

    I'm such a wet behind the ears starting the bb8310, even very specific graphs given in a previous post raises questions for me.

    The table that was given:

    BlackBerry Device Software 4.2.0 - up to 2 GB
    BlackBerry Device Software 4.2.1 - Up to 4 GB
    BlackBerry Device Software 4.2.2 - Up to 4 GB
    BlackBerry Device Software 4.3.0 - up to 8 GB
    BlackBerry Device Software 4.5.0 - up to 8 GB
    BlackBerry Device Software 4.6.0 - up to 16 GB

    Under options > advanced options > applications, my bb8310 says:

    Basic BB 4.2 applications

    System BB 4.2 software

    then the rest of the list as an attachment service, Messenger, video, brickbreaker, browser, notebook, etc., etc., all say bb 4.2.2.

    My BlackBerry 8310 is brand new... since yesterday... why would I receive a 4.2 old BONES?

    So... what I can run a 4 GB, or am I limited to 2 GB?

    Do you give such a concrete response,

    JO

    Hello

    If you plan to upgrade the operating system as soon as it comes out, you can save yourself money,

    Install the card 8 GB, the BB will recognize only 4 MB, due to your current operating system. When you upgrade,

    the full 8 GB will be recognized. It's that you have to buy a memory card.

    Please let me know if it helps!

    Thank you

    If you have any other questions please ask!

    If this is not the case, adjust the position by checking the post that answered your question!

    Thank you very much!

  • States of the objects in a State of the object

    I find it impossible to insert a State of being in a State of another State of the object...

    While in the object state 1 there is another series of States (B) objects that disappear once the State of object 1 passes to the next State...

    the end result, I am trying to achieve is to have a question in a State of the object that the user can press to display the answer...

    example: status 1 appears a question... When you touch the answer appears in State 2 other questions/answers etc...

    This is possible, but not directly.

    Take ASM you'd like to put in an another MSO and anchor it to a

    empty block of text. Then add the text block to the DSO.

    Bob

  • Box state to read option after another event of the listener

    I know that it is something very simple, but I'm still a little fuzzy on the scope of the fields & methods.  I want to read the State of a radio button after another event to the listener.  I did a work around, but I don't know that there is a much better way.

    Code:

    / public final class SelectionScreen extends screen
    {
    public boolean selected;
     
    public SelectionScreen()
    {
    Initialize and configure the title bar
    Super (MainScreen.VERTICAL_SCROLL |) MainScreen.VERTICAL_SCROLLBAR);
    setTitle ("choice screen");
                
    create and add radio buttons for the selection of the screen
    RadioButtonGroup screenGroup = new RadioButtonGroup();
    RadioButtonField screen1Field is new RadioButtonField (Goto screen '1', screenGroup, true, RadioButtonField.FIELD_RIGHT);.
    RadioButtonField screen2Field = new RadioButtonField ("Gogo screen 2", screenGroup, false, RadioButtonField.FIELD_RIGHT);
    Add (screen1Field);
    Add (screen2Field);
        
    I would like to remove this code...
    selected = screen1Field.isSelected ();
        
    screen1Field.setChangeListener (new FieldChangeListener() {}
    {} public fieldChanged no (field arg0, int arg1)
    selected =! selected;
    }
    } );
    down here and use the isSelected inside the button1Press() method
               
    ButtonField buttonField_1 = new ButtonField ('Next', ButtonField.CONSUME_CLICK |) ButtonField.FIELD_HCENTER);
    Add (buttonField_1);
                      
    buttonField_1.setChangeListener (new FieldChangeListener() {}
    {} public fieldChanged no (field arg0, int arg1)
    button1Press();
    }
    } );
    }
      
    private void button1Press() {}
    I would use the next line here
    If {(screen1Field.isSelected ())}
    If {(selected)
    Dialog.Alert ("goes to screen 1");
    } else {}
    Dialog.Alert ("goes to screen 2");
    }
    }
    }

    Just make your RadioButtonFields of the private members of your class so that you can access them from anywhere within the class. That is to say:

    private RadioButtonField screen1Field;

    public SelectionScreen()
    {
    Initialize and configure the title bar
    Super (MainScreen.VERTICAL_SCROLL |) MainScreen.VERTICAL_SCROLLBAR);
    setTitle ("choice screen");
                
    create and add radio buttons for the selection of the screen
    RadioButtonGroup screenGroup = new RadioButtonGroup();
      screen1Field is new RadioButtonField (Goto screen '1', screenGroup, true, RadioButtonField.FIELD_RIGHT);.

    .........

  • How to transfer all the parameters concerning auser as outlook mail settings of another user in the same computer and OS (win 7)

    How to transfer all the parameters concerning auser as outlook mail settings of another user in the same computer and OS (win 7)

    How to transfer all the parameters concerning auser as outlook mail settings of another user in the same computer and OS (win 7)

    Easy Windows XP, not so easy under Windows 7. Have a look here:

    http://www.bluemoonpcrepair.com/WP/?p=39

  • Copy SQL statement to another database with the same SQL_ID

    Is there a reliable way to copy a sql statement in a database to another preserving the formatting so it ends with the same SQL_ID.

    I want to copy a statement of the shared pool to a test database to develop a plan to import sql database in production.

    In the past, I just did ' select sql_fulltext from v$ sql "in SQL Developer and pasted the result into a spreadsheet SQL Developer and run it.   The statement is now in the pool shared with the correct sql_id.

    This does not work for instruction, I am currently in train.  It ends with a different id of sql.

    I know it's probably a problem of formatting, but the statement is 1000 characters and a manual check will take forever.

    You could put in a SQL Tuning Set and transfer it.

  • Glow internal change position of text effect when used with the State of the button.

    I've seen other old discussions on this topic.  I'm trying to use the inner glow on the mouse down state of a button.  When you apply the inner glow effect, the text is pushed down into the text box to the position that it is in normal state and the substitution of the.  How to do this?

    Attached images show the a screenshot of what the mouse to the low State looks like muse with the glow effect used inside.  The second screenshot shows the real effect with what is really happening by using the preview of Muse (the same thing happens in Safari and Firefox).  The metrics of positioning between normal / roll the mouse downwards and above are identical.

    Help, please.

    Inner Glow in Muse.png

    Inner Glow afterwards.png

    To work around this problem, the simplest method is to add a shine to other States, but use the background color for the glow. This creates the same offset as the rollover State but does not display differently.

  • Can a checkbox State (true/false) another State (different) check box in the control?

    Hello

    I am trying to find the answer in the internet and here in the support forums, but so far without success.

    So, I was wondering is it possible to make a CheckBox control (checked/unchecked) other (different) box in the same table.

    Lets say I have a list of items to take on the assignment in the field (in separate lines) in my checklist. Some of these items will be check together so that both can work as one.

    For example - gas generator and fuel tank:

    You can check the box next to "gas tank" if you need to take only,

    But if you check 'gas generator' numbers should automatically check the "fuel tank" so I remember to take it as well to the generator.

    So, please help me with the formula if there is possibility to do so in the last app (OSX) number. Thank you.

    Hi Shkacas,

    Perhaps you might consider to penetrate your activities field trip.

    The elements required for each activity are in another table. You can 'hide' this table by moving (copy / paste) to another sheet. The formulas will adjust automatically.

    Formula in the Input Table C2 (and fill down)

    = IF (B2, CONCATENATE (Required::B2 elements ",", Required::C2, ",", elements Required::D2, ",", elements Required::E2),' ')

    Ignore the additional decimals in the result. These are refills for empty cells in the table of the required elements.

    Another example where insГЁrent the check boxes unchecked "" (NULL, empty)

    Kind regards

    Ian.

  • My family will travel to the United States to the Mexico.  I have to update my position when I reached my destination, so my map app will work here?

    My family will travel to the United States to the Mexico.  Do I need to change anything on my phone about my temporary location when I reached my destination so my map app will work properly in MX or the GPS automatically adjusts?  I ask because I don't want to go & have my battery to grind to stop as he tries to understand my new location.  I have an IPhone5, iOS 9.2.  How to make the change if the change is necessary?

    Your phone gets your location by connecting to the GPS satellites. Using location services works with battery. However, it will not use more independently connect to the Mexico it makes when it finds your place here.

    When you do need to make sure to do is to contact your cellular carrier and make sure that your account is enabled for international roaming and you understand what can be the cost.

  • PC Health Monitor - assessment of the State of the battery on the L50T Satellite-

    Last week, I bought a brand new L50t-A-145 8.1 Windows running. Beautiful machine and apparently everything works perfectly.

    However when activating the PC Health Monitor, he recorded the drums as being in a State of 'fair'... which means that there ' a loss of capacity, but it will meet the needs of most users. For a new machine, it is simply not good enough... I have a P845t that is over a year who never recorded the State of the battery as in anything other than "good" condition.

    I did a number of things (which, I hasten to add, I never had to worry about the P845t or also any other Toshiba laptop)... (1) I charged the battery completely and let run for sub 10% at least 6 or 7 times; (2) I uninstalled PC Health Monitor and downloaded the latest version on the Toshiba site and reinstalled (3) I completely reset the computer. All to... nothing is done, the battery status still shows as that 'fair '.

    The reason for which I got a number of options, is that it seems to me there is nothing wrong with the battery... it does not seem to take longer than usual to load and I appear to get the proper use of the machine as she throws... my little finger tells me that there is nothing wrong with the battery.

    However, in contrast to previous cell phones, this one comes with the sealed battery (one wonders who the nutter who thought about this or has it been done to overcome the concerns of airport security and other?). Therefore, if it turns out that something is wrong with the battery, it would mean the withdrawal of the front rear and associates of concerns. Or is it strange reading symptomatic of another potential problem with the computer?

    So I am sending you the machine backwards, but requested, before, if anyone out there can think of something else I can do to check the situation?

    Please keep in mind, I'm not particularly bright when it comes to computers, so any advice must be specified for a layman to understand!

    Thank you very much.

    Lindsay

    Thanks for the comments. I don't know what went wrong, but the essential is that everything is OK again.

    Discount to zero has been the good method to check the hardware and software features.

  • Material of restoration to the original state of the manufacturer will make legitimate recovery discs work?

    Hello.

    Back story:
    I tried to create a system to dual-boot with Windows XP and Windows Me on a PC from Hewlett Packard, model a350n, to facilitate access to the old and more recent examples of software in my computer.  Operating systems that are installed properly, however, when running Windows Me, I noticed that the system has detected a large number of hardware problems and a number of missing drivers. I have no problems the first time I installed Windows Me, and I realized that this must have been the existence of partition recovery console Hewlett Packard, who was at the current time, where the Windows Me operating system can locate the necessary drivers for the PC to operate.  Since the deletion of this partition (which I foolishly declared unnecessary from there), problems of hardware in the BIOS, PCI slots, sound cards, etc. exist in abundance.

    Issue to be addressed:
    The main concern is this: I have no legitimate recovery CDs that I received directly at HP, but when I use them, even if they have worked in the past, I thought that the discs do not support my HP model.  I've made several changes to the hardware (for example, replace the graphics card, some CD-Rom drives, additional memory, along with other things).  Cancellation and so restore the material to the original state of the computer will CDs recognizes the HP model once more?

    Thank you very much!

    UPDATE: I tried to return the PC to its original state by removing the extra material and restore that which has been deleted.  We had another similar model of HP with similar CD - RW, CD - R and DVD - ROM drives, so I'm only 95% some that I replaced those that actually are came with this PC.  It would make a difference?  The result is that the recovery disks, which are legitimately HP, not home-made copies, and which were used successfully in the past in this same model, has not recognized the model of PC than they were designed for, even if they are a match.  This may be the cause?  And what can I do about it?  My backup files can be done quickly and efficiently, if I don't mind having to do something eventually destructive, as long as I get those recovery CD to do their job.  It is essential that I restore the PC to its factory condition.

    Thank you!

    Hello Taran_Wanderer,

    Unfortunately there is little that can be done on the side Microsoft.  It's HP to provide you with the disks appropriate for your machine model.

    You can look in an update of the BIOS from HP, but honestly, I don't know if this will have an effect on the question of whether or not the HP recovery disks will work.

    Best regards

    Matthew_Ha

  • How to save the State of the checkbox in the database

    HELLO everyone again ;)
    I want to save the State of the checkbox (checked or unchecked, true or false) in the database.

    For example, if the user, check the box and press the validate, then this value (check = true) should be stored in the database (true), and when the user only view this value in another page jspx, then this value should be displayed: checked (true)

    How can I do? What are the data type in the database object and the entity to do this?

    Thank you.

    This could also help
    http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

    concerning
    Grant

  • Hello. I want to change my country of the Jamaica, to the United States but the United States offers none as payment option. I just want to try the new Pokémon go app that is not available in Jamaica. Help, please

    Hello. I want to change my country of the Jamaica, to the United States but the United States offers none as payment option. I just want to try the new Pokémon go app that is not available in Jamaica. Help, please

    Unless you are in the USA, expect it to be available in Jamaica. People can not download content from iTunes Store from another country; This is why it is not an option for you.

    (143448)

  • Fields on several Internet sites have been changed in another language. The browser is set to English, and this problem does not occur with Chrome.

    Fields on several Internet sites have been changed in another language. The browser is set to English, and this problem does not occur with Chrome. Specifically, a large part of Tumblr and Facebook menu has been changed in another language (Russian, I think). I tried reinstall Firefox, clear the cache and reset firefox to its default state. None of them helped. Any suggestions on how to fix this?

    Hey again,

    Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    I hope this helps!

    Curtis

  • Enqueue put States and the

    I'm going through the States of the button in the queue, but it keeps on saying nothing. I do not understand why and have worked on if for days. Why not have the original state?

    What do you mean by 'State '?  Are you talking about what appears in the indicator chain?

    You have a value of timeout associated with the dequeue function.  Another element is not placed in the queue within 50 ms, then the dequeue expires and returns the default value for this cluster are you trying to dequeue which is an empty string.  If you remove the timeout constant or change it to - 1, then the dequeue never expires and the loop is still waiting for the element depending on whether the dequeue actually receives.

Maybe you are looking for