Link to frame isnt working?

I'm trying to simply link to another frame. In the file, when the down arrow is pressed in the 2nd layer (frame 21) I want it to play starting at frame 30, labeled "to 3". I've tried this code:
on(press) {
    gotoAndPlay("to3");
but it doesnt seem to work, and thats quite confusing, since this same code worked in the down arrow in frame 1, and when clicked, the clip at frame 10 began playing. I dont know what is wrong. Please suggest possible problems, and look at the original file. How do I attach the file, I cant find anything that allows me to do so...

your frame label "to 3" is not the same as the gotoAndPlay() argument "to3".
in addition, you shouldn't have code attached to objects and you should not use the goto functions, use the goto methods:
var tl:MovieClip=this;
yourbtn.onPress=function(){
tl.gotoAndPlay("to 3");  // if that's the correct label in the timeline that contains this code.

Similar Messages

  • Calling a function with a frame isnt working

    now i have a problem :
    i have made a function called showFrame and i call it from another class and it isnt working :
    the problem is on line marked as *** where i call to showFrame()
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Date;
    public class colorsMain {
        static daromConnect myCon = new daromConnect();
        static long pNextTime = 1000;
        public static void main(String[] args) {
            try {
                myMsg.write("ss");
            } catch (IOException e) {
                e.printStackTrace();  //To change body of catch statement use Options | File Templates.
            new Thread(new Runnable() {
                public void run() {
                    while (true) {
                        try {
                            Thread.sleep(pNextTime);
                        } catch (Exception e) {
                            System.out.println("Error :" + e.getLocalizedMessage() + " at : " + new Date());
                        System.out.println("10 seconds");
                        myCon.showFrame();///****problem on this line
                                            pNextTime = 1000 * 60 * 5;
                        //   System.exit(0);
            System.exit(0);
    CODE]
    and the second class with showFrame :import JavaCom.atidProgram;
    import JavaCom.atidProgramsGroup;
    import JavaCom.atidRecordSet;
    import javax.swing.*;
    import java.util.Date;
    import java.lang.*;
    import java.sql.*;
    import java.util.StringTokenizer;
    import java.util.ArrayList;
    import java.lang.String;
    import java.awt.*;
    import java.text.*;
    public class daromConnect {
    private static boolean pIsWorking = false;
    private static int pTimeFromDarom = 30;
    private static JFrame jf = null;
    private static JLabel label2 = null;
    public static void SetTotalTimeFromDarom(int tm) {
    pTimeFromDarom = tm;
    public static boolean getIsWorking() {
    return pIsWorking;
    private static void setIsWorking(boolean flag) {
    pIsWorking = flag;
    private static int getIndex(String str, final String[][] unit_table) {
    for (int i = 0; i < unit_table[0].length; ++i) {
    if (unit_table[0].equals(str) == true || unit_table[1][i].equals(str)==true)
    return i;
    return 0;
    public static void showFrame() {//this is the function i call
    jf = new JFrame();
    label2 = new JLabel("000");
    label2.setSize(30, 300);
    label2.setFont(Font.decode("Web Hebrew AD"));
    jf.getContentPane().add(label2);
    jf.pack();
    jf.setVisible(true);
    public static void main(String[] args) {
    setIsWorking(false);
    why isnt it working?
    thnaks in advance
    peleg

    Right off the bat I can see that you aren't starting the thread. Try:
        Thread t = new Thread(new Runnable()
          public void run()
        t.start();

  • The link isnt working so try this.... ipod help needed immediatley !!!

    this document seems to know my exact problem..
    "iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date"
    .. so i was following exactly what it said and everything was good until i got up to Universal Serial Bus controllers.. i couldn't find anything that said iPod or USB mass storage device...if you look at the example they give on where to find the iPod name or USB mass storage device, i have everything else that is there like the USB root hubs but i dont have anything else that mentions iPod, the USB mass storage device or the Lucent USB open host controller...why don't i have these? and how can i locate/download them them. please help me if you have any idea !!!
    the problem is when i connect my iPod to the computer with my USB cable; the computer does not recognize it or something because it does not charge ; the do not disconnect sign doesn't appear; iTunes does not pop up; and i can't add songs to it. i tried the 5 R's recommended and nothing had workedd !! please helppp!!!

    yeah im sorry it isnt working the document is under "iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date" sorry about that. also if you have any other solutions to my problem [because this might not be the case] please let me know.

  • My nano isnt working and the updater isnt working

    i've had my nano for a few months, a little before apirl i think. and i havent been adding new songs for about a month. i recently got a new cd for my birthday and i wanted to import them into my ipod. the updater came up and said i needed an update. so i updated it. I DID NOT CLICK RESTORE. i made sure i didnt click restore because i've seen what happens to an ipod if you do. it erased ALL my songs on my ipod. then i disconnected it and reconnected my ipod and my computer and iTunes wont recognize my ipod anymore. i went to My Computer and right next to the F: Drive thing, it said removable disk instead of iPod. the computer still charges my ipod, but other than that, my computer doesnt recognize it.
    i've tried the 5 r's, and it didnt work. i tried many solutions posted on the forums, but none of them have worked so far. i have also tried the HP USB Disk Storage Format Tool but it requires me to use the updater, which isnt working.
    if someone has some solutions, please email me at [email protected]
    i dont have time to check back on this post, but leaving a reply to this message will help too.
    Thanks in advance.

    I FIXED THE PROBLEM!!! if you have this similar problem, follow these instructions. THANK YOU SO MUCH TO THE ONE THAT POSTED THIS!!! kznano
    "Here is what I did folks after the 2006-06-28 updater did a number on two nanos.
    I reformatted iPOD drive to FAT32 and then used the 2006-06-28 updater to restore. You lose all your data from the iPOD so have to reload.
    Steps that I followed to fix:
    1. Connect your iPOD and put into disk mode (hold down menu and select (center) until apple logo appears, then immediately hold down select(center)and play/pause until iPOD enters disk mode)
    2. Find out what drive your iPOD is on by looking in My Computer (e.g. E:, G: or I:)
    3. Go to start menu --> run
    4. Enter cmd and select'OK'
    5. Black dos box comes up
    6. type "format I: /FS:FAT32 /Q (enter)"
    (I: is the drive name - change to your drive if different)
    7. type enter when it asks for the disk.
    8. Leave disk label blank. (just hit enter when prompted)
    9. After finish formatting use system tray to safely remove hardware from the drive.
    10. Restart computer
    11. Launch ipod updater
    12. connect ipod
    13. After recognizes iPOD - select restore
    14. Let it complete restore successful - iPod may still show the do not disconnect
    15. Disconnect ipod (again using system tray)
    16. Restart computer
    17. Launch iTunes
    18. Connect iPOD should be recognized by iTUNES (FINALLY!!)
    If not try uninstalling and reinstalling iTunes - then connect iPOD "
    heres the link to the forum i found this in: http://discussions.apple.com/thread.jspa?threadID=451219&tstart=0

  • Hello , I have installed adobe illustrator CS5 and when i open it..tool bar isnt working.. when i click at rectangle/pen tool the sub options on it dont appear though black sign comes.. am confused wat to do?? i have windows 8 as OS.. please help soonest.

    Hello ,
    I have installed adobe illustrator CS5 and when i open it..tool bar isnt working.. when i click at rectangle/pen tool the sub options on it dont appear though black sign comes.. am confused wat to do?? i have windows 8 as OS.. please help soonest.....thankyou

    charmi,
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Remove All Missing Links with frames

    How can I make a script to remove all missing links with frames In indesign?
    var doc = app.activeDocument;
    var links = doc.links;
    for (var i = links.length-1; i >= 0; i--) {
    if (links[i].status == LinkStatus.LINK_MISSING) {
      try {
       links[i].parent.remove();
                 var image = link.parent;
              var frame = image.parent;
              frame.remove();
              counter++;
      catch (err) {
       $.writeln(i + " - " + err);
    I try this script, but still remain a frame, what's wrong with that?

    @Harvey – in priciple nothing's wrong with that.
    But you need only to remove the parent.parent of the found link.
    You could also resolve the object that is behind parent.parent to make sure it will work:
    var myContainerToRemove = links[i].parent.parent.getElements()[0];
    myContainerToRemove.remove();
    No container, no image, no link ;-)
    Of course that will leave a container frame behind, if the container of the graphic is itself nested into another object.
    This could be a Texts object (together with a text frame) or a SplineObject like a Rectangle, Oval, Polygon, a Button as well as a State inside an MSO…
    A remnant could also be a Group object containing only one page item…
    Depends on how the page items are used and the layout is constructed.
    Uwe

  • My mouse pad isnt working. there is no light on.

    For some reason my mouse pad isnt working at all and no light is on in the mouse pad. I read in another forum that unplugging the battery could work, I did it once and worked but now again and not even unplugging the battery.  What can i do? at control panel it seems the device is intalled and working, i tryied disabeling and enabeling but nothing. thanks

    Dear Customer, Welcome and Thank you for posting your query on HP Support Forum It looks like you are facing difficulties to resolve Touchpad Issues with your NotebookWe will surely assist you with this Steps to drain the Static charge and loading default BIOS settings to resolve the issueStep 01. Turn OFF the NotebookStep 02. Un-plug the Power/AC Adapter and also remove the Battery tooStep 03. Press and Hold the Power Button of the Notebook for a full minuteStep 04. Now let's re-insert the battery back in and plug back the Power/AC AdapterStep 05. Start the Notebook and keep tapping F10 Key during the startup to access the BIOSStep 06. Once you get to the BIOS, Please press F5 or F9 Key to load setup defaults for the BIOSStep 07. Now let's press Esc/Escape Key. Save Changes and Exit - YesStep 08. Now please wait till the Unit loads the Windows Operating system Now please download and re-install the touchpad drivers for your Notebook from the HP Support Site Please Click this Link to find more troubleshooting steps to resolve this issue  Hope this helps for any further queries reply to the post and feel free to join us again  **Click the White Thumbs Up Button on the right to say Thanks**Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. Thank You,KNRKAlthough I am an HP employee, I am speaking for myself and not for HP

  • Link to Share doesnt work since 1 week

    I can log on to my account but the share link isnt working.The service will discontinie 31.May but it seems to have stopped already.
    http://share.ovi.com/signin
    Dave

     The ability to share was discontinued a little while back. The service is still active until the 30th May to give people time to retrieve their stuff. After that date your media will be lost unless you download it now.
    Ray. 

  • Configuring CE-PE link on Frame Relay over ATM

    Hi!
    Need you guys expert opinion on how to configure configuring CE-PE link on Frame Relay over ATM. I am stump by this one because I never done it before. The CE is a Cisco 7206 with ATM PA and the parameters given to us is DLCI number in x/y format...isn't that the format for PVC. When asked, my SP contact says that it is indeed FR over ATM. Any of you guys who have experience to guide on this or point me in the right direction is most welcome. Thanks
    Rgds
    Helme

    Hello Helme,
    ask your provider if they are doing FR to ATM service interworking.
    In that case one side is configured for Frame-Relay and the other side for ATM
    Service interworking is done by provider.
    Verify that you have the same MTU on both sides and configure following ISP specifications
    ATM uses two numbers to identify a PVC
    int atm 4/0
    no ip address
    no shut
    int atm 4/0.1 point-to-point
    mtu 1500
    ip address x.x.x.1 255.255.255.252
    pvc x/y
    enc aal5snap
    protocol ip x.x.x.2 broadcast
    this should be enough to have it working
    on the other side configure or have a point-to-point subif configured on FR
    see this example
    http://www.cisco.com/en/US/tech/tk39/tk53/technologies_configuration_example09186a00801747e3.shtml
    Hope to help
    Giuseppe

  • How to link text frames in Pages 5.2?

    How to link text frames in Pages 5.2?

    The correct term in Pages is Text Boxes, and true linking is not implemented in v5.2. You can Unite, Intersect, Subtract, and Exclude multiple Text Boxes via the Arrange panel. These attributes only appear when two or more Text Boxes are selected. Also, on the Arrange menu, you will need Object Placement set to Move with Text, and the Text Wrap set to None for more accurate positioning.
    In the following example, there was initially a Text Box with overflowing text that was duplicated. With both Text Boxes selected and aligned, I could then use the Unite feature from the Arrange panel. This allowed the text to flow into the second box. Selecting text in one box and dragging upwards continues the text selection between both boxes. Hoefler italic applied in one box is applied to both. Appropriately placed, another trip to the Arrange panel to enable Text Wrap around and text fit adjustments.

  • TS4268 hi my imessage isnt working so I turned off imessage and now its been saying "waiting for activation" and has been for a long while now? can you please help me!!! Also saying that my apple ID password is inccorrect when its not!

    Hi,
    My imessage isnt working so I turned off imessage and now its been saying "waiting for activation" and has been for a long while now? Also saying that my apple ID password is inccorrect when its not! Can anyone help me?
    Thanks

    While we all have MacBooks in this forum most of us don’t have Lion. There's a Lion Support Community where everybody has Lion.You should also post this question there.  https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion

  • My sound is fine but my mic isnt working. how do i fix or figure out whats wrong with it

    Title says it. I just did a clean wipe on my computer and now my mic isnt working on vent or skype, i dont know what is wrong with it.  When i go to my sound hardware it says my external mic, IDT high def audio codec is enabled..

    Same thing here. Must be update related. Who knows. Tried to go into ventrilo today and nada. Can hear people fine, microphone not picking. In my devices it says my Anvex Virtual Audio is "not available", same with the "IDT High Definition Audio Codec. Now I'm starting to get a little agitated. No diagnostics have come back with a ping on the issue. All settings seem fine. I HAVE AUDIO, as in my speakers are working so **bleep**.
     I'm lost. No clue how to fix it. Guess I'm no longer raiding and that if this isn't working I'm going to go buy a Dell and rage beat this piece of **bleep** in the yard. That's right. I am taking 3 years of continual frustration out with HP errors, Vista complications and overall disatisfaction.
     If you can fix this problem I will offer you pictures of fluffy kittens and circus acrobats/contortionists. Now fix my ventrilo. lol

  • MY BB CURVE 9300 LED ISNT WORKING

    AFTER UPGRADING MY BB TO OS 6 THE LED ISNT WORKING ANYMORE.. when someone texted me that should be on red light but now its still on green, thats while i need to unlock it first before i can see if someone has texted me... even on facebook,twitter and bbm notifications.. the only time it changes its color is when its low battery, what the heck happened to my bb? i cant find the LED settings on TOOLs... please answer!

    Hi
    1foxyminx wrote:
    Is this a virus?
    No.
    The Blackberry is designed to be reset by removing the battery whilst the device is powered-on. Leave the battery out for a minute or 2.
    See if that resolves the problem. If not then more information will be needed before making suggestions. Please provide as much as you are able of the the following
    Blackberry Model.
    Carrier Name.
    Do you have a Data Plan?
    Operating System Version go to Menu > Options > About - it looks like v5.0.0.681
    Memory for Device and SD Card Options > Memory
    Any error statement or code.
    The Exact nature of problem - the more info the better.
    When this started and whether it started just after an update or new App download and which App/s theme/s download.
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • Can I install the online version rather than using my dvd? it successfully installed (up to a point) that way, it just wont accept my serial number for some reason. my dvd isnt working properly.

    Can I install the online version rather than using my dvd? it successfully installed (up to a point) that way, it just wont accept my serial number for some reason. my dvd isnt working properly.

    If it gets far enough to reject your serial number, it won't help to download it. It must have installed ok.
    What is the message you get (DON'T tell us the serial number!!)?
    Does it mention a "qualifying product" by any chance?

  • I just want to ask if there is any way i can fix my ipod touch 4G from watar damage and i dont think that a larg amount of water have entered and the ipod isnt working at all and i tried charging it but it didnt work so please help me, and thankyou.

    I just want to ask if there is any way i can fix my ipod touch 4G from watar damage and i dont think that a larg amount of water have entered and the ipod isnt working at all and i tried charging it but it didnt work so please help me, and thankyou.

    Probably dead if you have tried to charge it.
    You should never try to charge or turn on a wet electronic device.
    You should let it dry for  a week or so, then try.

Maybe you are looking for