|
|
|||||
Topic, Question : | ||||||
| ||||||
You must register or log in to post a message.I have some sprites, I want some to go underneath others. the setChildIndex isn't really working. can someone help? B)ArrayName[number of item] 2 New Questions... A) How do I make an input textField go onto the next line when It reaches the end? (.multiline doesn't work...) B) How I access an item from an array at a certain position? function checkforclick(event:MouseEvent) { vis=!extraInfo._visible if(vis) moreCodes.text="Hide" else moreCodes.text="Show" extraInfo._visible=vis } also, for char count, its in the properties tab at bottom of screen... PROBLEM: I can only click it and hide it once. help? Also, how do I restrict a textfield to 1 character? I need help with the actual calculation part of the code, can you help? inputBox.restrict="0-9" change "0-9" to "0-9." to allow decimals btw, deleting items isnt as easy, use array.splice(n,1) to remove nth item(0 is first item) list=[] =n*n*2 } if you want values 1 to 10, set n to 1 and the middle bit to n<=10 primeList=[] =prime =prime } } oh and also, tracing primeList has the same affect as tracing primeList.join() for (var myList.int=1;myList<10;*My forumla*) //to generate the first 10 numbers,? trace(list.join()) //traces 2,abc,5.9 formulas are calculated then the number is put in also, what about formulas? say... N^2 + 10 and to get the 5th value, use list[4] (NOT 5, 4) And how'd i make it say a certain number from a list, like 'the 5th number in the list'? you could also call something like list.join(" ") to have each item seperated by spaces, "/n" for each item on its own line, and so on...just using join() seperates items using a comma |
the one you need to be underneath
add them first to the screen. That's how I do it :p