[flexcoders] Image Flickering

2011-08-29 Thread jitendra jain
Hi Guys,
 

   When i click any item on the Button bar the image flickers and below is my 
code for the first time.


 





Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798


Re: [flexcoders] Basic Doubt - Flex Module

2011-08-29 Thread Alex Harui
I would have the button listen for events from the module.


On 8/29/11 4:12 PM, "Venkat M"  wrote:







Hi Group,

I have a basic question on modules and module loader in flex. Can some on help 
out please?

I have a main application that loads up any one of the available 4 (A,B,C,D) 
modules from a dropdown. The module loader in the main application is binded to 
the combobox of choice and the particular module loads up.For example if user 
selects A from combobox, module A.swf loads up. When the user changes the 
option to B in dropdown, the module loader unloads module A and loads Module B. 
This is the scenario.

How can I control a logout button (activate/deactivate) in main application 
with the value of flag variable provided in all the modules.

All the modules has a flag variable in them, when some action is being 
performed within the module the flag is set to 1, other wise 0; So my button on 
main application should be active only when the flag in the currently loaded 
module is 0. How do I deal with this.

Thanks in advance!!

Best Regards,
Venkat Maddali.







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


Re: [flexcoders] Re: Best Practice for Subclassed UIComponent and DataProvider

2011-08-29 Thread Alex Harui
Use the –keep-generated-actionscript MXMLC options and see the pile of code it 
generates.


On 8/29/11 7:31 AM, "hanzo55"  wrote:








I actually did a bit of research on the COLLECTION_CHANGE event as well as the 
setter prior to posting here, and neither seemed to apply, since my initial 
tests of working with a plain ComboBox were completely fine:



caused the combobox to be populated correctly. What I was really looking for 
was what was going on under-the-hood for the code above when it is processed 
during compilation into AS3. Does this MXML mean that there is assignment going 
on in the constructor? (current results seem to point to 'no'), or does the 
Flex compiler look at binding related attributes (surrounded by curly braces) 
and translate those into a series of calls to BindingUtils.bindProperty()

I suppose I could have just downloaded the flex source and looked. :\

--- In flexcoders@yahoogroups.com  , 
"turbo_vb"  wrote:
>
> Back to your problem.  If you're not seeing the combo box's dataProvider 
> populate or update, then it's a binding problem.  Good idea to try the 
> BindingUtils, but it's easier to fix the binding events in the model.  If 
> you're using a getter / setter in the model, for the facilities collection, 
> make sure that the binding event is dispatched in the setter.  If you're not 
> seeing the collection update, when existing items have been changed 
> elsewhere, then listen for the COLLECTION_CHANGE event on the facilities 
> collection, and in the listener function, manually dispatch the collection's 
> binding event (same as the one in the setter).  If this doesn't work, look 
> further upstream; in the service, delegate or controller.  You'll find the 
> short.
>
> -TH
>
> --- In flexcoders@yahoogroups.com  , 
> "turbo_vb"  wrote:
> >
> > You have the right idea; to encapsulate the dataProvider, validation and 
> > change event handler.  But, instead of putting them inside the control, 
> > wrap all of that into a common facilities model, that gets used anywhere 
> > it's needed in the application.  I stopped using Cairngorm a long time ago, 
> > but hopefully the newest version supports dependency injection; so you can 
> > just inject a reference to the facilities model where needed, and hook it 
> > up to the combo box.  That would be best practice.  But, at the end of the 
> > day, the goal is to make it work, so...
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com  , 
> > "hanzo55"  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > I very much appreciate the help! Any chance I can take to improve the 
> > > design would be greatly beneficial, from a maintenance standpoint.
> > >
> > > My feeling originally was if I have two comboboxes that are in entirely 
> > > different parts of the app, but that will always be populated by the same 
> > > data provider, always have the same validation and always utilize the 
> > > same change function (while being different from other comboboxes in the 
> > > site), it made sense to encapsulate the dataprovider/validation/change 
> > > events into the box itself so it could be added to a view without having 
> > > to specify all of the various attributes a combobox needs--since they are 
> > > not changing.
> > >
> > > Initially, it seemed a bit pointless to write:
> > >
> > > 
> > >
> > > everywhere I implemented the Facility ComboBox since everywhere the 
> > > Facility ComboBox is implemented...the dataProvider is *going* to be 
> > > model.facilities and will never change.
> > >
> > > If you think that there is a good example somewhere that demonstrates a 
> > > better design for this type of class hierachy, please point me to it and 
> > > I'll have a look. As the subject states, I'm very much looking for the 
> > > best practice here.
> > >
> > > --- In flexcoders@yahoogroups.com  , 
> > > "turbo_vb"  wrote:
> > > >
> > > > Validation can be abstracted just like dataProviders.  For a combo box, 
> > > > you only need to validate the selectedItem; from the view, presentation 
> > > > model, or a common utility class.  Most other stuff happens in 
> > > > itemRenderers; that have a little more freedom.  It may be that you're 
> > > > locked into a structure that was handed to you, but hardcoding a 
> > > > reference to a singleton model, from which you set the data provider of 
> > > > a combo box from within the combo box, breaks the rules.  If you're 
> > > > having problems with binding the dataProvider to the model's property, 
> > > > the binding problem is probably upstream from the combo box.  Good luck 
> > > > Shawn, just trying to help.
> > > >
> > > > -TH
> > > >
> > > > --- In flexcoders@yahoogroups.com  
> > > > , "hanzo55"  wrote:
> > > > >
> > > > >
> > > > >
> > > > > There's more to the story in r

