LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-04-2005, 02:22 PM
jivex jivex is offline
Registered User
 
Join Date: Mar 2005
Posts: 4
Rep Power: 0
jivex is on a distinguished road
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
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 11:55 PM.