Solved

Generate dynamic button and action script

Posted on 2003-11-04
3
151 Views
Last Modified: 2010-04-03
Hi experts
I am working in one website on which i need to create dynamic buttons and want to add action scripts to those dynamic buttons. But i am facing one problem that if i use duplicatemovieclip() function i am not able to distinguish the buttons and also if i write some code in first button it will valid for all. so how to distinguish them, is my problem.
What i have done : 'on release' event of button, i use 'for loop' to create 9 more buttons from 2 to 10. To create these i use
duplicateMovieClip("B1","B" +i,i). Do i need some different coding.
 
thanx
0
Comment
Question by:Devinder Singh Virdi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 125 total points
ID: 9680170
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question