Type error #1010 PLEASE HELP!!!!

Hi I'm trying to create a website  in flashcs5 for a class project. Inside the project i have a movie clip  which contains my menu buttons and I've placed that movie clip on the  main timeline in scene1. I've used action script to link the buttons  from the mc to the main timeline. All the buttons are working except the  button "recommended". I keep getting this error:
TypeError:  Error #1010: A term is undefined and has no properties.
    at  dreamcatcher_fla::MainTimeline/frame1()
Here is the code  in the actionscript:
Object(root).menu_mc.dreamcatchers_btn.addEventListener(MouseEvent.CLI  CK, fl_dreamcatchers);
function  fl_dreamcatchers(event:MouseEvent):void
     gotoAndPlay("dreamcatchers");
Object(root).menu_mc.legend_btn.addEventListener(MouseEvent.CLICK,  fl_legend);
function fl_legend(event:MouseEvent):void
     gotoAndPlay("legend");
Object(root).menu_mc.objiwe_btn.addEventListener(MouseEvent.CLICK,  fl_objiwe);
function fl_objiwe(event:MouseEvent):void
     gotoAndPlay("objiwe");
Object(root).menu_mc.lakota_btn.addEventListener(MouseEvent.CLICK,  fl_lakota);
function fl_lakota(event:MouseEvent):void
     gotoAndPlay("lakota");
Object(root).menu_mc.recommended_btn.addEventListener(MouseEvent.CLICK  , fl_recommended);
function  fl_recommended(event:MouseEvent):void
     gotoAndPlay("recommended");
Object(root).menu_mc.basic_btn.addEventListener(MouseEvent.CLICK,  fl_basic);
function fl_basic(event:MouseEvent):void
     gotoAndPlay("basic");
Object(root).menu_mc.advanced_btn.addEventListener(MouseEvent.CLICK,  fl_advanced);
function fl_advanced(event:MouseEvent):void
     gotoAndPlay("advanced")
I've double and  triple checked all the instance names and there are no problems. The  code for recommended is exactly the same as for all the other buttons so  I don't understand what's going on. I need to get this project done so  if anyone can help me I'd really appreciate it!!!

Hi Aqua0315,
programming on timeline is tricky:) especially with such "monsters" like this:
Object(root).menu_mc.basic_btn.addEventListener(MouseEvent.CLICK,  fl_basic);
are you sure that by the time above code executes menu_mc exists with basic_btn? To help you debug do:
wrap each of the "addeventlistener" line you have with try catch block as in following example:
try
Object(root).menu_mc.basic_btn.addEventListener(MouseEvent.CLICK,  fl_basic);
catch(err:*)
     trace("ERROR#1");//
change "#1" to whatever you like but unique for each block then in output you will have better indication to where the problem occures,
best regards

