You will write a basic function that will be used to display the contents of 'nomSelectionne' in a label that we will create later. It will be called 'changerNom' and will receive a parameter of type String 'changerPour' which will be assigned to the variable 'nomSelectionne'. I hope you get something that looks like this:
Code:
private function changerNom(changerPour:String):void
(
/ / Replaces the name displayed by the new value
nomSelectionne = changerPour;
)
After that, we're done with ActionScript. It remains only to create the components to run everything fine ActionScript.
Bookmarks