Re: [flexcoders] Whats Next in Flex ?
4.5 release date is in 2011. On 8/1/10 1:35 AM, "dorkiedorkfromdorkt...@gmail.com" wrote: it sounds like with sdk 4.5 they can't release any new builds because it's based on features in flash player 11 or whatever is the next version of fp. once that's released you'll see builds out that you can develop with. from what i've read 4.5 is planned to be released second half of this year. Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wrote: Ok, I've read all about Hero, when is it going to be available for development? On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote: http://iamdeepa.com/blog/?p=62 On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain wrote: Whats more exciting in Flex ? for future -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Flexgateway sandbox violation
You might want to try an explicit call to load the policy file at http://www.rodomain.com/crossdomain.xml before an RO calls are made. On 7/31/10 10:13 AM, "fusionpage" wrote: I have a flex app that is shared by many virtual sites www.domain1.com/myapp, www.domain2.com/myapp, www.domain3.com/myapp, etc. All the domains have virtual directories pointing to/ myapp.myapp.swf calls remoteObject using the same ro endpoint http://www.rodomain.com/flex2gateway/ . I want all of these virtual sites to share the same myapp but be able to call the same ro endpoint to ColdFusion. Of course, I'm getting sandbox violation that domainX.com cannot load data from http://www.rodomain.com/flex2gateway/ . How do I allow all of the virtual domains to make the data calls to the same ro endpoint url? I do have a crossdomain.xml file in the root of the server, but that does not resolve the problem. I assume I need something in my Flex code to make it work, but the many postings I find on the internet related to crossdomain are outdated. My environment is Flash 10.1, Flex 4.1, ColdFusion 9, Windows 2003 Server/IIS. Thanks! Don -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Re: Strange problem with Item Renderer in Flash Play 10
--- In flexcoders@yahoogroups.com, "Paul" wrote: > > Hi Amy! Thank you very much for your reply. I recognize your name from > InsideRia. > > I tried your suggestions, but the renderers are still blank. I tried making a > very simple item renderer based on the Text component which just sets the > Text.htmlText value to data.dataField. It is still blank even though I set a > trace statement right after setting the value, and the values appear in the > log. Are you tracing getExplicitOrMeasuredHeight() and getExplicitOrMeasuredWidth? I wouldn't think looking at the text itself would be that useful. Instead of using a renderer that is "based on" Text, have you considered just _using_ Text and then using labelField to tell it what property to use? I have no idea if the engineers are feeding the labelField text into the Text's text or htmlText property in their implementation of IDropInListItemRenderer, but it's worth a shot. HTH; Amy
[flexcoders] Re: "Bookmark no longer valid" when moving items in AdvancedDataGrid
Don't move the visual representation of the dat. Instead, move the data, and let the ADG move the visual representation. HTH; Amy --- In flexcoders@yahoogroups.com, "Matthew" wrote: > > I am trying to implement code to move items up and down in an > AdvancedDataGrid. When I repeat the "move up" or "move down" action > multiple times in a row I get the error below. I don't get it every > time but it will come here and there...pretty frequently. Sometimes I > can click 2, 3, even 4 times without getting an error then I click again > and there it is. > See below for the 3 functions which implement the "move up" feature. > I have tried commenting out the last line in the changeNodeHierarchy > function which re-selects the moved item. This does seem to resolve the > error but I can't be sure because the occurrence of the error is not > consistent. > Can someone tell me what I am doing wrong? > Code > public function changeNodeHierarchy(dataGrid:AdvancedDataGrid):void{ > var oldSelection:Array = dataGrid.selectedItems.slice(); > var selection:Array = DataGridUtil.getSortedSelectedItems(dataGrid); > for each (var node:Object in selection){ > moveUpNode(dataGrid, node);} > dataGrid.selectedItems = oldSelection;} > public static function moveUpNode(dataGrid:AdvancedDataGrid, > node:Object):void{var view:IHierarchicalCollectionView = > dataGrid.hierarchicalCollectionView;var children:IList = > DataGridUtil.getChildren(dataGrid, view.getParentItem(node));var > indexInParent:int = children.getItemIndex(node);if (indexInParent != > 0)moveNode(dataGrid, node, view.getParentItem(node), > indexInParent - 1);} > private static function moveNode(dataGrid:AdvancedDataGrid, node:Object, > newParent:Object, index:int):void{var > view:IHierarchicalCollectionView = dataGrid.hierarchicalCollectionView; > if (view.sort == null){var parent:Object = > view.getParentItem(node);view.removeChild(parent, node); > view.addChildAt(newParent, node, index);}} > ErrorError: Bookmark no longer valid. at > ListCollectionViewCursor/seek()[E:\dev\4.x\frameworks\projects\framework\ > \src\mx\collections\ListCollectionView.as:2410] at > mx.collections::HierarchicalCollectionViewCursor/get > current()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\collec\ > tions\HierarchicalCollectionViewCursor.as:220] at > mx.collections::HierarchicalCollectionViewCursor/collectionChangeHandler\ > ()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\collections\H\ > ierarchicalCollectionViewCursor.as:1143] at > flash.events::EventDispatcher/dispatchEventFunction() at > flash.events::EventDispatcher/dispatchEvent() at > mx.collections::HierarchicalCollectionView/nestedCollectionChangeHandler\ > ()[E:\dev\4.x\frameworks\projects\datavisualization\src\mx\collections\H\ > ierarchicalCollectionView.as:1589] at > flash.events::EventDispatcher/dispatchEventFunction() at > flash.events::EventDispatcher/dispatchEvent() at > mx.collections::ListCollectionView/dispatchEvent()[E:\dev\4.x\frameworks\ > \projects\framework\src\mx\collections\ListCollectionView.as:1024] at > mx.collections::ListCollectionView/removeItemsFromView()[E:\dev\4.x\fram\ > eworks\projects\framework\src\mx\collections\ListCollectionView.as:1681] > at > mx.collections::ListCollectionView/listChangeHandler()[E:\dev\4.x\framew\ > orks\projects\framework\src\mx\collections\ListCollectionView.as:1292] > at flash.events::EventDispatcher/dispatchEventFunction() at > flash.events::EventDispatcher/dispatchEvent() at > mx.collections::XMLListAdapter/removeItemAt()[E:\dev\4.x\frameworks\proj\ > ects\framework\src\mx\collections\XMLListAdapter.as:431] at > mx.collections::ListCollectionView/removeItemAt()[E:\dev\4.x\frameworks\\ > projects\framework\src\mx\collections\ListCollectionView.as:762] at > ListCollectionViewCursor/remove()[E:\dev\4.x\frameworks\projects\framewo\ > rk\src\mx\collections\ListCollectionView.as:2330] at > mx.collections::HierarchicalCollectionView/removeChild()[E:\dev\4.x\fram\ > eworks\projects\datavisualization\src\mx\collections\HierarchicalCollect\ > ionView.as:731] >
Re:[flexcoders] Re: dynamically create xml issue
Thanks Alex. It worked ! At 2010-07-31 23:52:00,Alex wrote: Use this, for example (motice the curly braces): function createList(nodeName:String, city:String):void{ ... ... list += < {nodeName} > {city} ; } Cheers, Alex --- In flexcoders@yahoogroups.com, j2me_soul wrote: > > I want to create a XMLList using e4x grammar like this: > var list:XMLList = > > LA. > SF. > ... > ; > > function createList(nodeName:String, city:String):void{ > ... > ... > list += < nodeName > city ; > } > > but the list finally is look like this: > city > city > ... > > How can I create xmlList node and xmllist node content dynamically ? >
[flexcoders] OT: Help For my Pepsi Refresh Everthing Grant Please
I submitted a Pepsi Refresh Everything Grant request to create a Flash/Flex/AIR Virtual world for sick kids in Children's Hospitals, their siblings, parents, and hospitals. Its up for vote now at http://www.refresheverything.com/mywindowproject. Please vote everyday. You can also add an additional vote from your cell phone: Text '101478' to Pepsi (73774). Thanks!
Re: [flexcoders] Whats Next in Flex ?
it sounds like with sdk 4.5 they can't release any new builds because it's based on features in flash player 11 or whatever is the next version of fp. once that's released you'll see builds out that you can develop with. from what i've read 4.5 is planned to be released second half of this year. Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wrote: > > > Ok, I've read all about Hero, when is it going to be available for > development? > > > On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote: > > > > http://iamdeepa.com/blog/?p=62 > > On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain > wrote: > >> >> Whats more exciting in Flex ? for future >> >> > > >
Re: [flexcoders] change datagrid rowHeight on rollover
Turned out to be trickier than I thought. Here’s what I had to do. http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*" minWidth="1024" minHeight="768" creationComplete="onCreationComplete();"> On 7/30/10 1:27 PM, "joe.g.ja...@kp.org" wrote: Correct. I can accomplish that with the following override protected function updateDisplayList(w:Number,h:Number):void { var dg:DataGrid = DataGrid(listData.owner); if (dg.isItemHighlighted(data) || dg.isItemSelected(data) ) { super.height=40; } else{ super.height=25; }} but I loose the rollover color on the datagrid. Alex Harui Sent by: flexcoders@yahoogroups.com 07/30/2010 12:56 PM Please respond to flexcoders@yahoogroups.com To "flexcoders@yahoogroups.com" cc Subject Re: [flexcoders] change datagrid rowHeight on rollover Normally you only want to change one row’s height so you do that with an itemRenderer. On 7/30/10 10:22 AM, "joegjames" > wrote: Is it possible to change the rowHeight on rollover? Does it have to be done from with in an itemRenderer? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui