Stop the playhead from inside a movieclip

I am trying to stop the playhead from within a movie clip and when I test the scene (the movieclip) it works but when I test the main timeline scene, it stops the frame within the movie clip but continues on the main timeline.  On the frames that stop I am using a script that will allow it to continue when the space bar is pressed. How can I stop it on the main timeline, and within the movie clip at the same time?
Is their a way to do something like _root.stop(); or something?

Have a question about the _root.stop().
I have a pause and play feature in a flash player so the user can stop the presentation along with all the voiceover that streams with the presentation.
I used the _root.stop() in the flash player hoping it will stop the main timeline, but also the embedded movieclip timeline. It stopped the main timeline,  but not the other one.
How do I stop both timelines at the same time? the _root.stop() was not working for me.
Thank you, Brian

Similar Messages

  • Calling a variable from inside a movieclip AS3 in Flash CS4

    I am trying to trace a variable string from inside a movieclip which is inside another movieclip on the main timeline using:
    trace(VariableString);
    and also
    trace(stage.VariableString);
    Neither work
    The variable is an input textfield and traces fine when it is on the main timeline but will not work from inside the movieclip. I am using Actionscript 3 in Flash CS4.
    I appreciate this has probably been discussed previously on this forum but I cannot find a difinitve answer that seems to work.
    Thanks

    Thanks for the reply. However this did not seem to work.
    I think I had better explain a little better.
    On Keyfrme1 I have a MovieClip1 containing a text input component. I have created a variable on keyframe 1 using:
    var VariableString1:String = new String();
    When clicking on a seperate button this happens:
    VariableString1 = MovieClip1.text;
    I can trace this correctly on the main timeline using:
    trace(VariableString1);
    However, if I try to trace this from  another keyframe inside a movieclip2 which is inside another movieclip3 using:
    trace(MovieClip1(root).VariableString1);
    I just get the error 1180 call to a possibly undefined method MovieClip1
    Sorry if this is not very clear but I am getting very confused with this.
    Thanks again

  • Referencing a button on main stage from inside a movieclip

    I am banging my head against the wall on this.
    On the main stage I have a button that I have made invisible once the file is loaded.  Inside a movieclip I have on frame 15 the following actionscript 3 code
    button_mc.visible = true;
    I want the button to become visible at the end of this movieclip.  I am not using an external as3 file, I am putting the as3 code in its own layer on the first frame.
    I know it has something to do with the path to the button, but I cannot figure it out.  If there is anyone who can point me in the right direction for referencing instances by instance name that reside on the main satge from inside a movieclip I would be very grateful.
    Thanks
    Thepopguy

    Try:
    MovieClip(this.parent).button_mc.visible = true;

  • How can I stop the screen from rotating on my iPod touch?

    My son is blind and has an ipod5 using the voice over feature. Everytime he moves it says landscape bc of the screen rotating. How can I stop the screen from rotating on him?

    To lock the screen in portrait orientation, swipe up from the bottom edge of the screen to open
    Control Center, then tap  the icon with an arrowed circle with a padlock inside
    page 20 of
    ios 7.0 ipod touch Manual

  • Stop the report from firing until the user clicks the Go button?

    Hi All,
    Is there a way to stop the report from firing until the user clicks the Go button? At the moment it is populating when I open the dashboard page. I found something online that said i could use the Page Options>Save Current Settings> For Others.. but even though i am signed in as an administrator i only see a For Me.. option. Also, even after setting this option i would like to be able to hit the 'Go' button to run the report and have it uncollapse the section. Is this possible?
    Thanks

    Thanks for the replies,
    In my report i am trying to constrain the report to todays data only. However the only prompt i have is for another column. If i place a filter on the date column with Year=0000 it will not change with the prompt selection and so will never return any results. Is there any other way?
    It seems wasteful to fire a request to the database onload of the page. Is there an option to only fire a request what the prompts are entered? I will be using a stored proc which needs parameters to run the request so it would be good to be able to set the report to not run until it has parameters entered
    Thanks

  • Is there a way of stopping the battery from charging?

    Dear Apple Community,
    Recently I installed iStat Menus and found that, over the course of this year, my Macbook's charging capacity has dropped 5%. I know this isn't a massive number, but battery performance has become a concern for me. I use my Macbook as a desktop replacement, on the main. It's sitting on a mStand, connected to a large monitor on my desk. I use my Macbook to play games, surf the internet, do work and all that good stuff - basically, I use it for everything. I rarely use the Macbook without it being plugged in. I read on the Apple website that they do not recommend leaving the Macbook on charge permanently and that I should use it on battery at least one a month. As I use my Macbook as a desktop replacement, I don't actually have a lot of opportunity to do this.
    My question to you, the community, is: is there a way of stopping the battery from charging, either with the use of an app or a physical device? Ideally, I would love to have my power plugged in BUT only used when the battery drops below 10%. Is this possible with an app?
    On the other hand, am I just worrying about nothing? Will my battery be damaged further if I leave the Macbook charging permanently?
    Thanks for your help!
    Jeremy Reid

    Ideally, I would love to have my power plugged in BUT only used when the battery drops below 10%. Is this possible with an app?
    The charging characteristics are handled in firmware.  There is no app that would be able to do this.  You actually would not want to do this anyway.  Regularly discharging your battery to 10% will greatly decrease the life of your battery.  While it is true that you should not use your system exclusively plugged in, allowing it to run on battery a few hours a week should be fine.  Letting the battery regularly run down to (or below) 10% will cause you to use up cycles more quickly than is necessary (thereby reducing the life of your battery).  It's really a only a matter of disconnecting your Magsafe connector once in a while.
    Leaving it plugged in does not result in it being charged "permanently".  It will charge until it is full and then charging will stop.  It will only begin recharging when it reaches about 95%.

  • How do I stop the Finder from seeing SMB (Windows) shares on the network?

    I have the OPPOSITE problem most people have -- Windows Sharing works TOO WELL.
    I've donated a refurbished eMac to the local homeless shelter. I figured I'd made the system secure, and prevented any monkey business. Turns out the windows machines on the network are COMPLETELY insecure (guest access to everything is enabled). The problem is that the Mac is TOO friendly -- it automatically connects to the server as a guest, and happily presents everything to the user.
    I've tried a dozen different things (I've removed the 'Shared' section from the sidebar in the Finder windows (Go->Network is still there, Doh.), tried to turn off File Sharing, and even disabled the mount_smbfs command in the /sbin directory with "chmod 0 mount_smbfs".)
    I've asked the folks there to call in a PC tech and fix their security problem -- but it's a good question to which I've found no suitable answer... How to I stop the Mac from connecting to SMB Shares on the local network?
    Thanks.
    -JD.

    Same problem, keep getting a pop up with connection failed you do not have permission to access the server. The server is a windows 7 box, Starting happening after an up grade to windows 7. Nowhere can I find how to stop trying to connect. I am sure its at the unix level of samba but what to do is another question

  • How do you stop the phone from attempting to logon to a deleted email account?

    When I first got my phone Skype video was not available so I opened a Yahoo email account so that I could use them for video calls.  I got frustrated with the phone in that about half of the time that I turned it on it would tell me that it couldn't connect to the Yahoo servers due to an invalid password.  Other times it would connect successfully.
    I went to the default email app and found an option to delete the Yahoo account.  I even went to the Yahoo web site and deleted the email account from there. 
    I thought that I had successfully deleted the account but now I get a message that the phone can't access the Yahoo servers every time I turn the phone on.  Any ideas on how to stop the phone from attempting to access the Yahoo email servers?
    I've checked and the email app doesn't list Yahoo and I can't find any reference to Yahoo in the apps section.
    Thanks.

    Nevermind, I fixed it (I think).  I went into Settings | Accounts & Sync and found Yahoo at the bottom of the list (alphabetically).  I selected it and it had an optiion to delete the account, which I did.

  • How do I stop the cursor from spontaneously going to Line one space one in Notes?

    How do I stop the cursor from spontaneously going to Line one Space one in Notes?
    I am currently working on a MacBook Pro connected by Wi-Fi or Blue Tooth to my 16GB iPhone 4S; and supposedly to iCloud.  I install every upgrade on each computer till the computer can take no more.  My current MacBook Pro continues to accept upgrades.
    I have been dealing with Address Book foibles since it first came out and the problems seem to get worse rather than resolved.
    Problem #1: When a Company Name is checked to take precedence over a personal name the record/file does not surface during searches.  This has happened for years on all my Macs, including most recently my MacBook Pro and its predecessor PowerBook G4.  How do I fix this?
    Problem #2: The Printing Defaults for Address Book Files are not useful and I can find no way to change them to my own preferences once and for all.  I must reset them for every file every time I choose to print a file.  Is there some way to set the defaults to MY preferences and only occasionally reset them according to my needs?
    Problem #3:  When entering information in "Notes" the cursor randomly and spontaneously goes to line one space one as I am entering information.  How do I stop this?  Then when I cut and paste the misplaced text to where it belongs it may or may not return to once again begin at line one space one and following.
    Problem #4:  When Printing a Record/File from Address Book I would like to use the whole 8.5" x 11" page.  Instead it prints on an 8.5" x 11" page in three columns.  Is there a way to format the output?  I have not found one and the Mac 'Geniuses' do not know of any.
    Problem #5:  Subsequent to one of the upgrades in the last year or so, the search feature does not work.  (I have had this computer since May 2011).  No matter what I type in the search line I am stuck in the 'All' Directory.  To find anyone or anything I must scroll through the address book manually.  Is there a fix to this?
    Problem #6:  Sometimes, when I try to sync my MacBook Pro and my iPhone, the records simply duplicate.  How d I undo this without manually deleting the duplicates?
    Problem #7:  Does anyone know of a third party Address-Book-type App that is better than the Apple version and can easily import over 3000 contacts information?

    '''I had the same problem when I updated to firefox 4. This is how i fixed it:'''
    The problem seems to be caused by the 'New Tab Homepage' add on. So:
    # Disable or remove the 'New Tab Homepage' add on and restart firefox.
    # Download and install the firefox add on called 'NewTabURL' and restart firefox.
    # Click on the Options button for NewTabURL and uncheck 'Select location bar after loading new tab'
    # Under the 'Default URL for new tabs' heading, choose 'Home Page'
    # Click on the Save button.
    Hopefully, problem solved!

  • How do i stop the screen from rotating on my iphone

    how do i stop the screen from rotating on my iphone when i move the phone from horizontal to vertical

    You can lock your screen from rotating. Double-click the home button, then slide your finger to the right until your get to the iPod section. There you click the icon on the left and that will lock your screen. You can unlock it the same way.

  • When I record an audio track, there is a waveform. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is there. How can I stop the waveform from disappearing?

    When I record an audio track using Logic Pro X, there is a visible waveform which appears as I record. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is still there. How can I stop the waveform from disappearing? And can I do something to view it after it has disappeared? Anyone know the anser?

    In Logic:
    Preferences/Audio Set Recording Delay to 0 <zero>
    This should always be set to zero unless a specific set of circumstances exist and you're audio drivers do not report position correctly.
    On occasion, usually when importing a Logic 9 project, Logic-X randomly changes this to a negative/positive number.  It's actually a bug in Logic, as it should always display the waveform.

  • Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.

    Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.
    As an example, I'm going to my email in safari, while I wait for it to load, I open an excel document, and the OS decides excel should be the front app, so I go back to safari so I can enter my login info, but halfway through my password the OS decides that excel is where I should finish typing my password.
    VERY ANNOYING.  Can I open apps in the background?

    Thank you everyone for the suggestions. J D, I'm not a terminal fan, but I'm sure it works.  I found a solution that I can use in the dock from another post. 
    Annoyed by Mac OS
    Works great and allows me to maximize those multitasking minutes.

  • How to stop the Dialog from being dragged

    I was hoping that someone could tell me when calling a Dialog from Jframe, a how to stop the Dialog from being dragged
    while a dialog is showing.
    When it is visible I can still click and drag the Dialog
    I want to set it so you can not drag it until the dialog has be closed.

    If you don't have access to the parent frame, a "hack" that usually works:
    Frame frame = Frame.getFrames()[0];
    if (null != frame && frame instanceof JFrame){
    JFrame jf = (JFrame)frame;
    JDialog jd = new JDialog(jf, "title");
    ... code here ...
    As each JFrame (or Frame) is opened, its stored in the array of Frames that you can get. Same thing with Dialog.getDialogs(). Almost always, at least so far for me I've never had this problem, the [0] index is the main window opened, or the parent/top frame. I'd put the check in there to be safe and make sure its a JFrame and usually you'll only have the one JFrame.

  • How to stop the Browser from caching my web pages

    Hi There
    Can anyone tell how to stop the browser from caching my jsp pages
    I am using
    <%response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0);
    %>
    but this does not work anduser is able to go back to the previous page
    which i dont want and i want the browser to display the message the page has expired
    Help appreciated
    Thanks
    Mumtaz

    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("max-age", 0);
    response.setDateHeader("Expires", 0);
    I have cut paste the code from my jsp which is working. There is one additional line. I do not know if that is the cause but there is no harm in trying that out.
    Srinivasan Ranganathan

  • How to stop  the users from changing the Decimal in SAP

    How  to stop  the users from changing User Profile

    Hai,
    It is not possible to restrict SU3 to display, because it has only S_TCODE has the authorization object.
    If you really want to restrict users from changing their profile you have to remove the SU3 access and give SU1 or SU2 which gives access only to Personnel details and Parameters.
    Hope this helps.
    Regards,
    Yoganand.V

Maybe you are looking for