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
Solved

Generate dynamic button and action script

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

856 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