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 8789667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:28:25+00:00 2026-06-13T22:28:25+00:00

I am using Adobe Flash Builder 4.6 and trying to create , add and

  • 0

I am using Adobe Flash Builder 4.6 and trying to create, add and addEventListener to objects that i created dynamically, in as2 i was doing it by:

for(i=0;i<10;i++){
    abc[i]doSomeThing;
}

How it is in actionScript 3? I searched it much and found nothing, so any help would be greatly appreciated.

  • 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-06-13T22:28:26+00:00Added an answer on June 13, 2026 at 10:28 pm

    you have to use AS3.0 in flash

    for(var i:int=0;i<10;i++){
    
      abc[i].addEventListener(MouseEvent.CLICK,doSomeThing);
    
    }
    
     function doSomeThing(event:MouseEvent):void
    {
       switch(event.target)
    {
        case abc[0]:
        //statements for object 1;
        break;
        case abc[1]:
        //statements for object 2;
        break;
        '
        '
        '
        '
        '
        '
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to render a webpage using the Adobe Flex / Flash builder
I'm using Flash builder, with flex 4 sdk and am trying to create a
I have a column chart that I made using Adobe Flash Builder. I'd like
I am currently using the latest verion of Adobe Flash Builder to create a
This is my first time doing mobile development with twitter. I'm using Adobe Flash
I'm trying to build an Adobe Air app not using Flash but HTML5. I
How to compile your flex (Flash Builder) application for Iph*ne Using Adobe Flash CS5?
I am trying to create a very basic flash game, using Tom Krcha's P2P
I built a facebook apps from an tutorial with using adobe flash builder 4.5
I have a project written in ActionScript 3 using Adobe Flash Builder 4.5. It

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.