I need to build two versions of a Flex app, one for the local filesystem and
one to be used in a web site. I recently learned that the only way to do that
is to enable and disable the -use-network compiler argument.
I'm using Flex Builder 3. Is there any way to automate the building of both
ver
It's a well-known issue that you can't multi-select in AdvancedDataGrid in
Firefox, if you have wmode=transparent.
This site:
http://www.johanvanmol.org/content/view/47/41/
gives a nice general work-around for Flash, but after spending hours wading
through the AdvancedDataGrid code, I haven't
My app contains a subclassed AdvancedDataGrid, with a few custom
itemRenderers and headerRenderers. When I look at it using qtp, I can
see the AdvancedDataGrid, but I can't reach into individual cells. The
only object qtp detects there is Flash itself -- it doesn't even see
the ADG. Between cel
ll as the
framework.
--- In flexcoders@yahoogroups.com, "Howard Fore" <[EMAIL PROTECTED]>
wrote:
>
> I mean, what are the business requirements that would lead someone
to need
> to distribute the framework?
>
> On Fri, Nov 14, 2008 at 2:08 PM, whatabrain &l
of scenario would require
> redistributing the framework?
>
> On Fri, Nov 14, 2008 at 12:01 PM, whatabrain <[EMAIL PROTECTED]> wrote:
>
> > If this is covered under the SDK licence, then distributing the
> > framework gives Adobe the right to audit us. If that's the c
Consider yourself legally approved for that file
>
>
> On 11/14/08 8:28 AM, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I'm using dynamic linking, and distributing framework_3.0.0.477.swf
> with my web control. My company has been desperat
I'm using dynamic linking, and distributing framework_3.0.0.477.swf
with my web control. My company has been desperately searching around
for a licence for this file, but can't find one. In fact, they can't
even find a licence for the statically-linked version. I know it sounds
silly, but some
>
>
> Greg
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
> > How do you replace the dataProvider of an AdvancedDataGrid?
> >
> > I'm reorganizing the data, and, for efficiency, I'd like to do so
> in
> > an ArrayColle
How do you replace the dataProvider of an AdvancedDataGrid?
I'm reorganizing the data, and, for efficiency, I'd like to do so in
an ArrayCollection that's not linked to the ADG, and then replace the
dataProvider. I've had a lot of trouble getting this to work.
First I tried the obvious (the dat
extField.width + widthSlop;
measuredHeight = textField.height + heightSlop;
}
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> I'm working with a very narrow app, so tooltips are sometimes wider
> than the app.
>
> How do I add word-wrap to tooltips?
>
I'm working with a very narrow app, so tooltips are sometimes wider
than the app.
How do I add word-wrap to tooltips?
How do I make the background color of my flex app match the color of
the HTML page behind it? It seems that no matter what I do (short of
setting background color on mx:Application), I get the default blue-
gray background.
I've tried the following:
1) Using the bgcolor parameter and wmode=trans
Oh, never mind that sortExpertMode bit. It looks like it was working
fine. I just didn't realize that the only visual difference
between "true" and "false" is the horizontal line before the "1."
--- In flexcoders@yahoogroups.com, "whatabrain"
I mean sortExpertMode="true." :) False is the default.
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Another detail -- putting the skin on the first subclass of ADG
fixes
> the problem with verticalGridLines and alternating
ion may be to implement
your
> own custom header renderer which prevents this behavior.
>
> HTH,
> Ryan
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of whatabrain
> Sent: Tuesday, September 16, 200
I have a column defined like this:
Another detail -- putting the skin on the first subclass of ADG fixes
the problem with verticalGridLines and alternatingItemColors, but it
still breaks sortExpertMode="false."
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Yes,
com, "Pan Troglodytes"
<[EMAIL PROTECTED]> wrote:
>
> I might have to see some code before I can figure it out. But out
of
> curiosity, when you say you "override" headerSeparatorSkin, do you
mean you
> just do something like:
>
>
>
> or are you
;
> 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.
> >
> > However, overrid
you
could
> get it to do just what you want. You're still left with the
default border
> around the entire block of columns drawn by the grid. There's
probably
> another skin you could replace to get rid of that if it's a problem.
>
> On Tue, Sep 16, 2008 at 1:10
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Mon, Sep 15, 2008 at 4:48 PM, whatabrain <[EMAIL PROTECTED]> wrote:
>
> > Thanks! That fixed most of
t;
> http://www.adobe.com/2006/mxml";
> layout="vertical"
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Mon, Sep 15, 2008 at 1:12 PM, whatabrain <[EMAIL PROTECTED]> wrote:
>
> > I'm having trouble getting
I'm having trouble getting my AdvancedDataGrid's header to look like
I want, and I can't seem to find any reference for what styles are
allowed in the "headerStyleName" class. Worse, I've found that some
styles (like headerColors) can only appear in the table body's style.
Here are the things I
1) I call disableAutoUpdate() on an ADG's dataProvider (an
ArrayCollection added as mx:HierarchicalData).
2) I add a thousand items to the grid.
3a) If I now call items.enableAutoUpdate(), things work fine, but the
refresh takes a really long time, because a thousand events are
fired. There's
It turns out that filtering out the parent node hides all the
children too, so I guess this isn't what I want after all.
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
ust
create
> a new collection, from the original (excluding the parents), and
use
> that as the DataProvider. But, give refresh a try first.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
> > No, I never call refresh(). Here'
r children.
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
>
> "and both are called after the filter is defined"
>
> Are you calling ArrayCollection.refresh() after you finish adding
the
> parent and children objects?
>
well as a basic idea of the collection's
structure.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
> > When I try this, the filter function isn't called for top-level
> > items. It's called for all child nodes in the da
by removing it from the dataProvider.
There is
> > no direct relationship between a DG row and a dataProvider item.
> >
> > Tracy
> >
> >
> >
> > ____
> >
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTEC
How do you hide a row in an AdvancedDataGrid? I can't find any method
that lets you get a row by index or item.
t; matches. For example, if 5 people have similar results,
then the
> user groups them together in a common group and will want to be
able to
> see these groups as a subset of the whole dataset.
>
> Adrian
>
> whatabrain wrote:
> >
> > One of your problems mig
Adobe.
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of whatabrain
> Sent: Thursday, September 04, 2008 2:32 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Help with runtime shared libraries
>
>
> I made the flex framework int
One of your problems might be that you're using a grouping grid. I
tested an ADG with 5,000 rows, and the grouping version took a huge
amount of time to render, while the non-grouping version took just
four seconds.
--- In flexcoders@yahoogroups.com, Adrian Williams <[EMAIL PROTECTED]>
wrote
This way might work too. It uses less code, and is a little more
transparent to upgrades of the Flex framework:
private var _blockValidateNow:Boolean = false;
override protected function updateDisplayOfItemRenderer
(r:IListItemRenderer):void
{
_blockValidateNow = true;
super.updateDisplayOfItemR
I made the flex framework into an RSL, and I put both the swf and swz
versions in servername.com/subdir/. This is the same location where the
Flex app itself is located. Then I load the page, using the latest
version of Flash 9. I get the following error:
Error #2032: Steam Error. URL:
http://
The flash installer (playerProductInstall.swf) tries to reload the
container page in a new Explorer window when the installation is
complete. Today, I found out why they do this, and I was wondering if
anyone knows of a work-around...
My first idea was this:
If a new version is required, pop up
I've created a flex app that's 154x150. If the user doesn't have the
right version of Flash, playerProductInstall.swf gets loaded. The
problem is, if the "Adobe Flash Player Update" popup doesn't fit in the
client area, it isn't drawn at all. You just get a blank area. I've
determined that the
___
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of whatabrain
> Sent: Tuesday, August 12, 2008 3:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] My itemRenderer is cancelling wordWrap
setting on
> AdvancedDataGrid
grid item usually selects it.
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Which os? Flex is multi-platform.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED
Oh yeah. I just remembered my real problem, which looks like a bug in
flex.
ListEvent.columnIndex ignores invisible columns. So if column 0 is
invisible, then column 1 will have an index of "0." However,
AdvancedDataGrid.columns knows about invisible columns. Is there any
way to fix this, othe
I have an AdvancedDataGrid, where the first column has
visible="false." When I click on the second column, the event calls
it column 0, even though it should be column 1. How do I get the
actual column index? I need this because in my application, it's not
completely obvious at any given time w
__
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of whatabrain
> Sent: Tuesday, August 12, 2008 3:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] My itemRenderer is cancelling wordWrap
setting on
> AdvancedDataGridColumn
>
I want an AdvancedDataGridColumn to have word wrap, soI set the
wordWrap attribute to true. The column contains an itemRenderer, which
renders an mx:Label, which contains the actual text. But that text
doesn't wrap.
The reason I'm using an itemRenderer is because otherwise, tooltips
groups.com, "flexawesome" <[EMAIL PROTECTED]>
wrote:
>
> are you able to use the mask?
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
> > Let's say I have a 64x64 image, but I only want to display one
>
Let's say I have a 64x64 image, but I only want to display one 16x16
section of it. How would I do this? I tried playing with
img.transform.pixelBounds.offset(), but it didn't do anything.
http://www.adobe.com/2006/mxml";
implements="mx.controls.listClasses.IDropInListItemRenderer">
e in this case, post your code. The question
> "Shouldn't a grandchild of Object have the same properties as a
child of
> Object?" is unlikely to get you anything resembling useful help.
>
> -Josh
>
> On Tue, Aug 5, 2008 at 8:05 AM, whatabrain <[EMAIL PROTECT
I create ClassA that extended Object. Inside, I declared some static
variables. No problem. Then I create ClassB that extends ClassA, and I
give it some static variables. I get the following error:
1119: Access of possibly undefined property staticEventDispatcher
through a reference with static
I would to change a boolean variable somewhere, and have
AdvancedDataGrid expand or collapse a node as a side-effect. Is there a
way to do this?
List implementation that
> handles addItemsAt and sends the appropriate change event, but I'm
not
> sure all of those code paths have been exercised.
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of whatabra
ar is created until I collapse and expand the parent node.
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Sorry for cluttering the group...
>
> I found one more detail. If, instead of disabling auto-update on
the
> root node, I do
f the AdvancedDataGrid's current scroll area. If I then
collapse and expand the root, I see all the rows.
If I do enable auto-update later on the child, the rows get drawn,
but it takes even longer than without this trick (14 seconds instead
of 8).
--- In flexcoders@yahoogroups.com, &
Huh. I just noticed that when I comment out the line that calls
enableAutoUpdate(), auto-update still happens. This tells me I'm
doing something wrong. Any ideas?
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Replacing the dataPro
ECTED]> wrote:
>
> >There is enable/disableAutoUpdate, but adding rows one at a
time is
> > inefficient. Just concat the two arrays and replace the
dataprovider
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > B
I've found that adding a lot of rows (1000+) to an AdvancedDataGrid can
be quite slow, if the rows happen to be visible (in an open node of the
tree). I don't know why this is the case, especially since it's not the
case in a regular DataGrid, but I'd like to work around it.
So how can I tell t
If I extend a control, how do I allow new parameters in the instance's
mxml definition? For example, how would I make this possible:
ouseEvent):void
{
if (m_processingItemClick)
m_processingItemClick = false;
else
grid.selectedIndex = -1;
}
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Also, when I change focus to another window and then back to the
flex
> app, mouseFocusChange
Also, when I change focus to another window and then back to the flex
app, mouseFocusChange stops firing. It never fires again after that.
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Thanks. That's very close to what I want. Howev
darylducharme/blog/2007/12/14/hidden-gems-
mousefocus\
> change
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
> > I have an AdvancedDataGrid which has a few rows, and lots of empty
> > space. When I click on the empty space, I want all the rows to be
I have an AdvancedDataGrid which has a few rows, and lots of empty
space. When I click on the empty space, I want all the rows to be
deselected. How do I detect that I've clicked in an empty space?
I tried using grid.getObjectsUnderPoint() in the "click" event, but the
results aren't very usefu
Oops. I used grid.selectedItems[x] instead of
grid.selectedItems[idx]. I don't know why "x" exists.
So the conclusion is: Overwriting selectedItems works. Pushing
elements onto selectedItems does not.
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECT
tedItems.
>
> so, to make it simple, if you want to select rows 2,4,6 you'd do
something like:
> var mySelection:Array = [2,4,6];
> adg.selectedINdices = mySelection;
>
> hth
> julio
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
&g
>
> --- In flexcoders@yahoogroups.com, "whatabrain" wrote:
> >
> > Another old question, I'm sure, but I can't find an answer
anywhere on
> > the web.
> >
> > How do I cause a row to be selected in an AdvancedDataGrid?
Basically,
> > when a top-level element is clicked, I want all of its child
elements
> > to be selected.
> >
>
Another old question, I'm sure, but I can't find an answer anywhere on
the web.
How do I cause a row to be selected in an AdvancedDataGrid? Basically,
when a top-level element is clicked, I want all of its child elements
to be selected.
I would like to make an AdvancedDataGrid where the rows with a depth of
0 (or a particular RendererProvider, if you prefer), have no select
color. That is, you can click on them and activate click events, but
they never turn blue. How do I do this?
Thanks
Let's say I have a single column which contains an image and some text.
Then I get a click event from the AdvancedDataGrid. How do I tell
whether the image was clicked, rather than the text?
My grid uses a HierarchicalData dataProvider, which points to a
subclass of ArrayCollection. The dataProvider is declared Bindable. The
data is an ArrayCollection of arrays.
I create a single top-level node, and then create 5000 child nodes. If
the top-level node is collapsed, it takes about 4
er column, it's indented too
far.
So how do I make the group name span all five columns, giving it enough
space to display?
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "whatabrain" junk1@ wrote:
>
ot;";
> ac.itemUpdated(data, dataField);
> }
>
> aside, selectedIndex and selectedColumnIndex should give you the
indices you
> need to retrieve a itemRenderer or a datapovider's object
>
>
>
> 2008/7/25 whatabrain <[EMAIL PROTECTED]>:
&g
How can you tell which item in the dataProvider was clicked in an
AdvancedDataGrid, when using HierarchicalData as the dataProvider?
I tried using the typical DataGrid method, of saving off the item index
in itemRollOver, and using it to determine the index of the clicked
item. However, with Ad
I'm having trouble laying out my AdvancedDataGrid. I would like to have
a tree with a depth of 1 (a root node only contains leaf nodes). The
rootnode is just the expand/collapse icon, followed by a name. The leaf
nodes have several columns, the first few of which are very narrow.
Basically, I w
ork is not included in the Flash 9 runtime. It has to
be
> > downloaded by some app into that user's browser, then other apps
can use it.
> >
> > -Alex
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[E
Probably an old question, but I didn't find anything useful by
searching the group.
I'm using the trial version of Flex Builder 3 Standard. I create a new
Flex project, and, without writing any code, export a release build.
The swf file size is 147KB. Then I create a project that contains
noth
I found the answer. Set the "wmode" parameter to "transparent."
Now I just need to figure out how to play with the z-order. The
underlying javascript is always on top.
--- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote:
>
> Is
Is there a way to make a flex app transparent, and have its events pass
through to underlying javascript?
For example, there's a flex app that takes up the entire window. There
are a couple controls in one corner, but otherwise, you can see through
the app to the html page below. The html page
Let's say I want to have a flex app expand to include new content. One
way to do this is to make a call to JavaScript to resize the container.
Is there a way to do it entirely within the app?
een localized.)
>
>
>
> So, in addition to localizing your app, you may need to localize the
> framework resources as well for the locales that you care about.
>
>
>
> Gordon Smith
>
> Adobe Flex SDK Team
>
>
>
> ____
Does Flex 3 require Flash 9? Can I make it work with Flash 7? What if I
throw AdvancedDataGrid into the mix? Does that change which version of
Flash is required?
Thanks
I noticed that in FlexBuilder, one of the project options
is "Additional compiler arguments." The default value in the field is "-
locale en_US." Does that imply that a Flex app can only work with one
locale? What if you have a single Flex app that you distribute to
several different countries?
Let's say I subclass a standard flex control:
package myStuff {
public class CustomGrid extends DataGrid {}
}
How do I instantiate it in mxml? I tried the following, but none of
them worked:
Let's say I subclass a control, like DataGrid:
package myStuff {
public class CustomGrid extends CDataGrid {}
}
How do I instantiate it in an mxml file? I tried these but they didn't
work:
Thanks for all your help! This group is making my transition from DHTML
to Flex so much easi
nMode: true;
mouseChildren: false;
}
Or do I have to subclass mx:Text?
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> http://flex.joshmcdonald.info/2008/07/how-to-force-hand-cursor-in-
custom.html
>
> -Josh
>
> On W
The only way I'm able to show the hand cursor over an mx:Text element is
if I both define the cursor in the style, and include an anchor tag in
an embedded mx:htmlText. If I omit either of those things, it doesn't
work. How can I make the hand cursor appear over an ordinary mx:Text?
Here's the st
Thanks!
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
When I hide an object using the "visibility" attribute, it still takes
up space in the document. I know that in css, you can use the "display"
style to fix this. How do you do it in flex?
I create the following objects inside an mx:TitleWindow:
The display has 20px or so of space between the two text elements. How
can I get rid of this space? Should I be using something other than
mx:Text?
85 matches
Mail list logo