RE: [SPAM] [flexcoders] Accessing a child component,, specifically a checkbox, from an mxml component

2009-10-26 Thread Tracy Spratt
If you cast the return as EditTaskBox, you should be able to reference the
public members.

 

You could also do this by setting a public property on EditTaskBox and then
binding the checkbox to that property.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of steveb805
Sent: Monday, October 26, 2009 2:30 AM
To: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] Accessing a child component,, specifically a
checkbox, from an mxml component

 

  

First of all, thanks for the responses concerning the List Items-detecting.
Hopefully those responses made it. I'm on the Probation list where it takes
a while to get approved.
--

This next particular issue is really disturbing me, but it's probably pretty
simple.

I have a mxml file containing a custom component, called EditTaskBox. It's a
TitleWindow and it's in my "components" folder.

In main.mxml, I have this to create a custom popup:

var win:TitleWindow = TitleWindow(PopUpManager.createPopUp(this,
EditTaskBox, true));

( I need to set win.title = "something", so I cast the return to a
TitleWindow type. )

There is a checkbox in that component, a nested child, but I can't seem to
control it in Actionscript from main.mxml. 

I can't use EditTaskBox.mycheckbox, because it Understandably complains with
"possibly undefined project through reference with static type class. And
trying win.mycheckbox doesn't work of course, either.

My googling turned up empty.
Hoping someone knew about this.
Steve





RE: [flexcoders] creationPolicy and createComponentsFromDecsriptors

2009-10-26 Thread Alex Harui
There won't be any issues with accessing the results of 
createComponentsFromDescriptors unless there are sub-containers with their own 
creation policies that don't create something you'd expect to be there.

I can't picture any renderer needing 15 layout containers at the same time.  
Using fewer containers for more than one purpose will be a significant 
performance gain.  The fewer containers and components you ever create, the 
better off you'll be.  Less is more.

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 asea19
Sent: Monday, October 26, 2009 12:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] creationPolicy and createComponentsFromDecsriptors



Hi,

I'm working on an app that works with a lot of search results and item 
renderers to display the search results. The renderer is usually a VBox with a 
lot of HBoxes or GridRows within it. The developer who put these together just 
used includeInLayout=false for the HBoxes or GridRows that weren't being used. 
This seems to be a bad idea since there are usually 25-30 renderers on the 
screen at a time, each with about 10-15 unused layout containers.

I am going through and optimizing them now, and started setting the 
creationPolicy to none on all the items, and where they were previosuly being 
made visible, I call createComponentsFromDescriptors() on the layout container. 
This seems to cut rendering time in about half. I am wondering if there might 
be any unforseen issues I may have using this method. In the code, the 
textfields(which are the children of the layout containers) are being populated 
in the very next line after I call the createComponentsFromDescriptors() 
method. I am a little surprised that the container's children are initialized 
so quickly to be able to be accessed and take properties. Is this safe to do? 
Or should I listen for some initialization events before setting any properties 
on the child components as a failsafe?

Thanks in Advance,

Adam



[SPAM] Re: [flexcoders] Can't bind XMLListCollection to Datagrid

2009-10-26 Thread jc_bad28
After googling for another couple of days and trying to find a namespace 
workaround.. which I never could get anything to work. Moreover, there's a 
chance the pre-fix could change depending on the server status (ie datas6 could 
be datas1 or datas2, etc.) I just took the route of stripping the namespace.  
Works great now.  Code is below:

private function resultHandler(event:ResultEvent):void
{
var xmlResult:XMLList = 
XMLList(event.result);
var xmlSource:String = 
xmlResult.toString();

//Strip namespace
xmlSource = 
xmlSource.replace(/<[^!?]?[^>]+?>/g, removeNamspaces);
xmlResult = XMLList(xmlSource);

//wrap XMLList in XMLListCollection
var schedData:XMLListCollection = new 
XMLListCollection(xmlResult.children());  

//Update Grid
gc.source = schedData;
gc.refresh();   

}

