RE: [Flashcoders] >> function - AS2

2007-06-11 Thread James Ford
this.cli_mc.hu_btn.onPress = function() { buttonfunction(); }; Function buttonfunction(){ cli_mc._visible = 0; _root.mtit_txt.text = "Cliniques"; _root.categ_var = "CLINIQUE"; _level41.mar = "cli"; _root.liste(); } -- Move your onPress code into another function, then you c

RE: [Flashcoders] >> function - AS2

2007-06-11 Thread Danny Kodicek
> this.cli_mc.hu_btn.onPress = function() { >buttonfunction(); > }; > > Function buttonfunction(){ > cli_mc._visible = 0; > _root.mtit_txt.text = "Cliniques"; > _root.categ_var = "CLINIQUE"; > _level41.mar = "cli"; > _root.liste(); > } > > -- Move your onPress code into an