[flexcoders] Module issue

2011-08-29 Thread j2me_soul
I try load new module when previous one has been unloaded.
So I let the moduler load module in the unload event handler.
But the module can't be loaded ?
 
moduler.unloadModule(); // actually it has not been unload
moduler.loadModule(...);  // the new one load
 
moduler.unloadModule(); // When It has been unloaded
 
modulerUnloadedHandler(e:ModuleEvent):void{
moduler.loadModule(...); // the new one load
// but the new one can't load with no error ~~~
}

Re: [flexcoders] Flash Player may be not creating Shared Object on Mac

2011-08-29 Thread jitendra jain
Thanks Guy Morton. I have resolved my problem and the solution is as below.

  I got the latest flash player from the Adobe. I have Flash Builder 4.5 
installed on My mac machine and when i launch the application via Flash 
Builder(standalone), it uses the internal Flash Player(debugger version) that 
was embedded with Flash Builder on Mac which fails to create the shared 
objects. 
I clicked project -> properties, Flex compiler -> checked HTML wrapper (at 
bottom) and then the shared objects were created.


 Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798





From: Guy Morton 
To: "flexcoders@yahoogroups.com" 
Sent: Mon, 29 August, 2011 12:37:59 PM
Subject: Re: [flexcoders] Flash Player may be not creating Shared Object on Mac

  
Shared objects work fine on the mac. You need to give us more details if you 
want help. 

On 29/08/2011, at 5:00 PM, jitendra jain  wrote:


  
>Hi Guys,
>
>  Today I have installed Flash Builder on Mac Machine. The code doesn't work 
> .. 
>I am using Shared Objects for storing the cookie..
>   In windows it is working (same code). I changed the settings via Globel 
>Setting Panel on Adobe site. Please revert asap. Thanks for help in advance
>
> Thanks,
>
>with Regards,
>Jitendra Jain
>Software Engineer
>91-9979960798
>
>
 

Re: [flexcoders] Developing iOS apps: Pros and cons of Flash compared to Objective C

2011-08-29 Thread Jeffry Houser


Flash Pro:  Being able to easily repurpose code to other platforms 
including Android, Blackerry Playbook, web applications, and desktop 
applications
Ojective Pro: Performance; Access to more APIS not exposed through AIR 
Runtime.  Apple will like you better.