public function removeNamspaces(...rest):String
{
rest[0] = 
rest[0].replace(/xmlns[^"]+\"[^"]+\"/g, "");
var attrs:Array = 
rest[0].match(/\"[^"]*\"/g);
rest[0] = rest[0].replace(/\"[^"]*\"/g, 
"%attribute value%");
rest[0] = 
rest[0].replace(/(<\/?|\s)\w+\:/g, "$1");
while (rest[0].indexOf("%attribute value%") 
> 0)
{
rest[0] = rest[0].replace("%attribute 
value%", attrs.shift());
}
return rest[0];
}

--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> You have a namespace issue.
> 
>  
> 
> You might be able to use the namespace in the dataField, like this:
> 
> dataField="datas6::Employee LastName", but I am not sure that will work.
> 
>  
> 
> But I would declare a namespace and use that.  I don't have any code handy,
> but search for namespace and you will find examples and more info.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of Angelo Anolin
> Sent: Sunday, October 25, 2009 11:27 AM
> To: flexcoders@yahoogroups.com
> Subject: [SPAM] Re: [flexcoders] Can't bind XMLListCollection to Datagrid
> 
>  
> 
>   
> 
> Could you try this one in your resultHandler
> 
> 
> 
> private function resultHandler( event:ResultEven t):void
> {
> var xmlResult:XML = XML(event. result);
> var Employees:XMLListCollection = new XMLListCollection( xmlResult.table(
> ));
> trace(Employees) ;
> }
> 
> 
> 
>  
> 
>   _  
> 
> From: jc_bad28 
> To: flexcoders@yahoogroups.com
> Sent: Sunday, 25 October, 2009 13:30:24
> Subject: [flexcoders] Can't bind XMLListCollection to Datagrid
> 
>   
> 
> I changed my webservice call to return e4x but I can't get the
> XMLListCollection to bind to the datagrid.
> 
> Here is the pertinent AS code:
> 
> [Bindable]
> private var Employees:XMLListCo llection;
> 
> private function submit():void
> {
> EmployeeWS.GetAllEm ployees() ;
> }
> 
> private function resultHandler( event:ResultEven t):void
> { 
> var xmlResult:XMLList = new XMLList(event. result);
> var Employees:XMLListCo llection = new XMLListCollection( xmlResult.
> children( ));
> trace(Employees) ; 
> }
> 
> Here is how the trace returns the XMLListCollection data:
> 
> http://schemas.
>   xmlsoap.org/ soap/envelope/">
>  3
> Badham< /datas6:Employee LastName>
> John< /datas6:Employee FirstName>
> C. 
> Data Manager
> 
> http://schemas.
>   xmlsoap.org/ soap/envelope/">
>  4
> Bui< /datas6:Employee LastName>
> Tai< /datas6:Employee FirstName>
> Tan< /datas6:Employee MiddleName>
> Inserter Operator
> 
> 
> Here is the datagrid code:
> 
>  width="603" x="167" borderStyle= "outset">
> 
> 
>  />
> 
> 
> 
> 
> I've been spinning my wheels with this for 2 weeks now. It's probably
> something simple, but I can't figure it out after googling non-stop every
> damn day. Any help is greatly appreciated.
>




Re: [flexcoders] Search Suggestion

2009-10-26 Thread Wiznu Prabowo
thanks a lot, this so helpful

--- On Fri, 10/23/09, Angelo Anolin  wrote:

From: Angelo Anolin 
Subject: Re: [flexcoders] Search Suggestion
To: flexcoders@yahoogroups.com
Date: Friday, October 23, 2009, 12:29 PM












 
 





  You're probably looking for AutoSuggest. .

One example:
http://sherifabdou. com/2008/ 03/autosuggest- flex/
http://www.sherifab dou.com/FlexAIRE xamples/AutoSugg est/AutoSuggestE 
xample.swf

And another one:
http://elromdesign. com/blog/ Flex/API/ AutoSuggest/
http://elromdesign. com/blog/ 2008/02/15/ autosuggest/

Hope the links provided
 helps.

Regards,

Angelo

From: Wiznu Prabowo 
To: flexcod...@yahoogro ups.com
Sent: Thursday, 22 October, 2009 10:00:26
Subject: [flexcoders] Search Suggestion







 


  Hi All, 

 



I am new in flex, but have several years experience with coldfusion. anyone 
have a source/tutorial about making Search Suggestion, it will shows up into 
the selectable list, the suggestion of word/token we looking for, just like the 
one we found in facebook or google. 
Thanks for your help,prabowo




  
 

  








  
 

  




 






















  

[flexcoders] Pivot Table & Charts Component

2009-10-26 Thread flexmonster
flexmonster.com released a new version of pivot table & charts component: 

List of features:
* Connecting via XMLA, basic XML, generated CSV or custom web service. MS OLAP 
and Mondrian support.
* Extremely fast for huge amounts of data
* Pivot charts with drill up/down
* XMLA and MDX support for multidimensional data visualization
* Subtotaling and aggregating numeric data
* Filtering, sorting and grouping data
* Predefined reports, saving reports
* Configuration by XML or Flash vars
* Customizable skins, styling by CSS
* Fully compatible with Flex

So far we are thrilled with capabilities and user feedbacks have been most 
positive http://www.flexmonster.com/flash-pivot-table-component



[flexcoders] creationPolicy and createComponentsFromDecsriptors

2009-10-26 Thread asea19
Hi, 

I'm working on an app that works with a lot of search results and item 
renderers to display the search results.  The renderer is usually a VBox with a 
lot of HBoxes or GridRows within it.  The developer who put these together just 
used includeInLayout=false for the HBoxes or GridRows that weren't being used.  
This seems to be a bad idea since there are usually 25-30 renderers on the 
screen at a time, each with about 10-15 unused layout containers.  

I am going through and optimizing them now, and started setting the 
creationPolicy to none on all the items, and where they were previosuly being 
made visible, I call createComponentsFromDescriptors() on the layout container. 
 This seems to cut rendering time in about half.  I am wondering if there might 
be any unforseen issues I may have using this method.  In the code, the 
textfields(which are the children of the layout containers) are being populated 
in the very next line after I call the createComponentsFromDescriptors() 
method.  I am a little surprised that the container's children are initialized 
so quickly to be able to be accessed and take properties.  Is this safe to do?  
Or should I listen for some initialization events before setting any properties 
on the child components as a failsafe?

Thanks in Advance,

Adam



[flexcoders] How to access accordion to datagrid...

2009-10-26 Thread siva
Hai all,

In data grid component, i create various xml files...In accrodion component i 
click particular label ,at that time onely one xml file willbe loaded on 
datagrid component..so,plz reply on how to intract on accordion to datagrid



[flexcoders] Dealing with large object to print.

2009-10-26 Thread Joshua
I'm having a problem with an object (vector image that I have created) that I'm 
printing exceeding the maximum height and width of a printable object.  Are 
there any strategies that I should look for with respect to this issue. 
Capturing the display object as a jpeg with snapshot and then splitting that up 
into different sizes chunks for individual pages, something like that.  I don't 
know... any advice?



RE: [flexcoders] ImageSnapshot and PopUpManager

2009-10-26 Thread Alex Harui
Use systemManager instead of application.

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 shafram
Sent: Monday, October 26, 2009 1:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ImageSnapshot and PopUpManager



Hi, I have an application that has several windows that were created using the 
PopUpManager. I would like the user to be able to take a screenshot of the the 
app so I am using the ImageSnapshot class.

The application is being captured but none of the pop up windows are showing 
up. Is there any way I can achieve this?

I have attached an example of the problem. You will need to ensure that the 
project is set to require Flash Player Version 10.0 in the flex compiler 
options.

To see the problem click on 'Pop up box' then click on 'Capture Image'

Thanks in advance


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









 ! ;   










[flexcoders] Re: AIR Performance

2009-10-26 Thread reflexactions
"If you write it well, you will not have any CPU or memory issues"
I am sorry but that is just so far from reality it is ridiculous.

AIR does not just have 'the same memory and CPU issue as every other app'.

The issues are well known and accepted so I don't where you come up with that 
notion, even Adobe have talked about how they are going to address memory 
issues in the next version and Flex4 has throttling code built in to try and 
make a PC usable when an AIR is in the background something not 'every other 
app' usually requires.

When some guy is asking about makeing a decison that might affect the future of 
his company it really doesnt help to stick you head in the sand and pretend 
everything is hunky dory when it isn't.



--- In flexcoders@yahoogroups.com, "Gregor Kiddie"  wrote:
>
> AIR apps have exactly the same memory and CPU issues as every
> application written in every language ever.
> 
>  
> 
> If you write it well, you will not have any CPU or memory issues.
> 
> If you write it badly, you will have CPU and memory issues.
> 
>  
> 
> This is true regardless of the technology involved.
> 
>  
> 
> Answering your question more directly, yes you can use AIR for the
> project, it scales quite well when you start using modules, etc.
> 
>  
> 
> Gk.
> 
>  
> 
> Gregor Kiddie
> Senior Developer
> INPS
> 
> Tel:   01382 564343
> 
> Registered address: The Bread Factory, 1a Broughton Street, London SW8
> 3QJ
> 
> Registered Number: 1788577
> 
> Registered in the UK
> 
> Visit our Internet Web site at www.inps.co.uk
> http://www.inps.co.uk/> 
> 
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it
> by anyone else is not authorised. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact is.helpd...@...
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of jwc_wensan
> Sent: 26 October 2009 14:49
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] AIR Performance
> 
>  
> 
>   
> 
> Good morning all,
> 
> I have read that AIR 1.5 apps have some memory and CPU issues. 
> 
> This may or may not be fixed/improved in AIR 2.0.
> 
> I am considering a large scale app that will have a hundred plus 
> screens. It is AIR because of the requirement for local database.
> 
> While I know it can be programmed, my question is should I and/or 
> can I use AIR for this size project?
> 
> Thoughts, recommendations, etc.
> 
> Thanks,
> 
> Jack
>




