I have a design problem:
A site I'm working up has a shell/module structure. Each module
composes an instance of a Navigation class.
This instance mixes and matches various navigation functionality.
Some modules might have last/next methods, some might have last/next
and direct goto
Thanks Reuben.
Yes, I think I'll do what you suggest: just parameterize a full-dress
Navigation with a custom object, then have the controller retrieve
it. It will be make it the Navigation difficult to extend and write,
but I see no alternative for now...except maybe using a dynamic
A couple pointers:
--you don't need to continually reattach a BitmapData, changes you
make directly to it are automatically rendered (it's not like
modifying and reassigning a filter to a movieclip)
--however, at times, you might want to remove the BitmapData from the
stage so that
Yes, you can copy only the visible pixels of a bitmap.
To do this, you must pass the optional AlphaBitmap parameter for
copyPixels:
public copyPixels(sourceBitmap:BitmapData, sourceRect:Rectangle,
destPoint:Point, [alphaBitmap:BitmapData], [alphaPoint:Point],
[mergeAlpha:Boolean]) : Void
Hi,
I'm making a site in AS3 with lots and lots of buttons.
I'm worried that all the listeners on the buttons will clog the memory.
I realize that sprites that are not in the display list cannot
receive mouse events, but do they still listen for them, taking up
memory?
I'm not sure how
I was hunting a bug when I found this out:
class SuperClass {
public function init() {
trace (superclass init);
}
}
class SubClass extends SuperClass{
public override function init(){
trace (subclass init);
}
}
if you create a subclass instances and cast it (or type its variable)
to the
, in AS3.
Hi,
running your example shows: subclass init, as it should.
public override function init(){
trace (subclass init);
}
whats the override keyword doing there?
greetz
JC
On 11/14/06, Matt Garland [EMAIL PROTECTED] wrote:
I was hunting a bug when I found this out:
class SuperClass
Hi,
I'm working on a background loading queue. It consists of a bunch of
iterators and iterator composites. To find the next thing to load, a
has next function recursively propagates down the tree, as it were,
until it reports back that there is another thing to load, or not.
The
Hi
I'm trying to create a context menu that can be controlled
dynamically (these commands are available now) AND does not depend on
cursor location (where it is clicked does not matter). (AS3)
I want the menu logic tied to the app logic, not the current display
list.
I have a
p
you can skew without the transform matrix by passing a negative value
for x or y scale.
I'll bet you have a negative value in there--look for it
matt
Message: 1
Date: Fri, 2 Feb 2007 09:19:31 -0800
From: [p e r c e p t i c o n] [EMAIL PROTECTED]
Subject: [Flashcoders] loadMovie
Hi,
I'm converting some AS2 code to AS3. The code manipulates several
big, complicated data containers to produce an animation.
In AS2, the data container was a vanilla object. In AS3, for
performance gains, I turned these containers into several classes.
The problem is, at various
:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed
You can use Object.setPropertyisEnumerable(propName).
flash.utils.describeType() might be another way.
--
Mike Keesey
On 2/15/07, Matt Garland [EMAIL PROTECTED] wrote:
Hi,
I'm converting some AS2 code to AS3. The code
12 matches
Mail list logo