AS2 open another scene and play a label inside a mc

I'm looking for a piece of AS2 script that will open a different scene and play a label from inside a mc.
So it should be something like...
On release go to scene x and play x label from inside x mc.
I can get to the scene via the button "on release gotoandplay scene 2 .
Once in the scene I can get a button to gotoandplay themc.mc and the label.
But what I really want to do is get the button on one page to go to the scene and play the label on the second scene.
Any ideas?

use:
gotoAndPlay("scene2_frame1");
this.onEnterFrame=someF;
function someF(){
yourmovieclip.gotoAndPlay("some label");
delete this.onEnterFrame;

Similar Messages

  • I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    Check your settings in Options > Applications: https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox#w_check-firefox-settings
    Also see:
    *https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • Model diloge button click open another diloge and close of another diloge close all model diloges.

    When user clickes on link he gets model diloge with some fields,
    when clicked OK button all values will save and user should get another diloge, and on another diloge save form will close, and that should close all diloges.
    Or we can have like on click on OK button close save values current diloge and open another one. and Another one when clicked submite close it.
    how this can be achive.
    i tried
    string pageUrl = "/siteName/_layouts/Solutionname/form.aspx?isdlg=1&ID=" + newRequestID;
    string script = @"<script type='text/javascript'>window.frameElement.commitPopup();
    var modalDialog;
    function ShowForwardDialog() {
    var options = {
    url: '" + pageUrl + @"',
    tite: 'Time Title...',
    allowMaximize: false,
    showClose: true,
    width: 440,
    height: 120 };
    modalDialog = SP.UI.ModalDialog.showModalDialog(options);
    ExecuteOrDelayUntilScriptLoaded(ShowForwardDialog, 'sp.js');</script>";
    ClientScript.RegisterClientScriptBlock(this.GetType(), "OKScript", script);
    also tried without window.frameElement.commitPopup(); but nothing seem working.

    I used 1600Mhz Corsair Vengeance RAM. You can either get it in matched sets or in single modules.
    The default system RAM is made by Samsung and also runs at 1600Mhz.
    Thinkpad W530, i7-3720QM, 1920x1080 screen, 32GB RAM, dual SSDs (Samsung 830, Crucial M4 mSATA), Quadro K2000M, 9-cell battery, DVD burner, backlit keyboard, Bluetooth, Intel 6300 wireless card

  • Can somebody help me install IOS 6.1.3 back to my iPhone 4. IOS 7 is not smooth enough as perfect as IOS 6.1.3. I am stuck with this OS, every app gives a break for 4-5 seconds to open up. And playing games in this OS using iPhone 4 is really crazy

    Can somebody help me install IOS 6.1.3 back to my iPhone 4. IOS 7 or 7.0.4 is not smooth enough as perfect as IOS 6.1.3. I am stuck with this OS, every app gives a break for 4-5 seconds to open up. And playing games in this OS using iPhone 4 is really crazy. Very much disappointed that I am not able to use IOS 7 and cant go back to what I need.

    Mani Dinesh wrote:
    Can somebody help me install IOS 6.1.3 back to my iPhone 4.
    Downgrading is not supported by Apple.
    Mani Dinesh wrote:
    ...every app gives a break for 4-5 seconds to open up. ...
    See this discussion...
    https://discussions.apple.com/message/23731048#23731048

  • Everytime I open the window it keeps on reloading it self over and over again and when it's not doing that and I open another tab and try to go back to the previous tab it reloads itself....Please Help

    Every time I open a window in firefox it constantly reload itself and when I finally get it to stop and open another tab and try to go back to the previous tab it reload itself....Please Help
    == This happened ==
    Every time Firefox opened
    == About 4 months ago

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • ITunes keeps opening by itself and playing music.

    My iTunes keeps randomly opening up by itself and playing music. When it happens, I quit the app and it stops for the day, but it will happen again randomly. Like days or weeks later. I don't know why my computer has decided to start doing this recently, but it's really getting on my nerves.

    Sooo annoying. And STILL not fixed.

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • Opening another account and wants all itunes and photos to go on other account but wont work.

    im trying to open another sign in account and its just started it with no information in it like no songs in itunes or photos. how can i make it so 2 accounts are the same but in 2 different names?

    Itunes floder canot be shared whit multiple users and that means that 2 user accounts means 2 itunes maps duplicates if you have 1gb of musick it wil than be 2 gb if you wand it on the two acounts.
    there are many ways on doing this if you wand it thou i would not advise this unless you have a small amount of music.
    the photo's wil be ease and the only thing you will need to do is:
    go to Pictures in you're home folder and move  "iPhoto Library" ore the photo's and move it to
    /Macintosh HD/users/Shared
    if you cant tis map and haven't renamed the hard drive go to finder cick on go in the menu an then on
    "Go to map..." and copy: /Macintosh HD/users/Shared
    p.s. if you use iphoto the first time after moving you will need to open it by duble ckikking the "iPhoto Library" you moved in the shared map

  • AS2: Local Connection - Pause and Play Videos

    I have two exe's, they are a mock-up of a control system....one is the controler that sends commands through LocalConnection to the other which simply plays video of what would be happening when certain buttons are pushed on the controler. I got it working with this code (with help I got here):
    sending_lc = new LocalConnection();
    pmvopen1.onRelease = function() {
    this._parent.gotoAndStop(3);
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 2);
    pwvopen1.onRelease = function() {
    this._parent.gotoAndStop(6);
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 4);
    chokeclose4.onRelease = function() {
    this._parent.gotoAndStop(25);
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 15);
    forward1.onRelease = function() {
    this._parent.gotoAndStop(3);
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 2);
    reverse1.onRelease = function() {
    this._parent.gotoAndStop(1);
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 0);
    reset.onRelease = function() {
    this._parent.gotoAndStop(1);
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 0);
    pause1.onRelease = function() {
    this._parent.pmvOpen.pause; (parent needs to pause flv movie pmvOpen as well as 2 object movies)
    trace(this+" clicked");
    sending_lc.send("my_lc_as2", "gotoF", 1); (this need to send a command to pause one flv movie)
    What I need to do is add a function to the above code that will pause all flv movies in both the sender and reciever (one flv movie each) and pause all object movies on the sender when the pause1 button is pressed.
    The parent needs to pause 1 flv movie and 2 object movies and I need to SEND a command to the other exe to pause one flv movie.
    I started the code but, of course, it doesnt work...the button is active as I get a trace...My attempt to start this is in red at the end of the code above. 'pmvOpen' is the name of the flv movie on the parent and I don't know HOW to begin pausing the other movie called 'pmvOpen1' through LocalConnection or to pause the 2 object movies called 'Chart1' and 'Chart2' on the sender.
    on(press)
    chart1.stop();
    on(press)
    chart2.stop();
    on(press)
    pmvOpen.pause();
    ^^ this is how I had it doing the pause before the requirement to have a second screen. This was simply attached to the pause button...I still need to pause all of the above but also I need to pause a movie through local connection at the same time.
    This is my last step before I finish and if I can get help on the pause I think I can do the play button without any additional help. Just not sure where to start with this.
    Thanks

    I forgot about the recieving end code.
    so my controler end code would look like this:
    pause1.onRelease = function() {
    this._parent.pmvOpen.pause();
    this._parent.chart1.stop();
    this._parent.chart2.stop();
      trace(this+" clicked");
    sending_lc.send("my_lc_as2", "pauseF");
    My recieving code as it is right now is:
    receiving_lc = new LocalConnection();
    receiving_lc.gotoF = function(n:Number){
    trace("received "+n);
        gotoAndPlay(n);
    receiving_lc.connect("my_lc_as2");
    This is recieving for my frame forwarding. So I would need to put a new function in this that calls out the video. To call out the video to be controled would it look something like:
    receiving_lc = new LocalConnection();
    receiving_lc.gotoF = function(n:Number){
    trace("received "+n);
        gotoAndPlay(n);
    receiving_lc.pauseF = function(pause){
         pmvOpenl.pause(n);
    receiving_lc.connect("my_lc_as2");
    This seems to work...I will try to do it with another video on another frame and see what happens. Thanks a bunch man. If this works down the line I think I might have this.

  • I want to open a file and play back by clicking play icon, but Audition doesn't react.

    I've recently moved my computer with Windows 7 to Spain. Everything works fine, but not my Adobe Audition CS5.5. I want to open a file and click my play button, to play back the file, but Adobe doesn't react. Anybody know what could be wrong?

    I would try checking your hardware setup to ensure that your playback device is selected and setup properly
    From the main menu select Edit > Preferences > Audio Hardware

  • Every time I go to hotmail my in's and outs are not lined up if I open another tab and go bask to hotmail it's fine if I open an e-mail then go back to in box

    When I go to my hotmail all the e-mail titles only the top half is readable if I open another tab than go back it is all readable,if I open an e-mail again only half is showing again go to other tab/site return and all it is all lined up fine. this is not happening with Safari

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You may have zoomed the page(s) by accident.
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl/Command+0 (zero))
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • ITunes keeps on opening by itself and playing music!

    On my MacBook Air, iTunes randomly opens and begins playing music.  No matter what I do, it keeps doing this.  I have tried pausing the music (it just keeps playing a few seconds later), closing iTunes (it just opens back up).  It is really annoying and frustrating.  I have only had my MacBook for a year now......and it just started playing Phantom of the Opera, The Point of No Return....now I'm scared.

    Hi sailormoonfreax,
    Welcome to the Support Communities!
    Are you closing the iTunes window, (clicking on the red dot), or are you actually quitting the application?
    I would suggest force quitting the application, and then removing it from your Login items for your User account.
    Another scenario that could be happening is a setting in Mountain Lion that reopens previously opened windows when you shut down or restart.
    The articles below will explain these settings in more detail:
    Mac OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/HT3411
    Mac Basics: Set your preferences
    http://support.apple.com/kb/ht2490
    System Preferences controls system-wide settings ("global" settings), and is available from the Apple menu at the upper-left corner of the screen.
    Click the General setting and you can choose whether or not windows re-open.
    Click the Users and Groups setting to adjust your login items.
    OS X Mountain Lion: Set up login options
    http://support.apple.com/kb/PH10650
    I hope this information helps ....
    Happy Holidays!
    - Judy

  • Itunes opens by itself and plays music at random hours. I was awakened in the middle of the night.

    Does anyone else have this problem? I actually talked to an Apple support person who laughed and said "is this a Halloween joke?" It is not a joke, I am so annoyed by this behaviour of itunes that I will have to uninstall and go without if it isn't solved. I have tried all sorts of things, I have uninstalled 3 times now, waited a few days and reinstalled a new version but it continues to happen. The other annoying and insulting thing itunes does is not only open by itself but then constantly post warnings that I am not authorized to play my music. This is not music that I have purchased but have burned off my own collection of CDs which I think is perfectly legal.

    Thank you!
    My Mac Mini runs iTunes all the time, so the Apple TV's in the LAN can play music stored on the Mini.  Normally, I don't play music directly from iTunes on the Mini, but many times I have logged in to the Mini only to find music playing when it should not be.  I pause the music, and then sometime later it starts playing again on the Mini, seemingly all by itself.  This has been going on for some time, and a real puzzle.  I've tried various remedies, including making an empty playlist and opening it on the Mini in iTunes.  Nothing I tried had worked, so I just turned the iTunes volume completely down, and lived with this "ghost in the machine."
    It so happens my Mini lives in a media closet where one of the ATV's also lives (on the same shelf).  My devices in the media closet are controlled via infrared transmitters inside the closet which, in turn, are controlled by RF via the Logitech Harmony 900 in another room.
    It never occurred to me that the infrared signals sent to the ATV were also being picked up by the IR receiver in the Mac Mini (which I never realized existed and was turned on by default).  I disabled the IR receiver on the Mini, and hallelujah!  No more iTunes music mysteriously playing on the Mini itself inside the media closet!

  • Opening Another Form and other Qs

    I am very unfamiliar with Java, and could do with some help with the following :
    How do I call another form to open from an existing form, which is from a different file?
    How do I disable the 'Close', 'Maximize' and 'Minimize' buttons on the top right corner of a form?
    In Visual Basic, I remember learning something like app.path to reference to the path which the file is in. Is there any similar code to do this in Java?

    How do I call another form to open from an existing
    form, which is from a different file?Ther are a couple of ways you can acheive what you want. If you want a whole new window you just create a new Frame
    Frame newframe = new Frame("my new frame");
    newframe.setvisible = true;Otherwise if you just want to cycle through forms in a frame check out the CardLayout and JTabbedPane classes.
    How do I disable the 'Close', 'Maximize' and
    'Minimize' buttons on the top right corner of a form?Look at the API for frame, I know there is a setSizeable (or something to that effect) I think there are options to remove other buttons.
    hope that's a good start.

  • I had about 17 tabs open on my browser. I clicked a link to open another one and when the tab opened the other tabs disappeared. What happened here?

    I had 17 tabs open. When I clicked a link to open a new tab all the other tabs disappeared. I thought a new window had been opened instead, but this is not the case there is only one window open on my mozilla browser. If I try to close the window I get a message that says there are 26 tabs opened, I opened 9 more tabs. Can anybody tell me what is going on here or how I might figure this out?
    Also, when I close a tab and try to reopen the tab using the right click menu, the 'undo closed tab' menu is disabled. What happened here? Can anybody tell me how to re-enable it?

    I've seen some occasional glitches with windows losing the toolbar area, but not one that disturbing.
    If you click and drag down on the 18th tab enough to tear it off into a new window (and possibly the same for the other newer tabs you opened), can you get the 17 tabs to re-appear in the first window? If not, I'm not sure there is a way to mend the window. If it's NOT a private browsing session, you might have to use Firefox > Exit (or File > Exit) and restore your session to get a working window. That won't work with a private window...
    As a backstop, you might also right-click a tab in the window > Bookmark All Tabs before ending your session. (Because session cookies and other transient data are not preserved when you reload bookmarks, this isn't as effective as restoring a session. On the other hand, bookmark storage is less fragile than session data storage.)
    Regarding Undo Close Tab, are the closed tabs listed on the History menu under Recently Closed Tabs? If so, that context menu item definitely should be enabled.

Maybe you are looking for