On 8/29/2011 5:24 AM, mulchand12345 wrote:


Hi All,
I want to create iOS applications using FlashBuilder 4.5.1 and I am in 
the process of obtaining the iOS developer certificate.


My query is, what are the pros and cons of using Flash compared to 
Objective C?


Thanks and regards,
MulC.





--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust



[flexcoders] Basic Doubt - Flex Module

2011-08-29 Thread Venkat M
  
Hi Group,
 
I have a basic question on modules and module loader in flex. Can some on help 
out please?
 
I have a main application that loads up any one of the available 4 (A,B,C,D) 
modules from a dropdown. The module loader in the main application is binded to 
the combobox of choice and the particular module loads up.For example if user 
selects A from combobox, module A.swf loads up. When the user changes the 
option to B in dropdown, the module loader unloads module A and loads Module B. 
This is the scenario.
 
How can I control a logout button (activate/deactivate) in main application 
with the value of flag variable provided in all the modules.
 
All the modules has a flag variable in them, when some action is being 
performed within the module the flag is set to 1, other wise 0; So my button on 
main application should be active only when the flag in the currently loaded 
module is 0. How do I deal with this.
 
Thanks in advance!!
 
Best Regards,
Venkat Maddali. 

[flexcoders] Re: Why don't horizontalCenter and verticalCenter work with Spark ColumnConstraints?

2011-08-29 Thread turbo_vb
Constraints are designed to be used to constrain other components for things 
like alignment and size.  For your app, just add a group around each of your 
containers and you're fine.

-TH


http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
backgroundColor="blue">























--- In flexcoders@yahoogroups.com, RobertTr  wrote:
>
> 
> Here's code that splits the screen into two columns, left and right. Then it
> puts a box in each column and attempts to center them. The horizontalCenter
> and verticalCenter properties are ignored:
> 
> 
> http://ns.adobe.com/mxml/2009"; 
>  xmlns:s="library://ns.adobe.com/flex/spark" 
>  xmlns:mx="library://ns.adobe.com/flex/mx"
>  backgroundColor="blue">
>   
>   
>   
>   top="100" bottom="100"
>backgroundColor="red">
>   
>   
>   
>width="{width/2}" />
>width="{width/2}" />  
> 
> 
>   
>   
> backgroundColor="green"
>  width="400" height="300"
>  horizontalCenter="col1:0"
>  verticalCenter="0">
>   
> backgroundColor="yellow"
>  width="200" height="150"
>  horizontalCenter="col2:0"
>  verticalCenter="0">
>   
>   
> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Why-don%27t-horizontalCenter-and-verticalCenter-work-with-Spark-ColumnConstraints--tp32358020p32358020.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>




[flexcoders] Need help and Request Adobe To update Flash Builder Extensibility Documentation

