[flexcoders] Building both with and without -use-network

2010-07-27 Thread whatabrain
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

[flexcoders] Firefox: Multi-select not working. Anyone have a work-around?

2009-04-03 Thread whatabrain
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

[flexcoders] Having trouble with qtp automation

2009-01-23 Thread whatabrain
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

[flexcoders] Re: Is there a licence for the Flex framwork?

2008-11-17 Thread whatabrain
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

[flexcoders] Re: Is there a licence for the Flex framwork?

2008-11-14 Thread whatabrain
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

[flexcoders] Re: Is there a licence for the Flex framwork?

2008-11-14 Thread whatabrain
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

[flexcoders] Is there a licence for the Flex framwork?

2008-11-14 Thread whatabrain
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

[flexcoders] Re: Replacing ADG dataProvider

2008-10-28 Thread whatabrain
> > > 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

[flexcoders] Replacing ADG dataProvider

2008-10-27 Thread whatabrain
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

[flexcoders] Re: Tooltips with word-wrap

2008-09-17 Thread whatabrain
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? >

[flexcoders] Tooltips with word-wrap

2008-09-17 Thread whatabrain
I'm working with a very narrow app, so tooltips are sometimes wider than the app. How do I add word-wrap to tooltips?

[flexcoders] Changing flex app background color

2008-09-17 Thread whatabrain
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

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-17 Thread whatabrain
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"

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-17 Thread 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

[flexcoders] Re: showDataTips on AdvancedDataGrid column gives tooltip to column header

2008-09-17 Thread whatabrain
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

[flexcoders] showDataTips on AdvancedDataGrid column gives tooltip to column header

2008-09-16 Thread whatabrain
I have a column defined like this:

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread whatabrain
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,

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread whatabrain
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

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread whatabrain
; > 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

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread whatabrain
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

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-16 Thread whatabrain
> > > > > > > > > > > > > > > > > On Mon, Sep 15, 2008 at 4:48 PM, whatabrain <[EMAIL PROTECTED]> wrote: > > > Thanks! That fixed most of

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-15 Thread whatabrain
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

[flexcoders] Styling AdvancedDataGrid's header

2008-09-15 Thread whatabrain
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

[flexcoders] ArrayCollection.refresh breaks scrollbar in ADG

2008-09-08 Thread whatabrain
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

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-08 Thread whatabrain
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:

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread whatabrain
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'

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread whatabrain
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? >

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread whatabrain
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

[flexcoders] Re: Hiding a row in an AdvancedDataGrid

2008-09-05 Thread whatabrain
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

[flexcoders] Hiding a row in an AdvancedDataGrid

2008-09-04 Thread whatabrain
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.

[flexcoders] Re: Horrible performance problems...Need some ideas on improving

2008-09-04 Thread whatabrain
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

[flexcoders] Re: Help with runtime shared libraries

2008-09-04 Thread whatabrain
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

[flexcoders] Re: Horrible performance problems...Need some ideas on improving

2008-09-04 Thread whatabrain
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

[flexcoders] Re: Horrible performance problems...Need some ideas on improving

2008-09-04 Thread whatabrain
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

[flexcoders] Help with runtime shared libraries

2008-09-04 Thread whatabrain
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://

[flexcoders] Detecting new flash version without a new browser instance

2008-09-03 Thread whatabrain
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

[flexcoders] playerProductInstall doesn't show up in tiny window. Can I change that?

2008-08-27 Thread whatabrain
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

[flexcoders] Re: My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-13 Thread whatabrain
___ > > 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

[flexcoders] Re: My itemRenderer is cancelling wordWrap... (derailed discussion)

2008-08-13 Thread whatabrain
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

[flexcoders] Re: Getting the clicked column index in AdvancedDataGrid (including invisible)

2008-08-13 Thread whatabrain
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

[flexcoders] Getting the clicked column index in AdvancedDataGrid (including invisible)

2008-08-13 Thread whatabrain
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

[flexcoders] Re: My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-13 Thread whatabrain
__ > > 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 >

