Re: [flexcoders] PopUpAnchor in the Hierarchy

2011-08-09 Thread Alex Harui
If it has a “hostComponent” property?


On 8/9/11 10:54 PM, "jitendra jain"  wrote:






Alex.. Thanks I have resolved my problem, but want to ask you a question...(may 
be sounds funny for u ;) )..How to know that a specific component is a skin or 
control..?

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Tuesday, 9 August 2011 12:15 PM
Subject: Re: [flexcoders] PopUpAnchor in the Hierarchy



PopUpAnchor is a child of the skin or container.


On 8/8/11 10:58 PM, "jitendra jain"  wrote:






Alex, I want the PopUpAnchors and not the popups..

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Monday, 8 August 2011 10:42 PM
Subject: Re: [flexcoders] PopUpAnchor in the Hierarchy



PopUpAnchor or the thing it pops up?  The popups are in 
systemManager.popupChildren.


On 8/8/11 3:17 AM, "jitendra jain"  wrote:






Hi Group,

  From where do i find the number of PopUpAnchors in the systemManager 
hierarchy..?

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] PopUpAnchor in the Hierarchy

2011-08-09 Thread jitendra jain
Alex.. Thanks I have resolved my problem, but want to ask you a question...(may 
be sounds funny for u ;) )..How to know that a specific component is a skin or 
control..?

 
Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798



From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Tuesday, 9 August 2011 12:15 PM
Subject: Re: [flexcoders] PopUpAnchor in the Hierarchy


  
PopUpAnchor is a child of the skin or container.


On 8/8/11 10:58 PM, "jitendra jain"  wrote:



> 
> 
>   
>
>Alex, I want the PopUpAnchors and not the popups..
> 
>Thanks,
>
>with Regards,
>Jitendra Jain
>Software Engineer
>91-9979960798
>
>
>From:Alex Harui 
>To: "flexcoders@yahoogroups.com" 
>Sent: Monday, 8 August 2011 10:42 PM
>Subject: Re: [flexcoders] PopUpAnchor in the Hierarchy
>
>   
>   
>PopUpAnchor or the thing it pops up?  The popups are in 
>systemManager.popupChildren.
>
>
>On 8/8/11 3:17 AM, "jitendra jain"  wrote:
>
>
>
>> 
>> 
>>   
>>
>>Hi Group,
>>
>>  From where do i find the number of PopUpAnchors in the systemManager 
>>hierarchy..?
>> 
>>Thanks,
>>
>>with Regards,
>>Jitendra Jain
>>Software Engineer
>>91-9979960798
>>
>>   
>>
>>
>>
-- 
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
 
 

Re: [flexcoders] Re: AdvancedDataGrid Performance Issue

2011-08-09 Thread Rishi Tandon
You mean that using a adg with > 20 columns degrade the performance?

My question
How many adg are u using?
What's the no of rows for each adg?
Have u used paging?

Sent from my iPhone

On Aug 9, 2011, at 10:33 PM, Alex Harui  wrote:

> Use the profiler to see what is going on.
> 
> 
> On 8/9/11 6:57 AM, "steveroger_flex"  wrote:
> 
> 
> 
>  
>  
>
> 
> now, I have remove all renderer code of ADG.
> ADG is displaying data without any formating.
> 
> But Still its too too slow. Application struck at that point.
> 
> any idea about this?
> 
> Steve
> 
> --- In flexcoders@yahoogroups.com  , 
> "steveroger_flex"  wrote:
> >
> > I found one thing after doing some experiment with my application.
> > Slow performance is not happen due to column number exceed.
> > 
> > It happens after initializing dataprovide of ADG. Renderer will create 
> > performance problem with ADG.
> > Renderer handling some graphic (background & Font) operation depend on cell 
> > value.
> > 
> > So is there any way to minimize this problem?
> > 
> > --- In flexcoders@yahoogroups.com  , 
> > "steveroger_flex"  wrote:
> > >
> > > Hello Friends,
> > > 
> > > I am using AdvancedDataGrid to represent statistical data.
> > > I am creating AdvancedDataGrid column at runtine. Also assigning
> > > renderer at runtime. (Using this Reference
> > >  )
> > > 
> > > Actually performance issue occurs when number of columns are exceed to
> > > 20.
> > > Its really too slow. Actually application is hang at that point. I have
> > > to close the application.
> > > 
> > > How to improve ADG performance to handle this situation?
> > > 
> > > Thank you,
> > > 
> > > Steve Roger.
> > >
> >
> 
>  
>
> 
> 
> 
> -- 
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
> 


Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
Dependency Injection still takes code and increases initial download.  You can 
certiainly have configurable reusable preloaders.  The slideshow preloader on 
my blog is an example.  Its config comes from the HTML wrapper.


