Solved

Generate dynamic button and action script

Posted on 2003-11-04
3
146 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
3 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 125 total points
ID: 9680170
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now