RE: [flexcoders] Available Backend Frameworks
missing many. read up on the serverside.com JDO, EJB, spring, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhlerSent: Wednesday, May 18, 2005 4:28 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Available Backend Frameworks What are the backend frameworks that are available? Tartan Hibernate ColdSpring Am I missing any? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
RE: [flexcoders] E4X in Flex 2.0, part 1: Reading XML
HOW DO I JOIN THE FLEX.NET ALPHA/BETA TEST GROUP? J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes Sent: Wednesday, May 18, 2005 5:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] E4X in Flex 2.0, part 1: Reading XML heheheheheheh thats funny. I had to do a double take and thought am i reading the right list here or... Nice work ;) On 5/18/05, Hans Omli [EMAIL PROTECTED] wrote: I don't suppose we'll be reading part 2 of this email via FlexCoders then. ;-) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith Sent: Tuesday, May 17, 2005 5:15 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] E4X in Flex 2.0, part 1: Reading XML Oops... I meant to send this to an internal group, not to flexcoders. Enjoy the information, but, for now, don't expect this level of detail about our future plans. Of course, we do want your feedback on features for the next release, and we'll be sharing more plans with you in the future, as we get closer to the next release. Sorry, Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith Sent: Tuesday, May 17, 2005 4:54 PM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] E4X in Flex 2.0, part 1: Reading XML As you may have gathered, we've been spending a lot of time lately leveraging the new features of the Flash Player in the new Flex application model. Naturally, you'll also be able to leverage those same new features, so we thought we'd start giving you a run down of what's new. Of course we don't have beta software for you to play with yet, so for now, we'll provide a lot of detail so you can evaluate these new features and give guidance for us. XML manipulation in Flex 2.0 is going to get a lot more powerful, as well as faster. By the time that Flex 2.0 ships, the Flash Player will support E4X (ECMAScript for XML), a set of programming language extensions adding native XML support to ECMAScript. The player team is busy implementing Standard ECMA-357 as described in http://www.ecma-international.org/publications/standards/Ecma-357.htm. Here's how the spec describes what this feature offers: E4X adds native XML datatypes to the ECMAScript language, extends the semantics of familiar ECMAScript operators for manipulating XML objects and adds a small set of new operators for common XML operations, such as searching and filtering. It also adds support for XML literals, namespaces, qualified names and other mechanisms to facilitate XML processing. Lets take a look at a few examples of how you can read XML data using E4X. As in the current player, you'll be able to create variables of type XML by parsing a String. But XML literals will now be supported as well: var employees:XML = employees employee ssn=123-123-1234 name first=John last=Doe/ address street11 Main St./street citySan Francisco/city stateCA/state zip98765/zip /address /employee employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street cityNewton/city stateMA/state zip01234/zip /address /employee /employees; Instead of using DOM-style APIs like firstChild, nextSibling, etc., with E4X you just dot down to grab the node you want. Multiple nodes are indexable with [n], similar to the elements of an Array: trace(employees.employee[0].address.zip); --- 98765 To grab an attribute, you just use the .@ operator: trace([EMAIL PROTECTED]); --- 789-789-7890 If you don't pick out a particular node, you get all of them, as an indexable list: trace(employees.employee.name); --- name first=John last=Doe/ name first=Mary last=Roe/ (And note that nodes even toString() themselves into formatted XML!) A handy double-dot operator lets you omit the path down into the XML _expression_, so you could shorten the previous three examples to trace(employees..zip[0]); trace([EMAIL PROTECTED]); trace(employees..name); You can use a * wildcard to get a list of multiple nodes or attributes with various names, and the resulting list is indexable: trace(employees.employee[0].address.*); --- street11 Main St./street citySan Francisco/city stateCA/state zip98765/zip trace([EMAIL PROTECTED]); --- Doe You don't have to hard-code the identifiers for the nodes or attributes... they can themselves be variables: var whichNode:String = zip; trace(employees.employee[0].address[whichNode]); --- 98765 var whichAttribute:String = ssn; trace([EMAIL
RE: [flexcoders] Disappearing images in custom cell renderer
Manish, What happens if you set 'source' directly instead of using binding? Try it. Unfortunately, because of the way the data is fetched from the server, the data required (i.e. the thumbnail URL) may not be back before the component is initialised, hence the binding. But your suggestion did point me in the direction of a fix... It seems that there was a problem initially setting the source as effectively a non-existant image and then overwriting that when the proper URL was actually retrieved. What I ended up doing was not initially specifying a source for the mx:Image tag, but then when the appropriate asset data had been retrieved from the server, using an explicit img.load() call to load the thumbnail. So now the image source gets (re)set when and only when the effective source is both a non-empty string and is different to the current source. Seems to be doing the job! Cheers, Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] E4X in Flex 2.0, part 1: Reading XML
You have to know the secret handshake, aswell as perform a series of trials ..i call them rights of flex-passage :) heh, umm i think they aren't even at the stage of Alpha yet, let alone any secret squiirel groups. :) ... or are they...hrmm! ;) -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] SynergyFLEX Framework Presentation.
Q. What is the rationale for SynergyFLEX? ~~ Good Question, one not answered easily as it has so many reasons. My rationale? well to develop a FLEX application with training wheels on. hehe. The concept came about after wanting a clean MVC/MVP approach to my application, while allowing me to build / maintain an application in a manner that allows co-developers to focus separately on the independent parts (services, views, connecting logic, effects etc). In order to understand how/why SynergyFLEX you kind of have to take a glance at either Mach-II (cfmx/php) or right to the source, Implicit Invocation. SynergyFLEX in a nutshell simply promotes code-reuse as much as possible, even in parts where its not obvious. It also allows the developer(s) to build applications in a way that if requirements change (lets face it, brainstrust tend to have a mind of a child at times) you can do so with minimal effort / ripple effects. The way it carries out this holy grail of a dream, is via the use of XML. Now, using XML inside MXML seems such a waste, and that's why i've abstracted that portion into its own class now - for those who prefer a command syntax approach can do so. The XML approach does have its perks, in that you could really build an XML config on the fly via server-side languages like CFMX - which FLEX could use to assemble the parts required for a persons FLEX application. The really nice positive associated with the XML config, is that it transparently does a bunch of import clasXYZ automatically - without most realizing it. That then in many ways negates a lot of the creationPolicy hurdles. (ie depending on context, creationPolicies can vary). I initially did not want to use XML config, but i realistically cannot see an alternative to what I hoped SynergyFLEX would do - that is, provide you the developer a birds-eye approach to assembling your application(s) in a effortless way. Q. How does it compare to other frameworks, such as Cairngorm ~~ In certain lights they share a similar goal, but in the end they really aren't easily compared. I liked Cairngorm from a cleaner standpoint in terms of code storage, but found it a tedious exercise in terms of file management to simply get the ball rolling on tasks. I'm a fan of automation, in that i find that a framework should in many ways hide complexity while at the same time assist rather then impose. To get started with the current frameworks out there, you kind of have to study them intimately, then hope for the best. I hope SynergyFLEX can allow you to not entirely focus on the innards, more the higher level of follow the XML layout and anything you don't understand, you have the room to simply adhoc your way through until you do. An example is binding and servicelocation? If i have 8 view pods and all feed off 3 independent services, i kind of want to create a basic link from ServiceA.methodX Result to viewpodE.tree.dataProvider. THen if another viewpod (say viewpodF) makes a data change to that result stack, the two can be automatically updated by the initial link and vice versa. Stuff like that is trivial task in SynergyFLEX as its a matter of stating what resultKey you want your viewpod to watch/listen to, then simply using a notify node in XML, make such a request. eg: event context=showDefault viewpod name=demoapp.DemoTreeContainer mappingKey=myUniqueID refresh={false} flush={false} binding source=model_MyTreeData destination=treeDP bindingfilter=customFilter/ /viewpod notifyservice name=MyAliasToMyCFMXFacade method=getMyTreesData resultKey=model_MyTreeData/ /event event context=showOther notifyservice name=MyAliasToMyCFMXFacade method=getMyTreeNewData resultKey=model_MyTreeData/ /event In a nutshell what happens here, is when the user triggers the event showDefault, it basically creates the viewpod in question, which is a container with a Tree control in it, which feeds off an empty model called treeDP. Then once its created, it basically setups a binding to the alias model_MyTreeData' - which at this point is empty. The framework then automatically invokes a service called MyAliasToMyCFMXFacade, stores that result against the alias (resultKey) within BindManager. This then triggers a ripple effect, which in the end updates the mx:Tree control via populating its model. Stuff like that, in comparison to other frameworks? For me, i'm yet to see that as simplistic. Now if you wanted to filter that data before handing it to the mx:Tree you can do so by attaching a custom filter.. a custom filter is simply extended from a pre-made one, which you over-ride certain methods if you want, and carry out filtering logic. In the end, its up to you and the framework has that agile approach to common tasks. So not sure how it compares, but simply highlights tasks that should for my mind be automated to a certain
[flexcoders] Re: Cairngorm 0.99
great work!! I'm having same problem with the installation of the cairgormstore example, (I think the problem is whit the db files) after installing everything the application start but I get e message saying: Product could not be retrived! Like I said I think the problem is with db files (I'm a flash/flex developer and not very good with db), I'm not sure I put the store.cfg (do I need to copy it with the conf folder or just put the file in the classes dir) end db file in the right folders. Any help would be appriciated. PS. I'm using e flex developer edition on a integrated jrun installation. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Cairngorm 0.99
Hi, The store.cfg file should be in your WEB-INF/classes directory. Within that, the path to the database can be relative to your webapp context root, or absolute. The simplest way to get ti working is to change the path an absolute path, (eg, c:\cairngorm\db), create that directory and copy the contents of the db directory from the distribution into it. Restart your app server and it should all work. Cheers, Ali -- Alistair McLeod Development Director iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of violabg2002 Sent: 18 May 2005 11:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 great work!! I'm having same problem with the installation of the cairgormstore example, (I think the problem is whit the db files) after installing everything the application start but I get e message saying: Product could not be retrived! Like I said I think the problem is with db files (I'm a flash/flex developer and not very good with db), I'm not sure I put the store.cfg (do I need to copy it with the conf folder or just put the file in the classes dir) end db file in the right folders. Any help would be appriciated. PS. I'm using e flex developer edition on a integrated jrun installation. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] What is Cairngorm? Flexstore vs cairngormStore
Hi all, I've been out of the flex world for 3 months and now Im reading about something called Cairngorm? So what is Cairgorm exactly? What are the advantages of using cairngorm vs not using it? I have installed the cairgormStore sample and seems quite the same thing as the flexstore one. Thank all! -- Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: What is Cairngorm? Flexstore vs cairngormStore
Hello Alberto, Cairngorm is an open-source framework to help you build robust flex applications. CairgormStore is a re-writting of the original FlexStore using Cairngorm instead of raw flex coding, so you can see how much more readable the application becomes. Ciao, r0main --- In flexcoders@yahoogroups.com, Alberto Albericio Salvador [EMAIL PROTECTED] wrote: Hi all, I've been out of the flex world for 3 months and now Im reading about something called Cairngorm? So what is Cairgorm exactly? What are the advantages of using cairngorm vs not using it? I have installed the cairgormStore sample and seems quite the same thing as the flexstore one. Thank all! -- Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] What is Cairngorm? Flexstore vs cairngormStore
I feel confortable with Flex and AS2 but I would like to understand the whole process of architecting flex RIAs to see how It can help in some new projects I have on mind. http://www.iterationtwo.com/consultancy.html :-) Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] What is Cairngorm? Flexstore vs cairngormStore
Steven, I would also encourage you to launch some kind of breeze presentation on building a small Flex application upon Cairngorm from zero so we can see the real advantages of architecting flex RIAs. Alternatively: http://www.macromedia.com/bin/max2005.cgi I'm happy to record presentations I've had to create elsewhere as Breeze presos. ;) Steven Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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 change the foldericon of the tree dynamically acording to some condition?
There is an example in the doc for this at: http://livedocs.macromedia.com/flex/15/flex_docs_en/0249.htm Stephen From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Wednesday, May 11, 2005 10:12 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] HOw to change the foldericon of the tree dynamically acording to some condition? iconFunction should return the symbol that should be used as the icon. So you would embed your image and then return it as appropriate: [Embed(source=myBookIcon.jpg)] var bookIcon : String; function iconFunc(item) { if (item.label == books) return bookIcon; else return someOtherIconName; } If you want to use the original icons if yours isnt appropriate you can get the defaultLeafIcon, folderOpenIcon, and folderClosedIcon (myTree.getStyle(defaultLeafIcon)) HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthikSent: Wednesday, May 11, 2005 2:41 AMTo: flexcodersSubject: [flexcoders] HOw to change the foldericon of the tree dynamically acording to some condition? hai, I'd like to know how to change the folderopen and folderclose icon of a tree control dynamically according to some condition (say when the node label is "books", i want the folderopenIcon to be 'books.png'..) help me with some code for this How should i use the IconFuntion in a tree? thanks, nithya Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Cairngorm 0.99
thanks Alistair, unfortunately that didn't solve the problem. I have copied the store.cfg file in the following dir: Flex\jrun4\servers\default\cairngormstore\WEB-INF\classes then I changed the path inside the store.cfg file like this: db_path=c:\cairngormstore\db connection_manager_impl=org.nevis.cairngorm.samples.store.dao.HSQLDBC onnectionManager #connection_manager_impl=org.nevis.cairngorm.samples.store.dao.MySQLC onnectionManager I then copied the contents of the db directory into c:\cairngormstore\db. restarted the server but still geting: Product could not be retrived! I tried using the netConnectionDebugger to see the call to the serveces and here they are: MethodName: productServiceImpl.getProducts Parameters (object #2) .[0] (object #3) .._flag: Envelope ..data (object #4) ...No properties ..headers (object #5) ...[0] (object #6) [0]: ServiceType [1]: (boolean) false [2]: stateless-class Status (object #2) .code: Server.Processing .description: org/apache/log4j/Layout .details: .level: error .type: .rootcause (object #3) ..code: (undefined) ..description: org/apache/log4j/Layout ..details: ..level: error ..type: is there a problem in reaching the service? BTW. in the Cairngorm RIA Microarchitecture pdf is written: Copy (contents of) webapp/ into WEBAPP_DIR/cairngormstore/ Copy conf/store.cfg and conf/log4j.properties to WEBAPP_DIR/WEB-INF/classes shouldn't it be WEBAPP_DIR/cairngormstore/WEB-INF/classes ? --- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED] wrote: ...the path to the database can be relative to your webapp context root... Actually, that's wrong, its relative to the directory in which the command to start the JVM was exectuted. On tomcat, if you start via the .bat files, this will usually be TOMCAT_HOME. Because JRun expands WAR files into its own directory structure, in that case, it might be easier to set an absolute path in store.cfg. Cheers, Ali -- Alistair McLeod Development Director iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair McLeod Sent: 18 May 2005 11:31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Cairngorm 0.99 Hi, The store.cfg file should be in your WEB-INF/classes directory. Within that, the path to the database can be relative to your webapp context root, or absolute. The simplest way to get ti working is to change the path an absolute path, (eg, c:\cairngorm\db), create that directory and copy the contents of the db directory from the distribution into it. Restart your app server and it should all work. Cheers, Ali -- Alistair McLeod Development Director iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of violabg2002 Sent: 18 May 2005 11:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 0.99 great work!! I'm having same problem with the installation of the cairgormstore example, (I think the problem is whit the db files) after installing everything the application start but I get e message saying: Product could not be retrived! Like I said I think the problem is with db files (I'm a flash/flex developer and not very good with db), I'm not sure I put the store.cfg (do I need to copy it with
RE: [flexcoders] Re: Cairngorm 0.99
Hey, then I changed the path inside the store.cfg file like this: db_path=c:\cairngormstore\db I think (from the HSQLDB docs) that should be: db_path=c:\\cairngormstore\\db\\ (ie you have to escape the \ character) Status (object #2) .code: Server.Processing .description: org/apache/log4j/Layout .details: .level: error .type: .rootcause (object #3) ..code: (undefined) ..description: org/apache/log4j/Layout ..details: ..level: error ..type: I'm concerned that the error you are getting here suggests that it's not finding the log4j classes; log4j is used at runtime to log exceptions, so if it's not finding your DB and then throwing an exception, it looks like you might ALSO not have the log4j jars copied out in the lib directory. If you can at all use Ant to build the app shouldn't it be WEBAPP_DIR/cairngormstore/WEB-INF/classes ? Good spot, we'll fix that :-) Let us know how you get on with the db_path above, Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Tooltip on DataGrid Cell?
You can get that by using a cellRenderer! I do not know if there is any other straight forward way to do this! JesterXL wrote: Not DataGrid, not DataGridColumn, but cell... anyone know how to get a tooltip on a DataGrid cell? --JesterXL Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Tooltip on DataGrid Cell?
...bleh... feature request! Thanks Sreejith! - Original Message - From: Sreejith Unnikrishnan To: flexcoders@yahoogroups.com Sent: Wednesday, May 18, 2005 9:21 AM Subject: Re: [flexcoders] Tooltip on DataGrid Cell? You can get that by using a cellRenderer!I do not know if there is any other straight forward way to do this!JesterXL wrote: Not DataGrid, not DataGridColumn, but cell... anyone know how to get a tooltip on a DataGrid cell?--JesterXL Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: E4X in Flex 2.0, part 1: Reading XML
Development time on my current project would be reduced considerably (as much as half) if I had access to this type of functionality. The $64M question...WHEN WILL FLEX 2.0 BE AVAILABLE - EVEN IN A BETA FORMAT? Thanks, -Dave --- In flexcoders@yahoogroups.com, Jeff Steiner [EMAIL PROTECTED] wrote: That is flat out increadible. I can't wait! Jeff http://www.flexauthority.com - Original Message - From: Jeff Beeman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 17, 2005 5:04 PM Subject: RE: [flexcoders] E4X in Flex 2.0, part 1: Reading XML This is very exciting! I'm especially excited about the double- dot and wildcard operators. Thanks for this update, as it'll help with planning for future projects. Keep 'em coming! /** * Jeff Beeman **/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, May 17, 2005 4:54 PM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] E4X in Flex 2.0, part 1: Reading XML As you may have gathered, we've been spending a lot of time lately leveraging the new features of the Flash Player in the new Flex application model. Naturally, you'll also be able to leverage those same new features, so we thought we'd start giving you a run down of what's new. Of course we don't have beta software for you to play with yet, so for now, we'll provide a lot of detail so you can evaluate these new features and give guidance for us. XML manipulation in Flex 2.0 is going to get a lot more powerful, as well as faster. By the time that Flex 2.0 ships, the Flash Player will support E4X (ECMAScript for XML), a set of programming language extensions adding native XML support to ECMAScript. The player team is busy implementing Standard ECMA-357 as described in http://www.ecma-international.org/publications/standards/Ecma- 357.htm. Here's how the spec describes what this feature offers: E4X adds native XML datatypes to the ECMAScript language, extends the semantics of familiar ECMAScript operators for manipulating XML objects and adds a small set of new operators for common XML operations, such as searching and filtering. It also adds support for XML literals, namespaces, qualified names and other mechanisms to facilitate XML processing. Lets take a look at a few examples of how you can read XML data using E4X. As in the current player, you'll be able to create variables of type XML by parsing a String. But XML literals will now be supported as well: var employees:XML = employees employee ssn=123-123-1234 name first=John last=Doe/ address street11 Main St./street citySan Francisco/city stateCA/state zip98765/zip /address /employee employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street cityNewton/city stateMA/state zip01234/zip /address /employee /employees; Instead of using DOM-style APIs like firstChild, nextSibling, etc., with E4X you just dot down to grab the node you want. Multiple nodes are indexable with [n], similar to the elements of an Array: trace(employees.employee[0].address.zip); --- 98765 To grab an attribute, you just use the .@ operator: trace([EMAIL PROTECTED]); --- 789-789-7890 If you don't pick out a particular node, you get all of them, as an indexable list: trace(employees.employee.name); --- name first=John last=Doe/ name first=Mary last=Roe/ (And note that nodes even toString() themselves into formatted XML!) A handy double-dot operator lets you omit the path down into the XML expression, so you could shorten the previous three examples to trace(employees..zip[0]); trace([EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ]); trace(employees..name); You can use a * wildcard to get a list of multiple nodes or attributes with various names, and the resulting list is indexable: trace(employees.employee[0].address.*); --- street11 Main St./street citySan Francisco/city stateCA/state zip98765/zip trace([EMAIL PROTECTED]); --- Doe You don't have to hard-code the identifiers for the nodes or attributes... they can themselves be variables: var whichNode:String = zip; trace(employees.employee[0].address[whichNode]); --- 98765 var
[flexcoders] HELP ASAP - Charting Multiple Selections in dataGrid
Everyone, I have been working on this for a week without resolution. If anyone can help I'd greatly appreciate it. I will be available by Yahoo Messenger as well as email and this board. Please let me know what you need from me in order to be effective in helping me. Thanks all, -Dave --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, I'm not really able to spot anything in here. You might need to distill this down into a complete example. Or perhaps you'll just need to run this in a debugger (break in the addSeries method) and see if you can figure out why the data isn't lining up correctly. Matt _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Sent: Friday, May 13, 2005 6:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Charting Multiple Selections in dataGrid CORRECTION: ALTHOUGH MINOR, THE CORRECT EVENT SHOULD BE change=webservice1.PulseGraphShareByCategory.send() JUST PASTED WRONG CODE ON LAST POST. --- In flexcoders@yahoogroups.com, Dave [EMAIL PROTECTED] wrote: Matt, Here is the code for the LineSeries if hard-coded to chart one selectedItem at a time from the dataGrid: mx:LineSeries name={Deposits.selectedItem.CATEGORY} xField=SCHEDDATE yField=TOTALBAL showDataEffect=drillDownEffect *Deposits is the name of the dataGrid When using this code, I attach the event change=webservice1.PulseGraphLoanByCategory.send() to the dataGrid. When trying to use the addSeries function, I remove that event handler and replace with change=addSeries() and place the call to the WS method in the addSeries script. That is one thing I'm not sure about. Here is the addSeries script: function addSeries() { webservice1.PulseGraphShareByCategory.send() linechartDeposits.series.removeAll(); for (var i=0; iDeposits.selectedIndices.length; i++) { var ls=new LineSeries(); ls.yField=Deposits.selectedItems[i].TOTALBAL; ls.xField=Deposits.selectedItems[i].SCHEDDATE; ls.name=Deposits.selectedItems[i].CATEGORY; linechartDeposits.series.addItem(ls); } } ALSO - the name field comes back defined (in the dataTips) but the yField and xField are undefined. Any help would be greatly appreciated! -Dave --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Are you making sure to only add the series after that data has been retrieved from the WS (in the result handler)? _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Sent: Thursday, May 12, 2005 10:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Charting Multiple Selections in dataGrid I'm stumped. I want my chart to add a series for each row selected from a corresponding dataGrid. I've used the Series Selection example (under Misc Techniques and Examples) here http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml as the model, but it still doesn't work. The dataGrid is getting data from a WS. When a row is selected, the CATEGORY field is used to retrieve data from a different WS. This works fine when hard-coding the LineSeries (e.g. mx:LineSeries name={Deposits.selectedItem.CATEGORY} xField=SCHEDDATE yField=TOTALBAL showDataEffect=drillDownEffect /) but I can't get it to work using the addSeries function. The different categories will appear in the legend as rows are multi- selected from the dataGrid, but the chart is a simple line across the top and the dataTips are undefined. Any ideas I know I'm close but unable to resolve. Thanks, Dave _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL
[flexcoders] Re: Cairngorm 0.99
Hi Steven changed the store.cfg paht to db_path=c:\\cairngormstore\\db\\ but same problem. I have h commons-lang-1.0.1.jar h commons-logging-1.0.4.jar h hsqldb.jar h log4j-1.2.8.jar in the Flex\jrun4\servers\default\cairngormstore\WEB-INF\lib directory. at this point I have tried to run the login example, but with non luck even here. I filled the form and press the login button and from the debugConnection I saw: MethodName: customerServiceImpl.login Parameters (object #2) .[0] (object #3) .._flag: Envelope ..data (object #4) ...[0]: (undefined) ..headers (object #5) ...[0] (object #6) [0]: ServiceType [1]: (boolean) false [2]: stateless-class shouldn't I see the login and passoword passed to the remoteObject? I'm getting really confused I'm not a beginner at least in the flex developmente (I'm not good in db and java) and I used the old but excellent Cairngorm 0.95 framework, I don't understand what I'm doing wrong. --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote: Hey, then I changed the path inside the store.cfg file like this: db_path=c:\cairngormstore\db I think (from the HSQLDB docs) that should be: db_path=c:\\cairngormstore\\db\\ (ie you have to escape the \ character) Status (object #2) .code: Server.Processing .description: org/apache/log4j/Layout .details: .level: error .type: .rootcause (object #3) ..code: (undefined) ..description: org/apache/log4j/Layout ..details: ..level: error ..type: I'm concerned that the error you are getting here suggests that it's not finding the log4j classes; log4j is used at runtime to log exceptions, so if it's not finding your DB and then throwing an exception, it looks like you might ALSO not have the log4j jars copied out in the lib directory. If you can at all use Ant to build the app shouldn't it be WEBAPP_DIR/cairngormstore/WEB-INF/classes ? Good spot, we'll fix that :-) Let us know how you get on with the db_path above, Best, Steven -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Serious corruption in Flex-generated SWF
If you are using custom components and this only occurs when recompiling, then try setting cache-swos in flex-config.xml to false. Setting this to false will degrade compilation performance a bit, but this setting has been known to cause a problem or two like this in the past. I don't know of any current problems like this for 1.5, but its something to try. If this is not a compile-time problem but rather a runtime problem, as it is for other people in the thread, then this setting won't help and unfortunately I don't know the solution. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Blair Sent: Tuesday, May 17, 2005 6:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Serious corruption in Flex-generated SWF Morning all, We're having severe issues with components within a Flex-generated SWF being displayed corrupt. The problem is that this doesn't happen all the time, and I can't seem to find a reproducable method of forcing the corruption. Examples of the sort of thing we're seeing can be seen here: http://kryten.rawnet.com/flex/flex-corrupt.html All corruption occurs at the same time (i.e. when one thing goes, they all go), but not all components are affected. The problem only seems to affect components displayed within an accordian, but again not all contained components are effected. If you look at example 1 on the page above, the items under edit existing... are corrupt, whereas those under the create new... heading are displayed fine. Does anyone have any idea what's going on here? Has anyone seen this before? Thanks, Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Some suggestion
Manish Jethani ha scritto: On 5/18/05, devis [EMAIL PROTECTED] wrote: please it's possibile to recreate a menu like my attachment (struts/html). I think you want to use a List with a custom cell renderer. Yahoo! Groups Links OK THANK'S, DO YOU KNOWS SOME LINK FOR LIST TUTORIAL Devis Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Explaining Flex Log In and User Role Functionality to Java Developers
Note that the J2EE way to check if a user is authenticated is to ask the current HttpServletRequest object whether it has a current principal (and whether that user is in a role for programmatic authorization). You can get hold of the current request object in your RemoteObject services from the threadlocal variables from flashgateway.Gateway. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: Wednesday, May 18, 2005 12:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Explaining Flex Log In and User Role Functionality to Java Developers Like Dave said, you could use setCredentials over the pipe to access remote methods, but for those who are anti-letting-client-side-have-username-password-stored-locally you can still leveridge existing session scope compliance. In that, you can make your backend handle its security model transparent to FLEX. One case is you could provide an api that asks the server a question before allowing them to continue.. eg: var doLogin:Boolean = remoteService.isAuthenticated() if(!doLogin) { // show login screen. } and... var isAllowed:Boolean = remoteService.canDeleteRowInGrid(obj.gridID) if(isAllowed) { // perform business logic } else { // perform exception logic. } Obviously thats a really verbose/plain ol simple example of the concept, but what i'm hinting at is you can leave that stuff' to server-side. As with FLEX you are treated the same as a normal HTML page (cookies, session scopes etc). On 5/18/05, dave buhler [EMAIL PROTECTED] wrote: Hi Leif, I had presented a similar question a few days ago regarding Flex and CF7 which runs on j2EE. I can share with you what I know, but I am also looking to learn more about security with Remoting, myself. You should be able to attach setCredentials to your Remote Call. I know setCredentials is configurable with CFLogin, which compiled down to Java on J2ee. Searching the Macromedia site for CFLogin and setCredentials should yield some additional information. Also, from my recollection, you will want to check permissions on each request before passing back data. Within Flex, you could check permissions on the result to see if permissions have changed. More info here: http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/ht ml/wwhelp.htm?href=0282.htm Also, the carbonFive project will have more information in depth for remoting and Java: http://carbonfive.sourceforge.net/flashgatekeeper/api/com/carbonfive/fla shgateway/security/package-summary.html Dave On 5/17/05, Leif Wells [EMAIL PROTECTED] wrote: Here's the deal. I have a client putting together a (fairly large) Flex application; actually the company that I work for is putting together the Flex portion and the client and another vendor is putting together the J2EE back-end. So they come to me and say How are we handling logging in a user. Are we using cookies? What we've done in the past with Flash (sorry. I know that's a dirty word here) is have the user log in and have the server pass back a user object that contains (among other things) a role. If the server doesn't pass the user object, then they get the login screen again. If the user is logged in, they see screens/forms per what level their role is set. The security on this new application is going to need to be a bit more strict. My problem is this: I am NOT a full-time J2EE developer and the people who are asking these questions are very experienced J2EE developers. Every time I attempt to explain to them how we should handle user log in I appearently am not using the correct words. Can someone either point me to a document that explains how user log in would normally would be handled with Flex in a J2EE environment? Or give it to me is easy to understand language so I can relieve these guys' (and my) stress? Is there a best practice for handling user login in a secure application? Also, they threw me a curve today: How do we handle it if a user's role is demoted or promoted in the middle of a session? Can we immediately change what they see on-screen? Or can we immediately have them log off? Any thoughts? Leif http://www.leifwells.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com
[flexcoders] Re: Announcing Flex Style Explorer
That's very handy, thanks! One thing though, the style of the three main Panels of the application are different than anything you can create with the current styles... Are we getting a glimpse of the future here? ;-) --- In flexcoders@yahoogroups.com, Jae Hess [EMAIL PROTECTED] wrote: Not sure if you have heard the news: Announcing Flex Style Explorer http://www.markme.com/mc/archives/007740.cfm Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Is there an easy way to do this
I know I probably can figure out how to do this eventually. My problem with my programming skills is my programs tend to be bigger and more filled with code than they need to be. So I am trying to learn to get the job done with less code. Here is one thing I trying to do and its been making me crazy, is lets say you have eight people ok and they each have a certain number of apples in there bag.with nobody having the same amount. So lets say I want to get the top three people who have the most apples listed respectively alongside the person who has the apples. Is there an easy way to do this? I mean I have thought about making several arrays and doing loops but for some reason I feel there is a much easier way. Any suggestions? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Announcing Flex Style Explorer
Wow Fantastic very very good Devis temporal_illusion ha scritto: That's very handy, thanks! One thing though, the style of the three main Panels of the application are different than anything you can create with the current styles... Are we getting a glimpse of the future here? ;-) --- In flexcoders@yahoogroups.com, Jae Hess [EMAIL PROTECTED] wrote: Not sure if you have heard the news: Announcing Flex Style Explorer http://www.markme.com/mc/archives/007740.cfm Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Explaining Flex Log In and User Role Functionality to Java Developers
Brian, Thanks for identifying a resource that I should have looked at a long time ago!On 5/18/05, Brian Deitte [EMAIL PROTECTED] wrote: This article could also be very helpful to the experienced J2EE developers andgive them an idea of how Flex security works. Lastly, I would try setting up the example in the article or the examples found in : {flex.location}/resources/security/examples Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Announcing Flex Style Explorer
If only you could BUILD a form with it dynamically ;-) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of temporal_illusion Sent: 18 May 2005 16:52 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Announcing Flex Style Explorer That's very handy, thanks! One thing though, the style of the three main Panels of the application are different than anything you can create with the current styles... Are we getting a glimpse of the future here? ;-) --- In flexcoders@yahoogroups.com, Jae Hess [EMAIL PROTECTED] wrote: Not sure if you have heard the news: Announcing Flex Style Explorer http://www.markme.com/mc/archives/007740.cfm Yahoo! Groups Links This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Some suggestion
yes, it's good, in this way i can personalize also the menu. But about you that component i can use for put image,line and text( 2 text exactly)? Devis -Original Message- From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Date: Wed, 18 May 2005 12:22:24 -0400 Subject: RE: [flexcoders] Some suggestion What about a custom component for the item, then data driven in a repeater? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Wednesday, May 18, 2005 11:27 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Some suggestion On 5/18/05, devis [EMAIL PROTECTED] wrote: please it's possibile to recreate a menu like my attachment (struts/html). I think you want to use a List with a custom cell renderer. Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Serious corruption in Flex-generated SWF
If this is not a compile-time problem but rather a runtime problem, as it is for other people in the thread, then this setting won't help and unfortunately I don't know the solution. -Brian Thanks Brian, but unfortunately it's a runtime issue. The problem only seems to occur on components that have not already been created, so I've added a couple of creationPolicy=all parameters to the containers which seems to have aleviated the issue for now. Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Is there an easy way to do this
Use a single array, and look into Array.sort(). It allows you to define and pass function that will sort the array however you want. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 11:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is there an easy way to do this I know I probably can figure out how to do this eventually. My problem with my programming skills is my programs tend to be bigger and more filled with code than they need to be. So I am trying to learn to get the job done with less code. Here is one thing I trying to do and its been making me crazy, is lets say you have eight people ok and they each have a certain number of apples in there bag.with nobody having the same amount. So lets say I want to get the top three people who have the most apples listed respectively alongside the person who has the apples. Is there an easy way to do this? I mean I have thought about making several arrays and doing loops but for some reason I feel there is a much easier way. Any suggestions? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Tooltip on DataGrid Cell?
Check out dataTips and dataTipFunctions From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Wednesday, May 18, 2005 6:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tooltip on DataGrid Cell? ...bleh... feature request! Thanks Sreejith! - Original Message - From: Sreejith Unnikrishnan To: flexcoders@yahoogroups.com Sent: Wednesday, May 18, 2005 9:21 AM Subject: Re: [flexcoders] Tooltip on DataGrid Cell? You can get that by using a cellRenderer! I do not know if there is any other straight forward way to do this! JesterXL wrote: Not DataGrid, not DataGridColumn, but cell... anyone know how to get a tooltip on a DataGrid cell? --JesterXL Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] E4X in Flex 2.0, part 1: Reading XML
There is nothing active in our Flex.NET forums right now so dont worry about it J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes Sent: Wednesday, May 18, 2005 2:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] E4X in Flex 2.0, part 1: Reading XML You have to know the secret handshake, aswell as perform a series of trials ..i call them rights of flex-passage :) heh, umm i think they aren't even at the stage of Alpha yet, let alone any secret squiirel groups. :) ... or are they...hrmm! ;) -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Some suggestion
The component can be any container. If you are going to have a fixed size for the menu, then I would create an mxml component using a canvas. Canvas allows you to specify the exact location of each element (image, and the text or label controls). This is fastest to render, and easy to control. If you think you might want to allow a developer to modify the width, (or content!) of each menu item, use some combination of HBox and Vbox. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of devis Sent: Wednesday, May 18, 2005 12:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Some suggestion yes, it's good, in this way i can personalize also the menu. But about you that component i can use for put image,line and text( 2 text exactly)? Devis -Original Message- From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Date: Wed, 18 May 2005 12:22:24 -0400 Subject: RE: [flexcoders] Some suggestion What about a custom component for the item, then data driven in a repeater? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Wednesday, May 18, 2005 11:27 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Some suggestion On 5/18/05, devis [EMAIL PROTECTED] wrote: please it's possibile to recreate a menu like my attachment (struts/html). I think you want to use a List with a custom cell renderer. Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Serious corruption in Flex-generated SWF
I'm also using deferred instantiation, but it is too important for me to give up. Users will just have to refresh when this happens, which is not very often. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Blair Sent: Wednesday, May 18, 2005 12:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Serious corruption in Flex-generated SWF If this is not a compile-time problem but rather a runtime problem, as it is for other people in the thread, then this setting won't help and unfortunately I don't know the solution. -Brian Thanks Brian, but unfortunately it's a runtime issue. The problem only seems to occur on components that have not already been created, so I've added a couple of creationPolicy=all parameters to the containers which seems to have aleviated the issue for now. Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Announcing Flex Style Explorer
Excellent - I found how to set a style in LinkBar that I have never been able to find. Thanks Jonathan Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: E4X in Flex 2.0, part 1: Reading XML
Weve said many times now that there is no public date available on Flex 2 including beta. But as David Mendels has said before, its still a ways out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Sent: Wednesday, May 18, 2005 6:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: E4X in Flex 2.0, part 1: Reading XML Development time on my current project would be reduced considerably (as much as half) if I had access to this type of functionality. The $64M question...WHEN WILL FLEX 2.0 BE AVAILABLE - EVEN IN A BETA FORMAT? Thanks, -Dave --- In flexcoders@yahoogroups.com, Jeff Steiner [EMAIL PROTECTED] wrote: That is flat out increadible. I can't wait! Jeff http://www.flexauthority.com - Original Message - From: Jeff Beeman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 17, 2005 5:04 PM Subject: RE: [flexcoders] E4X in Flex 2.0, part 1: Reading XML This is very exciting! I'm especially excited about the double- dot and wildcard operators. Thanks for this update, as it'll help with planning for future projects. Keep 'em coming! /** * Jeff Beeman **/ _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith Sent: Tuesday, May 17, 2005 4:54 PM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] E4X in Flex 2.0, part 1: Reading XML As you may have gathered, we've been spending a lot of time lately leveraging the new features of the Flash Player in the new Flex application model. Naturally, you'll also be able to leverage those same new features, so we thought we'd start giving you a run down of what's new. Of course we don't have beta software for you to play with yet, so for now, we'll provide a lot of detail so you can evaluate these new features and give guidance for us. XML manipulation in Flex 2.0 is going to get a lot more powerful, as well as faster. By the time that Flex 2.0 ships, the Flash Player will support E4X (ECMAScript for XML), a set of programming language extensions adding native XML support to ECMAScript. The player team is busy implementing Standard ECMA-357 as described in http://www.ecma-international.org/publications/standards/Ecma- 357.htm. Here's how the spec describes what this feature offers: E4X adds native XML datatypes to the ECMAScript language, extends the semantics of familiar ECMAScript operators for manipulating XML objects and adds a small set of new operators for common XML operations, such as searching and filtering. It also adds support for XML literals, namespaces, qualified names and other mechanisms to facilitate XML processing. Lets take a look at a few examples of how you can read XML data using E4X. As in the current player, you'll be able to create variables of type XML by parsing a String. But XML literals will now be supported as well: var employees:XML = employees employee ssn=123-123-1234 name first=John last=Doe/ address street11 Main St./street citySan Francisco/city stateCA/state zip98765/zip /address /employee employee ssn=789-789-7890 name first=Mary last=Roe/ address street99 Broad St./street cityNewton/city stateMA/state zip01234/zip /address /employee /employees; Instead of using DOM-style APIs like firstChild, nextSibling, etc., with E4X you just dot down to grab the node you want. Multiple nodes are indexable with [n], similar to the elements of an Array: trace(employees.employee[0].address.zip); --- 98765 To grab an attribute, you just use the .@ operator: trace([EMAIL PROTECTED]); --- 789-789-7890 If you don't pick out a particular node, you get all of them, as an indexable list: trace(employees.employee.name); --- name first=John last=Doe/ name first=Mary last=Roe/ (And note that nodes even toString() themselves into formatted XML!) A handy double-dot operator lets you omit the path down into the XML _expression_, so you could shorten the previous three examples to trace(employees..zip[0]); trace([EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ]); trace(employees..name); You can use a * wildcard to get a list of multiple nodes or attributes with various names, and the resulting list is indexable: trace(employees.employee[0].address.*); --- street11 Main St./street citySan Francisco/city stateCA/state zip98765/zip trace([EMAIL PROTECTED]); --- Doe You don't have to hard-code the identifiers for the nodes or attributes... they can themselves be variables: var whichNode:String = zip; trace(employees.employee[0].address[whichNode]); --- 98765 var whichAttribute:String = ssn; trace([EMAIL PROTECTED]); ---
Re: [flexcoders] Tooltip on DataGrid Cell?
Awesome, works great, thank you! - Original Message - From: Matt Chotin To: flexcoders@yahoogroups.com Sent: Wednesday, May 18, 2005 12:21 PM Subject: RE: [flexcoders] Tooltip on DataGrid Cell? Check out dataTips and dataTipFunctions From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXLSent: Wednesday, May 18, 2005 6:29 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Tooltip on DataGrid Cell? ...bleh... feature request! Thanks Sreejith! - Original Message - From: Sreejith Unnikrishnan To: flexcoders@yahoogroups.com Sent: Wednesday, May 18, 2005 9:21 AM Subject: Re: [flexcoders] Tooltip on DataGrid Cell? You can get that by using a cellRenderer!I do not know if there is any other straight forward way to do this!JesterXL wrote: Not DataGrid, not DataGridColumn, but cell... anyone know how to get a tooltip on a DataGrid cell?--JesterXL Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Explaining Flex Log In and User Role Functionality to Java Developers
Highly educational. Thanks Brian.On 5/18/05, Brian Deitte [EMAIL PROTECTED] wrote: Instead of giving the information to you in the easiest language, I'm just going to try to give you a whole lot of information. :) I would first suggest looking at how J2EE security works. The first place I can think of is here: http://livedocs.macromedia.com/jrun/4/Programmers_Guide/security_servlet.htm Althrough I'm sure there's other great tutorials around. Next I would read this article, and not just because I wrote it: http://www.macromedia.com/devnet/flex/articles/security_framework.html This article could also be very helpful to the experienced J2EE developers andgive them an idea of how Flex security works. Lastly, I would try setting up the example in the article or the examples found in : {flex.location}/resources/security/examples Hope that helps, Brian From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Leif WellsSent: Tuesday, May 17, 2005 11:10 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Explaining Flex Log In and User Role Functionality to Java Developers Here's the deal. I have a client putting together a (fairly large) Flex application; actually the company that I work for is putting together the Flex portion and the client and another vendor is putting together the J2EE back-end. So they come to me and say How are we handling logging in a user. Are we using cookies? What we've done in the past with Flash (sorry. I know that's a dirty word here) is have the user log in and have the server pass back a user object that contains (among other things) a role. If the server doesn't pass the user object, then they get the login screen again. If the user is logged in, they see screens/forms per what level their role is set. The security on this new application is going to need to be a bit more strict.My problem is this: I am NOT a full-time J2EE developer and the people who are asking these questions are very experienced J2EE developers. Every time I attempt to explain to them how we should handle user log in I appearently am not using the correct words. Can someone either point me to a document that explains how user log in would normally would be handled with Flex in a J2EE environment? Or give it to me is easy to understand language so I can relieve these guys' (and my) stress? Is there a best practice for handling user login in a secure application?Also, they threw me a curve today: How do we handle it if a user's role is demoted or promoted in the middle of a session? Can we immediately change what they see on-screen? Or can we immediately have them log off? Any thoughts?Leifhttp://www.leifwells.com Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Panel hearder-colors restriction or bug
I started playing with the Style Explorer (very cool!!!) and was trying to mess with the head-colors and making a nice gradient. I tried some hex colors and it came out wrong. So I made a quick example in FlexBuilder only to find that Flex/Flash is not behaving how I would expect it. If I specify a single color for the header I get that color no matter the value. If I specify a second color, for the gradient I assume, I get black. See example code below. I know that I am not using colors from the color picker in the Style Explorer so I am guessing there is some restriction on the colors I can choose. Can somebody confirm or deny this? If there are restrictions what are they? Thanks, -Kent ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel title=This is a test Panel mx:LabelPlace holder label/mx:Label /mx:Panel mx:Style Panel { header-colors: #B5E3E2, #DCF5F4; } /mx:Style /mx:Application The significant problems we face cannot be solved at the same level of thinking we were at when we created them. -Albert Einstein smime.p7s Description: S/MIME cryptographic signature
[flexcoders] Re: Serious corruption in Flex-generated SWF
In the original post, I see that things are collapsing horizontally, and in two of the three pictures I see a horizontal divider. My guess is that there is a timing issue where the width of the divided box comes up 0 at the time of the layout, then pops back to the right size later, but does not layout the children again. I'd be adding some trace statements to the app to see if that's true. If there's an effect controlling the divider that can contribute to the problem. You might need to delay component instantiation until the effect ends. Could you be seeing something similar? To stick in trace statements, you can listen for move and resize events on various components and examine the parent and grandparent width and height values. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: Image not being resized in mx:Image tag
Smells like a timing issue. What are you loading? JPG? SWF? I think you've replaced the example on your site with another thread's example so I couldn't see what you're talking about. If you load SWFs there is a timing issue where, once the SWF is loaded, we wait one frame and then ask the SWF for its size (_width/_height) then use that to calculate the stretch. If the SWF is multi-frame or code-driven, it can finish its rendering and alter its size after we took the snapshot of its size and then it won't look right. Manish proposes the right code, but you probably have to come up with a more sophisticated way to find out the true size of the SWF and run the Manish's fix at a later time. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: cell render problem
The main reason is isn't working is an issue of types. You are setting the dataProvider to an array of XMLNodes. So, go back and set the dataProvider on the result of the webservice, then let's get the cells to display the right thing. You have proven that it works if you set the dataProvider to an array of strings. However an array of XMLNodes does not have properties on it like label. Instead it is attributes.label. So you have to use labelFunction instead, or a custom cell renderer that picks apart the XMLNode and find the attributes.label. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] HELP ASAP - Charting Multiple Selections in data Grid
What wed need would be a complete example that works with just one or two files and doesnt use a WebService (maybe an HTTPService that requests different XML files would be OK, or if your WebService is public thatd be OK. Just like any problem, breaking something down into as small a piece as possible makes it that much easier to debug. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Sent: Wednesday, May 18, 2005 6:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HELP ASAP - Charting Multiple Selections in dataGrid Everyone, I have been working on this for a week without resolution. If anyone can help I'd greatly appreciate it. I will be available by Yahoo Messenger as well as email and this board. Please let me know what you need from me in order to be effective in helping me. Thanks all, -Dave --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, I'm not really able to spot anything in here. You might need to distill this down into a complete example. Or perhaps you'll just need to run this in a debugger (break in the addSeries method) and see if you can figure out why the data isn't lining up correctly. Matt _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Sent: Friday, May 13, 2005 6:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Charting Multiple Selections in dataGrid CORRECTION: ALTHOUGH MINOR, THE CORRECT EVENT SHOULD BE change=webservice1.PulseGraphShareByCategory.send() JUST PASTED WRONG CODE ON LAST POST. --- In flexcoders@yahoogroups.com, Dave [EMAIL PROTECTED] wrote: Matt, Here is the code for the LineSeries if hard-coded to chart one selectedItem at a time from the dataGrid: mx:LineSeries name={Deposits.selectedItem.CATEGORY} xField=SCHEDDATE yField=TOTALBAL showDataEffect=drillDownEffect *Deposits is the name of the dataGrid When using this code, I attach the event change=webservice1.PulseGraphLoanByCategory.send() to the dataGrid. When trying to use the addSeries function, I remove that event handler and replace with change=addSeries() and place the call to the WS method in the addSeries script. That is one thing I'm not sure about. Here is the addSeries script: function addSeries() { webservice1.PulseGraphShareByCategory.send() linechartDeposits.series.removeAll(); for (var i=0; iDeposits.selectedIndices.length; i++) { var ls=new LineSeries(); ls.yField=Deposits.selectedItems[i].TOTALBAL; ls.xField=Deposits.selectedItems[i].SCHEDDATE; ls.name=Deposits.selectedItems[i].CATEGORY; linechartDeposits.series.addItem(ls); } } ALSO - the name field comes back defined (in the dataTips) but the yField and xField are undefined. Any help would be greatly appreciated! -Dave --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Are you making sure to only add the series after that data has been retrieved from the WS (in the result handler)? _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Sent: Thursday, May 12, 2005 10:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Charting Multiple Selections in dataGrid I'm stumped. I want my chart to add a series for each row selected from a corresponding dataGrid. I've used the Series Selection example (under Misc Techniques and Examples) here http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml as the model, but it still doesn't work. The dataGrid is getting data from a WS. When a row is selected, the CATEGORY field is used to retrieve data from a different WS. This works fine when hard-coding the LineSeries (e.g. mx:LineSeries name={Deposits.selectedItem.CATEGORY} xField=SCHEDDATE yField=TOTALBAL showDataEffect=drillDownEffect /) but I can't get it to work using the addSeries function. The different categories will appear in the legend as rows are multi- selected from the dataGrid, but the chart is a simple line across the top and the dataTips are undefined. Any ideas I know I'm close but unable to resolve. Thanks, Dave _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
[flexcoders] ColumnChart with logarithmic Y axis?
Is it possible to have a ColumnChart where the Y axis is plotted on a logarithmic scale? This would be handy for those cases where some values are so large that they make the small values display with only a few pixels. If not, consider it a feature request. :) Thanks! Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] ColumnChart with logarithmic Y axis?
Not officially possible, but you might be able to make it work by: - convert your values into logarithmic values using Math.log. - specify the interval property on your vertical axis to be 1. - use a label function on your verticalAxisRenderer to convert the labels on the axis to Math.pow(10,value); I think that would work. And a LogAxis object is being considered for the next release flex. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Blake Kadatz Sent: Wednesday, May 18, 2005 10:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColumnChart with logarithmic Y axis? Is it possible to have a ColumnChart where the Y axis is plotted on a logarithmic scale? This would be handy for those cases where some values are so large that they make the small values display with only a few pixels. If not, consider it a feature request. :) Thanks! Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Controlling Pie Chart Colors
I've got a situation where certain pie charts may or may not have certain classifications won't be represented if there are no values available in the data provider. The colors are not consistent from chart to chart - its just pulling the next color from the fill array. So say on one chart cash might appear blue and for another dataprovider it might appear green. I'd like to be able to make a certain section of a pie chart ALWAYS have a certain color. This is easy to do with area charts but I'm finding it not as easy with pie charts. If I alter the fill array programmatically that would be good, but in my limited testing I couldn't seem to be able to do that at runtime. I tried manually creating a nest array of PieSeries and mapping each one to a different field and color, but that did not seem to work either. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Controlling Pie Chart Colors
Hi Jeff. You should absolutely be able to set the fills array at runtime. Something like: mySeries.setStyle(fills, [0xFF,0x00FF00,0xFF]); should work. Can you send me a snippet of sample code? Incidentally ,if you want to make sure it pulls the same colors without having to change the fills style on the fly, you could insert 0 values for the missing classifications. Probably not the answer you're looking for, though, since they would then end up in the legend, which might be a bad thing. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, May 18, 2005 11:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling Pie Chart Colors Importance: High I've got a situation where certain pie charts may or may not have certain classifications won't be represented if there are no values available in the data provider. The colors are not consistent from chart to chart - its just pulling the next color from the fill array. So say on one chart cash might appear blue and for another dataprovider it might appear green. I'd like to be able to make a certain section of a pie chart ALWAYS have a certain color. This is easy to do with area charts but I'm finding it not as easy with pie charts. If I alter the fill array programmatically that would be good, but in my limited testing I couldn't seem to be able to do that at runtime. I tried manually creating a nest array of PieSeries and mapping each one to a different field and color, but that did not seem to work either. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Suggested location of shared View files in Cairngorm
Admin.mxml Product.mxml --+iterationtwo --+--+Cairngorm --+YourDomain --+--+Admin --+--+--+business --+--+--+commands --+--+--+control --+--+--+view --+--+--+vo --+--+Product --+--+--+business --+--+--+commands --+--+--+control --+--+--+view --+--+--+vo --+--+Utilities --+--+--+business --+--+--+commands --+--+--+control --+--+--+view --+--+--+vo Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Suggested location of shared View files in Cairngorm
You could also assign the folders by a product name. Doing so would give you added flexibility in the future to create other Admin and Utils folders while using the same framework. ProductAdmin.mxml Product.mxml --+iterationtwo --+--+Cairngorm --+YourDomain --+--+ProductAdmin --+--+--+business --+--+--+commands --+--+--+control --+--+--+view --+--+--+vo --+--+Product --+--+--+business --+--+--+commands --+--+--+control --+--+--+view --+--+--+vo --+--+ProductUtils --+--+--+business --+--+--+commands --+--+--+control --+--+--+view --+--+--+vo Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: cell render problem
Hi, I found that i had to set comboLabel.text = combo.dataProvider[i].label; for it to display the correct values. Regards Rajesh J --- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi Sree, That helped an another solution that I found was to use combo.dataProvider = parentDocument.clTypeSrv.result.types.type; in my setValue method of the cell renderer. Now my combobox is showing up fine, but it is not selecting any thing by default and when I select some option and move to a diffent row I see [object,object] in there. I think this is because the example I am using does not have a data and a label while mine has the xml I am using is ?xml version=1.0 encoding=utf-8 ? types type label=-- Select -- data= / type label=Advertising Company data=AD/PROMO CO / type label=Broker data=BROKER / type label=Clearing Company data=CLEARING / type label=Agency data=DEMO AGENCY / type label=Distributor data=DISTRIBUTORS / type label=Manufacturer data=MANUFACTURER / type label=Marketing Company data=MARKETING CO / type label=Other data=OTHER / type label=Retailer data=RETAILER / /types my setValue looks like function setValue( str : String, item : Object, selection : String ) : Void { //combo.dataProvider = parentDocument.clTypeSrv.result.types.type; if ( item == undefined ) { comboLabel.visible = false; combo.visible = false; return; } if ( selection == normal || selection == highlighted ) { comboLabel.text = item[ getDataLabel() ]; combo.visible = false; comboLabel.visible = true; } else if ( selection == selected ) { selectedItem = item; for( var i = 0; i combo.dataProvider.length; i++ ) { if( combo.dataProvider[i] == item[ getDataLabel() ] ) { combo.selectedIndex = i; break; } } comboLabel.visible = false; combo.visible = true; combo.setFocus( false ); } } I thought maybe there might be a method getData in the list that I can use but I don't think there is one. I am not sure how to more forward Rajesh J Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] ColumnChart with logarithmic Y axis?
I'll see if that's workable. I'm pulling the data from an HTTPService result and using it to drill down to other figures so I don't want to alter the original data, and data binding works so cleanly for the charting -- I assume using this method I'll need to take the result and parse it out to an array of Objects first, then bind that array to the chart? For the next release, perhaps instead of or in addition to a LogAxis object, would it make sense to have an attribute called scale which you could set as scale=linear or scale=logarithmic, etc. for quick implementations? Thanks, Blake -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 18, 2005 10:59 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ColumnChart with logarithmic Y axis? Not officially possible, but you might be able to make it work by: - convert your values into logarithmic values using Math.log. - specify the interval property on your vertical axis to be 1. - use a label function on your verticalAxisRenderer to convert the labels on the axis to Math.pow(10,value); I think that would work. And a LogAxis object is being considered for the next release flex. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Blake Kadatz Sent: Wednesday, May 18, 2005 10:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColumnChart with logarithmic Y axis? Is it possible to have a ColumnChart where the Y axis is plotted on a logarithmic scale? This would be handy for those cases where some values are so large that they make the small values display with only a few pixels. If not, consider it a feature request. :) Thanks! Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Announcing Flex Style Explorer
This tool is absolutely fantastic! I've got a bug report that one of our developers noticed, though, and since I can't make a comment on the site, I'll just note it here and hope someone sees it :) Entering hex values using the keyboard seems to work for everything except components that have 2 color values (panel headings, buttons, etc). When choosing a color from the drop down, the color displays correctly. When typing in a hex value, it displays as black. Also, I'd like to make a feature request - Would it be possible to make the text area where the resulting CSS appears be editable? I'd love to be able to edit the resulting CSS on-the-fly and see the results. Regardless, thanks for the great tool! /** * Jeff Beeman **/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jae Hess Sent: Tuesday, May 17, 2005 7:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Announcing Flex Style Explorer Not sure if you have heard the news: Announcing Flex Style Explorer http://www.markme.com/mc/archives/007740.cfm Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] string trim
I would think string searches would be very CPU intensive on the client. Can't you suppress/trim whitespace on the backend before passing it over? On 5/18/05, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi, How do I trim a string in the actionscript? when I do thisif( combo.dataProvider[i].data == item[ getDataLabel() ] )sometimes item[ getDataLabel() ]returns a string with extra spaces and it fails the conditionRegardsRajesh JYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * 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/ Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Remoting Examples for Flex?
Hello All, I just joined this list recently -as I came over from the FlashCoders list. I am sure most of you on this list, are also from FlashCoders, since Flex isso closely related to Flash. I've been searching the Docs best I can - and I haven't found any examples or instructions on how to perform Remoting Calls from inside of Flex. I've found the "RemoteObject" mentioned - but am not entirely sure how touse this. I have this down to a science in MX2004 using all the Remoting AS files, etc. but I've done very little with Remoting using Components. I am a coding guy - so this is all a little awkward, going back into a "Drag and Drop" environment - and setting all my parameters using a Property Inspectors, etc. Well, if any of you could point me in the right direction, I'd greatly appreciate it. Also, are there any PDF versions of the Flex 1.5 help system available yet - just like they did for Flash MX? Thanks for your help, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] ColumnChart with logarithmic Y axis?
I'll see if that's workable. I'm pulling the data from an HTTPService result and using it to drill down to other figures so I don't want to alter the original data, and data binding works so cleanly for the charting -- I assume using this method I'll need to take the result and parse it out to an array of Objects first, then bind that array to the chart? [ely] Yes, that sounds like how you'd do it. For the next release, perhaps instead of or in addition to a LogAxis object, would it make sense to have an attribute called scale which you could set as scale=linear or scale=logarithmic, etc. for quick implementations? [ely] I suppose, but this: LinearAxis scale=logarithmic / Feels a little bit oxymoronic, don't you think? Doing it with a separate LogAxis would require, at a minimum, this code: LineChart veritcalAxis LogAxis / /verticalAxis series ... /series /LineChart That doesn't seem like it's too much overhead, no? Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Wednesday, May 18, 2005 10:59 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ColumnChart with logarithmic Y axis? Not officially possible, but you might be able to make it work by: - convert your values into logarithmic values using Math.log. - specify the interval property on your vertical axis to be 1. - use a label function on your verticalAxisRenderer to convert the labels on the axis to Math.pow(10,value); I think that would work. And a LogAxis object is being considered for the next release flex. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Blake Kadatz Sent: Wednesday, May 18, 2005 10:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColumnChart with logarithmic Y axis? Is it possible to have a ColumnChart where the Y axis is plotted on a logarithmic scale? This would be handy for those cases where some values are so large that they make the small values display with only a few pixels. If not, consider it a feature request. :) Thanks! Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Remoting Examples for Flex?
Checkout the FlexExplorer samples. http://localhost:8700/samples/explorer/explorer.mxml with the integrated JRun server. If you look under Dynamic Data Services you will see how to do RemoteObject and Web Services. You will probably want to look at the Java files on the server side also. C:\Program Files\Macromedia\Flex\jrun4\servers\default\samples\WEB-INF\classes\samples\explorer From there then next best place to go is the Cairngorm examples. They are more involved but show best-practices for coding the remote calls. -Kent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Wednesday, May 18, 2005 11:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remoting Examples for Flex? Hello All, I just joined this list recently -as I came over from the FlashCoders list. I am sure most of you on this list, are also from FlashCoders, since Flex isso closely related to Flash. I've been searching the Docs best I can - and I haven't found any examples or instructions on how to perform Remoting Calls from inside of Flex. I've found the RemoteObject mentioned - but am not entirely sure how touse this. I have this down to a science in MX2004 using all the Remoting AS files, etc. but I've done very little with Remoting using Components. I am a coding guy - so this is all a little awkward, going back into a Drag and Drop environment - and setting all my parameters using a Property Inspectors, etc. Well, if any of you could point me in the right direction, I'd greatly appreciate it. Also, are there any PDF versions of the Flex 1.5 help system available yet - just like they did for Flash MX? Thanks for your help, Mike smime.p7s Description: S/MIME cryptographic signature
RE: [flexcoders] Remoting Examples for Flex?
Hi Mike, There is little need to do all the heavy lifting required with Flash Remoting; you've found the Remote Object tag, and that is going to do all the work that you require. There's really no need to do all the work you were doing with the Remoting Calls; all the connection management/etc is now handled for you. As for being "a coding guy"; Flex was made for you most of us are most at home sitting in Eclipse with our xml editors and Java perspectives, cutting MXML and AS2.0 by hand; there's really no need to be working in a drag and drop environment if you're not happy about that. There's a free chapter download of our Flex book at http://flexbook.iterationtwo.com/ (it's linked on www.theserverside.com) that covers a lot of stuff on using RemoteObject from a Java developers perspective. Let go of NetConnection. Stretch out with your tags. Use the force. Steven From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: 18 May 2005 19:55To: flexcoders@yahoogroups.comSubject: [flexcoders] Remoting Examples for Flex? Hello All, I just joined this list recently -as I came over from the FlashCoders list. I am sure most of you on this list, are also from FlashCoders, since Flex isso closely related to Flash. I've been searching the Docs best I can - and I haven't found any examples or instructions on how to perform Remoting Calls from inside of Flex. I've found the "RemoteObject" mentioned - but am not entirely sure how touse this. I have this down to a science in MX2004 using all the Remoting AS files, etc. but I've done very little with Remoting using Components. I am a coding guy - so this is all a little awkward, going back into a "Drag and Drop" environment - and setting all my parameters using a Property Inspectors, etc. Well, if any of you could point me in the right direction, I'd greatly appreciate it. Also, are there any PDF versions of the Flex 1.5 help system available yet - just like they did for Flash MX? Thanks for your help, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Remoting Examples for Flex?
Wonderful! Thanks for your help, Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kent HenneuseSent: Wednesday, May 18, 2005 3:03 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Remoting Examples for Flex? Checkout the FlexExplorer samples. http://localhost:8700/samples/explorer/explorer.mxml with the integrated JRun server. If you look under Dynamic Data Services you will see how to do RemoteObject and Web Services. You will probably want to look at the Java files on the server side also. C:\Program Files\Macromedia\Flex\jrun4\servers\default\samples\WEB-INF\classes\samples\explorer From there then next best place to go is the Cairngorm examples. They are more involved but show best-practices for coding the remote calls. -Kent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: Wednesday, May 18, 2005 11:55 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remoting Examples for Flex? Hello All, I just joined this list recently -as I came over from the FlashCoders list. I am sure most of you on this list, are also from FlashCoders, since Flex isso closely related to Flash. I've been searching the Docs best I can - and I haven't found any examples or instructions on how to perform Remoting Calls from inside of Flex. I've found the "RemoteObject" mentioned - but am not entirely sure how touse this. I have this down to a science in MX2004 using all the Remoting AS files, etc. but I've done very little with Remoting using Components. I am a coding guy - so this is all a little awkward, going back into a "Drag and Drop" environment - and setting all my parameters using a Property Inspectors, etc. Well, if any of you could point me in the right direction, I'd greatly appreciate it. Also, are there any PDF versions of the Flex 1.5 help system available yet - just like they did for Flash MX? Thanks for your help, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] string trim
Here are some working functions, Really, just one: / trims both trailing and leading spaces, and returns string */ function trim(sString:String):String { return(lTrim(rTrim(sString))); }//trim / trims trailing spaces, and returns string */ function rTrim(sString:String):String { while(''+sString.charAt(sString.length-1)==' ') { sString=sString.substring(0,sString.length-1); } return(sString); }//rTrim / trims leading spaces, and returns string */ function lTrim(sString:String):String { while(''+sString.charAt(0)==' ') { sString=sString.substring(1,sString.length); } return(sString) }//lTrim -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Wednesday, May 18, 2005 3:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] string trim Hi, How do I trim a string in the actionscript? when I do this if( combo.dataProvider[i].data == item[ getDataLabel() ] ) sometimes item[ getDataLabel() ] returns a string with extra spaces and it fails the condition Regards Rajesh J Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] ColumnChart with logarithmic Y axis?
I suppose, but this: LinearAxis scale=logarithmic / Feels a little bit oxymoronic, don't you think? Sure, that example does! :) Doing it with a separate LogAxis would require, at a minimum, this code: LineChart veritcalAxis LogAxis / /verticalAxis series ... /series /LineChart That doesn't seem like it's too much overhead, no? I was thinking more along the lines of: mx:verticalAxis scale={customScale} ... Then you could change the scale type on the fly should that need ever arise. Cheers, Blake Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Can Flex make .NET Remoting Calls?
Hello All, Iextensively usethe Remoting Components for .NET in regards to the Flash MX 2004 environment. Provided everything is in place, and working properly for Flash, this should theoretically work if I make calls to the same services using Flex correct? Could you all clarify that for me? Thanks, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] string trim
Here's an alternative to Tracy's that I've used: function trimString(str : String) : String { var startIdx = 0; while(str.indexOf(' ',startIdx) == startIdx) ++startIdx; var endIdx = str.length-1; while(str.lastIndexOf(' ',endIdx) == endIdx) --endIdx; if (endIdx = startIdx) { return str.slice(startIdx,endIdx+1); } else { return ; } } Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: string trim
Thanx --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Here's an alternative to Tracy's that I've used: function trimString(str : String) : String { var startIdx = 0; while(str.indexOf(' ',startIdx) == startIdx) ++startIdx; var endIdx = str.length-1; while(str.lastIndexOf(' ',endIdx) == endIdx) --endIdx; if (endIdx = startIdx) { return str.slice(startIdx,endIdx+1); } else { return ; } } Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Remoting Examples for Flex?
Hi MIke, Using Flash Remoting or using AMF is relatively very easy in Flex. If you want to make remoting calls, you can use RemotObject. You can find a simple example at the following link: http://livedocs.macromedia.com/flex/15/asdocs_en/mx/servicetags/RemoteObject.html You can find a complete section in Flex docs: http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""> Let us know, if you still have doubts... BTW! Welcome to Flex world :) -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: Thursday, May 19, 2005 12:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remoting Examples for Flex? Hello All, I just joined this list recently -as I came over from the FlashCoders list. I am sure most of you on this list, are also from FlashCoders, since Flex isso closely related to Flash. I've been searching the Docs best I can - and I haven't found any examples or instructions on how to perform Remoting Calls from inside of Flex. I've found the "RemoteObject" mentioned - but am not entirely sure how touse this. I have this down to a science in MX2004 using all the Remoting AS files, etc. but I've done very little with Remoting using Components. I am a coding guy - so this is all a little awkward, going back into a "Drag and Drop" environment - and setting all my parameters using a Property Inspectors, etc. Well, if any of you could point me in the right direction, I'd greatly appreciate it. Also, are there any PDF versions of the Flex 1.5 help system available yet - just like they did for Flash MX? Thanks for your help, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Remoting Examples for Flex?
Steven, As funny at it sounds, I just ordered your book from Amazon this morning - so of course, I got a good chuckle after visiting your website and seeing the book you just suggested. So, I anxiously await for the bookdue to be deliveredtomorrow - especially if it covers remoting specifically. Again thanks for everything, Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven WebsterSent: Wednesday, May 18, 2005 3:08 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Remoting Examples for Flex? Hi Mike, There is little need to do all the heavy lifting required with Flash Remoting; you've found the Remote Object tag, and that is going to do all the work that you require. There's really no need to do all the work you were doing with the Remoting Calls; all the connection management/etc is now handled for you. As for being "a coding guy"; Flex was made for you most of us are most at home sitting in Eclipse with our xml editors and Java perspectives, cutting MXML and AS2.0 by hand; there's really no need to be working in a drag and drop environment if you're not happy about that. There's a free chapter download of our Flex book at http://flexbook.iterationtwo.com/ (it's linked on www.theserverside.com) that covers a lot of stuff on using RemoteObject from a Java developers perspective. Let go of NetConnection. Stretch out with your tags. Use the force. Steven From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: 18 May 2005 19:55To: flexcoders@yahoogroups.comSubject: [flexcoders] Remoting Examples for Flex? Hello All, I just joined this list recently -as I came over from the FlashCoders list. I am sure most of you on this list, are also from FlashCoders, since Flex isso closely related to Flash. I've been searching the Docs best I can - and I haven't found any examples or instructions on how to perform Remoting Calls from inside of Flex. I've found the "RemoteObject" mentioned - but am not entirely sure how touse this. I have this down to a science in MX2004 using all the Remoting AS files, etc. but I've done very little with Remoting using Components. I am a coding guy - so this is all a little awkward, going back into a "Drag and Drop" environment - and setting all my parameters using a Property Inspectors, etc. Well, if any of you could point me in the right direction, I'd greatly appreciate it. Also, are there any PDF versions of the Flex 1.5 help system available yet - just like they did for Flash MX? Thanks for your help, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] ColumnChart with logarithmic Y axis?
Ah, I see. The problem is, mx:verticalAxis is the name of a property, not an object. MXML doesn't allow you to set properties on properties...you need to set the property to an object, then set a property of the object. ... You can still change the scale dynamically at runtime: myChart.verticalAxis = new LinearAxis(); myChart.verticalAxis = new LogAxis(); Got it, makes sense now. I was blurring the distinction between properties and objects a bit there. Thanks! Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Flex Naming Conventions
Is there an online resource (in liveDocs) for naming conventions in Flex, similar to the one for Flash. The liveDocs for Flash don't cover all of the Flex components? Flash: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=0827.html Flex? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Can Flex make .NET Remoting Calls?
Hi, Yeah Flex works with Flash .Net Remoting gateway. If you have .Net Remoting gateway installed with sampleson your machine(localhost), you can run the following example under flex server. Following is the straight forward port of a flash application to flex code. You can compare the code to see, how easier life is with Flex :). Yeah, this example doesn't represent best-practice, as usual its quick and dirty example :) ##DotNetRemotingTest.mxml## mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" creationComplete="getCountryList();" mx:RemoteObject id="remoteTagInfo" source="flashremoting.samples.ado" endpoint="http://localhost/flashremoting/gateway.aspx" mx:method name="CustomerInfo" result="resultHandler(event.result)"/ /mx:RemoteObject mx:Script ![CDATA[ function getCountryList() { remoteTagInfo.CustomerInfo(); } function resultHandler(result) { if(countryList_cb.selectedItem==undefined) { countryList_cb.dataProvider = result; } else { details_dg.dataProvider = result; } } ]] /mx:Script mx:Panel title="flashremoting.samples.ado sample" width="50%" mx:ComboBox id="countryList_cb" change="remoteTagInfo.CustomerInfo(String(event.target.selectedItem['Country']));" / mx:DataGrid id="details_dg" width="100%"/mx:DataGrid /mx:Panel /mx:Application Let me know, if you have any doubts understanding above. You can find the .Net code in gateway_installation_folder\flashremoting\samples\ado. On my machine it is, C:\Inetpub\wwwroot\flashremoting\samples\ado Hope that helps.. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: Thursday, May 19, 2005 1:44 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Can Flex make .NET Remoting Calls? Hello All, Iextensively usethe Remoting Components for .NET in regards to the Flash MX 2004 environment. Provided everything is in place, and working properly for Flash, this should theoretically work if I make calls to the same services using Flex correct? Could you all clarify that for me? Thanks, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Can Flex make .NET Remoting Calls?
BEAUTIFUL! It would make sense, that they would reuse the .NET .dll library(that we paid so dearly for) - as I would be super irritated if that was no longer usable, and we had to purchase yet another software component just to use a non-Macromedia product to pull in external data. Thanks for the code sample too - I greatly appreciate it. Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: Wednesday, May 18, 2005 4:16 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Can Flex make .NET Remoting Calls? Hi, Yeah Flex works with Flash .Net Remoting gateway. If you have .Net Remoting gateway installed with sampleson your machine(localhost), you can run the following example under flex server. Following is the straight forward port of a flash application to flex code. You can compare the code to see, how easier life is with Flex :). Yeah, this example doesn't represent best-practice, as usual its quick and dirty example :) ##DotNetRemotingTest.mxml## mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" creationComplete="getCountryList();" mx:RemoteObject id="remoteTagInfo" source="flashremoting.samples.ado" endpoint="http://localhost/flashremoting/gateway.aspx" mx:method name="CustomerInfo" result="resultHandler(event.result)"/ /mx:RemoteObject mx:Script ![CDATA[ function getCountryList() { remoteTagInfo.CustomerInfo(); } function resultHandler(result) { if(countryList_cb.selectedItem==undefined) { countryList_cb.dataProvider = result; } else { details_dg.dataProvider = result; } } ]] /mx:Script mx:Panel title="flashremoting.samples.ado sample" width="50%" mx:ComboBox id="countryList_cb" change="remoteTagInfo.CustomerInfo(String(event.target.selectedItem['Country']));" / mx:DataGrid id="details_dg" width="100%"/mx:DataGrid /mx:Panel /mx:Application Let me know, if you have any doubts understanding above. You can find the .Net code in gateway_installation_folder\flashremoting\samples\ado. On my machine it is, C:\Inetpub\wwwroot\flashremoting\samples\ado Hope that helps.. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: Thursday, May 19, 2005 1:44 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Can Flex make .NET Remoting Calls? Hello All, Iextensively usethe Remoting Components for .NET in regards to the Flash MX 2004 environment. Provided everything is in place, and working properly for Flash, this should theoretically work if I make calls to the same services using Flex correct? Could you all clarify that for me? Thanks, Mike Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: string trim
We had just sucha discussion about this on the list a couple weeks ago. Here is the solution that I use to remove leading and trailing spaces: function trim(input:String):String {if (input==undefined || input==null) return input; //quit now if input is not given...var len:Number = input.length;var start:Number = 0;var end:Number = len;while ((start end) (input.charCodeAt(start) = 32)) { //increment start until first non-whitespace at start of inputstart++;}while ((start end) (input.charCodeAt(end - 1) = 32)) { //decrement end until first non-whitespace at end of inputend--;}return ((start 0)||(end len)) ? input.substring(start, end) : input; //return substring if start or end changed, or just return original;} I based this directly off of how java's String.trim() functions. Note that this version will also remove tabs, linefeeds and other whitespace type extras. in fact it removes everything before the ascii-32 character in an 256 character ascii chart. -- Ronald Kinion 253-205-3000 x5162 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh JayabalanSent: Wednesday, May 18, 2005 1:30 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: string trim Thanx--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Here's an alternative to Tracy's that I've used: function trimString(str : String) : String { var startIdx = 0; while(str.indexOf(' ',startIdx) == startIdx) ++startIdx; var endIdx = str.length-1; while(str.lastIndexOf(' ',endIdx) == endIdx) --endIdx; if (endIdx = startIdx) { return str.slice(startIdx,endIdx+1); } else { return ""; } } Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6?
Has anyone successfully set up tag insight withEclipse andthe new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6?
Hans Apologies if this appears twice. I buggerised around for a while and found success if I used the following settings (totally non scientific/documented settings, might be a better way): In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following: Namespace: Any Root local name: Any File name: Any Schema type: XML Schema Schema URI: file location of XSD file I then moved this entry to the top of the list, have been using it for about a day and it seems to work for me so far without having any noticable side effect on other file types. HTH Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: cell render problem -- Final resolution
Hi, my combobox cell renderer is derived from http://www.richinternetapps.com/archives/72.html I had to change my actionscript file a bit to make it work with my xml Thanx everyone for helping me find the solution. Regards Rajesh J // ActionScript Document import mx.controls.ComboBox; import mx.core.UIComponent import mx.controls.*; class ComboBoxCellRenderer extends UIComponent { var combo : ComboBox; var comboLabel : Label; var listOwner : Object; // the reference we receive to the list var getCellIndex : Function; // the function we receive from the list var getDataLabel : Function; // the function we receive from the list var selectedItem : Object; var changeFlag :Boolean; static var dataProvider; function ComboBoxCellRenderer() { } function createChildren(Void) : Void { super.createChildren(); createClassObject( Label, comboLabel, 1, { styleName:this, owner:this } ); createClassObject( ComboBox, combo, 2, { styleName:this, owner:this, selectable:true } ); combo.addEventListener( change, this ); combo.addEventListener( enter, this ); combo.dataProvider = ComboBoxCellRenderer.dataProvider; combo.setStyle( backgroundColor, getStyle( selectionColor ) ); changeFlag = false; size(); } function size( Void ) : Void { combo.setSize( width, 20 ); comboLabel.setSize( width, 20 ); } function setValue( str : String, item : Object, selection : String ) : Void { if ( item == undefined ) { comboLabel.visible = false; combo.visible = false; return; } if ( selection == normal || selection == highlighted ) { if (changeFlag == false) for( var i = 0; i combo.dataProvider.length; i++ ) { if( combo.dataProvider[i].data == item[ getDataLabel() ] ) { comboLabel.text = combo.dataProvider[i].label; break; } } if (changeFlag == true) { comboLabel.text = combo.selectedItem.label; } combo.visible = false; comboLabel.visible = true; } else if ( selection == selected ) { selectedItem = item; for( var i = 0; i combo.dataProvider.length; i++ ) { if( combo.dataProvider[i].data == item[ getDataLabel() ] ) { combo.selectedIndex = i; break; } } comboLabel.visible = false; combo.visible = true; combo.setFocus( false ); } } function getPreferredHeight( Void ) : Number { return 20; } function getPreferredWidth( Void ) : Number { return 125; } function reorder( datos : Array, choice : String ) : Array { var index:Number = 0 var newArray = new Array() for( var i=0; i datos.length; i++ ) { if( datos[i].label != choice ) { index++; newArray[index] = datos[i]; } else { newArray[0] = datos[i]; } } return newArray; } function change() { selectedItem[ getDataLabel() ] = combo.selectedItem; changeFlag = true; } function enter() { if ( combo.text != undefined combo.text.length 0 ) { dataProvider.addItem( combo.text ); selectedItem[ getDataLabel() ] = combo.text; } } function draw() : Void { super.draw(); if ( combo.text_mc.border_mc.getDepth() combo.text_mc.label.getDepth() ) combo.text_mc.border_mc.swapDepths( combo.text_mc.label ); } } --- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi, I found that i had to set comboLabel.text = combo.dataProvider[i].label; for it to display the correct values. Regards Rajesh J --- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi Sree, That helped an another solution that I found was to use combo.dataProvider = parentDocument.clTypeSrv.result.types.type; in my setValue method of the cell renderer. Now my combobox is showing up fine, but it is not selecting any thing by default and when I select some option and move to a diffent row I see [object,object] in there. I think this is because the example I am using does not have a data and a label while mine has the xml I am using is ?xml version=1.0 encoding=utf-8 ? types type label=-- Select -- data= / type label=Advertising Company data=AD/PROMO CO / type label=Broker data=BROKER / type
[flexcoders] Web Services and CF7
I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Is there an easy way to do this
I tried what you said and what I thought was the Array.sort command but I can not get it to work. What I am trying to do in a nutshell is sort the array by showing the top three numbers in order on either a button or a label next to there respective Shoppers.I looked online for info on the Array.sort() function but I could not see a good example of it in use? ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Array id="apples"mx:ObjectlabelShopper1/labelNumber5/Number/mx:Objectmx:ObjectlabelShopper2/labelNumber7/Number/mx:Objectmx:ObjectlabelShopper3/labelNumber0/Number/mx:Objectmx:ObjectlabelShopper4/labelNumber4/Number/mx:Objectmx:ObjectlabelShopper5/labelNumber1/Number/mx:Objectmx:ObjectlabelShopper6/labelNumber0/Number/mx:Object mx:ObjectlabelShopper7/labelNumber0/Number/mx:Objectmx:ObjectlabelShopper8/labelNumber0/Number/mx:Object /mx:Arraymx:Script![CDATA[public function getorder():Void{Array.apples.sort(label,Number)firstplaceshopper.label=apples[0].labelmostapples.label=apples[0].Numbersecondplaceshopper.label=apples[1].labelsecondmostapples.label=apples[1].Numberthirdplaceshopper.label=apples[2].labelthirdmostapples.label=apples[2].Number}]]/mx:Scriptmx:HBox id="whohasthemost" visible="true" mx:Button label="firstshopper" /mx:Button width="100" id="firstplaceshopper" /mx:Button label="Number of apples" /mx:Button width="30" id="mostapples"/ mx:Button label="secondshopper" /mx:Button width="100" id="secondplaceshopper" /mx:Button label="Number of apples" /mx:Button width="30" id="secondmostapples"/mx:Button label="thirdshopper" /mx:Button width="100" id="thirdplaceshopper" /mx:Button label="Number of apples" /mx:Button width="30" id="thirdmostapples"/ mx:Button label="gettopthree" click="getorder()"/ /mx:HBox/mx:Application Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Web Services and CF7
These may be of use: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 http://www.cflex.net/showfiledetails.cfm?ObjectID=141 Theodore E Patrick wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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 configure MXML schema in Eclipse + OxygenXML 6?
Not sure if anyone uses it, but I started using Eclipse Web Tools for MXML editing. You can specify the MXML schema and works it wonderfully so far. http://www.eclipse.org/webtools/index.html Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: Andrew Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 8:55 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to configure MXML schema in Eclipse + OxygenXML 6? HansApologies if this appears twice.I buggerised around for a while and found success if I used thefollowing settings (totally non scientific/documented settings, mightbe a better way):In Window/Preferences/oXygen/Editor/Tag Insight/Default I added the following:Namespace: AnyRoot local name: AnyFile name: AnySchema type: XML SchemaSchema URI: file location of XSD fileI then moved this entry to the top of the list, have been using it forabout a day and it seems to work for me so far without having anynoticable side effect on other file types.HTHAndrewAndrew MullerPartner, RocketBootshttp://www.rocketboots.com.auOn 5/19/05, Hans Omli [EMAIL PROTECTED] wrote: Has anyone successfully set up tag insight with Eclipse and the new version of OxygenXML. I had no trouble with OxygenXML 5.1, but can't seem to get tag insight working with 6.0. Thanks! Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. AVIS IMPORTANTWARNING Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Web Services and CF7
Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
Remoting is great but it has a core limitation of one request at a time due the way AMF was implemented in the player. This is not the case with WebService calls as each request gets its own XML object and its own request socket. Even though the payload might be larger and the parsing takes longer, I want to avoid the issue of having remoting lock-up the AMF pipe on a long running request. Call me paranoid. ;) The issue that I had heard about was that Flex 1.5 has trouble digesting CFC web services due to certain xml usage. I wanted to make sure that Flex 1.5 and CF7 had compatible SOAP formats. I know it sound ridiculous but I have heard firsthand of some problems with compatibility of these two. Cheers, Ted ;) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller Sent: Wednesday, May 18, 2005 9:57 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: Usting Flex with a database
Well I am very very new to the flex world :) but let me try and take a stab at your quesition. Flex opperates in a N-Tier model, specifically it is the presentation tier. In theory, flex can work with any database, as long as you properly set up your buisness tier to integrate with your database backend. You could use flex with any webservice to produce the desired database connectivity, whether the buisness tier be in php(laugh) or C, as long as you connect to the buisness tier using SOAP, AMF or any of the other remoting features offered in flex. Here's a some docs on the n-tier model. http://livedocs.macromedia.com/flex/15/flex_docs_e n/wwhelp/wwhimpl/comm on/html/wwhelp.htm?context=Flex_Documentationfile=0003.htm Cheers, Joel Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Web Services and CF7
So, silly question, how are you structuring/formatting the data that you're returning from your webservice, something like arrays of objects or is it CF query result sets? Andrew On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: Remoting is great but it has a core limitation of one request at a time due the way AMF was implemented in the player. This is not the case with WebService calls as each request gets its own XML object and its own request socket. Even though the payload might be larger and the parsing takes longer, I want to avoid the issue of having remoting lock-up the AMF pipe on a long running request. Call me paranoid. ;) The issue that I had heard about was that Flex 1.5 has trouble digesting CFC web services due to certain xml usage. I wanted to make sure that Flex 1.5 and CF7 had compatible SOAP formats. I know it sound ridiculous but I have heard firsthand of some problems with compatibility of these two. Cheers, Ted ;) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Muller Sent: Wednesday, May 18, 2005 9:57 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Web Services and CF7 Ted Is there any reason, since you're using CF7, why you wouldn't connect from Flex via Flash Remoting instead of Web Services, you'd be consuming the same CFC presumably and the data should be much less verbose... Andrew Andrew Muller Partner, RocketBoots http://www.rocketboots.com.au On 5/19/05, Theodore E Patrick [EMAIL PROTECTED] wrote: I am looking at using CF7 and CFC web services with Flex 1.5. I understand that some have seen issues with using these two togther or was this limited to CF6? Can anyone highlight the issue for me? Any help would be most appreciated. Cheers, Ted Patrick Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Displaying dynamic HTML file in a Flex Window
This is pretty pimp: http://coenraets.com/viewarticle.jsp?articleId=95 - Original Message - From: Brett Palmer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, May 17, 2005 6:38 PM Subject: [flexcoders] Displaying dynamic HTML file in a Flex Window We have a Flex application that needs to integrate with a third party web (JSP) application. We would prefer displaying the HTML pages from the third party application in a child Flex windows (like a dialog box) to make the applications appear as one. Is there a Flex component that can display an HTML page from another web application? The applications reside on the same server so this should not break any browser security policies. Thanks in advance for your help. Brett Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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/