yeah, still get [object LivePreviewParent]...
On Wed, Aug 27, 2008 at 12:00 AM, poste9 [EMAIL PROTECTED] wrote:
have u tried this.root ?
2008/8/27 Helmut Granda [EMAIL PROTECTED]
Is it possible to access the MainTimeline from within a component? So far
I
havent been able to access it
Hi Helmut, try:
for(var i:uint; istage.numChildren; i++){
trace(stage.getChildAt(i));
}
best regards
--
Leandro Amano
Digital Bug
Chief Creative Officer
Adobe Certified Expert
Adobe Certified Instructor
Adobe User Group Leader
On 8/27/08, Helmut Granda [EMAIL PROTECTED] wrote:
yeah, still
Thanks Leandro... this still gives me the following:
[class Stage]
[object MovieClip]
hum
On Wed, Aug 27, 2008 at 12:27 PM, Leandro Amano
[EMAIL PROTECTED]wrote:
Hi Helmut, try:
for(var i:uint; istage.numChildren; i++){
trace(stage.getChildAt(i));
}
best regards
--
Leandro Amano
I understand that Flash prepends the filename to MainTimeline as a
convenience because there's no DocumentClass.
MainTimeline is not a class or type definition, it's simply a default name.
--
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
Ok, so my component is being added to a blank FLA, which then it would have
MainTimeline as the default name since there is no Document Class. Is there
anyway to access the MainTimeline information from a blank FLA from within a
component?
On Wed, Aug 27, 2008 at 2:45 PM, Eduardo Omine [EMAIL
.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, August 27, 2008 4:04 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Access MainTimeline reference from within a
component
Ok, so my component is being added to a blank FLA
subscribe.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, August 27, 2008 4:04 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Access MainTimeline reference from within a
component
Ok, so my component
I think the question is: what do you need the FLA filename for?
Relying on filename seems very hack-ish and unreliable -- it's common
to have files renamed during the development process and for testing
purposes.
--
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
internal Innovative Learning Blog subscribe.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, August 27, 2008 4:31 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Access MainTimeline reference from within a
component
I dont think it is hack-is if you get the file name as a reference right
before the file is being compiled. IMO...
On Wed, Aug 27, 2008 at 3:50 PM, Eduardo Omine [EMAIL PROTECTED]wrote:
I think the question is: what do you need the FLA filename for?
Relying on filename seems very hack-ish and
subscribe.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Wednesday, August 27, 2008 4:31 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Access MainTimeline reference from within a
component
Good question...
If you
Is it possible to access the MainTimeline from within a component? So far I
havent been able to access it trying different methods. Most times I get the
same result:
trace(parent);
trace(root);
trace(this.parent);
trace(this);
trace(this.parent.parent);
[object LivePreviewParent]
[object
have u tried this.root ?
2008/8/27 Helmut Granda [EMAIL PROTECTED]
Is it possible to access the MainTimeline from within a component? So far I
havent been able to access it trying different methods. Most times I get
the
same result:
trace(parent);
trace(root);
trace(this.parent);
13 matches
Mail list logo