473,466 Members | 1,296 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Display boxes in random order

13 New Member
i have 30 text boxes as shown below and each of them contain different numbers. i want to display them randomly. any help please?

Jun 12 '07 #1
7 2110
Motoma
3,237 Recognized Expert Specialist
Okay, what do you have for code so far?
Jun 12 '07 #2
awais1989
13 New Member
Okay, what do you have for code so far?
i just want to display text randomly this can be done by displaying text boxes randomly or by displaying random text in each box but i don't know how to do pls let me figure it out
Jun 12 '07 #3
Motoma
3,237 Recognized Expert Specialist
i just want to display text randomly this can be done by displaying text boxes randomly or by displaying random text in each box but i don't know how to do pls let me figure it out
I would go about doing this by creating a movie clip for each box, and give it a dynamic text field. Then, when you instantiate the movie clip, have the text field get assigned a random number.
Jun 12 '07 #4
awais1989
13 New Member
I would go about doing this by creating a movie clip for each box, and give it a dynamic text field. Then, when you instantiate the movie clip, have the text field get assigned a random number.
thanks i got it but how i can assign a random number to while using actionscript?
Jun 13 '07 #5
Motoma
3,237 Recognized Expert Specialist
thanks i got it but how i can assign a random number to while using actionscript?
The standard flash installation comes packages with a fantastic online help and function dictionary, complete with code samples and tutorials.
Math.random() is what you are looking for.
Jun 13 '07 #6
awais1989
13 New Member
The standard flash installation comes packages with a fantastic online help and function dictionary, complete with code samples and tutorials.
Math.random() is what you are looking for.
Oky thanks for ur kind help
Jun 13 '07 #7
Motoma
3,237 Recognized Expert Specialist
Oky thanks for ur kind help
Hope everything works out for you. Come back if you have any problems.
Jun 13 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
7
by: Jean-Francois.Doyon | last post by:
Hello, I'm trying to retrieve a limited number of random rows, and order them by a column, and am not having any luck with that last part: SELECT * FROM tablename ORDER BY random(), id LIMIT...
1
by: Greg Brady | last post by:
How to display result set in random order? Thanks.
2
by: Arnau Rebassa | last post by:
Hi everybody, I'm doing the following query: select * from messages order by random() limit 1; in the table messages I have more than 200 messages and a lot of times, the message retrieved...
2
by: Novice Computer User | last post by:
If you can help me, I'd be grateful. Long story short... I am looking for cut/paste html code (that even a dummy like me can't screw up). Here is what I want: I want a web page to display ten...
19
by: jimatqsi | last post by:
I'm using Access 2000 (and also 2003 with same result) in a Windows XP Professional environment on a peer-to-peer network. Files in this system are relatively small. There are about 1,200 rows in the...
18
by: fishwick | last post by:
I haven't really done any css in quite a while, and am banging my head against the wall trying get the rudimentary layout together of a church website home page to display correctly - I don't want...
12
by: Pascal | last post by:
hello and soory for my english here is the query :"how to split a string in a random way" I try my first shot in vb 2005 express and would like to split a number in several pieces in a random way...
7
by: HSXWillH | last post by:
I am designing an inventory system and am stuck on a potential problem. I have a table of Stock_Catalog containing the following fields: Stock_ID (random autonumber), Full_Desc, Serial, Auto,...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.