[flexcoders] ImageSnapshot and PopUpManager

2009-10-26 Thread shafram
Hi, I have an application that has several windows that were created
using the PopUpManager. I would like the user to be able to take a
screenshot of the the app so I am using the ImageSnapshot class.

The application is being captured but none of the pop up windows are
showing up. Is there any way I can achieve this?

I have attached an example of the problem. You will need to ensure that
the project is set to require Flash Player Version 10.0 in the flex
compiler options.

To see the problem click on 'Pop up box' then click on 'Capture Image'

Thanks in advance


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

 
 
 


 
 
 
 
 

 








Re: [flexcoders] Binding & Model Objects

2009-10-26 Thread Richard Rodseth
Jeff

I hope we see some responses to this. I like the idea of non-bindable and
immutable DTOs, but isn't it true that if you have a very large list, you've
got substantial memory overhead in the conversion of those DTOs to the
bindable objects. Or are people tackling that with virtualized collections?

On Mon, Oct 26, 2009 at 12:10 PM, Battershall, Jeff <
jeff.battersh...@dowjones.com> wrote:

>
>
>  I happened across the slides from a presentation that Sean Chirstmann did
> at Max 2008 about memory optimization in AIR (
> http://www.craftymind.com/wp-content/uploads/2008/11/sean_christmann_optimizing_air_final.pdf
> ).
>
>
>
> One of his points was NOT to make DTOs or AMF objects bindable.  I’ve been
> making my AMF model objects bindable for a long time and I just wanted to
> get second opinions from the list.
>
>
>
> I can see the point – if model objects are bindable and are bound using
> strong references to display object properties using {}, it could result in
> object instances persisting when they should be available to the GC.  If
> true, I have to do significant re-factoring.
>
>
>
> I’m looking for corroboration here – anyone care to share their thoughts on
> this?
>
>
>
> Jeff Battershall
>
> Application Architect
>
> Dow Jones Indexes
>
> jeff.battersh...@dowjones.com
>
> (609) 520-5637 (p)
>
> (484) 477-9900 (c)
>
>
>  
>


