[flexcoders] Using multipleSelect with a Datagrid

2007-11-28 Thread greenfishinwater
I have a datagrid with allowMultipleSelect="true". My question is how can I prevent a row from being selected depending on a value within that row. The user clicks a row, I want to look at my status value of that row and if a specific value then allow the select to continue. If it is not the corr

[flexcoders] Update properties from other objects/displaylist

2007-11-28 Thread Boris Horn
Hi flexer, i'm trying to update some properties from an object that is in the same package. When i trace e.g the alpha-value from the public variable (it's a Sprite) it gave me the right value. But when i said e.g something like that: md = new MarkenDisplay; trace(md.markenContainer.alpha) //O

[flexcoders] Module Loader

2007-11-28 Thread Gus
Hey all... is there a way to load a module not from an url but an object instance? I have a zip file with a module, I unzipped it with the nochump zip libraries and obtain the instance of the factory for the module ( or at least is what it seems )... but then I canĀ“t find a way to pass it to the

Re: [flexcoders] Crazy mx.charts.Legend Runtime Error

2007-11-28 Thread Tom Chiverton
On Tuesday 27 Nov 2007, brianwebb01 wrote: > at _Charting_mx_managers_SystemManager/create() Maybe you need to wait until the chart is all setup first - try adding the legend from a button click, as a quick test. -- Tom Chiverton Helping to biannually syndicate dynamic eyeballs on: http:/

Re: [flexcoders] Apollo installer

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, ecmntech wrote: > Hello guys. Just want to ask, if there's any site or anybody have a > Apollo installer? labs.adobe.com > Since AIR is for Flex 3. Apollo was the code name for AIR. Same thing. > I'm using Flex Builder 2.0.1 That's nice. -- Tom Chiverton Helping to

[flexcoders] Re: S-L-O-W progressBar ... zzz ...

2007-11-28 Thread candysmate
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Wednesday 28 Nov 2007, candysmate wrote: > > seems really slow. Is there a more efficient way to do this please? > > How many things are there in activeProductsArray ? > You could in crease your batch size (from 1)

Re: [flexcoders] Re: Help! Datagrid bug?

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, yossigordin wrote: > Add an event listener for FlexEvent.DataChange in your itemRenderer. > In the listener function do your code again. It would be better practice to call your creationComplete handler again, rather than cutting and pasting the code into another method.

Re: [flexcoders] Re: Previewing Halo styles

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, Amy wrote: > Would you mind sharing the steps you'd use to display the "selected" > style in the style explorer? Under 'buttons', pick 'button'. Toggle Button Bar may give you more hints. -- Tom Chiverton Helping to widespreadedly seize leading-edge solutions on: http:

Re: [flexcoders] Re: string to date, no support for european dates ?

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, johantrax wrote: > Thanks for the link, that one was exactly what I was looking for. > Think this should be filed as a bug/feature request ? As soon as Flex 3 is open sourced, I'll be submitting the code for inclusion myself, as a replacement for the current Date.parse()

Re: [flexcoders] S-L-O-W progressBar ... zzz ...

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, candysmate wrote: > seems really slow. Is there a more efficient way to do this please? How many things are there in activeProductsArray ? You could in crease your batch size (from 1) by using "where code in (a,list,of,ids)". -- Tom Chiverton Helping to enthusiastical

Re: [flexcoders] Load HTML from URL into Flex Component

2007-11-28 Thread Derrick Anderson
maybe this link can be of some help to you http://www.deitte.com/IFrameDemo3/IFrameDemo.html d. On Nov 28, 2007 10:48 AM, byte.sensei <[EMAIL PROTECTED]> wrote: > I have a Flex 3 application that generates HTML, PDF, and Excel reports > from SQL Server Reporting Services. > > In the case of H

[flexcoders] a tree that keeps sorted

2007-11-28 Thread Pan Troglodytes
I'm trying to build a tree (Flex 2) that keeps its nodes sorted, even when you edit them. I keep running into problems, though. Here's the basic app, without the auto-sorting: http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="creationComplete()"> Okay, so tha

[flexcoders] Re: Events, itemRenderers, and the horizontalList control