On 8/9/11 11:50 AM, "Philip Smith"  wrote:






A preloader that could be dropped into multiple projects and configured using 
dependency injection would be a useful feature imo, one that wasn't necessarily 
dependent on a full blown MVC framework.


To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 9 Aug 2011 11:11:12 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   You can write your code like that, but what code would set those values?  
None of the MVC frameworks I know of are running when the preloader is running. 
 That’s the point of the preloader.  It is framework independent and very 
lightweight so you can view something while the rest of the frameworks get 
downloaded and initialized.

There are two phases to the preloader: download and initialize.  You could 
probably set something in the initializing phase if you really want to.


On 8/9/11 11:00 AM, "Philip Smith" http://loudj...@hotmail.com> > wrote:







But in essence, going back to your example, there is no capacity to inject 
'MyInjectClass' with a public setter?

Public class MyDownloadProgressBar extends SparkDownloadProgressBar
{
private var _injectedClass:MyInjectClass;
private var _preloaderModel:PreloaderModel;

   public function set injectedClass(value:MyInjectClass):void
   {
 this._injectedClass = value;
   }

   public function set preloaderModel(value:PreloaderModel):void
  {
  this._preloaderModel = value;
  }
}

Ideally we would like to have a generic custom preloader component with an MVC 
structure that uses dependency injection.


To: flexcoders@yahoogroups.com 
From: aha...@adobe.com 
Date: Tue, 9 Aug 2011 10:39:41 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   The preloader is instantiated long before the application.  The app’s 
preloader property isn’t used at runtime, the compiler generates special code 
for it.

A preloader can certainly examine its environment and do different things.  
There are a few custom preloaders on my blogs.


On 8/9/11 10:21 AM, "Philip Smith" http://loudj...@hotmail.com>   > > wrote:







We'd like to inject some values into the application preloader instance:



Is it possible to do something like this hypothetical example:

(application.preloader as CustomPreloader).preloaderModel = new 
PreloaderModel();

Or pass in properties, similar to how it's done with item renderers and 
'ClassFactory' properties?




To: flexcoders@yahoogroups.com   
 >
From: aha...@adobe.com    >
Date: Tue, 9 Aug 2011 10:05:04 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   Public class MyDownloadProgressBar extends SparkDownloadProgressBar
{
private var injectedClass:MyInjectClass;
}


On 8/9/11 9:35 AM, "Philip Smith" http://loudj...@hotmail.com>   >    
 > > wrote:







> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.

Can you provide an example of this, Alex?


To: flexcoders@yahoogroups.com   
 >  
  
 >
From: aha...@adobe.com    >    
 >
Date: Mon, 8 Aug 2011 22:13:34 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.


On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com>   >    
 >    
   > > wrote:







Is it possible?

http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   preloader="com.storefront.editorhost.app.ProgressPreloader"
   >

Cheers,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Re: Flex View States

2011-08-09 Thread nikunj_n123
Thank you for your response.
I cannot put my form in the pop up window. That could have solved the problem.

Anyways, I worked around it by creating and destroying the form myself , 
depending on the state and checking for a condition if the state is still the 
same.

