@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
Sorry, I wasn't clear about my theory. Let me try again. I think that
you have to declare variables that represent stage instances as public
because Flash CS3 automatically executes an assignment statement at
runtime
assets also become public in Flex and there's no way
around it.
sigh /
regards,
Muzak
- Original Message -
From: Sunil Jolly [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, July 13, 2007 11:11 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from
on stage,
those assets also become public in Flex and there's no way
around it.
sigh /
regards,
Muzak
- Original Message -
From: Sunil Jolly [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, July 13, 2007 11:11 AM
Subject: RE: [Flashcoders] Accessing MovieClips
Hi,
reserver keyword maybe?
greetz
JC
On 7/12/07, Matt Muller [EMAIL PROTECTED] wrote:
I feel like a bit of an idiot asking this, but I keep getting errors. I'm
creating some custom player skin templates and have some ui elements which
are MovieClips on the stage.
Bearing in mind, this will
sorry typo, i meant *reserved*
On 7/12/07, Hans Wichman [EMAIL PROTECTED] wrote:
Hi,
reserver keyword maybe?
greetz
JC
On 7/12/07, Matt Muller [EMAIL PROTECTED] wrote:
I feel like a bit of an idiot asking this, but I keep getting errors.
I'm
creating some custom player skin templates
15:34
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
Hi,
reserver keyword maybe?
greetz
JC
On 7/12/07, Matt Muller [EMAIL PROTECTED] wrote:
I feel like a bit of an idiot asking this, but I keep getting errors.
I'm
creating
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Wichman
Sent: 12 July 2007 15:34
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
Hi,
reserver keyword maybe?
greetz
JC
On 7/12/07, Matt Muller [EMAIL PROTECTED] wrote:
I
Does that work? I'm getting a namespace conflict.
Sunil
-Original Message-
Thanks all, I ended up with something like this...
package com.foo.view.playerSkins {
import flash.display.MovieClip;
import com.sky.view.playerSkins.*;
public class SkinInventory extends
I've been declaring classes extending MovieClip as dynamic. Using this to
get the child seems to work.
this.fullScreen;
And to get the object to cast to the proper type, I've had to have it in the
code.
FullScreen;
trace(this.fullScreen); //should trace [object FullScreen]
FYI, I've been
I've been declaring classes extending MovieClip as dynamic.
They claim that you'll lose speed by doing this.
Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Hi Matt,
I spent an embarrassing amount of time recently playing with ways to import
common classes and libraries in AS3, so your post drew my attention. Then I
ran the class from your first post and had no error: your fullScreen
variable traces as null, as expected.
So then I read the
Systems Incorporated
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sunil
Jolly
Sent: Thursday, July 12, 2007 9:51 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
Does that work? I'm
]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, July 12, 2007 11:02 PM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class
It looks to me like Matt avoided the namespace conflict by using a
private variable that differs from the instance name in case only. Note
that he
]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, July 13, 2007 2:45 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class
I'm guessing that the odd reason has something to do with the behavior
of the private attribute in AS2 versus AS3. As most of you are aware
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Thursday, July 12, 2007 5:21 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
This means that you either have to declare the variables
]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, July 12, 2007 11:02 PM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
It looks to me like Matt avoided the namespace conflict by using a
private variable that differs from the instance name in case only. Note
: Francis Cheng [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, July 13, 2007 2:45 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an
AS3 class
I'm guessing that the odd reason has something to do with the behavior
of the private attribute in AS2 versus
{
public var my_btn:Button;
}
}
Now, how silly is that..
regards,
Muzak
- Original Message -
From: Helen Triolo [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, July 13, 2007 3:10 AM
Subject: Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class
to understand the why of it).
regards,
Muzak
- Original Message -
From: Francis Cheng [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, July 13, 2007 3:34 AM
Subject: RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class
Sorry, I wasn't clear about my
19 matches
Mail list logo