[flexcoders] Re: LegendItem inheritance
can anyone shed some light on the issue? someone has some experience with legend item? --- In flexcoders@yahoogroups.com, "vigen2000" <[EMAIL PROTECTED]> wrote: > > Hi, > > It seems that the only way to change the legendItem behavior and look > is to inherit from it. but what i found out that the > nameLabel(UITextField) property (the actual label component)is private > and therefor cannot be accessed from my custom LegendItem component. > > What i want to do is to change the wordWrap to true. > > any ideas/solutions? > > thanks, > vigen >
[flexcoders] LegendItem inheritance
Hi, It seems that the only way to change the legendItem behavior and look is to inherit from it. but what i found out that the nameLabel(UITextField) property (the actual label component)is private and therefor cannot be accessed from my custom LegendItem component. What i want to do is to change the wordWrap to true. any ideas/solutions? thanks, vigen
[flexcoders] Re: Ely's example of ItemRenderer cause tooltip to be always orange
Hi Ely, I know its been a while but I'm still having this problem. can you please post a short example of the solution? i saw other people who had the same problem and i could not see it on your website. thanks a lot for your help, vigen --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > That's right. > > Ely. > > [esg] > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vigen2000 > Sent: Friday, January 05, 2007 4:55 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Ely's example of ItemRenderer cause tooltip to > be always orange > > > > Hi Ely, > > thank you very much for your reply. so if i understand correctly, if i > take your perColumnColor example and i want the dataTip to have the > correct color of the column, i need to extend the series class and > override the findDataTip function, and return the hitdata object with > the right color? > > thanks, > > vigen > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "Ely Greenfield" wrote: > > > > > > > > > > Hi Vigen. The color used by the datatip is defined by the series, in > > the hitData structure returned from the findDataPoints() method. This > > method is called by the chart to decide what datatips to show and how > to > > show it. If you want to change the hilight color, you'll need to > > override the findDataPoints() method of your series. > > > > (Or create a new custom datatip). > > > > Ely. > > > > > > > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of vigen2000 > > Sent: Thursday, January 04, 2007 1:40 AM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Ely's example of ItemRenderer cause tooltip to > be > > always orange > > > > > > > > Hi, > > > > im trying to make something similar to Ely's example of the > > itemRenderer of chart series, like the PerColumnFill (PerColumnColor) > > class. the problem is that if u add tooltip to the chart (showDataTip > > = true) they are always in orange. any ideas on how to solve this? > > > > help... > > Vigen > > >
[flexcoders] Re: Custom axis drawing (charts)?
thank u Ely. i'll have a look at the example and see if i can use that. vigen --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > Hi Vigen. You can write your own custom axisRenderer if you like. I have > an example that does that up on my blog at quietlyscheming.com (see the > interactive bubble chart). You could theoretically subclass the default > AxisRenderer and add to it, although that might get pretty hairy. > > Ely. > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vigen2000 > Sent: Tuesday, January 16, 2007 4:44 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Custom axis drawing (charts)? > > > > Hi, > > is there a way to draw/add objects to the axis? im trying to draw > little lines on the vertical axis to represent the average value. > > any ideas? > > vigen >
[flexcoders] Custom axis drawing (charts)?
Hi, is there a way to draw/add objects to the axis? im trying to draw little lines on the vertical axis to represent the average value. any ideas? vigen
[flexcoders] Re: gradient itemrenderer and resize (charts)
it seems to be a small problem that is complicated to solve so it's in low priority now. post the code if u manage to implement it. thanks, vigen --- In flexcoders@yahoogroups.com, "phipzkillah" <[EMAIL PROTECTED]> wrote: > > Thanks Vigen! > > Were you able to fix the tooltip so it's border matches the column > gradient color? > > -phil > > --- In flexcoders@yahoogroups.com, "vigen2000" wrote: > > > > try this out: > > > > var g:Graphics = graphics; > > g.clear(); > > var fill:LinearGradient = _linearGrad; //some gradient > > fill.angle = angle; //put it in the right angle > > g.moveTo(0,0); > > fill.begin(g,new Rectangle(0,0,width,height)); > > g.lineTo(width,0); > > g.lineTo(width,height); > > g.lineTo(0,height); > > g.lineTo(0,0); > > fill.end(g); > > > > --- In flexcoders@yahoogroups.com, "phipzkillah" wrote: > > > > > > Vigen, > > > > > > Do you mind posting your source for the gradient item renderer? I > > > have tried to implement this, but was unsuccessful. > > > > > > Or if you can see where I went wrong here... > > > > > > private static const fills:Array = getColors(); > > > > > > > > > private static function getColors():Array{ > > > var gradients:Array = new Array(); > > > //Green - Registered > > > > > > var gradient:LinearGradient = new LinearGradient(); > > > var g1:GradientEntry = new GradientEntry(0x048f32,0); > > > var g2:GradientEntry = new GradientEntry(0x8ed1a5,.2); > > > var g3:GradientEntry = new GradientEntry(0x048f32,.4); > > > var g4:GradientEntry = new GradientEntry(0x59bd7d,.8); > > > var g5:GradientEntry = new GradientEntry(0x04852e,1); > > > > > > gradient.entries = [g1,g2,g3,g4,g5]; > > > > > > gradients.splice(-1,0,gradient); > > > > > > > > > //Orange - Unregistered > > > gradient = new LinearGradient(); > > > > > > g1 = new GradientEntry(0xff8500,0); > > > g2 = new GradientEntry(0xfaaa5f,.2); > > > g3 = new GradientEntry(0xff8500,.4); > > > g4 = new GradientEntry(0xfeddbe,.8); > > > g5 = new GradientEntry(0xff7b00,1); > > > > > > gradient.entries = [g1,g2,g3,g4,g5]; > > > > > > gradients.splice(-1,0,gradient); > > > > > > //Red - Rejected > > > gradient = new LinearGradient(); > > > > > > g1 = new GradientEntry(0xa72323,0); > > > g2 = new GradientEntry(0xb35f5f,.2); > > > g3 = new GradientEntry(0xa72323,.4); > > > g4 = new GradientEntry(0xd86456,.8); > > > g5 = new GradientEntry(0xa92a2a,1); > > > > > > gradient.entries = [g1,g2,g3,g4,g5]; > > > > > > gradients.splice(-1,0,gradient); > > > > > > //Blue - Unknown > > > gradient = new LinearGradient(); > > > > > > g1 = new GradientEntry(0x1414a1,0); > > > g2 = new GradientEntry(0x503a88,.2); > > > g3 = new GradientEntry(0x1414a1,.4); > > > g4 = new GradientEntry(0x928ec,.8); > > > g5 = new GradientEntry(0x99,1); > > > > > > gradient.entries = [g1,g2,g3,g4,g5]; > > > > > > gradients.splice(-1,0,gradient); > > > > > > return gradients; > > > } > > > > > > override protected function updateDisplayList(unscaledWidth:Number, > > > > > > unscaledHeight:Number):void > > > { > > > sup
[flexcoders] Re: gradient itemrenderer and resize (charts)
try this out: var g:Graphics = graphics; g.clear(); var fill:LinearGradient = _linearGrad; //some gradient fill.angle = angle; //put it in the right angle g.moveTo(0,0); fill.begin(g,new Rectangle(0,0,width,height)); g.lineTo(width,0); g.lineTo(width,height); g.lineTo(0,height); g.lineTo(0,0); fill.end(g); --- In flexcoders@yahoogroups.com, "phipzkillah" <[EMAIL PROTECTED]> wrote: > > Vigen, > > Do you mind posting your source for the gradient item renderer? I > have tried to implement this, but was unsuccessful. > > Or if you can see where I went wrong here... > > private static const fills:Array = getColors(); > > > private static function getColors():Array{ > var gradients:Array = new Array(); > //Green - Registered > > var gradient:LinearGradient = new LinearGradient(); > var g1:GradientEntry = new GradientEntry(0x048f32,0); > var g2:GradientEntry = new GradientEntry(0x8ed1a5,.2); > var g3:GradientEntry = new GradientEntry(0x048f32,.4); > var g4:GradientEntry = new GradientEntry(0x59bd7d,.8); > var g5:GradientEntry = new GradientEntry(0x04852e,1); > > gradient.entries = [g1,g2,g3,g4,g5]; > > gradients.splice(-1,0,gradient); > > > //Orange - Unregistered > gradient = new LinearGradient(); > > g1 = new GradientEntry(0xff8500,0); > g2 = new GradientEntry(0xfaaa5f,.2); > g3 = new GradientEntry(0xff8500,.4); > g4 = new GradientEntry(0xfeddbe,.8); > g5 = new GradientEntry(0xff7b00,1); > > gradient.entries = [g1,g2,g3,g4,g5]; > > gradients.splice(-1,0,gradient); > > //Red - Rejected > gradient = new LinearGradient(); > > g1 = new GradientEntry(0xa72323,0); > g2 = new GradientEntry(0xb35f5f,.2); > g3 = new GradientEntry(0xa72323,.4); > g4 = new GradientEntry(0xd86456,.8); > g5 = new GradientEntry(0xa92a2a,1); > > gradient.entries = [g1,g2,g3,g4,g5]; > > gradients.splice(-1,0,gradient); > > //Blue - Unknown > gradient = new LinearGradient(); > > g1 = new GradientEntry(0x1414a1,0); > g2 = new GradientEntry(0x503a88,.2); > g3 = new GradientEntry(0x1414a1,.4); > g4 = new GradientEntry(0x928ec,.8); > g5 = new GradientEntry(0x99,1); > > gradient.entries = [g1,g2,g3,g4,g5]; > > gradients.splice(-1,0,gradient); > > return gradients; > } > > override protected function updateDisplayList(unscaledWidth:Number, > > unscaledHeight:Number):void > { > super.updateDisplayList(unscaledWidth, unscaledHeight); > > var fill:Number = (_chartItem == null)? > 0:fills[_chartItem.index % > fills.length]; > > > var rc:Rectangle = new Rectangle(0, 0, width , height ); > > var g:Graphics = graphics; > g.clear(); > g.moveTo(rc.left,rc.top); > g.beginFill(fill); > g.lineTo(rc.right,rc.top); > g.lineTo(rc.right,rc.bottom); > g.lineTo(rc.left,rc.bottom); > g.lineTo(rc.left,rc.top); > g.endFill(); > } > > --- In flexcoders@yahoogroups.com, "vigen2000" wrote: > > > > Hi, > > > > i have a weired thing going on. i implemented a gradient itemrenderer > > for the series to color the bars according to the data. all works well > > until i resize the chart with AS. the bars are covering each other in > > an ugly way. only recreating the object solve the problem (scrolling > > out of the chart and scrolling back) > > > > any ideas? > > > > vigen > > >
[flexcoders] Re: gradient itemrenderer and resize (charts)
u r good man! (solved the problem in a sec) vigen --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > Are you calling clear in your itemrenderer updateDisplayList()? > > Ely. > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vigen2000 > Sent: Tuesday, January 09, 2007 8:20 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] gradient itemrenderer and resize (charts) > > > > Hi, > > i have a weired thing going on. i implemented a gradient itemrenderer > for the series to color the bars according to the data. all works well > until i resize the chart with AS. the bars are covering each other in > an ugly way. only recreating the object solve the problem (scrolling > out of the chart and scrolling back) > > any ideas? > > vigen >
[flexcoders] gradient itemrenderer and resize (charts)
Hi, i have a weired thing going on. i implemented a gradient itemrenderer for the series to color the bars according to the data. all works well until i resize the chart with AS. the bars are covering each other in an ugly way. only recreating the object solve the problem (scrolling out of the chart and scrolling back) any ideas? vigen
[flexcoders] Re: SENIOR FLEX/FLASH LEAD DEVELOPER Position..Will lead the Flash/Flex developm
is'nt that in India? --- In flexcoders@yahoogroups.com, "solec_flex" <[EMAIL PROTECTED]> wrote: > > SENIOR FLEX/FLASH LEAD DEVELOPER > In this important role you will lead the Flash/Flex development of a > major commercial web site being built with Flash 9 and the Flex 2.0 > framework. You will be specifically responsible for architecture > development and being the technical lead throughout the > implementation phase. You will work closely with staff in the > Production, Software Development, Project Management, and Quality > Assurance groups to architect and develop this high-visibility Flex > 2.0 web site. You will be responsible for the efficient and faithful > translation of static visual designs and functional requirement into > dynamic systems that work in accord with technical requirements. An > eye for visual fidelity and design detail is critical for success in > this role but this is a technical position, not a visual design > position. > Responsibilities Include: > Development of expandable, efficient Flash/Flex 2.0 applications and > interfaces from technical specifications and pre-existing static > visual designs. > Development of object-oriented Flex 2.0 architectures that are well- > organized and modular including the use of externalized ActionScript > classes and interfaces where appropriate. > Development of client-server Flash applications including the > integration of multiple external data sources. > Review of third party visual and GUI designs for technical > feasibility of implementation in Flash > Communication with Project Management and Quality Assurance staff to > prioritize project requirements > Staying up-to-date on new Flash- and web interface-related > technologies, and changes in technologies that affect web-based > application development. > Skills and Experience: > Minimum qualifications: 5-years relevant technical experience. > Architecture and development experience with Flex 1.5 > Advanced ActionScript 1.0 & 2.0 skills. > Solid experience with full object-oriented ActionScript development > (object creation, inheritance, interfaces, developing externalized > classes, etc.). > Ability to create impeccable code under tight deadlines. > Experience with client/server Flash development. > Solid understanding of XML integration with Flash and other web-based > scripting languages. > Strong ability to reverse engineer and refactor third-party Flash > applications. > Understanding of DHTML and JavaScript development. > Understanding of CSS. > Cross browser, cross platform development experience. > Experience working on large-scale complex multi-tiered web > applications. > Experience working as part of a development team that includes > multiple disciplines. > Experience working with revision control systems. > Experience with tools such as grep and knowledge of regular > expressions. > A professional approach to team communication. > Nice to have skills: > Experience writing technical documentation. > Computer Science or similar degree. > Hands-on UNIX experience and comfort using command line interface. > Advanced DHTML, JavaScript, and AJAX development experience > > > Location: Hyderabad. > Pay rate: Market Price. >
[flexcoders] Re: Ely's example of ItemRenderer cause tooltip to be always orange
Hi Ely, thank you very much for your reply. so if i understand correctly, if i take your perColumnColor example and i want the dataTip to have the correct color of the column, i need to extend the series class and override the findDataTip function, and return the hitdata object with the right color? thanks, vigen --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > Hi Vigen. The color used by the datatip is defined by the series, in > the hitData structure returned from the findDataPoints() method. This > method is called by the chart to decide what datatips to show and how to > show it. If you want to change the hilight color, you'll need to > override the findDataPoints() method of your series. > > (Or create a new custom datatip). > > Ely. > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vigen2000 > Sent: Thursday, January 04, 2007 1:40 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Ely's example of ItemRenderer cause tooltip to be > always orange > > > > Hi, > > im trying to make something similar to Ely's example of the > itemRenderer of chart series, like the PerColumnFill (PerColumnColor) > class. the problem is that if u add tooltip to the chart (showDataTip > = true) they are always in orange. any ideas on how to solve this? > > help... > Vigen >
[flexcoders] Ely's example of ItemRenderer cause tooltip to be always orange
Hi, im trying to make something similar to Ely's example of the itemRenderer of chart series, like the PerColumnFill (PerColumnColor) class. the problem is that if u add tooltip to the chart (showDataTip = true) they are always in orange. any ideas on how to solve this? help... Vigen
[flexcoders] Re: How to chage BarChart to Stacked BarChart dynamically?
hi Ely, i sent a sample code to your mail. thanks for your help. --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > Huh. Yeah, vigen, if you could send a sample...a nice small one that > doesn't require a server or lots of files ;) ... that would be great. > Thanks. > > Ely. > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vigen2000 > Sent: Monday, December 25, 2006 12:49 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: How to chage BarChart to Stacked BarChart > dynamically? > > > > thanks Ely for your response. i consider you as the higher authority > of the flex charts! > > well after a lot of investigations i found out that the problem was > the dataprovider. i used XmlList or XML as the dp. when changing it > to ArrayCollection all problems were solved. i think its a bug but i > let you check it. if u need a code example let me know. > > thanks! > > vigen > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "Ely Greenfield" wrote: > > > > > > > > > > That's not a bug, but as designed. All series types filter their > values > > out against the min/max ranges of the axes before rendering. If you'd > > like to disable this behavior...i.e., you are explicitly setting the > > min/max values and you don't know if the items will end up inside or > > outside the range, you can set the 'filterData' property on the series > > to false. > > > > Ely. > > > > > > > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of vigen2000 > > Sent: Saturday, December 09, 2006 11:32 PM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Re: How to chage BarChart to Stacked BarChart > > dynamically? > > > > > > > > let me refine the issue. it seems there is a bug with stacked chart > > that when the sum of the series is bigger than the max value, it > > doesnt show the series. so there are bars with 3 series and bars with > > 2 and even 1. > > > > what is going on? > > > > anyone? > > > > --- In flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > , "vigen2000" wrote: > > > > > > Hi, > > > > > > im creating a bar chart dynamically in AS and i need an easy way to > > > transform it to stacked chart. i tried the obvious thing > > > myChart.type = "stacked" but it doesn't work. also i tried with > BarSet > > > and it still doesn't work. > > > > > > any ideas? > > > > > > thanks in advance! > > > > > >
[flexcoders] Re: Help needed! change PopUpButton/ComboBox arrow position
how do i change the look of the popupbutton? can i change the position of the arrow button? anyone have any suggestions? thanks, Vigen --- In flexcoders@yahoogroups.com, "vigen2000" <[EMAIL PROTECTED]> wrote: > > Hi there! > > I'm trying to create a PopUpButton like the one in the new windows > media player 11. there is a small arrow on the bottom of the button > that opens a list/menu. a click on the main button area causes another > action. it seems to have the exact same behavior as the popupbutton > except for the arrow button placement and height. i tried to extend > the popupbutton but with no success. > > any ideas? suggestions? > > help... > > vigen >
[flexcoders] Re: Bug in List Scrollbar with popupbutton
if anyone know how to solve this, and change the look of the button please tell me how. maybe overriding the updateDisplayList function? --- In flexcoders@yahoogroups.com, "vigen2000" <[EMAIL PROTECTED]> wrote: > > it seems that there is a bug with the List scroll bar when using > itemrenderer or label function. the calculation of the width is > without the scroll bar causing the text to be cut. if turning the > scrollpolicy to on, the scrollbar does not show up immediately when > the list is populated but only after closing it. > > did anyone saw this behavior? > > vigen >
[flexcoders] Bug in List Scrollbar with popupbutton
it seems that there is a bug with the List scroll bar when using itemrenderer or label function. the calculation of the width is without the scroll bar causing the text to be cut. if turning the scrollpolicy to on, the scrollbar does not show up immediately when the list is populated but only after closing it. did anyone saw this behavior? vigen
[flexcoders] Help needed! change PopUpButton/ComboBox arrow position
Hi there! I'm trying to create a PopUpButton like the one in the new windows media player 11. there is a small arrow on the bottom of the button that opens a list/menu. a click on the main button area causes another action. it seems to have the exact same behavior as the popupbutton except for the arrow button placement and height. i tried to extend the popupbutton but with no success. any ideas? suggestions? help... vigen
[flexcoders] Re: How to chage BarChart to Stacked BarChart dynamically?
thanks Ely for your response. i consider you as the higher authority of the flex charts! well after a lot of investigations i found out that the problem was the dataprovider. i used XmlList or XML as the dp. when changing it to ArrayCollection all problems were solved. i think its a bug but i let you check it. if u need a code example let me know. thanks! vigen --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > > That's not a bug, but as designed. All series types filter their values > out against the min/max ranges of the axes before rendering. If you'd > like to disable this behavior...i.e., you are explicitly setting the > min/max values and you don't know if the items will end up inside or > outside the range, you can set the 'filterData' property on the series > to false. > > Ely. > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vigen2000 > Sent: Saturday, December 09, 2006 11:32 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: How to chage BarChart to Stacked BarChart > dynamically? > > > > let me refine the issue. it seems there is a bug with stacked chart > that when the sum of the series is bigger than the max value, it > doesnt show the series. so there are bars with 3 series and bars with > 2 and even 1. > > what is going on? > > anyone? > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "vigen2000" wrote: > > > > Hi, > > > > im creating a bar chart dynamically in AS and i need an easy way to > > transform it to stacked chart. i tried the obvious thing > > myChart.type = "stacked" but it doesn't work. also i tried with BarSet > > and it still doesn't work. > > > > any ideas? > > > > thanks in advance! > > >
[flexcoders] Re: TileList itemRenderer not changing when dataProvider change (cairngorm)
thanks! it seems that you need to cast the data object to the real object type. Product(data).name and it works with the warning gone. --- In flexcoders@yahoogroups.com, "vigen2000" <[EMAIL PROTECTED]> wrote: > > Hi people, > > i hope u can help me on this one... > > i have a ModelLocator that holds an object with ArrayCollection. > i also have a TileList that gets the ArrayCollection of that object > through DataBinding. Now, when i change the Object in the ModelLocator > none of the custom itemRenderer in the TileList do not change. they > still show the old data. > > any idea? > > some code: > > ---StoreVO.as > [Bindable] > public class StoreVO implements IValueObject{ > [ArrayElementType("Product")] > public var products:ArrayCollection = new ArrayCollection(); > } > --ModelLocator.as--- > [Bindable] > public class ModelLocator implements ModelLocator{ > public var store:StoreVO; > } > --Main.mxml- > > dataProvider="{ModelLocator.getInstance().store.products}" > itemRenderer="ProductView" > /> > -ProductView.mxml > ... > //i get warning - Data binding will > not be able to detect assignments to "data" >
[flexcoders] How to chage BarChart to Stacked BarChart dynamically?
Hi, im creating a bar chart dynamically in AS and i need an easy way to transform it to stacked chart. i tried the obvious thing myChart.type = "stacked" but it doesn't work. also i tried with BarSet and it still doesn't work. any ideas? thanks in advance!
[flexcoders] TileList itemRenderer not changing when dataProvider change (cairngorm)
Hi people, i hope u can help me on this one... i have a ModelLocator that holds an object with ArrayCollection. i also have a TileList that gets the ArrayCollection of that object through DataBinding. Now, when i change the Object in the ModelLocator none of the custom itemRenderer in the TileList do not change. they still show the old data. any idea? some code: ---StoreVO.as [Bindable] public class StoreVO implements IValueObject{ [ArrayElementType("Product")] public var products:ArrayCollection = new ArrayCollection(); } --ModelLocator.as--- [Bindable] public class ModelLocator implements ModelLocator{ public var store:StoreVO; } --Main.mxml- -ProductView.mxml ... //i get warning - Data binding will not be able to detect assignments to "data"