[flexcoders] Binding & Model Objects

2009-10-26 Thread Battershall, Jeff
I happened across the slides from a presentation that Sean Chirstmann did at 
Max 2008 about memory optimization in AIR 
(http://www.craftymind.com/wp-content/uploads/2008/11/sean_christmann_optimizing_air_final.pdf).

One of his points was NOT to make DTOs or AMF objects bindable.  I've been 
making my AMF model objects bindable for a long time and I just wanted to get 
second opinions from the list.

I can see the point - if model objects are bindable and are bound using strong 
references to display object properties using {}, it could result in object 
instances persisting when they should be available to the GC.  If true, I have 
to do significant re-factoring.

I'm looking for corroboration here - anyone care to share their thoughts on 
this?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
(609) 520-5637 (p)

(484) 477-9900 (c)



[flexcoders] Re: AIR Performance

2009-10-26 Thread jwc_wensan
Gregor:

Regarding memory and CPU, I was only going on the following article:

http://www.adobe.com/devnet/air/flex/articles/framerate_throttling.html?devcon=f12

Regarding modules . . . I understand the value of using modules in
web-based flex app, but was not sure of its value in an AIR app.

So you are saying essentially if the AIR app is large, go ahead and 
use modules?

Thanks,

Jack

--- In flexcoders@yahoogroups.com, "Gregor Kiddie"  wrote:
>
> AIR apps have exactly the same memory and CPU issues as every
> application written in every language ever.
> 
>  
> 
> If you write it well, you will not have any CPU or memory issues.
> 
> If you write it badly, you will have CPU and memory issues.
> 
>  
> 
> This is true regardless of the technology involved.
> 
>  
> 
> Answering your question more directly, yes you can use AIR for the
> project, it scales quite well when you start using modules, etc.
> 
>  
> 
> Gk.
> 
>  
> 
> Gregor Kiddie
> Senior Developer
> INPS
> 
> Tel:   01382 564343
> 
> Registered address: The Bread Factory, 1a Broughton Street, London SW8
> 3QJ
> 
> Registered Number: 1788577
> 
> Registered in the UK
> 
> Visit our Internet Web site at www.inps.co.uk
> http://www.inps.co.uk/> 
> 
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it
> by anyone else is not authorised. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact is.helpd...@...
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of jwc_wensan
> Sent: 26 October 2009 14:49
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] AIR Performance
> 
>  
> 
>   
> 
> Good morning all,
> 
> I have read that AIR 1.5 apps have some memory and CPU issues. 
> 
> This may or may not be fixed/improved in AIR 2.0.
> 
> I am considering a large scale app that will have a hundred plus 
> screens. It is AIR because of the requirement for local database.
> 
> While I know it can be programmed, my question is should I and/or 
> can I use AIR for this size project?
> 
> Thoughts, recommendations, etc.
> 
> Thanks,
> 
> Jack
>




