Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7628993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:43:21+00:00 2026-05-31T05:43:21+00:00

Most of this is working and even with the error, it continues to work

  • 0

Most of this is working and even with the error, it continues to work in part:

// Make PostItNote MC draggable and keep ON TOP
mcMXredBox.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag);

var q:int = 1;

// Add multiple copies of PostItNote when used
function fl_ClickToDrag(event:MouseEvent):void
{
    event.currentTarget.parent.startDrag();
    event.currentTarget.parent.parent.setChildIndex(DisplayObject(event.currentTarget.parent),87);
    var my_PIN = new postItNote();
    my_PIN.name = "my_RTC" + q; // Doesn;t like this line
    this.parent.addChild(my_PIN);
    trace("my_PIN = " + my_PIN);
    this.my_PIN[q].x = 1388.05; // Doesn't like this line
    this.my_PIN[q].y = 100;
    q++;
}

The error is

TypeError: Error #1010: A term is undefined and has no properties.
    at postItNote/fl_ClickToDrag()[postItNote::frame1:71]"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:43:23+00:00Added an answer on May 31, 2026 at 5:43 am

    my_PIN.name = “my_RTC” + q; // Doesn;t like this line

    This means that name is not a property of the postItNote class.

    this.my_PIN[q].x = 1388.05; // Doesn’t like this line

    You seem to be using the wrong syntax here. What you want is probably just:

    my_PIN.x = 1388.05; // In this context, my_PIN already refers to the movie clip named '"my_RTC" + q'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on this problem most of the morning and I think I
I am having this most annoying issue when I try to rebuild my solution
As we do this most of the time to increase the Maximum execution time
I'm new to most of this so forgive me if I'm doing something really
This is most likely not an easy one but here is the situation: I
I know this is most-likely a simple question but when you restore a database
This is actually a non-critical question, but I get this warning most of the
I'm pulling in xml using the cocoa NSXmlParser. Since this process most likely won't
This might be the most stupid thing i've ever seen, i had a broken
This may be for most languages in general, but I'm not sure. I'm a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.