Re: [Flashcoders] How to remove bytes from the beginning of a ByteArray?

2010-02-24 Thread Alexander Farber
In my desperation I've asked the same question in a german and a russian forum last night. And where do I find the useful replies in the morning? This mailing list is priceles :-) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Susan Day
On Tue, Feb 23, 2010 at 2:14 PM, Henrik Andersson he...@henke37.cjb.netwrote: Susan Day wrote: Hi; How do I determine what the parent object is of a child I have added and want to remove? Usually, there is only one possible candidate and you know what that one is ahead of time. But

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Henrik Andersson
Susan Day wrote: Ok, I'm embarrassed, but the following doesn't work: addChild(my_obj); trace(my_obj(parent)); Ok, sounds like you need to learn what a property is. I will leave it up to other people to explain such a fundamental thing. Your error is treating my_obj as a Function. It

[Flashcoders] Flash Lite for Verizon

2010-02-24 Thread Kurt Dommermuth
Hi Everyone, I'm sorry if there is a better forum for this type of question, but there are a lot of experienced people here so maybe someone can help. I was told that the last Flash Lite app Verizon accepted for their get it now store was 2 years ago. Is this true? Anyone here

RE: [Flashcoders] Using parent Sprites coordinates

2010-02-24 Thread Lehr, Theodore
Thanks - I will look into it... From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [he...@henke37.cjb.net] Sent: Tuesday, February 23, 2010 4:03 PM To: Flash Coders List Subject: Re:

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Geografiek
Well, You could at least give a hint as to what _does_ work: trace(my_obj.parent); HTH, Willem On 24-feb-2010, at 13:28, Henrik Andersson wrote: Susan Day wrote: Ok, I'm embarrassed, but the following doesn't work: addChild(my_obj); trace(my_obj(parent)); Ok, sounds like you need to learn

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Susan Day
On Wed, Feb 24, 2010 at 8:28 AM, Henrik Andersson he...@henke37.cjb.netwrote: Susan Day wrote: Ok, I'm embarrassed, but the following doesn't work: addChild(my_obj); trace(my_obj(parent)); Ok, sounds like you need to learn what a property is. I will leave it up to other people to

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Geografiek
Susan, Coming from a non-coders background I learned a lot from Colin Moocks books. Essential ActionScript 3 and Actionscript for Flash MX. (the last one is AS2 but very readable if you want an understanding of concepts like variables, properties, methods, functions, arrays etc.) Also

Re: [Flashcoders] Error 1009

2010-02-24 Thread Victor Subervi
On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Das deepanjan@gmail.comwrote: Hey, I have not seen your debugger error. So how do I debug? I downloaded what I thought was the debugger and it was just another copy of Flash! but I feel its the stage that is getting null value. Please trace

Re: [Flashcoders] Error 1009

