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
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
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
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
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:
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
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
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
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
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
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
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
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,
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
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{
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
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
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
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
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
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,
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:
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
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
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:
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
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
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
28 matches
Mail list logo