2007-11-28 Thread burttram
Awesome, I'll check out your blog and look into that solution then. Thank you very much. -Brian

Re: [flexcoders] Re: Focus Question

2007-11-28 Thread Christopher Olsen
Thank you for the help it worked great. Daniel Freiman wrote: or you could set the focusAlpha style equal to 0. - Dan Freiman On Nov 28, 2007 8:48 AM, m.ar80 <[EMAIL PROTECTED] > wrote: Look into implementation of TextInput.focusInHandler() and override it

[flexcoders] How to remove the current sort on a Datagrid

2007-11-28 Thread ruidsoares
Hi, I have a Datagrid that the user is able to edit directly. He is also allowed to add a new item in the grid. This is done by using addItem on the ArrayCollection that serves as the data provider for the grid. After that I use the editedField method of the datagrid to give focus to the fir

Re: [flexcoders] Re: Focus Question

2007-11-28 Thread Daniel Freiman
or you could set the focusAlpha style equal to 0. - Dan Freiman On Nov 28, 2007 8:48 AM, m.ar80 <[EMAIL PROTECTED]> wrote: > Look into implementation of TextInput.focusInHandler() and override it > to set focusManager.showFocusIndicator to false > > >

[flexcoders] Load HTML from URL into Flex Component

2007-11-28 Thread byte.sensei
I have a Flex 3 application that generates HTML, PDF, and Excel reports from SQL Server Reporting Services. In the case of HTML, I've been using navigateToURL() to load the result into the browser. This works fine, but I'd really like to embed the HTML into a Flex container and "wrap" the appl

[flexcoders] S-L-O-W progressBar ... zzz ...

2007-11-28 Thread candysmate
I use the code shown below to update a progressBar, while updating a MS SQL 2005 database from an arraytCollection. It works fine but it seems really slow. Is there a more efficient way to do this please? code (Flex 2.01): private var queryCounter:Number = 0; private function runQueryLoop():void

[flexcoders] VideoDisplay inconsistent behavior, it gets Stuck

2007-11-28 Thread Nadeem Manzoor
Hello Guys I am working on a Flex Media application. I am sending Flv path through Javascript. Everythings is working fine. But, suppose, if i send a fake flv url it throgh an Exception "connectionerror" and after then it gets stuck e.g. after connectionerror if i am trying to pass a proper flv pa

[flexcoders] Re:HistoryManagement

2007-11-28 Thread Oruesagasti Aritz
>From Adobe Flex 2: Training from the source: "Due to security constraints, History Management does not work in Internet Explorer when previewing a local file, meaning that it does not work when previewing local files on your hard drive. However, it will work if the file is on a web server or acces

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
> I suppose we could monkey-patch a listeners collection... dare me? :) Ugh, I guess we can't since the source isn't available.

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Jim Hayes
Ben may not have been, but I always have been thinking of this. It would be handy in debugging memory issues for one thing, and also a bit quicker (and surer, given the possibility of missing one?) to loop and clear all than specifically clearing several events on, say, a streamLoader or similar.

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
That wasn't specifically my thinking but that seems like it would be a super useful benefit of having that info available. I honestly can't remember every situation that has made me want this functionality but the most recent time was when I was trying to determine if a certain function had been re

[flexcoders] Re: Previewing Halo styles

2007-11-28 Thread Amy
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Tuesday 27 Nov 2007, Amy wrote: > > from the regular style. I haven't been able to find a graphical > > representation of these styles. Any ideas? > > http://examples.adobe.com/flex2/consulting/styleexplorer/Fle

[flexcoders] Re: Cannot change button style

2007-11-28 Thread Amy
--- In flexcoders@yahoogroups.com, shaun <[EMAIL PROTECTED]> wrote: > > Amy wrote: > > A is the label, whereas a is the ID. The code hinting works, so I > > have no reason to suspect I've gotten that bit wrong. > > Ahh.. sorry my mistake. :) > > Well, from the original error message you provid

[flexcoders] Re: ListCollectionView dispatches too many CollectionEvents after enableAutoUpdate