[flexcoders] add a url/link to the datagrid datatip?

2009-10-26 Thread coder3

Hi All,

I need to show a list of information for the items in the
datagrid/advancedDatagrid.

the output text is ok but it contains a url that needs to be displayed as a
htmlLink so that when user clicks on it, the browser can goto that url.

for example it's like this:

"
URL: www.nabble.com
..."

Is there a way to do it?

thanks

C

-- 
View this message in context: 
http://www.nabble.com/add-a-url-link-to-the-datagrid-datatip--tp26065104p26065104.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Button and custom FocusSkins not raising Click events

2009-10-26 Thread taude1
Hi All,
  I have a button with a custom skin and a custom focusSkin.  when tabbing into 
the button and the focus skin is showing, it doesn't raise click events.
  I know that I'm supposed to have a "HOLE" in my focus skin.  Not just 
transparent pixels and what not.  However, I'm not really sure how to do this 
PROGRAMATICALY -- I've tried setting the Alpha to 0 and to even try all black 
(0x000) and all white (oxff), but still can't get it to work.

  My problems are similar to: https://bugs.adobe.com/jira/browse/SDK-15363.

   Again, this is a programatic skin that requires me drawing the border.

Can this be done?  Should be pretty trivial but I'm stuck.

Thanks




RE: [flexcoders] Re: PHP service classes in a different directory besides Weborb's Services dir

2009-10-26 Thread Keith Sutton

valdhor,

 

Thanks, that looks like a good place to start. I will experiment with the 
setting.

 

K
 


To: flexcoders@yahoogroups.com
From: valdhorli...@embarqmail.com
Date: Tue, 20 Oct 2009 12:37:42 +
Subject: [flexcoders] Re: PHP service classes in a different directory besides 
Weborb's Services dir

  



The Services path is set in the weborb-config.xml file in the Weborb directory.

I have never tried changing it but that is the first place I would try.

--- In flexcoders@yahoogroups.com, "Keith Sutton"  wrote:
>
> Weborb seems to restrict you to putting service classes in the /Services 
> directory. It would be nice in some cases to have an applications service 
> classes in a subdirectory of the deployed application directory (i.e 
> www.myhost.com/myApp/PHP/MyService.php). Has anyone successfully done this ? 
> What -config.xml file magic have you used ?
>








  

[flexcoders] Re: Highlighting a Chart Collumn?

2009-10-26 Thread droponrcll