[flexcoders] My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-12 Thread whatabrain
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

[flexcoders] Re: How do I show only part of an image?

2008-08-05 Thread whatabrain
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 >

[flexcoders] How do I show only part of an image?

2008-08-05 Thread whatabrain
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">

[flexcoders] Re: Flex class inherritance problem

2008-08-04 Thread whatabrain
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

[flexcoders] Flex class inherritance problem

2008-08-04 Thread whatabrain
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

[flexcoders] Is there a way to bind the "open" property of a node in AdvancedDataGrid?

2008-08-04 Thread whatabrain
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?

[flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread whatabrain
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

[flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread whatabrain
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

[flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread whatabrain
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, &

[flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread whatabrain
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

[flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread whatabrain
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

[flexcoders] How to temporarily stop a dataProvider from updating UI

2008-07-31 Thread whatabrain
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

[flexcoders] Adding parameters to a control's definition

2008-07-31 Thread whatabrain
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:

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid - SOLUTION

2008-07-31 Thread whatabrain
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

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid

2008-07-31 Thread whatabrain
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

[flexcoders] Re: Detecting a click on an empty part of AdvancedDataGrid

2008-07-31 Thread whatabrain
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

[flexcoders] Detecting a click on an empty part of AdvancedDataGrid

2008-07-30 Thread whatabrain
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

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread whatabrain
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

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread whatabrain
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

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread whatabrain
> > --- 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. > > >

[flexcoders] Programmatically select items in AdvancedDataGrid

2008-07-29 Thread whatabrain
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.

[flexcoders] AdvancedDataGrid: Making certain rows unselectable

2008-07-28 Thread whatabrain
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

[flexcoders] Figuring out which item within a column was clicked in AdvancedDataGrid

2008-07-28 Thread whatabrain
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?

[flexcoders] Wierd AdvancedDataGrid efficiency problem

2008-07-25 Thread whatabrain
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

[flexcoders] Re: AdvancedDataGrid layout problem

2008-07-25 Thread whatabrain
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: >

[flexcoders] Re: Figuring out what was clicked in AdvancedDataGrid

2008-07-25 Thread whatabrain
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

[flexcoders] Figuring out what was clicked in AdvancedDataGrid

2008-07-25 Thread whatabrain
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

[flexcoders] AdvancedDataGrid layout problem

2008-07-25 Thread whatabrain
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

[flexcoders] Re: Why is my swf so big?

2008-07-24 Thread whatabrain
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

[flexcoders] Why is my swf so big?

2008-07-22 Thread whatabrain
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

[flexcoders] Re: How do I make a flex app transparent?

2008-07-22 Thread whatabrain
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

[flexcoders] How do I make a flex app transparent?

2008-07-22 Thread whatabrain
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

[flexcoders] Self-resizing flex apps

2008-07-22 Thread whatabrain
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?

[flexcoders] Re: Is Flex compiled with only one locale?

2008-07-18 Thread whatabrain
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 > > > > ____

[flexcoders] Flex 3 with earlier versions of Flash

2008-07-18 Thread whatabrain
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

[flexcoders] Is Flex compiled with only one locale?

2008-07-18 Thread whatabrain
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?

[flexcoders] How do I instantiate a subclassed flex control in mxml?

2008-07-16 Thread whatabrain
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:

[flexcoders] Using subclassed flex controls in mxml

2008-07-16 Thread whatabrain
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

[flexcoders] Re: Trouble with hand cursor over mx:Text

2008-07-16 Thread whatabrain
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

[flexcoders] Trouble with hand cursor over mx:Text

2008-07-15 Thread whatabrain
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

[flexcoders] Re: Extra space appearing between my mx:Text elements

2008-07-15 Thread whatabrain
Thanks! --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > > > >

[flexcoders] Invisible elements taking up space

2008-07-15 Thread whatabrain
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?

[flexcoders] Extra space appearing between my mx:Text elements

2008-07-15 Thread whatabrain
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?