[flexcoders] Reg Checkbox in DataGrid

2009-04-29 Thread Ganesh Suyampirakasam
Hi

I have Datagrid with 4 columns

first column is filled with checkbox

Last Column is containing textbox..which i can able to edit.

when i select check box for that particular row and i am editing to that text 
area and i try to update 

But the textbox value which is storing the old value(ie)storing the default 
value

But if i made some changes in that textbox and if i am selecting check box then 
i am getting the updated value in that text box.

But requirement is to select chk box first and i need to edit the values in the 
text box and i want to update it.

Tell me ur suggestions

send me some examples or sample code regarding this issue

Thanks in Advance

Ganesh Suyampirakasam



  Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! 
Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox

Re: [flexcoders] Very confused with Builder

2009-04-29 Thread p...@vin Uttarwar
Hi,

I think your rpoblem is that ,
the compnent checkBoxStopPropagation that you have added is not included in
the bulid path.
So make sure that it is in the build path, you can do that by,
going to project *properties *then go to the *FlexLibraryBuildpath* and
in the classes tab make sue that all the classes has been selected.

Thanks,
Pravin

2009/4/29 markgoldin_2000 

>
>
> I have a common library that I share between my projects. The way I have
> confugired it is like this:
> I have added common library SWC to each project's libray path. When I want
> to at a component from common SWC to my project's mxml I am creating a new
> namespace xmlns:ns1="modulecode.*" where modulecode is under src of my
> common library. Then in my mxml file that component is described as
> following:
> ..
> 
> 
> 
> 
> ...
> Works fine. Now, I have added another component called
> "checkBoxStopPropagation" to the common library but the same approach is not
> working. I am getting:
> Could not resolve  to a component
> implementation.
> Plus, intellisence is not even showing that component while it show the
> other one. What's a deal here?
>
> Thanks
>
>  
>


Re: [flexcoders] Remote Desktop

2009-04-29 Thread meaglith
 You could try acrobat.com...

On Sat, Apr 25, 2009 at 2:07 PM, venkat eswar  wrote:

>
>
> Can we do Remote Desktop feature in Flex like one in GoToMeeting
>
>
>
> 
>


Re: [flexcoders] Flex help system

2009-04-29 Thread Rick Winscot
Doc-to-help baby... produce your help files from a Word doc and link from
your app via contexts exposed by D2H.

http://www.doctohelp.com/


Rick Winscot


On 4/29/09 10:06 PM, "Tony Obermeit"  wrote:

>  
>   
> 
>   
> 
> I've created a help page for my flex application which is a htmlText component
> shown in a pop up.
> 
> As I was using flex builder and using the dynamic help option, it became clear
> to me I need a more sophisticated help system within my flex applications.
> 
> Any thing out there?
> 
> 
>   
> 
> 
>> 



[flexcoders] Outputting a variable into htmlText

2009-04-29 Thread fumeng5
Hi --

I want to output a variable and hardcoded text in the htmlText property of a 
Text component. 

Here's what I tried first: 

content.htmlText = "The account " + this.acctName + " has been created ."

('acctName' is a private var that has accessor methods to get/set it.) 

That didn't work, so I read thru the archives and found a solution that didn't 
work either. 

[Bindable]
private var msgString:String = "The account " + {acctName} + " has been 
created . 

content.htmlText = "{msgString}"

What am I missing here? Can anyone offer any helpful pointers? 



[flexcoders] Flex help system

2009-04-29 Thread Tony Obermeit
I've created a help page for my flex application which is a htmlText
component shown in a pop up.

As I was using flex builder and using the dynamic help option, it became
clear to me I need a more sophisticated help system within my flex
applications.

Any thing out there?


[flexcoders] Multiple chart effects conflicting with each other

2009-04-29 Thread Anton T. Thorn
Hello all!   :)

Issue Description:

-  Two chart series of two different series types (mx:ColumnSeries and 
mx:LineSeries)
-  Trying to run two different chart data effects (mx:SeriesZoom and 
mx:SeriesSlide) simultaneously
-  Having some sort of conflict

My application is more complex than this, but this is a good example of the 
type of thing that's happening on our chart when the data provider changes:

1)  Please compile and run the following code.
2)  Then click the button at the bottom of the application.
3)  Notice how after the line series gets removed, it appears for a second, 
then disappears without using its hide and show effects.  Then it reappears, 
but this time using the appropriate chart data effect.

Can anyone tell me how to fix this?

Thanks,

Anton

-   THE CODE:  ---



http://www.adobe.com/2006/mxml"; width="100%"
height="100%">
  

  

  




  
  


  
 


   


   



   
   
   
   


 
 
  
  



[flexcoders] Migrating stylesheet from Flex 3.x to 4.0 (Gumbo)

2009-04-29 Thread daxdr9
I've just migrated an application to Gumbo and have found that the majority of 
the style is not working in Gumbo.  I adjusted the stylesheet for namespaces.  
Why is the styling not fully functional for Halo components in Gumbo?  Simple 
things like setting the borderThickness of a DataGrid are not working.  Is thee 
something I need to do in addition to namespaces to get this working?



[flexcoders] Multiple chart effects conflicting with each other

2009-04-29 Thread thorninc

Hello all!   :)

Issue Description:

-  Two chart series of two different series types (mx:ColumnSeries and
mx:LineSeries)
-  Trying to run two different chart data effects (mx:SeriesZoom and
mx:SeriesSlide) simultaneously 
-  Having some sort of conflict

My application is more complex than this, but this is a good example of the
type of thing that's happening on our chart when the data provider changes:

1)  Please compile and run the following code.  
2)  Then click the button at the bottom of the application.
3)  Notice how after the line series gets removed, it appears for a second,
then disappears without using its hide and show effects.  Then it reappears,
but this time using the appropriate chart data effect.

Can anyone tell me how to fix this?

Thanks,

Anton

-   THE CODE:  ---



http://www.adobe.com/2006/mxml"; width="100%"
height="100%">
  

  
  
  



 
  
  


  
 
 

   


   



   
   
   
   


 
 
  
  



-- 
View this message in context: 
http://www.nabble.com/Multiple-chart-effects-conflicting-with-each-other-tp23302381p23302381.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Flex with IBM Websphere / DB2

2009-04-29 Thread Kevin F. Benz
Whoa. 

 

You probably have few options as the Enterprise Application on Websphere,
what services it exposes and how they are presented ultimately will
determine what you can do. For example, the application could expose beans
as endpoint services (emulating SOAP methods), could expose JMS (MQ
Services) or EJB's as traditional RMI services. Either way, you need to
start there to determine what your options are. 

 

K

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of byte.sensei
Sent: Wednesday, April 29, 2009 12:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex with IBM Websphere / DB2

 






I've been working with Flex using .NET HTTP/SOAP web services and MS SQL
Server for a while. Recently I started a new project using IBM Websphere
Application Server (6.1) and DB2. The environment is setup with a simple
Apache/Linux web server (no Websphere or other app server components), then
a Webspere App Server 6.1 behind a firewall, and finally a DB2 server (also
behind the firewall). The only server that is accessible externally is the
Apache/Linux web server.

My Flex app requires data from the DB2 database, and I'm used to getting it
via HTTP/SOAP web service calls. However, with nothing but a bare
Apache/Linux web server that is accessible externally, I'm trying to figure
out how to best create a simple server-side HTTP listener that will take
data requests, communicate with the WAS/DB2 servers, then send the data back
to the Flex client.

What choices/options are there for this scenario? I do have the capability
of installing some server-side components to the Apache/Linux web server.





RE: [flexcoders] Re: Access Tree's current item renderer

2009-04-29 Thread Tracy Spratt
Good, you did it correctly, because ".just to get that from the current
renderer."  would not have worked.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 29, 2009 7:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Access Tree's current item renderer

 






Yes, I agree with the later.
But in case, I have an excuse :)
I have built a custom renderer for my Tree which has been described in
another tread. This renderer would have a couple of checkboxes for some
nodes. When a user selects the node I need to know what checkboxes are
checked. The easeast way is just to get that from the current renderer, but
the right way is to have an underlying data which is what I edded up with.

--- In flexcod...@yahoogro  ups.com,
"Tracy Spratt"  wrote:
>
> Also, the renderer will be the event.target.
> 
> 
> 
> But be sure you really need this. Such questions usually indicate
> misunderstanding itemRenderers. There are few use cases where a reference
> to an itemRenderer is useful.
> 
> 
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
> _ 
> 
> From: flexcod...@yahoogro  ups.com
[mailto:flexcod...@yahoogro  ups.com]
On
> Behalf Of Yves Riel
> Sent: Wednesday, April 29, 2009 3:40 PM
> To: flexcod...@yahoogro  ups.com
> Subject: RE: [flexcoders] Access Tree's current item renderer
> 
> 
> 
> 
> 
> 
> 
> 
> The ListEvent return from the itemClick event contains a property called
> itemRenderer.
> 
> 
> 
> _ 
> 
> From: flexcod...@yahoogro  ups.com
[mailto:flexcod...@yahoogro  ups.com]
On
> Behalf Of markgoldin_2000
> Sent: Wednesday, April 29, 2009 10:15 AM
> To: flexcod...@yahoogro  ups.com
> Subject: [flexcoders] Access Tree's current item renderer
> 
> when I click on Tree's node how can I access the underlying item renderer?
> 
> Thanks
>





[flexcoders] Re: Access Tree's current item renderer

2009-04-29 Thread markgoldin_2000
Yes, I agree with the later.
But in case, I have an excuse :)
I have built a custom renderer for my Tree which has been described in another 
tread. This renderer would have a couple of checkboxes for some nodes. When a 
user selects the node I need to know what checkboxes are checked. The easeast 
way is just to get that from the current renderer, but the right way is to have 
an underlying data which is what I edded up with.

--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Also, the renderer will be the event.target.
> 
>  
> 
> But be sure you really need this.  Such questions usually indicate
> misunderstanding itemRenderers.  There are few use cases where a reference
> to an itemRenderer is useful.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of Yves Riel
> Sent: Wednesday, April 29, 2009 3:40 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Access Tree's current item renderer
> 
>  
> 
> 
> 
> 
> 
> 
> The ListEvent return from the itemClick event contains a property called
> itemRenderer.
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, April 29, 2009 10:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Access Tree's current item renderer
> 
> when I click on Tree's node how can I access the underlying item renderer?
> 
> Thanks
>




RE: [flexcoders] Re: How come setting the responder (async token) after the server call does WORKS???

2009-04-29 Thread Tracy Spratt
".chances of it working are reduced." Why do you say that?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Mehdi
Sent: Wednesday, April 29, 2009 11:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How come setting the responder (async token) after
the server call does WORKS???

 






I see. So shall I read your response as:
Flex asynchronous methods get queued up and are only invoked once ALL
synchronous calls in the same block get executed. 

So I were to have the following:

var asyncToken:ASyncToken
public function callServer():void
{
asyncToken= httpsrv.send();
}

public function doit():void
{
callServer();
asyncToken.addResponder(...);
}


So, in this case, my chances of it working are reduced... (not the 100%
anymore). Is that right?
thks.

--- In flexcod...@yahoogro  ups.com,
"Adnan Doric"  wrote:
>
> The key word is "asynchronous".
> 
> "httpsrv.send()" is asynchronous so it gets executed after all synchronous
statements (addResponder is synchronous) in the same block.
> 
> cheers,
> Adnan
> 
> --- In flexcod...@yahoogro  ups.com,
"Mehdi"  wrote:
> >
> > This is a question that has been bothered me for some time. 
> > You know how in Flex you can invoke a service (say httpservice for
instance) which returns a token. After that you set the responder on the
token. I.e.:
> > 
> > var asyncToken:ASyncToken = httpsrv.send();
> > asyncToken.addResponder(...)
> > 
> > We set the responder/handler AFTER the call has been set. Its very
awkward but it does work. I was hoping someone could explain this to me.
Thank you.
> > 
> > Flex being single threaded, the call to httpsrv.send() should actually
invokes the server and not get into the second line about the responder
until the call has been at least issued. 
> > But that's not how it works I guess. So, I am assuming the call is
queued somewhere, untiluntil when???
> > 
> > Cheers
> >
>





