Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation
Jochem, the express license is for LCDS and it's valid no matter you deploy it standalone or with CF so you can use Express version (2.6.x) with CF9. The main reason why the CF team stop bundle it with the installer is the fact the new LCDS doesn't provide an express version, so they prefered to bundle BlazeDS instead and provide a readme for a manual installation. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation
On 23-02-2010 19:13, lordali wrote: below instruction for installing LCDS. 3) Copy the lcds_install_root/resources/lib/flex-messaging*.jar files and overwrite them into the ColdFusion /lib directory. Anyone. When you install LCDS, you'll pick a J2EE install (not tomcat). The jars you need will be under the path that was mentioned /resources/lib/. Regarding the license, you need to be sure that you cannot have LCDS container accessing more than 1 CPU with maximum 2 cores. The best to get the better performance is to deploy LCDS ouside CF so your CF instance can fully take advantage of the machine and only LCDS will be limited. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses
From my POV, a more profitable approach would be a modular license where features could be added as needed. For our current application we don't need anything related to LC or PDF generation or even Edge servers, however we do need real-time data messaging and the new reliable messaging. The full package could be the current price but it could be modular in features like: * nº of concurrent users * support for edge servers * pdf generation * LC integration I've spoken with Anil and shared my opinion, to me it's not getting it for free at all, I'm sure I wouldn't mind to start at a 7.5K -10K range and increase the price as we add additional features. LCDS has been an amazing product and each new release brings a lot of amazing features which makes total sense to pay for them, but Adobe should try to get more adoption. LCDS could and should be a reference in the RIA space. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses
No, CF9 is bundled with BlazeDS and can have LCDS 2.6.x deployed on it (manually merging). Currently there is no LCDS 3 support for CF9. João Fernandes On 23 January 2010 08:22, Glenn Williams gl...@tinylion.co.uk wrote: [Attachment(s) #1265a47372272d14_TopText from Glenn Williams included below] I didn’t know cf9 had lcds 3 tom? tiny*lion* development design *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Tom Chiverton *Sent:* 22 January 2010 09:47 *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses On Thursday 21 Jan 2010, busitech wrote: How are these changes affecting your business? Dunno about price, but have you looked at ColdFusion? Comes with LCDS and a bunch of other stuff. -- Helping to administratively introduce granular revolutionary prospective one-to-one customers as part of the IT team of the year 2010, '09 and '08 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 together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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*http://www.Halliwells.com . -- João Fernandes image001.jpg
Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses
No Jeff, BlazeDS is the 'downgrade' path ... LCDS provides data management which is not available on BlazeDS. Indeed people using Free or Departmental will end up with a locked product. I wish that LCDS would become more affordable somehow and become more mainstream. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Flex, SOAP and Process Flow
That said, since #2 doesn't tell me what user it's replying no to, if I do this in a loop with 100 users, it could be replying back with 20 nos and I can't tell how I'd match the replies up with the requests. Yes you can, try using the asyncToken generated by service.invokeWs(user) and store your user in some property (eg. currentUser) , once you get the resultEvent, that AsyncToken will have the corresponding user stored (event.token.currentUser). -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Flex, SOAP and Process Flow
You can add a responder to your AsyncToken which will carry your fault and result handlers. 2010/1/18 trefalgar trefal...@yahoo.com For those wanting to follow this suggestion, there's a good example here: http://livedocs.adobe.com/flex/3/html/help.html?content=data_4.html. It's towards the bottom, Using a return token. Unfortunately, this example doesn't appear to work for me. It uses the Flex-built SOAP code and an AsyncToken to keep track of things. I don't have a FaultEvent.FAULT or ResultEvent.RESULT option when adding an event listener to my AsyncToken. Back to the drawing board I go. Jacob --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, João Fernandes joaopedromartinsfernan...@... wrote: That said, since #2 doesn't tell me what user it's replying no to, if I do this in a loop with 100 users, it could be replying back with 20 nos and I can't tell how I'd match the replies up with the requests. Yes you can, try using the asyncToken generated by service.invokeWs(user) and store your user in some property (eg. currentUser) , once you get the resultEvent, that AsyncToken will have the corresponding user stored (event.token.currentUser). -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org) -- João Fernandes
Re: [flexcoders] Livecycle Data Services ES2 : cost per cpu
You should contact Adobe representative for that. FDS started at 12.000 2CPU and got rebranded to LCDS and got a price increase too (everything which uses LifeCycle is pricy). I wish they they would go to the broader reach approach but I think it's more like the other way around. -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Anyone using Flex with LCDS ColdFusion
Brendan, I daily fight against LCDS + CF problems too. Sorry if I missed any previous emails but flexcoders is quite heavy in email traffic. I'm currently running with CF8.0.1 and LCDS 2.6. Didn't upgrade to 2.6.1 since it seems there are a lot of new bugs. So, what issues do you have with this combo? -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Anyone using Flex with LCDS ColdFusion
Charles, LCDS brings Flex applications to a new level of data centric applications. LCDS is a super-set of BlazeDS, everything it's in Blaze is also available in LCDS. LCDS does however contain a Data Management service which relies on Messaging to keep all your clients connected to the same data in sync. Other key features is support for RTMP and NIO endpoints that allow you to support 1000+ concurrent users per server when BlazeDS doesn't support more than a few hundreds. I know that Farata System guys did add support for NIO but don't know if they provided it publicly and free of charge. -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Removing the rollover color of the AdvancedDataGridHeader
Hello, I am fighting with the AdvancedDataGrid to try to remove the rollover color of the headers. We have skinned the DataGrid so it looks like: http://www.webfuel.pt/jsaleiro/headerRollover.jpg But as you can see, on the second image on the above url, when the user rolls over the header, the rollover indicator spoils the design. Which method should I override to remove this rollover color (or replace it with a better rolloverSkin) ? Thanks, João Saleiro CTO @ Webfuel Adobe Certified Expert Adobe Community Expert Co-founder of the Portuguese RIA Community
[flexcoders] Is there a best-practice for knowing when a component is being shown to the user
Hello, imagine an application composed of a nested hierarchy of Components, ViewStacks, View States, Navigators, etc. How can a component on the bottom of the hierarchy run a function every time he is shown to the user? The show event is only dispatched when the component visibility changes to true. If we are changing the component's parent visibility, the component might not be visible on screen, but the event is never dispatched. So, this means that a component never knows if it is being shown to the user or not (really visible!). This is a huge problem, since until now I wasn't able to find a clean an unobtrusive solution. Is there a best-practice for solving this problem? Thanks, João Saleiro
[flexcoders] Re: Is there a best-practice for knowing when a component is being shown to the user
Hum... it's seems this is already filled on Adobe bugbase: https://bugs.adobe.com/jira/browse/SDK-14150
Re: [flexcoders] Thanks to Adobe...
Matt, I really hope that there will be more interaction with the community in the future so we can avoid this kind of issues https://bugs.adobe.com/jira/browse/SDK-17854 :) /me runs -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Problematic bug on Datagrid with itemEditors, when running on IE or FF
Hi, There is a problematic bug on the DataGrid and AdvancedDataGrid that occurs on IE or FF, but not on Google Chrome. It occurs when we are using an itemEditor on a column. Check the Datagrid with itemEditors example on LiveDocs: http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_8.html Go to the first example using FF or IE: Example: Preventing a cell from being edited 1- Click on row 1, column Artist. The ItemEditor appears; 2- Click on row 2, column Album. The selectedItem changes to row 2, and the previous itemEditor is destroyed. No itemEditor is created, as expected 3- Do Alt+Tab to a another window; 4- Do another Alt+tab to get back to the browser window; 5- You'll see that row 1 was automatically selected, and the itemEditor is shown. Also, the itemEditBegin event is called; Expected behaviour: - The selectedItem should stay on the row 2, without creating the itemEditor It seems this doesn't happen on Google Chrome. I have filled the bug here: https://bugs.adobe.com/jira/browse/SDK-18849 I have reported the bug here on flexcoders to ask if there is a workaround, since this problem is creating us some problems. Not only users get confused, as our itemEditBeginHandler is being called twice, resulting on wrong business logic on the case of our application. Thanks, João Saleiro
[flexcoders] Extending the DataGrid so it supports an editable row
Hi, it seems that currently a DataGrid only supports one itemEditor simultaneously, applied to one cell. We are currently in need to have one item editor for each cell in one line. In our application it makes complete sense that the DataGrid rows have the state being edited, so when clicked/rollover, every cell on that row turns into a specific Flex control (combo, datefield, etc). This means that we need to extend the DataGrid and implement this feature. Apparently, it seems that the DataGrid is composed of an array of DataGridColumns, so it's not aware of rows - which complicates things. I am a bit stuck with this... can someone point me a direction? Thanks, João Saleiro -- CTO @ Webfuel Adobe Certified Expert Adobe Community Expert Co-founder of the Portuguese RIA Community
[flexcoders] Getting the style from CSS to apply on a styleFunction
Hello, I have and AdvancedDataGrid, where one of the columns have a custom styleFunction. That function is currently something like: private function styleValueLabel(item:Statement, column:AdvancedDataGridColumn):Object { if (item.isIncome) return { color: 0x00FF00 } return null } I have everything related with styles on a runtime css file, except that Object being returned above. I have created on the CSS the following style selector: .incomeValue { color: #00FF00; } How do I change the above function so it returns the incomeValue style selector ? The getStyle method only returns the style for a property... Thanks, João Saleiro
[flexcoders] Re: Getting the style from CSS to apply on a styleFunction
Ok, I can get the CSSStyleDeclaration using: var s2:CSSStyleDeclaration = StyleManager.getStyleDeclaration(.incomeValue); The problem is that I need to return a simple object. Inspecting the content of the CSSStyleDeclaration class, I saw that the overrides property has the object I need, but that property is protected. I can extend this class, and expose the overrides property, but that sounds a bit hackish. Isn't there a direct way to convert a CSSStyleDeclaration to a plain object? Thanks, João Saleiro
[flexcoders] Return style object from a CSSStyleDeclaration
Humm... Ok, I have a custom style called .incomeValue defined on my CSS file. I need to return that style as an Object on a styleFunction. I can access that style as an instance of CSSStyleDeclaration by making var s2:CSSStyleDeclaration = StyleManager.getStyleDeclaration(.incomeValue) But I need to return it as an Object, not a CSSStyleDeclaration. There should be a direct way to return from a CSSStyleDeclaration the object with the structure that a styleFunction needs
[flexcoders] Re: Getting the style from CSS to apply on a styleFunction
It worked like a charm!! Thank you Amy :)
[flexcoders] Passing data to a cell on a DataGrid, and putting there a ComboBox
Hi, My application has an AdvancedDataGrid that shows a list of data. I would like that the user could edit data on the DataGrid itself just by clicking on a row/cell. After the click, that cell shows a ComboBox filled with data that comes from other data source different from the datasource provided to the AdvancedDataGrid. My problems are: 1- Best practices to pass the data (that comes from other datasource) to the ComboBox on the cell ? Should I extend the ADG ? 2- To show the ComboBox on the cell, the proposed solution is to use an itemRenderer or an itemEditor? What's the difference between both, and which one of them fits better on my problem ? 3- After the user chooses the value, I need to save the change somewhere. I am thinking on dispatching an event, with bubbles = true, and catching it on the AdvancedDataGrid parent. Do you think this is a good approach? Thanks, João Saleiro
Re: [flexcoders] Re: LCDS - adding a new Item using createItem()
Bart, during the sync method, when you create your bean, are you setting the new generated Id back again into the bean? -- João Fernandes Adobe Certified Expert Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Any Developers on a Mac?
It lacks some wizards in LCDS data connections, I think I use a MB for developing. Pretty good experience, that is :) Em 2008/12/29, às 11:12, Josh McDonald escreveu: Just general stability, which is (AFAIK) all the fault of the Eclipse team and Apple HQ's low-prioritising of Java, not Adobe's. And IIRC there's a small part of the web service - AS3 generation stuff missing, but it's never been part of my workflow so I can't remember what that is. It's in the archives for the list though. On Mon, Dec 29, 2008 at 9:04 PM, Jim Hayes j...@primalpictures.com wrote: General platform discussions aside, what is it that makes flexbuilder slightly worse on mac than it is in windows? I'm considering trying out a macbook pro as my next laptop (been on windows, sometimes linux, for past ten years or so), but most of my work is in flexbuilder these days so it would be nice to know. Many thanks! -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: 29 December 2008 10:44 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Any Developers on a Mac? Kevlar suit... *check*! It's good. I'm happy with it, many people are. I think it's much better, many people agree. And many *other* people here will call me a big girl for thinking so. Which I find hilarious. But this is a well-abused topic here. Builder is slightly better in Windows. in my opinion everything else is better on Mac :) -Josh On Mon, Dec 29, 2008 at 8:24 PM, composerguru kbmulvih...@gmail.com wrote: I'm thinking of converting now that I've dumped Vista... just wondering what your experience might be and if you recommend the change? Thanks in advance, Kevin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo ! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: j...@gfunk007.com :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk __ 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. __ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | -- Therefore, send not to know For whom the bell tolls. It tolls for thee. Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: j...@gfunk007.com :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk
[flexcoders] Best practices for the naming of item renderers ?
Hi, is there a best practice for the naming of item renderers? Thanks, João Saleiro
[flexcoders] Re: Best practices for the naming of item renderers ?
For example, a List component shows Users. Each user has a picture and some data, shown thanks to an ItemRenderer class. I would like to know if there are best practices for naming ItemRenderer classes. Thanks, João Saleiro
[flexcoders] Re: Best practices for the naming of item renderers ?
I'm talking about some kind of coding conventions. In a team environment it's a good practice to make everyone follow the same coding conventions. Different programmers give more or less the same names to classes/methods/properties, etc since all of them follow the same rules. Unfortunately we do not have rules for naming Item Renderer classes so I'm researching if there are any coding conventions for this files - else, we need to create our own conventions. Thanks, João Saleiro
[flexcoders] Return two instances of objects keeping the same reference on the Actionscript s
Hello, imagine the following scenario: - backend in AMFPHP; - a remote procedure that returns a complex type: Categories[] CategoryVO (#12334) id: 1 name: Accounting etc... CategoryVO (#34221) id: 2 name: Reporting etc... - Another remote procedure that returns another complex object: UserVO (#5456) id: 1 name: John Doe CategoryVO (#2145) id: 2 name: Reporting The category of the user John Doe is Reporting, id 2. It's the same previously returned by the other service, on the position 1 of the categories array. The problem is that, on the client side: categories[1]==user.category is false. It's the same category, the problem is that when the object mapping occurs on the client side, it creates a new reference, so they are different instances of the same object. Right now, we need to make some loopings on the client-side to find and replace references. This involves a lot of work, and has performance considerations. Is it possible, or is there a solution to make same objects returned from the server side have same references on the client side? Thanks, João Saleiro CTO @ Webfuel Adobe Community Expert Co-founder of the Portuguese RIA Community
[flexcoders] Object databases
Hello, I am researching on Object Databases to integrate with our RIA solutions. We have to build a statistics system to handle complex databases that can have tables with more than 900.000.000 records. The system needs to be VERY efficient (i.e. return the result of a calculation in less than 4 seconds). We are curious about Object Databases, especially the Versant one. We have read all their marketing material, but I would like to prefer the opinion of someone who has used ODBMS. Does someone here has experience with this kind of solutions? Thanks, João Saleiro CTO @ Webfuel Adobe Community Expert Co-founder of the Portuguese RIA Community
[flexcoders] How can I make an ItemRenderer on a Datagrid react to a row selection?
Hi, I have a Datagrid with several rows and columns. I am using ItemRenderers on the cells. I need that a specific ItemRenderer changes the way it looks when the row where he's in is selected. How can I achieve that? Is it possible to make the itemrenderer know that and react in real time? Or is it preferable to extend the DataGrid? Thanks, João Saleiro
[flexcoders] Re: How can I make an ItemRenderer on a Datagrid react to a row selection?
I solved it by implementing the IDropInListItemRenderer and listening to DataGrid(listData.owner).addEventListener(ListEvent.CHANGE, listChangeHandler) It's not a best practice, but for now it's enough. JS --- In flexcoders@yahoogroups.com, Jo�o [EMAIL PROTECTED] wrote: Hi, I have a Datagrid with several rows and columns. I am using ItemRenderers on the cells. I need that a specific ItemRenderer changes the way it looks when the row where he's in is selected. How can I achieve that? Is it possible to make the itemrenderer know that and react in real time? Or is it preferable to extend the DataGrid? Thanks, João Saleiro
Re: [flexcoders] Upgrading from Flex 2 with LCDS 2.5 to Flex 3 with LCDS 2.6
does you project contain the fds_rb.swc in the libs folder or under the library classes path? That swc you'll find in /{LCDS install}WEB-INF/flex/locale/en_US -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] How can the tooltip access the component that is responsible for making it appea
Hi, I am extending the Flex tooltips to make them more powerful. Right now I need that the tooltip can access the component that is responsible for making it appear, but it seems it hasn't a reference to that component Any suggestion? Thanks!, João Saleiro
Re: [flexcoders] (unknown)
Hi Just google for David Tucker's blog ;) Em 2008/10/02, às 04:02, Anand Kumar escreveu: Hi, Please some one explain me about Cairngorm architecture. Thanks Anand
Re: [flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??
Shigeru, it works as expected in both 2.5.1 and 2.6. Try to enable and check the logs to track it down. -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Property isLoading in class Image?
Hi, I need to know on a specific moment if an instance of class Image is loading content or not. Is there any property on class Image to indicate that? Thanks, João Saleiro
Re: [flexcoders] Re: LCDS + CF : How can I change bean's property of new version on creation?
Shigeru, so that property is a read only property?is it just a timestamp for conflict resolution? You shouldn't need that since that's what the sync method is all about, to detect possible conflicts and throw them. How could your bean at creation be in a conflict anyway? João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??
addChangedPropertyName is used to inform the changeObject that additional fields were updated besides the ones sent by the client. If during the update process, you decide to update a new field based on some condition, you change it, you commit it and then notify the change object that property has been changed, so, once clients get the notification, they will know that some additional change in a field has been made. -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] LCDS + CF : How can I change bean's property of new version on creation?
Shigeru, when you create new items , a refill is made to your collection and it will compare it with the previous fill, so since you didn't update the hoge property, it won't be reflected in your refill. If you do this instead cfset new.hoge = 123 cfset new = dao.create(new) cfset co.setNewVersion(new) cfset co.processed() your hoge will be committed to the db and will be reflected in the result of the fill. -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] LCDS : changeObject.addChangedPropertyName works correctly??
Shigeru, are you sure there isn't any fault or conflict every two times? Are you sucessfully commiting that value to the db? I've been using addChangedPropertyName for a long time without an issue, both 2.5.1 and 2.6. -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Passing an object to an ItemRenderer used by DataGridColumn inside a DataGrid
Hi, I have a DataGrid where one of the columns has a custom ItemRenderer. I need to pass an extra object to the item renderer (beside of the data object, provided via the dataProvider). My first option was to extend the DataGridColumn and add a public property to pass the needed object. But I was stuck on that point since I don't know how to access that object from the ItemRenderer. Any suggestions? Thanks!, João Saleiro
[flexcoders] Scrollbar - add easing to the scrolled content
Hello, I have a scrollbar applied to the content of a Canvas (it's not a list control). Is it possible to easily add easing to the movement of the content being scrolled? Thanks, João Saleiro
[flexcoders] Re: Communication between custom preloader and the application
I am doing this because: - I want my preloader to make an end transition (imagine a fade out) when it reaches 100%; - I want my application to make a start transition (imagine a fade In) when it's loaded; While the preloader is fading out, the application already started to fade in. So when the preloader disappears, the application intro coreography is almost finished. I need my application intro coreography to start only when the preloader ended it's fade out animation. I have solved this by using Max' tip, by calling a Application.application.initCoreography() method. Thanks, João Saleiro --- CTO @ Webfuel Adobe Community Expert Co-founder of the Portuguese RIA Community --- In flexcoders@yahoogroups.com, Pedro Sena [EMAIL PROTECTED] wrote: Hi João, Why are you trying to do this? Just for curiosity... Regards On Mon, Sep 1, 2008 at 9:33 AM, João [EMAIL PROTECTED] wrote: Hello, I have created a custom application preloader as described here: http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php I need my preloader to communicate with the application, by dispatching an event or calling a method on the appliaction where it resides, but I'm not being able to make them communicate. Any suggestions? Thanks, João Saleiro -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer * * Net Sar * www.netsar.com.br */
[flexcoders] Communication between custom preloader and the application
Hello, I have created a custom application preloader as described here: http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php I need my preloader to communicate with the application, by dispatching an event or calling a method on the appliaction where it resides, but I'm not being able to make them communicate. Any suggestions? Thanks, João Saleiro
Re: [flexcoders] Can we implement custom authentication per destination of DataService?
Shigeru, by using setRemoteCredentials on your destination you should be able to achieve something similar. setRemoteCredentials are accessible trough cflogin and during onRequestStart you can validate which assembler is being called. What I really do is to have dumb assembler which call in fact ColdSpring services which I can intercept with AOP advices and implement any kind of logic there. -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Flash Player 10 Release Date?
Sherif, maybe with the release of Flex 4, they might want to have FP10 with a nice penetration ratio. If I recall correctly, Matt mentioned that for each new major version of Flex, Adobe will target a version with a very large penetration ratio so if Flex 4 targets FP10 and it's launch it's by June (in worst case scenario) and it takes FP at least 6 months to have that ratio, I can imagine that FP will be launch by December... or even sooner... like ... MAX? Wild guess of course :) -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] LCDS 2.6 Streaming endpoint problem
Hi, I'm replacing the rtmp by the nio-Streaming-amf channel ( in conjunction with the nio-polling-amf ) but now my destinations are throwing an error saying that the streaming endpoint doesn't support polling. It's weird because the streaming channel doesn't have any polling enabled (since it doesn't apply). Here is my streaming definition ( added serialization rules for CF ) which is shared with my nio-polling and nio-amf channels. channel-definition id=my-streaming-nio-amf class=mx.messaging.channels.StreamingAMFChannel endpoint url=http://{server.name}:2080/{context.root}/streamingnioamf; class=flex.messaging.endpoints.StreamingNIOAMFEndpoint/ server ref=my-nio-server/ properties serialization instantiate-typesfalse/instantiate-types /serialization /properties /channel-definition the error raised: Error: StreamingAMFChannel does not support polling. at mx.messaging.channels::StreamingAMFChannel/poll()[E:\dev\3.0.3\frameworks\projects\rpc\src\mx\messaging\channels\StreamingAMFChannel.as:160] at mx.data::DataStore/doPollIfNecessary()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:3299] at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::doCommit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:1826] at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::internalCommit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:818] at mx.data::ConcreteDataService/commit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:337] at mx.data.mxml::DataService/commit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\mxml\DataService.as:433] -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: LCDS 2.6 Streaming endpoint problem
bug #367 BTW, this only happens when trying to commit changes, performing fills works as expected (using streaming Channel) but once I try to use ds.commit([item],true) it throws that error. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: DateFormatter Problem
Dominic, I guess your problem is the one I reported here http://bugs.adobe.com/jira/browse/SDK-13650 It has been fixed in revision 2306 so if you use Flex 3.1 (NB 2312) I guess you won't have that problem anymore. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Air and Blazeds?
Mark, how does your endpoint URL in your services-config.xml look like? Are you using the default file as the one use in a Flex Project? -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] flex2gateway Error
Sherif, can you try to point it directly to the cfserver port instead apache port 80? http://mysitename. com:{CFServerPortNumber}/flex2gateway/cfamfpolling and see if it throws the same error? -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] flex2gateway Error
check if in your web.xml ( under {cfusionInstance}/WEB-INF/ ) you have the flex2gateway mapping listed !-- Flash Remoting/Flex mapping -- servlet-mapping id=coldfusion_mapping_0 servlet-nameMessageBrokerServlet/servlet-name url-pattern/flex2gateway/*/url-pattern /servlet-mapping -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] flex2gateway Error
If you try to make your app to load directly from the ColdFusion instance instead of Apache, PHP wouldn't be able to interfere in the process. Check server logs to see if there was any problem to load the MessageBrokerServlet. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Can I work with charting components with a team that has only FB Standard?
Hello, I have a question that might be a common problem. Imagine a team of 8 people, each of them with a copy of FB 3 standard, working on the same project using source control to synchronize code. Now imagine a client that wants a sales chart on a specific view of the project. I will be the only guy working on that chart, so I have to buy at least one FB Professional license. Now, what I am afraid of is... what will happen when I synchronize my code with the rest of the team? Will they have their code broken ? Is it necessary that everyone has FB Professional in a situation like this, where only one guy will be coding with the charting components? Thanks, João Saleiro
[flexcoders] Re: Can I work with charting components with a team that has only FB Standard?
What if I work in a module that uses the charting components, and the others work in other modules that don't use charting components? Will that create licensing problems? I wish I could pass that costs to the clients but this is Portugal ... even banks discuss every little cent when it comes to pay... :) João Saleiro
[flexcoders] Re: Can I work with charting components with a team that has only FB Standard?
Thanks Matt. JS
[flexcoders] Which event is dispatched when the view is shown by a stage change?
Hello, I have a: - Container with two states ( and editing) - A view (LocaleEditor.mxml) that is shown when the container changes to the state editing: mx:states mx:State name=editing mx:RemoveChild target={listaDeLocales}/ mx:AddChild relativeTo={gestorDeLinguas} position=lastChild ns1:LocaleEditor id=localeEditor/ /mx:AddChild /mx:State /mx:states I need my view to execute some code when it is shown (myTextBox.setFocus() ). I have tried the creationComplete event, but the view is only created on the first time the state changes, the next times this event is not dispatched. I have tried the AddedToStage, but it throws a runtime error with the myTextBox.setFocus() code . I have tried the show event, but it simply doesn't work. Which event should I rely on to execute the myTextBox.setFocus() when the user sees the view? Thanks, João Saleiro
[flexcoders] Re: Which event is dispatched when the view is shown by a stage change?
Hi Jonathan, thanks for your great post! About the two solutions, I don't like both, but having to choose I would go with the first one. In the way I see it, the component should never know where he's in. The component should only know now I'm visible... now I'm not, and react to that. Both solutions are hacks. The Flex SDK should have a proper solution for this problem. Maybe I should file this as a feature request on the Adobe JIRA? Thanks, João Saleiro
Re: [flexcoders] flex+coldfusion8 w/blazeDS integrated --docs?
You can just define it as a standard ColdFusion + Remoting application since all Messaging classes are now part of the SDK. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Cairngorm Event Question
Tim, I don't use UM extensions and I'm totally able to notify my views just with Cairngorm. What I use usually is a model ( no matter what it is ) that I inject to my event , passes to the command and then on result/fault I update the same model. Since the model passes by reference, my view, which is listening (binding) to that model, can react to the 'notification'. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Verifyed RSL Digests for 3.0.2.2113 for framework caching
Matt, but since Adobe advises to upgrade to 3.0.2 due to a security bulletin, should Adobe provide all major functionalities? Right now we have to pick, the security fix or to be able to use the cache framework. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Debugging problems with Firefox 3 Final
Hi there, did anyone had problems with the final version of Firefox 3? Each time I make a change, I have to do a 'clean' to be able to debug my application again. Anyone noticed this? -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Debugging problems with Firefox 3 Final
Simply it hangs till I press stop debugging. it seems that is has already been reported http://bugs.adobe.com/jira/browse/FB-13064 -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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] Imported skin built using Flash doesn't work well with scale-9 and bitmaps
Hey guys, is this a bug or a missing feature? I have created a skin of a button on Flash CS3 using the Flex Skin Design Extensions. After importing the skin to Flex using the import artwork, the scale-9 grid doesn't work well if my button was skinned using bitmaps. -Is this supposed to happen? -Is there a workaround? -Should I fill this as a bug or wanted feature on the Adobe JIRA? Thanks, joão SAleiro
[flexcoders] Re: Imported skin built using Flash doesn't work well with scale-9 and bitmaps
I think this is an essential feature, and I wonder why it isn't supported right now. Flex can use scale-9 with directly imported bitmaps, why shouldn't it work with bitmaps imported from Flash CS3? I have created the feature request here: https://bugs.adobe.com/jira/browse/SDK-15575 Please, vote! :) Thanks, João Saleiro PS: In the meanwhile I guess I have to create my bitmap skins on external files, and set the scale-9 grid by hand on CSS
Re: [flexcoders] SOT: ColdFusion backend for Flex, what the heck am i doing wrong...
Jeff, I do exactly the same but I just use cflogin to leverage the credentials but I use my own authentication system. Nowadays I just keep in my sessions the minimum information that is related to security. Till now it has worked flawlessly. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Flex Profiler Not Connecting
try to change the profiler listener port, I had the same issue not long time ago and by changing the default () to something else fixed the problem. I was able to debug my apps but not able to profile them. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Can debug but Can't profile
Hi, for a few days already I'm totally unable to profile our applications but can debug them. I even switched to IE to avoid the Tab problem but no luck.When I launch the profile session the window never come up to pick the values. Is there a good guide anywhere to check what can be failing? I'm using 9.0.124 debug version in both browsers, Already tried with 9.0.115 and still no luck. My co-worker with 9.0.115 doesn't seem to have any problem. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Flex 3 registration for volume licensing
Hi, I just tried to register our serial number online but since they are from a volume license we can't register it here http://www.adobe.com/go/flex3_register . Aren't we eligible to get a copy of the SDK posters? thanks -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?
Ben, but that would mean that I would have a lot of code duplicated for each module, right? In this case, the cairngorm source (or, at least, the singletons). Am I right? It doesn't seem a good practice to me... what do you think? João Saleiro
[flexcoders] Weird stacktrace in Console panel
Hi there, does anyone stumble on this kind of stacktrace on the console panel? verify pt.cofina.sap.controller::ZREGISTOController$/canEditField() stack: scope: [global Object$] locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 0:debugfile D:\projects\IntranetFlex\src;pt\cofina\sap\controller;ZREGISTOController.as stack: scope: [global Object$] locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 4:debugline 122 stack: scope: [global Object$] locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 6:getlocal0 stack: pt.cofina.sap.controller::ZREGISTOController$ scope: [global Object$] locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 7:pushscope stack: scope: [global Object$] pt.cofina.sap.controller::ZREGISTOController$ locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 8:debug stack: scope: [global Object$] pt.cofina.sap.controller::ZREGISTOController$ locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 14:debug stack: scope: [global Object$] pt.cofina.sap.controller::ZREGISTOController$ locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 20:jump 198 B0: stack: scope: [global Object$] pt.cofina.sap.controller::ZREGISTOController$ locals: pt.cofina.sap.controller::ZREGISTOController$? pt.cofina.despesa.vo::ZREGISTOS? String? * 24:label stack: scope: [global Object$] pt.cofina.sap.controller::ZREGISTOController$ locals: pt.cofina.sap.controller::ZREGISTOController$? pt.cofina.despesa.vo::ZREGISTOS? String? * 25:debugline 128 . . and it ends like this 281:kill 3 stack: int scope: [global Object$] pt.cofina.sap.controller::ZREGISTOController$ locals: pt.cofina.sap.controller::ZREGISTOController$ pt.cofina.despesa.vo::ZREGISTOS? String? * 283:lookupswitch default:188 maxcase:4 24 65 106 147 188 -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?
Jon, regarding chain events, I use modular which allows this ( in fact thanks to Bjorn Schultheiss ). All you have to do is to have your events extend ChainEvent (which extends cairngormEvent ) and your commands extend SequenceCommand. Then you can combine any of those events in any order or you can use them /standalone./ something like this ev1: firstChainedEvent = new FirstChainedEvent(); ev2: secondChainedEvent= new SecondChainedEvent(); ev3: someOtherEvent = new SomeOtherEvent(); ev : ChainEvent = EventChainFactory.chainEvents( [ ev1 , ev2 , ev3 ] ); ev.dispatch(); all that your commands should do is to store in the command nextEvent property the value of chainEvent(e).nextChainedEvent and call executeNextCommand() on result and fault handlers. Of course this approach could be enhanced and add specific events based on a result or fault. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Weird stacktrace in Console panel
Alex, in fact it was a missing break in a switch statement. After adding the missing break; it started working again. Shouldn't the compiler check for the missing break ? -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Weird stacktrace in Console panel
But the problem is, the runtime error thrown isn't clear what the real problem is, it says that a classA and classA could not be reconciled when the real problem is that a break statement is missing, maybe a warning should be present when between two 'case' there is no break statement. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Where is adobe? Come to universities!
Mark, regarding the FlexCamp, I can tell you that they will do what they can. We setup in February our FlexCamp here in Portugal and it was a very successful event and Adobe ( Portugal and International ) helped a lot. As you can imagine, Portugal might not be the most interesting market and no less, they came here. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: FDS:one-to-many with lazy evaluation
Maybe it's how you define the employees property in your DTO. I guess you're using JAVA, and I can't help you there because I use CF and an Array in CF will be converted an ArrayCollection in Flex. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: FDS:one-to-many with lazy evaluation
to use xxx-to-many when dealing with managed Objects you just need to fill the related items within the main assembler that you are requesting. If you change anything to any of those ( or add any related item ) those will be redirected to the corresponding destination. In case of the Company Employees example, your Company Assembler will return a list of Companies, each with Employees properties filled totally or only with IDs ( in case you'll use lazy loading ). If you add a new employee to any of the companies, that Item, once commited will be sent to the employeeAssembler and get updated with the corresponding ID once the transaction is successfully committed. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: RPC FaultEvent with BlazeDS
is BlazeDS installed under 'Components' folder??? I guess it's your context-root that's wrong. Try to set it as '/' and do a clean on your project then your calls should try to connect to http://localhost:8400/messagebroker/amfpolling -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: RPC FaultEvent with BlazeDS
Dominic check the BlazeDS context-root is running from. If you deployed it under a blazeds folder, you should try to to set that as the context-root for your application. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] BlazeDS License Error
Dominic, it's BlazeDS that has expired, not Flex Builder. BlazeDS does have a new version available at http://opensource.adobe.com/wiki/display/blazeds/BlazeDS -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway
also, why are you using cf-polling-amf channel for a remote object? Shouldn't you use the cf-amf one? Also, as Tom said, when you change anything in your configuration, you might want to do a project clean to be sure that your app uses the latest version of your services-config.xml. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Creating RTMPChannel at run time
you need to have fds.swc and fds_rb.swc from the LCDS server available in your library path. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Creating RTMPChannel at run time
Which version of LCDS are you running? -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Flex 3 and AIR 1 are now live!
Hi Matt, thanks for the links, I can now start sneaking around all those links ;) -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Milestone 4 - beta - color code and formatting for code
Patrick, start FlexBuilder with the /clean command. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: Milestone 4 - beta - color code and formatting for code
I'm using FB standalone too :) just open a command prompt and execute flexbuilder.exe /clean -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: AIR and LCDS, Channel.Connect.Failed error
Eduard, you need to set the full URL in your endpoints when using AIR. Instead of http://{server.name} you should use http://www.mydomain.com/... -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: Flex Feedback for the Future
There is also this Enhancement Request for MARS support https://bugs.adobe.com/jira/browse/SDK-13895 which would be perfect in my opinion. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: Flex Feedback for the Future
Mars is a XML representation of a PDF. Having a MarsLoader component and an AS3 API to produce those kind of documents, we would be able not only to generate powerful reports but also able to view them within our Flex applications. By voting to this ER , if it doesn't get implemented at least we will know why since it seems that they are committed to give an explanation ( http://weblogs.macromedia.com/mchotin/archives/2008/02/flex_4_sdk_feat.cfm ) -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org -- 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] Compilation error when using localization
Copy the datavisualization_rb.swc from the en_US folder to your fi_FI locale folder ( inside sdks\3.0.0\frameworks\locale ) -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Re: Is it possible to have a dynamic services/channel/endpoint URI?
Dave, only server.name and server.port are evaluated at runtime, context.root isn't. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
[flexcoders] VideoDisplay throws Error: Cannot call reconnect on an http connection.
Hello, I have a form where the user can select videos to play on a VideoDisplay. Everything works just fine, except if the user changes videos too fast. When that happens, sometimes it's thrown the error Error: Cannot call reconnect on an http connection. I don't know what's causing this, neither how to solve me. Any suggestion? Thanks, João Saleiro www.riapt.org www.webfuel.pt
[flexcoders] Re: Bug when extending in Flex a component created in Flash CS3 ??
Thank you Alex, worked just fine! :) João Saleiro --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Try public dynamic class TestExtended extends Test From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Sent: Saturday, February 09, 2008 8:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug when extending in Flex a component created in Flash CS3 ?? After some hours fighting, I've tried to create the simplest test case to solve one problem I was having with a component created in Flash CS3 and exported to Flex. I have created in Flash CS3 a very simple component: - One MovieClip Test (without code or graphics) - Inside that MovieClip, another one (without code or graphics) with an instance name set myMC Then I used Flex Component Kit for Flash CS3 to export the SWC of the Test component. In Flex Builder, I've started creating an instance of the Flash CS3 component on an empty MXML Application file. Compiled. Worked fine. Then, I decided to create the extended version of my component. So: package pt.webfuel.view.components { public class TestExtended extends Test { } } Then I changed my MXML Application file so that is calls the extended version: componentes:TestExtended/ Compiled without errors. But after opening on the browser, I get an exception: ReferenceError: Error #1056: Cannot create property myMC on pt.webfuel.view.componentes.TestExtended. at flash.display::Sprite/constructChildren() at flash.display::Sprite() at flash.display::MovieClip() at mx.flash::UIMovieClip()[E:\dev\flex_3_beta3\sdk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:475] [etc. If you need the full message, please ask] Am I missing something here, or is this a bug? Should I file this on the Flex bugbase? Also, is there a solution? This is creating us a lot of troubles :| Thanks, João Saleiro
[flexcoders] Bug when extending in Flex a component created in Flash CS3 ??
After some hours fighting, I've tried to create the simplest test case to solve one problem I was having with a component created in Flash CS3 and exported to Flex. I have created in Flash CS3 a very simple component: - One MovieClip Test (without code or graphics) - Inside that MovieClip, another one (without code or graphics) with an instance name set myMC Then I used Flex Component Kit for Flash CS3 to export the SWC of the Test component. In Flex Builder, I've started creating an instance of the Flash CS3 component on an empty MXML Application file. Compiled. Worked fine. Then, I decided to create the extended version of my component. So: package pt.webfuel.view.components { public class TestExtended extends Test { } } Then I changed my MXML Application file so that is calls the extended version: componentes:TestExtended/ Compiled without errors. But after opening on the browser, I get an exception: ReferenceError: Error #1056: Cannot create property myMC on pt.webfuel.view.componentes.TestExtended. at flash.display::Sprite/constructChildren() at flash.display::Sprite() at flash.display::MovieClip() at mx.flash::UIMovieClip()[E:\dev\flex_3_beta3\sdk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:475] [etc. If you need the full message, please ask] Am I missing something here, or is this a bug? Should I file this on the Flex bugbase? Also, is there a solution? This is creating us a lot of troubles :| Thanks, João Saleiro
[flexcoders] Is it possible to call a command automatically when compiling ends?
Is it possible to configure FB so that after the compiling ends, an external command is called? I know that if i use ant tasks this might be solved, but I was looking for something simpler. Does this feature exists? Is there any simple and straightforward way to achieve this? Thanks, João Saleiro
Re: [flexcoders] HTTPService or URLRequest Request header Question
this is true, you can't use authorization token in headers anymore within Flash Player. This is big step backwards in my opinion -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Conflict Management using Flex/CF references?
yes, that's available in 7.0.2 but be prepared to change some code since there are specific requirements. If you're looking for locking data for specific to specific users, that's not implemented, you have to handle it yourself. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org
Re: [flexcoders] Flex Messaging + CF8 with embedded LC integration question
Did you uncomment the cf-rtmp channel in the services-config.xml? by default that channel is commented. João Fernandes On 18/01/2008, flexuser1 [EMAIL PROTECTED] wrote: Hi I've been trying to make a simple app with flex messaging service. All the tutorials I see are for Flex 2 and CF7 using FDS. However, I am using Coldfusion 8 with embedded LCDS. When I try to run my simple chat app I get this output in the console using tracetarget. = 'chatSubscriber' consumer subscribe. 'cf-rtmp' channel endpoint set to rtmp://localhost:8500 'cf-rtmp' channel settings are: channel id=cf-rtmp type=mx.messaging.channels.RTMPChannel endpoint uri=rtmp://{server.name}:{server.port}/ properties/ /channel [SWF] /Flex/chat/bin-debug/ChatAppFinished.swf - 743,790 bytes after decompression 'cf-rtmp' channel got connect attempt status. (Object)#0 code = NetConnection.Connect.Failed level = error = I've fully edited the xmls as needed I think. I've added the destinations etc. Is there anyone who's experienced enough to know why there's a NetConnection.Connect.Failed message? I have a fully remote server with this and you can login to take a look. -- João Fernandes
[flexcoders] Does Flex needs a url to a WSDL to know how to connect to a webservice?
Hello, we have built a Flex application that connects to Web-Services created by a third-party. The problem is that our client doesn't want the WSDL publicly accessible. Is there a way to have Flex connecting to web-services without the need of an WSDL? For example, by embedding the WSDL on the swf, or something like that? I have tried removing the WSDL argument and hardcoding the endpointURI on the WebService tag, but this way it simples doesn't work. Is there a solution? Thanks, João Saleiro
[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
Re: [flexcoders] difference b/w Cairngorm 2.2.1 and Cairngorm Enterprise 2.2.1
Cairngorm enterprise adds support for LCDS messaging data management. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org