[flexcoders] ANN: PyAMF 0.1b
PyAMF is a lightweight library that allows Flash and Python applications to communicate via Adobe's ActionScript Message Format. A summary of new features features and improvements in this release: - Implemented Local Shared Object (LSO) - ByteArray now implements DataInput and DataOutput instead of StringIOProxy - remoting.client mostly fully supports the predefined headers - Fixed argument positioning for RemoteObject processing - Remoting client now supports authentication - Proper encoding for aliased subclassed builtin types, specifically flex.ArrayCollection - Added support for easy encoding of Django object queries (Foo.objects.all()) - Added 'expose_request' argument to DjangoGateway to expose the underlying HTTP Request object as the first arg in the called services Check out the download page [1] and installation instructions [2]. Got questions? First stop is the mailing list [3], but we also hang out on [4]. Cheers, the PyAMF team [1] http://pyamf.org/wiki/Download [2] http://pyamf.org/wiki/Install [3] http://lists.pyamf.org/mailman/listinfo [4] irc://freenode.net/pyamf
[flexcoders] Dash symbol on xml tag
Hi, I have an xml file that has the following structure: styles style font-familyArial/font-family font-weightbold/font-weight /style /styles I would like to know how can I reference the font-family tag using E4X? Thanks, Rui
[flexcoders] DataGridItemRenderer wont render bold text
I have a custom grid renderer and it wont renderer bold text. I have even hard coded in getTextStyles to set the TextFormat.bold to true and still it wont render as bold just normal. However if I change the fontFamily or fontSize it does renderer correctly. Currently I am using Arial/12. Any thoughts on why/how to fix this tks
[flexcoders] Re: DataGridItemRenderer wont render bold text
Correction that should have been Arial/10 Is the problem that 10 bold is too smal to render in flex?? --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: I have a custom grid renderer and it wont renderer bold text. I have even hard coded in getTextStyles to set the TextFormat.bold to true and still it wont render as bold just normal. However if I change the fontFamily or fontSize it does renderer correctly. Currently I am using Arial/12. Any thoughts on why/how to fix this tks
[flexcoders] ANN: Parsley IOC Container and Cinnamon Remoting (Open Source)
Hello all, I'd like to announce Parsley and Cinnamon, two new OpenSource projects. Downloads and Documentation can be found at: http://www.spicefactory.org Parsley is an IOC Container (Inversion of Control) for Configuration and Dependency Injection. It also contains an integrated MVC Framework and a module for Localization. Parsley can be used with or without Flex and is written in AS3. Cinnamon is a remoting framework connecting AS3 Clients with Java EE Servers through AMF3. It has a lot of options for mapping AS3 classes to Java classes, has tight integration with Spring and works with or without Flex (does not built upon the RemoteObject API). All Spicefactory projects are licensed under the Apache License 2.0. You'll find a lot more information at the project website. Jens Halm Spicefactory
[flexcoders] Re: big problem
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: What happens when you run the debug version of your app on the debugger player for 9,0,115,0? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of adnane_1979 Sent: Sunday, January 13, 2008 4:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] big problem I developed a flex 2 application, and i's been on production for a while now. But last week some of my clients were complaining that the application doesn't work anymore, after i've checked with them ,i found out that the application doesn't work with the new version of flash player 9.0.1115.0 When i've tried to run the application with this version of flash player ,I've got a blank page. So i dont know what to do now,should i change some thing on the code of the application it self or what? Please, if some body knows about this issue, help me, because it's very urgent. Thanks in advance With flash player 9.0.115.0 debug, i've got the following error: VerifyError: Error #1107: ABC sont corrompues, tentative de lecture en dehors des limites. Sorry,it's in french.
[flexcoders] Remove spaces between 2 vboxs
Hi all I want to remove spaces between 2 vboxs
[flexcoders] setting effect to UI component
hi all, what would I do if I have to set a resize effect to my custom component... My component is in as file and is getting added to a mxml using addChild method. So I can not do something like this : MyComp resizeEffect=Resize/ Is there any way to achieve same thing in as components ? Any help is greatly appreciated. Regards PS
Re: [flexcoders] is this the Flex 3 release date ?
On Friday 11 Jan 2008, Matt Chotin wrote: Release date will hopefully be announced in a few weeks. Apologies for not being able to say more, unfortunately being a public company we actually have rules on what can and can’t be said in this regard. I was only teasing too :-) -- Tom Chiverton Helping to adaptively customize efficient design-patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Help in bytes reading with AS3
Hi there, I'm starting a new personnal project and I need to be able to read bytes from a file to extract infos. Beacause I'm not familiar with this type of manipulation. So any of you know some good helper classes and / or tuts it will be good :) Thanks to all -- Benoît Milgram / Flapflap http://www.kilooctet.net I'm also a music mashup / bootlegs producer : http://www.djgaston.net
RE: [flexcoders] mx:Text How to get text to rotate vertically?
You can get round the need to embed fonts if you use the Text.filters property. It creates a set of bitmaps for the text behind the scenes. You'll want to look at flash.filters package as well. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Frederico Garcia Sent: 13 January 2008 14:34 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mx:Text How to get text to rotate vertically? Dave escreveu: I am NOT using charts. I am using beta3 release 3. How can I get my text to draw vertically in a label or text control? I tried rotate property. When I use that my text doesn't show up at all. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __ NOD32 2781 (20080110) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com http://www.eset.com Hi, Have you embed your fonts? rotation only works with embedded fonts. Regards, Frederico Garcia
[flexcoders] How to connect SQL SERVER 2005 using FLEX?
Hi All, I want to know how to connect SQL SERVER 2005 using Flex, if anyone knows then let me know, i am planning to develop desktop application for dotnet. I can develop using C# but i want to develop using Flex cause the look and feel is very good in FLEX.. Thanks in advance Regards Girish
[flexcoders] Re: How to connect SQL SERVER 2005 using FLEX?
--- In flexcoders@yahoogroups.com, girish_ok [EMAIL PROTECTED] wrote: Hi All, I want to know how to connect SQL SERVER 2005 using Flex, if anyone knows then let me know, i am planning to develop desktop application for dotnet. I can develop using C# but i want to develop using Flex cause the look and feel is very good in FLEX.. Thanks in advance Regards Girish Hi Girish, As you are developing a desktop application, I would highly recommend you taking a look at Janus. (http://www.spaghettisort.com/janus/). There is a trial version to play with. I use this everyday for communicating with SQL Server 2005 and it works great with Flex! There's a whole bunch of other exciting stuff it can do with Flex too. best, Graham Nichols
[flexcoders] Re: ASDoc Problem
Tom, :( I am working on Windows. so can't find grep command. Is there any alternative for this command given by Tom. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 10 Jan 2008, cksachdev wrote: have swc file (I have the code itself). I want to exclude the generation of those source files. # /opt/flex/bin/asdoc -help list|grep exclude -exclude-classes [class] [...] -exclude-dependencies -- Tom Chiverton Helping to dramatically disintermediate magnetic CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Re: ASDoc Problem
On Monday 14 Jan 2008, cksachdev wrote: :( I am working on Windows. so can't find grep command. Is there any It's a GNU tool, so it's available from the CygWin people, afaik. -- Tom Chiverton Helping to advantageously synergize best-of-breed bandwidth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to update database with update datagrid value.?
Have a look at DataGrid.itemEditEnd hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markflex2007 wrote: Hi, Datagrid can be editable, I need update the back end database after Datagrid updated. Which event I can use and how to pass the new value to backend.I am using Coldfusion now. Thanks Mark
Re: [flexcoders] Make MenuBar open onRollOver instead of click?
Please help, so far this is what I've done: I want to make my MenuBar open up when I rollover an item without clicking any MenuBarItems. The following code works, until I've selected something or clicked somewhere else in the applicaiton. Afterwards, I have to click the MenuBarItems again to open a menu. -- Keith H -- /** Initializing the MenuBar's selectedIndex to menu.menuBarItems.length when setting the MenuBar's dataProvider. **/ private function initMenu():void menu.labelField=@label; menu.dataProvider=menudata; menu.showRoot=false; menu.selectedIndex=menu.menuBarItems.length; } keith wrote: How can I make the main MenuBarItems open onRollOver without having to click them first? -- Keith H --
[flexcoders] Re: annotation on bar chart needs a little help
I thought I'd try to bump this back up since I asked on a Sunday. Thanks --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I'm placing a small button at some of the bars in the barChart depending on the data using annotationElements. The x axis is set to 0 and y is set to each bar in the cart. Everything works just great, but in some cases the bar will span the entire length of the chart so the button falls on top of a bar. When this happens, if you click on the button you get a pop-up window from that button (good), and a pop- up from an itemClick from the bar (bad). Is there a way to make it so only the button event works and not the bar when clicking a button that falls on top of a bar? Thanks, Mark
[flexcoders] Re: How to pass data to itemRenderer for DataGrid ?
Check the listData which for a DataGrid is an instance of DataGridListData. --- In flexcoders@yahoogroups.com, piotrchruscielewski [EMAIL PROTECTED] wrote: I have some problem with itemRenderer for DataGrid. How can I pass some information to it - especialy how can the Renderer know which column it should render ? In most examples dataGrid is used to show simple grids where columns are like 'address', 'image' and renderer references it in 'static' way like - ' data.image' How about an example where we would like to have three columns 'image1', 'image2','image3' and render each one with the same renderer ? How can we rich the dataField property from itemRenderer component ? I`ve found a solution with using Factory and some bind params but i think that it`s overcomplicated. Regards.
[flexcoders] Re: Upload/Download Files using FTP/SSH2 with Air
This is from Ted Patricks blog: It's pretty old now but should give you a good start. http://maliboo.pl/projects/FlexFTP/ --- In flexcoders@yahoogroups.com, Jhonny Everson [EMAIL PROTECTED] wrote: Hi, Does anyone have anything on using Adobe Air to transfer files to a server that doesn't involve server side code solution? like FTP, SSH2... Thanks, -- Jhonny Everson
[flexcoders] FlexAuthority.com
There's a good chance that we can have a high quality Flex-only magazine, but we're missing one important ingredient: FlexAuthority.com. If anyone knows who owns this domain and how to contact them, and can give us that information, we'd really appreciate it. We've been trying for months to find out who owns it and how to get in touch with them, and have been getting nowhere. Thanks, -- Judith Dinowitz Editor Fusion Authority The House of Fusion Technical Magazine http://www.fusionauthority.com
[flexcoders] Set as default application on Mac
When I attempt to set an .as file as the default application on Flex 2.0.1 and Mac OS, 'set as default application' is greyed out. Does anyone know a way around this? thanks in anticipation spin
[flexcoders] How to pass data to itemRenderer for DataGrid ?
I have some problem with itemRenderer for DataGrid. How can I pass some information to it - especialy how can the Renderer know which column it should render ? In most examples dataGrid is used to show simple grids where columns are like 'address', 'image' and renderer references it in 'static' way like - ' data.image' How about an example where we would like to have three columns 'image1', 'image2','image3' and render each one with the same renderer ? How can we rich the dataField property from itemRenderer component ? I`ve found a solution with using Factory and some bind params but i think that it`s overcomplicated. Regards.
Re: [flexcoders] FlexAuthority.com
Have you been able to contact Moniker Online Services to pass a message on to the domain owner? A WHOIS lookup shows them as the Registration record entry. Jurgen On Jan 14, 2008, at 3:09 AM, Judith Dinowitz wrote: There's a good chance that we can have a high quality Flex-only magazine, but we're missing one important ingredient: FlexAuthority.com. If anyone knows who owns this domain and how to contact them, and can give us that information, we'd really appreciate it. We've been trying for months to find out who owns it and how to get in touch with them, and have been getting nowhere. Thanks, -- Judith Dinowitz Editor Fusion Authority The House of Fusion Technical Magazine http://www.fusionauthority.com
[flexcoders] Binding a function to a Button's label
Hi, Can you please help me on how to generate the following behavior from mxml to an AS class: mx:Button label={I18nManager.getInstance().getValue('button.new')}/ to var theNewButton:Button = new Button(); theNewButton.label = I18nManager.getInstance().getValue(button.new); //add here the binding instead of the upper code. I really don't know how this can be done with BindingUtils (if it can be done) Also I want to mention that the getValue function is binded to an event. [Bindable(event=i18nItemsGathered)] public function getValue(key:String):String { var theValue:String = i18nKeys[key]; return theValue != null? theValue: key; } I have user this for internationalization, the event is generated when the language is changed/set (all i18nKeys are gathered). Adding the button in an MXML works fine, but adding it in AS doesn't. I really appreciate any help. Thanks, Sebastian -- View this message in context: http://www.nabble.com/-flexcoders--Binding-a-function-to-a-Button%27s-label-tp14740471p14740471.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] How to use air to read Excel file?
Recently, i meet a problem, how to use air to read .xls file. Search in the google, there is little messages about it? Can anyone tell how to handle this, Thanks! dormouse
[flexcoders] How can I add a toolTip to the titleIcon?
How can I add a toolTip to the titleIcon?
[flexcoders] Re: Using an XML file as a dataProvider and accessing its data
That was very helpful, thank you! Two follow up questions. What are the similarities/differences advantages/disadvantages of using multiple Lists instead of DataGrid? For example, if the data of the second column depends on the selection in the first column, I found it easier to just make each column into a List and use the index of the selected Item in the list as an index into the XML file's elements and then populate the second List with the new Array. Secondly, an XML file is already essentially in a tree structure, but how can you use the file as a dataProvider for the Tree component in Flex? The method outlined in the previous question of sequentially populating Lists is basically just a makeshift Tree, but I'd like to find out how to actually use the XML file as a provider for the Tree. Thanks again to whoever can help answer these questions. -Ricky --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You can do both. Bottom line, the DataGrid requires a list of items. This can be an XMLList or Array, ONLY if you are certain you will not need to update the data items individually. Best practice is to use an XMLListCollection, which is a collection of XML nodes, or an ArrayCollection of item value objects. Each item in the collection produces a row. Given such a list of data items, each row of the DataGrid gets a reference to the data item producing it. You specify which property or attribute in the item goes in which column using the DataGridColumn object. If the value you want is in a top-level property of the item (an attribute or first level child node of an XML item, or a top-level property of the item object) you can specify the dataField. It the value you want is nested deeper in the item object, use labelFunction(). There are many examples available. Tracy
Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling
Thanks for the quick reply Am I missing something, I have stripped the previous dynamic column generation out of the source and just concentrated on the test xml file which is delivered by our ERP system. The purpose of this code is to test the performance of the datagrid Here is the new demo with the changes you suggested by using an ArrayCollection. Demo 2 http://www.smithkjaer.dk/flex/tst2/TestArrayCollection3.html Source 2 http://www.smithkjaer.dk/flex/tst2/srcview/index.html -- View this message in context: http://www.nabble.com/Dynamic-DataGrid-%2B-slow-horizontal-scrolling-tp14731055p14802381.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling
Gary - It looks to me like you are still rendering XML objects, you have just stuck them into an ArrayCollection instead of an XMLListCollection with this line of code. Lemme know if I am missing something there. dgQuery = event.result.queryresult.rows.row; // ArrayCollection is automatically returned My point in the prior post was that you need to create an AS type object for each row by parsing the XML data into basic types like String, int, Boolean, etc. If you do that you should get a performance boost because your renderers will not be reading e4x repeatedly. In my code that usually looks something like the following // assumes you have a RowData.as somewhere that knows how to populate its members from the incoming XML var tmpArray:Array = new Array(); for each(var rowXML:XML in event.result.queryresult.rows.row) { var rowObj:RowData = new RowData(rowXML); tmpArray.push(rowObj); } dgQuery.source = tmpArray; hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Gary Smith wrote: Thanks for the quick reply Am I missing something, I have stripped the previous dynamic column generation out of the source and just concentrated on the test xml file which is delivered by our ERP system. The purpose of this code is to test the performance of the datagrid Here is the new demo with the changes you suggested by using an ArrayCollection. Demo 2 http://www.smithkjaer.dk/flex/tst2/TestArrayCollection3.html http://www.smithkjaer.dk/flex/tst2/TestArrayCollection3.html Source 2 http://www.smithkjaer.dk/flex/tst2/srcview/index.html http://www.smithkjaer.dk/flex/tst2/srcview/index.html -- View this message in context: http://www.nabble.com/Dynamic-DataGrid-%2B-slow-horizontal-scrolling-tp14731055p14802381.html http://www.nabble.com/Dynamic-DataGrid-%2B-slow-horizontal-scrolling-tp14731055p14802381.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Controls and name uniqueness
I understand that all objects names in one application have to be unique. In my application I have a tabset where a user can add/remove tabs. These dynamic tabs have identical components on them: Forms, grids, and etc. The only difference is names - have to be unique. Is ther a way to create components that are somehow local to containers that they are in? That way I could use same generic code for each dynamic tab referencing controls using parents names. Otherwise I have to design all dynamic tabs in advance in order to create needed code. Any ideas? Thanks
[flexcoders] Question regarding the auto-highlight of all instances in code (Beta 3)
Flex Builder 3 (Beta 3) automatically highlights ALL instances of code. (ie: If you have a variable named foo, it will highlight all other instances) While I believe this to be a useful feature I find the color selection abominable because it is too close to the highlight color. Makes copy/pasting a bit more cumbersome. I'd like to change this color and was hoping someone new the answer. - Jason
[flexcoders] Re: Remove spaces between 2 vboxs
verticalGap=0 --- In flexcoders@yahoogroups.com, NileAge, Mail [EMAIL PROTECTED] wrote: Hi all I want to remove spaces between 2 vboxs
Re: [flexcoders] How to connect SQL SERVER 2005 using FLEX?
Officially you can't connect a Flex client directly to a database. You can use the socket classes to write your own SQL drivers though. If you Google, I believe that someone has started the work. That said, why not use C# on the server as middleware between a Flex client and the SQL Server database? girish_ok wrote: Hi All, I want to know how to connect SQL SERVER 2005 using Flex, if anyone knows then let me know, i am planning to develop desktop application for dotnet. I can develop using C# but i want to develop using Flex cause the look and feel is very good in FLEX.. Thanks in advance Regards Girish -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
RE: [flexcoders] Question regarding the auto-highlight of all instances in code (Beta 3)
http://blog.ff9900.org/?p=39 http://blog.ff9900.org/?p=39 (Not mine, But I bookmarked it the other day ...) You can turn it off with a button on the toolbar, as well. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason The Saj Sent: 14 January 2008 14:40 To: flexcoders@yahoogroups.com Subject: [flexcoders] Question regarding the auto-highlight of all instances in code (Beta 3) Flex Builder 3 (Beta 3) automatically highlights ALL instances of code. (ie: If you have a variable named foo, it will highlight all other instances) While I believe this to be a useful feature I find the color selection abominable because it is too close to the highlight color. Makes copy/pasting a bit more cumbersome. I'd like to change this color and was hoping someone new the answer. - Jason __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __
Re: [flexcoders] Application dimension for 1024x768 res
Greg I was explain right minutes ago to a brazilian developer at flexbrasil.orgabout same question you're asking. So to be very short in answer and clear as possible, There's no best praticies for this, but has solutions first aid kit to solve problems like that. the Flex SDK has a class responsable for that called LayoutManager witch calls a method updateDisplayList() when you use fixed or percent values to the entire UI components you're using into your application. So, When you us width height combined with % usage, it's hard to fit into the container(application) and create a great App. Well To fix that gap I suggest you to use containers in % mode too, they will mesure the sizes and always will place things in right mode. An example of that you could test to see it: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml; layout=absolute mx:HDividedBox width=100% height=100% mx:RichTextEditor width=50% height=100% /mx:RichTextEditor mx:TextArea width=50% height=100% /mx:TextArea /mx:HDividedBox /mx:Application When the container itself verified witch values are in the (width/height) automatically the layoutManager calculate the sizes and fit the controls into the Container witch is located. But if you want to make fixed sizes to your end-users you could fill gaps using kind of technique as Manually. ?xml version=1.0 encoding=utf-8? mx:Application enterFrame=checarTamanho() xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ private function checarTamanho():void { if(mx.core.Application.application.width = 800 || mx.core.Application.application.height =600) { pp.percentWidth = 50; pp.x = 0; pp.y = 0; pp.percentHeight = 100; pp2.percentHeight = 100; pp2.percentWidth = 50; } if(mx.core.Application.application.width =800 || mx.core.Application.application.height =600) { pp.title = tmanho fixo; pp.width = 300; pp.x = 0; pp.y = 0; pp2.x = 500; pp2.y = 0; pp.height = 400; pp2.width = 300; pp2.height = 500; } } ]] /mx:Script mx:RichTextEditor id=pp /mx:RichTextEditor mx:TextArea id=pp2 /mx:TextArea /mx:Application For sure using manually isn't a best praticies because of some problems with browser borders or you can't get the exactly the value of Browser window opened. So, hope you got the message. Regards Igor Costa On Jan 14, 2008 12:59 PM, Greg Hess [EMAIL PROTECTED] wrote: Hi All, What is best practice application dimension for designing an application for a target audience with 1024x768 resolution? We require no horizontal or vertical scrolling and I am not sure what is the standard dimension is today with all the browser tool bars ect… Any comments much appreciated. Thanks, Greg -- Igor Costa www.igorcosta.com www.igorcosta.org
RE: [flexcoders] Re: Using an XML file as a dataProvider and accessing its data
For the functionality you describe, if I am understnding correctly, multiple lists seems to be the only solution. DataGrid is row oriented. Use it if your data structure has a list of items. If one list depends on the selection of another, do as you have done. Mx:Tree can take an XML node directly as a dataProvider. Furthermore, while the docs are ambiguous, the XML API dispatches the necessary events to make the tree UI update automatically when the underlying data is changed. With Tree, it is easy to specify what yu want to display for each node, using labelField for simple references, or labelFunction() to access nested values. You can use a custom TreeItemRenderer for even more control. It is NOT so easy to make the structure of the tree different from the structure of the underlying XML. I have several examples of Tree on www.cflex.net. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Monday, January 14, 2008 9:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using an XML file as a dataProvider and accessing its data That was very helpful, thank you! Two follow up questions. What are the similarities/differences advantages/disadvantages of using multiple Lists instead of DataGrid? For example, if the data of the second column depends on the selection in the first column, I found it easier to just make each column into a List and use the index of the selected Item in the list as an index into the XML file's elements and then populate the second List with the new Array. Secondly, an XML file is already essentially in a tree structure, but how can you use the file as a dataProvider for the Tree component in Flex? The method outlined in the previous question of sequentially populating Lists is basically just a makeshift Tree, but I'd like to find out how to actually use the XML file as a provider for the Tree. Thanks again to whoever can help answer these questions. -Ricky --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt [EMAIL PROTECTED] wrote: You can do both. Bottom line, the DataGrid requires a list of items. This can be an XMLList or Array, ONLY if you are certain you will not need to update the data items individually. Best practice is to use an XMLListCollection, which is a collection of XML nodes, or an ArrayCollection of item value objects. Each item in the collection produces a row. Given such a list of data items, each row of the DataGrid gets a reference to the data item producing it. You specify which property or attribute in the item goes in which column using the DataGridColumn object. If the value you want is in a top-level property of the item (an attribute or first level child node of an XML item, or a top-level property of the item object) you can specify the dataField. It the value you want is nested deeper in the item object, use labelFunction(). There are many examples available. Tracy
RE: [flexcoders] Controls and name uniqueness
Ids need only be unique within scope. Implement your functionality in components and you shouldn't have any problem with id collisions. You can have: myValue myComp1.myValue mvComp2.myValue ...etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, January 14, 2008 9:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controls and name uniqueness I understand that all objects names in one application have to be unique. In my application I have a tabset where a user can add/remove tabs. These dynamic tabs have identical components on them: Forms, grids, and etc. The only difference is names - have to be unique. Is ther a way to create components that are somehow local to containers that they are in? That way I could use same generic code for each dynamic tab referencing controls using parents names. Otherwise I have to design all dynamic tabs in advance in order to create needed code. Any ideas? Thanks
Re: [flexcoders] Application dimension for 1024x768 res
On Monday 14 Jan 2008, Greg Hess wrote: What is best practice application dimension for designing an application for a target audience with 1024x768 resolution? Don't is my personal view :-) Instruct your app to take up '100%' of the height and width, and let the player sort it out for you. We require no horizontal or vertical scrolling and I am not sure what is the standard dimension is today with all the browser tool bars ect... There isn't one standard dimension. -- Tom Chiverton Helping to globally evolve impactful patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Application dimension for 1024x768 res
Hi All, What is best practice application dimension for designing an application for a target audience with 1024x768 resolution? We require no horizontal or vertical scrolling and I am not sure what is the standard dimension is today with all the browser tool bars ect... Any comments much appreciated. Thanks, Greg
Re: [flexcoders] Make MenuBar open onRollOver instead of click?
To do That Keith You have to extend the MenuBar class. Regards On Jan 14, 2008 11:08 AM, keith [EMAIL PROTECTED] wrote: Please help, so far this is what I've done: I want to make my MenuBar open up when I rollover an item without clicking any MenuBarItems. The following code works, until I've selected something or clicked somewhere else in the applicaiton. Afterwards, I have to click the MenuBarItems again to open a menu. -- Keith H -- /** Initializing the MenuBar's selectedIndex to menu.menuBarItems.length when setting the MenuBar's dataProvider. **/ private function initMenu():void menu.labelField=@label; menu.dataProvider=menudata; menu.showRoot=false; menu.selectedIndex=menu.menuBarItems.length; } keith wrote: How can I make the main MenuBarItems open onRollOver without having to click them first? -- Keith H -- -- Igor Costa www.igorcosta.com www.igorcosta.org
RE: [flexcoders] How to connect SQL SERVER 2005 using FLEX?
Consider using dot.net as an integration tier. Establish a consistent communication pattern between your flex client and the server-side tier, and you will simplify future access to other data sources, avoid crossdomain problems, and have a ready platform to handle business logic that is not suitable for the client. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of girish_ok Sent: Monday, January 14, 2008 6:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to connect SQL SERVER 2005 using FLEX? Hi All, I want to know how to connect SQL SERVER 2005 using Flex, if anyone knows then let me know, i am planning to develop desktop application for dotnet. I can develop using C# but i want to develop using Flex cause the look and feel is very good in FLEX.. Thanks in advance Regards Girish
Re: [flexcoders] movie clip control from flex
Hey Derrick, sorry for the delay, I've just figured out how to do the movieclip to movieclip control in as3, using the flashcoders list I was wondering if you know and actual example about how to control a movieclip from an external swf using flex; Example: I have a background in flash, but this boackground, gnerated in Flash cs3, has the behaviour in timelines of different movieclips, Ex: MovC1, MovC2. Hos can control them from Flex, just a simple CDATA thing. Regards Gustavo. BtW, there is a way to lear how to do this, because my flex book ony covers flex, there is no interaction with flash whatsoever. On Jan 11, 2008, at 10:29 AM, Derrick Anderson wrote: hey gustavo, check out this url http://www.adobe.com/devnet/flex/quickstart/embedding_assets/ #EmbeddingSwfFiles this shows how you can embed swf files into your flex app. also from the docs: You can manipulate the embedded SWF file by using the methods and properties of the MovieClipLoaderAsset class d. On Jan 11, 2008 10:08 AM, Gustavo Duenas [EMAIL PROTECTED] wrote: Ok, Guys I have a swf generated in Flash Cs3, with a movie clip and I'd like flex to control this, does anyone knows the way to do it or a tutorial to go to? Regards Gustavo Gustavo A. Duenas Creative Director LEFT AND RIGHT SOLUTIONS 904. 265 0330 - 904. 386 7958 www.leftandrightsolutions.com Jacksonville - Florida Gustavo A. Duenas Creative Director LEFT AND RIGHT SOLUTIONS 904. 265 0330 - 904. 386 7958 www.leftandrightsolutions.com Jacksonville - Florida
Re: [flexcoders] Re: big problem
On Monday 14 Jan 2008, John wrote: that I need to install Flash when I run the HTML, or when I try and debug - it states that the version of Flash Player does not have debugging. Uninstall the player, and reinstall the debug version. -- Tom Chiverton Helping to apprehensively e-enable holistic paradigms on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: big problem
I have been having this problem as well. Just get an error saying that I need to install Flash when I run the HTML, or when I try and debug - it states that the version of Flash Player does not have debugging. Thanks In Advance John --- In flexcoders@yahoogroups.com, adnane_1979 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: What happens when you run the debug version of your app on the debugger player for 9,0,115,0? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of adnane_1979 Sent: Sunday, January 13, 2008 4:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] big problem I developed a flex 2 application, and i's been on production for a while now. But last week some of my clients were complaining that the application doesn't work anymore, after i've checked with them ,i found out that the application doesn't work with the new version of flash player 9.0.1115.0 When i've tried to run the application with this version of flash player ,I've got a blank page. So i dont know what to do now,should i change some thing on the code of the application it self or what? Please, if some body knows about this issue, help me, because it's very urgent. Thanks in advance With flash player 9.0.115.0 debug, i've got the following error: VerifyError: Error #1107: ABC sont corrompues, tentative de lecture en dehors des limites. Sorry,it's in french.
[flexcoders] Security sandbox violation when using navigateToURL
Hello, i am having this error when i call a navigateToURL: SecurityError: Error #2137: Security sandbox violation: https://ww3.logo.pt/portal/multimedia/index.swf cannot navigate window _self within http://www.logo.pt/SE7E/cms.aspx (allowScriptAccess is sameDomain). Attempted URL was https://ww3.logo.pt/portal/newsimulation.aspx?cp4=1100cp3=100. at global/flash.net::navigateToURL() at pt.webfuel.tranquilidade.view::ResultadoDaSimulacao/goToUrl() at pt.webfuel.tranquilidade.view::ResultadoDaSimulacao/___ResultadoDaSimulacao_Button2_click() How can i solve this? :| Thanks, João Saleiro
[flexcoders] Re: Repeater problem
You don't need to set up your data before the applicationComplete. But the point is, when you DO assign a value to your _user.skills variable, it needs to be all at once. --- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote: Thanks - I suspected it was something like that too. However, you're using all Actionscript examples, I'm declaring my databinding in the MXML: mx:Repeater id=rSkills dataProvider={_user.skills} The data _user.skills array is created on ApplicationComplete - I'm not sure how to setup the data before, and then set the dataprovider in the MXML. The only way I can imagine is doing it all in Actionscript, which I could do, but why should I have to? It seems to be a common thing to bind actionscript data to components declared with MXML, no? Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community
[flexcoders] Help me understand restrict property
Can someone please explain why the following code has no effect for a data entry into a textbox in the grids? public class textItemRenderer extends TextInput { public function textItemRenderer() { super(); height = 20; restrict =A-Z; . var ConsistPersonnel1Name:ClassFactory = new ClassFactory (textItemRenderer); var consistPersonnel1Name:AdvancedDataGridColumn = PersonnelGrid.columns [1]; consistPersonnel1Name.itemRenderer = ConsistPersonnel1Name; I still can type any character. Thanks
[flexcoders] Re: Help me understand restrict property
Found it. I was missing rendererIsEditor=true --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Can someone please explain why the following code has no effect for a data entry into a textbox in the grids? public class textItemRenderer extends TextInput { public function textItemRenderer() { super(); height = 20; restrict =A-Z; . var ConsistPersonnel1Name:ClassFactory = new ClassFactory (textItemRenderer); var consistPersonnel1Name:AdvancedDataGridColumn = PersonnelGrid.columns [1]; consistPersonnel1Name.itemRenderer = ConsistPersonnel1Name; I still can type any character. Thanks
[flexcoders] How to force a module to compile
FB3.3 I have application which has many modules maybe 20-30, I hit a problem today that one module just wont compile, no error message just after I have built the application the module is not there. How do I force a single module to compile, there doesnt seem t be an option to do this in FB. I have tried clean, reopened FB, rebooted, deleted all modules etc but nothign seems to make the module appear Any thoughts tks
[flexcoders] Re: Apply gradients on text?
Hi thank you for your response I used the filters a few times in the past, however i don't see any filter that could draw a gradient over text The only ones I see are blur, glow, bevel, convolution,drop shadow, displacement map, color matrix... however no regular gradient Am I missing something? Thank you again --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: You can apply gradients to text components dynamically. Take a look at DisplayObject.filters and flash.filters. It effectively turns a display object into a Bitmap behind the scenes and applies the filter you have applied. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greeninvaders Sent: 11 January 2008 13:41 To: flexcoders@yahoogroups.com Subject: [flexcoders] Apply gradients on text? Hi! My designer just asked me if I could apply gradients to dynamic text in Flex (for example on a Label component) I've searched the net and this forum and couldnt find any info whether it's even feasible or not. I checked the Label component source and it seems the part that draws the text is in Flash libraries that we don't have access to.. and also I had never realized that before but the Graphics class doesn't have a drawText method... Thank you!! Louis
[flexcoders] Re: mx:Grid and drawing grid lines?
Check this out: http://samples.degrafa.com/DynamicGridLines/GridSample.html It uses Degrafa, an open-source declarative graphics framework for Flex. You can learn more about it here: http://www.degrafa.com or check it out on Google Code http:// code.degrafa.com . Hope that helps. Juan degrafa.com : scalenine.com --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hey guys, Is there an easy way to get the mx:Grid layout container to draw grid lines? I tried using a background colour and then setting colour to white on the GridRow items, but then I only get horizontal rules. Surely there's some code out there somewhere to do this? Cheers, -Josh -- This is crazy! Why are we talking about going to bed with Wilma Flintstone... She'll never leave Fred and we know it. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Dash symbol on xml tag
Assuming you have a variable called styles that references this file, you can use styles.style.[font-family] to access the XMLList with the single element font-family, or styles.style.[font-family][0] to access the actual font-family element itself. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: ruidsoares [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Dash symbol on xml tag Date: Mon, 14 Jan 2008 08:53:39 - Hi, I have an xml file that has the following structure: styles style font-familyArial/font-family font-weightbold/font-weight /style /styles I would like to know how can I reference the font-family tag using E4X? Thanks, Rui
[flexcoders] Error #2038: File I/O Error when uploading file
Hi, I'm trying to upload file to server with Firefox and I'm getting error 2038. With IE everything seems to be fine. Any ideas what might cause this? Thanks, Tuomas
[flexcoders] another problem with repeater and custom components
I will try to be resume the problem here writing pseude code because I don´t have the original code at my hands on the moment. There is a simple component with a public objetc [Bindable] public var dataObject:Object; on the component there was a text showing dataObject.title on the main application I was using a httpservices to get a xml file like this questions question titleHello world/title /question /questions and then I use the repeater to render my component mx:Repeater dataProvider={myXml.lastResults.questions} id=rp myCustomComponent dataObject={rp.currentItem}/ /mc:Repeater It was working fine, getting the hello world properly. And then I create one more question tag on my xml file. Bingo, after that it stopped to work. And compile error showing that the property title was undefined. Can anyone save a poor flash developer trying to migrate to Flex ??
[flexcoders] Horizontal Scrolling List
Hi. I've had the idea to have a horizontally scrolling list, but I'm not sure how to make it using the Flex components. I guess another way to describe it would be like a marquee or a ticker (like stocks on MSNBC). The elements are arranged horizontally and they slide both left and right-ward. Another idea/complication involves a speed/direction control by hovering the mouse over the ends of the list. Does anyone have an idea of how this can be constructed?
Re: [flexcoders] How to force a module to compile
Are you certain you are using the module anywhere within your app? I seem to recall running into this once and the issue was that them module was not referenced from the app source code anywhere, hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com reflexactions wrote: FB3.3 I have application which has many modules maybe 20-30, I hit a problem today that one module just wont compile, no error message just after I have built the application the module is not there. How do I force a single module to compile, there doesnt seem t be an option to do this in FB. I have tried clean, reopened FB, rebooted, deleted all modules etc but nothign seems to make the module appear Any thoughts tks
Re: [flexcoders] another problem with repeater and custom components
I think the problem then is that you are dealing with a collection of XML items, not just a single XML item.. Paul - Original Message - From: molandim [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 4:09 PM Subject: [flexcoders] another problem with repeater and custom components I will try to be resume the problem here writing pseude code because I don´t have the original code at my hands on the moment. There is a simple component with a public objetc [Bindable] public var dataObject:Object; on the component there was a text showing dataObject.title on the main application I was using a httpservices to get a xml file like this questions question titleHello world/title /question /questions and then I use the repeater to render my component mx:Repeater dataProvider={myXml.lastResults.questions} id=rp myCustomComponent dataObject={rp.currentItem}/ /mc:Repeater It was working fine, getting the hello world properly. And then I create one more question tag on my xml file. Bingo, after that it stopped to work. And compile error showing that the property title was undefined. Can anyone save a poor flash developer trying to migrate to Flex ?? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: a checkbox in mx:DataGrid
http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a- primer-for-predictable-behavior/ --- In flexcoders@yahoogroups.com, coder3 [EMAIL PROTECTED] wrote: Hi All, i am using mx:DataGrid to display a list of results. but i would like to add a checkbox in front of each item to get a list of detail reports later. how can i do it? thanks -- View this message in context: http://www.nabble.com/a-checkbox-in- mx%3ADataGrid-tp14768070p14768070.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] LCDS AMF call not firing result events, busy cursor does not go away
Ok, I suppose there may be no answer since this is not exactly a minimal test case. Let me simplify the question: Under what circumstances would a RemoteObject AMF call not restore the cursor from the 'busy' state? Relevant source: override public function init():void { // create service _remote = new RemoteObject(); _remote.showBusyCursor = true; _remote.destination = fooService; _remote.addEventListener(result, handleResultReceived); _remote.addEventListener(fault, handleFault); var params:Object = new Object(); for each (var f:Filter in _filterCollection.filters) { if (f.isServerFilter) { f.refreshValue(); params[f.field] = f.value; } } _remote.executeStaticQuery(super._queryId, params, super._serverTransformer); } Again, this error is not consistently reproducible: it works most of the time, but occasionally, the busy cursor never goes away, and neither the result handler nor the fault handler get invoked. I can understand that the handlers not getting invoked could be something that I'm doing wrong, but why would the busy cursor stay? Any suggestions? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Maciek Sakrejda [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS AMF call not firing result events, busy cursor does not go away Date: Fri, 11 Jan 2008 10:52:53 -0800 I'm running into some odd Flex behavior, and I was wondering if anyone had run into something similar before. Basically, it looks like my RemoteObject result handlers are sometimes not being called. More specifically, I have a remote object that corresponds to a Java class which makes a jdbc call and returns some data. This remote object call is invoked from a button and adds a new tab to a dashboard. The new tab renders the results. Most of the time, this works fine, but occasionally, the AMF call never fires the handler (neither success nor failure), and the busy cursor never goes away. I've double-checked to make sure that I register result handlers before I invoke the method. The flashlog.txt file does not show anything odd. A Java thread dump on the server does not show any outstanding AMF calls being serviced, and if I re-try the same action, it works fine (although the original tab still never gets any data). The busy cursor remains until I close the client Flash object, but other than that, the client behaves normally. I've verified that the event listeners are being added before the remote call is made, but it almost seems like a bigger issue: the busy cursor should go away as soon as the result event is fired, whether I registered for it or not, right? For what it's worth, I seem to hit this more frequently if I open a burst of new tabs quickly one after another. I'm using: Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode) Adobe Flash Player 9,0,115,0 (debug) Apache Tomcat 5.5.23 LCDS 2.5.1 Any thoughts? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com
[flexcoders] close debug errors
is there a way i can just turn off the http request errors that keep popping up?
[flexcoders] create ContextMenu in mxml
Is it possible to construct a contextMenu in mxml? I haven't been able to find any examples and my attempts have been full of fail. -- Jason
RE: [flexcoders] close debug errors
Do you have both result and fault handlers set up? Is your update code returning invalid xml? You get a result back from the call, even if you are not using it. It needs to be valid, or catch it in a fault handler and ignore it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dominique.bessette Sent: Monday, January 14, 2008 12:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] close debug errors is there a way i can just turn off the http request errors that keep popping up?
[flexcoders] Lable Courser hand
I trying to make a hand courser when mouse over the Label like this code: mx:Label id=myLabel text=My Label useHandCursor=true buttonMode=true/ But the hand courser not appear. Plz help me to know what the problem. Thanks Abdullah Abdelhay.
[flexcoders] Copy an Array collection in AS
I want to copy a certain property (companyInfo2.RELATED_ASSET_ID) of one arraycollection to another arraycollection (asset_id). how do I go about that? here is what I have: [Bindable] private var companyInfo:ArrayCollection; [Bindable] private var companyInfo2:ArrayCollection; private function sanDataHandler2(event:ResultEvent):void { companyInfo2 = sanData2.lastResult.ASSETS.ASSET.RELATIONSHIPS.RELATIONSHIP; plname = sanData2.lastResult.ASSETS.ASSET.DESC; for (var y:int=0; ycompanyInfo2.length; y++){ companyInfo2[y].RELATED_ASSET_ID == asset_id[y]; y++; }
[flexcoders] Re: Copy an Array collection in AS
http://flexed.wordpress.com/2006/12/21/copy-2-arraycollections/ --- In flexcoders@yahoogroups.com, jovialrandor [EMAIL PROTECTED] wrote: I want to copy a certain property (companyInfo2.RELATED_ASSET_ID) of one arraycollection to another arraycollection (asset_id). how do I go about that? here is what I have: [Bindable] private var companyInfo:ArrayCollection; [Bindable] private var companyInfo2:ArrayCollection; private function sanDataHandler2(event:ResultEvent):void { companyInfo2 = sanData2.lastResult.ASSETS.ASSET.RELATIONSHIPS.RELATIONSHIP; plname = sanData2.lastResult.ASSETS.ASSET.DESC; for (var y:int=0; ycompanyInfo2.length; y++){ companyInfo2[y].RELATED_ASSET_ID == asset_id[y]; y++; }
RE: [flexcoders] Re: DataGridItemRenderer wont render bold text
Try it in a Label outside of the DG to see what 10-bold should look like. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Monday, January 14, 2008 1:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridItemRenderer wont render bold text Correction that should have been Arial/10 Is the problem that 10 bold is too smal to render in flex?? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions [EMAIL PROTECTED] wrote: I have a custom grid renderer and it wont renderer bold text. I have even hard coded in getTextStyles to set the TextFormat.bold to true and still it wont render as bold just normal. However if I change the fontFamily or fontSize it does renderer correctly. Currently I am using Arial/12. Any thoughts on why/how to fix this tks
Re: [flexcoders] Re: Upload/Download Files using FTP/SSH2 with Air
Thanks, it has a lot of bugs but is what I wanted. On 1/14/08, elvezpablo [EMAIL PROTECTED] wrote: This is from Ted Patricks blog: It's pretty old now but should give you a good start. http://maliboo.pl/projects/FlexFTP/ --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jhonny Everson [EMAIL PROTECTED] wrote: Hi, Does anyone have anything on using Adobe Air to transfer files to a server that doesn't involve server side code solution? like FTP, SSH2... Thanks, -- Jhonny Everson -- Jhonny Everson
[flexcoders] Re: 2032 error, webservices, flex 2, BEA
bump? anyone got some bits? DK On Jan 11, 2008 12:01 PM, Douglas Knudsen [EMAIL PROTECTED] wrote: to add the current response headers are: HTTP/1.1 200 OK Date: Fri, 11 Jan 2008 16:44:17 GMT Transfer-Encoding: chunked Content-Type: text/xml; charset=utf-8 SOAPAction: getAlertsForDates X-Powered-By: Servlet/2.4 JSP/2.0 If cache-control is not sent at all, does IE have issue with that? DK On Jan 11, 2008 10:41 AM, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, we are getting the dreaded 2032 error intermittently from a Flex app using webservices over HTTPS. I've read everything I can available via the all mighty Google. Again, this is intermittent and only affects IE 6. For example, a particular webservice call can work about 75% of the time on IE6 with the same data returned every time. It appears most folks having these issues address the issue by adding a cache-control header in the response. Does anyone have any pointers on how to do this with webservices on BEA web logic? Thanks! -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
[flexcoders] Warning message on entering Full Screen
How to add a message the same way it was added here: http://www.picnik.com http://www.picnik.com (the 2nd one, regarding the Keyboard being disabled, when clicking on Full Screen button)? The message does not seem to come from the SWF wrapper, via Javascript. Thank you so much in advance!
[flexcoders] Re: DataGridItemRenderer wont render bold text
Well it looks the same in Label as it does in the grid but I dont know whether you can say it is what it should look like. Arial/10/bold looks the same as Arial/10/Normal Arial/11/bold looks really bold Verdana/10/bold looks really bold --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Try it in a Label outside of the DG to see what 10-bold should look like. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Monday, January 14, 2008 1:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridItemRenderer wont render bold text Correction that should have been Arial/10 Is the problem that 10 bold is too smal to render in flex?? --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , reflexactions reflexactions@ wrote: I have a custom grid renderer and it wont renderer bold text. I have even hard coded in getTextStyles to set the TextFormat.bold to true and still it wont render as bold just normal. However if I change the fontFamily or fontSize it does renderer correctly. Currently I am using Arial/12. Any thoughts on why/how to fix this tks
[flexcoders] Need realtime websurvey app in flex
Hi, I would like to build a web survey app in flex, for both the user and the admistrator. should I use mySql to collect the results? What is the flex PollingChannel class? Anybody have any suggestions or examples? thanks, brad
Re: [flexcoders] Re: big problem
I have been getting an error like that also recently. VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds. I believe my problem is quite different than this one, but I would like to know any more information on this error message. It doesn't really give any good information so it is pretty difficult to track down the issue. On 1/14/08, adnane_1979 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: What happens when you run the debug version of your app on the debugger player for 9,0,115,0? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of adnane_1979 Sent: Sunday, January 13, 2008 4:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] big problem I developed a flex 2 application, and i's been on production for a while now. But last week some of my clients were complaining that the application doesn't work anymore, after i've checked with them ,i found out that the application doesn't work with the new version of flash player 9.0.1115.0 When i've tried to run the application with this version of flash player ,I've got a blank page. So i dont know what to do now,should i change some thing on the code of the application it self or what? Please, if some body knows about this issue, help me, because it's very urgent. Thanks in advance With flash player 9.0.115.0 debug, i've got the following error: VerifyError: Error #1107: ABC sont corrompues, tentative de lecture en dehors des limites. Sorry,it's in french. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] Re: DataGridItemRenderer wont render bold text
Could be the way the font renders. If you have Flash CS3, that's a great way to make a really small test file to see what the player is doing From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Monday, January 14, 2008 11:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridItemRenderer wont render bold text Well it looks the same in Label as it does in the grid but I dont know whether you can say it is what it should look like. Arial/10/bold looks the same as Arial/10/Normal Arial/11/bold looks really bold Verdana/10/bold looks really bold --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Try it in a Label outside of the DG to see what 10-bold should look like. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of reflexactions Sent: Monday, January 14, 2008 1:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: DataGridItemRenderer wont render bold text Correction that should have been Arial/10 Is the problem that 10 bold is too smal to render in flex?? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com , reflexactions reflexactions@ wrote: I have a custom grid renderer and it wont renderer bold text. I have even hard coded in getTextStyles to set the TextFormat.bold to true and still it wont render as bold just normal. However if I change the fontFamily or fontSize it does renderer correctly. Currently I am using Arial/12. Any thoughts on why/how to fix this tks
RE: [flexcoders] Re: big problem
The verifier runs over most methods before they are executed the first time. It does some checking to make sure places you are jumping to and types you need are ready to go. This speeds up execution time because if code revisits itself in a loop it doesn't need to spend verification time on each step. In general, there is no way for you to write code that causes a verify error. It is a bug in the compiler, or failure to load a class at the right time, or some incompatibility in what got linked in. If it is 100% reproducible, try to make a smaller test case and file a bug. If it is player version specific, file a bug with the swf and the player version. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Mathews Sent: Monday, January 14, 2008 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: big problem I have been getting an error like that also recently. VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds. I believe my problem is quite different than this one, but I would like to know any more information on this error message. It doesn't really give any good information so it is pretty difficult to track down the issue. On 1/14/08, adnane_1979 [EMAIL PROTECTED] mailto:adnane_1979%40yahoo.fr wrote: --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: What happens when you run the debug version of your app on the debugger player for 9,0,115,0? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of adnane_1979 Sent: Sunday, January 13, 2008 4:13 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] big problem I developed a flex 2 application, and i's been on production for a while now. But last week some of my clients were complaining that the application doesn't work anymore, after i've checked with them ,i found out that the application doesn't work with the new version of flash player 9.0.1115.0 When i've tried to run the application with this version of flash player ,I've got a blank page. So i dont know what to do now,should i change some thing on the code of the application it self or what? Please, if some body knows about this issue, help me, because it's very urgent. Thanks in advance With flash player 9.0.115.0 debug, i've got the following error: VerifyError: Error #1107: ABC sont corrompues, tentative de lecture en dehors des limites. Sorry,it's in french. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] Lable Courser hand
Search the archives. This has been answered before. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of NileAge, Mail Sent: Monday, January 14, 2008 10:56 AM To: flexcoders@yahoogroups.com; Flex Components Subject: [flexcoders] Lable Courser hand I trying to make a hand courser when mouse over the Label like this code: mx:Label id=myLabel text=My Label useHandCursor=true buttonMode=true/ But the hand courser not appear. Plz help me to know what the problem. Thanks Abdullah Abdelhay.
[flexcoders] Datagrid - Adding Running Total Row
Hello, I need to know that whether DataGrid or AdvancedDataGrid in Flex supports running totals? Let say I have the following data. Order Number Quantity Price --- 1..4..25.00 2..3..12.25 3..11.10.00 3..18.246.75 The dataprovider contains the first three rows of the aforementioned table. The requirement is that the grid should calculate the total of the data in the dataprovider. I can manually add the running total row in the data provider so that grid can display that row. But the next requirement is that the running total row should be displayed in different backcolor, forecolor and font. Can you tell me how can I implement the running total functionality in Flex? Regards, Jehanzeb Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Re: [flexcoders] Re: Copy an Array collection in AS
That method you linked to in your blog seems a little bulky. Duplicated here: # private function copyArrayCollection(src1:ArrayCollection, # src2:ArrayCollection):ArrayCollection{ # var dest:ArrayCollection = new ArrayCollection(); # if(src1 != null src1.length 0){ # for(var i:int = 0; isrc1.length; i++){ # src2.addItem(src1.getItemAt(i)); # } # } # dest = src2; # return dest; # } Wouldn't this do the same thing without reimplementing the function? # var ac1:ArrayCollection = new ArrayCollection( [1, 2, 3, 4] ); # var ac2:ArrayCollection = new ArrayCollection( ac1.source.concat() ); On 1/14/08, ezderman [EMAIL PROTECTED] wrote: http://flexed.wordpress.com/2006/12/21/copy-2-arraycollections/ --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, jovialrandor [EMAIL PROTECTED] wrote: I want to copy a certain property (companyInfo2.RELATED_ASSET_ID) of one arraycollection to another arraycollection (asset_id). how do I go about that? here is what I have: [Bindable] private var companyInfo:ArrayCollection; [Bindable] private var companyInfo2:ArrayCollection; private function sanDataHandler2(event:ResultEvent):void { companyInfo2 = sanData2.lastResult.ASSETS.ASSET.RELATIONSHIPS.RELATIONSHIP; plname = sanData2.lastResult.ASSETS.ASSET.DESC; for (var y:int=0; ycompanyInfo2.length; y++){ companyInfo2[y].RELATED_ASSET_ID == asset_id[y]; y++; } -- Aaron Miller Chief Technology Officer Splash Labs, LLC. [EMAIL PROTECTED] | 360-255-1145 http://www.splashlabs.com
RE: [flexcoders] How to use air to read Excel file?
The Flex framework doesn't have built-in support for reading Excel files. Given that AIR has a File class which can read any kind of file, what you need to understand is the format of a binary .xls file so that you know how to interpret the bytes that you read. I googled xls file format and found http://sc.openoffice.org/excelfileformat.pdf Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dormousecheck Sent: Sunday, January 13, 2008 8:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to use air to read Excel file? Recently, i meet a problem, how to use air to read .xls file. Search in the google, there is little messages about it? Can anyone tell how to handle this, Thanks! dormouse
[flexcoders] Re: XML List problems
Thanks again Tracy, I know there is still something that I am doing wrong because I still do not see any data in the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ //tempXML.lastResult.asset.fleet import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Also, Mark, you can remove the AsyncToken stuff until you are ready for it. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alger Werft Sent: Friday, January 11, 2008 4:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: XML List problems Concerning three of your errors: in onResult(): You are passing in oEvent. The next line you are using event. You are declaring var callToken:AsyncToke but are using: token.callId = myQuery1; You are calling: doQuery2(); The declaration of this method is nowhere to be found. Read your code a bit more carefully. FlexBuilder gives you hints. Use them. Look at the lines FlexBuilder lists in the Problems-View. If FlexBuilder says undefined property, ask yourself, is this property declared? Have I misspelled it? Same goes for undefined method. markcavins schrieb: OK I've seen some of the errors mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenam p;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={us ername.text}amp;password={password.text} / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.rpc.AsyncToken; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; var oRequest:Object = new Object(); oRequest.Arg1 = value1; var callToken:AsyncToken = tempXML.send(oRequest); token.callId = myQuery1; private function onResult(oEvent:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); var callToken:AsyncToken = oEvent.token; var sCallId = callToken.callId; switch(sCallId) { case myQuery1: doQuery2(); break; } } ]] /mx:Script that cut the errors is half 1120: Access of undefined property event. 1120: Access of undefined property oRequest. 1120: Access of undefined property token. 1180: Call to a possibly undefined method doQuery2. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com, markcavins markcavins@ wrote: This is what I have currently. I removed the comments to make it cleaner to read here. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenam p;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={us ername.text}amp;password={password.text} / mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.rpc.AsyncToken; import mx.rpc.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; var oRequest:Object = new Object(); oRequest.Arg1 = value1; var callToken:AsyncToken = service.send(oRequest); token.callId = myQuery1; private function onResult(oEvent:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); var
RE: [flexcoders] Dash symbol on xml tag
styles.style[font-family] Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ruidsoares Sent: Monday, January 14, 2008 12:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dash symbol on xml tag Hi, I have an xml file that has the following structure: styles style font-familyArial/font-family font-weightbold/font-weight /style /styles I would like to know how can I reference the font-family tag using E4X? Thanks, Rui
[flexcoders] List issues
I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data.
RE: [flexcoders] Error #2038: File I/O Error when uploading file
Use a network sniffer to monitor the Http traffic for you upload and the Http response. The plugin API exposed by Firefox doesn't provide any useful Http error information to the player in many situations, and when this happens the player dispatches a generic 2038 error which is the best it can do given the circumstances. Inspecting the network traffic should let you identify the underlying issue. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tuomas.glad Sent: Monday, January 14, 2008 7:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #2038: File I/O Error when uploading file Hi, I'm trying to upload file to server with Firefox and I'm getting error 2038. With IE everything seems to be fine. Any ideas what might cause this? Thanks, Tuomas
[flexcoders] Re: List issues
Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away
The busy cursor is set when a RemoteObject operation is invoked using CursorManager.setBusyCursor(). It's removed when a result or fault for the invocation is returned, via a call to CursorManager.removeBusyCursor(). If you're not receiving a result or fault event, that would explain why the busy cursor is not being unset. RemoteObject, and the other RPC-related client components, define a 'requestTimeout' property that represents the number of seconds the RemoteObject will wait for a response or fault from the server/network before giving up and just faulting the call locally on the client. You may want to enable this property, in order to abort requests that are lost in the network (although this sort of failure should be very intermittent and if it's common you should do more debugging or your network to attempt to determine why the requests are dropping). Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Monday, January 14, 2008 9:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away Ok, I suppose there may be no answer since this is not exactly a minimal test case. Let me simplify the question: Under what circumstances would a RemoteObject AMF call not restore the cursor from the 'busy' state? Relevant source: override public function init():void { // create service _remote = new RemoteObject(); _remote.showBusyCursor = true; _remote.destination = fooService; _remote.addEventListener(result, handleResultReceived); _remote.addEventListener(fault, handleFault); var params:Object = new Object(); for each (var f:Filter in _filterCollection.filters) { if (f.isServerFilter) { f.refreshValue(); params[f.field] = f.value; } } _remote.executeStaticQuery(super._queryId, params, super._serverTransformer); } Again, this error is not consistently reproducible: it works most of the time, but occasionally, the busy cursor never goes away, and neither the result handler nor the fault handler get invoked. I can understand that the handlers not getting invoked could be something that I'm doing wrong, but why would the busy cursor stay? Any suggestions? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Maciek Sakrejda [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS AMF call not firing result events, busy cursor does not go away Date: Fri, 11 Jan 2008 10:52:53 -0800 I'm running into some odd Flex behavior, and I was wondering if anyone had run into something similar before. Basically, it looks like my RemoteObject result handlers are sometimes not being called. More specifically, I have a remote object that corresponds to a Java class which makes a jdbc call and returns some data. This remote object call is invoked from a button and adds a new tab to a dashboard. The new tab renders the results. Most of the time, this works fine, but occasionally, the AMF call never fires the handler (neither success nor failure), and the busy cursor never goes away. I've double-checked to make sure that I register result handlers before I invoke the method. The flashlog.txt file does not show anything odd. A Java thread dump on the server does not show any outstanding AMF calls being serviced, and if I re-try the same action, it works fine (although the original tab still never gets any data). The busy cursor remains until I close the client Flash object, but other than that, the client behaves normally. I've verified that the event listeners are being added before the remote call is made, but it almost seems like a bigger issue: the busy cursor should go away as soon as the result event is fired, whether I registered for it or not, right? For what it's worth, I seem to hit this more frequently if I open a burst of new tabs quickly one after another. I'm using: Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode) Adobe Flash Player 9,0,115,0 (debug) Apache Tomcat 5.5.23 LCDS 2.5.1 Any thoughts? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com
Re: [flexcoders] List issues
You have remembered to call the send() method? Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: Copy an Array collection in AS
Aaron, I do not want to just copy one arraycollection to another. I want to copy a certain object property of the arraycollection to a new arraycollection. eg. arraycoll1: [0] = object id=1 source=asset.png prop4=a prop5=b [1] = object id=2 source=asset2.png prop4=d prop5=e arraycoll2 (copy only 'source'): [0] = object source=asset.png [1] = object source=asset2.png --- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote: That method you linked to in your blog seems a little bulky. Duplicated here: # private function copyArrayCollection(src1:ArrayCollection, # src2:ArrayCollection):ArrayCollection{ # var dest:ArrayCollection = new ArrayCollection(); # if(src1 != null src1.length 0){ # for(var i:int = 0; isrc1.length; i++){ # src2.addItem(src1.getItemAt(i)); # } # } # dest = src2; # return dest; # } Wouldn't this do the same thing without reimplementing the function? # var ac1:ArrayCollection = new ArrayCollection( [1, 2, 3, 4] ); # var ac2:ArrayCollection = new ArrayCollection( ac1.source.concat () ); On 1/14/08, ezderman [EMAIL PROTECTED] wrote: http://flexed.wordpress.com/2006/12/21/copy-2-arraycollections/ --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, jovialrandor jovialrandor@ wrote: I want to copy a certain property (companyInfo2.RELATED_ASSET_ID) of one arraycollection to another arraycollection (asset_id). how do I go about that? here is what I have: [Bindable] private var companyInfo:ArrayCollection; [Bindable] private var companyInfo2:ArrayCollection; private function sanDataHandler2(event:ResultEvent):void { companyInfo2 = sanData2.lastResult.ASSETS.ASSET.RELATIONSHIPS.RELATIONSHIP; plname = sanData2.lastResult.ASSETS.ASSET.DESC; for (var y:int=0; ycompanyInfo2.length; y++){ companyInfo2[y].RELATED_ASSET_ID == asset_id[y]; y++; } -- Aaron Miller Chief Technology Officer Splash Labs, LLC. [EMAIL PROTECTED] | 360-255-1145 http://www.splashlabs.com
[flexcoders] Re: Copy an Array collection in AS
almost. this works for a simple ArrayCollection. It didnt work for more complex ones # var ac1:ArrayCollection = new ArrayCollection( [1, 2, 3, 4] ); # var ac2:ArrayCollection = new ArrayCollection( ac1.source.concat () ); --- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote: That method you linked to in your blog seems a little bulky. Duplicated here: # private function copyArrayCollection(src1:ArrayCollection, # src2:ArrayCollection):ArrayCollection{ # var dest:ArrayCollection = new ArrayCollection(); # if(src1 != null src1.length 0){ # for(var i:int = 0; isrc1.length; i++){ # src2.addItem(src1.getItemAt(i)); # } # } # dest = src2; # return dest; # } Wouldn't this do the same thing without reimplementing the function? # var ac1:ArrayCollection = new ArrayCollection( [1, 2, 3, 4] ); # var ac2:ArrayCollection = new ArrayCollection( ac1.source.concat () ); On 1/14/08, ezderman [EMAIL PROTECTED] wrote: http://flexed.wordpress.com/2006/12/21/copy-2-arraycollections/ --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, jovialrandor jovialrandor@ wrote: I want to copy a certain property (companyInfo2.RELATED_ASSET_ID) of one arraycollection to another arraycollection (asset_id). how do I go about that? here is what I have: [Bindable] private var companyInfo:ArrayCollection; [Bindable] private var companyInfo2:ArrayCollection; private function sanDataHandler2(event:ResultEvent):void { companyInfo2 = sanData2.lastResult.ASSETS.ASSET.RELATIONSHIPS.RELATIONSHIP; plname = sanData2.lastResult.ASSETS.ASSET.DESC; for (var y:int=0; ycompanyInfo2.length; y++){ companyInfo2[y].RELATED_ASSET_ID == asset_id[y]; y++; } -- Aaron Miller Chief Technology Officer Splash Labs, LLC. [EMAIL PROTECTED] | 360-255-1145 http://www.splashlabs.com
RE: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away
Thanks a lot, Seth. Given that most of the time, this does work correctly, it's most likely a network issue (for one reason or another), right? Or can you think of other possible causes? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Seth Hodgson [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away Date: Mon, 14 Jan 2008 14:58:27 -0800 The busy cursor is set when a RemoteObject operation is invoked using CursorManager.setBusyCursor(). It's removed when a result or fault for the invocation is returned, via a call to CursorManager.removeBusyCursor(). If you're not receiving a result or fault event, that would explain why the busy cursor is not being unset. RemoteObject, and the other RPC-related client components, define a 'requestTimeout' property that represents the number of seconds the RemoteObject will wait for a response or fault from the server/network before giving up and just faulting the call locally on the client. You may want to enable this property, in order to abort requests that are lost in the network (although this sort of failure should be very intermittent and if it's common you should do more debugging or your network to attempt to determine why the requests are dropping). Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Monday, January 14, 2008 9:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away Ok, I suppose there may be no answer since this is not exactly a minimal test case. Let me simplify the question: Under what circumstances would a RemoteObject AMF call not restore the cursor from the 'busy' state? Relevant source: override public function init():void { // create service _remote = new RemoteObject(); _remote.showBusyCursor = true; _remote.destination = fooService; _remote.addEventListener(result, handleResultReceived); _remote.addEventListener(fault, handleFault); var params:Object = new Object(); for each (var f:Filter in _filterCollection.filters) { if (f.isServerFilter) { f.refreshValue(); params[f.field] = f.value; } } _remote.executeStaticQuery(super._queryId, params, super._serverTransformer); } Again, this error is not consistently reproducible: it works most of the time, but occasionally, the busy cursor never goes away, and neither the result handler nor the fault handler get invoked. I can understand that the handlers not getting invoked could be something that I'm doing wrong, but why would the busy cursor stay? Any suggestions? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Maciek Sakrejda [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS AMF call not firing result events, busy cursor does not go away Date: Fri, 11 Jan 2008 10:52:53 -0800 I'm running into some odd Flex behavior, and I was wondering if anyone had run into something similar before. Basically, it looks like my RemoteObject result handlers are sometimes not being called. More specifically, I have a remote object that corresponds to a Java class which makes a jdbc call and returns some data. This remote object call is invoked from a button and adds a new tab to a dashboard. The new tab renders the results. Most of the time, this works fine, but occasionally, the AMF call never fires the handler (neither success nor failure), and the busy cursor never goes away. I've double-checked to make sure that I register result handlers before I invoke the method. The flashlog.txt file does not show anything odd. A Java thread dump on the server does not show any outstanding AMF calls being serviced, and if I re-try the same action, it works fine (although the original tab still never gets any data). The busy cursor remains until I close the client Flash object, but other than that, the client behaves normally. I've verified that the event listeners are being added before the remote call is made, but it almost seems like a bigger issue: the busy cursor should go away as soon as the result event is fired, whether I registered for it or not, right? For what it's worth, I seem to hit this more frequently if I open a burst of new tabs quickly one after another. I'm using: Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode) Adobe Flash Player 9,0,115,0 (debug) Apache Tomcat 5.5.23 LCDS 2.5.1 Any thoughts? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com
Re: [flexcoders] Re: List issues
The debugger is your friend. Try putting a breakpoint on the result handler, then look at what you get. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:19 PM Subject: [flexcoders] Re: List issues Yep that killed that error. No results but error gone thanks. Silly spelling Monkee got me again --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Your result handler specifies a parameter 'Event' which should be 'event'. Haven't looked further. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:07 PM Subject: [flexcoders] Re: List issues There also seems to be an issue with this line in the as var xmlResult:XML = XML(event.result); I get a 1120 error. --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: List issues
Yep that killed that error. No results but error gone thanks. Silly spelling Monkee got me again --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Your result handler specifies a parameter 'Event' which should be 'event'. Haven't looked further. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:07 PM Subject: [flexcoders] Re: List issues There also seems to be an issue with this line in the as var xmlResult:XML = XML(event.result); I get a 1120 error. --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] Re: List issues
from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] Managing (http)session data from java code
An HttpRequest object is only valid within the context of a Servlet servicing a specific request. You probably don't want to hang onto this instance, and it will only be non-null in FlexContext while a request is being processed. That's try of all the getters on FlexContext; their state is valid while a request is being processed, and will generally be null at all other times and in any other context. If the client is interacting with the server over an Http-based channel, the server-side FlexSession will actually be wrapping the J2EE server's HttpSession instance. So if you code against FlexSession, any attributes you set are written through to the Java HttpSession, and you can read any attributes that were previously set in the HttpSession. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vttanhua Sent: Friday, January 11, 2008 11:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Managing (http)session data from java code I'm trying to access http session from java code (separate EJB3 project)(through FlexContext.getHttpRequest()) but when I'm trying to use my class from other java classes I get nullpointer exception for FlexContext.getHttpRequest(). So am I missing some important point here? I have created a java class like this: public class SessionRO { public HttpServletRequest request = null; public FlexSession session = null; public SessionRO() { request = FlexContext.getHttpRequest(); session = FlexContext.getFlexSession(); } public String getAttribute(String keyName){ return (String)FlexContext.getHttpRequest ().getAttribute(keyName); } public void setAttribute(String keyName, String value) { FlexContext.getHttpRequest().setAttribute (keyName, value); }
[flexcoders] Re: List issues
Thanks for that still no change. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] Re: List issues
Your result handler specifies a parameter 'Event' which should be 'event'. Haven't looked further. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:07 PM Subject: [flexcoders] Re: List issues There also seems to be an issue with this line in the as var xmlResult:XML = XML(event.result); I get a 1120 error. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Maven Flex Plugin v1.3 Released
Greetings all, Version 1.3 of the Maven Flex Plugin is now in the wild. It has not yet been synced to the main maven repositories, but should be later this evening (I think they have a 4 hour cycle...). This version... well, I'll just cut and paste from the project site: This version includes several critical fixes to bugs that were introduced in 1.2, as well as some nice features like... Flex3 support!!! Happy New Year. Sadly, I pushed out ASDoc support until 1.4 in order to get these critical fixes out. 1.2 was a bit of a disaster, but the tests are improved, so hopefully that sort of thing won't happen much more. warm regards, Christian.
[flexcoders] Re: List issues
There also seems to be an issue with this line in the as var xmlResult:XML = XML(event.result); I get a 1120 error. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] LCDS AMF call not firing result events,busycursor does not go away
Yes, if you're not seeing any exceptions in your server log files for these calls and the client's result or fault handler callbacks are not being invoked it's most likely due to intermittent network issues between some of your clients and your server(s). Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Monday, January 14, 2008 3:27 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] LCDS AMF call not firing result events,busycursor does not go away Thanks a lot, Seth. Given that most of the time, this does work correctly, it's most likely a network issue (for one reason or another), right? Or can you think of other possible causes? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Seth Hodgson [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away Date: Mon, 14 Jan 2008 14:58:27 -0800 The busy cursor is set when a RemoteObject operation is invoked using CursorManager.setBusyCursor(). It's removed when a result or fault for the invocation is returned, via a call to CursorManager.removeBusyCursor(). If you're not receiving a result or fault event, that would explain why the busy cursor is not being unset. RemoteObject, and the other RPC-related client components, define a 'requestTimeout' property that represents the number of seconds the RemoteObject will wait for a response or fault from the server/network before giving up and just faulting the call locally on the client. You may want to enable this property, in order to abort requests that are lost in the network (although this sort of failure should be very intermittent and if it's common you should do more debugging or your network to attempt to determine why the requests are dropping). Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Monday, January 14, 2008 9:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] LCDS AMF call not firing result events, busycursor does not go away Ok, I suppose there may be no answer since this is not exactly a minimal test case. Let me simplify the question: Under what circumstances would a RemoteObject AMF call not restore the cursor from the 'busy' state? Relevant source: override public function init():void { // create service _remote = new RemoteObject(); _remote.showBusyCursor = true; _remote.destination = fooService; _remote.addEventListener(result, handleResultReceived); _remote.addEventListener(fault, handleFault); var params:Object = new Object(); for each (var f:Filter in _filterCollection.filters) { if (f.isServerFilter) { f.refreshValue(); params[f.field] = f.value; } } _remote.executeStaticQuery(super._queryId, params, super._serverTransformer); } Again, this error is not consistently reproducible: it works most of the time, but occasionally, the busy cursor never goes away, and neither the result handler nor the fault handler get invoked. I can understand that the handlers not getting invoked could be something that I'm doing wrong, but why would the busy cursor stay? Any suggestions? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Maciek Sakrejda [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] LCDS AMF call not firing result events, busy cursor does not go away Date: Fri, 11 Jan 2008 10:52:53 -0800 I'm running into some odd Flex behavior, and I was wondering if anyone had run into something similar before. Basically, it looks like my RemoteObject result handlers are sometimes not being called. More specifically, I have a remote object that corresponds to a Java class which makes a jdbc call and returns some data. This remote object call is invoked from a button and adds a new tab to a dashboard. The new tab renders the results. Most of the time, this works fine, but occasionally, the AMF call never fires the handler (neither success nor failure), and the busy cursor never goes away. I've double-checked to make sure that I register result handlers before I invoke the method. The flashlog.txt file does not show anything odd. A Java thread dump on the server does not show any outstanding AMF calls being serviced, and if I re-try the same action, it works fine (although the original tab still never gets any data). The busy cursor remains until I close the client Flash object, but other than that, the client behaves normally. I've verified that the event listeners are being added before the remote call is made, but it almost seems like a bigger issue: the busy cursor should go away as soon as the result event is fired, whether I registered for it or not, right? For what it's worth, I seem to hit
[flexcoders] Re: List issues
Thanks for the doc. I am actually using the trial of Flex 3 right now. I haven't decided if I want to use flex. if I can't get this app to work I will just go back to AJAX and PHP. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: You are using FlexBuilder? In which case check out the debugger that is part of flexbuilder: http://learn.adobe.com/wiki/display/Flex/Debugging+tutorial (The tutorial is forFlex 3, but should help). Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:30 PM Subject: [flexcoders] Re: List issues Thanks for the suggestion and I appreciate that you give me more credit than I deserve but I am not sure what you are talking about. --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: The debugger is your friend. Try putting a breakpoint on the result handler, then look at what you get. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:19 PM Subject: [flexcoders] Re: List issues Yep that killed that error. No results but error gone thanks. Silly spelling Monkee got me again --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: Your result handler specifies a parameter 'Event' which should be 'event'. Haven't looked further. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:07 PM Subject: [flexcoders] Re: List issues There also seems to be an issue with this line in the as var xmlResult:XML = XML(event.result); I get a 1120 error. --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
[flexcoders] Re: List issues
Thanks for the suggestion and I appreciate that you give me more credit than I deserve but I am not sure what you are talking about. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: The debugger is your friend. Try putting a breakpoint on the result handler, then look at what you get. Paul - Original Message - From: markcavins [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:19 PM Subject: [flexcoders] Re: List issues Yep that killed that error. No results but error gone thanks. Silly spelling Monkee got me again --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: Your result handler specifies a parameter 'Event' which should be 'event'. Haven't looked further. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 11:07 PM Subject: [flexcoders] Re: List issues There also seems to be an issue with this line in the as var xmlResult:XML = XML(event.result); I get a 1120 error. --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: from the applicationcreation complete event perhaps? creationComplete=tempXML.send(); It's just that declaring the tempXML service doesn't fetch anything unless you call the send() method, and there's no use of send() in your code. Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:52 PM Subject: [flexcoders] Re: List issues Where would you use a send() in this case? --- In flexcoders@yahoogroups.com, Paul Andrews paul@ wrote: You have remembered to call the send() method? Paul - Original Message - From: markcavins markcavins@ To: flexcoders@yahoogroups.com Sent: Monday, January 14, 2008 10:25 PM Subject: [flexcoders] List issues I am having the same issue of data not being returned into the app. mx:HTTPService id=tempXML resultFormat=e4x result=onResult(event) url=https://{customer.text}.mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=critamp;username={username.text}amp;password={password.text}; / mx:TileList dataProvider={_xlcMyListData} width=344 backgroundColor=#00 color=#ff fontSize=27 borderColor=#00 columnWidth=300 rowHeight=50 themeColor=#808080 fontWeight=bold allowMultipleSelection=true id=TileList1 height=0 y=202 x=178/ mx:Script ![CDATA[ import mx.rpc.Events.ResultEvent; import mx.collections.XMLListCollection; [Bindable] private var _xlcMyListData:XMLListCollection; private function onResult(Event:ResultEvent):void { var xmlResult:XML = XML(event.result); var xlMyListData:XMLList = xmlResult.myListData; _xlcMyListData = new XMLListCollection(xlMyListData); trace(_xlcMyListData.toXMLString()); } ]] /mx:Script I've tried the dataProvider={tempXML.lastResult.asset.fleet } and when I first start the app I see nothing but then if I hit refresh I get [Object, object] as a response. I can look in firebug and see that I am getting the proper data. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links