Yes, as allandt suggests, you should provide a default value for
constructor param
Unfortunately, it's not the only problem with components (at least in CS3)
For me, the worst one is about [Inspectable] parameters (and their setters).
As described here
http://www.bit-101.com/blog/?p=1181
setters
It did work, actually, in terms of inserting it into the TextField, i
guess because the class name effectively functions as the Library
identifier. However, your tip regarding ID did the trick for
communicating with it, since I still couldnt modify it, the way I had
it. :)
thanks,
.matt
On
could you put your init() method call in a setter?
On Wed, Jan 28, 2009 at 10:27 AM, Gregory N greg.gousa...@gmail.com wrote:
Yes, as allandt suggests, you should provide a default value for
constructor param
Unfortunately, it's not the only problem with components (at least in CS3)
For
Interesting, I'll have to give it a whirl. Thanks.
Regards,
-Keith
http://keithreinfeld.home.comcast.net
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Matt S.
Sent: Wednesday, January 28, 2009
Ah yes... I knew I read it somewhere... It's in that Grant Skinner article.
*Deferred GC and Indeterminacy*
A *very* important thing to understand about the Garbage Collector in FP9 is
that it's operations are deferred. Your objects will not be removed
immediately when all active references are
It was my understanding that Garbage Collection doesn't always occur right
away. When you have orphaned objects sitting on the heap, they are *
eligible* for garbage collection. That doesn't mean they will be removed
from memory right away. Especially if you're testing for JUST that to
happen.
could you put your init() method call in a setter?
No :-)
Actually, these [Inspectable] parameters and their setters are not a
*functional* part of component. I mean that, if it's created via code
(using constructor), [Inspectable] parameters are not used.
However, if user has the component in
The AS is in a dir1 (dir1\stuff.as) and the images are in
dir1\img\image.jpg.
imagePath = new URLRequest(this.imagePathString);
loader = new Loader();
trace(loader.load(imagePath));
this.imagePathString is a relative path to the image (img\image.jpg).
How can
So I've been playing around with it some more and been getting a
little closer. But its still a ways off. The biggest issue with this
demo is that the plane catches the mouse before I reach the edges of
the map. I'm not sure what I can do next but thats where I am now. Its
funny to. About 20 mins
9 matches
Mail list logo