Flash - go to another "child" in another scene

Hi everyone,
I've got 3 scenes, in every scene is one layer (parent), in every layer (parent in scenes) is one more layer (child), here is for example 5 layers. In every scenes, I have got menu with 3 url to scene.
Example:
Scene 1: I roll out menu, I choose url 1, show scene 1, frame 2 (child).
pietro1.gotoAndStop(2);
I roll out menu, I choose url 2, show scene 2, frame 1 (child).
gotoAndStop(1, "Scena 2");
I'm in link 2(Scene 2), I want to back to: Scene 1, layer 1 (parent), frame 2 (child)
Example in image: http://bankfotek.pl/image/1786428
How can I do it?

It's probably more reliable to do something like:
stage.addEventListener(Event.ADDED_TO_STAGE, checkforChild, true);
gotoAndStop(1, "Scena 1");
function checkForChild(e:Event):void {
     if (DisplayObject(e.target).name=='pietro1') {
          //no need to do this anymore
          stage.removeEventListener(Event.ADDED_TO_STAGE, arguments.callee, true);
          var mc:MovieClip = e.target as MovieClip;
          if (mc) {
               mc.goToAndStop(2);
You may also want to try just changing the symbol type of the instance on stage to "graphic" and set it to "Single Frame" Frame 2. The below is set to frame 1 but you get the idea:

Similar Messages

  • There is no place in add a field in contacts to add another person.how can I add another child?

    I'm trying to add another child to my contact info and can't find the place to do it. Went to add field but there wasn't any choice for adding another person.  This is my first Apple product and I must say I'm not very impressed.

    Hey Memeyork,
    Within the Contacts app, you would want to press the + sign at the top right to add a new contact. Here are some other ways you can add contacts to your iPhone:
    iPhone - Add contacts
    http://help.apple.com/iphone/7/#/iph14a87326
    Have a good one,
    Delgadoh

  • Manage Systems in other child domain through sccm server placed in another child domain.

    Hi,
    We have single forest , multiple domain AD structure. There is full trust between the child domains. 
    We have a requirement to manage systems in another child domain. the admin account is placed in one of the child domain, where the SCCM Server is also installed.
    I tried placing LDAP query for other child domain in AD system discovery method., but it shows the attached error.
    Pls. help

    Hi,
    Have you granted the admin account permissions to read computer accounts in the other Child Domain? do the Primary Site servers computer account have permissions to read computer account information in the other child domain? Otherwise it will not work..
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Autocomplete from another table in another sheet in same file

    I found how to get a price to autofill using VLOOKUP. I like it.
    Now, I want to be lazier and not need to type in the full item name in the row heading completely & exactly every time. I also don't want to have a drop down menu in every item line in each table unless there is no better alternative. I would like Numbers to autofill from an inventory list (table with quantities, prices, etc.) in another sheet. It seems that I should have been able to find this function explained but my searches were inadequate.
    Then, I will want Numbers to automatically update another column in the inventory table with the quantity of that item sold & the amount remaining which will cause calculations for the value remaining & sold in other columns (without changing the original inventory column). It seems to me that the formula may require numbers to search each table in each sheet for the item name in that row and add all sale quantities together. This means that the formulas would be constantly searching which sounds like it could slow things down a bit. So, again, maybe there's a more efficient way of doing this.
    Please help me find these efficiency tools. ThankU

    Mr. "P" wrote:
    I want to copy an entire row from one table in one sheet to another table in another sheet retaining all values and formulas? So that if I make a change in the original sheet it propagates to the other sheet
    (1) A change in the original will propagate to the other table if the change is in the 'copied' row.
    (2) what you require can't be achieve by a copy process.
    It requires the use of external references which are perfectly described in the User Guide (page 122 in the English version).
    (3) sure, a reference is a cell's attribute so you will have to enter it in every cell of the row.
    When it's done for one row you may use the Fill Down tool which is also described (with quite all you need to use Numbers) in the User Guide.
    Yvan KOENIG (from FRANCE vendredi 19 juin 2009 15:53:03)

  • How to copy one column BLOB value into another column of another database.

    How to copy one column BLOB value into another column of another database.
    BLOB value contains word document.
    I thought of copy the BLOB value into a text file and then update the new column value by the same text in textfile. Will this work?
    Is there any other better way to do this?

    You're welcome
    BLOB fields contains binary data. I don't think you can do this
    Also if I view the BLOB as text. Can I copy it and insert into the new database.
    I think your options are as I said. Datapump or CTAS
    Best Regards

  • HT1937 hi i wont to unlock my iphone and use with another sim /in another country/

    hi i wont to unlock my iphone and use with another sim /in another country/

    Then call the carrier it is currently locked to. They, and ONLY they can process an unlock request for you.

  • Accessing another variable from another application

    I was wonder how I can access another variable form another application?
    For example: I want to access :P4_EMPLOYEE_NAME from app ID 104 when I am doing is from an activity in page 2 on app ID 142.
    I had a search before, but I am looking for an unambiguous response.

    Greg - About all you can do is call the function htmldb_util.fetch_app_item(p_item => 'F104_ITEM', p_app => '104'). The application you call this function in must be sharing a session with the application from which you are fetching the item, both applications must belong to the same workspace, and the item you name in the argument must be defined as an application-level item in the fetched-from application.
    Scott

  • Use a method from another class in another package?

    How can I use a method from another class in another package?

    WhiteJ wrote:
    What do you mean by "new keyword?" You posted this previously:
    I tried that, it seems to not be working. I want to use the constructor from the other class. I imported it, using this piece of code:
    import components.FileChooser;
    components.FileChoser();
    Typically if I am going to call a constructor on a class called Fubar, I'd use new to create a new object:
    Fubar myFubar = new Fubar();Incidently, is it a simple typo in your post or are you trying to use a FileChoser object when it should be FileChooser?

  • Another user or another operation modified data

    I have a problem in updating document numbering setup in AP invoice
    Another user or another operation modified data; to continue, open the window again  '' (NNM1) (ODBC -2039)  [Message 131-183]
    SAP 8.81. PL07
    I disabled also all Add-ons , but still the problem continue,
    Thanks

    hi,
    when setting document numbering series it is recommended that you should have an exclusive access in the database. to achieve this you need to lock all users except your username. in the way no other user can log on in the system. also you need to use a superuser account.
    regards,
    Fidel

  • This file is already open by another user or another application-

    I am using InDesign CS4 on Mac OS 10.6.4, and sporadically get an error message reading "This file is already open by another user or another application. This file may be stored on a network server and cannot be opened until the other user closes it." This happens when I try to open a saved .indd file. The files are all on my hard drive, I created them, and nobody else has access to them.
    So far I've lost a handful of files' worth of work, as I cannot open the file in InDesign as an original or a copy, nor can I copy the file in the Finder (I get "unknown error: -22"), nor can I copy or move it using Terminal, nor can I zip it up. Time Machine doesn't recognize the file, and Apple Support couldn't help.
    I tried calling Adobe Support, but after telling me it was $40 for the answer the phone tech sent me back to the website instead of letting me pay!
    How do I fix this? I am losing hours of client work every time this happens, and only if I have a pdf version of the file can I recreate the work.
    Many thanks in advance.

    The last time it happened I restarted, cleared both the PRAM and NVRAM, and ran both Disk Utility and Disk Warrior. Nothing fixed it. I changed the permissions a number of times and that did not fix it.
    It's important to note that it doesn't happen to every file I save from InDesign; if it did I would have re-installed CS3 and dealt with that, because this issue never happened before I upgraded. So there's also no way to know if a possible fix is working or not.
    Also, there were no placed images or other artwork in the file this happened to most recently.
    I've checked my FontCase prefs, and if it's not running it's disabled, so that's out. I have some fonts that had been converted from Windows PostScript to TrueType, so I've disabled those.
    As I mentioned in the original post, I am not on a network beyond my home network, which consists of two computers and two routers. The file is on my computer's hard drive, and I am the only person accessing it. While I do use Dropbox, this file is not in that directory.

  • Can I use T-Mobile contract free with another operator in another country?

    Can I use T-Mobile contract free with another operator in another country?

    No. You need an officially unlocked iPhone. Contract free DOES NOT equal officially unlocked. All contract free means is that you are not obligated to a contract, nothing more.
    In the US, only Apple sells officially unlocked iPhones.

  • Need advice on another standby in another physical location

    We have a 11.2.0.3 RAC Primary two nodes on one location and RAC Standby on another location.
    Now we decided to add another standby in another location , standalone node.
    How to configure that standby?
    Lets say our Primary db is called PRDB, and then standby RAC db name is PRDB, db_unique_name is called PRDBS.
    WE would like this new standby db on standalone server called db as PRDB, and db_unique_name is also PRDB.
    How do we proceed from there if we would like to utilize dataguard broker?
    Thank you in advance.

    Now we decided to add another standby in another location , standalone node.
    How to configure that standby?You can configure number of standby databases depending on how many log_archive_dest_n you have.
    Lets say our Primary db is called PRDB, and then standby RAC db name is PRDB, db_unique_name is called PRDBS.
    WE would like this new standby db on standalone server called db as PRDB, and db_unique_name is also PRDB.Even if you have 10 standby database, DB_NAME should be same even in primary & all standby databases
    DB_UNIQUE_NAME should be different on each standby database, it's an unique where you can distinguish Each standby database.
    See also:-
    DB_UNIQUE_NAME specifies a globally unique name for the database. Databases with the same DB_NAME within the same DB_DOMAIN (for example, copies of a database created for reporting or a physical standby) must have a unique DB_UNIQUE_NAME. Every database's DB_UNIQUE_NAME must be unique within the enterprise.
    Source:- http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams065.htm
    How do we proceed from there if we would like to utilize dataguard broker? Once you build standby database,
    1) enable broker
    2) add database.
    Edited by: CKPT on Jul 11, 2012 8:52 PM

  • Another user or another operation modified data,to continue open windows

    Saludos Estimados:
                                    tengo la siguiente situación, tengo un cliente que gestiona sus cuentas a nivel articulo, estamos actualizando sus cuentas ya que algunas apuntaron mal, pero cuando lo hacemos por DTW manda el siguiente error
    another user or another operation modified data,to continue, open windows again (OBDC-2039) Application-defined or object-defined error65171

    esta es la nota de SAP  que nos sugirio y se soluciono.
    When you update the warehouse info via DTW, you need to set the LineNum value in ItemWarehouseInfo that corresonds to the warehouse in Item Master Data.
    That means the LineNum value match warehouse list number minus 1.
    In your case it seems you just used 0,1,2,3,4 but it does not necessarily match the order of the warehouses.
    So for example if you have 4 warehouses in the database
    1 Test
    2 Ware
    3 House
    4 DTW
    then when you update properties of the warehouse the LineNum is 0 for warehouse Test, 1 for warehouse Ware and so on (please refer to note 1328706).
    Should you have any further questions related to this issue please do not hesitate to contact us.
    Kindly confirm the message at your earliest convenience after successfully testing it.

  • Executing another class from another package with a click of a button

    package language;
    textfield_4 = new JTextField();
    getContentPane().add(textfield_4);
    button_10 = new JButton("Open");
        getContentPane().add(button_10);
        button_10.addActionListener(new java.awt.event.ActionListener()
          public void actionPerformed(ActionEvent e)
            String cmd = "notepad.exe";
            String path = textfield_4.getText();
            try
              Runtime.getRuntime().exec(cmd + " \"" + path + "\"");
            catch (IOException ex)
              ex.printStackTrace();
        button_12 = new JButton("Run");
        getContentPane().add(button_12);From the codes above, what i intended to do is when clicking the "Run" button, it will pass the values from textfield_4 to another class in another package thus, executing the class with the value of textfield_4. What are the steps to do that? If possible, please insert sample codes. Thank you.

    import  anyPackage.AnotherClass;
    button_12.addActionListener(new ActionListener() {
      AnotherClass ac = new AnotherClass();
      ac.execute(textfield_4.getText());
    });Is that what you wanted?

  • I recently bought a macbook and im trying yo sync all my 2600 photos to it but my phone is synced to another computer in another country which i cant access!! Will i loose all my photos or is there any other way of keeping them and uploading to my new mac

    I recently bought a macbook and im trying yo sync all my 2600 photos to it but my phone is synced to another computer in another country which i cant access!! Will i loose all my photos or is there any other way of keeping them and uploading to my new mac?????

    Hi jonnywilson78!
    Here is an article that will instruct you on importing your photos from your iOS device to your new computer:
    iOS: Importing personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/ht4083
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

Maybe you are looking for

  • How can I get a birthday reminder from items which are in the read-only cal

    I am looking for a solution to get a reminder message for birtdays which are within the read-only calender imported/updated from he address book. I so far have not found the option where to turn on the reminder and I do not want to duplicate items (i

  • Outlook 2013 crashed when user sending email from Adobe Writer xi pro ver 11.0.07

    I ask Adobe, but they are signaling to Outlook problem PC-HP, Windows 8.1 Pro X64 connected to Windows 2008 R2 DC Adobe Acrobat Pro ver 11,x When user trying to send email from Adobe direct, Outlook 2013 Pro is crashing The only way to send email is

  • Проблема с MacBook Pro Retina Early 2013 (256Gb SSD)

    У меня MacBook Pro Retina Early 2013 (с 256Gb SSD). Куплен в апреле. На гарантии. Три недели назад отнес ноутбук в официальный сервис центр с проблемой: не видит SSD (не загружается, выдавая разные ошибки). В сервисе продержали неделю - вернули с диа

  • Safari 7.1 update problem

    Software Update still shows the download after installing. I have installed it several times but it still shows as needing to be installed.

  • Anyone know how to download microsoft office plus to mac

    Tried to download microsoft office plus. I clicked the link from my email to download it but it wont extract it. Also i see it is a exe. Has anyone else experienced this or have solutions to download it?