Can I access a label inside a MC and then return to the main time line

Here is my current set up.

I have a section marked on the main timeline that has the icons of 12 different videos. Each icon acts as a button and brings a user to a section marked with a FLV Playback component work video to play the corresponding video. These marked sections are located on the main of the time.

This methog is my very long time mainline. Is there a way to do an additional MC which will hold all the buttons of the video and then have this MC separated in marked sections.

In other words can I access a label inside a MC and then return to the main time line?

My current code to access the label placed on the main timeline is:

HowTo_maininfo_mc.theArrangement_btn.addEventListener (MouseEvent.CLICK, theArrangement_btn_amimated_btnDown);

function theArrangement_btn_amimated_btnDown(event:MouseEvent):void {}

gotoAndPlay ("theArrangement");

}

What it would be like if my "theArrangement" label would be located inside a MC?

Is there a specific code of if I want to have a close button located on the label inside a MC and he needs to get on a label located on the main timeline?

You should have an image with an flvplayback component and having each button assign the variable value from a source that is used by your component:

var sourceVar:String;

function theArrangement_btn_amimated_btnDown(event:MouseEvent):void {}

sourceVar = "arrangement.flv";  for example

gotoAndPlay ("flv_pb");

}

///

and as part of the "flv_pb", use:

yourflv_pb.source = sourceVar;  where yourflv_pb is your component instance name.

Tags: Adobe Animate