2011-08-29 Thread dineshkumar_tm01
Hello All,
Looks the documentation on Adobe Flash Builder Extensibility API Reference has 
not been updated:( ..i can give many examples …. Here is the DesignModelPlugin 
Class and getEditableModelForFile method in flex uilder 3 
http://www.adobe.com/livedocs/flex/3/extensibility/DesignModel/com/adobe/flexbuilder/designmodel/DesignModelPlugin.html

This method is removed in flashbuilder 4 but the documentation is not 
updated.Flashbuilder Builder doc link 
http://help.adobe.com/en_US/flashbuilder/extensibility/DesignModel/com/adobe/flexbuilder/designmodel/DesignModelPlugin.html

Without the updated document i am not able to proceed my development. Actually 
i was migrating my plugins from flex builder to flash builder since some 
methods are removed i am not able to find alternate way to fix them for 
flashbuilder.Hope through this group i will get ideas,links to proceed my 
development as well as this will reach adobe to update with proper 
documentation .Guess every one can understand developers pain working in an 
organisation.

Thanks in Advance dinesh



[flexcoders] Why don't horizontalCenter and verticalCenter work with Spark ColumnConstraints?

2011-08-29 Thread RobertTr

Here's code that splits the screen into two columns, left and right. Then it
puts a box in each column and attempts to center them. The horizontalCenter
and verticalCenter properties are ignored:


http://ns.adobe.com/mxml/2009"; 
   xmlns:s="library://ns.adobe.com/flex/spark" 
   xmlns:mx="library://ns.adobe.com/flex/mx"
   backgroundColor="blue">








  
  










-- 
View this message in context: 
http://old.nabble.com/Why-don%27t-horizontalCenter-and-verticalCenter-work-with-Spark-ColumnConstraints--tp32358020p32358020.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: Best Practice for Subclassed UIComponent and DataProvider

2011-08-29 Thread hanzo55


I actually did a bit of research on the COLLECTION_CHANGE event as well as the 
setter prior to posting here, and neither seemed to apply, since my initial 
tests of working with a plain ComboBox were completely fine:



caused the combobox to be populated correctly. What I was really looking for 
was what was going on under-the-hood for the code above when it is processed 
during compilation into AS3. Does this MXML mean that there is assignment going 
on in the constructor? (current results seem to point to 'no'), or does the 
Flex compiler look at binding related attributes (surrounded by curly braces) 
and translate those into a series of calls to BindingUtils.bindProperty()

I suppose I could have just downloaded the flex source and looked. :\

--- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
>
> Back to your problem.  If you're not seeing the combo box's dataProvider 
> populate or update, then it's a binding problem.  Good idea to try the 
> BindingUtils, but it's easier to fix the binding events in the model.  If 
> you're using a getter / setter in the model, for the facilities collection, 
> make sure that the binding event is dispatched in the setter.  If you're not 
> seeing the collection update, when existing items have been changed 
> elsewhere, then listen for the COLLECTION_CHANGE event on the facilities 
> collection, and in the listener function, manually dispatch the collection's 
> binding event (same as the one in the setter).  If this doesn't work, look 
> further upstream; in the service, delegate or controller.  You'll find the 
> short.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
> >
> > You have the right idea; to encapsulate the dataProvider, validation and 
> > change event handler.  But, instead of putting them inside the control, 
> > wrap all of that into a common facilities model, that gets used anywhere 
> > it's needed in the application.  I stopped using Cairngorm a long time ago, 
> > but hopefully the newest version supports dependency injection; so you can 
> > just inject a reference to the facilities model where needed, and hook it 
> > up to the combo box.  That would be best practice.  But, at the end of the 
> > day, the goal is to make it work, so...
> > 
> > -TH
> > 
> > --- In flexcoders@yahoogroups.com, "hanzo55"  wrote:
> > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > I very much appreciate the help! Any chance I can take to improve the 
> > > design would be greatly beneficial, from a maintenance standpoint.
> > > 
> > > My feeling originally was if I have two comboboxes that are in entirely 
> > > different parts of the app, but that will always be populated by the same 
> > > data provider, always have the same validation and always utilize the 
> > > same change function (while being different from other comboboxes in the 
> > > site), it made sense to encapsulate the dataprovider/validation/change 
> > > events into the box itself so it could be added to a view without having 
> > > to specify all of the various attributes a combobox needs--since they are 
> > > not changing.
> > > 
> > > Initially, it seemed a bit pointless to write:
> > > 
> > > 
> > > 
> > > everywhere I implemented the Facility ComboBox since everywhere the 
> > > Facility ComboBox is implemented...the dataProvider is *going* to be 
> > > model.facilities and will never change.
> > > 
> > > If you think that there is a good example somewhere that demonstrates a 
> > > better design for this type of class hierachy, please point me to it and 
> > > I'll have a look. As the subject states, I'm very much looking for the 
> > > best practice here.
> > > 
> > > --- In flexcoders@yahoogroups.com, "turbo_vb"  wrote:
> > > >
> > > > Validation can be abstracted just like dataProviders.  For a combo box, 
> > > > you only need to validate the selectedItem; from the view, presentation 
> > > > model, or a common utility class.  Most other stuff happens in 
> > > > itemRenderers; that have a little more freedom.  It may be that you're 
> > > > locked into a structure that was handed to you, but hardcoding a 
> > > > reference to a singleton model, from which you set the data provider of 
> > > > a combo box from within the combo box, breaks the rules.  If you're 
> > > > having problems with binding the dataProvider to the model's property, 
> > > > the binding problem is probably upstream from the combo box.  Good luck 
> > > > Shawn, just trying to help.
> > > > 
> > > > -TH
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "hanzo55"  wrote:
> > > > >
> > > > > 
> > > > > 
> > > > > There's more to the story in regards to the class design than what's 
> > > > > provided here; The subclass is actually part of a larger set of 
> > > > > classes that share common functionality in terms of their validation 
> > > > > and change events based on the data-providers for a global app. 
> > > > > 
> > > > > That common functionality is centralized in 

[flexcoders] Developing iOS apps: Pros and cons of Flash compared to Objective C

2011-08-29 Thread mulchand12345
Hi All,
I want to create iOS applications using FlashBuilder 4.5.1 and I am in the 
process of obtaining the iOS developer certificate.

My query is, what are the pros and cons of using Flash compared to Objective C?

Thanks and regards,
MulC.



[flexcoders] Using TabbedViewNavigator in flash?

2011-08-29 Thread rajeshchawla
Hi folks,

I've written code that uses TabbedViewNavigator and deploys to
Android, iPhone, and Blackberry Playbook. 

I'd like to use the code base to deploy the application to
a website using Flash.

In trying to do so, I've hit errors and am now wondering
can I use mobile components with flash in a web page?

Regards,
Rajesh



Re: [flexcoders] How to call container's method into component file

2011-08-29 Thread Srinivas Sandur Madhu Murthy
Nice advice TH! I hope lot of people in Flex development understands this. 
Since from introduction of Flex 1.5 I have seen lot of people using this kind 
of calls or accessing method using global application object.

Thanks 

On Aug 28, 2011, at 9:50 AM, turbo_vb wrote:

> That's bad advice Rishi; that leads to tight coupling and "parent abuse". 
> It's ok to have a parent call a method on a child ( data binding is preferred 
> though). But, children shouldn't call methods directly on their parents. 
> Instead, have the child component dispatch an event to initiate the save 
> method on the parent.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, Rishi Tandon  wrote:
> >
> > Use object oriented best practice.
> > Mxml I'd nothing but a actionscript class.
> > If u r initializing the custom component inside the other component, then u 
> > can directly access the method or else use the 
> > Application.application.componentiD.methodName if u are 
> > Where are u initializing globally.
> > 
> > Sent from my iPhone
> > 
> > On Aug 28, 2011, at 2:21 AM, "shail"  wrote:
> > 
> > > Hi Group,
> > > 
> > > I have a customize container component in which i am using one 
> > > sub-component. The customize container has one overriden method save(), i 
> > > want to call this method in subcomponent. Can this be possible?
> > > 
> > > my code looks like this -
> > > 
> > > GraphDex.mxml
> > > 
> > > 
> > > overrides public void save(){
> > > //plz ignore syntex
> > > }
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Here I want to call mentioned save() method in Dex component that contain 
> > > some graphs, so on click event of Dex graphs i want to call save 
> > > functionality.
> > > 
> > > As being new bee,Please suggest if my approach is wrong.
> > > 
> > >
> >
> 
> 



