Hi, I have this buttons dynamically generated, this is the ccode:

stop();

var menus = new Array ();
menus = ["Results of using POA","Previous steps to POA", "How do we apply POA", "What is POA"];
trace(menus.length);

for (i=0; i<menus.length; i++){
         var newButtons = menus[i];
var buttons = this.attachMovie("buttoms",newButtons, this.getNextHighestDepth());
         trace(buttons);
         buttons._x=0;
        
         buttons._y=-10*i*4;
        var newText = buttons.poa.text=menus[i];
         buttons.onRelease = function(){
                tellTarget(_root.screenTxt){
                        gotoAndPlay("menus[i]");
                }
         }
}

the problem is once It starts to use the goto and play to other movie clip which has flags in some frames where it starts loading a .text into a text field using loadVars, well then the odd thing happens, the first time I clicked, it shows the text, but then when I click the buttons randomly, the text loads without any order, I mean it loads the text from one to the other...do you know why?

And by the way if a text field is inside a movie clip the scrollBar component appears not to load properly...is not even working...why?



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to