--- In flexcoders@yahoogroups.com, "jmerrill_2001"  wrote:
>
> > The files are generally named based on the example that you click on, ie
> > styles would be in the styles package, etc.
> 
> Yeah, I figured that much out, thanks. What I mean is, it still does not show 
> how to target a particular collumn based on data and draw in just that 
> collumn.  Finding what I specifically need for this isn't that simple given 
> these examples.
>
Don't charts have a fillFunction?

HTH;

Amy



[flexcoders] Re: Highlighting a Chart Collumn?

2009-10-26 Thread jmerrill_2001
> The files are generally named based on the example that you click on, ie
> styles would be in the styles package, etc.

Yeah, I figured that much out, thanks. What I mean is, it still does not show 
how to target a particular collumn based on data and draw in just that collumn. 
 Finding what I specifically need for this isn't that simple given these 
examples. 





Re: [flexcoders] Re: Highlighting a Chart Collumn?

2009-10-26 Thread Jake Churchill
The files are generally named based on the example that you click on, ie
styles would be in the styles package, etc.

On Mon, Oct 26, 2009 at 10:57 AM, jmerrill_2001 <
jason.merr...@bankofamerica.com> wrote:

>
>
>
>
> --- In flexcoders@yahoogroups.com , Jake
> Churchill  wrote:
> >
> > You can create a custom line renderer and change the color of the line
> for
> > the section selected. Check out this sampler for ideas:
> >
> > http://demo.quietlyscheming.com/ChartSampler/app.html
>
> Great thanks - that gets me going in the right direction, however, digging
> through all that example sourcecode is like finding a needle in the
> haystack. I did find some itemRenderer code, but not quite sure if it was
> the right one, and also not sure how to make the highlight I draw appear on
> a specific place in the chart based on the collum name. Anything you can
> point me to? Thanks, much appreciated.
>
>  
>


[flexcoders] Re: Highlighting a Chart Collumn?

2009-10-26 Thread jmerrill_2001


--- In flexcoders@yahoogroups.com, Jake Churchill  wrote:
>
> You can create a custom line renderer and change the color of the line for
> the section selected.  Check out this sampler for ideas:
> 
> http://demo.quietlyscheming.com/ChartSampler/app.html


Great thanks - that gets me going in the right direction, however, digging 
through all that example sourcecode is like finding a needle in the haystack.  
I did find some itemRenderer code, but not quite sure if it was the right one, 
and also not sure how to make the highlight I draw appear on a specific place 
in the chart based on the collum name.  Anything you can point me to?  Thanks, 
much appreciated.



Re: [flexcoders] Highlighting a Chart Collumn?

2009-10-26 Thread Jake Churchill
You can create a custom line renderer and change the color of the line for
the section selected.  Check out this sampler for ideas:

http://demo.quietlyscheming.com/ChartSampler/app.html

On Mon, Oct 26, 2009 at 10:29 AM, jmerrill_2001 <
jason.merr...@bankofamerica.com> wrote:

>
>
> Is there a way to highlight either an entire y axis in a line chart collumn
> based on a value, or at least, a single data point in the line chart?
>
> For example, I have a line chart and a datagrid below it. I'd like to
> highlight a collumn in the line chart based on a matching value in what the
> user selected in the datagrid. So, if say, they selected an item in the
> datagrid which contained a value of "SP3", I'd like to highlight somehow
> visually the entire vertical Y collumn in my line chart maked as "SP3" (or
> at least the matching points int the horizontal lines that intersect it).
>
> I've googled this and checked the docs to death and haven't figured out a
> way to do this. Thanks,
>
> Jason Merrill
> Bank of America
>
>  
>


[flexcoders] Highlighting a Chart Collumn?

2009-10-26 Thread jmerrill_2001
Is there a way to highlight either an entire y axis in a line chart collumn 
based on a value, or at least, a single data point in the line chart?  

For example, I have a line chart and a datagrid below it.  I'd like to 
highlight a collumn in the line chart based on a matching value in what the 
user selected in the datagrid.  So, if say, they selected an item in the 
datagrid which contained a value of "SP3", I'd like to highlight somehow 
visually the entire vertical Y collumn in my line chart maked as "SP3" (or at 
least the matching points int the horizontal lines that intersect it).  

I've googled this and checked the docs to death and haven't figured out a way 
to do this.  Thanks,

Jason Merrill
Bank of America 



RE: [flexcoders] AIR Performance

2009-10-26 Thread Gregor Kiddie
AIR apps have exactly the same memory and CPU issues as every
application written in every language ever.

 