Re: Re: Re: [flexcoders] ItemRenderer issue

2011-08-29 Thread claudiu ursica
As far as I am aware list has the visualization turn on by default ...
C




From: j2me_soul 
To: flexcoders@yahoogroups.com
Sent: Monday, August 29, 2011 2:50 PM
Subject: Re:Re: Re: [flexcoders] ItemRenderer issue


  
I mean set the useVIrtualLayout to true

At 2011-08-29 20:42:50,"claudiu ursica"  wrote:

  
>What do you mean by " set the visualization to the parent listbase component"?
>
>
>
>
>From: j2me_soul 
>To: flexcoders@yahoogroups.com
>Sent: Monday, August 29, 2011 2:34 PM
>Subject: Re:Re: [flexcoders] ItemRenderer issue
>
>
>  
>Thanks for the reply.
>If I override the data setter in order to reinit my itemrenderer and set the 
>visualization to the parent listbase component
>can impove the performance of my code right ?
>
>At 2011-08-29 20:28:55,"claudiu ursica"  wrote:
>
>  
>>You should override the data setter and try to figure out from there what 
>>state the renderer should be in based on the incomming data. The renderers 
>>are created by the listbased control that parents them. Depending if you are 
>>using visualization or not the control will create renderes for each element 
>>or not. 
>>
>>
>>
>>C
>>
>>
>>
>>
>>
>>From: j2me_soul 
>>To: flexcoders 
>>Sent: Monday, August 29, 2011 2:20 PM
>>Subject: [flexcoders] ItemRenderer issue
>>
>>
>>  
>>I use the spark list component.I want to set the itemrenderer to the default 
>>state when the new data is coming.
>>I try to write the code in the createComplete handler but it only excute one 
>>time !
>>And I try to write the same code in the addedToStage and added event handlers
>>but the result is same ~~
>> 
>>Which is event should I listen to init the itemrenderer ? Or how to recreate 
>>itemrenderer when new data is coming ?
>>
>> 
>>
>>
>
> 
>
>

 
 

