I've run into similar situations before with 3rd party components. For some
reason, some of them just utterly break the MXML design mode. I've also
done it myself when subclassing the charting components. You just get a big
rectangle with a big red X over the whole area.
On Tue, Sep 1, 2009 at
Are there any 3rd-party charting and/or grid replacements in progress that
anyone wants to talk about? I'm looking to move away from the
AdvancedDataGrid and possibly also Flex charting and am wondering what might
be on the horizon. Right now Adobe pretty much has the only game in town
for these
Yes, that's what I was referring to in the first post about digging through
the generated source.
On Thu, Jul 9, 2009 at 5:42 AM, Tom Chiverton
tom.chiver...@halliwells.comwrote:
On Wednesday 08 Jul 2009, Pan Troglodytes wrote:
For those interested:
https://bugs.adobe.com/jira/browse/FB
@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
I'm torn on whether to submit this as a bug. I wish someone at adobe
could step in and say well, that's not equivalent MXML because you
forgot
about __.
On Thu, Jul 2, 2009 at 10:32 AM, valdhor
out why in the limited
time I had to look at it.
I am going to have to defer to someone more knowledgeable.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
No ideas on this one?
On Wed, Jun 17, 2009 at 12:00 PM, Pan Troglodytes
, you
can extend AdvancedDataGridGroupItemRenderer for your renderer. Best of both
worlds ;-)
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
Well, the main reason I wouldn't want to write my own itemRenderer
No ideas on this one?
On Wed, Jun 17, 2009 at 12:00 PM, Pan Troglodytes chimpathe...@gmail.comwrote:
I have a test program that, as far as I can tell, does the same thing using
an MXML component and the equivalent actionscript. When I click on the
button to execute the AS version, everything
Class and implement
iEventDispatcher but I have never tried it.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
No ideas on how to do this at all?
On Tue, Jun 9, 2009 at 4:13 PM, Pan Troglodytes chimpathe...@...wrote:
I've
No ideas on how to do this at all?
On Tue, Jun 9, 2009 at 4:13 PM, Pan Troglodytes chimpathe...@gmail.comwrote:
I've got a bit of a problem and haven't been able to figure it out. When
using hierarchical views with ADG, I find that the icon can't be clicked on
to select the row. I can't
I have a test program that, as far as I can tell, does the same thing using
an MXML component and the equivalent actionscript. When I click on the
button to execute the AS version, everything is fine. But when I click on
the button to execute the MXML version, I get a layout flicker. It's bad
the popup into redrawing.
-TH
--- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@...
wrote:
Okay, so given the following application:
?xml version=1.0 encoding=utf-8?
Application
xmlns=http://www.adobe.com/2006/mxml;
Script
![CDATA[
private function addCategory
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@...
wrote:
Thanks, Tim. Knew there must be something, just couldn't find it.
I found this to be a good way to do it, as long as I'm not missing
something:
gr.validateSize(true);
var verticalGap:Number
:
verticalGap));
if (grid.localToGlobal(new Point(0, 0)).y grid.owner.localToGlobal(new
Point(0, 0)).y)
grid.y -= gr.measuredHeight + (isNaN(verticalGap) ? 0 : verticalGap);
On Tue, Jun 16, 2009 at 10:38 AM, Pan Troglodytes chimpathe...@gmail.comwrote:
C'mon, Tim, your posts help me loads of times
me with a problem that I
was having with RowColorDataGrid and I was also able to use a tree with
connector lines that you created. Just glad to return the favor. :)
-TH
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@...
wrote:
C'mon, Tim
Okay, so given the following application:
?xml version=1.0 encoding=utf-8?
Application
xmlns=http://www.adobe.com/2006/mxml;
Script
![CDATA[
private function addCategory():void
{
var gi:GridItem;
var gr:GridRow = new GridRow;
gi = new GridItem;
I have a couple of external folders listed in my project's Flex Build
Path-Source Path section. These folders are outside of my project
hierarchy and contain some common files I share between several different
projects.
When I'm in my project and ctrl-click on an object in these files, it opens
= highlightedChange )]
public function set highlighted( highlighted : Boolean ) : void
{
_highlighted = highlighted;
dispatchEvent( new Event( highlightedChange ) );
}
}
}
Pan Troglodytes wrote:
1) Yes, this works fine, for the display portion only. It doesn't address
the actual problem of needing
%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
1) Yes, this works fine, for the display portion only. It doesn't address
the actual problem of needing to set a flag in the data that indicates it
is
the currently highlighted one, that flag being also used by other things
that bind
was
seeing the problem.
On Wed, Jun 10, 2009 at 6:54 PM, Amy amyblankens...@bellsouth.net wrote:
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
Yes, a mushroom indeed - well put! By the way, I found your posts about
your fun
I've got a bit of a problem and haven't been able to figure it out. When
using hierarchical views with ADG, I find that the icon can't be clicked on
to select the row. I can't figure out how to capture a click on the icon at
all.
?xml version=1.0 encoding=utf-8?
Application
this bound
variable on every repaint of the cell is doomed to break the rollover
highlight.
On Tue, Jun 9, 2009 at 11:49 AM, Amy amyblankens...@bellsouth.net wrote:
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
That was a good idea
);
data.highlighted = adg.isItemHighlighted(data);
}
Not sure if this will work for your purposes, but it's worth a shot.
-TH
--- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@...
wrote:
Yes. A gigantic 15 items. ;) I wouldn't have thought going through a list
of 15 items would
reliably
called for every highlighted row when the highlight leaves it.
On Mon, Jun 8, 2009 at 3:46 PM, Pan Troglodytes chimpathe...@gmail.comwrote:
That was a good idea and it does get rid of the arraycollection walking.
But I get the SAME problem with the grid losing highlighting when I did
handler is scanning the entire arraycollection.
Alex Harui
Flex SDK Developer
Adobe Systems Inc. http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
Behalf Of *Pan Troglodytes
*Sent:* Thursday, June 04
I have the following example that is a very simplified form of what I need
to do in my much larger program. The goal is to have a mouseover on a grid
item set a variable in the data object. In the real program, this fires off
some other code which makes that item visible and the others hidden,
click=for each(var o:TestObject in d) { o.item1++; o.item2++;
o.item3++ }/
/mx:Application
If anyone thinks my theory is incorrect, please chime in.
HTH
Steve
--- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@...
wrote:
Well, I entered the two related issues
Developer
Adobe Systems Inc. http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
Behalf Of *Pan Troglodytes
*Sent:* Saturday, May 09, 2009 10:38 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders
identifiers I have tried (Very small sample) gives the error as
well.
It's got me beat.
Why would the posted code give an error at all?
Why would y work and everything else not?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@... wrote:
I wonder
. But someone weird and unexpected seems to be going on under the hood.
On Tue, May 12, 2009 at 2:39 PM, Pan Troglodytes chimpathe...@gmail.comwrote:
Thanks for giving me some confirmation. Now if we could just figure out
what Alex/Adobe need to do to replicate our tests.
The reason it doesn't give
I've run across some peculiar behavior and I am trying to figure out if I
should report it and if so, how exactly to explain it. Given these two bits
of code:
*TestObject.as:*
package
{
public class TestObject
{
[Bindable] public var a:uint = 2;
[Bindable] public var b:uint = 3;
that will
ship as 3.4
Alex Harui
Flex SDK Developer
Adobe Systems Inc. http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
Behalf Of *Pan Troglodytes
*Sent:* Friday, May 08, 2009 11:06 PM
*To:* flexcoders
This puzzles me a bit. There is no such property as id on
AdvancedDataGridColumn or its ancestors. So why doesn't the compiler barf
and give you an unknown property at compile time (it does at runtime)? Is
this some kind of kludge in FB such that it always allows an element called
id to be
MXML.
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
See the second example on this page.
Charles P.
On Fri, May 8, 2009 at 4:01 PM, Pan Troglodytes chimpathe...@gmail.comwrote:
This puzzles me a bit. There is no such property as id
standpoint as the compiler will help you find
misspellings and what not.
Alex Harui
Flex SDK Developer
Adobe Systems Inc. http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
Behalf Of *Pan
I was curious as to the difference between a few different ways of
approaching the situation of an itemRenderer having a data property and
deciding whether or not to use as to make all the type checking happy. So
I tried some test code and found that it made a big difference whether you
use as or
.
Steve
--- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@...
wrote:
Well, either I got confused before and though it was working when it was
still broken, or it's more complicated.
It's back to not working at all for me under 3.3.0 for any Advanced*
classes
n MXML
I had the exact same problem with 3.3.0. After switching it to 3.3.0, it
wouldn't bring up code completion for either MXML or ActionScript on
AdvancedDataGrid/AdvancedListBase/Advanced*. It would bring it up for the
chart classes, though, which are also in the same SWC. Switching it back to
Well, either I got confused before and though it was working when it was
still broken, or it's more complicated.
It's back to not working at all for me under 3.3.0 for any Advanced* classes
n MXML or ActionScript.
On Wed, Apr 29, 2009 at 11:42 AM, Pan Troglodytes chimpathe...@gmail.comwrote
I'm running into something fairly perplexing. Read the following code and
think of what you'd expect it to do when you click the change button. Then
run it and click the change button.
?xml version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
and override the combobox collectionChangeHandler
look for the reset kind and remove the listener at that point.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe...@...
wrote:
I'm running into something fairly perplexing. Read the following
code and
think
I've been dinking with extending PopUpButton and have run into something
that really puzzles me - how does it know to load PopUpButtonSkin by
default? There is no code that mentions it in PopUpButton. Is it somehow
selected based on the class name?
In my PopUpButton descendant, I want it to
[mailto:flexcod...@yahoogroups.com] *On
Behalf Of *Amy
*Sent:* Wednesday, January 21, 2009 9:55 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: What determines a component's initial skin?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes chimpathe
I upgraded to 3.0.2 and seem to have a bit of an issue. The last time I've
seen the datavisualization source distributed is in 3.0.0. Sometimes when I
trace into SDK units (BubbleSeries.as at the moment), you can tell the
debugger is going to a line from a different version of the file.
\ChartBase.as:4216]
Which is really odd, considering I don't have a C:\work folder. It looks
like for some reason it's showing the Adobe developer's paths.
On Thu, Jan 15, 2009 at 12:32 AM, Pan Troglodytes chimpathe...@gmail.comwrote:
I upgraded to 3.0.2 and seem to have a bit of an issue
/flexdoc/2008/04/extracting_data_visualization.html
Substitute 3.0.0 for 3.2.0 and you should be right. Took me a while to
find this when I needed it - don't know why they don't just install it
if Flex 3 Pro is detected, but anyway...
2009/1/15 Pan Troglodytes chimpathe...@gmail.comchimpathetic
I'm receiving a very peculiar error. I've boiled it down to a simple
reproducible test. Given the following two files:
GenericTest.mxml:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:Script
![CDATA[
private var
I find myself in the position of really needing a ComboBox that can take an
AdvancedDataGrid descendant in the dropdownFactory. Unfortunately, ComboBox
is pretty hardcoded to use ListBase and AdvancedListBase does not inherit
from it. Recreating a DataGrid version of my existing ADG descendant
I've put off writing this for a while out of laziness. Going out of my way
to report bugs is already sort of outside of the scope of what I should be
working on, but I consider it very important for the quality of the
product. And it helps that my bugs are typically answered and fixed. But
don't know that we can explain every features, we may need
you to just make your best guess, but at least for projects we can see what
we need to do.
Best,
Matt
On 12/19/08 10:55 AM, Pan Troglodytes
chimpathe...@gmail.comchimpathetic%40gmail.com
wrote:
I've put off writing this for a while
Now that the whole ECMAScript thing has blown over, Adobe is free of being
quite so bound to it as a standard. They've expressed interest in doing
some things that they previously shied away from because of divergence from
the standard.
Is anyone else really interested in ditching the Date
If I have this:
private var _myvar:int;
public function get myvar():int
{
return _myvar;
}
should I try to refer to it in other parts of the same class as _myvar, or
is myvar equally efficient? In Delphi, you can define a property like:
FMyVar: Integer;
property MyVar:Integer read FMyVar;
this
up to just providing a user-unfriendly test case.
Thanks Maciek and Tom.
On Wed, Nov 19, 2008 at 3:49 AM, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Tuesday 18 Nov 2008, Pan Troglodytes wrote:
Does anyone know if they read bugs that say resolved but have been
updated? Should I clone
I had a bug marked cannot reproduce, even though it's reproducible with a
12 line application for me. It might help if a few others here will give it
a shot:
http://bugs.adobe.com/jira/browse/FLEXDMV-1908
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: Pan Troglodytes [EMAIL PROTECTED] chimpathetic%40gmail.com
Reply-To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
To: flexcoders flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Subject: [flexcoders
on chart, move mouse again (app traces out null)
I've added a comment to the ticket.
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: Pan Troglodytes [EMAIL PROTECTED] chimpathetic%40gmail.com
Reply-To: flexcoders@yahoogroups.com flexcoders
I'm fairly new to making effects, and it's a miracle I have any hair left.
I have created the following effect so that I can transition between various
states of a component. The problem is that I want to reuse the same
component and not make a new one for every different screen. So I'm making
a
I've read that Flash Player runs flex code single threaded, with the
exception of network calls and rendering calls. So if I have a URLLoader
and I add an event to it for COMPLETE, does that event handler code get run
in the main thread, or in a separate networking thread?
If it's a separate
You might find this informative:
http://www.f-in-box.com/forum/viewtopic.php?t=509sid=43cc9bffc200ae813c56c988b3b777ad
The examples are in Delphi for the f-in-box component, but the explanations
of ExternalInterface invoke strings might be helpful.
On Wed, Oct 15, 2008 at 4:16 PM, Eric Cooper
the people
who can actually see that code. Always frustrating when I bump up against
the wall where open source becomes closed.
On Tue, Oct 21, 2008 at 6:09 AM, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Friday 17 Oct 2008, Pan Troglodytes wrote:
The reason I ask is because I'm reading some
that, and it
might change in the future. I suggest that you do some timing tests to see
what's fastest.
- Gordon
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Pan Troglodytes
*Sent:* Friday, October 17, 2008 12:49 PM
*To:* flexcoders
*Subject:* [flexcoders] what
How is a string represented internally in Flex? It never actually says it
in the help for String. Is it UTF-8? I think this because because mxml
uses utf-8 as the encoding in the ?xml directive, ByteArray seems to treat
utf-8 specially, and ByteArray.readMultiByte says the return value is a
.
*I also attached a small graphic explication in order.pdf (order
matters) file.
*I hope that is what you want. Have a nice day.
Regards,
Cosmin
On Tue, Sep 23, 2008 at 12:01 AM, Pan Troglodytes [EMAIL PROTECTED]wrote:
Following is a simplified example of what
Is there a function somewhere that takes something like red as input and
returns 0xFF? I've looked all over in the docs and can't find it.
Thanks.
--
Jason
:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Pan Troglodytes
*Sent:* Monday, October 13, 2008 12:50 PM
*To:* flexcoders
*Subject:* [flexcoders] function to get a color uint value from a color
name string?
Is there a function somewhere that takes something like red
Is there some way to use callLater to set a property that has a setter? So
far, all I can think of is to create a dummy function that does the setting
and pass it in the callLater:
private function setSelectedChild(viewStack:ViewStack,
newChild:Container):void
{
viewStack.selectedChild =
PROTECTED]wrote:
Hi,
This works, I tested it;
callLater(function (stack:ViewStack, container:Container):void {
stack.selectedChild = container;
}, [viewStack, someBox]);
Mike
On Fri, Oct 10, 2008 at 12:10 PM, Pan Troglodytes [EMAIL PROTECTED]wrote:
Is there some way to use
I'm been hunting around to no avail on this question. I have created help
for my components using ASDOC. What's the recommended procedure to get that
help to show up in FB? Is there one?
Thanks.
--
Jason
using the help extension point (in the PDE docs).
This might be worthy of a blog post someday. :)
Mike
On Mon, Oct 6, 2008 at 12:15 PM, Pan Troglodytes [EMAIL PROTECTED]wrote:
I'm been hunting around to no avail on this question. I have created
help for my components using ASDOC
Following is a simplified example of what I'm running into. Basically,
BubbleSeries doesn't preserve the order of the bubbles when you switch the
dataprovider. Run the following program and click the left and right
buttons.
?xml version=1.0 encoding=utf-8?
mx:Application
This question is really part of a larger ball of stuff I'm trying to
untangle. Basically, the first part is that if I have this:
[Embed(source=logo.png)] public var logo:Class;
...
var img:Image = new Image;
img.source = logo;
Is there any way to get a ByteArray from img that can be fed to
be at least along the lines of what you want to know,
apologies in advance if I've got the wrong end of the stick.
-Original Message-
From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of
Pan Troglodytes
,
apologies in advance if I've got the wrong end of the stick.
-Original Message-
From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of
Pan Troglodytes
Sent: 17 September 2008 22:26
To: flexcoders
Subject
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Pan Troglodytes
*Sent:* Wednesday, September 17, 2008 6:25 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] possible to get bytes from a pre-existing
Image?
Alex - did part of your reply get chopped off? I'm not quite
.
--- On Mon, 15/9/08, Pan Troglodytes [EMAIL
PROTECTED]chimpathetic%40gmail.com
wrote:
From: Pan Troglodytes [EMAIL PROTECTED] chimpathetic%40gmail.com
Subject: Re: [flexcoders] Issue with runtime adding of axis labels in
DateTimeAxis
To: flexcoders@yahoogroups.com flexcoders
the AdvancedDataGrid's renderer?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes
[EMAIL PROTECTED] wrote:
Check out the help for AdvancedDataGridHeaderRenderer. That's what
the grid
is using by default. It should show all the styles there. The
following
, and any further comments appreciated!
Dan.
Pan Troglodytes wrote:
Sorry Dan, my brain must not have been fully in gear. You do need to
check
the columns sort order:
if (obj1.summaryRow)
return col1.sortDescending ? -1 : 1
else if (obj2.summaryRow)
return col1.sortDescending ? 1 : -1
The answer to this is probably going to be no, but I figure it's worth a
shot.
I have a number of images embedded into my flash application. I would like
to allow the user to type some html that would include an img tag that
references those images. That would then get applied to a
I believe you're going to need to handle the drop events yourself and not
use the dropEnabled=true setting. When you do that, by default drop is
denied and you have to tell it to allow it, like in the dragEnter event.
For example:
private function dragEnterHandler(e:DragEvent):void
{
This might be kind of a hack, but you could override setStyle, catch the
backgroundcolor style being set and not call the super for it.
On Tue, Sep 16, 2008 at 9:52 AM, aaronius9er9er [EMAIL PROTECTED]wrote:
Hi all,
I'm creating a custom component which extends Container. I would like
to
%40yahoogroups.com, Pan
Troglodytes
[EMAIL PROTECTED] wrote:
Yeah, I think your could subclass it and override updateDisplayList
for what
you're needing. Check this out and see if it does what you need:
package nes
{
import
mx.controls.advancedDataGridClasses.AdvancedDataGridHeaderRenderer
verticalGridLines, alternatingItemColors and sortExpertMode. Is there
any way to avoid that?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes
[EMAIL PROTECTED] wrote:
I THINK I know what you're talking about. You mean the grey line
that
separates each column, right? What
flexcoders%40yahoogroups.com, Pan
Troglodytes [EMAIL PROTECTED]
wrote:
Did you override just the headerSeparatorSkin, or go farther?
On Tue, Sep 16, 2008 at 2:29 PM, whatabrain [EMAIL PROTECTED] wrote:
Thanks. That's exactly what I was looking for, and it fixed my
problem
subclass StandardTreeGrid and override
headerSeparatorSkin there, I lose a bunch of ADG attributes.
Any idea how I can fix this?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pan
Troglodytes [EMAIL PROTECTED]
wrote:
Did you override just the headerSeparatorSkin, or go
I don't think so, but there is percentLoaded, bytesTotal and bytesLoaded. I
think those may get you what you need.
On Mon, Sep 15, 2008 at 8:18 AM, João [EMAIL PROTECTED] wrote:
Hi,
I need to know on a specific moment if an instance of class Image is
loading content or not. Is there any
This may be caused by a lack of binding in your data objects. Can you post
an short, simple example that replicates your issue?
On Mon, Sep 15, 2008 at 4:21 AM, arajendr [EMAIL PROTECTED] wrote:
Hi All,
I've been facing this problem for a while. My application gets new
data every 5 mins
row stays as the last row. However if the user sorts that column again then
the sort order is reversed, and the summary row moves to the first row. Am
I
missing a simple way to resolve this?
Thanks again,
Dan.
Pan Troglodytes wrote:
Yes, it's fairly easy to do with a custom sort
Check out the help for AdvancedDataGridHeaderRenderer. That's what the grid
is using by default. It should show all the styles there. The following
code worked as expected:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
mx:Script
As an AIR app, it should definitely be much easier. With it, you have
access to flash.desktop.Clipboard. When flash is running in the browser,
it's subject to a lot more restrictions. You can call System.setClipboard
to copy a string to the clipboard, but that's pretty much it.
Different
Yes, it's fairly easy to do with a custom sort function. Here is an example
function that assumes you set a summaryRow property on the last row
object:
private function compareWithSummary(obj1:Object, obj2:Object):int
{
if (obj1.summaryRow)
return -1
else if (obj2.summaryRow)
You need to register your event handler with the object actually dispatching
events.
t:TestOverride id=mytest/
...
mytest.addEventListener(testEvent, handleIt)
On Wed, Sep 10, 2008 at 1:39 PM, Dan [EMAIL PROTECTED] wrote:
I have a class TestOverride that implements IOverride. This class is
It would probably help a lot if you can post a small test app the shows what
you're talking about. Keep it as simple as possible to illustrate your
problem.
But my first instinct is that it's kind of an age-old problem in programming
with scrollbars. Say you have an element that is 500 pixels
This shouldn't really be hard at all. Have you actually tried it and are
running into difficulties? You need to make sure your x values are in the
format that Date() likes, and if using a DateTimeAxis doesn't work, you can
use a LinearAxis and a custom axis label function. If you want a
I believe you're just running into how different browsers handle embedded
flash objects. Once you click on a flash app, firefox generally lets it
have every keystroke after that until you actually click somewhere outside
it. IE is less permissive and continues to listen for keystrokes even when
There are several ways you could go about doing it, though nothing built in
to support it.
One way would be to make your data so that 30 is actually 0 in the
underlying data. You'd write an axis label function that would add 30 to
the values for labelling. If you wanted datahints, you'd have to
For #2, look at ArrayCollection.sort. You can create a sort object and use
a slightly modified version of your date_sortCompareFunc for the
compareFunction of the Sort object.
I've never really found a good way to do #1, so I'd be interested in that if
you or anyone else finds a way.
On Thu,
Okay, I think I figured it out. I had the same problem in the 3.1 SDK. You
were definitely being stumped because you didn't have the Pro source code.
I went ahead and created a bug and entered the reason it's broken and how
you can go about working around it. If you vote for the issue, there's
Ooops, the bug report is at:
https://bugs.adobe.com/jira/browse/FLEXDMV-1879
On Sat, Sep 13, 2008 at 2:12 PM, Pan Troglodytes [EMAIL PROTECTED]wrote:
Okay, I think I figured it out. I had the same problem in the 3.1 SDK.
You were definitely being stumped because you didn't have the Pro source
The problem is your line:
addChild(win);
Omit that and you should stop getting that error.
On Wed, Sep 3, 2008 at 4:26 PM, lynnkuh [EMAIL PROTECTED] wrote:
I'm using the Flex MDI Explorer and instead of using
flexmdi:MDICanvas id=mdiCanvas horizontalScrollPolicy=off
First off, which menu do you mean at the website? I only saw a menu at the
top, and all the nodes were all one color as far as I can tell.
But if you just wanted to specific a lit of colors for different levels, I
believe the depthColors style of Tree would be what you wanted.
On Tue, Sep 2,
You may have already figured this out, but just in case - you need to use
the stroke style of the LineSeries:
mx:series
mx:LineSeries id=series yField=@open form=curve
displayName=Open stroke={circleStroke} /
/mx:series
/mx:LineChart
mx:Stroke id=circleStroke color=0x00FF00/
On Thu, Aug 28,
1 - 100 of 345 matches
Mail list logo