
Welcome Guest
|
#1
|
|||
|
|||
|
hello. i'm just an actionscript beginner so sorry for dumb question...
i'm trying to use an array of my own classes. the class is called hostitel works well - i have tested it. the array is called hostitelia the definition is this: var hostitelia:Array; hostitelia[1] = new hostitel(hostitel1,10); hostitelia[2] = new hostitel(hostitel2,10); hostitelia[3] = new hostitel(hostitel3,10); so far works well - the initial procedure runs. problem comes here: hostitelia[10].posun(); there's no error message, however, the function posun() won't run if this way of defining an array of class is wrong, what is the right way than? thanks! |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Understanding Class: Assigning to MC is easy. How to use for array? | freaksarise | Flash CS5 |
2 | 05-17-2011 12:46 AM |
| deleting array in custom class from main swf | paulcybulski | Actionscript 2.0 |
0 | 01-29-2008 02:37 PM |
| Help with a Tough Array Randomization/Shuffle Problem | TheMediaBoy | Actionscript 2.0 |
10 | 07-21-2006 09:05 AM |
| Waiting in a class | chrscote | Flash MX 2004 |
0 | 05-01-2006 04:27 PM |
| Resetting a class starting new module | cotec | Flash MX 2004 |
0 | 05-12-2005 04:51 PM |

Programming Languages