RE: [flexcoders] Re: Which rows in a datagrid contain modified items (and which don't) ?

2009-04-29 Thread Tracy Spratt
That is how I do it mostly.  My models are usually xml, and I put a
dtamodified="true" attribute on any "leaf" node that changes, and on each
parent up to the root.

 

On save, I use e4x to list the nodes with that attribute, and build an
update structure to send to the server.

 

Alternatives might be storing the indexes of changed items, or storing a
reference to the changed item itself in an array.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 29, 2009 6:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Which rows in a datagrid contain modified items
(and which don't) ?

 






How about to have a flag field in your data?
every time a row is modified set the flag to true for that row. Then filter
data on that flag and send back modified rows only.

--- In flexcod...@yahoogro  ups.com,
"Libby"  wrote:
>
> Hi, People
> 
> I have a datagrid where user can modify a few rows out of 200 - 500 then
click save. I only want to hit the database with the changed rows. Is there
a technique whereby I can identify the "dirty" rows, pluck them out, and
ship only them off to the database, without going thru and comparing column
by column, row by row?
> 
> Thanks,
> Libby
>





RE: [flexcoders] Access Tree's current item renderer

2009-04-29 Thread Tracy Spratt
Also, the renderer will be the event.target.

 

But be sure you really need this.  Such questions usually indicate
misunderstanding itemRenderers.  There are few use cases where a reference
to an itemRenderer is useful.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Yves Riel
Sent: Wednesday, April 29, 2009 3:40 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Access Tree's current item renderer

 






The ListEvent return from the itemClick event contains a property called
itemRenderer.

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 29, 2009 10:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Access Tree's current item renderer

when I click on Tree's node how can I access the underlying item renderer?

Thanks





RE: [flexcoders] Re: best ftp client

2009-04-29 Thread Tracy Spratt
Me too.  I've never done a lot of ftp, but FileZilla was easy to use and
does all all need so far.  

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of valdhor
Sent: Wednesday, April 29, 2009 8:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: best ftp client

 






I'm a big fan of FileZilla (http://filezilla-
 project.org/)

--- In flexcod...@yahoogro  ups.com,
"stinasius"  wrote:
>
> what is the best free ftp client to use to upload flex app to remote
server?
>





RE: [flexcoders] Effect works on addPopUp, but not on removePopUp - SOLUTION

2009-04-29 Thread Tracy Spratt
PERFECT!  Thanks a lot.

 

I thought I understood why I was having a problem, and shuffled the calls
around in my close handler without success, but using the effectEnd works
perfectly.

 

As you can see, I have a lot to learn about effects.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Harish Sivaramakrishnan
Sent: Wednesday, April 29, 2009 4:26 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Effect works on addPopUp, but not on removePopUp

 






may be you can try listening to the effectEnd event of the customPopClose
and then remove the popUp.

On Wed, Apr 29, 2009 at 12:58 AM, Tracy Spratt mailto:tr...@nts3rd.com> com> wrote:

 

I want to apply a resize and move effect to a popup component, and "reverse"
the effect when the popup is closed.  The effect works when I open the popup
but not when I remove it.  Below are the snippets of relevant code.  Any
suggestions will be welcome.

  private function showCCV():void

  {

_twCCV = new ImageMapCCV();

_twCCV.height = imgCCV.height;

_twCCV.x = 190

_twCCV.y = 455;

_twCCV.addEventListener("rollOut",onRollOut);

PopUpManager.addPopUp(_twCCV,this,false);

customPop.end();WORKS FINE

customPop.play();

  }//showCCV

  

  

  private function onRollOut(event:Event):void

  {

customPopClose.end();   DOES NOT WORK

customPopClose.play();

PopUpManager.removePopUp(_twCCV);

  }//onRollOut 



. 

  





  

  





  

Tracy Spratt,

Lariat Services, development services available

 





RE: [flexcoders] Which rows in a datagrid contain modified items (and which don't) ?

2009-04-29 Thread Alex Harui
The dataprovider/collection dispatches events when an item is changed.  Keep 
track of the items identified in those events and send those back to the server

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Libby
Sent: Wednesday, April 29, 2009 3:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Which rows in a datagrid contain modified items (and 
which don't) ?





Hi, People

I have a datagrid where user can modify a few rows out of 200 - 500 then click 
save. I only want to hit the database with the changed rows. Is there a 
technique whereby I can identify the "dirty" rows, pluck them out, and ship 
only them off to the database, without going thru and comparing column by 
column, row by row?

Thanks,
Libby



[flexcoders] Re: Which rows in a datagrid contain modified items (and which don't) ?

2009-04-29 Thread markgoldin_2000
How about to have a flag field in your data?
every time a row is modified set the flag to true for that row. Then filter 
data on that flag and send back modified rows only.

--- In flexcoders@yahoogroups.com, "Libby"  wrote:
>
> Hi, People
> 
> I have a datagrid where user can modify a few rows out of 200 - 500 then 
> click save. I only want to hit the database with the changed rows. Is there a 
> technique whereby I can identify the "dirty" rows, pluck them out, and ship 
> only them off to the database, without going thru and comparing column by 
> column, row by row?
> 
> Thanks,
> Libby
>




[flexcoders] Which rows in a datagrid contain modified items (and which don't) ?

2009-04-29 Thread Libby
Hi, People

I have a datagrid where user can modify a few rows out of 200 - 500 then click 
save. I only want to hit the database with the changed rows. Is there a 
technique whereby I can identify the "dirty" rows, pluck them out, and ship 
only them off to the database, without going thru and comparing column by 
column, row by row?

Thanks,
Libby



[flexcoders] CreationPolicy=all, but no children?

2009-04-29 Thread Tom McNeer
I'm sure I'm making a very simple mistake, but -- consider the following
component:


http://www.adobe.com/2006/mxml";
xmlns:maps="maps.*" xmlns:views="views.*"
width="100%" height="100%" paddingBottom="20" paddingLeft="15"
paddingRight="10" paddingTop="15" >










In my application, this view has been created and used. A search has been
done, and the results displayed inside the CaseResults view above. So the
ViewStack has shown its initial child.

I have set the creationPolicy in the ViewStack to "all," which should
instantiate all its children.

Yet if I call either of the above public functions, I get a NULL reference
runtime error, which would indicate that either the ViewStack itself or its
children do not yet exist.

But at the point the functions are called, we have already viewed search
results within a child of the ViewStack.

Can someone help me understand what I've missed?

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


[flexcoders] Re: Autofilter Datagrid

2009-04-29 Thread Nick
Thanks! 

I had a feeling that was the case. I can paginate no problem BUT I want to 
ensure the filter does iterate over the entire collection. Being that each page 
would essentially have to go back to the server I am not sure the "real time as 
the user types" functionality is going to be feasible beyond the users current 
page. I may have to implement this as a web service call.

Then again I could use a combination of both. Load a manageable amount of 
records per page, enable as you type filtering, and then add a "search entire 
database" option to the filter controls.

Does anyone have any good examples of this filter as you type functionality? 

Thanks again. 

Nick  


--- In flexcoders@yahoogroups.com, Pedro Sena  wrote:
>
> I would not recommend to the things this way.
> 
> I'm thinking that you want to filter the data as user types, like:
> 
> Pe (typed)
> 
> Results:
> 
> Pedro
> Peterson
> ...
> 
> If you want to do this, think twice, each typed letter will trigger an event
> that will iterate over a collection containing 'thousands'(like you said) of
> records. This is a VERY bad idea.
> 
> I would recomend you to implement some pagination mechanism AND the filter
> mechanism, that way your first load will be faster and your filter will not
> iterate over the entire collection.
> 
> Just my 2 cents,
> 
> On Wed, Apr 29, 2009 at 5:51 PM, Nick  wrote:
> 
> >
> >
> > Hello all.
> >
> > I have a DataGrid that is loading thousands of records. I would like to be
> > able to add some filter controls to the top of the screen enabling users to
> > filter the data. I would like the filtering to happen in real time as the
> > user types their query.
> >
> > I know this has been accomplished before I just can't seem to find the best
> > solution.
> >
> > Any thoughts on the best way to approach this?
> >
> > Thanks.
> >
> > Nick
> >
> >  
> >
> 
> 
> 
> -- 
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>




Re: [flexcoders] Autofilter Datagrid

2009-04-29 Thread Pedro Sena
I would not recommend to the things this way.

I'm thinking that you want to filter the data as user types, like:

Pe (typed)

Results:

Pedro
Peterson
...

If you want to do this, think twice, each typed letter will trigger an event
that will iterate over a collection containing 'thousands'(like you said) of
records. This is a VERY bad idea.

I would recomend you to implement some pagination mechanism AND the filter
mechanism, that way your first load will be faster and your filter will not
iterate over the entire collection.

Just my 2 cents,

On Wed, Apr 29, 2009 at 5:51 PM, Nick  wrote:

>
>
> Hello all.
>
> I have a DataGrid that is loading thousands of records. I would like to be
> able to add some filter controls to the top of the screen enabling users to
> filter the data. I would like the filtering to happen in real time as the
> user types their query.
>
> I know this has been accomplished before I just can't seem to find the best
> solution.
>
> Any thoughts on the best way to approach this?
>
> Thanks.
>
> Nick
>
>  
>



-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


[flexcoders] Autofilter Datagrid

2009-04-29 Thread Nick
Hello all. 

I have a DataGrid that is loading thousands of records. I would like to be able 
to add some filter controls to the top of the screen enabling users to filter 
the data. I would like the filtering to happen in real time as the user types 
their query. 

I know this has been accomplished before I just can't seem to find the best 
solution. 

Any thoughts on the best way to approach this? 

Thanks. 

Nick 



[flexcoders] Re: Flex with IBM Websphere / DB2

2009-04-29 Thread Nick
Do you have to communicate directly to the DB2 server AND/OR the application 
server? I would image you have a bunch of options. 

My initial thought is to install unixODBC with the proper driver for connecting 
to DB2. This way you can develop scripts on the Linux server to expose an 
interface to Flex and access the DB2 data. My experience with unixODBC for 
connections to DB2 have been successful when the datasets are small. If you are 
just going to be talking to the Websphere server and the server is already 
exposing web services you can consume them on the Linux server and expose them 
to Flex. 

I am assuming here that the Linux server does have access to DB2 and Websphere. 
At the very least you will probably want to get a LAMP stack running on the 
Linux machine. 

Just some thoughts. 

Nick 


--- In flexcoders@yahoogroups.com, "byte.sensei"  wrote:
>
> I've been working with Flex using .NET HTTP/SOAP web services and MS SQL 
> Server for a while. Recently I started a new project using IBM Websphere 
> Application Server (6.1) and DB2. The environment is setup with a simple 
> Apache/Linux web server (no Websphere or other app server components), then a 
> Webspere App Server 6.1 behind a firewall, and finally a DB2 server (also 
> behind the firewall). The only server that is accessible externally is the 
> Apache/Linux web server.
> 
> My Flex app requires data from the DB2 database, and I'm used to getting it 
> via HTTP/SOAP web service calls. However, with nothing but a bare 
> Apache/Linux web server that is accessible externally, I'm trying to figure 
> out how to best create a simple server-side HTTP listener that will take data 
> requests, communicate with the WAS/DB2 servers, then send the data back to 
> the Flex client.
> 
> What choices/options are there for this scenario? I do have the capability of 
> installing some server-side components to the Apache/Linux web server.
>




Re: [flexcoders] Re: How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?

2009-04-29 Thread Jeffrey Vroom
In my opinion, LCDS should detect that you've called setRollbackOnly and
deliver a generic fault to the client.  I just recently left Adobe so it is
not my position anymore to say for sure it is a bug or just the way it
works.  I vaguely recall a bug opened on this issue but can't check since
that bug system is not public.

Jeff

On Wed, Apr 29, 2009 at 12:09 PM, Mehdi  wrote:

>
>
> --- In flexcoders@yahoogroups.com , Jeffrey
> Vroom  wrote:
> >
> > I think this is a bug - calling setRollbackOnly does not trigger the
> fault
> > handler. The server knows that transaction failed but the client does not
> > so things get out of sync. You have to throw an exception from your
> > assembler methods to get the fault handler called. When you do that, if
> > use-transactions=true, the rollback will happen automatically. this also
> > gives you the ability to pass the message of your exception to the client
> so
> > your fault handler knows what exactly the error was on the server.
> >
> > At that point, you can call revertChanges to undo that change.
> >
> > Jeff
> >
> > On Wed, Apr 29, 2009 at 9:15 AM, Mehdi  wrote:
> >
> > >
> > >
> > > The typical example.
> > > You have a datagrid that is bound with an arraycollection, which source
> is
> > > managed by LCDS via ds.fill().
> > > your datagrid is editable. The user edits a value in the collection and
> you
> > > fire a commit. (ds.commit()).
> > >
> > > Let say you are using a custom assembler. The
> > > updateItem(newVersion,prevVersion,changesList) method will be invoked.
> > > There assuming something goes wrong and you call:
> > >
> > >
> DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly();
> > >
> > > I can see the db rolling back no problem. But my client did not get any
> > > notification!
> > > I have callback functions in the commit, and I have event listener on
> the
> > > ds (fault and result) AS such:
> > >
> > > _dataService.commit();
> > > token.addResponder(new AsyncResponder(
> > > function onAsyncResult(result:Object, token:Object = null) : void
> > > {
> > > }
> > > function onAsyncFault(.../...)
> > > )
> > >
> > > AND,
> > >
> > > _dataService.addEventListener(DataServiceFaultEvent.FAULT,
> this.onFault,
> > > false, 0, true);
> > > _dataService.addEventListener(ResultEvent.RESULT, this.onResult, false,
> 0,
> > > true);
> > >
> > > NONE of these callbacks get called. So I basically have no way of
> knowing
> > > that a rollback happened, and the user datagrid is still showing the
> wrong
> > > value, since the commit failed. Any idea?
> > >
> > > Note that however when an exception is thrown on the server
> (updateItem()
> > > method), I do indeed get a callback via the AsyncFault method.
> > >
> > > Thank you.
> > >
> > >
> > >
> >
> Hi Jeff,
>
> I'm not sure what you meant by:
> "I think this is a bug - calling setRollbackOnly does not trigger the fault
> handler"
> Are you confirming the fact that this is a bug, and that calling
> setRollbackOnly SHOULD actually call the fault handler or you are saying
> that only throwing an exception should do it.?
>
> thanks.
>
>  
>


RE: [flexcoders] Custom Tooltip Issue - ItemRollOut not firing on List when scrolling

2009-04-29 Thread Alex Harui
Try getting rid of the tooltips if you get a scroll event or mouseWheel event

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of duanstravels
Sent: Wednesday, April 29, 2009 2:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Tooltip Issue - ItemRollOut not firing on List 
when scrolling





Hi All

I am having some issues with ToolTips on items in a List control. I am 
currently using FlexBuilder 3.

What I need to do is create a tooltip when a user rolls over the item in a 
list. The list stores a list of Metrics, and should show the definition 
associated with that metric when you roll over the item in the list.

The tooltip is created fine, and the tooltip disappears when the user moves the 
mouse to another item.

The problem comes in when the user rolls the mouse wheel to scroll the list 
down. The event doesn't fire,so the tooltip stays there, and another tooltip is 
created as the user is now pointing to a different item. You can now end up 
with multiple tooltips for different items.

I have tried using itemFocusIn and itemFocusOut as well, but this doesn't work 
either.

Not sure if there is another event I need to use, or if there is code I could 
use to destroy all tooltips on the screen. Either way would work.

Any help would be appreciated.

D

MXML:
-



ActionScript:
-

private function showTip(event:Object):void {
s = event.itemRenderer.data.Definition;
var pt:Point = new Point(
event.currentTarget.x,
event.currentTarget.y);

// Call this method to convert the object's
// coordinates inside its container to the stage's
// global coordinates.
pt = event.currentTarget.contentToGlobal(pt);
tip = ToolTipManager.createToolTip(s,
pt.x - event.currentTarget.width,
pt.y
) as ToolTip;
}

private function destroyTip():void {
ToolTipManager.destroyToolTip(tip);
}



RE: [flexcoders] Component in list communicating with main application

2009-04-29 Thread Alex Harui
Try calling parentDocument.myFunction

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of andrewfldn
Sent: Wednesday, April 29, 2009 5:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component in list communicating with main application





Hi

I have been going through the sample posted by Lee Brimelow ( 
http://www.gotoandlearn.com/play?id=100 ) to demonstrate how to populate a list 
with a custom application component with databinding.

Basically an array collection is populated and then a list is populated with a 
set of HBoxes that are bound to the data in the collection.

Here is the code that I am using for the component:-


http://www.adobe.com/2006/mxml";>





What I want to do is to add a function to allow the component to call a 
function in the main application I tried adding a button with a click to the 
function but it cannot access it.

How do I get the component to send information back to the application when the 
button has been clicked?

Many thanks, Andrew



[flexcoders] Flex with IBM Websphere / DB2

2009-04-29 Thread byte.sensei
I've been working with Flex using .NET HTTP/SOAP web services and MS SQL Server 
for a while. Recently I started a new project using IBM Websphere Application 
Server (6.1) and DB2. The environment is setup with a simple Apache/Linux web 
server (no Websphere or other app server components), then a Webspere App 
Server 6.1 behind a firewall, and finally a DB2 server (also behind the 
firewall). The only server that is accessible externally is the Apache/Linux 
web server.

My Flex app requires data from the DB2 database, and I'm used to getting it via 
HTTP/SOAP web service calls. However, with nothing but a bare Apache/Linux web 
server that is accessible externally, I'm trying to figure out how to best 
create a simple server-side HTTP listener that will take data requests, 
communicate with the WAS/DB2 servers, then send the data back to the Flex 
client.

What choices/options are there for this scenario? I do have the capability of 
installing some server-side components to the Apache/Linux web server.




[flexcoders] Re: Tree custom renderer

2009-04-29 Thread markgoldin_2000
Yes, I got it working too. 
Thanks.

--- In flexcoders@yahoogroups.com, "Yves Riel"  wrote:
>
> Works fine for me. You probably have another issue in there. This is
> what I had for item renderer. The other classes were not touched.
>  
> package
> {
>  import mx.controls.treeClasses.*;
>  public class treeRendererFilter extends TreeItemRenderer
>  {
>   private var _oTreeListData:TreeListData;
>   public var filter:customerReportingFilter = null;
>   
>   public function treeRendererFilter()
>   {
>super();
>   }
>   override public function set data(value:Object):void
>   {
>super.data = value;
>_oTreeListData = TreeListData(super.listData);
>   }
>   override protected function createChildren():void
>   {
>super.createChildren();
>filter = new customerReportingFilter();
>filter.width = 200;
>addChild(filter);
>validateDisplayList();
>   }
>   
>   override protected function updateDisplayList(unscaledWidth:Number,
> unscaledHeight:Number):void {
>super.updateDisplayList(unscaledWidth, unscaledHeight);
>label.width -= filter.width;
>filter.x = label.x + label.width;
>   }
>  }
> }
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, April 29, 2009 9:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Tree custom renderer
> 
> 
> 
> 
> 
> 
> "Not so fast" :)
> My item renderer with additional objects is shown properly. But the
> whole tree is not working they way it should. First, open/close symbol
> for the top "folder" node is shown now on a far right side, while it
> should be on a left. Second, when I open and close it, my special item
> renderer gets messed up.
> Any idea?
> 
> Thanks
> 
> --- In flexcoders@yahoogroups.com 
> , "markgoldin_2000"  wrote:
> >
> > Yep, that was it, thanks!
> > --- In flexcoders@yahoogroups.com
>  , "Yves Riel"  wrote:
> > >
> > > In your treeRendererFilter class, override the updateDisplayList
> method.
> > > In there, set the position of your customerReportingFilter based on
> the
> > > "label" property. Be careful since the "label" property, in the base
> > > class, is made to be the entire lenght of the item renderer minus
> the
> > > icons. So, you want to calculate the size of your
> > > customerReportingFilter component, in the measure function, and in
> the
> > > updateDisplayList function, you do something like:
> > > 
> > > override protected function updateDisplayList(unscaledWidth:Number,
> > > unscaledHeight:Number):void {
> > > super.updateDisplayList(unscaledWidth, unscaledHeight);
> > > label.width -= filter.width;
> > > filter.x = label.x + label.width;
> > > }
> > > 
> > > where filter is you customerReportingFilter.
> > > 
> > > Yves
> > > 
> > > 
> > > From: flexcoders@yahoogroups.com
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > > Behalf Of markgoldin_2000
> > > Sent: Tuesday, April 28, 2009 7:17 PM
> > > To: flexcoders@yahoogroups.com 
> 
> > > Subject: [flexcoders] Re: Tree custom renderer
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Actually it adds it behind the label. I have spent some time trying
> to
> > > tweak it with no success.
> > > Anybody, any idea?
> > > 
> > > --- In flexcoders@yahoogroups.com
> 
> 
> > > , "markgoldin_2000"  wrote:
> > > >
> > > > Yes, that was a problem to show an additional component.
> > > > Now when I see it, I realize that it's going to be added in a
> front of
> > > a node text, while I want it to be after. How to do that?
> > > > 
> > > > --- In flexcoders@yahoogroups.com
>  
> > >  , "Tracy Spratt" 
> wrote:
> > > > >
> > > > > One thing to watch for is that manual instantiation does not
> always
> > > set a
> > > > > default height and width. Explicitly set these to see if the
> child
> > > controls
> > > > > display
> > > > > 
> > > > > 
> > > > > 
> > > > > Tracy Spratt,
> > > > > 
> > > > > Lariat Services, development services available
> > > > > 
> > > > > _ 
> > > > > 
> > > > > From: flexcoders@yahoogroups.com
>  
> > > 
> > > [mailto:flexcoders@yahoogroups.com
> 
> 
> > > ] On
> > > > > Behalf Of markgoldin_2000
> > > > > Sent: Tuesday, April 28, 2009 3:54 PM
> > > > > To: flexcoders@yahoogroups.com
> 
> 
> > > 
> > > > > Subject: [flexcoders] Re: Tree custom renderer
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > >

RE: [flexcoders] Access Tree's current item renderer

2009-04-29 Thread Yves Riel
The ListEvent return from the itemClick event contains a property called
itemRenderer.



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 29, 2009 10:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Access Tree's current item renderer





when I click on Tree's node how can I access the underlying item
renderer?

Thanks






RE: [flexcoders] Re: Tree custom renderer

2009-04-29 Thread Yves Riel
Works fine for me. You probably have another issue in there. This is
what I had for item renderer. The other classes were not touched.
 
package
{
 import mx.controls.treeClasses.*;
 public class treeRendererFilter extends TreeItemRenderer
 {
  private var _oTreeListData:TreeListData;
  public var filter:customerReportingFilter = null;
  
  public function treeRendererFilter()
  {
   super();
  }
  override public function set data(value:Object):void
  {
   super.data = value;
   _oTreeListData = TreeListData(super.listData);
  }
  override protected function createChildren():void
  {
   super.createChildren();
   filter = new customerReportingFilter();
   filter.width = 200;
   addChild(filter);
   validateDisplayList();
  }
  
  override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void {
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   label.width -= filter.width;
   filter.x = label.x + label.width;
  }
 }
}




From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, April 29, 2009 9:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tree custom renderer






"Not so fast" :)
My item renderer with additional objects is shown properly. But the
whole tree is not working they way it should. First, open/close symbol
for the top "folder" node is shown now on a far right side, while it
should be on a left. Second, when I open and close it, my special item
renderer gets messed up.
Any idea?

Thanks

--- In flexcoders@yahoogroups.com 
, "markgoldin_2000"  wrote:
>
> Yep, that was it, thanks!
> --- In flexcoders@yahoogroups.com
 , "Yves Riel"  wrote:
> >
> > In your treeRendererFilter class, override the updateDisplayList
method.
> > In there, set the position of your customerReportingFilter based on
the
> > "label" property. Be careful since the "label" property, in the base
> > class, is made to be the entire lenght of the item renderer minus
the
> > icons. So, you want to calculate the size of your
> > customerReportingFilter component, in the measure function, and in
the
> > updateDisplayList function, you do something like:
> > 
> > override protected function updateDisplayList(unscaledWidth:Number,
> > unscaledHeight:Number):void {
> > super.updateDisplayList(unscaledWidth, unscaledHeight);
> > label.width -= filter.width;
> > filter.x = label.x + label.width;
> > }
> > 
> > where filter is you customerReportingFilter.
> > 
> > Yves
> > 
> > 
> > From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com 
] On
> > Behalf Of markgoldin_2000
> > Sent: Tuesday, April 28, 2009 7:17 PM
> > To: flexcoders@yahoogroups.com 

> > Subject: [flexcoders] Re: Tree custom renderer
> > 
> > 
> > 
> > 
> > 
> > Actually it adds it behind the label. I have spent some time trying
to
> > tweak it with no success.
> > Anybody, any idea?
> > 
> > --- In flexcoders@yahoogroups.com


> > , "markgoldin_2000"  wrote:
> > >
> > > Yes, that was a problem to show an additional component.
> > > Now when I see it, I realize that it's going to be added in a
front of
> > a node text, while I want it to be after. How to do that?
> > > 
> > > --- In flexcoders@yahoogroups.com
 
> >  , "Tracy Spratt" 
wrote:
> > > >
> > > > One thing to watch for is that manual instantiation does not
always
> > set a
> > > > default height and width. Explicitly set these to see if the
child
> > controls
> > > > display
> > > > 
> > > > 
> > > > 
> > > > Tracy Spratt,
> > > > 
> > > > Lariat Services, development services available
> > > > 
> > > > _ 
> > > > 
> > > > From: flexcoders@yahoogroups.com
 
> > 
> > [mailto:flexcoders@yahoogroups.com


> > ] On
> > > > Behalf Of markgoldin_2000
> > > > Sent: Tuesday, April 28, 2009 3:54 PM
> > > > To: flexcoders@yahoogroups.com


> > 
> > > > Subject: [flexcoders] Re: Tree custom renderer
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Thanks, Tracy, I have looked into your example.
> > > > 
> > > > Here is what I got so far. It compiles fine, but when it runs I
dont
> > see
> > > > anything except regular nodes with a text.
> > > > 
> > > > package
> > > > {
> > > > import mx.controls.treeClasses.*;
> > > > public class treeRendererFilter extends TreeItemRenderer
> > > > {
> > > > private var _oTreeListData:TreeListData;
> > > > public fun

[flexcoders] Re: How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?

2009-04-29 Thread Mehdi
--- In flexcoders@yahoogroups.com, Jeffrey Vroom  wrote:
>
> I think this is a bug - calling setRollbackOnly does not trigger the fault
> handler.  The server knows that transaction failed but the client does not
> so things get out of sync.   You have to throw an exception from your
> assembler methods to get the fault handler called.   When you do that, if
> use-transactions=true, the rollback will happen automatically.  this also
> gives you the ability to pass the message of your exception to the client so
> your fault handler knows what exactly the error was on the server.
> 
> At that point, you can call revertChanges to undo that change.
> 
> Jeff
> 
> On Wed, Apr 29, 2009 at 9:15 AM, Mehdi  wrote:
> 
> >
> >
> > The typical example.
> > You have a datagrid that is bound with an arraycollection, which source is
> > managed by LCDS via ds.fill().
> > your datagrid is editable. The user edits a value in the collection and you
> > fire a commit. (ds.commit()).
> >
> > Let say you are using a custom assembler. The
> > updateItem(newVersion,prevVersion,changesList) method will be invoked.
> > There assuming something goes wrong and you call:
> >
> > DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly();
> >
> > I can see the db rolling back no problem. But my client did not get any
> > notification!
> > I have callback functions in the commit, and I have event listener on the
> > ds (fault and result) AS such:
> >
> > _dataService.commit();
> > token.addResponder(new AsyncResponder(
> > function onAsyncResult(result:Object, token:Object = null) : void
> > {
> > }
> > function onAsyncFault(.../...)
> > )
> >
> > AND,
> >
> > _dataService.addEventListener(DataServiceFaultEvent.FAULT, this.onFault,
> > false, 0, true);
> > _dataService.addEventListener(ResultEvent.RESULT, this.onResult, false, 0,
> > true);
> >
> > NONE of these callbacks get called. So I basically have no way of knowing
> > that a rollback happened, and the user datagrid is still showing the wrong
> > value, since the commit failed. Any idea?
> >
> > Note that however when an exception is thrown on the server (updateItem()
> > method), I do indeed get a callback via the AsyncFault method.
> >
> > Thank you.
> >
> >  
> >
>
Hi Jeff,

I'm not sure what you meant by:
"I think this is a bug - calling setRollbackOnly does not trigger the fault 
handler"
Are you confirming the fact that this is a bug, and that calling 
setRollbackOnly SHOULD actually call the fault handler or you are saying that 
only throwing an exception should do it.?

thanks.




[flexcoders] Re: ADG Code Completion Missing

2009-04-29 Thread valdhor
The problem is that the ADG stuff is missing from the mxml-manifest.xml
file. The chart stuff is there but no ADG.

To fix, open up ...sdks/3.3.0/frameworks/mxml-manifest.xml in your
favorite editor. Add the following lines somewhere (I added them in the
 section)...





There may be more that I have missed but those three got me going again.


This has been reported as a bug which is supposedly fixed in Gumbo
(Which I am not using yet).


HTH.



Steve



--- In flexcoders@yahoogroups.com, Pan Troglodytes 
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 or ActionScript.
>
>
>
> On Wed, Apr 29, 2009 at 11:42 AM, Pan Troglodytes
chimpathe...@...wrote:
>
> > 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
> > 3.2.0 and the code completion would work.
> >
> > I found that when I switched it back and forth a few times, it
started
> > miraculously working even for 3.3.0.  Seems like something in FB is
getting
> > gummed up that eventually resets itself.
> >
> >
> >
> > On Wed, Mar 18, 2009 at 10:59 AM, valdhor valdhorli...@...wrote:
> >
> >>   This is the first time that I have actually used the
AdvancedDataGrid
> >> so I went through the instructions at...
> >>
> >>
http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.htm\
l
> >>
> >> and the thread at...
> >>
> >> http://tech.groups.yahoo.com/group/flexcoders/message/138099
> >>
> >> This worked well and I could run the examples and modify them as I
wanted.
> >>
> >> I did notice, however, that there was no code completion available
for any
> >> AdvancedDataGrid component.
> >>
> >> Am I missing something? A XML file is missing maybe?
> >>
> >> Any thoughts would be most welcome.
> >>
> >> Steve
> >>
> >>
> >>
> >
> >
> >
> > --
> > Jason
> >
>
>
>
> --
> Jason
>



[flexcoders] Re: Axis titles on CartesianChart blurry, but not on ColumnChart

2009-04-29 Thread netdeep


Perhaps there is there some default anti-aliasing value turned on for 
CartesianCharts, but not for ColumnCharts?



--- In flexcoders@yahoogroups.com, "Battershall, Jeff"  
wrote:
>
> Are you embedidng the font for the Axis titles? And if so, is
> advancedAntiAliasing = true in your @font-face declaration?
> 
> Jeff
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of netdeep
> Sent: Tuesday, April 28, 2009 11:28 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Axis titles on CartesianChart blurry, but not on
> ColumnChart
> 
> 
> This seems like a bug with Flex which I never noticed until just
> recently, but the vertical axis titles for CartesianCharts (and
> LineCharts as well) are blurry at higher resolutions.  However this
> problem is not present with ColumnChart.  I had to encode the charts
> with ImageSnapshot and export them as png files and I set the dpi to 300
> and this is when I noticed this glitch.  So maybe this also has to do
> with ImageSnapshot.
>  
> Have others noticed this problem and is there a way around it?
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-
> 1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>




Re: [flexcoders] ADG Code Completion Missing

2009-04-29 Thread Pan Troglodytes
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 wrote:

> 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
> 3.2.0 and the code completion would work.
>
> I found that when I switched it back and forth a few times, it started
> miraculously working even for 3.3.0.  Seems like something in FB is getting
> gummed up that eventually resets itself.
>
>
>
> On Wed, Mar 18, 2009 at 10:59 AM, valdhor wrote:
>
>>   This is the first time that I have actually used the AdvancedDataGrid
>> so I went through the instructions at...
>>
>> http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html
>>
>> and the thread at...
>>
>> http://tech.groups.yahoo.com/group/flexcoders/message/138099
>>
>> This worked well and I could run the examples and modify them as I wanted.
>>
>> I did notice, however, that there was no code completion available for any
>> AdvancedDataGrid component.
>>
>> Am I missing something? A XML file is missing maybe?
>>
>> Any thoughts would be most welcome.
>>
>> Steve
>>
>>  
>>
>
>
>
> --
> Jason
>



-- 
Jason


[flexcoders] Flex Copy/Pasting RTL Scripting Languages

2009-04-29 Thread nsverchek
Has anyone had any success designing an application that displays a RTL 
Scripting language in a textbox or text area and then tried coppying/pasting to 
a word document. Crazy things start happening when  adding spaces and 
english/numbers/ascii values to the word. 

I am using FP10, sdk 3.3
I have even tried looking up examples on the net that uses the FTE and Gumbo.. 
Copy and pasting still gets FUBAR'ed. 

Thanks

 Nick 




[flexcoders] Component in list communicating with main application

2009-04-29 Thread andrewfldn
Hi

I have been going through the sample posted by Lee Brimelow ( 
http://www.gotoandlearn.com/play?id=100 ) to demonstrate how to populate a list 
with a custom application component with databinding.

Basically an array collection is populated and then a list is populated with a 
set of HBoxes that are bound to the data in the collection.

Here is the code that I am using for the component:-


http://www.adobe.com/2006/mxml";>





What I want to do is to add a function to allow the component to call a 
function in the main application I tried adding a button with a click to the 
function but it cannot access it.

How do I get the component to send information back to the application when the 
button has been clicked?

Many thanks, Andrew



[flexcoders] Re: question for services-config?

2009-04-29 Thread aglosband
Those tokens are replaced at runtime using the values in the http request url. 
You can also use custom run-time tokens that are replaced using options that 
are passed to the JVM. The following section of the blazeds documentation 
explains this. 

http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=lcarch_4.html

-Alex 

--- In flexcoders@yahoogroups.com, "markflex2007"  wrote:
>
> I have question for the following code:
> 
> 
>  uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf";
> class="flex.messaging.endpoints.AMFEndpoint"/>
> 
>  false
> 
> 
> 
> which file can provice {server.name}, {server.port} and {context.root},
> 
> Which file I can change if I want to change them? Please give me the
> file name I can make some changes.
> 
> Thanks
> 
> Mark
>




[flexcoders] Re: Flex with LDAP

2009-04-29 Thread Gustavo
--- In flexcoders@yahoogroups.com, "smgbbk"  wrote:
>
> Hi Team,
> How Flex3.0 is integrated with LDAP services,Iwant to know the steps 
> to be followed during the service integration
> 
> 
> 
> Regards
> smgbbk
>

Hi, I don't think flex is integrated with ldap, you will need something like 
php or something like it.
take a look at this to authenticate to ldap using php, you can manage to 
communicate with that php file from flex. I have done it but I'm still in a 
learning face so I can't dwell into teaching, but that website is a very good 
starting point.



[flexcoders] Re: BlazeDS/ActiveMQ amf-streaming disconnect problem

2009-04-29 Thread aglosband
Hi. Maybe ActiveMQ is timing out the connection between BlazeDS and the 
ActiveMQ server which is then causing the JMS consumer on the BlazeDS side to 
be removed? 

I looked at the ActiveMQ docs quickly and it did look like they have a 
connection timeout for the tcp connection to the ActiveMQ server. I'd look at 
the ActiveMQ docs and see if you can extend the connection timeout and maybe 
that will fix the problem. 

-Alex   

--- In flexcoders@yahoogroups.com, Christophe Herreman  wrote:
>
> Hi,
> 
> We are experiencing disconnects on our Tomcat/BlazeDS/ActiveMQ stack.
> Although our BlazeDS StreamingAMFChannel is configured with the default
> idle-timeout-minutes of 0, it seems to timeout after about 30 minutes of
> idle time (see log). The client does not do any requests during that time
> and we are also not pushing messages from the ActiveMQ topic.
> 
> We have enabled debug logging on activeMQ and BlazeDS and see that BlazeDS
> is removing the consumer. Unfortunately there is no log message prior to the
> disconnect message so we can't really trace when this is called within
> BlazeDS.
> 
> Has anyone else experienced this or can anyone provide a solution?
> 
> *** ActiveMQ log ***
> 
> 11 Mar 2009 16:25:47,405 [ActiveMQ Transport: tcp:///127.0.0.1:49971] DEBUG
> activemq.broker.region.AbstractRegion  - Removing consumer:
> ID:TMSNEC02.traficon.int-52586-1236783284912-2:3:1:1
> 11 Mar 2009 16:25:47,406 [ActiveMQ Transport: tcp:///127.0.0.1:49971] DEBUG
> activemq.broker.region.AbstractRegion  - Removing consumer:
> ID:TMSNEC02.traficon.int-52586-1236783284912-2:3:-1:1
> 11 Mar 2009 16:25:47,407
> [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG
> activemq.transport.tcp.TcpTransport  - Stopping transport tcp://localhost/
> 127.0.0.1:61616
> 11 Mar 2009 16:25:47,408 [ActiveMQ Transport Stopper: /127.0.0.1:49971]
> DEBUG apache.activemq.broker.TransportConnection  - Stopping connection: /
> 127.0.0.1:49971
> 11 Mar 2009 16:25:47,409 [ActiveMQ Transport Stopper: /127.0.0.1:49971]
> DEBUG activemq.transport.tcp.TcpTransport  - Stopping transport tcp:///
> 127.0.0.1:49971
> 11 Mar 2009 16:25:47,413 [ActiveMQ Transport Stopper: /127.0.0.1:49971]
> DEBUG apache.activemq.broker.TransportConnection  - Stopped connection: /
> 127.0.0.1:49971
> 11 Mar 2009 16:25:47,417 [ActiveMQ Transport Stopper: /127.0.0.1:49971]
> DEBUG apache.activemq.broker.TransportConnection  - Connection Stopped: /
> 127.0.0.1:49971
> 11 Mar 2009 16:25:47,427 [ActiveMQ Transport: tcp:///127.0.0.1:50680] DEBUG
> activemq.broker.region.AbstractRegion  - Removing consumer:
> ID:TMSNEC02.traficon.int-52586-1236783284912-2:4:1:1
> 11 Mar 2009 16:25:47,430 [ActiveMQ Transport: tcp:///127.0.0.1:50680] DEBUG
> activemq.broker.region.AbstractRegion  - Removing consumer:
> ID:TMSNEC02.traficon.int-52586-1236783284912-2:4:-1:1
> 11 Mar 2009 16:25:47,431
> [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG
> activemq.transport.tcp.TcpTransport  - Stopping transport tcp://localhost/
> 127.0.0.1:61616
> 11 Mar 2009 16:25:47,431 [ActiveMQ Transport Stopper: /127.0.0.1:50680]
> DEBUG apache.activemq.broker.TransportConnection  - Stopping connection: /
> 127.0.0.1:50680
> 11 Mar 2009 16:25:47,431 [ActiveMQ Transport Stopper: /127.0.0.1:50680]
> DEBUG activemq.transport.tcp.TcpTransport  - Stopping transport tcp:///
> 127.0.0.1:50680
> 11 Mar 2009 16:25:47,435 [ActiveMQ Transport Stopper: /127.0.0.1:50680]
> DEBUG apache.activemq.broker.TransportConnection  - Stopped connection: /
> 127.0.0.1:50680
> 11 Mar 2009 16:25:47,438 [ActiveMQ Transport Stopper: /127.0.0.1:50680]
> DEBUG apache.activemq.broker.TransportConnection  - Connection Stopped: /
> 127.0.0.1:50680
> 11 Mar 2009 16:25:47,439 [ActiveMQ Transport: tcp:///127.0.0.1:50681] DEBUG
> activemq.broker.region.AbstractRegion  - Removing consumer:
> ID:TMSNEC02.traficon.int-52586-1236783284912-2:5:1:1
> 11 Mar 2009 16:25:47,439 [ActiveMQ Transport: tcp:///127.0.0.1:50681] DEBUG
> activemq.broker.region.AbstractRegion  - Removing consumer:
> ID:TMSNEC02.traficon.int-52586-1236783284912-2:5:-1:1
> 11 Mar 2009 16:25:47,440
> [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG
> activemq.transport.tcp.TcpTransport  - Stopping transport tcp://localhost/
> 127.0.0.1:61616
> 11 Mar 2009 16:25:47,440 [ActiveMQ Transport Stopper: /127.0.0.1:50681]
> DEBUG apache.activemq.broker.TransportConnection  - Stopping connection: /
> 127.0.0.1:50681
> 11 Mar 2009 16:25:47,441 [ActiveMQ Transport Stopper: /127.0.0.1:50681]
> DEBUG activemq.transport.tcp.TcpTransport  - Stopping transport tcp:///
> 127.0.0.1:50681
> 11 Mar 2009 16:25:47,441 [ActiveMQ Transport Stopper: /127.0.0.1:50681]
> DEBUG apache.activemq.broker.TransportConnection  - Stopped connection: /
> 127.0.0.1:50681
> 11 Mar 2009 16:25:47,441 [ActiveMQ Transport Stopper: /127.0.0.1:50681]
> DEBUG apache.activemq.broker.TransportConnection  - Connection Stopped: /
> 127.0.0.1:50681
> 
> *** BlazeDS log ***
> 
> [BlazeDS]

[flexcoders] Custom Tooltip Issue - ItemRollOut not firing on List when scrolling

2009-04-29 Thread duanstravels
Hi All

I am having some issues with ToolTips on items in a List control. I am 
currently using FlexBuilder 3.

What I need to do is create a tooltip when a user rolls over the item in a 
list. The list stores a list of Metrics, and should show the definition 
associated with that metric when you roll over the item in the list.

The tooltip is created fine, and the tooltip disappears when the user moves the 
mouse to another item.

The problem comes in when the user rolls the mouse wheel to scroll the list 
down. The event doesn't fire,so the tooltip stays there, and another tooltip is 
created as the user is now pointing to a different item. You can now end up 
with multiple tooltips for different items.

I have tried using itemFocusIn and itemFocusOut as well, but this doesn't work 
either.

Not sure if there is another event I need to use, or if there is code I could 
use to destroy all tooltips on the screen. Either way would work.

Any help would be appreciated.

D


MXML:
-




ActionScript:
-

private function showTip(event:Object):void {
s = event.itemRenderer.data.Definition;
var pt:Point = new Point(
event.currentTarget.x, 
event.currentTarget.y);

// Call this method to convert the object's
// coordinates inside its container to the stage's 
// global coordinates.
pt = event.currentTarget.contentToGlobal(pt);
tip = ToolTipManager.createToolTip(s, 
pt.x - event.currentTarget.width, 
pt.y
) as ToolTip;
}

private function destroyTip():void { 
 ToolTipManager.destroyToolTip(tip);   
}



[flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-04-29 Thread Tony Obermeit
 

>
> It is in the outline view. In an MXML file, click the green 'c' button
> to see the script methods. The default '<>' button will show the MXML
> tags. As best I understand there is no way to mix them.


Brilliant!  Thanks.


Re: [flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-04-29 Thread Jeffry Houser


Tony Obermeit wrote:


i just had a peak at IntelliJ's features & it doesn't seem to do
cf--so its
useless to me. if you do cf/java/flex/air i think it will be kind
of hard to
escape eclipse.


http://coldfusion-in-idea.blogspot.com/

There is a plug in for cold fusion for IntelliJ.  I also read on 
another blog that the developers who work on cold fusion mostly use 
Intellij.  Not sure if that is true or not.

I don't know if it is true or not either, however...
I would expect that the the developers creating ColdFusion spend more 
time writing Java than they do ColdFusion.




I use Intellij for java / jsp / html / groovy and am thrilled with 
it.  Haven't tried it yet for flex but am tempted to.  What is missing 
in flex builder for me is a pane that shows me the list of methods in 
my  component.  

It is in the outline view.  In an MXML file, click the green 'c' button 
to see the script methods.  The default '<>' button will show the MXML 
tags.  As best I understand there is no way to mix them. 


--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



Re: [flexcoders] ADG Code Completion Missing

2009-04-29 Thread Pan Troglodytes
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
3.2.0 and the code completion would work.

I found that when I switched it back and forth a few times, it started
miraculously working even for 3.3.0.  Seems like something in FB is getting
gummed up that eventually resets itself.


On Wed, Mar 18, 2009 at 10:59 AM, valdhor wrote:

>   This is the first time that I have actually used the AdvancedDataGrid so
> I went through the instructions at...
>
> http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html
>
> and the thread at...
>
> http://tech.groups.yahoo.com/group/flexcoders/message/138099
>
> This worked well and I could run the examples and modify them as I wanted.
>
> I did notice, however, that there was no code completion available for any
> AdvancedDataGrid component.
>
> Am I missing something? A XML file is missing maybe?
>
> Any thoughts would be most welcome.
>
> Steve
>
>  
>



-- 
Jason


Re: [flexcoders] How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?

2009-04-29 Thread Jeffrey Vroom
I think this is a bug - calling setRollbackOnly does not trigger the fault
handler.  The server knows that transaction failed but the client does not
so things get out of sync.   You have to throw an exception from your
assembler methods to get the fault handler called.   When you do that, if
use-transactions=true, the rollback will happen automatically.  this also
gives you the ability to pass the message of your exception to the client so
your fault handler knows what exactly the error was on the server.

At that point, you can call revertChanges to undo that change.

Jeff

On Wed, Apr 29, 2009 at 9:15 AM, Mehdi  wrote:

>
>
> The typical example.
> You have a datagrid that is bound with an arraycollection, which source is
> managed by LCDS via ds.fill().
> your datagrid is editable. The user edits a value in the collection and you
> fire a commit. (ds.commit()).
>
> Let say you are using a custom assembler. The
> updateItem(newVersion,prevVersion,changesList) method will be invoked.
> There assuming something goes wrong and you call:
>
> DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly();
>
> I can see the db rolling back no problem. But my client did not get any
> notification!
> I have callback functions in the commit, and I have event listener on the
> ds (fault and result) AS such:
>
> _dataService.commit();
> token.addResponder(new AsyncResponder(
> function onAsyncResult(result:Object, token:Object = null) : void
> {
> }
> function onAsyncFault(.../...)
> )
>
> AND,
>
> _dataService.addEventListener(DataServiceFaultEvent.FAULT, this.onFault,
> false, 0, true);
> _dataService.addEventListener(ResultEvent.RESULT, this.onResult, false, 0,
> true);
>
> NONE of these callbacks get called. So I basically have no way of knowing
> that a rollback happened, and the user datagrid is still showing the wrong
> value, since the commit failed. Any idea?
>
> Note that however when an exception is thrown on the server (updateItem()
> method), I do indeed get a callback via the AsyncFault method.
>
> Thank you.
>
>  
>


[flexcoders] Painting in Tree

2009-04-29 Thread markgoldin_2000
If I want to control painting when I scroll up and down a tree control which 
event(s) to override?

Thanks



[flexcoders] Re: Flex Builder on Linux been scrapped ?

2009-04-29 Thread Tony Obermeit
>
> i just had a peak at IntelliJ's features & it doesn't seem to do cf--so its
>
> useless to me. if you do cf/java/flex/air i think it will be kind of hard
> to
> escape eclipse.


http://coldfusion-in-idea.blogspot.com/

There is a plug in for cold fusion for IntelliJ.  I also read on another
blog that the developers who work on cold fusion mostly use Intellij.  Not
sure if that is true or not.

I use Intellij for java / jsp / html / groovy and am thrilled with it.
Haven't tried it yet for flex but am tempted to.  What is missing in flex
builder for me is a pane that shows me the list of methods in my 
component.


[flexcoders] How to 'undo' the changes in the flex client w/ LCDS when a rollback is isssued?

2009-04-29 Thread Mehdi
The typical example.
You have a datagrid that is bound with an arraycollection, which source is 
managed by LCDS via ds.fill().
your datagrid is editable. The user edits a value in the collection and you 
fire a commit. (ds.commit()).

Let say you are using a custom assembler. The 
updateItem(newVersion,prevVersion,changesList) method will be invoked. 
There assuming something goes wrong and you call:
DataServiceTransaction.getCurrentDataServiceTransaction().setRollbackOnly();

I can see the db rolling back no problem. But my client did not get any 
notification! 
I have callback functions in the commit, and I have event listener on the ds 
(fault and result) AS such:

_dataService.commit();
token.addResponder(new AsyncResponder(
   function onAsyncResult(result:Object, token:Object = null) : void
   {
   }
   function onAsyncFault(.../...)
)

AND, 

_dataService.addEventListener(DataServiceFaultEvent.FAULT, this.onFault, false, 
0, true);

_dataService.addEventListener(ResultEvent.RESULT, this.onResult, false, 0, 
true);

NONE of these callbacks get called. So I basically have no way of knowing that 
a rollback happened, and the user datagrid is still showing the wrong value, 
since the commit failed. Any idea?

Note that however when an exception is thrown on the server (updateItem() 
method), I do indeed get a callback via the AsyncFault method. 

Thank you.




[flexcoders] Is it possible to create a 4 axis Plot Chart ???

2009-04-29 Thread sailorsea21
Hi everyone, is it possible to create a 4 Axis Plot Chart forming a + ?

Left to Center: 0 -> 50
Center to Right: 50 -> 100
Bottom to Center: -100 -> 0
Center to Top: 0 -> 100

Thanks.



[flexcoders] Re: How come setting the responder (async token) after the server call does WORKS???

2009-04-29 Thread Mehdi
I see. So shall I read your response as:
Flex asynchronous methods get queued up and are only invoked once ALL 
synchronous calls in the same block get executed. 

So I were to have the following:

var asyncToken:ASyncToken
public function callServer():void
{
   asyncToken=  httpsrv.send();
}

public function doit():void
{
   callServer();
   asyncToken.addResponder(...);
}


So, in this case, my chances of it working are reduced... (not the 100% 
anymore). Is that right?
thks.

--- In flexcoders@yahoogroups.com, "Adnan Doric"  wrote:
>
> The key word is "asynchronous".
> 
> "httpsrv.send()" is asynchronous so it gets executed after all synchronous 
> statements (addResponder is synchronous) in the same block.
> 
> cheers,
> Adnan
> 
> --- In flexcoders@yahoogroups.com, "Mehdi"  wrote:
> >
> > This is a question that has been bothered me for some time. 
> > You know how in Flex you can invoke a service (say httpservice for 
> > instance) which returns a token. After that you set the responder on the 
> > token. I.e.:
> > 
> > var asyncToken:ASyncToken = httpsrv.send();
> > asyncToken.addResponder(...)
> > 
> > We set the responder/handler AFTER the call has been set. Its very awkward 
> > but it does work. I was hoping someone could explain this to me. Thank you.
> > 
> > Flex being single threaded, the call to httpsrv.send() should actually 
> > invokes the server and not get into the second line about the responder 
> > until the call has been at least issued. 
> > But that's not how it works I guess. So, I am assuming the call is queued 
> > somewhere, untiluntil when???
> > 
> > Cheers
> >
>




[flexcoders] Service Versioning in BlazeDS/LCDS - Any Good practice?

2009-04-29 Thread Mehdi
Hi,

It seems like we will soon have to support several flex client using different 
server versions and I was wondering whether there were any good practices out 
there.
Let me share w/ u my first thoughts:
I was thinking to quickly switch into using spring on the server side 
(something that is long due around here anyways), and use DI to selectively 
wire up the right server implementation (assuming of course, I have 1 common 
interface to all clients). I have not digged much this direction but I think 
that's feasible depending on a token load one implementation rather than 
another one (with the assumption that I know all the implementation of that 
interface at design time. So I guess I could define them all in my appcontext 
config file and somehow switch it at run time. Anyhow, If you guys have any 
link/ref that can help me out there, I will take it! thanks.

Now what's left is the trigger/the token for the switch. I.e: I need to be able 
to differentiate between the different clients. I could use the user name and 
password and maybe use a custom java adapter that would pick that up from the 
session or I dont know where, and call my right implementation.
I dont know how else I could do it w/o the custom java adapter?? any idea? 
Would the custom java adapter idea still work with LCDS where you are dealing 
w/ assemblers??

A last thing is that it would be cool not to have to use the username and 
password as the way to tell the different clients. (for several reasons: not 
all apps have auth, even if auth is present, you need to find out which company 
does that belong and my app might not host all the user locally...etc...). 
Instead it would be cool to have that sent as an http header/additional param , 
the same way you get the username and password. Is this possible in flex today 
??

Thanks 
Cheers--



[flexcoders] Re: How come setting the responder (async token) after the server call does WORKS???

2009-04-29 Thread valdhor
The service is invoked asynchronously so Flex just invokes the send and keeps 
executing.

Unless the call to the service and its response is faster than the computer 
executing (read "will never happen") then the responder will be added before 
the call returns.



--- In flexcoders@yahoogroups.com, "Mehdi"  wrote:
>
> This is a question that has been bothered me for some time. 
> You know how in Flex you can invoke a service (say httpservice for instance) 
> which returns a token. After that you set the responder on the token. I.e.:
> 
> var asyncToken:ASyncToken = httpsrv.send();
> asyncToken.addResponder(...)
> 
> We set the responder/handler AFTER the call has been set. Its very awkward 
> but it does work. I was hoping someone could explain this to me. Thank you.
> 
> Flex being single threaded, the call to httpsrv.send() should actually 
> invokes the server and not get into the second line about the responder until 
> the call has been at least issued. 
> But that's not how it works I guess. So, I am assuming the call is queued 
> somewhere, untiluntil when???
> 
> Cheers
>




[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
class:
/**
* A collection of 2D matrix functions for AS3.  
**/
public dynamic class Matrix2D extends Array
{
public function Matrix2D(nRows:int=0,nCols:int=0)
{
for (var k:int=0;k

RE: [flexcoders] Re: Very confused with Builder

2009-04-29 Thread Kenneth Sutherland
If you wish to include it into your SWC then yes, otherwise it will only
be in your library project and not your SWC which gets built.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: 29 April 2009 16:23
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Very confused with Builder

 






I see. Should I manually check a class there every time I am creating
one?

--- In flexcoders@yahoogroups.com 
, "Kenneth Sutherland"  wrote:
>
> Have you made sure that the added "checkBoxStopPropagation" class is
> actually getting built into the swc.
> 
> When you put in new classes to your library project in FB it doesn't
> automatically include them to get built into the SWC. 
> 
> Right click your library project -> properties -> flex lib build path,
> then look under then 'Classes' tab to see what is actually being
> included.
> 
> 
> 
> HTH Kenneth.
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of markgoldin_2000
> Sent: 29 April 2009 16:07
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Very confused with Builder
> 
> 
> 
> 
> 
> 
> 
> 
> I have a common library that I share between my projects. The way I
have
> confugired it is like this:
> I have added common library SWC to each project's libray path. When I
> want to at a component from common SWC to my project's mxml I am
> creating a new namespace xmlns:ns1="modulecode.*" where modulecode is
> under src of my common library. Then in my mxml file that component is
> described as following:
> ..
> 
>  
> 
> 
> ...
> Works fine. Now, I have added another component called
> "checkBoxStopPropagation" to the common library but the same approach
is
> not working. I am getting:
> Could not resolve  to a component
> implementation.
> Plus, intellisence is not even showing that component while it show
the
> other one. What's a deal here?
> 
> Thanks
> 
> 
> 
> Disclaimer 
> --
> This electronic message contains information which may be privileged
and confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited. If you have received
this electronic message in error, please notify us by telephone on 0131
476 6000 and delete the material from your computer. 
> Registered in Scotland number: SC 172507. 
> Registered office address: Quay House 142 Commercial Street Edinburgh
EH6 6LB. 
> 
> This email message has been scanned for viruses by Mimecast.
> --
>



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Re: Very confused with Builder

2009-04-29 Thread valdhor
Clean the project that uses the swc.



--- In flexcoders@yahoogroups.com, "markgoldin_2000"  
wrote:
>
> I have a common library that I share between my projects. The way I have
> confugired it is like this:
> I have added common library SWC to each project's libray path. When I want to 
> at
> a component from common SWC to my project's mxml I am creating a new namespace
> xmlns:ns1="modulecode.*" where modulecode is under src of my common library.
> Then in my mxml file that component is described as following:
> ..
> 
> 
> 
> 
> ...
> Works fine. Now, I have added another component called 
> "checkBoxStopPropagation"
> to the common library but the same approach is not working. I am getting:
> Could not resolve  to a component implementation.
> Plus, intellisence is not even showing that component while it show the other
> one. What's a deal here?
> 
> Thanks
>




[flexcoders] Re: How come setting the responder (async token) after the server call does WORKS???

2009-04-29 Thread Adnan Doric
The key word is "asynchronous".

"httpsrv.send()" is asynchronous so it gets executed after all synchronous 
statements (addResponder is synchronous) in the same block.

cheers,
Adnan

--- In flexcoders@yahoogroups.com, "Mehdi"  wrote:
>
> This is a question that has been bothered me for some time. 
> You know how in Flex you can invoke a service (say httpservice for instance) 
> which returns a token. After that you set the responder on the token. I.e.:
> 
> var asyncToken:ASyncToken = httpsrv.send();
> asyncToken.addResponder(...)
> 
> We set the responder/handler AFTER the call has been set. Its very awkward 
> but it does work. I was hoping someone could explain this to me. Thank you.
> 
> Flex being single threaded, the call to httpsrv.send() should actually 
> invokes the server and not get into the second line about the responder until 
> the call has been at least issued. 
> But that's not how it works I guess. So, I am assuming the call is queued 
> somewhere, untiluntil when???
> 
> Cheers
>




[flexcoders] Re: best ftp client

2009-04-29 Thread strykker75
--- In flexcoders@yahoogroups.com, "stinasius"  wrote:
>
> what is the best free ftp client to use to upload flex app to remote server?
>

Get the FireFTP add-in for FireFox.  I've used that for a while now and I love 
it



[flexcoders] Re: Very confused with Builder

2009-04-29 Thread markgoldin_2000
I see. Should I manually check a class there every time I am creating one?

--- In flexcoders@yahoogroups.com, "Kenneth Sutherland" 
 wrote:
>
> Have you made sure that the added "checkBoxStopPropagation" class is
> actually getting built into the swc.
> 
> When you put in new classes to your library project in FB it doesn't
> automatically include them to get built into the SWC.  
> 
> Right click your library project -> properties -> flex lib build path,
> then look under then 'Classes' tab to see what is actually being
> included.
> 
>  
> 
> HTH Kenneth.
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of markgoldin_2000
> Sent: 29 April 2009 16:07
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Very confused with Builder
> 
>  
> 
> 
> 
> 
> 
> 
> I have a common library that I share between my projects. The way I have
> confugired it is like this:
> I have added common library SWC to each project's libray path. When I
> want to at a component from common SWC to my project's mxml I am
> creating a new namespace xmlns:ns1="modulecode.*" where modulecode is
> under src of my common library. Then in my mxml file that component is
> described as following:
> ..
> 
>  
> 
> 
> ...
> Works fine. Now, I have added another component called
> "checkBoxStopPropagation" to the common library but the same approach is
> not working. I am getting:
> Could not resolve  to a component
> implementation.
> Plus, intellisence is not even showing that component while it show the
> other one. What's a deal here?
> 
> Thanks
> 
> 
> 
> Disclaimer 
> ---
> This electronic message contains information which may be privileged and 
> confidential. The information is intended to be for the use of the 
> individual(s) or entity named above. If you are not the intended recipient, 
> be aware that any disclosure, copying, distribution or use of the contents of 
> this information is prohibited. If you have received this electronic message 
> in error, please notify us by telephone on 0131 476 6000 and delete the 
> material from your computer. 
> Registered in Scotland number: SC 172507. 
> Registered office address: Quay House 142 Commercial Street Edinburgh EH6 
> 6LB. 
> 
> This email message has been scanned for viruses by Mimecast.
> ---
>




Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-29 Thread Tom Chiverton
On Wednesday 29 Apr 2009, Paul Hastings wrote:
> no actually, i thought it was set to expire "any day now". 

December.

> want to have to start all over again, twice (went from cfstudio to eclipse
> because i upgraded my w/s & couldn't find my cfstudio serial number).

IDEA would feel close to Eclipse, to be honest - having gone the other way 
with Java development due to cost.

> i just had a peak at IntelliJ's features & it doesn't seem to do cf--so its
> useless to me. if you do cf/java/flex/air i think it will be kind of hard
> to escape eclipse.

http://coldfusion-in-idea.blogspot.com/ :-)

-- 
Helping to quickly restore prospective 24/365 metrics as part of the IT team 
of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.
 

RE: [flexcoders] Very confused with Builder

2009-04-29 Thread Kenneth Sutherland
Have you made sure that the added "checkBoxStopPropagation" class is
actually getting built into the swc.

When you put in new classes to your library project in FB it doesn't
automatically include them to get built into the SWC.  

Right click your library project -> properties -> flex lib build path,
then look under then 'Classes' tab to see what is actually being
included.

 

HTH Kenneth.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: 29 April 2009 16:07
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Very confused with Builder

 






I have a common library that I share between my projects. The way I have
confugired it is like this:
I have added common library SWC to each project's libray path. When I
want to at a component from common SWC to my project's mxml I am
creating a new namespace xmlns:ns1="modulecode.*" where modulecode is
under src of my common library. Then in my mxml file that component is
described as following:
..

 


...
Works fine. Now, I have added another component called
"checkBoxStopPropagation" to the common library but the same approach is
not working. I am getting:
Could not resolve  to a component
implementation.
Plus, intellisence is not even showing that component while it show the
other one. What's a deal here?

Thanks



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
Bookmarked - thanks!



[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
This class works:

public dynamic class Matrix2D extends Array
{
public function Matrix2D(nRows:int=0,nCols:int=0)
{
for (var k:int=0;k

[flexcoders] Very confused with Builder

2009-04-29 Thread markgoldin_2000
I have a common library that I share between my projects. The way I have
confugired it is like this:
I have added common library SWC to each project's libray path. When I want to at
a component from common SWC to my project's mxml I am creating a new namespace
xmlns:ns1="modulecode.*" where modulecode is under src of my common library.
Then in my mxml file that component is described as following:
..




...
Works fine. Now, I have added another component called "checkBoxStopPropagation"
to the common library but the same approach is not working. I am getting:
Could not resolve  to a component implementation.
Plus, intellisence is not even showing that component while it show the other
one. What's a deal here?

Thanks




[flexcoders] Very confused with Builder

2009-04-29 Thread markgoldin_2000
I have a common library that I share between my projects. The way I have 
confugired it is like this:
I have added common library SWC to each project's libray path. When I want to 
at a component from common SWC to my project's mxml I am creating a new 
namespace xmlns:ns1="modulecode.*" where modulecode is under src of my common 
library. Then in my mxml file that component is described as following:
..

   



...
Works fine. Now, I have added another component called 
"checkBoxStopPropagation" to the common library but the same approach is not 
working. I am getting:
Could not resolve  to a component implementation.
Plus, intellisence is not even showing that component while it show the other 
one. What's a deal here?

Thanks



[flexcoders] How come setting the responder (async token) after the server call does WORKS???

2009-04-29 Thread Mehdi
This is a question that has been bothered me for some time. 
You know how in Flex you can invoke a service (say httpservice for instance) 
which returns a token. After that you set the responder on the token. I.e.:

var asyncToken:ASyncToken = httpsrv.send();
asyncToken.addResponder(...)

We set the responder/handler AFTER the call has been set. Its very awkward but 
it does work. I was hoping someone could explain this to me. Thank you.

Flex being single threaded, the call to httpsrv.send() should actually invokes 
the server and not get into the second line about the responder until the call 
has been at least issued. 
But that's not how it works I guess. So, I am assuming the call is queued 
somewhere, untiluntil when???

Cheers







RE: [flexcoders] Re: Extend Array

2009-04-29 Thread Kenneth Sutherland
You need to make your FB project flash 10 enabled. See below

 

http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+
10?rootCommentId=20480208

 

http://www.communitymx.com/content/article.cfm?page=2&cid=5AC26

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of smitade
Sent: 29 April 2009 15:52
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Extend Array

 






Never tried the Vector class - can one get FB3 to recognize it?



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
Never tried the Vector class - can one get FB3 to recognize it?




[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
The option to create the matrix layout in a fixed manner is the crux. Most of 
the available matrix algebra algos (Transpose,Gauss-Jordan,etc) are coded with 
this 2D layout with exceptions of course. 



[flexcoders] Re: Extend Array

2009-04-29 Thread smitade
http://livedocs.adobe.com/flex/3/html/help.html?content=10_Lists_of_data_7.html

discusses extending the Array class as a subclass using the dynamic attribute. 



[flexcoders] Would anyone know what Capabilities.os shows for Windows 7 ?

2009-04-29 Thread Jim Hayes
I don't have a copy handy, and I'm doing some code on DVD that will need
to run for some years (hence I expect to cover windows 7).
 
I realise that it may change, or not even be detected by flash player at
the moment, but any clue is better than none!
 
Many thanks in advance,
 
Jim.

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__

[flexcoders] Access Tree's current item renderer

2009-04-29 Thread markgoldin_2000
when I click on Tree's node how can I access the underlying item renderer?

Thanks



[flexcoders] Re: Tree custom renderer

2009-04-29 Thread markgoldin_2000
"Not so fast" :)
My item renderer with additional objects is shown properly. But the whole tree 
is not working they way it should. First, open/close symbol for the top 
"folder" node is shown now on a far right side, while it should be on a left. 
Second, when I open and close it, my special item renderer gets messed up.
Any idea?

Thanks

--- In flexcoders@yahoogroups.com, "markgoldin_2000"  
wrote:
>
> Yep, that was it, thanks!
> --- In flexcoders@yahoogroups.com, "Yves Riel"  wrote:
> >
> > In your treeRendererFilter class, override the updateDisplayList method.
> > In there, set the position of your customerReportingFilter based on the
> > "label" property. Be careful since the "label" property, in the base
> > class, is made to be the entire lenght of the item renderer minus the
> > icons. So, you want to calculate the size of your
> > customerReportingFilter component, in the measure function, and in the
> > updateDisplayList function, you do something like:
> >  
> > override protected function updateDisplayList(unscaledWidth:Number,
> > unscaledHeight:Number):void {
> >  super.updateDisplayList(unscaledWidth, unscaledHeight);
> >  label.width -= filter.width;
> >  filter.x = label.x + label.width;
> > }
> >  
> > where filter is you customerReportingFilter.
> >  
> > Yves
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> > Behalf Of markgoldin_2000
> > Sent: Tuesday, April 28, 2009 7:17 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Tree custom renderer
> > 
> > 
> > 
> > 
> > 
> > Actually it adds it behind the label. I have spent some time trying to
> > tweak it with no success.
> > Anybody, any idea?
> > 
> > --- In flexcoders@yahoogroups.com 
> > , "markgoldin_2000"  wrote:
> > >
> > > Yes, that was a problem to show an additional component.
> > > Now when I see it, I realize that it's going to be added in a front of
> > a node text, while I want it to be after. How to do that?
> > > 
> > > --- In flexcoders@yahoogroups.com
> >  , "Tracy Spratt"  wrote:
> > > >
> > > > One thing to watch for is that manual instantiation does not always
> > set a
> > > > default height and width. Explicitly set these to see if the child
> > controls
> > > > display
> > > > 
> > > > 
> > > > 
> > > > Tracy Spratt,
> > > > 
> > > > Lariat Services, development services available
> > > > 
> > > > _ 
> > > > 
> > > > From: flexcoders@yahoogroups.com
> > 
> > [mailto:flexcoders@yahoogroups.com 
> > ] On
> > > > Behalf Of markgoldin_2000
> > > > Sent: Tuesday, April 28, 2009 3:54 PM
> > > > To: flexcoders@yahoogroups.com 
> > 
> > > > Subject: [flexcoders] Re: Tree custom renderer
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Thanks, Tracy, I have looked into your example.
> > > > 
> > > > Here is what I got so far. It compiles fine, but when it runs I dont
> > see
> > > > anything except regular nodes with a text.
> > > > 
> > > > package
> > > > {
> > > > import mx.controls.treeClasses.*;
> > > > public class treeRendererFilter extends TreeItemRenderer
> > > > {
> > > > private var _oTreeListData:TreeListData;
> > > > public function treeRendererFilter()
> > > > {
> > > > super();
> > > > }
> > > > override public function set data(value:Object):void 
> > > > {
> > > > super.data = value;
> > > > _oTreeListData = TreeListData(super.listData);
> > > > } 
> > > > override protected function createChildren():void 
> > > > {
> > > > super.createChildren();
> > > > var filter:customerReportingFilter = new customerReportingFilter(); 
> > > > addChild(filter);
> > > > validateDisplayList();
> > > > }
> > > > }
> > > > }
> > > > //customerReportingFilter
> > > > 
> > > > http://www.adobe.
> >  >
> > > > com/2006/mxml" height="22" 
> > > > direction="horizontal" visible="true">
> > > >  
> > > > 
> > > > 
> > > > 
> > > >  
> > > > 
> > > > 
> > > > // tree definition
> > > >  > height="99%"
> > > > labelField="@name" textAlign="left"
> > itemRenderer="treeRendererFilter" 
> > > > creationComplete="userNavigation(Number(category4.name),
> > > > customerServiceTree)"
> > > > itemClick="itemClickEvt(event);"
> > > > showRoot="false" borderStyle="solid" borderThickness="1">
> > > > 
> > > > 
> > > > --- In flexcod...@yahoogro 
> > ups.com,
> > > > "Tracy Spratt"  wrote:
> > > > >
> > > > > I have an example on www.cflex.net  > > >  > net/> that extends
> > > > > TreeItemRenderer and adds the tree sibling lines. It might be a
> > good
> > > > > starting point.
> > > > > 
> > > > > 
> > > > > 
> > > > > Tracy Spratt,
> > > > > 
> > > > > Lariat 

RE: [flexcoders] best ftp client

2009-04-29 Thread Kenneth Sutherland
If you're only doing a small amount of uploading and you don't need all
the features of a ftp client program (such as all those fancy graphs
saying what % has uploaded etc), then windows gives you the ability to
use ftp using its explorer (not IE just the usual file manager
explorer).  

Check out this post on how to do it.  I find it works fine for me.

 

http://www.coffeecup.com/forums/the-break-room/uploading-and-downloading
-website-files-using-windows-explorer-a/?post_id=77800&PHPSESSID=e99f9cd
e7d1ac6a4873eca7054658d06

 

Kenneth.

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of stinasius
Sent: 29 April 2009 10:14
To: flexcoders@yahoogroups.com
Subject: [flexcoders] best ftp client

 






what is the best free ftp client to use to upload flex app to remote
server?



Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Suggestion to start a project

2009-04-29 Thread shubhra
I want to make  a designing tool which can take the AI template in any format. 
Open up in a platform with editing tools and then after editing check the 
printable version of that modified template in PDF.

how should i start??? Will it be all possible in FLEX or FLASH???



[flexcoders] Re: Tree custom renderer

2009-04-29 Thread markgoldin_2000
Yep, that was it, thanks!
--- In flexcoders@yahoogroups.com, "Yves Riel"  wrote:
>
> In your treeRendererFilter class, override the updateDisplayList method.
> In there, set the position of your customerReportingFilter based on the
> "label" property. Be careful since the "label" property, in the base
> class, is made to be the entire lenght of the item renderer minus the
> icons. So, you want to calculate the size of your
> customerReportingFilter component, in the measure function, and in the
> updateDisplayList function, you do something like:
>  
> override protected function updateDisplayList(unscaledWidth:Number,
> unscaledHeight:Number):void {
>  super.updateDisplayList(unscaledWidth, unscaledHeight);
>  label.width -= filter.width;
>  filter.x = label.x + label.width;
> }
>  
> where filter is you customerReportingFilter.
>  
> Yves
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, April 28, 2009 7:17 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Tree custom renderer
> 
> 
> 
> 
> 
> Actually it adds it behind the label. I have spent some time trying to
> tweak it with no success.
> Anybody, any idea?
> 
> --- In flexcoders@yahoogroups.com 
> , "markgoldin_2000"  wrote:
> >
> > Yes, that was a problem to show an additional component.
> > Now when I see it, I realize that it's going to be added in a front of
> a node text, while I want it to be after. How to do that?
> > 
> > --- In flexcoders@yahoogroups.com
>  , "Tracy Spratt"  wrote:
> > >
> > > One thing to watch for is that manual instantiation does not always
> set a
> > > default height and width. Explicitly set these to see if the child
> controls
> > > display
> > > 
> > > 
> > > 
> > > Tracy Spratt,
> > > 
> > > Lariat Services, development services available
> > > 
> > > _ 
> > > 
> > > From: flexcoders@yahoogroups.com
> 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > > Behalf Of markgoldin_2000
> > > Sent: Tuesday, April 28, 2009 3:54 PM
> > > To: flexcoders@yahoogroups.com 
> 
> > > Subject: [flexcoders] Re: Tree custom renderer
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Thanks, Tracy, I have looked into your example.
> > > 
> > > Here is what I got so far. It compiles fine, but when it runs I dont
> see
> > > anything except regular nodes with a text.
> > > 
> > > package
> > > {
> > > import mx.controls.treeClasses.*;
> > > public class treeRendererFilter extends TreeItemRenderer
> > > {
> > > private var _oTreeListData:TreeListData;
> > > public function treeRendererFilter()
> > > {
> > > super();
> > > }
> > > override public function set data(value:Object):void 
> > > {
> > > super.data = value;
> > > _oTreeListData = TreeListData(super.listData);
> > > } 
> > > override protected function createChildren():void 
> > > {
> > > super.createChildren();
> > > var filter:customerReportingFilter = new customerReportingFilter(); 
> > > addChild(filter);
> > > validateDisplayList();
> > > }
> > > }
> > > }
> > > //customerReportingFilter
> > > 
> > > http://www.adobe.
>  >
> > > com/2006/mxml" height="22" 
> > > direction="horizontal" visible="true">
> > >  
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > > // tree definition
> > >  height="99%"
> > > labelField="@name" textAlign="left"
> itemRenderer="treeRendererFilter" 
> > > creationComplete="userNavigation(Number(category4.name),
> > > customerServiceTree)"
> > > itemClick="itemClickEvt(event);"
> > > showRoot="false" borderStyle="solid" borderThickness="1">
> > > 
> > > 
> > > --- In flexcod...@yahoogro 
> ups.com,
> > > "Tracy Spratt"  wrote:
> > > >
> > > > I have an example on www.cflex.net  > >  > net/> that extends
> > > > TreeItemRenderer and adds the tree sibling lines. It might be a
> good
> > > > starting point.
> > > > 
> > > > 
> > > > 
> > > > Tracy Spratt,
> > > > 
> > > > Lariat Services, development services available
> > > > 
> > > > _ 
> > > > 
> > > > From: flexcod...@yahoogro 
> ups.com
> > > [mailto:flexcod...@yahoogro 
> ups.com]
> > > On
> > > > Behalf Of markgoldin_2000
> > > > Sent: Tuesday, April 28, 2009 2:42 PM
> > > > To: flexcod...@yahoogro 
> ups.com
> > > > Subject: [flexcoders] Tree custom renderer
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > I am looking for design ideas to extend an item renderer for a
> tree
> > > control.
> > > > Specifically, I want to have a node that would show a regular
> label

Re: [flexcoders] Re: best ftp client

2009-04-29 Thread Pedro Sena
Me too. :)

Sometimes it gets a little slow, but I think that it's more related to
network problems...

On Wed, Apr 29, 2009 at 9:30 AM, valdhor wrote:

>
>
> I'm a big fan of FileZilla (http://filezilla-project.org/)
>
>
> --- In flexcoders@yahoogroups.com ,
> "stinasius"  wrote:
> >
> > what is the best free ftp client to use to upload flex app to remote
> server?
> >
>
>  
>



-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


[flexcoders] Re: best ftp client

2009-04-29 Thread valdhor
I'm a big fan of FileZilla (http://filezilla-project.org/)


--- In flexcoders@yahoogroups.com, "stinasius"  wrote:
>
> what is the best free ftp client to use to upload flex app to remote server?
>




RE: [flexcoders] Re: Tree custom renderer

2009-04-29 Thread Yves Riel
In your treeRendererFilter class, override the updateDisplayList method.
In there, set the position of your customerReportingFilter based on the
"label" property. Be careful since the "label" property, in the base
class, is made to be the entire lenght of the item renderer minus the
icons. So, you want to calculate the size of your
customerReportingFilter component, in the measure function, and in the
updateDisplayList function, you do something like:
 
override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void {
 super.updateDisplayList(unscaledWidth, unscaledHeight);
 label.width -= filter.width;
 filter.x = label.x + label.width;
}
 
where filter is you customerReportingFilter.
 
Yves


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Tuesday, April 28, 2009 7:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tree custom renderer





Actually it adds it behind the label. I have spent some time trying to
tweak it with no success.
Anybody, any idea?

--- In flexcoders@yahoogroups.com 
, "markgoldin_2000"  wrote:
>
> Yes, that was a problem to show an additional component.
> Now when I see it, I realize that it's going to be added in a front of
a node text, while I want it to be after. How to do that?
> 
> --- In flexcoders@yahoogroups.com
 , "Tracy Spratt"  wrote:
> >
> > One thing to watch for is that manual instantiation does not always
set a
> > default height and width. Explicitly set these to see if the child
controls
> > display
> > 
> > 
> > 
> > Tracy Spratt,
> > 
> > Lariat Services, development services available
> > 
> > _ 
> > 
> > From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com 
] On
> > Behalf Of markgoldin_2000
> > Sent: Tuesday, April 28, 2009 3:54 PM
> > To: flexcoders@yahoogroups.com 

> > Subject: [flexcoders] Re: Tree custom renderer
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Thanks, Tracy, I have looked into your example.
> > 
> > Here is what I got so far. It compiles fine, but when it runs I dont
see
> > anything except regular nodes with a text.
> > 
> > package
> > {
> > import mx.controls.treeClasses.*;
> > public class treeRendererFilter extends TreeItemRenderer
> > {
> > private var _oTreeListData:TreeListData;
> > public function treeRendererFilter()
> > {
> > super();
> > }
> > override public function set data(value:Object):void 
> > {
> > super.data = value;
> > _oTreeListData = TreeListData(super.listData);
> > } 
> > override protected function createChildren():void 
> > {
> > super.createChildren();
> > var filter:customerReportingFilter = new customerReportingFilter(); 
> > addChild(filter);
> > validateDisplayList();
> > }
> > }
> > }
> > //customerReportingFilter
> > 
> > http://www.adobe.
 >
> > com/2006/mxml" height="22" 
> > direction="horizontal" visible="true">
> >  
> > 
> > 
> > 
> >  
> > 
> > 
> > // tree definition
> >  > labelField="@name" textAlign="left"
itemRenderer="treeRendererFilter" 
> > creationComplete="userNavigation(Number(category4.name),
> > customerServiceTree)"
> > itemClick="itemClickEvt(event);"
> > showRoot="false" borderStyle="solid" borderThickness="1">
> > 
> > 
> > --- In flexcod...@yahoogro 
ups.com,
> > "Tracy Spratt"  wrote:
> > >
> > > I have an example on www.cflex.net  >  > net/> that extends
> > > TreeItemRenderer and adds the tree sibling lines. It might be a
good
> > > starting point.
> > > 
> > > 
> > > 
> > > Tracy Spratt,
> > > 
> > > Lariat Services, development services available
> > > 
> > > _ 
> > > 
> > > From: flexcod...@yahoogro 
ups.com
> > [mailto:flexcod...@yahoogro 
ups.com]
> > On
> > > Behalf Of markgoldin_2000
> > > Sent: Tuesday, April 28, 2009 2:42 PM
> > > To: flexcod...@yahoogro 
ups.com
> > > Subject: [flexcoders] Tree custom renderer
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > I am looking for design ideas to extend an item renderer for a
tree
> > control.
> > > Specifically, I want to have a node that would show a regular
label for
> > its
> > > name plus a radiogroup with 3-4 radio buttons shown horizontally
with a
> > > node. So, the user can specify some filters for an upcoming
interface when
> > > he selects a node.
> > > 
> > > Any clue?
> > > 
> > > Thanks
> > >
> >
>






RE: [flexcoders] Advanced Datagrid

2009-04-29 Thread senthil kumar

Thank u  for Your reply
--- On Wed, 29/4/09, Tracy Spratt  wrote:

From: Tracy Spratt 
Subject: RE: [flexcoders] Advanced Datagrid
To: flexcoders@yahoogroups.com
Date: Wednesday, 29 April, 2009, 1:07 PM











 











  
  







You can not get data from a DataGrid. 

   

You must use the dataProvider. 

   



Tracy Spratt, 

Lariat Services, development services
available 











From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On 
Behalf Of senthil kumar

Sent: Wednesday, April 29, 2009
2:57 AM

To: flexcod...@yahoogro ups.com

Cc: Tracy Spratt

Subject: RE: [flexcoders] Advanced
Datagrid 



   













 




  
    
  
  
  ...No Probs with dataprovider, it succesfully
  loaded with Datagrid...But after Data provided by provider,i need to get
  values  
  
  
  Both parent and children data from tree
  structure... .. 
  
  
  ... 
  
  
    
  
  
  

  --- On Wed, 29/4/09, Tracy Spratt 
  wrote: 
  
  
  

  From: Tracy Spratt 

  Subject: RE: [flexcoders] Advanced Datagrid

  To: "'senthil kumar'" 

  Date: Wednesday, 29 April, 2009, 12:09 PM 
  
  
  One more time, which data are you trying to get, and why can’t
  you use the dataProvider? 
  
    
  
  Tracy Spratt,  
  Lariat Services, development services available  
  
  
  
  From: senthil kumar [mailto:senthilkuma ri...@yahoo. co.in]
  

  Sent: Wednesday, April 29, 2009
  2:36 AM

  To: flexcod...@yahoogro ups.com

  Cc: tr...@nts3rd. com

  Subject: RE: [flexcoders]
  Advanced Datagrid  
     
  

There
is no problem with dataprovider. .. 


  


I
have issue with get the value from Advanced datagrid . 


  


I
want to get value dynamically including not selectd item(we can easily
get values from Datagrid by selectd item but i dont need this)



--- On Wed, 29/4/09, Tracy Spratt 
wrote: 




From: Tracy Spratt 

Subject: RE: [flexcoders] Advanced Datagrid

To: flexcod...@yahoogro ups.com

Date: Wednesday, 29 April, 2009, 11:45 AM  


Which value? 


   
And please explain your issue with
selectedItem, it may have bearing on what we suggest.  
   

Tracy Spratt, 

Lariat Services, development services
available  




From: flexcod...@yahoogro ups.com
[mailto: flexcod...@yahoogro ups.com ] On
Behalf Of senthilkumarirtt

Sent: Wednesday, April 29,
2009 1:06 AM

To: flexcod...@yahoogro
ups.com

Subject: [flexcoders] Advanced
Datagrid 


 
 



   



hi...i
have tree in advanced datagrid like this



+NewAccount

+Account Updates

+IncomingAccountTra nsfer



If i click '+' symbol,it wil expand like

-NewAccount

opened

Inprogress

Completed

-Account Updates

Inprogress

Rejected

-IncomingAccountTra nsfer

Inprogress

Rejected

this tree structure formed by grouping column..



I want to get this value from Advanced datagrid without using selected
item... 



     
  
  
  
  Bollywood news,
  movie reviews, film trailers and more! Click here. 
  
  





 









Own a website.Get an unlimited package.Pay next to nothing.*
Click here!. 










 

  




 






















  Bollywood news, movie reviews, film trailers and more! Go to 
http://in.movies.yahoo.com/

Re: [flexcoders] Printing on Mac

2009-04-29 Thread Toby Tremayne

yeah I've tried everything and the print quality is always poor.

On 29/04/2009, at 7:49 PM, Weyert de Boer wrote:




And it's better to add the sprites offscreen to the stage to avoid  
all kind of other printing issues (mainly also blank pages). The  
problem I am having that the result is crap on the Mac the same code  
looks all sharp and nice but when I printing on the Mac it's a bit  
blurry. Really annoying. Flash Player 10 doesn't support vector  
printing on the Mac?



On 28/04/2009, at 9:46 AM, Toby Tremayne wrote:




yes it's to do with a rounding error when measuring the page  
height.  Check this out: http://bugs.adobe.com/jira/browse/SDK-18976











Toby Tremayne
CEO
Magic Industries
http://www.magicindustries.net
mob: 0416 048 090
icq: 13107913
skype: lyricist1






Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-29 Thread Paul Hastings
Tom Chiverton wrote:
> Did you give the release on Labs a go ? It's very nearly there, the bits of
> Builder it does do almost all work fine (occisonal AIR app crashes and 
> debug
> disconnects, for instance).

no actually, i thought it was set to expire "any day now". i'm very attached to 
editors (i used cfstudio until last year or so) so i didn't want to have to 
start all over again, twice (went from cfstudio to eclipse because i upgraded 
my 
w/s & couldn't find my cfstudio serial number).

i just had a peak at IntelliJ's features & it doesn't seem to do cf--so its 
useless to me. if you do cf/java/flex/air i think it will be kind of hard to 
escape eclipse.


Re: [flexcoders] Printing on Mac

2009-04-29 Thread Weyert de Boer
And it's better to add the sprites offscreen to the stage to avoid all  
kind of other printing issues (mainly also blank pages). The problem I  
am having that the result is crap on the Mac the same code looks all  
sharp and nice but when I printing on the Mac it's a bit blurry.  
Really annoying. Flash Player 10 doesn't support vector printing on  
the Mac?


On 28/04/2009, at 9:46 AM, Toby Tremayne wrote:




yes it's to do with a rounding error when measuring the page  
height.  Check this out: http://bugs.adobe.com/jira/browse/SDK-18976







Re: [flexcoders] Re: Advanced Datagrid

2009-04-29 Thread Tom Chiverton
On Tuesday 28 Apr 2009, senthilkumarirtt wrote:
> hi...i have tree in advanced datagrid like this

Why not use an actual tree control then ?

-- 
Helping to biannually restore cross-platform synergies as part of the IT team 
of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.
 

[flexcoders] Converting AI to FXG format

2009-04-29 Thread shubhra
I am taking AI template from user and to make updations on that i require to 
change it into FXG as well as jpg format. How it can be done using FLEX. and 
even i am not sure that it is possible or not. Please help me.



Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-29 Thread Tom Chiverton
On Wednesday 29 Apr 2009, Paul Hastings wrote:
> but i wish adobe would come out w/a linux version of FB. i think it's the
> last bit of desktop s/w holding me to XP.

Did you give the release on Labs a go ? It's very nearly there, the bits of 
Builder it does do almost all work fine (occisonal AIR app crashes and debug 
disconnects, for instance).

-- 
Helping to paradigmatically accelerate distributed markets as part of the IT 
team of the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.
 

Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-29 Thread Paul Hastings
Nick Collins wrote:
> Well, if you really want to develop Flex on Linux, you could always 
> check out IntelliJ IDEA 8.1, which I'm told has pretty nice Flex 
> development features. Just missing the design view and profiler, really...

that's like telling me to bet on a race horse w/only 2 legs.

but i wish adobe would come out w/a linux version of FB. i think it's the last 
bit of desktop s/w holding me to XP.


[flexcoders] best ftp client

2009-04-29 Thread stinasius
what is the best free ftp client to use to upload flex app to remote server?



[flexcoders] Re: Extend Array

2009-04-29 Thread Marius-Remus Mate
If you're looking for speed, you might also want to look at the Vector class 
(available in FP10 only).

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> Have you considered if the class approach has any benefit over creating
> a Multidimensional Array dynamically; based on the data.  Except for
> having the option to create the matrix layout in a fixed manner,  it
> might make sense to just use an Array var.  You're going to have to
> iterate anyway, to set the item data.  Why not create the array at the
> same time?
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "smitade"  wrote:
> >
> > Thanks - you guys rock!
> >
> > Good point about the geom matrix class. I'm coding some matrix algebra
> algorithms. Actually I hadn't given it much thought just considered the
> possibility of using the sorting function in the Array class.
> >
>




Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-29 Thread Tom Chiverton
On Tuesday 28 Apr 2009, Nick Collins wrote:
> out IntelliJ IDEA 8.1, which I'm told has pretty nice Flex development
> features. Just missing the design view and profiler, really...

Do you know, does it do CFML/CFScript syntax highlighting ?

-- 
Helping to efficiently incentivize infrastructures as part of the IT team of 
the year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.
 

Re: [flexcoders] Effect works on addPopUp, but not on removePopUp

2009-04-29 Thread Harish Sivaramakrishnan
may be you can try listening to the effectEnd event of the customPopClose
and then remove the popUp.

On Wed, Apr 29, 2009 at 12:58 AM, Tracy Spratt  wrote:

>
>
>  I want to apply a resize and move effect to a popup component, and “
> reverse” the effect when the popup is closed.  The effect works when I open
> the popup but not when I remove it.  Below are the snippets of relevant
> code.  Any suggestions will be welcome.
>
>  *** private function* showCCV():***void*
>
>   {
>
> _twCCV =*** new* ImageMapCCV();
>
> _twCCV.height = imgCCV.height;
>
> _twCCV.x = 190
>
> _twCCV.y = 455;
>
> _twCCV.addEventListener(***"rollOut"*,onRollOut);
>
> PopUpManager.addPopUp(_twCCV,***this*,***false*);
>
> customPop.end();WORKS FINE
>
> customPop.play();
>
>   }***//showCCV*
>
>
>
>
>
>  *** private function* onRollOut(event:Event):***void*
>
>   {
>
> customPopClose.end();   DOES NOT WORK
>
> customPopClose.play();
>
> PopUpManager.removePopUp(_twCCV);
>
>   }***//onRollOut*
>
>
>
> …
>
>   
>
> 
>
> 
> xTo="160"
>
> yTo="300" />
>
>   
>
>   
>
> 
>
> 
> xTo="190"
>
> yTo="455" />
>
>   
>
> Tracy Spratt,
>
> Lariat Services, development services available
>
>  
>


[flexcoders] Effect works on addPopUp, but not on removePopUp

2009-04-29 Thread Tracy Spratt
I want to apply a resize and move effect to a popup component, and "reverse"
the effect when the popup is closed.  The effect works when I open the popup
but not when I remove it.  Below are the snippets of relevant code.  Any
suggestions will be welcome.

  private function showCCV():void
  {
_twCCV = new ImageMapCCV();
_twCCV.height = imgCCV.height;
_twCCV.x = 190
_twCCV.y = 455;
_twCCV.addEventListener("rollOut",onRollOut);
PopUpManager.addPopUp(_twCCV,this,false);
customPop.end();WORKS FINE
customPop.play();
  }//showCCV
  
  
  private function onRollOut(event:Event):void
  {
customPopClose.end();   DOES NOT WORK
customPopClose.play();
PopUpManager.removePopUp(_twCCV);
  }//onRollOut 

. 
  


  
  


  

Tracy Spratt,
Lariat Services, development services available



RE: [flexcoders] Advanced Datagrid

2009-04-29 Thread Tracy Spratt
You can not get data from a DataGrid.

 

You must use the dataProvider.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of senthil kumar
Sent: Wednesday, April 29, 2009 2:57 AM
To: flexcoders@yahoogroups.com
Cc: Tracy Spratt
Subject: RE: [flexcoders] Advanced Datagrid

 







 

...No Probs with dataprovider,it succesfully loaded with Datagrid...But
after Data provided by provider,i need to get values 

Both parent and children data from tree structure.

...

 


--- On Wed, 29/4/09, Tracy Spratt  wrote:


From: Tracy Spratt 
Subject: RE: [flexcoders] Advanced Datagrid
To: "'senthil kumar'" 
Date: Wednesday, 29 April, 2009, 12:09 PM

One more time, which data are you trying to get, and why can't you use the
dataProvider?

 

Tracy Spratt, 

Lariat Services, development services available 


  _  


From: senthil kumar [mailto:senthilkumari...@yahoo.co.in] 
Sent: Wednesday, April 29, 2009 2:36 AM
To: flexcoders@yahoogroups.com
Cc: tr...@nts3rd.com
Subject: RE: [flexcoders] Advanced Datagrid 

  


There is no problem with dataprovider...

 

I have issue with get the value from Advanced datagrid.

 

I want to get value dynamically including not selectd item(we can easily get
values from Datagrid by selectd item but i dont need this)

--- On Wed, 29/4/09, Tracy Spratt  wrote:


From: Tracy Spratt 
Subject: RE: [flexcoders] Advanced Datagrid
To: flexcoders@yahoogroups.com
Date: Wednesday, 29 April, 2009, 11:45 AM 

Which value?

  

And please explain your issue with selectedItem, it may have bearing on what
we suggest. 

  

Tracy Spratt,

Lariat Services, development services available 


  _  


From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On
Behalf Of senthilkumarirtt
Sent: Wednesday, April 29, 2009 1:06 AM
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Advanced Datagrid

  

 

hi...i have tree in advanced datagrid like this

+NewAccount
+Account Updates
+IncomingAccountTra nsfer

If i click '+' symbol,it wil expand like
-NewAccount
opened
Inprogress
Completed
-Account Updates
Inprogress
Rejected
-IncomingAccountTra nsfer
Inprogress
Rejected
this tree structure formed by grouping column..

I want to get this value from Advanced datagrid without using selected
item...

 


  _  


Bollywood news, movie reviews, film trailers and more! Click here.
 





  _  


Own a website.Get an unlimited package.Pay next to nothing.*

Click here!.