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


Prev Previous Post   Next Post Next
  #1  
Old 11-26-2002, 02:14 PM
Ignus_Fatuus Ignus_Fatuus is offline
Registered User
 
Join Date: Nov 2002
Posts: 2
Rep Power: 0
Ignus_Fatuus is on a distinguished road
Question Dynamic text on buttons

Hello!

I have a problem assigning text dynamically to my buttons. I have created the buttons on the main stage with this code:

for (i=0; i<n; i++) {
_root.attachMovie("button", "button"+i, 1+i);
thisbutton = eval("button"+i);
_root.thisbutton._x = 100*i;
_root.thisbutton._y = 100;
}

If I now want to create text for each of these buttons dynamically from a set of variables from a database how should I do that? And what is the code?

Very thankful for help, I tried a lot of things that hasn't worked any good...
 


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
Dynamic Text - change text box variable on click kenisswell Flash MX ActionScript 10 11-01-2005 09:20 PM
dynamic text scroller problem hondo311 Flash MX 0 05-14-2005 05:54 AM
Creting input textfield denizci2000 Flash MX 5 12-15-2004 08:58 PM
Buttons within Dynamic Text mjx5678 Flash MX 5 11-10-2004 11:21 PM
External Text files, buttons and Dynamic Text janna30 Flash MX 5 12-15-2003 02:42 AM




All times are GMT. The time now is 09:06 PM.