Solved

Generate dynamic button and action script

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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 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 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.

627 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