TypeError: Error #1010 on code that doesn't exist.

Hello all,
I have a drop down menu with 7 options. The menu is a movie clip with a mask that reveals each of the buttons when a person mouse_overs the menu button. Each menu option does the same thing, it will call a function based on the button clicked. The function for each button does the same thing:
function INDEX_Safety (e:MouseEvent):void
          play();
          INDEX_SAFETY=true;
          Sound_Stopper ();
Each of the functions will change the value of its respecive boolean variable. One for each button. Sound Stopper is a function that stops any FLV Sound that is currently playing.
When it goes through play() it will come to a particular frame that has:
Index_Jumper ();
this function determines which boolean has been set to true, and does a gotoAndPlay("Label Name") based on the boolean that has been set to true. Then sets the boolean back to false.
function Index_Jumper ():void
          if (INDEX_SAFETY==true){gotoAndPlay("Safety"); INDEX_SAFETY=false;}
          if (INDEX_TOOLS==true){gotoAndPlay("Tools and Positions"); INDEX_TOOLS=false;}
          if (INDEX_METHODS==true){gotoAndPlay("The Methods"); INDEX_METHODS=false;}
          if (INDEX_METHOD1==true){gotoAndPlay("Method 1"); INDEX_METHOD1=false;}
          if (INDEX_METHOD2==true){gotoAndPlay("Method 2"); INDEX_METHOD2=false;}
          if (INDEX_TDBL==true){gotoAndPlay("Installing TDBL"); INDEX_TDBL=false;}
          if (INDEX_RAISING==true){gotoAndPlay("Raising the Stand"); INDEX_RAISING=false;}
The issue i am having: When i click on the 6th option, TDBL, i get the error:
TypeError: Error #1010: A term is undefined and has no properties.
          at RaisingtheOperatorsPlatform_fla::MainTimeline/frame147()[RaisingtheOperatorsPlatform_fla. MainTimeline::frame147:10]
It says frame 147:10
From my understanding this means the 10th line on Frame 147.
This is my frame 147:
1. stop ();
2. Caption ();
3. IndexMC.Safety_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Safety);
4. IndexMC.Tools_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Tools);
5. IndexMC.Methods_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Methods);
6. IndexMC.Method1_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Method1);
7. IndexMC.Method2_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Method2);
8. IndexMC.TBDL_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Tdbl);
9. IndexMC.Raising_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Raising);
I dont have a 10th line.
also, when i click the 7th option, nothing happens. However, options 1 - 5 on the drop down menu work just fine.
Thanks for any insight.

Right after posting that, I got an idea to try adding the following to frame 1:
addEventListener(Event.ENTER_FRAME, Frame_147);
function Frame_147 (event:Event):void
          if (currentFrame==147)
                    stop ();
          Caption ();
          IndexMC.Safety_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Safety);
          IndexMC.Tools_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Tools);
          IndexMC.Methods_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Methods);
          IndexMC.Method1_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Method1);
          IndexMC.Method2_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Method2);
          IndexMC.TDBL_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Tdbl);
          IndexMC.Raising_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Raising);
I then commented-out frame 147.
the error i got pointed to line 36 of frame 1, which is:
  IndexMC.TDBL_Menu_Button.addEventListener(MouseEvent.CLICK, INDEX_Tdbl);
Being able to focus on this, i see that i have IndexMC.TBDL instead of IndexMC.TDBL, i think this was one of those "been looking at this thing for too long" errors. Thank you for looking into this, the problem is now solved. As for the error pointing to a line that doesn't exist:
I still have no idea why it would say the issue was frame 147:10

