Actionscript HJÆLP IGEN
- Dette indlæg indeholder 4 kommentarer, har 3 deltagere og blev senest opdateret af
Holger-IST- for 13 år siden.
-
Emne
-
Jeg prøver følgende og kan ikke få det til at virke:
Place a text field on the stage, name it’s instance to txt. Select it and press F8 to make it a movieclip, name it textbox. Then delete it from the stage and go to the library, right click on it -> linkage export for actionscript.
this.createEmptyMovieClip(“mcTexts”, this.getNextHighestDepth());
var crtMC:MovieClip;
for ( i = 0; i < 10; i++ ) { crtMC = mcTexts.attachMovie("textbox", "textbox"+i, i); crtMC._x = -120; crtMC._y = -40.0+(i*10); crtMC.txt.selectable = false; crtMC.txt.text = "label"; trace ( " text " + i + ": " + crtMC.txt.text ); } AARGH
Hvorfor lad være ???
Viser 4 kommentarer - 1 til 4 (af 4 i alt)
Viser 4 kommentarer - 1 til 4 (af 4 i alt)
- Du skal være logget ind for at kommentere på dette indlæg.
























