Re: [flexcoders] Rotating Image with Matrix Transform
I am guessing here, but possibly rotations go from 0-180 or 0--180 So maybe you need to do something like rotate up to 180 for example and then switch to -179 and rotate back to 0 for a full circle... If you try it , let as know... On Sat, Feb 7, 2009 at 2:37 AM, Corey Smaller corey_smal...@comcast.netwrote: hi, Im working on rotating an image simulating the Free Transform tool in Flash. I got it to rotate to 180 but then the image will not rotate further. so basically it gets upside down and then fights me and doesnt move. I have the source viewable on the example. the method is in the WidgetEditor.as class -- rotate image and calls the Rotate.as class to rotate it. http://www.coreysmaller.com/test/ExchangeASClasses.html any help would be muy appreciated! thanks Corey -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@gmail.com,
[flexcoders] is there different using blazeds in flex and air?
hi all, in air(flex for air), i excepted to send message by blazeds , i failed no error alert the same environment and code using flex to send message succesed is there any different from air and flex in message service?? thanks for ur answers foodyi
Re: [flexcoders] is there different using blazeds in flex and air?
Hi , In air you have to specify ChannelSet for RemoteObject, eg: var cs:ChannelSet = new ChannelSet(); var myChannel:Channel = new AMFChannel(my-amf, http://yourdomain/messagebroker/amf;); cs.addChannel(myChannel); //assign channel set to remoteobject remoteObj.channelSet = cs; hope this will help you. Regards, *Pravin Uttarwar* 2009/2/7 Fu Di foo...@rocketmail.com hi all, in air(flex for air), i excepted to send message by blazeds , i failed no error alert the same environment and code using flex to send message succesed is there any different from air and flex in message service?? thanks for ur answers foodyi
[flexcoders] opposite of parentDocument
hi this is a funny question but am gonna ask it anyway. when i want to access anything from a child doc that is in a parent doc in flex i use parentDocument, what do i use when i want to say access and array in a child doc from a parent doc of that child. in essence i would like to know the opposite of parentDocument. thanks
Re: [flexcoders] opposite of parentDocument
On Sat, Feb 7, 2009 at 7:26 PM, johndoematrix johndoemat...@yahoo.com wrote: hi this is a funny question but am gonna ask it anyway. when i want to access anything from a child doc that is in a parent doc in flex i use parentDocument, what do i use when i want to say access and array in a child doc from a parent doc of that child. in essence i would like to know the opposite of parentDocument. thanks You can access the child directly using its ID (MXML) or whatever reference you have to the child. ParentDoc ChildDoc id=childDoc / /ParentDoc Then you can say childDoc.someArray to access the internal array. You can also get a reference to the child using the getChildAt method. this.getChildAt(0).someArray Manish
[flexcoders] Re: How to increase datagrid Last Column WIDTH
Thanks Jeffry for your reply. Well,we can chagne width of datagrid on column strech even.I am iterating all coloumn and assigning sum of these colums's width to datagrid. This works fine in case of all column except the last one.It does not allow me to increase width of last column.However I can decrease it. While debugging I found that In case of last column Strech,MouseUp Event does not get triggred because Mouse Moves out of grid area for strechng last column. I could not figure out how to make this event triggred. I am attaching code here,Please have a look if anoyne of you get time. MMXL Code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:ns2=* horizontalScrollPolicy=auto mx:Script ![CDATA[ import events.MusicEvent; import mx.events.ListEvent; import mx.events.ScrollEvent; import mx.controls.Alert; import mx.controls.listClasses.IListItemRenderer; function StrechTheColumn(eve:Event):void{ dg.width = songs.width + lyric.width + singer.width + 3 ; } ]] /mx:Script ns2:DataGridCustom id=dg height=50% horizontalScrollPolicy=auto columnStretch=StrechTheColumn(event) y=10 ns2:dataProvider mx:Array mx:Object song=Sound of Silence singer = NA lyric=In restless dreams I walked alone / mx:Object song=Sound of Silence singer = NA lyric=Narrow streets of cobblestone / mx:Object song=Sound of Silence singer = NA lyric=neath the halo of a street lamp/ mx:Object song=Sound of Silence singer = NA lyric=I turned my collar to the cold and damp / /mx:Array /ns2:dataProvider ns2:columns mx:DataGridColumn id=songs dataField=song width=400 / mx:DataGridColumn id=lyric dataField=lyric width=100/ mx:DataGridColumn id=singer dataField=singer width=100/ /ns2:columns /ns2:DataGridCustom /mx:Application DataGrid Class: package { import mx.controls.DataGrid; import mx.controls.dataGridClasses.DataGridHeader; public class DataGridCustom extends DataGrid { public function DataGridCustom() { super(); } override protected function drawSeparators():void { DataGridHeader(header).needRightSeparatorEvents = true; DataGridHeader(header).needRightSeparator = true; super.drawSeparators(); } } } Regards, Dharmendra Chouhan --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: Columns are only resizable within DataGrid, and clicking / dragging columns does not change the width of the DataGrid. If I understand correctly you want to be able to expand the DataGrid by clicking and dragging the last column; is that correct? Off the top of my head, I don't know of any default way to do that. Dharmendra Chauhan wrote: HI All, I am struggling with last column of flex2 dataGrid. I have set HS policy to auto, all column are resizable except last. I can decrease its width but It does not allow me increase it. Does anybody know how STRECH last column widht to increase at at right of the DG Thanks, Dharmendra -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f- b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.comYahoo! Groups Links -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust
[flexcoders] Shared Object
Hi, i've a little proble with shared object...can you help me? i've a value object: public class WindowInfo { private var _id:String; private var _module:String public function WindowInfo(id:String, module:String) { this._id = id; this._module = module; } public function get id():String { return _id; } public function get module():String { return _module; } } } then i have a function that created for each window in the main app a new windowinfo instance and save it into an array collection. public function savedWidowsConfiguration():ArrayCollection { var ac:ArrayCollection = new ArrayCollection(); var keys:Array = modules.getKeys(); for(var i:uint = 0; i keys.length; i++){ var w:CustomWindow = hashMap.getValue(keys[i]); var wi:WindowInfo = new WindowInfo(keys[i], w.module); ac.addItem(wi); } return ac; } the array is passed to the shared object manager with add function: public class SharedObjectManager { private var mySO:SharedObject; public function SharedObjectManager(s:String) { init(s); } private function init(type:String):void { mySO = SharedObject.getLocal(type); if (getModules()) { getModules(); } } public function getModules():ArrayCollection { return mySO.data.windowinfo; } public function add(array:ArrayCollection):void { mySO.data.windowinfo = new ArrayCollection(); mySO.data.windowinfo = array; mySO.flush(); } } finally i retrieve the results at creation complete event from the main applcation: public function init():void { sharedObjectManager = new SharedObjectManager(MODULES); if (sharedObjectManager.getModules()) { mdiCanvas.reloadExistingModules(sharedObjectManager.getModules()); } } but when i retrieve the results windowinfo array is an arraycollection where windowinfo objects are empty...it's very srange because mySO.data.windowinfo = array has data... why? thanks in advance regards Lorenzo
[flexcoders] Flex + RSS samples
HI all, I am developing a small website, where i want to post all the news on a page. I am thinking of using RSS with flex. Can anyone please send some sample program files. Thanks for your help.
[flexcoders] I'm missing something
Newbie alert! So, I have my datagrid that I found somewhere on the internet (I can't remember whereI put this project on hold for a couple of months). The default data that populates it is with U.S. states. I'd now like to populate that with data from my server. I've managed to put the HTTPService in and the functions that grab the data. Now, I'm stuck. I feel like I've just been experimenting and getting nowhere. How do I get rid of the states and put in my data? Thanks in advance! ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=initApp() viewSourceURL=srcview/index.html mx:Script ![CDATA[ private function init():void{ stuff.send(); } private function httpFaultHandler(event:FaultEvent):void{ Alert.show(We are conducting maintenance on our servers. Please check back later.,Error); } import mx.rpc.events.FaultEvent; private function httpResultHandler(event:ResultEvent):void{ thisisit = event.result.entry.rooms; } import mx.rpc.events.ResultEvent; [Bindable] private var thisisit; import com.boyzoid.PagableArrayCollection.PagableArrayCollection import mx.controls.Alert; [Bindable] public var myTest:PagableArrayCollection = new PagableArrayCollection( [{label:AK, dataa:Alaska}, {label:AL, dataa:Alabama}, {label:AR, dataa:Arkansas}, {label:AZ, dataa:Arizona}, {label:CA, dataa:California}, ]); public function initApp():void{ myTest.filterFunction = filterStates; } public function ItemsPerPage(value:Number):void{ myTest.itemsPerPage = value as Number; } private function filterStates(item:Object):Boolean{ if(item.dataa.toLowerCase().search(search.text.toLowerCase()) == -1){ return false } return true } ]] /mx:Script mx:HTTPService id=stuff url=http://localhost/test.php; fault=httpFaultHandler(event) result=httpResultHandler(event)/ mx:VBox y=10 width=50% horizontalCenter=0 horizontalAlign=center mx:HBox width=100% horizontalAlign=center mx:Button label=lt;lt; click=myTest.pageDown()/ mx:Button label= click=myTest.pageUp()/ /mx:HBox mx:Text x=532 y=28 text=Page {myTest.currentPage} of {myTest.pages}/ mx:HBox width=100% horizontalAlign=center mx:TextInput text=20 id=items textAlign=center change=ItemsPerPage(int(items.text)) restrict=0-9 width=40 / mx:Text text=items per page/ /mx:HBox mx:HBox mx:FormItem label=Search State Name mx:TextInput id=search change={myTest.refresh()} / /mx:FormItem /mx:HBox /mx:VBox mx:DataGrid dataProvider={myTest} width=200 horizontalCenter=0 bottom=15 top=100/ /mx:Application
[flexcoders] I'm missing something
Newbie alert! So, I have my datagrid that I found somewhere on the internet (I can't remember whereI put this project on hold for a couple of months). The default data that populates it is with U.S. states. I'd now like to populate that with data from my server. I've managed to put the HTTPService in and the functions that grab the data. Now, I'm stuck. I feel like I've just been experimenting and getting nowhere. How do I get rid of the states and put in my data? Thanks in advance! ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=initApp() viewSourceURL=srcview/index.html mx:Script ![CDATA[ private function init():void{ stuff.send(); } private function httpFaultHandler(event:FaultEvent):void{ Alert.show(We are conducting maintenance on our servers. Please check back later.,Error); } import mx.rpc.events.FaultEvent; private function httpResultHandler(event:ResultEvent):void{ thisisit = event.result.entry.rooms; } import mx.rpc.events.ResultEvent; [Bindable] private var thisisit; import com.boyzoid.PagableArrayCollection.PagableArrayCollection import mx.controls.Alert; [Bindable] public var myTest:PagableArrayCollection = new PagableArrayCollection( [{label:AK, dataa:Alaska}, {label:AL, dataa:Alabama}, {label:AR, dataa:Arkansas}, {label:AZ, dataa:Arizona}, {label:CA, dataa:California}, ]); public function initApp():void{ myTest.filterFunction = filterStates; } public function ItemsPerPage(value:Number):void{ myTest.itemsPerPage = value as Number; } private function filterStates(item:Object):Boolean{ if(item.dataa.toLowerCase().search(search.text.toLowerCase()) == -1){ return false } return true } ]] /mx:Script mx:HTTPService id=stuff url=http://localhost/test.php; fault=httpFaultHandler(event) result=httpResultHandler(event)/ mx:VBox y=10 width=50% horizontalCenter=0 horizontalAlign=center mx:HBox width=100% horizontalAlign=center mx:Button label=lt;lt; click=myTest.pageDown()/ mx:Button label= click=myTest.pageUp()/ /mx:HBox mx:Text x=532 y=28 text=Page {myTest.currentPage} of {myTest.pages}/ mx:HBox width=100% horizontalAlign=center mx:TextInput text=20 id=items textAlign=center change=ItemsPerPage(int(items.text)) restrict=0-9 width=40 / mx:Text text=items per page/ /mx:HBox mx:HBox mx:FormItem label=Search State Name mx:TextInput id=search change={myTest.refresh()} / /mx:FormItem /mx:HBox /mx:VBox mx:DataGrid dataProvider={myTest} width=200 horizontalCenter=0 bottom=15 top=100/ /mx:Application
[flexcoders] Re: Rotating Image with Matrix Transform
yeah that is what I was thinking too, and I started to write an if/then for the code to grab it if it gets up to 179/-179 and then switch it but it doesnt work. It seems kind of inefficient however, there has to be another way.. I know that when I use .rotation = (whatever) you can enter 540, for example, and it will rotate 1 1/2 times, so it is puzzling as heck. I will give it a go. I posted just the method that I call when the user tries to rotate. private function rotateImage():void { //get global center points of object rotati0on pt1 = new Point(0,0); pt1 = editingObj.localToGlobal(pt1); trace(pt1) pt1.x = pt1.x + (editingObj.width/2) pt1.y = pt1.y + (editingObj.height/2); // get angle of handle from center for radius bounds// var dx1:Number = mouseDownPos.x- pt1.x; var dy1:Number = mouseDownPos.y- pt1.y; var ang1:Number = (Math.atan2(dy1, dx1)*180)/Math.PI; // get angle of mouse from center // var dx2:Number = Application.application.mouseX- pt1.x; var dy2:Number = Application.application.mouseY- pt1.y; var ang2:Number = (Math.atan2(dy2, dx2)*180)/Math.PI; // rotate the _target and stroke the difference of the two angles .001 is velocity// var angle:Number = ((ang2-ang1)+ targetRotation )* .003 trace(angle); var m:Matrix = editingObj.transform.matrix; var boundM:Matrix = boundingBox.transform.matrix; var thisM:Matrix = this.transform.matrix; //send to rotator class Rotation.rotateAroundInternalPoint(m, editingObj.width / 2, editingObj.height / 2, angle); //Rotation.rotateAroundInternalPoint(thisM, this.width / 2, this.height / 2, angle); //Rotation.rotateAroundInternalPoint(boundM, boundingBox.width / 2, boundingBox.height / 2, angle); //reset transform matrix editingObj.transform.matrix = m; //boundingBox.transform.matrix = m; //this.transform.matrix = m; targetRotation = editingObj.rotation; trace(targetRotation); //setBoxesLocation(); renderBounding(); } --- In flexcoders@yahoogroups.com, Fotis Chatzinikos fotis.chatzini...@... wrote: I am guessing here, but possibly rotations go from 0-180 or 0--180 So maybe you need to do something like rotate up to 180 for example and then switch to -179 and rotate back to 0 for a full circle... If you try it , let as know... On Sat, Feb 7, 2009 at 2:37 AM, Corey Smaller corey_smal...@...wrote: hi, Im working on rotating an image simulating the Free Transform tool in Flash. I got it to rotate to 180 but then the image will not rotate further. so basically it gets upside down and then fights me and doesnt move. I have the source viewable on the example. the method is in the WidgetEditor.as class -- rotate image and calls the Rotate.as class to rotate it. http://www.coreysmaller.com/test/ExchangeASClasses.html any help would be muy appreciated! thanks Corey -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@...,
Re: [flexcoders] I'm missing something
You need to set the dataProvider on the DataGrid Somewhere in the resultHandler, do something like this: myTest = event.result.entry.rooms; Or you could give the DataGrid an id and do something like this: myDataGrid.dataProvider = event.result.entry.rooms; iloveyouwisconsin wrote: Newbie alert! So, I have my datagrid that I found somewhere on the internet (I can't remember whereI put this project on hold for a couple of months). The default data that populates it is with U.S. states. I'd now like to populate that with data from my server. I've managed to put the HTTPService in and the functions that grab the data. Now, I'm stuck. I feel like I've just been experimenting and getting nowhere. How do I get rid of the states and put in my data? Thanks in advance! ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=initApp() viewSourceURL=srcview/index.html mx:Script ![CDATA[ private function init():void{ stuff.send(); } private function httpFaultHandler(event:FaultEvent):void{ Alert.show(We are conducting maintenance on our servers. Please check back later.,Error); } import mx.rpc.events.FaultEvent; private function httpResultHandler(event:ResultEvent):void{ thisisit = event.result.entry.rooms; } import mx.rpc.events.ResultEvent; [Bindable] private var thisisit; import com.boyzoid.PagableArrayCollection.PagableArrayCollection import mx.controls.Alert; [Bindable] public var myTest:PagableArrayCollection = new PagableArrayCollection( [{label:AK, dataa:Alaska}, {label:AL, dataa:Alabama}, {label:AR, dataa:Arkansas}, {label:AZ, dataa:Arizona}, {label:CA, dataa:California}, ]); public function initApp():void{ myTest.filterFunction = filterStates; } public function ItemsPerPage(value:Number):void{ myTest.itemsPerPage = value as Number; } private function filterStates(item:Object):Boolean{ if(item.dataa.toLowerCase().search(search.text.toLowerCase()) == -1){ return false } return true } ]] /mx:Script mx:HTTPService id=stuff url=http://localhost/test.php; fault=httpFaultHandler(event) result=httpResultHandler(event)/ mx:VBox y=10 width=50% horizontalCenter=0 horizontalAlign=center mx:HBox width=100% horizontalAlign=center mx:Button label=lt;lt; click=myTest.pageDown()/ mx:Button label= click=myTest.pageUp()/ /mx:HBox mx:Text x=532 y=28 text=Page {myTest.currentPage} of {myTest.pages}/ mx:HBox width=100% horizontalAlign=center mx:TextInput text=20 id=items textAlign=center change=ItemsPerPage(int(items.text)) restrict=0-9 width=40 / mx:Text text=items per page/ /mx:HBox mx:HBox mx:FormItem label=Search State Name mx:TextInput id=search change={myTest.refresh()} / /mx:FormItem /mx:HBox /mx:VBox mx:DataGrid dataProvider={myTest} width=200 horizontalCenter=0 bottom=15 top=100/ /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust
[flexcoders] Re: I'm missing something
--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: You need to set the dataProvider on the DataGrid Somewhere in the resultHandler, do something like this: myTest = event.result.entry.rooms; Or you could give the DataGrid an id and do something like this: myDataGrid.dataProvider = event.result.entry.rooms; Well, I think normally that would do the trick. Since I'm using an .swc file (which does the pageable array), then don't I need to integrate it w/ that somehow?
[flexcoders] anchoring Image to right of Canvas with % value?
I am trying to duplicate the html css: img#door { position: absolute; height: 98%; width: 38%; top: 1%; right: 18%; } but very few of the Flex layout attributes accept a percentage. How do I anchor the image at 18% from the right side so that when the Canvas shrinks the image stays in its relative position? image.right takes an absolute pixel value in Flex. TIA, Mic.
[flexcoders] Making the impossible possible, something odd is happening
I have an if else block that is matching every combination, all at once. To verify what I was suspecting I hard coded values to make portions of the block impossible but they are still occuring, I'm assuming that the project is not being rebuilt but when I comment lines, the code is no longer executed, but the block is still executed. example x = true; y = false; if(x == true y == false) { doSomething(); } else if(x== false y == false) { if( x == true) { Alert.show(Should never happen.); } doSomethingElse(); } else { //do nothing } In my example I'm sure that I should never see the alert message, but I get it the message every time the code is executed. I ran the 'Clean' option in under the Build menu and the source recompiled, the problem remains.
[flexcoders] Tweening effect in Flex?
Hi. Is it possible to do tweening in Flex? For example, to have a component change size gradually based on a user's action? Thanks.
Re: [flexcoders] Tweening effect in Flex?
Yap you can do staff like that, search/read on effects, animate properties and so on On Sun, Feb 8, 2009 at 3:24 AM, oneworld95 oneworl...@yahoo.com wrote: Hi. Is it possible to do tweening in Flex? For example, to have a component change size gradually based on a user's action? Thanks. -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@gmail.com,
Re: [flexcoders] Making the impossible possible, something odd is happening
I haven't had a change to play with your code... but just in general... It's bad practice to compare a Boolean value to True or False. You should simply be doing: if( x y) instead of if (x == true y == true) Cheers, Nate On Sat, Feb 7, 2009 at 5:04 PM, Cordova Aaron basic...@yahoo.com wrote: I have an if else block that is matching every combination, all at once. To verify what I was suspecting I hard coded values to make portions of the block impossible but they are still occuring, I'm assuming that the project is not being rebuilt but when I comment lines, the code is no longer executed, but the block is still executed. example x = true; y = false; if(x == true y == false) { doSomething(); } else if(x== false y == false) { if( x == true) { Alert.show(Should never happen.); } doSomethingElse(); } else { //do nothing } In my example I'm sure that I should never see the alert message, but I get it the message every time the code is executed. I ran the 'Clean' option in under the Build menu and the source recompiled, the problem remains. -- Cheers, Nate http://blog.natebeck.net
RE: [flexcoders] Re: Look for a tool to test remoteobject(AMF) format functions?
But I have about 100 functions and some of them need pass different objects. WebOrb have test tool but only for weborb. I need a common tool. I am not aware of any existing tool but it is easy enough to write code that would drive any remoteobject and report or verify the results. The Cairngorm framework uses a ServiceLocator that builds a Dictionary data structure containing the services declared in an MXML file. That dictionary is then used to locate the services when a service call is made. I have dupplicated this structure to mock out the remote services. What comes back is an object that provided you have the remote class declarations correct on your value objects has the type of the object and the data identified by the propoerty names. The Flex coding structures allow you to determine what object you have received and the names and values of the properties. I am looking at writing a tool for our project but it has low priority at the moment. - Errol Thompson Kiwi-ET Computing Education Research Lower Hutt, New Zealand Phone: +64 21 210 1662 E-Mail: kiwiet (at) acm.org kiwiet (at) computer.org Web: www.teach.thompsonz.net -
Re: [flexcoders] Re: I'm missing something
Not that I'm aware of. the DataGrid's dataProvider should work fine whether it is in a swc or the main project. iloveyouwisconsin wrote: --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: You need to set the dataProvider on the DataGrid Somewhere in the resultHandler, do something like this: myTest = event.result.entry.rooms; Or you could give the DataGrid an id and do something like this: myDataGrid.dataProvider = event.result.entry.rooms; Well, I think normally that would do the trick. Since I'm using an .swc file (which does the pageable array), then don't I need to integrate it w/ that somehow? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust
[flexcoders] Re: I'm missing something
Maybe I'm just misstating my question or maybe I'm just not understanding. I'm just trying to make it so that the following PagableArrayCollection is populated dynamically (i.e. via an HTTPService): [Bindable] public var myTest:PagableArrayCollection = new PagableArrayCollection( [{label:AK, dataa:Alaska}, {label:AL, dataa:Alabama}, {label:AR, dataa:Arkansas}, {label:AZ, dataa:Arizona}, {label:CA, dataa:California}, ]);