Re:Re: Re: [flexcoders] ItemRenderer issue

2011-08-29 Thread j2me_soul
I mean set the useVIrtualLayout to true


At 2011-08-29 20:42:50,"claudiu ursica"  wrote:
 

What do you mean by " set the visualization to the parent listbase component"?


From: j2me_soul 
To:flexcoders@yahoogroups.com
Sent: Monday, August 29, 2011 2:34 PM
Subject: Re:Re: [flexcoders] ItemRenderer issue


 
Thanks for the reply.
If I override the data setter in order to reinit my itemrenderer and set the 
visualization to the parent listbase component
can impove the performance of my code right ?


At 2011-08-29 20:28:55,"claudiu ursica"  wrote:
 
You should override the data setter and try to figure out from there what state 
the renderer should be in based on the incomming data. The renderers are 
created by the listbased control that parents them. Depending if you are using 
visualization or not the control will create renderes for each element or not.



C



From: j2me_soul 
To: flexcoders 
Sent: Monday, August 29, 2011 2:20 PM
Subject: [flexcoders] ItemRenderer issue


 
I use the spark list component.I want to set the itemrenderer to the default 
state when the new data is coming.
I try to write the code in the createComplete handler but it only excute one 
time !
And I try to write the same code in the addedToStage and added event handlers
but the result is same ~~
 
Which is event should I listen to init the itemrenderer ? Or how to recreate 
itemrenderer when new data is coming ?














Re: Re: [flexcoders] ItemRenderer issue

2011-08-29 Thread claudiu ursica
What do you mean by " set the visualization to the parent listbase component"?




From: j2me_soul 
To: flexcoders@yahoogroups.com
Sent: Monday, August 29, 2011 2:34 PM
Subject: Re:Re: [flexcoders] ItemRenderer issue


  
Thanks for the reply.
If I override the data setter in order to reinit my itemrenderer and set the 
visualization to the parent listbase component
can impove the performance of my code right ?