If you write it well, you will not have any CPU or memory issues.

If you write it badly, you will have CPU and memory issues.

 

This is true regardless of the technology involved.

 

Answering your question more directly, yes you can use AIR for the
project, it scales quite well when you start using modules, etc.

 

Gk.

 

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of jwc_wensan
Sent: 26 October 2009 14:49
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AIR Performance

 

  

Good morning all,

I have read that AIR 1.5 apps have some memory and CPU issues. 

This may or may not be fixed/improved in AIR 2.0.

I am considering a large scale app that will have a hundred plus 
screens. It is AIR because of the requirement for local database.

While I know it can be programmed, my question is should I and/or 
can I use AIR for this size project?

Thoughts, recommendations, etc.

Thanks,

Jack





[flexcoders] AIR Performance

2009-10-26 Thread jwc_wensan
Good morning all,

I have read that AIR 1.5 apps have some memory and CPU issues.  

This may or may not be fixed/improved in AIR 2.0.

I am considering a large scale app that will have a hundred plus 
screens.  It is AIR because of the requirement for local database.

While I know it can be programmed, my question is should I and/or 
can I use AIR for this size project?

Thoughts, recommendations, etc.

Thanks,

Jack



[flexcoders] Re: Flex Datagrid bottom row cutoff

2009-10-26 Thread flexaustin
thx again Alex!

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Fix the height to rowCount * rowHeight + viewMetrics.top + viewMetrics.bottom
> 
> 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 flexaustin
> Sent: Thursday, October 22, 2009 8:38 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex Datagrid bottom row cutoff
> 
> 
> 
> My datagrids bottom row is getting cutoff, how do I stop this?
> 
> J
>




[flexcoders] undo a matrix transformation

2009-10-26 Thread flexaustin
So in my app I am using the senocular transformtool so that a user can rotate, 
scale, skew a sprite object by applying a matrix transformation to it.

I need to allow the user to undo this. How would I go about undoing this? I 
tried to just invert() the altered matrix that gets applied to the sprite 
object, but when I do that sprite ends up off screen in some other location and 
the none of he rotation or scaled stuff is undone.

I also tried to invert() and the concate the inverted matrix with the the 
current matrix of the sprite, but that didn't work either?

Any suggestions?

J



Re: [flexcoders] to set icon daymamically on tree node

2009-10-26 Thread primo411
Hi, may be you can use Ben Stucki's IconUtility class, or something similar
: http://blog.benstucki.net/?p=42
I made a little improvement to this class, you can find it here:
http://www.aixo.fr/flex/update-iconutility

Here is an article describing how to use it with a Tree:
http://www.flexgig.com/blog/?p=9

Cheers

2009/10/26 Krunal Panchal 

>
>
> Hi All,
>
> I want to set icon daymamically on tree node.
>
> But icons stored in database. so i want to genereate tree with database
> icon.
>
> I tried lots of time but unsuccessful. If anybody have hint that how to
> successed in this.
>
> Thanks in advance.
>
> *
> Regards,
> --
>
> Krunal Panchal
> *
>
>
>  
>


[flexcoders] Accessing a child component,, specifically a checkbox, from an mxml component

2009-10-26 Thread steveb805
First of all, thanks for the responses concerning the List Items-detecting.  
Hopefully those responses made it. I'm on the Probation list where it takes a 
while to get approved.
--

This next particular issue is really disturbing me, but it's probably pretty 
simple.

I have a mxml file containing a custom component, called EditTaskBox. It's a 
TitleWindow and it's in my "components" folder.

In main.mxml, I have this to create a custom popup:

var win:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, EditTaskBox, 
true));

( I need to set win.title = "something", so I cast the return to a TitleWindow 
type. )

There is a checkbox in that component, a nested child, but I can't seem to 
control it in Actionscript from main.mxml.  

I can't use EditTaskBox.mycheckbox, because it Understandably complains with 
"possibly undefined project through reference with static type class.   And 
trying win.mycheckbox doesn't work of course, either.

My googling turned up empty.
Hoping someone knew about this.
Steve








[flexcoders] to set icon daymamically on tree node

2009-10-26 Thread Krunal Panchal
Hi All,

I want to set icon daymamically on tree node.

But icons stored in database. so i want to genereate tree with database icon.