2007-11-28 Thread t0ml33
It's a web-services based search application. I'm basically lazy- loading search results into a collection in chunks of 20 or so. The chunks may be non-sequential, so I pad the ArrayCollection with empty items that are replaced as they become available. >From what you're saying, disableAutoU

Re: [flexcoders] Reference to the content area of a Panel component

2007-11-28 Thread Mark Lapasa
I got this thing to work perfectly under Flex 3 but in Flex 2 which I am targeting for, it breaks. In Flex 3, the panel's border metrics give me top:30, left:10, right:10, and bottom:10. I am able to get this from PanelSkin. In Flex 2, the panel's border metrics give me top:0, left:0, right:0,

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Samuel R. Neff
.NET does this and it comes in handy (although usually in situations that would not apply in Flex, such as threading and switching contexts). I agree that if data is stored internally, it should be made available. Sam --- We're Hiring! Seeking a passion

Re: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Doug McCune
I can see this functionality being useful for various reasons. Ben, are you thinking you want to track down any listeners that are left over that are preventing garbage collection? Doug On 11/28/07, ben.clinkinbeard <[EMAIL PROTECTED]> wrote: > > Sometimes it would be really nice be able to acc

[flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
Sometimes it would be really nice be able to access a list of currently attached listeners by doing something like myButton.listeners. Having that return a collection of objects that expose the event type and handler method would be nice and it doesn't seem like it would be that hard to implement s

[flexcoders] Re: Focus Question

2007-11-28 Thread m.ar80
Look into implementation of TextInput.focusInHandler() and override it to set focusManager.showFocusIndicator to false

RE: [flexcoders] Skinning a Panel in Flex

2007-11-28 Thread Clinton D. Judy
Flex 3 Beta 2... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Szeto Sent: Monday, November 26, 2007 7:51 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Skinning a Panel in Flex Clinton, Support for Scale9Grid in Panel was added in Flex 3. Wh

[flexcoders] c99 its a virus, do not open that mail

2007-11-28 Thread Kun Janos
Sorry :( Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/

[flexcoders] Apollo installer

2007-11-28 Thread ecmntech
Hello guys. Just want to ask, if there's any site or anybody have a Apollo installer? Since AIR is for Flex 3. I'm using Flex Builder 2.0.1 TNX.

[flexcoders] VideoDisplay inconsistent behavior, it gets Stuck

2007-11-28 Thread Nadeem Manzoor
Hello Guys I am working on a Flex Media application. I am sending Flv path through Javascript. Everythings is working fine. But, suppose, if i send a fake flv url it throgh an Exception "connectionerror" and after then it gets stuck e.g. after connectionerror if i am trying to pass a proper flv pa

[flexcoders] Re: Spreadsheet application in Flex

2007-11-28 Thread andrii_olefirenko
Thanks for feedback 1. yes, the formula evaluator doesn't check for valid ranges yet, though in this case it could be like recursion calculations but it will end up with infinite recursion - which is not good :) 2. yes, it will be implemented cause i''m pretty tired of entering addresses by hand t

[flexcoders] Re: Help! Datagrid bug?

2007-11-28 Thread yossigordin
Hi, I know this problem, happened to me once. This is a known issue that won't be fixed by Adobe. It usually happens when you try to scroll - the data is presented in a wrong way. But it has a solution. Add an event listener for FlexEvent.DataChange in your itemRenderer. In the listener function

RE: [flexcoders] Bubble chart item

2007-11-28 Thread Sunil Bannur
This was a bug, it has been fixed in Flex 3 beta 2. You can also override guardminmax function of numericaxis to adjust your min and max values of the axis. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent:

[flexcoders] Re: string to date, no support for european dates ?

2007-11-28 Thread johantrax
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > If you *must* allow users to type in the box, you want to parse the String > into a real Date (once the control loses focus) then assign that Date back to > the control, before calling your validation - assuming the s

[flexcoders] Achieving weak-ref VALUE Dictionaries; Alternatives

2007-11-28 Thread Aldo Bucchi
Hi all, I have a situation where I need to pool a certain type of objects based on their value, so that for each for each person ID I have at most one PersonVO living at a certain moment This way I can always test equality as follows: personVO1 === personVO2 instead of a custom value based meth

Re: [flexcoders] Spreadsheet application in Flex

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, andrii_olefirenko wrote: > We started developing a spreadsheet application (not only a component) > built in Flex. It's in deep Alpha stage but we are going to extend So, you're next on Adobe's hit list then, right :-) -- Tom Chiverton, waiting for Adobe Office **

Re: [flexcoders] Previewing Halo styles

2007-11-28 Thread Tom Chiverton
On Tuesday 27 Nov 2007, Amy wrote: > from the regular style. I haven't been able to find a graphical > representation of these styles. Any ideas? http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html ? -- Tom Chiverton Helping to preemptively disseminate 24/7 networ

Re: [flexcoders] How to force swf reload?

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, v.cekvenich wrote: > What (java)script do people us to deploy swf files? SwfObject. > We are using adobes .js script, but this does not reload the new swf > files when we release a new version. > So our users see the old swf version of our app. Is your web server sendin

RE: [flexcoders] Re:Styles for the Title Bar of a TitleWindow or Panel

2007-11-28 Thread Charlie Skinner
Thanks that was very helpful. It turns out that there is a Magic Number, aka 10, that is used to position the Close Button and the Title Text text field. So I guess overriding the layoutChrome() method is my only option. From: flexcoders@yahoogroups.com [mailto

[flexcoders] Focus Question

2007-11-28 Thread Christopher Olsen
Hello, When I have something like a textInput and it's in focus it gets a blue highlighted border around it... Is there a way to disable that particular border? -Christopher

Re: [flexcoders] Re: string to date, no support for european dates ?

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, johantrax wrote: > Tom, would be nice to use *date*, only.. this isn't a property of the > DateField... Sorry, it's selected date. > So that doesn't apply for a manually entered date. *Ahh*. With you now :-) If you *must* allow users to type in the box, you want to pars

[flexcoders] Re: string to date, no support for european dates ?

2007-11-28 Thread johantrax
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > DateField.*date* not DateField.*data* > Tom, would be nice to use *date*, only.. this isn't a property of the DateField... There is however the property selectedDate, but as stated in the docs: "Date as selected in

[flexcoders] Bubble chart item

2007-11-28 Thread hworke
Hi, in a bubble chart the bubbles do not show up if the radius of every single bubble are equal. Is it a bug or this is the way it should be? Regards

[flexcoders] HistoryManagement

2007-11-28 Thread eric . guesdon
Hi to all, Did you already meet this issue ? I made a simple application with tabnavigator. Within one of its container i put a link to an external html location. So, i expect to play with both Back and Forward navigator Button. Expected behavior is ok with Netscape 9 - FireFox 2 but with IE7

Re: [flexcoders] Re: string to date, no support for european dates ?

2007-11-28 Thread Tom Chiverton
On Tuesday 27 Nov 2007, johantrax wrote: > wrote: > > Why are you manipulating the String of a DateField, and not the Date ? > This is because the call to super.doValidation(value) needs a string > as parameter, using the date gives the following validationError: > "Please enter a year between

[flexcoders] Re: getElement from scope

2007-11-28 Thread johantrax
> Like if i create a to work with it on the > actionscript just use foo.text = 'bla' for example. > The reason you can access foo in your AS here is because when you define an mxml-tag, it basically becomes a public, bindable property of that class. So if you want the same in AS it's sth like:

[flexcoders] ItemEditors and ItemRenderers (was Re: Datagrid tab order?)

2007-11-28 Thread Stephen Roy J. Tang
Can you check my sample here: http://roytang.net/sandbox/DataGridSample.swf Source at http://roytang.net/sandbox/DataGridSample.mxml When I tab starting from the textinput and all the way to the last row of the datagrid (row 14), it's still ok. But after tabbing out from row 14 the tab order beco

[flexcoders] DSErrorHint

2007-11-28 Thread Romeo Obane
Hi to All, We are currently developing an Image Gallery Application. We have a fluorine service as our gateway to .Net. The developed application is working for a few weeks now, until today we encountered an error regarding the DSErrorHint, I've got some ideas about it but still can't figure it

<    1   2