At 2011-08-29 20:28:55,"claudiu ursica"  wrote:

  
>You should override the data setter and try to figure out from there what 
>state the renderer should be in based on the incomming data. The renderers are 
>created by the listbased control that parents them. Depending if you are using 
>visualization or not the control will create renderes for each element or not. 
>
>
>
>C
>
>
>
>
>
>From: j2me_soul 
>To: flexcoders 
>Sent: Monday, August 29, 2011 2:20 PM
>Subject: [flexcoders] ItemRenderer issue
>
>
>  
>I use the spark list component.I want to set the itemrenderer to the default 
>state when the new data is coming.
>I try to write the code in the createComplete handler but it only excute one 
>time !
>And I try to write the same code in the addedToStage and added event handlers
>but the result is same ~~
> 
>Which is event should I listen to init the itemrenderer ? Or how to recreate 
>itemrenderer when new data is coming ?
>
> 
>
>

 
 

Re:Re: [flexcoders] ItemRenderer issue

2011-08-29 Thread j2me_soul
Thanks for the reply.
If I override the data setter in order to reinit my itemrenderer and set the 
visualization to the parent listbase component
can impove the performance of my code right ?


At 2011-08-29 20:28:55,"claudiu ursica"  wrote:
 

You should override the data setter and try to figure out from there what state 
the renderer should be in based on the incomming data. The renderers are 
created by the listbased control that parents them. Depending if you are using 
visualization or not the control will create renderes for each element or not.



C



From: j2me_soul 
To: flexcoders 
Sent: Monday, August 29, 2011 2:20 PM
Subject: [flexcoders] ItemRenderer issue


 
I use the spark list component.I want to set the itemrenderer to the default 
state when the new data is coming.
I try to write the code in the createComplete handler but it only excute one 
time !
And I try to write the same code in the addedToStage and added event handlers
but the result is same ~~
 
Which is event should I listen to init the itemrenderer ? Or how to recreate 
itemrenderer when new data is coming ?








Re: [flexcoders] ItemRenderer issue

2011-08-29 Thread claudiu ursica
You should override the data setter and try to figure out from there what state 
the renderer should be in based on the incomming data. The renderers are 
created by the listbased control that parents them. Depending if you are using 
visualization or not the control will create renderes for each element or not. 


C




From: j2me_soul 
To: flexcoders 
Sent: Monday, August 29, 2011 2:20 PM
Subject: [flexcoders] ItemRenderer issue


  
I use the spark list component.I want to set the itemrenderer to the default 
state when the new data is coming.
I try to write the code in the createComplete handler but it only excute one 
time !
And I try to write the same code in the addedToStage and added event handlers
but the result is same ~~
 
Which is event should I listen to init the itemrenderer ? Or how to recreate 
itemrenderer when new data is coming ?

 
 

[flexcoders] ItemRenderer issue

2011-08-29 Thread j2me_soul
I use the spark list component.I want to set the itemrenderer to the default 
state when the new data is coming.
I try to write the code in the createComplete handler but it only excute one 
time !
And I try to write the same code in the addedToStage and added event handlers
but the result is same ~~
 
Which is event should I listen to init the itemrenderer ? Or how to recreate 
itemrenderer when new data is coming ?

Re: [flexcoders] Flash Player may be not creating Shared Object on Mac

2011-08-29 Thread Guy Morton
Shared objects work fine on the mac. You need to give us more details if you 
want help. 

On 29/08/2011, at 5:00 PM, jitendra jain  wrote:

> Hi Guys,
> 
>   Today I have installed Flash Builder on Mac Machine. The code doesn't work 
> .. I am using Shared Objects for storing the cookie..
>In windows it is working (same code). I changed the settings via Globel 
> Setting Panel on Adobe site. Please revert asap. Thanks for help in advance
>  
> Thanks,
> 
> with Regards,
> Jitendra Jain
> Software Engineer
> 91-9979960798
> 
> 


[flexcoders] Flash Player may be not creating Shared Object on Mac

2011-08-29 Thread jitendra jain
Hi Guys,

  Today I have installed Flash Builder on Mac Machine. The code doesn't work .. 
I am using Shared Objects for storing the cookie..
   In windows it is working (same code). I changed the settings via Globel 
Setting Panel on Adobe site. Please revert asap. Thanks for help in advance

 Thanks,

with Regards,
Jitendra Jain
Software Engineer
91-9979960798