2010-02-24 Thread Deepanjan Das
Hi Victor, Did u trace within Preloader Class? DD On Wed, Feb 24, 2010 at 7:48 PM, Victor Subervi victorsube...@gmail.comwrote: On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Das deepanjan@gmail.comwrote: Hey, I have not seen your debugger error. So how do I debug? I downloaded what I

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Susan Day
On Wed, Feb 24, 2010 at 9:44 AM, Geografiek geograf...@geografiek.nlwrote: Well, You could at least give a hint as to what _does_ work: trace(my_obj.parent); Thanks. That traced out the name of the class/*.as file, but when I put that value in, as in: MyClass.removeChild(my_obj); it throws

Re: [Flashcoders] Error 1009

2010-02-24 Thread Victor Subervi
On Wed, Feb 24, 2010 at 10:22 AM, Deepanjan Das deepanjan@gmail.comwrote: Hi Victor, Did u trace within Preloader Class? yes. V ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Error 1009

2010-02-24 Thread Deepanjan Das
Are you getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Preloader/init() at Preloader() at test_fla::MainTimeline/frame1() DD On Wed, Feb 24, 2010 at 7:59 PM, Victor Subervi victorsube...@gmail.comwrote: On Wed, Feb 24,

Re: [Flashcoders] Flash Lite for Verizon

2010-02-24 Thread Scott Janousek
Kurt, see below. Contact me for further info. There is way too much history and news to put into one, short, email. :) Kurt Dommermuth wrote: Hi Everyone, I'm sorry if there is a better forum for this type of question, but there are a lot of experienced people here so maybe someone can

RE: [Flashcoders] Error 1009

2010-02-24 Thread Keith Reinfeld
Your code references the stage (to position your textfield) so you need to listen for the ADDED_TO_STAGE event to prevent the null reference. Example: package{ import flash.events.Event; import flash.display.MovieClip; public class Preloader extends MovieClip{

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Geografiek
I don't think a class can have children, only instances of classes can. (skating on thin ice now ;-)) Also I don't know by heart all the error codes. So please, if you refer to an error code give the full text. I bet your trace resulted in something like [object, MyClass], litteraly

RE: [Flashcoders] Flash Lite for Verizon

2010-02-24 Thread Kurt Dommermuth
Thanks Scott, Already your blog looks to be enormously helpful! Kurt -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Scott Janousek Sent: Wednesday, February 24, 2010 9:54 AM To: Flash Coders List

Re: [Flashcoders] Error 1009

2010-02-24 Thread Victor Subervi
On Wed, Feb 24, 2010 at 10:35 AM, Deepanjan Das deepanjan@gmail.comwrote: Are you getting this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Preloader/init() at Preloader() at test_fla::MainTimeline/frame1() Yes, except

Re: [Flashcoders] Error 1009

2010-02-24 Thread Victor Subervi
On Wed, Feb 24, 2010 at 11:01 AM, Keith Reinfeld keithreinf...@comcast.netwrote: Your code references the stage (to position your textfield) so you need to listen for the ADDED_TO_STAGE event to prevent the null reference. Example: package{ import flash.events.Event; import

Re: [Flashcoders] removeChild Question

2010-02-24 Thread John McCormack
Susan, A class is a template - usually written with a capital letter at the start. A class doesn't exist in the memory of the program. It's something you use to define the 'type' of objects you want. Other 'types' might be: int, Number, MyClass, etc. An instance is an object based on that

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Jared
And you wrote addchild(mc) - that's like writing this.addchild(mc). Also parent is a property so mc.parent should always trace, like mc.alpha etc... Hth Sent from my iPhone On Feb 24, 2010, at 8:08 AM, Geografiek geograf...@geografiek.nl wrote: I don't think a class can have children,

Re: [Flashcoders] Error 1009

2010-02-24 Thread Jared
Also, if you go to publish settings enable debugging or whatever, you can see the line number of the errors. Sent from my iPhone On Feb 24, 2010, at 8:38 AM, Victor Subervi victorsube...@gmail.com wrote: On Wed, Feb 24, 2010 at 11:01 AM, Keith Reinfeld keithreinf...@comcast.netwrote:

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Henrik Andersson
John McCormack wrote: A class is a template - usually written with a capital letter at the start. A class doesn't exist in the memory of the program. If you use addChild(my_obj); you add it to the stage (this is the main program's instance). There are two things here that I have to disagree

Re: [Flashcoders] Error 1009

2010-02-24 Thread Henrik Andersson
Victor Subervi wrote: On Tue, Feb 23, 2010 at 11:02 PM, Deepanjan Dasdeepanjan@gmail.comwrote: Hey, I have not seen your debugger error. So how do I debug? I downloaded what I thought was the debugger and it was just another copy of Flash! Flash IS the debugger. Just hit

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Paul Andrews
Susan Day wrote: On Wed, Feb 24, 2010 at 9:44 AM, Geografiek geograf...@geografiek.nlwrote: Well, You could at least give a hint as to what _does_ work: trace(my_obj.parent); Thanks. That traced out the name of the class/*.as file, but when I put that value in, as in:

Re: [Flashcoders] removeChild Question

2010-02-24 Thread John McCormack
Henrik, I was careless. The code and properties of a class, such as Math and Math.PI, are accessible and you can pass objects, such as the number 0.1 into the class methods, as in Math.sin(0.1), and so there is memory associated with them. It's worth noting that a static property for a class

[Flashcoders] [JOB] Lead Flex Developer in NYC (Relo OK) to 150k

2010-02-24 Thread Beau Gould (OSS)
Lead Flex Developer in NYC (Relo OK) to 150k This is a full time, on-site, salaried position located in New York City paying $120,000 to $150,000 (dep on exp) + benefits. Full relocation expenses paid by our client. H1/H1-B OK - Will sponsor/transfer visa. ABOUT: Our New York City client

Re: [Flashcoders] removeChild Question

2010-02-24 Thread Henrik Andersson
John McCormack wrote: I was careless. I am not sure about your objection about the stage. I never mentioned time lines, I assumed Susan was adding to the stage at the start of her program. Can you have a main SWF without a timeline (single frame)? Can you have a program without a stage? What