Solved

Generate dynamic button and action script

Posted on 2003-11-04
3
145 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

758 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