example? It stands as a
pointless container for what we are seeing it used for. Unless there will be
some additional items added to it that we have not seen yet.
I just feel the need to point that out. :)
Charles P.
On Thu, May 21, 2009 at 3:49 PM, Eric Cooper e...@... wrote:
I
at 3:49 PM, Eric Cooper e...@... wrote:
I just tried compiling what I wrote - and realized that it didn't... so
here are two variants. The first is same as previous, but it compiles. The
second may be more in the spirit of what you were attempting initially -
and
kind of highlights
How about this:
var records:Array = new Array(
{ code:AC, text:Remember to reset
the station address. },
{ code:RN, text:Remember to reset
the station expiration date. },
{
]);
}
--- In flexcoders@yahoogroups.com, Jason B nos...@... wrote:
SWEET thanks
--- In flexcoders@yahoogroups.com, Eric Cooper eric@ wrote:
How about this:
var records:Array = new Array(
{ code:AC, text:Remember to reset
the station address
I would like to have sliders whose 'track' could be clicked on to move thumb
and whose thumb would then become receptive to thumbDrag. Is there some easy
way to enabled this?
What I see now, is that a mouse-down event on track will move thumb. But then
the user has to release the mouse button
,
Nate
On Tue, Dec 2, 2008 at 12:55 PM, Eric Cooper [EMAIL PROTECTED]mailto:[EMAIL
PROTECTED] wrote:
Hi,
I have inherited some code and it seems to build into a fairly large .swf and
takes a very
long
time to download. Running locally, things go fairly quickly - but not so
remotely
Hi,
I have inherited some code and it seems to build into a fairly large .swf and
takes a very long
time to download. Running locally, things go fairly quickly - but not so
remotely. Part of this
may be due to slow server and net connection - but I am not able to change
those any time
soon.
Mike,
I am wondering if what I am experiencing with createChildren() is similar to
what you've
described below. I am subclassing UIComponent - and I read that it is best to
create
children in a createChildren() method.
However, I am tying into someone else's existing code and she has done
Thanks, Amy.
I have decided that my own model is more convoluted than is healthy. So, I have
reworked
things on my side and stuck with createChildren(). I was tempted to try Mike's
suggestion
- and, had I felt really good about my implementation, I might have.
At this point, with more checks
The question has been answered (yes, it is possible to use is as part of
isInstanceOf() method. Here's an example of my use of
this mechanism (for determining if geometric shapes share an instance of a
particular class of constraint, e.g. are these two line
segments perpendicular to each
Hi,
I have searched through the archives and googled, but most related concerns
seem to
focus on text height. I am concerned solely with text width.
I have a subclass of UIComponent (called BTVariable) that contains an HBox
which, in turn,
contains between two and four TextArea objects. I
@yahoogroups.com ]
On Behalf Of Eric Cooper
Sent: Tuesday, October 14, 2008 3:05 PM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing *other* browser plugins from Flash
Hi,
I have access to some powerful C++ functionality. Porting
Hi,
I have access to some powerful C++ functionality. Porting this to ActionScript
is not an
option. However, it looks like I could create a browser plugin that would wrap
the C++ code.
I am looking for pointers, caveats or advice on how to proceed.
The obvious question is: can a .swf call
I think that I used http://as3corelib.googlecode.com/files/corelib-.90.zip
which is now marked as deprecated... but still probably bette than nothing.
I only use it for JSON.
-eric
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Michael
Of Eric Cooper
Sent: Wednesday, July 23, 2008 6:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Trees, DataProviders and dynamic screen
updates
I am adding to and removing from ArrayCollection - and when I do that,
the Tree items
refresh and are current. But when
Hi,
I am trying to display changes in state for proxy objects (where real state
exists on a
server). I have defined a Tree and set its dataProvider to be an
ArrayCollection. I have tried
having this be an array of references to actual proxy object and also as array
of dynamically
created
to make the updates to the
dataProvider, the changes should automatically reflect in the UI.
How are you updating the ArrayCollection items?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cooper
Sent
to make the updates to the
dataProvider, the changes should automatically reflect in the UI.
How are you updating the ArrayCollection items?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cooper
Sent
How does one control (or even determine) the registration point? I am drawing a
circle and
it seems like the center of the circle is being used as the registration point
- which means
that when I display the center point and radius point (having subtracted
topLeft from their
real positions)
.
--- In flexcoders@yahoogroups.com, Eric Cooper [EMAIL PROTECTED] wrote:
I have tried this, but it doesn't seem to be working. Here's what I am doing:
override public function renderShape(graphics:Graphics):void
{
var matrix:Matrix = new Matrix
I have been working in Flex for about 3 months now. I am writing a geometry
tool that allows user to create
points, line segments, circle and polygons, as well as constraints between
these objects (e.g., distance, angle,
perpendicular, etc.). Initially, I created a (subclass of)
I am not sure if this is best practice - but have you tried calling
stage.invalidate() ?
-eric
--- In flexcoders@yahoogroups.com, Matt [EMAIL PROTECTED] wrote:
I am dynamically setting the 'icon' to a LinkButton using Ben Stucki's
IconUtility and it works great when the link first gets
I have spent the day trying to understand how to get a dynamically-backed
hierarchical popup menu to work (within a ControlBar). I have gone from a
fairly
complex starting point to a minimal test case - and things are still not
working. I am seeing three failures, depending on how I attempt
, Eric Cooper [EMAIL PROTECTED] wrote:
I have spent the day trying to understand how to get a dynamically-backed
hierarchical
popup menu to work (within a ControlBar). I have gone from a fairly
complex starting point to a minimal test case - and things are still not
working. I am
seeing
:50 PM, Eric Cooper [EMAIL PROTECTED] wrote:
Is there any way to write/draw text directly to a Graphics object? For
that matter is there
anyway to draw text (single line of static text) into a Canvas? I suspect
that the answer is no,
having searched and searched... but maybe there's
Yes, this is what I was hoping for. And even though it is not now available, I
wonder,
Gordon, if you are at liberty to tell us about the future? Is
Graphics.drawText() be
something that might get added?
-eric
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:
I think
?
Unfortunately, no.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cooper
Sent: Tuesday, April 15, 2008 1:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: graphics object
I am experiencing performance issues similar to those described in this thread.
By way of
background, I am working on a geometry tool that allows the user to create
points, line
segments, circles and polygons, to move then about and to create constraints
between
them. I am new to
Thanks. Yes, that one got me when I first started -- and took me a few days to
realize what
was happening.
Btw, is there any way to inspect the graphics object to see the drawing
commands that it has?
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Also make sure you
, Eric Cooper wrote:
I am wondering, though, if I would get this for free if I used
DisplayObject and the built- in drag events. I am also wondering, if I am
saving that much in terms of memory and speed, by rolling my own as it
were.
I would definetaly use Adobe's to start with, then until
Thanks, Troy.
I am using alpha currently, and think that I will be able to use various matrix
manipulations when I get there. I
am drawing to a Canvas. I think that I will be exploring bitmap caching
shortly. But if it starts looking like I will
need to manage my own dirty rectangles then I
be made, albeit with
modifier key).
Thanks.
-Eric
--- In flexcoders@yahoogroups.com, Jon Bradley [EMAIL PROTECTED] wrote:
On Apr 15, 2008, at 12:23 AM, Eric Cooper wrote:
I am wondering, though, if I would get this for free if I used
DisplayObject and the built-
in drag events. I am
Is there any way to write/draw text directly to a Graphics object? For that
matter is there
anyway to draw text (single line of static text) into a Canvas? I suspect that
the answer is no,
having searched and searched... but maybe there's some obscure utility class
that I've
overlooked.
jon,
thanks! my polygons are only triangles and quadrilaterals at this point, but
your method works beautifully for
concave quads. I did have to change one line (which appears a few times) in
order to compile:
w += 2 * ( p[ip].y
p[i].y
, a pointer to some discussion of this issue would be most
helpful. (I googled
for several hours before posting original question - without any good hits.)
--- In flexcoders@yahoogroups.com, Eric Cooper [EMAIL PROTECTED] wrote:
I am writing a simple geometry editor (i.e., user can create, move
I am writing a simple geometry editor (i.e., user can create, move and deform
circles and
polygons). I am *not* adding geometric shapes to display list. Instead, I am
managing
them myself. (This may be a bad idea, but doesn't really affect my overall
question.)
Here is a method that is
36 matches
Mail list logo