I tried lots of time but unsuccessful. If anybody have hint that how to 
successed in this.

Thanks in advance.
 
Regards,



Krunal Panchal 



  

[flexcoders] printing to a word doc

2009-10-26 Thread Darrin Kay
Good Day,
  I have a flex 3 app that uses ColdFusion8 as the middle-ware, and all is
fine.  Where I am having issues is with printing, I call a cfc that has a
cfcontent, but the save file dialog never shows up.  So if someone can point
me in the right direction that would be great.

Thanks,,
 Darrin


[flexcoders] Re: About Frame definition

2009-10-26 Thread thelordsince1984





Hi primo411,

thank you for your reply!

I've just read that article...ok I understand the frametime concept...but it 
doesn't explain what a frame is..I would know about frame understood as unit 
logic into swf files...

So, could you explain me what a frame is?
In particular:
Are there any differences between frame understood as the unit that contains 
actionscript code (like in a Creative Suite) and frame understood as the time 
slot between two consecutive enterframe events?

Thanks in advance



--- In flexcoders@yahoogroups.com, primo411  wrote:
>
> Hi, maybe this article will help you understand:
> http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/
> 
> 
> 2009/10/26 thelordsince1984 
> 
> >
> >
> > Hi,
> >
> > Could I have a definition about frames?
> >
> > I've read about frame life cycle. As I've understood, a Flex application
> > has two frames: the first one (FRAME 1) contains the Preloader, the other
> > one (FRAME 2) contains the Application?
> >
> > So, what's a frame? What function do FRAME 1 and FRAME 2 play into a Flex
> > Application?
> > Can I consider a frame like a logic unit which can do thing? FRAME 1 one
> > has the job to load (through the SystemManager) the application code and
> > RSL, FRAME 2 (through the SystemManager) to visualize application on screen
> > and to allow the user interaction.
> >
> > What are the differences (or analogies) between frame understood as the
> > unit that contains actionscript code (like in a Creative Suite) and frame
> > understood as the time slot between two consecutive enterframe events?
> >
> > Thanks in advance,
> > Cheers.
> >
> >  
> >
>




Re: [flexcoders] About Frame definition

2009-10-26 Thread primo411
Hi, maybe this article will help you understand:
http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/


2009/10/26 thelordsince1984 

>
>
> Hi,
>
> Could I have a definition about frames?
>
> I've read about frame life cycle. As I've understood, a Flex application
> has two frames: the first one (FRAME 1) contains the Preloader, the other
> one (FRAME 2) contains the Application?
>
> So, what's a frame? What function do FRAME 1 and FRAME 2 play into a Flex
> Application?
> Can I consider a frame like a logic unit which can do thing? FRAME 1 one
> has the job to load (through the SystemManager) the application code and
> RSL, FRAME 2 (through the SystemManager) to visualize application on screen
> and to allow the user interaction.
>
> What are the differences (or analogies) between frame understood as the
> unit that contains actionscript code (like in a Creative Suite) and frame
> understood as the time slot between two consecutive enterframe events?
>
> Thanks in advance,
> Cheers.
>
>  
>


[flexcoders] About Frame definition

2009-10-26 Thread thelordsince1984
Hi,

Could I have a definition about frames?

I've read about frame life cycle. As I've understood, a Flex application has 
two frames: the first one (FRAME 1) contains the Preloader, the other one 
(FRAME 2) contains the Application?

So, what's a frame? What function do FRAME 1 and FRAME 2 play into a Flex 
Application?
Can I consider a frame like a logic unit which can do thing? FRAME 1 one has 
the job to load (through the SystemManager) the application code and RSL, FRAME 
2 (through the SystemManager) to visualize application on screen and to allow 
the user interaction.

What are the differences (or analogies) between frame understood as the unit 
that contains actionscript code (like in a Creative Suite) and frame understood 
as the time slot between two consecutive enterframe events?

Thanks in advance,
Cheers.



RE: [flexcoders] Re: Daylight Savings Time issues from Flex to ColdFusion 8.01

2009-10-26 Thread Gregor Kiddie
http://bugs.adobe.com/jira/browse/FP-1760

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of maurice_n6n
Sent: 25 October 2009 07:07
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Daylight Savings Time issues from Flex to
ColdFusion 8.01

 

  

Do you have a reference for that bug, or a summary of what the problems
are?