Similar Messages

  • Sync error because of app that doesn't exist

    Everytime I try to sync my iPhone 3Gs, I get an error that says...
    There was a problem downloading the artwork for "Insert app name here".
    Please try again by choosing "Check for Available Downloads" from the Store menu.
    This app is not installed on my phone, it doesn't show up in iTunes on my app list, and it no longer exists in the App Store. I have OS 4.0 and my iTunes is updated. Because of this, I am completely unable to sync my phone and it is really getting annoying. Is there a folder or something I can get into to delete all traces of this app?

    Contact itunes support & have them clear your download queue:
    http://www.apple.com/support/itunes/

  • Error Checking File System that doesn't exist anymore [Solved]

    I had been dual booting Arch and Ubuntu on my desktop and recently decided to ditch ubuntu and experiment with slackware. I also decided to take advantage of the reinstall to clean up my partition scheme.
    The old:
    sda1 ntfs windows
    sda2 fat32 shared data
    sdba5 swap
    sdb1 ext3 Arch's root
    sdb2 ext3 Arch's home
    sdb3 reiser Ubuntu home
    sdb4 logical partition
    sdb5 reiser Ubuntu's home
    sdb6 ext3 used to be shared /boot, but only Ubuntu had been using it since last Arch reinstall
    The new
    no changes to sda or Arch's partions
    sdb3 ext3 Slackware root
    sd4 ext3 Slackware home
    Slackware is working fine, but when I try to boot up Arch I can only get to where it checks the filesystem, sdb1 and sdb2 check clean, then it tries to check sdb5 and obviously isn't finding this to be clean. When it drops me to the terminal I my old partitions and sdb4 are clean. sdb3 gives me an error saying it can find the reiser journal (don't have the exact wording but it obviously thought this should be a reiserFS not ext3) but if I do fsck.ext3 instead of just fsck it says it's clean.
    It's probably relevant that my last few boots before the slackware install were complaing that my ubuntu partitions weren't clean, which kind of confused me since I didn't even mount those in Arch but I didn't bother fixing it since I was planning on reformatting them when I installed slackware and I could still boot into Arch unlike now.  I'm wondering if Arch is still complaining about them not being clean from before I reformatted.
    Can someone help me convince Arch to let me boot again?
    Last edited by mcmillan (2007-08-07 16:23:54)

    Have you changed fstab on Arch's root partition?
    Use some LiveCD (even Arch's installation CD will do) to do so.

  • Messing with Class String. Error in the code that i can't figure out..

    There is an error in my code that i just can't seem to figure out. I've tried debbugin it but it seems to work when i do it by hand but when running it gives me the wrong value.... I will put part of the code and comment what i'm trying to do... Basically the whole idea of that part is to get an ip address from an input but for now i will consider putting in the IP Address. It should not exceed more than 4bytes so the max is 256.256.256.256
    After that i have to seperate the "." from it and take each string seperately and see if it's greater than 256 than finally copy it into an array of bytes.... Here is the code..
    //CODE//
    NewIPAddress = ipText.getText();// Consider this for now as "10.1.1.127"
    int x=0, y=0, i=0, z=0;
    boolean error=false;
    String IPString;
    byte[] buffer = new byte[4];
    int byteVal;
    do
    x=NewIPAddress.indexOf(".",z);
    // This should get the first occurance
    // in the third round it gives the
    // wrong value i dont know why....
    // If there is no occurance it returns
    // -1
    if(x!=-1)
    IPString = NewIPAddress.substring(y,(x+z));
    // I get the value one
    // by one 10, 1, 1 ,127
    byteVal=Integer.parseInt(IPString);
    buffer=(byte)byteVal;
    z=z+x;
    y=z+1;
    i++;
    if(byteVal>256)
    //If each value is greater than 256 then it's
    //an error
    JOptionPane.showMessageDialog(null,"Not a valid IP format","Error",JOptionPane.ERROR_MESSAGE);
    break;
    else
    error=true;
    while(!error);
    //CODE//
    If u have a better way of doing it or if u know why the third error is please let me know, i'll appreciate that...

    Use a StringTokenizer (java.util.StringTokenizer) in stead, and specify '.' as the separator char:
    import java.util.StringTokenizer;
    public class Test
         public static void main( String[] args ) throws Exception
              byte[] bytes = createIpAddressArray( "10.1.1.127" );
              System.out.println( "Byte 1: " + bytes[0] );
              System.out.println( "Byte 2: " + bytes[1] );
              System.out.println( "Byte 3: " + bytes[2] );
              System.out.println( "Byte 4: " + bytes[3] );
         public static byte[] createIpAddressArray( String ipAddress ) throws Exception
              byte [] result = new byte[ 4 ];
              StringTokenizer ipTokens = new StringTokenizer( ipAddress, "." );
              int counter = 0;
              while( ipTokens.hasMoreTokens() )
                   int ipPart = Integer.parseInt( ipTokens.nextToken() );
                   if( ipPart < 265 && ipPart >= 0 )
                        result[ counter++ ] = ( byte ) ipPart;
                   else
                        throw new Exception( "Bad IP address." );
              return result;

  • TypeError: Error #1010

    Hi, I am building a website for class and I got this error and can't figure out what is wrong in the coding:
    characters.swf
    TypeError: Error #1010: A term is undefined and has no properties.
              at TeamFortress2_mainpage_fla::lower_nav_7/buttonClick()[TeamFortress2_mainpage_fla.lower_na v_7::frame1:11]
    This is my coding:
    function buttonClick(event:MouseEvent):void
              gotoAndStop(event.target.name);
              characters.enabled = true;
              about.enabled = true;
              video.enabled = true;
              item.enabled = true;
              contact.enabled = true;
              event.target.enabled = false;
              trace(event.target.name + ".swf");
              (root as MovieClip).myLoader.load(new URLRequest(event.target.name + ".swf"));
    characters.addEventListener(MouseEvent.CLICK, buttonClick);
    about.addEventListener(MouseEvent.CLICK, buttonClick);
    video.addEventListener(MouseEvent.CLICK, buttonClick);
    item.addEventListener(MouseEvent.CLICK, buttonClick);
    contact.addEventListener(MouseEvent.CLICK, buttonClick);

    myLoader is defined?
    MovieClip(root).myLoader.load(new URLRequest(event.target.name + ".swf"));
    or try usin parent to find it
    MovieClip(parent.parent.parent).myLoader.load(new URLRequest(event.target.name + ".swf"));

  • ISync Error Message "you can't modify a record that doesn't exist...."

    "[ISyncConcreteSession pushChange:]: you can't modify a record that doesn't exist: <ISyncChange 0x3215870>{ modify record id 'BE86E203-EC1F-4F3E-A2F2-180EC5FA5210'
    set com.apple.ical.type = local
    set title = Unfiled }"
    I have 2 macs connected to the .mac sync and until recently the flow of info between them (mostly iCal) has been smooth. Now it appears to not be working.
    thoughts? thanks.
    --Kevin

    wrong forum, sorry.

  • How to deauthorize a computer , that doesn't exist anymore?

    I unisnstalled windows , and for some reason when i inserted my ipod to the freshly installed windows+itunes , and logged on my account , iTunes said , that its a new computer and asked me to authorize it , and so i did.
    My question is: how can i deauthorize my old version of windows , that doesn't exist anymore?
    I also have another question in this topic : When i want to buy items from itunes from a new device , it asks for my bank card number , and takes 1-2 dollars from it. Is this ok?

    Take a look at this Apple support article; it may help:
    One computer using multiple iTunes Store authorizations
    When i want to buy items from itunes from a new device , it asks for my bank card number , and takes 1-2 dollars from it. Is this ok?
    I'm not sure what you mean by this. What "items"? If you are referring to music, videos or movies, you get only one download per purchase, so if you buy the items again, whether from another device or the same one, yes, you will be charged again. Only apps allow redownloading without additional charge.
    Regards.

  • ICloud has my old Apple ID and is prompting for a password, but I want to put in the new id, I can't because it is grey and there is no edit option.  I'm prompted for a password to an account that doesn't exist

    iCloud has my old Apple ID and is prompting for a password, but I want to put in the new id, I can't because it is grey and there is no edit option.  I'm prompted for a password to an account that doesn't exist.  Anyone know what I can do to fix this or why this is happening.?  I had no issue putting in my new Apple ID everywhere else, I could sign out of the old and inactive account and then sign back in using my new and proper one.  However, after the update to 7.3 it did a whole welcome to yr iPad and a set up thing and it went to set up iCloud and had my old Apple ID in grey where I can't change or edit it, it wants the password, when I put in the old password, it say yr Apple ID is incorrect but yet it won't let me change it??????? Anyone???

    Sign out and back into your apple id from Settings>iTunes and App stores>(Your apple ID)>Sign Out and then sign in again with the new address. Close app store from running in the background (or restart the phone if your unsure how to do this). If when trying to update any apps they are still asking for the old apple ID, delete and re-install those apps.

  • When I set up my iPhone, I accidentally put in an apple ID that doesn't exist. Therefor, I don't know the password and can't delete my account from iCloud. Can anybody help?

    When I set up my iPhone, I accidentally put in an apple ID that doesn't exist. Therefor, I don't know the password and can't delete my account from iCloud. I was trying to sync my contacts to my iPad and now it's not possible without iCloud on my phone. Can anybody help?

    Have you tried changing the admin password in System Preferences > Users & Groups > Password   ??
    The Apple ID that is associated with your admin password is noted there.
    message edited by:  cs

  • Warning for code that no longer exists

    I got a compiler warning so I removed that line of code,
    recompiled and the warning still shows up.
    I tried restarting the Flex Builder and I am still getting
    the warning for the line of code that does not exist any more. Is
    there a way for me to clear this?
    Thanks!
    Dana

    Did you try the 'clean' project option. I'm not sure what
    that is
    really for and when one really needs to use it, but it is the
    first
    thing I try when weirdness happens.

  • How to I get rid of an "Open With..." option that doesn't exist?

    I've tried to find out how to remove an element of the "Open With..." options but don't seem to be getting much traction. I have an old application listed in the "Open With..." pull down menu that doesn't exist anymore, but when I select the file, using command-i, to change which application opens the file, it works for that file. I want to change association using the "Change All" button, but when I do that, the "dead" application becomes the default application again and I'm back to square one. Is this fixable? How do I get rid of the useless option? Will I have do do this for each file?

    your link gave me a good starting place...
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -R -all -domain local -domain system -domain user
    this seemed to do the trick... I would have never have solved this without your suggestion.
    thanks.

  • Just published a new site to an FTP server and I got a 404 error message saying the site doesn't exist. When I retype the name of the site, I get a page from my hosting service saying this is the future home of [my site]. Any ideas?

    Just published a new site to an FTP server and I got a 404 error message saying the site doesn't exist. When I retype the name of the site, I get a page from my hosting service saying this is the future home of [my site]. Any ideas?

    Hi roddy,
    thanks for responding. I read your link, looked at my settings and they were all correct. I tried to do a republish and got this message: The requested URL /childrenandcaring/index.html was not found on this server.
    When I type the address in the address bar, I go to the site and the page says: This is the new site childrenandcaring.com
    Any other ideas?
    Suzanne

  • Hello, I got a new computer with the old harddisk. Can't play my itunes music because not authorised. Apple ID is very old e-mail adress that doesn't exist anymore. When chose for secret question brth date seems wrong. Can't reach anyone!!!

    Hello, I got a new computer with the old harddisk. Can't play my itunes music because not authorised. Apple ID is very old e-mail adress that doesn't exist anymore and I forgot the password (5 years old??). When chose for secret question birth date seems wrong. Tried everything. I need to make a new apple-id but cannot connect the music that I bought under my old name to my new name. Can't reach anyone!!! Automatic FAQ system is of no help. What to do?

    That doesn't help me. For itunes it brings me to the express lane which doesn't help because my case is not in it. It's all standard procedure things. I understand those but my situation is different. The combination of a passport forgotten and an non-existing email adress (and birth dates that are not correct or not accepted). What I need is my password emailed to another email adress than the original one because that no longer exists.

  • Paid with a credit card that doesn't exist :S

    Hello,
    I think I have a problem.
    When I first started with Itunes I didn't liked the idea of filling in my creditcard nummer.
    I just answerd a number like 12345678 now I thought I already had changed the number into my own credit card so I bought a song.
    Later I saw that I bought it with the credit card that doesn't exist...
    How can I pay my song now?
    Melissa

    Romania
    0800 894847
    Contact Apple for support and service
    http://www.apple.com/ro/support/
    Or try by a chat
    https://getsupport.apple.com/Issues.action

  • IPhone 5 shows data in Photos that doesn't exist.

    iPhone 5 shows data in Photos that doesn't exist.
    iPhone 5, 16GB running iOS 8.1.2.  Service through Verizon. iCloud Photo Library (Beta) is off. My Photo Stream is off. iCloud photo sharing is off.
    Under "About" in settings it says there are 32 Videos and 429 Photos on the device with a capacity of 12.6GB and 7.0GB available.
    Normally, I used to import photos and videos from Preview and manually delete them on the phone, until I realized this could also be done in Image Capture with the ability to delete all of them with one click, which is what I did this time (I have done it through Image Capture at least once before).
    I've tried in this order:  Creating an empty folder and syncing to it through iTunes.  That didn't work, so I created a backup on iTunes, completed the "Erase All Content and Settings" option on the phone and then I restored from that backup.  Still no luck but I'm wondering if I just saved the issue in the backup and restored back to it.  I really don't want to do a complete erase and start over, but if there are no other options I will try it.
    Ideas? Thanks in advance.
    EDIT: Photo shows iPhone in iTunes after restore.

    I tried this and it did work for me! It was on a separate posting.
    Good luck!
    scabthepoetMar 15, 2015 2:00 PM Re: My iPhone 5 camera roll is empty, but under usage says 3.1GB - how can I delete?
    Re: My iPhone 5 camera roll is empty, but under usage says 3.1GB - how can I delete?in response to armccoyHelpful
    I've been searching for an answer to this very problem for a solid day. Here is what I did that worked for me. No reset. No need to upgrade to more Cloud storage or anything else. I had already deleted out every picture from my phone, including "Messages" and the "recently deleted" album, etc. There really are phantom pictures in there, but the only way to see them and delete them is to:
    Go to Settings
    Date & Time
    Untoggle "Set Automatically"
    Manually change the date back. For example, if today is March 15, 2015, choose August 1, 2014. (You can change it back once we're done)
    Close out of that
    Open "Photos"
    Select "Albums"
    If, like me, you had already cleared out everything from the Camera Roll and "Recently Deleted" folder, you'll smile to see that your "Recently Deleted" folder now has thousands of images back. Those are your phantom photos
    Open it, "Select" and start deleting
    Now, go back into Settings - General - Usage - Storage - Manage Storage - and you'll notice your Photo & Camera is empty if you deleted everything
    I hope this works for everyone and that I saved you all the time I wasted searching for an answer myself -- only to never find one. Now you have the answer.
    I went from barely having any room left on my phone to almost brand new again.
    Take care.

Maybe you are looking for