
Welcome Guest
|
#1
|
|||
|
|||
|
sending variable to button
Hello there i have a loop statment that duplicates a movie clip with a button in side of it. My question is how do i send a variable to the buttons i've tried to do it this way:
Actionscript:
for (i=0; i<arrImage.length; i++) {
duplicateMovieClip("thumb", "thumbN"+i, i);
this["thumbN"+i].thumb_motion.containerMc.loadMovie("../images/pic_"+arrImage[i]+".jpg");
this["thumbN"+i].thumb.BT.x = i;
}this["thumbN"+i].thumb.BT - address of button x - variable i want trace in button i don't know what i'm doing wrong but i need to fix this soon, if anybody out there have an idea it would be appreciated. thx |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to set a variable value in button action and use outside button | ayodhyawasi | Newbies |
0 | 04-23-2011 02:37 PM |
| 2D Physics Engine | Scottae | Members Cafe |
11 | 07-24-2008 04:36 PM |
| sending variable "mypage.php?var_id=var" FROM PHP TO FLASH | taurus5_6 | Web Platforms - PHP, JSP and .NET | 1 | 11-13-2007 07:31 AM |
| how to have on/off variable with only one button ? | lmattle | General Flash | 7 | 02-04-2005 01:15 PM |
| Sending a variable to a new window | ZedTheHead | Client Side | 6 | 03-06-2003 08:26 AM |




