Re: [Flashcoders] How to serialize key events?

2006-05-16 Thread Ron Wheeler
What kind of object do you need to save? The nice thing about this approach is that you can create any object that you need and put it in the queue. If you only need a list of buttons pressed, you can have a very simple object. If you need to include internally generated events, you may need

Re: [Flashcoders] How to serialize key events?

2006-05-15 Thread Ron Wheeler
You might try reading the Java class documents to see what is special about Vectors as opposed to Arrays in Actionscript. The code is pretty simple. Have you tried to code and test it under ActionScript? It looks like you add objects to a list and take the first one off the list. It provides

Re: [Flashcoders] How to serialize key events?

2006-05-15 Thread black59mga
Ron, Thanks very much for your response. You asked What is wrong with this?. Probably nothing.. Just lack of experience on my part. The class is now actionscript. I'm trying to figure out what's the right kind of Object to pass to the insert(obj:Object) method. Thoughts? Thanks! The class:

RE: [Flashcoders] How to serialize key events?

2006-05-15 Thread Scott Hyndman
The array class does not have addElement or removeElement methods. Read the docs for push and splice. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of black59mga Sent: Mon 5/15/2006 6:16 PM To: Flashcoders mailing list Cc: Subject:Re: [Flashcoders] How

RE: [Flashcoders] How to serialize key events?

2006-05-15 Thread black59mga
oops! you are correct. Thanks Scott Hyndman [EMAIL PROTECTED] wrote: The array class does not have addElement or removeElement methods. Read the docs for push and splice. Scott - New Yahoo! Messenger with Voice. Call regular phones from your