--- In flexcoders@yahoogroups.com, "Sells, Fred"  wrote:
>
> Could you just put your form in a modal popup window?
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
> Behalf Of nikunj_n123
> Sent: Tuesday, August 02, 2011 7:31 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex View States
> 
>  
> 
>   
> 
> Hello All,
> 
> My Application has a Tree, and all the elements of the tree belong to
> the same state.
> I want a new form to be launched each time I click an item of the tree.
> But since all the items belong to the same state, my forms are never
> recreated.
> 
> P.S - I have to use states because there are other views in my
> application besides the tree.
> 
> And help/pointers are much appreciated.
> 
> Thanks and Regards
>




Re: [flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-09 Thread Pete

Hi there,

I use Nusphere PHPEd and when set up properly it works well, every 
time.  This is using amfphp to make remote procedure calls btw.  It can 
be on a remote server, with the dbg extension installed, or on localhost 
(I use xampp).


I have found that the only safe way to break into the code is to put a 
debugbreak() command in, I don't know what happens, but when the command 
is executed, it seems to try really hard to find the debugger!  Works 
with cli php code too, even if it's run from the command line.


Unfortunately it costs money...

But the final environment, stepping through client side as3 on one 
screen and server side php on the other is pretty productive and well 
worth the small outlay.


Regards,
Pete

On 09/08/2011 13:15, enridp wrote:


Hi johannes, I think I can't catch what you said, my projects are 
separated of course, but the problem, from what I see, is that the PHP 
debugger needs a browser (because it adds a lot of query strings for 
sessions and php debugging).
In AIR we don't have any browser, I have my PHP project, I have 
breakpoints in the PHP project of course too, even more, I have my AIR 
project linked with my PHP project in FB 4.5 for PHP.

But the PHP debug doesn't work with AIR

Did you tested it?
I mean, are you debugging PHP in AIR applications?

--- In flexcoders@yahoogroups.com 
, Johannes Nel  
wrote:

>
> split your projects, put a break point in the php code.
>
> On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
>
> > **
> >
> >
> > Hi ! I think I can't explain it better than my subject :)
> >
> > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex 
and PHP

> > side at the same time, but it doesn't work with AIR applications.
> >
> > Does somebody know a workaround for this?
> >
> >
> >
>
>
>
> --
> j:pn
> \\no comment
>




RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith

A preloader that could be dropped into multiple projects and configured using 
dependency injection would be a useful feature imo, one that wasn't necessarily 
dependent on a full blown MVC framework.

To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 9 Aug 2011 11:11:12 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader


















 



  



  
  
  

You can write your code like that, but what code would set those values?  None 
of the MVC frameworks I know of are running when the preloader is running.  
That’s the point of the preloader.  It is framework independent and very 
lightweight so you can view something while the rest of the frameworks get 
downloaded and initialized.



There are two phases to the preloader: download and initialize.  You could 
probably set something in the initializing phase if you really want to.





On 8/9/11 11:00 AM, "Philip Smith"  wrote:



 

 

 

   



But in essence, going back to your example, there is no capacity to inject 
'MyInjectClass' with a public setter?



Public class MyDownloadProgressBar extends SparkDownloadProgressBar

{

private var _injectedClass:MyInjectClass;

private var _preloaderModel:PreloaderModel;



   public function set injectedClass(value:MyInjectClass):void

   {

 this._injectedClass = value;

   }



   public function set preloaderModel(value:PreloaderModel):void

  {

  this._preloaderModel = value;

  }

}



Ideally we would like to have a generic custom preloader component with an MVC 
structure that uses dependency injection.



To: flexcoders@yahoogroups.com

From: aha...@adobe.com

Date: Tue, 9 Aug 2011 10:39:41 -0700

Subject: Re: [flexcoders] Inject dependency into Flex application preloader



 

 

 

   The preloader is instantiated long before the application.  The app’s 
preloader property isn’t used at runtime, the compiler generates special code 
for it.



A preloader can certainly examine its environment and do different things.  
There are a few custom preloaders on my blogs.





On 8/9/11 10:21 AM, "Philip Smith" http://loudj...@hotmail.com> > wrote:





 

 

 

   



We'd like to inject some values into the application preloader instance:







Is it possible to do something like this hypothetical example: 



(application.preloader as CustomPreloader).preloaderModel = new 
PreloaderModel();



Or pass in properties, similar to how it's done with item renderers and 
'ClassFactory' properties?







To: flexcoders@yahoogroups.com  

From: aha...@adobe.com  

Date: Tue, 9 Aug 2011 10:05:04 -0700

Subject: Re: [flexcoders] Inject dependency into Flex application preloader



 

 

 

   Public class MyDownloadProgressBar extends SparkDownloadProgressBar

{

private var injectedClass:MyInjectClass;

}





On 8/9/11 9:35 AM, "Philip Smith" http://loudj...@hotmail.com>   > > wrote:





 

 

 

   



> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.



Can you provide an example of this, Alex?



To: flexcoders@yahoogroups.com   
 > 

From: aha...@adobe.com    > 

Date: Mon, 8 Aug 2011 22:13:34 -0700

Subject: Re: [flexcoders] Inject dependency into Flex application preloader



 

 

 

   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.





On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com>   >    
 > > wrote:





 

 

 

   



Is it possible?



http://ns.adobe.com/mxml/2009";

   xmlns:s="library://ns.adobe.com/flex/spark"

   xmlns:mx="library://ns.adobe.com/flex/mx"

   preloader="com.storefront.editorhost.app.ProgressPreloader"

   >



Cheers,



Philip



 

   







-- 

Alex Harui

Flex SDK Team

Adobe System, Inc.

http://blogs.adobe.com/aharui








 









  

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
You can write your code like that, but what code would set those values?  None 
of the MVC frameworks I know of are running when the preloader is running.  
That’s the point of the preloader.  It is framework independent and very 
lightweight so you can view something while the rest of the frameworks get 
downloaded and initialized.

There are two phases to the preloader: download and initialize.  You could 
probably set something in the initializing phase if you really want to.


On 8/9/11 11:00 AM, "Philip Smith"  wrote:






But in essence, going back to your example, there is no capacity to inject 
'MyInjectClass' with a public setter?

Public class MyDownloadProgressBar extends SparkDownloadProgressBar
{
private var _injectedClass:MyInjectClass;
private var _preloaderModel:PreloaderModel;

   public function set injectedClass(value:MyInjectClass):void
   {
 this._injectedClass = value;
   }

   public function set preloaderModel(value:PreloaderModel):void
  {
  this._preloaderModel = value;
  }
}

Ideally we would like to have a generic custom preloader component with an MVC 
structure that uses dependency injection.


To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 9 Aug 2011 10:39:41 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   The preloader is instantiated long before the application.  The app’s 
preloader property isn’t used at runtime, the compiler generates special code 
for it.

A preloader can certainly examine its environment and do different things.  
There are a few custom preloaders on my blogs.


On 8/9/11 10:21 AM, "Philip Smith" http://loudj...@hotmail.com> > wrote:







We'd like to inject some values into the application preloader instance:



Is it possible to do something like this hypothetical example:

(application.preloader as CustomPreloader).preloaderModel = new 
PreloaderModel();

Or pass in properties, similar to how it's done with item renderers and 
'ClassFactory' properties?




To: flexcoders@yahoogroups.com 
From: aha...@adobe.com 
Date: Tue, 9 Aug 2011 10:05:04 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   Public class MyDownloadProgressBar extends SparkDownloadProgressBar
{
private var injectedClass:MyInjectClass;
}


On 8/9/11 9:35 AM, "Philip Smith" http://loudj...@hotmail.com>   > > wrote:







> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.

Can you provide an example of this, Alex?


To: flexcoders@yahoogroups.com   
 >
From: aha...@adobe.com    >
Date: Mon, 8 Aug 2011 22:13:34 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.


On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com>   >    
 > > wrote:







Is it possible?

http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   preloader="com.storefront.editorhost.app.ProgressPreloader"
   >

Cheers,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith

But in essence, going back to your example, there is no capacity to inject 
'MyInjectClass' with a public setter?

Public class MyDownloadProgressBar extends SparkDownloadProgressBar

{

private var _injectedClass:MyInjectClass;
private var _preloaderModel:PreloaderModel;

   public function set injectedClass(value:MyInjectClass):void
   {
 this._injectedClass = value;
   }

   public function set preloaderModel(value:PreloaderModel):void
  {
  this._preloaderModel = value;
  }

}

Ideally we would like to have a generic custom preloader component with an MVC 
structure that uses dependency injection.

To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 9 Aug 2011 10:39:41 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader


















 



  



  
  
  

The preloader is instantiated long before the application.  The app’s preloader 
property isn’t used at runtime, the compiler generates special code for it.



A preloader can certainly examine its environment and do different things.  
There are a few custom preloaders on my blogs.





On 8/9/11 10:21 AM, "Philip Smith"  wrote:



 

 

 

   



We'd like to inject some values into the application preloader instance:







Is it possible to do something like this hypothetical example: 



(application.preloader as CustomPreloader).preloaderModel = new 
PreloaderModel();



Or pass in properties, similar to how it's done with item renderers and 
'ClassFactory' properties?







To: flexcoders@yahoogroups.com

From: aha...@adobe.com

Date: Tue, 9 Aug 2011 10:05:04 -0700

Subject: Re: [flexcoders] Inject dependency into Flex application preloader



 

 

 

   Public class MyDownloadProgressBar extends SparkDownloadProgressBar

{

private var injectedClass:MyInjectClass;

}





On 8/9/11 9:35 AM, "Philip Smith" http://loudj...@hotmail.com> > wrote:





 

 

 

   



> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.



Can you provide an example of this, Alex?



To: flexcoders@yahoogroups.com  

From: aha...@adobe.com  

Date: Mon, 8 Aug 2011 22:13:34 -0700

Subject: Re: [flexcoders] Inject dependency into Flex application preloader



 

 

 

   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.





On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com>   > > wrote:





 

 

 

   



Is it possible?



http://ns.adobe.com/mxml/2009";

   xmlns:s="library://ns.adobe.com/flex/spark"

   xmlns:mx="library://ns.adobe.com/flex/mx"

   preloader="com.storefront.editorhost.app.ProgressPreloader"

   >



Cheers,



Philip



 

   







-- 

Alex Harui

Flex SDK Team

Adobe System, Inc.

http://blogs.adobe.com/aharui








 









  

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
The preloader is instantiated long before the application.  The app’s preloader 
property isn’t used at runtime, the compiler generates special code for it.

A preloader can certainly examine its environment and do different things.  
There are a few custom preloaders on my blogs.


On 8/9/11 10:21 AM, "Philip Smith"  wrote:






We'd like to inject some values into the application preloader instance:



Is it possible to do something like this hypothetical example:

(application.preloader as CustomPreloader).preloaderModel = new 
PreloaderModel();

Or pass in properties, similar to how it's done with item renderers and 
'ClassFactory' properties?




To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 9 Aug 2011 10:05:04 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   Public class MyDownloadProgressBar extends SparkDownloadProgressBar
{
private var injectedClass:MyInjectClass;
}


On 8/9/11 9:35 AM, "Philip Smith" http://loudj...@hotmail.com> > wrote:







> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.

Can you provide an example of this, Alex?


To: flexcoders@yahoogroups.com 
From: aha...@adobe.com 
Date: Mon, 8 Aug 2011 22:13:34 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.


On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com>   > > wrote:







Is it possible?

http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   preloader="com.storefront.editorhost.app.ProgressPreloader"
   >

Cheers,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Advanced Item Editor in Simple List

2011-08-09 Thread Alex Harui
Is this an mx:List?  It will attempt to write the dataField to the labelField.  
You may need a custom ITEM_EDIT_END handler.


On 8/9/11 8:04 AM, "Martin Moschitz"  wrote:






Hey there,

I can't figure out the problem, maybe you can help me out.

My List has an ArrayCollection as a DataProvider. It contains objects with a 
number of properties, amongst others:
AktID, AktName, AktPrice, etc.

I have an itemRenderer which is also the itemEditor. I set the 
itemEditorDataField to "data". Now, whenever I edit the AktName, it gets 
overwritten with the whole object. Anything I am not seeing here?

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







Thanks,
Martin





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith

We'd like to inject some values into the application preloader instance:



Is it possible to do something like this hypothetical example: 

(application.preloader as CustomPreloader).preloaderModel = new 
PreloaderModel();

Or pass in properties, similar to how it's done with item renderers and 
'ClassFactory' properties?



To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Tue, 9 Aug 2011 10:05:04 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader


















 



  



  
  
  

Public class MyDownloadProgressBar extends SparkDownloadProgressBar

{

private var injectedClass:MyInjectClass;

}





On 8/9/11 9:35 AM, "Philip Smith"  wrote:



 

 

 

   



> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.



Can you provide an example of this, Alex?



To: flexcoders@yahoogroups.com

From: aha...@adobe.com

Date: Mon, 8 Aug 2011 22:13:34 -0700

Subject: Re: [flexcoders] Inject dependency into Flex application preloader



 

 

 

   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.





On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com> > wrote:





 

 

 

   



Is it possible?



http://ns.adobe.com/mxml/2009";

   xmlns:s="library://ns.adobe.com/flex/spark"

   xmlns:mx="library://ns.adobe.com/flex/mx"

   preloader="com.storefront.editorhost.app.ProgressPreloader"

   >



Cheers,



Philip



 

   







-- 

Alex Harui

Flex SDK Team

Adobe System, Inc.

http://blogs.adobe.com/aharui








 









  

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
Public class MyDownloadProgressBar extends SparkDownloadProgressBar
{
private var injectedClass:MyInjectClass;
}


On 8/9/11 9:35 AM, "Philip Smith"  wrote:






> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.

Can you provide an example of this, Alex?


To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Mon, 8 Aug 2011 22:13:34 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader




   You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.


On 8/8/11 4:29 PM, "method_air" http://loudj...@hotmail.com> > wrote:







Is it possible?

http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   preloader="com.storefront.editorhost.app.ProgressPreloader"
   >

Cheers,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Re: AdvancedDataGrid Performance Issue

2011-08-09 Thread Alex Harui
Use the profiler to see what is going on.


On 8/9/11 6:57 AM, "steveroger_flex"  wrote:






now, I have remove all renderer code of ADG.
ADG is displaying data without any formating.

But Still its too too slow. Application struck at that point.

any idea about this?

Steve

--- In flexcoders@yahoogroups.com  , 
"steveroger_flex"  wrote:
>
> I found one thing after doing some experiment with my application.
> Slow performance is not happen due to column number exceed.
>
> It happens after initializing dataprovide of ADG. Renderer will create 
> performance problem with ADG.
> Renderer handling some graphic (background & Font) operation depend on cell 
> value.
>
> So is there any way to minimize this problem?
>
> --- In flexcoders@yahoogroups.com  , 
> "steveroger_flex"  wrote:
> >
> > Hello Friends,
> >
> > I am using AdvancedDataGrid to represent statistical data.
> > I am creating AdvancedDataGrid column at runtine. Also assigning
> > renderer at runtime. (Using this Reference
> >  )
> >
> > Actually performance issue occurs when number of columns are exceed to
> > 20.
> > Its really too slow. Actually application is hang at that point. I have
> > to close the application.
> >
> > How to improve ADG performance to handle this situation?
> >
> > Thank you,
> >
> > Steve Roger.
> >
>






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith

> You can inject certain kinds of dependencies as long as they don’t drag in 
> UIComponent.

Can you provide an example of this, Alex?

To: flexcoders@yahoogroups.com
From: aha...@adobe.com
Date: Mon, 8 Aug 2011 22:13:34 -0700
Subject: Re: [flexcoders] Inject dependency into Flex application preloader


















 



  



  
  
  

You can inject certain kinds of dependencies as long as they don’t drag in 
UIComponent.





On 8/8/11 4:29 PM, "method_air"  wrote:



 

 

 

   



Is it possible?



http://ns.adobe.com/mxml/2009";

   xmlns:s="library://ns.adobe.com/flex/spark"

   xmlns:mx="library://ns.adobe.com/flex/mx"

   preloader="com.storefront.editorhost.app.ProgressPreloader"

   >



Cheers,



Philip



 

   







-- 

Alex Harui

Flex SDK Team

Adobe System, Inc.

http://blogs.adobe.com/aharui








 









  

[flexcoders] Advanced Item Editor in Simple List

2011-08-09 Thread Martin Moschitz
Hey there,

I can't figure out the problem, maybe you can help me out.

My List has an ArrayCollection as a DataProvider. It contains objects with a 
number of properties, amongst others:
AktID, AktName, AktPrice, etc.

I have an itemRenderer which is also the itemEditor. I set the 
itemEditorDataField to "data". Now, whenever I edit the AktName, it gets 
overwritten with the whole object. Anything I am not seeing here?

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







Thanks,
Martin

[flexcoders] Re: AdvancedDataGrid Performance Issue

2011-08-09 Thread steveroger_flex
now, I have remove all renderer code of ADG.
ADG is displaying data without any formating.

But Still its too too slow. Application struck at that point.

any idea about this?

Steve


--- In flexcoders@yahoogroups.com, "steveroger_flex"  
wrote:
>
> I found one thing after doing some experiment with my application.
> Slow performance is not happen due to column number exceed.
> 
> It happens after initializing dataprovide of ADG. Renderer will create 
> performance problem with ADG.
> Renderer handling some graphic (background & Font) operation depend on cell 
> value.
> 
> So is there any way to minimize this problem?
> 
> --- In flexcoders@yahoogroups.com, "steveroger_flex"  wrote:
> >
> > Hello Friends,
> > 
> > I am using AdvancedDataGrid to represent statistical data.
> > I am creating AdvancedDataGrid column at runtine. Also assigning
> > renderer at runtime. (Using this Reference
> >  )
> > 
> > Actually performance issue occurs when number of columns are exceed to
> > 20.
> > Its really too slow. Actually application is hang at that point. I have
> > to close the application.
> > 
> > How to improve ADG performance to handle this situation?
> > 
> > Thank you,
> > 
> > Steve Roger.
> >
>




Re: [flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-09 Thread Johannes Nel
I have a  different setup from you, but I debug my java backends without a
problem wether I make my request in air, ajax or flex.
A php project is a request response model, so no matter what initiates the
request you should be able to put a breakpoint in your code.

Your url request in air can have all those querystring variables.

On Tue, Aug 9, 2011 at 1:15 PM, enridp  wrote:

> **
>
>
> Hi johannes, I think I can't catch what you said, my projects are separated
> of course, but the problem, from what I see, is that the PHP debugger needs
> a browser (because it adds a lot of query strings for sessions and php
> debugging).
> In AIR we don't have any browser, I have my PHP project, I have breakpoints
> in the PHP project of course too, even more, I have my AIR project linked
> with my PHP project in FB 4.5 for PHP.
> But the PHP debug doesn't work with AIR
>
> Did you tested it?
> I mean, are you debugging PHP in AIR applications?
>
>
> --- In flexcoders@yahoogroups.com, Johannes Nel  wrote:
> >
> > split your projects, put a break point in the php code.
> >
> > On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
> >
> > > **
> > >
> > >
> > > Hi ! I think I can't explain it better than my subject :)
> > >
> > > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex and
> PHP
> > > side at the same time, but it doesn't work with AIR applications.
> > >
> > > Does somebody know a workaround for this?
> > >
> > >
> > >
> >
> >
> >
> > --
> > j:pn
> > \\no comment
> >
>
>  
>



-- 
j:pn
\\no comment


Re: [flexcoders]

2011-08-09 Thread Isabelle Loyer Perso













[flexcoders] Re: How to debug PHP side in AIR applications?

2011-08-09 Thread enridp
Hi johannes, I think I can't catch what you said, my projects are separated of 
course, but the problem, from what I see, is that the PHP debugger needs a 
browser (because it adds a lot of query strings for sessions and php debugging).
In AIR we don't have any browser, I have my PHP project, I have breakpoints in 
the PHP project of course too, even more, I have my AIR project linked with my 
PHP project in FB 4.5 for PHP.
But the PHP debug doesn't work with AIR

Did you tested it?
I mean, are you debugging PHP in AIR applications?


--- In flexcoders@yahoogroups.com, Johannes Nel  wrote:
>
> split your projects, put a break point in the php code.
> 
> On Mon, Aug 8, 2011 at 8:08 PM, enridp  wrote:
> 
> > **
> >
> >
> > Hi ! I think I can't explain it better than my subject :)
> >
> > Flash Builder 4.5 for PHP it's wonderful for debugging both, Flex and PHP
> > side at the same time, but it doesn't work with AIR applications.
> >
> > Does somebody know a workaround for this?
> >
> >  
> >
> 
> 
> 
> -- 
> j:pn
> \\no comment
>




[flexcoders] Filtering multilingual text within a datagrid filter column

2011-08-09 Thread Myadi H
Hello guys,

I need your quick and very important suggestion.

How to filter multilingual text? For example- 
In japanese, hiragana and katagana fonts will take 2 bytes to specify each 
charecter. when you type text in japanese language say 'A' it writes as 'A ' 
i.e., a space after text.

What if i type 'A' In japanese and grid contains ENGLISH text. How to filter?

Please help me out ASAP


Thank you
 



Re: [flexcoders]

2011-08-09 Thread Isabelle Loyer Perso













[flexcoders] Re: AdvancedDataGrid Performance Issue

2011-08-09 Thread steveroger_flex
I found one thing after doing some experiment with my application.
Slow performance is not happen due to column number exceed.

It happens after initializing dataprovide of ADG. Renderer will create 
performance problem with ADG.
Renderer handling some graphic (background & Font) operation depend on cell 
value.

So is there any way to minimize this problem?

--- In flexcoders@yahoogroups.com, "steveroger_flex"  
wrote:
>
> Hello Friends,
> 
> I am using AdvancedDataGrid to represent statistical data.
> I am creating AdvancedDataGrid column at runtine. Also assigning
> renderer at runtime. (Using this Reference
>  )
> 
> Actually performance issue occurs when number of columns are exceed to
> 20.
> Its really too slow. Actually application is hang at that point. I have
> to close the application.
> 
> How to improve ADG performance to handle this situation?
> 
> Thank you,
> 
> Steve Roger.
>




Re: [flexcoders] PopUpAnchor in the Hierarchy

2011-08-09 Thread Alex Harui
I’m not clear that PopUpAnchor listens for state changes unless you set it up 
to do so.


On 8/8/11 11:03 PM, "jitendra jain"  wrote:






I noticed one strange behaviour.. When i switch my view state, the PopUpAnchor 
still remains opened.. Any idea?

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

From: jitendra jain 
To: "flexcoders@yahoogroups.com" 
Sent: Tuesday, 9 August 2011 11:28 AM
Subject: Re: [flexcoders] PopUpAnchor in the Hierarchy



Alex, I want the PopUpAnchors and not the popups..

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798

From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Monday, 8 August 2011 10:42 PM
Subject: Re: [flexcoders] PopUpAnchor in the Hierarchy



PopUpAnchor or the thing it pops up?  The popups are in 
systemManager.popupChildren.


On 8/8/11 3:17 AM, "jitendra jain"  wrote:






Hi Group,

  From where do i find the number of PopUpAnchors in the systemManager 
hierarchy..?

Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui