Classes don't know their own scope, they are oblivious to anything
outside of them, (unless of course you import some other class - then
they know what the other class does, but still don't have any scope
reference). What are you trying to do?
Jason Merrill
Bank of America
GTO Learning
Hey Jason,
All Im trying to do is run some animation inside a movieclip but without
instantiating the class. So what I do instead is just add a MovieClip on
stage that has a link to a class and it knows exactly what to do rather than
having to instantiate it manually.
BTW, I read your previous
Oh, and I forgot an important point, the reson why I want to find the scope
of the class is because inside the class there are variables that talk to
each other and I can have them talk back and forth like this
_level0.instance1.myVariable = blah;
but this of course wont work when the movie is
So I figured it out or at least I think I did,
private var target: myClass;
function myClass(){
target = this;
}
now I can reference to properties within a class without breaking the app.
So in the same lines, is there anyway to code the classe so that we don't
have to reference to the
of America
GTO Learning Leadership Development
eTools Multimedia Team
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Helmut Granda
Sent: Tuesday, April 03, 2007 9:30 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Delegate Class
: [Flashcoders] Delegate Class Scoping self instantiated
Oh, and I forgot an important point, the reson why I want to
find the scope of the class is because inside the class there
are variables that talk to each other and I can have them
talk back and forth like this
_level0.instance1.myVariable = blah
Sent: Tuesday, April 03, 2007 9:30 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated
Oh, and I forgot an important point, the reson why I want to
find the scope of the class is because inside the class there
are variables that talk
, April 03, 2007 10:07 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated
You are correct, and it all seems clear now and working as
expected, the only guy that I cant understand is the Tween
class and the way i can pass a refrence of the main
is coming from, either.)
From: Helmut Granda [EMAIL PROTECTED]
Date: 2007/04/03 Tue AM 08:38:08 CDT
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated
So I figured it out or at least I think I did,
private var target: myClass
PROTECTED]
Date: 2007/04/03 Tue AM 08:38:08 CDT
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated
So I figured it out or at least I think I did,
private var target: myClass;
function myClass(){
target = this;
}
now I can
to accomplish
it.
(I can't figure out where the Delegate mentioned in the subject line is
coming from, either.)
From: Helmut Granda [EMAIL PROTECTED]
Date: 2007/04/03 Tue AM 08:38:08 CDT
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Delegate Class Scoping self instantiated
So
Anyone know how to feed what a visitor is viewing in an
iframe into a dynamic list, the iframe will have a search
engine built into it?
Wrong thread, but seems you could use External Interface with Javscript
communication. Will require some coding both on the HTML page and the
flash file.
12 matches
Mail list logo