Similar Questions

  • How can I remove eventListener on the main time line off the loaded SWF?

    I have a Workbench where my main timeline is retouching of the marked sections. In one of the marked sections I have load and SWF file using greensock SWF Loader. In the loaded SWF file, there is a command where I need to remove/addEventListeners on the main timeline of the flash file in the loaded SWF file.

    The establishment with "MovieClip (parent.parent.parent.parent)." works for the navigation and loading and other functions. However, I get the error "1120: access of property unidetified" if I want to use a line of code like this:

    MovieClip (parent.parent.parent.parent) .mainNav_buttonsGroup_mc. Applications_b tn_mc.removeEventListener (MouseEvent.ROLL_OVER, overHandler_Applications_btn);

    I'm just writing this EventListeners again in the SWF file loading (thus repeating once again that they are specified on the main time line already) or there is a better method for her?

    appImgBtns_mc.testBtns2_mc.addEventListener(MouseEvent.CLICK, onClick_testBtns2);
    
    
    function onClick_testBtns2(event:MouseEvent) :void {
              /////////
                        ////disabling the button onClick by removeEventListener
                        //MovieClip(parent.parent.parent.parent).mainNav_buttonsGroup_mc.Applications_btn_mc.removeEventListener(MouseEvent.ROLL_OVER, overHandler_Applications_btn);
                        //MovieClip(parent.parent.parent.parent).mainNav_buttonsGroup_mc.Applications_btn_mc.removeEventListener(MouseEvent.ROLL_OUT, outHandler_Applications_btn);
                            //MovieClip(parent.parent.parent.parent).mainNav_buttonsGroup_mc.Applications_btn_mc.removeEventListener(MouseEvent.CLICK, onClick_Applications_btn);
                        ////coloring the button
            MovieClip(parent.parent.parent.parent).Applications_btn_timeLine.play();
      
                        //Products_btn_mc
                        //MovieClip(parent.parent.parent.parent).mainNav_buttonsGroup_mc.Products_btn_mc.addEventListener(MouseEvent.ROLL_OVER, overHandler_Products_btn);
                        //MovieClip(parent.parent.parent.parent).mainNav_buttonsGroup_mc.Products_btn_mc.addEventListener(MouseEvent.ROLL_OUT, outHandler_Products_btn);
                        //MovieClip(parent.parent.parent.parent).mainNav_buttonsGroup_mc.Products_btn_mc.addEventListener(MouseEvent.CLICK, onClick_Products_btn);
                        //discoloring the button
            MovieClip(parent.parent.parent.parent).Products_btn_timeLine.reverse();
      
      
              MovieClip(parent.parent.parent.parent).sourceVar_AppPopUpsLoader_fromPrdcts="images/app_images/original/icysophistication_new_tl.swf";
              MovieClip(parent.parent.parent.parent).gotoAndPlay("appPopUps_fromPrdcts");
    }
    
    

    You can communicate with the main timeline by dispatching events from the child swf file.

    When the child Swf is loaded, dispatches an event, i.e. - dispatchEvent (new Event ("DoTimeLineCode"));

    Then on your main timeline, listen for the event and perform the desired functions:

    MovieClip (root) .addEventListener ("DoTimeLineCode", mainTimeLineFunctions);

    function mainTimeLineFunctions(e:Event):void

    {

         MovieClip(root).Applications_btn_timeLine.play();

    etc...

    }

    ChasingMovieClip(parent.parent.parent.parent) has always been a losing battle for me. It's best practice to use event dispatchers and listeners to instantiate "things" from the parent child paradigm.

    ~ Chipleh

  • access to the main time line function

    Hi all

    In as2, we use _root to access the main timeline inside the movieclip or button function.

    In as3 how to access the main scenario works inside the movieclip or button.can please tell me.

    'root' is the equivalent of AS3, but use it alone will often not wortk.  Most often, you will need to cast as a form of object until the compiler will recognize.  To aid "MovieClip" (root) will usually do the trick.

  • How can I delite a Jimmy I spellt wrong and then I took the Jimmy in memory?

    Ex FO. I'm sad OK to the Ant Kennert name was bad it shod be Kennerth.

    If you start writing a message, you can go to the Options menu-> check spelling. On this window is a button to edit your custom dictionary.

  • In the settings on my iPhone 6, I can't access iCloud, FaceTime, Twitter, Facebook, Flickr and Vimeo. They are all greyed out! No problem on my iPad, everything works. Someone else had this problem?

    In the settings on my iPhone 6, I can't access iCloud, FaceTime, Twitter, Facebook, Flickr and Vimeo.

    Everything is accessible. Anyone have any ideas why?

    Look in

    Settings > general > Restrictions

  • When I access my facebook account, it freezes. Then, I get the "not responding" error messages How can I fix this?

    When I access my facebook account, it freezes.  Then, I get the "not responding" error messages  How can I fix this?

    What version of the operating system is running on your computer? Windows Version 5.1

    What browser do you use? Windows Live - Windows Internet Explorer 7

    ·          When the issue started?

    ·          Only happens when you connect to Facebook?

    As best I can answer: error signature when facebook freezes

    szAppName: iexplore.exe szAppVer:8.0.6001.18372 szMacName:hugapp szModVer: 0.0.0. offset: 00000
    He started several days ago and Yes Facebook is the only program that freezes.

    I think 5.1 means that you're running XP, but what Home or Pro version?
    You specify using IE7, but I think that the error message refers to IE 8. You have it improved recently?

    How many times you run a program that cleans ALL accumulated cookies? Not only the option in Windows XP which doesn't seem to work for them all. Try Ccleaner.com, it's free and works well!
    Just need to have all your browser windows closed when you run part of the cleaner. Restart and try to sign Fb.
    If surfing a lot, is recommended to clean/remove cookies on a DAILY basis.

  • I can't access my email works through outlook over a VPN. The signin VPN works ok, I can see my network co., but can not use outlook. 'Microsoft Exchange Server' reported an error (0 x 80040115)

    prospects for bt infinity

    I recently changed my home to infinity of BT broadband.  Now I can't access my email works through outlook over a VPN.  The signin VPN works ok, I can see my network co., but can not use outlook.   I get the following error at startup of outlook.

    Task 'Microsoft Exchange Server' reported an error (0 x 80040115): ' the connection to the Microsoft Exchange Server is unavailable.  Outlook must be online or connected to complete this action. »

    Anyone have any ideas?

    Allan M

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows 7 networking forum.

    Ramata Thakur

  • I can't access my windows management instrumentation software in order to use the restore of the system because some of my files of windows management has been moved or is missing. where can I find them

    I can't access my windows management instrumentation software in order to use the restore of the system because some of my files of windows management has been moved or is missing. where can I find them that I just want to be able to use the system restore and information system.  Thank you

    Hello

    What is the full and exact error message?

    Check if the article below or the thread will help.

    How to use restore system with Windows Management Instrumentation in Windows XP
    http://support.Microsoft.com/kb/295299
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/my-WMI-file-is-missing-i-am-running-Windows-XP/86242cad-ee5a-E011-8dfc-68b599b31bf5

  • I can't access my drive after changing permissions and cannot be set as before

    Hello dear Sir, I am in trouble... I'll draw up tables of u what error messages which appears so that you can help me exactly what I need... as it is urgent, I have personal files stored on a local drive in my computer (win8pro)... I create another user account in my window... and I connect to this account and as I created it for anonymous users, so I want to protect my personal files so I applied safety to this particular drive by going to the Properties tab reader and security... I unchecked all boxes for "Authenticated users" and "users" as I uncheck these they disappeared... and when I apply these changes my drive shows look like photo, I added, I now goes to my administrator account and then I saw the same look of this disc and when I click to open it, he refused (even if I am administrator loged in)... If I want to access my drive as it contains important files which I can't format it at all costs... I restore my system... .no changes was the disk... How can I get what was before performing this? * Please reply sir as soon as I'll be very grateful to you and your forum... I add some photos of concern so that you can help us what I need exactly warm regards,

    Hello

    Try going to the screen when change you the permissions, select Advanced down...

    In the window that opens, there will be a space for a change in ownership...

    Try to set your username...

    Change the property and add the owner user name

    Select the Security tab, then click ADVANCED at the bottom.

    Here you can change the permissions for existing users or add another...

    Click owner on the top tab, and then select the user (you) that you want to support.

    If it is not on the list...

    (1) edit

    2) click other users or groups

    (3) advanced

    (4) find now

    (5) select the user from the list... Your user name, or anywhere you want to add.

    (6) check the "replace the owner of subcontainers and objects".

    Now, select the permissions tab

    (1) select "Edit permissions" down

    (2) select EDIT if the new owner is there...

    Add otherwise, steps 3 to 5 above

    (3) give the user\owner new full permissions

    "(4) check the box"include the permissions that can be inherited from the Parent of this object.

    If the new OWNER does not appear on the 1st list you see after clicking the Security tab now, use the first set of instructions to MODIFY and add a user.

  • How to return to the main stage from inside a symbol

    Greetings,

    I'm going absolutely crazy trying to get back to the main stage from inside a symbol.

    To open the symbol on a click of the main stage...

    var mySymbolObject = sym.createChildSymbol ("practiceScene", "Stage");

    It works, I get the symbol

    To return to the main stage from within the symbol on a click...

    sym.getComposition () .getStage () .play () [0]; or sym.getComposition () .getStage () .play ('home');

    This does NOT work, I can't get the symbol.

    Help, please!

    R

    Obliously your symbols are hiding the main timeline. If you put this in your steps, click on events, it will remove the symbols and go to home label.

    I put a square home and hide it when not on the House. Thus, it shows only there.

    sym.getComposition () .getStage () .stop ('home');

    sym.deleteSymbol ();

    So basically, you will need to remove the symbols and recreate them when you need.

    But I could be wrong.

    Here is your file with this correction: I once on home and the other at the opening.

    sym.getComposition () .getStage () .stop ('open');

    sym.deleteSymbol ();

    https://app.box.com/s/aj0zapp11mc98gz3ghtj

  • can I play the guitar and midi keyboards at the same time?

    IM using the 3 main stage, I would like to play guitar and midi keyboards at the same time. I know that I can have more than one keyboard will at the same time, but I can't understand how to play the guitar too. I use a core Alesis 1 plug the guitar and a Keith McMillen 12 Step midi controller, he reads both just fine alone, but they play together. How can I get there? In addition, Im using a MacBook Pro OS X El Capitan.

    Thank you

    Mike

    You add a bunch of audio channels and affect the Core 1 Alesis entry?

  • How can I copy the folder my documents in my iCloud drive and then I sync the two after that?

    How can I copy the folder my documents in my iCloud drive and then I sync the two after that?

    You can simply drag in iCloud reader, but I pass and move documents in their files app instead. It will probably take a while to download all documents.

    It is not a way to sync without some third party software that synchronizes folders, or learn how to use rsync in the Terminal.

    Instead of synchronization, simply use the iCloud drive in the 'Documents' folder after you move the files.

  • Please tell US if there is a way I can recover a FILE that was accidentally deleted from the Recycle Bin. and then "emptied" from the bin.

    Please tell US if there is a way I can recover a file that was accidentally deleted from the Recycle Bin. and then "emptied" from the bin.

    If it was very recent, this tool would have a good shot at it.
     
     
  • How can I make my default email address Qwest and get rid of the Windows Mail in Internet Explorer.

    I tried to change my default email address in IE from my old Cableone address to my new address Qwest.  I followed the steps on the Web site of Qwest, but now my emails are transferred to Windows Mail and remove from Qwest.

    How can I make my default email address Qwest and get rid of the Windows Mail?
    If you want to use Webmail and not Windows Mail, an e-mail client, just remove the Windows Mail account in tools | Accounts.
  • my computer broke down and when return to the setting factory. is the same where I can get my old picture when rear, files, etc etc?

    my computer broke down and when return to the setting factory. is the same where I can get my old picture when rear, files, etc etc?

    Hello

    Recuva worked for posters that have been in your same situation here

    a clean install wipes the hard drive clean of everything

    You cannot undo what you've done

    If you have lost data, you can try this

    http://www.Piriform.com/Recuva

    Read also:

    Since we don't know exactly how you reinstalled it seek a windows.old folder

    How to restore your personal files after you perform a custom Windows Vista or Windows 7 installation

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

    or even return to a previous operating system by using the information in file window.old at the link below

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

    If the above does not work:

    Try the data recovery experts

    but they are very expensive

Maybe you are looking for