Similar Messages

  • Wrong Operand Type Error Message - please help

    I have built a form and I keep getting the message - Wrong Operand Type every time I either try to preview or save to PDF as the file suddenly becomes 90% blank (I can see the content boxes for any date fields in the form and if I click the highlight fields option I can see place holders for all of the content) but other than that it wont process properly. I have tried going through the document and made sure that item by item the fields are all inline with each other, have the same fonts, etc. I even tried deleting out every single item in the form, previewing it, then placing that item back in and moving on to the next to try a process of elimination to see if I could figure out what item(s) were causing the problem, but still no luck.
    Please help.
    CG

    I, too, am having this error message. I read somewhere that it is either because of the font Helvetica Nueue, or because the files is being shared between a PC and a Mac. The quickest fix I have found, is to take the pdf and open it in Illustrator and convert all the text to curves. Then it should work correctly.
    I don't think anyone has found a definitive answer.
    thanks

  • Oracle/java timestamp data type error.. please help

    Im having trouble with a SQL query of mine. Im trying to get a timestamp using JDBC from an oracle database however i get the following error:
    java.sql.SQLException: ORA-00932: inconsistent datatypes: expected %s got %s
    Now when i put the java.util.timestamp into the DB it appears to change.
    When I printout the value of the timestamp in my console it prints the following:
    07-06-26 17:28:09.414
    When i check the value from SQL PLUS it gives me this value
    07-06-26 17:28:09,000000
    Does anyone have any idea why this happens? and more importantly how I can retrieve the timestamp again.
    Im using BEA workshop which means i dont have any means of manipulating the data before presenting to the frontend.
    The database is Oracle 9.2.0.1

    user582245,
    Please provide the following:
    1. Entire error message and stack trace you are getting.
    2. Part of your code where the error occurs.
    3. JDK version you are using.
    4. Oracle data-type of the problematic column.
    Good Luck,
    Avi.

  • Beginner: type error #1009 Please Help!

    I'm creating my first flash site in CS4 and I'm getting this message in the output window when I test my movie:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Portfolio_fla::MainTimeline/frame273()
    Portfolio.fla is the name of my flash file. Anyone know what this means?
    I have only very simple code at frame 273:
    stop();
    bHome.addEventListener(MouseEvent.CLICK, goHome);
    function goHome(evt:Event) {
    this.gotoAndPlay("home");
    bPortfolio.addEventListener(MouseEvent.CLICK, goPortfolio);
    function goPortfolio(evt:Event) {
    this.gotoAndStop("confluence");
    That's it. The bHome button works if I just have that code by itself, but when i add the bPortfolio code, I get the #1009 error when I test the movie.
    Thanks in advance for any help! I'm so frustrated and lost.

    Just so you have an idea of what the 1009 error represents... the 1009 error indicates that one of the objects being targeted by your code is out of scope.
    This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with different names assigned.
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

  • I have windows 64 and trying to download itunes 10.5, it start downloading but then after it`s almos finish i have a window pup up with error Microsoft ft VC80.CRT,type="win32" etc.Please help.I have windows 7 64

    I have windows 64 and trying to download itunes 10.5, it start downloading but then after it`s almos finish i have a window pup up with error Microsoft ft VC80.CRT,type="win32" etc.Please help.I have windows 7 64

    same here.

  • It says "error 7, windows error 127" Please help

    It says "error 7, windows error 127" Please help

    I tried that, got this error:
    An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32".version="8.0.50.727.6195".publicKeyToken="1fc8 b3b9a1e18e3b".processorArchitecture="x86". Please refer to help and Support for more information. HRESULT: 0x8007422.
    Please help!

  • WWS-32136 UTL_HTTP error. Please help

    Hello,
    I am trying to get all content area content
    to show up inside the folder(or area). When I want to get WebDB reports or external sites
    to display within the content area, I get
    a utl_http error. Here is what I did:
    1. Create a Content Area
    2. Create an item or type URL
    3. Check the "link displays item in folder area" as the display options attribute.
    When I click on the link, webdb reports take
    up the entire page, while external url or
    external apps (like giving a link to www.oracle.com) ends up giving me a utl_http error.
    Please help !!
    Sanjay

    Sanjay
    Did you review the looking at the troubleshooting guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
    Seaching this page using the keyword 'utl_http' returned a likely solution:
    Cause: This is most likely happening because of a bug in the UTL_HTTP package that shipped with early versions of the Oracle 8.1.6 database on Windows NT.
    Solution: You must download and install the 8.1.6.2 patch from http://metalink.oracle.com (click patches, and then select "product: Oracle Server - Enterprise Edition", "platform: MS Windows NT"). You must be registered to use Metalink.

  • JSP error? Please help!

    JSP error? Please help!
    I am new to JSP, I got a project using jsp. So I tried something very simple, when I try to execute .jsp, I got the following error msg:
    Request URI:/ifs/jsp-bin/ifs-cts/stringjavajsp.jsp
    Exception:
    oracle.jsp.parse.JspParseException: Line # 9, Error: Unable to find class for bean: stringjsp defined by tag with class: strbuffer
    the part of .jsp as following:
    <%@ page import = "strbuffer" %>
    <%! String errString; boolean validation=false;%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>string manipulation</title>
    </head>
    <jsp:useBean id="stringjsp" scope="page" class="strbuffer" />
    <%
    String String1=request.getParameter("string1");
    String String2=stringjsp.stringappend(String1);
    %>
    The .java code as following:
    import java.lang.*;
    import java.util.*;
    public class strbuffer {
    public String stringappend(String string1) {
    String i=string1;
    StringBuffer j=new StringBuffer(i);
    j.setCharAt(2,'x');
    j.insert(5,'k');
    j.append("zzz");
    i=j.toString();
    System.out.println("the changed string is "+i);
    return i;

    Or maybe you've compiled your Bean class with the wrong package declaration. And make sure that you've compiled it with a directory structure matching your declared package.

  • My ADE is having an activation server error. Please help.

    My ADE is having an activation server error. Please help.

    If due to some reason, you are unable to deauthorize ADE, follow the below steps:
    Note: Try these steps only if you remember the password so that you can authorize ADE again
    1.Go-> Go to folder.
    Go to folder dialog will appear.
    2. Type   ~/Library/Application Support/Adobe/Digital Editions
    drag the activation.dat file to the trash.
    ADE will be deauthorized now.
    Now Authorize ADE again.

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

  • HT1918 I do not see None option in the payment type section. Please help to remove my credit card information from apple account.

    I signed into my apple account by iTunes and try to remove credit card information. However, I do not see None option in the payment type section. Please help.

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Can't install Adobe Flash player ERROR. Please help

    I tried to download the update of Adobe Flash Player BUT every time I try to download it... Look at the screen shot. ERROR.
    Please help me I am really happy if someone here can help me.

    Hello,
    The log file indicates there are permissions issues on a couple of files and they are not being removed.  This is preventing the installation of the new version.  Please run the uninstaller, posted here Uninstall Flash Player | Windows, and post an updated FlashInstall.log file, and a screenshot of the files remaining in the /Macromed/Flash directory after running the uninstaller.  Please only run the uninstaller and do not attempt to re-install at this time.
    Thank you.
    Maria

  • After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    Have you tried to reboot your phone(hold home and lock button simutainiously)?

  • Error 1001 - please Help!

     I am going crazy!  the software update keeps on displaying the error code 1001.
    I've been trying to activate my tablet since saturday, but it won't let let... it keeps on informing me of the unknown error!@
    please help!

     I am going crazy!  the software update keeps on displaying the error code 1001.
    I've been trying to activate my tablet since saturday, but it won't let let... it keeps on informing me of the unknown error!@
    please help!

  • My iPod is jailbroken and does not work. It is now in DFU mode. It doesnt let me fix it When I restore it, it says error 3194.Please Help

    It is now in DFU mode. It doesnt let me fix it When I restore it, it says error 3194.Please Help me!

    Go elsewhere. JB voids the Apple warranty and means you will get no support from Apple, including from this Apple forum.

Maybe you are looking for