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

  • SEARCH
  • Home
  • 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 6694357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:05:32+00:00 2026-05-26T06:05:32+00:00

When you click a circle it should double in size. However I get the

  • 0

When you click a circle it should double in size. However I get the error:

ReferenceError: Error #1065: Variable TCMText is not defined.

I think it’s because I selected both the text and circle and made the selection a single symbol. Does anyone know how to combine a shape and symbol together without getting this error message?

enter image description here

import flash.events.MouseEvent;

circOne.addEventListener(MouseEvent.CLICK, doubleSize);
circTwo.addEventListener(MouseEvent.CLICK, doubleSize);
circThree.addEventListener(MouseEvent.CLICK, doubleSize);

function doubleSize(event:MouseEvent):void{
    e.currentTarget.scaleX=2;
    e.currentTarget.scaleY=2;
}
  • 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-26T06:05:32+00:00Added an answer on May 26, 2026 at 6:05 am

    Besides that runtime error, you are getting Compiler errors, fix your code as @recursivity said:

    function doubleSize(e:MouseEvent):void
    {
        e.currentTarget.scaleX=2;
        e.currentTarget.scaleY=2;
    }
    

    Check the “Compiler Errors” tabs, and if you are getting any, you can pretty much ignore any further output and behavior you get from your Flash.

    EDIT: There is absolutely nothing wrong on selecting many different elements together and then making them (or “combining”) into a Symbol (MovieClip).

    The reason you are getting a runtime ReferenceError AFTER a compiler error (which is a very weird behavior) is because you are using TLF textfields, check this thread on the adobe forums for more information. My advice, for the sake of simplicity, is to switch to Classic Text textfields (There is a dropdown selector in the TextField properties panel, TLF is by default on Flash CS5+).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need to get multiple circle images when i click button. and i done
I have a JPanel which has a line, circle, etc. Now when I click
hi everyone ive got quite an error here it seems like c++ is not
what's the element name in the green circle? Whta's the event corresponding to click
The following code should draw text 0 - 23 around a circle, as in
I'm a newbie in flash. I want to click a circle to show a
I would like to draw a simple circle and move it to the defined
Click here to see what I mean.. What could prevent these two from sitting
Click on this link , you will be redirected to a shopping site. On
The 'click sound' in question is actually a system wide preference, so I only

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.