Re: [flexcoders] Drag Drop Question
jmfillman, You just need to add event listeners to your button before adding it to your dropBox Canvas. See below. Cheers. - Jae private function dragDropHandler( event:DragEvent) :void { { ... buttonA.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown); buttonA.addEventListener(MouseEvent.MOUSE_MOVE, mouseMove); buttonA.addEventListener(MouseEvent.MOUSE_UP, mouseUp); dropBox.addChild( buttonA); ... } // Note this is needed for smoothing drag. Highly necessary in my opinion. private function mouseMove(event:MouseEvent):void { event.updateAfterEvent(); } private function mouseDown(event:MouseEvent):void { if (event.target is Button) { event.target.startDrag(); } } private function mouseUp(event:MouseEvent):void { if (event.target is Button) { event.target.stopDrag(); } } - Original Message From: jmfillman [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 22, 2007 11:57:04 PM Subject: [flexcoders] Drag Drop Question See code below. After you drag an item from the list and drop it into the Canvas, how you do then drag the item you just dropped, have it run the dragDropHandler function, and then move the original item? ?xml version=1.0 ? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml layout=absolute width=500 height=620 borderStyle= solid creationComplete= initApp( ); mx:Script ![CDATA[ import mx.controls. Button; import mx.controls. Alert; import mx.events.DragEvent ; import mx.controls. List; import mx.managers. DragManager; import mx.core.DragSource; private function initApp():void { var dp:Array = ([ {label:First , data:25}, {label:Second , data:50}, {label:Third , data:75}, {label:Fourth , data:100}, ]); listOne.dataProvide r = dp; } private function dragEnterHandler( event:DragEvent) :void { var dropTarget:Canvas= event.currentTar get as Canvas; dropTarget.setStyle (borderThicknes s, 5); DragManager. acceptDragDrop( dropTarget) ; } private function dragExitHandler( event:DragEvent) :void { var dropTarget:Canvas= event.currentTar get as Canvas; revertBoxBorder( ); } private function dragDropHandler( event:DragEvent) :void { var dropTarget:Canvas= event.currentTar get as Canvas; var buttonA:Button = new Button; buttonA.label = listOne.selectedIte m.label; if (dropTarget. mouseY.valueOf( ) = 0 dropTarget.mouseY. valueOf() 100) { buttonA.y = 0; buttonA.y = 0; } if (dropTarget. mouseY.valueOf( ) = 100 dropTarget.mouseY. valueOf() 200) { buttonA.x = 00; buttonA.y = 100; } dropBox.addChild( buttonA); revertBoxBorder( ); } private function revertBoxBorder( ):void { dropBox.setStyle( borderThickness , 1); } ]] /mx:Script mx:List id=listOne dragEnabled= true dropEnabled= true x=10 y=10/mx: List mx:Canvas x=180 y=10 width=308 height=498 borderStyle= solid borderColor= #00 backgroundColor= #FF dragEnter=dragEnte rHandler( event); id=dropBox dragExit=dragExitH andler(event) ; dragDrop=dragDropH andler(event) ; /mx:Canvas /mx:Application !-- #ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;} #ygrp-mlmsg
RE: [flexcoders] Flex SOAP - dateTime to Date conversion bug
We aren't using java :-) We use apache/php/soap/flex And flex DOES get the correct date information but fails to convert it correctly. _ Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Carson Hager Verzonden: donderdag 22 februari 2007 16:34 Aan: flexcoders@yahoogroups.com Onderwerp: RE: [flexcoders] Flex SOAP - dateTime to Date conversion bug We've found that you have to use Calendar on the Java side for this to work properly. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergys http://www.cynergysystems.com/ ystems.com Email: carson.hager@ mailto:[EMAIL PROTECTED] cynergysystems.com Office: 866-CYNERGY Mobile: 1.703.489.6466 _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bas J. Brey Sent: Thursday, February 22, 2007 3:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex SOAP - dateTime to Date conversion bug When using xsd:dateTime values in soap requests Flex doesn't seem to parse the seconds in of the dateTime string. Can anyone confirm this? This is an example of the string Flex gets: 2007-02-20T15:38:56Z And Flex turns it into a date component with everything except the seconds.
[flexcoders] amfPHP 1.9 beta 2, malformed amf object question
Hi all I updatet amfphp 1.2 to amfPHP 1.9 beta 2. In the old services/dao 's I had some echo/print commands for debugging and amfphp worked just fine. When amfPHP 1.9 beta 2 finds an echo or print in the services it stops working. I mean, the amf object that is sent back is malformed. This malformation also happens if in the service.php before the ?php or after the closing ? we have some white spaces. Is this a bug? Janos - We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list.
[flexcoders] How to count lines of a DataGrid inside a Repeater ?
Hi; I have a DataGrid inside a Repeater: I try to adjust the height of my DataGrid depending on the number of lines provided by my DataProvider (bijslagLines is a XMLList). How can I count the number of elements provided by my DataProvider in this case ? I wrote this code, but sometimes it send errors (Error: Repeater is not executing.at mx.core::Repeater/get currentIndex() ...). mx:Repeater id=REPEATKIND dataProvider={bijslagLines} mx:Panel styleName=panelNoHeader mx:LinkButton label=[EMAIL PROTECTED] / mx:DataGrid id=KINDTABLE dataProvider={REPEATKIND.currentItem.line} rowCount={KINDTABLE[REPEATKIND.currentIndex].dataProvider.length} mx:columns mx:DataGridColumn dataField=maand052005 / mx:DataGridColumn dataField=maand062005 / ... /mx:columns /mx:DataGrid /mx:Panel /mx:Repeater Here is the content of bijslagLines: kind naam=Vestdijk Jerome line type/ maand0520053/3/maand052005 maand0620053/3/maand062005 /line line typeBasiskinderbijslag - tarief 01/type maand05200577,05/maand052005 maand06200577,05/maand062005 /line /kind kind naam=Vestdijk Benoit line type/ maand0520053/3/maand052005 maand0620053/3/maand062005 /line line typeBasiskinderbijslag - tarief 02/type maand052005142,58/maand052005 maand062005142,58/maand062005 /line line typeBasiskinderbijslag - tarief 01/type maand052005/ maand062005/ /line /kind
[flexcoders] problem in getting value of an editable ComboBox
Hi, I have an editable combo on my flex screen. I have entered some text in combo's editable area. but I am not able to get that value using ComboboxID.selectedID or ComboboxID.text. How can I get that value... Pls help me Thanks in advance Sanjay
[flexcoders] Re: problem in getting value of an editable ComboBox
Hey, I got the solution by using .value property, I got the value. thanks Sanjay --- In flexcoders@yahoogroups.com, sanjaypmg [EMAIL PROTECTED] wrote: Hi, I have an editable combo on my flex screen. I have entered some text in combo's editable area. but I am not able to get that value using ComboboxID.selectedID or ComboboxID.text. How can I get that value... Pls help me Thanks in advance Sanjay
Re: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )
slangeberg wrote: Hey everyone, I know there exists an article/whitepaper from Adobe outlining the new AS3 VM2(?), but I can't find it. Anyone know where that is? I think it would be helpful for this gentleman's situation. A good place to start would be the Adobe Component Developer Summit slides that Ted Patrick put up on his blog last summer: http://www.onflex.org/ted/2006/07/adobe-component-developer-summit.php Altogether, it's a fairly thorough overview of the Flex framework architecture, and includes a presentation by Gary Grossman on some of the virtual machine internals and how these relate to performance on the scripting side of things. As to the VM itself, the C++ source code to Adobe's ActionScript 3 VM was released last fall to the community as open-source under the Mozilla triple license. It's been christened Tamarin and is now part of the Mozilla codebase. There's quite a bit of material about it to be found on the project site at: http://www.mozilla.org/projects/tamarin/ The sources include, among other things, the virtual machine proper, just-in-time compilers for dynamically recompiling the AVM bytecode to native machine code for PowerPC, Intel and ARM processors, and the new garbage collection implementation. Note however, that it does not come with a compiler for compiling ActionScript 3 into bytecode. For that, you'll still need to use the free ones from the Flex SDK or a third-party compiler. Jim Cheng effectiveUI
[flexcoders] Re: enabling Hibernate logging through log4j with jrun/fds2
PW, which sample did you use for your log4j.properties? Thanks Simon --- In flexcoders@yahoogroups.com, parkerwhirlow [EMAIL PROTECTED] wrote: I have gotten hibernate logging to work by placing log4j.jar into the web-inf/lib directory, and placing a log4j.properties (you can use the sample) into the web-inf/classes directory. That was all I needed to do. good luck, PW --- In flexcoders@yahoogroups.com, thunderstumpgesatwork thunder.stumpges@ wrote: Does anyone know how to get hibernate logging when using FDS and the HibernateAssembler? From my reading on Hibernate: see http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging , they use log4j, and talk about putting a log4j.properties file in the WEB-INF/classes directory, but I have tried this with no luck... Also, I'm not referring to Flex's Hibernate Assembler log set up by setting patternDataService.Hibernate/pattern in the services-config.xml log target... I'm talking about getting internal Hibernate log output. thanks, Thunder
Re: [flexcoders] Using a downloaded theme in an application
On Friday 23 Feb 2007, André Rodrigues Pena wrote: the site http://www.scalenine.com/ has great themes I'd like to use. But the how to install link doesn't explain how to actually add it to your application. Looking at the Scrawl source, you just need to drop the CSS and the component folders into your app, and then link to the CSS. -- Tom Chiverton Helping to seamlessly orchestrate slick content at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups - Join or create groups, clubs, forums amp; communities. Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups - Join or create groups, clubs, forums amp; communities. is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: parent-child hierarchy of data using Flex, FDS and Hibernate
PW, I did the work to understand log4j and you're right, it is amazingly powerful. I added a new appender to my configuration in log4j.xml because all the literature I found said that the .properties approach was being deprecated. However, this has not worked, so I'm going to try your method from the other post. This should work... !-- === -- !-- Hibernate -- !-- === -- appender name=HIBERNATE class=org.jboss.logging.appender.DailyRollingFileAppender errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ param name=File value=${jboss.server.log.dir}/hibernate.log/ param name=Append value=false/ !-- Rollover at midnight each day -- param name=DatePattern value='.'-MM-dd/ !-- Rollover at the top of each hour param name=DatePattern value='.'-MM-dd-HH/ -- layout class=org.apache.log4j.PatternLayout !-- The default pattern: Date Priority [Category] Message\n -- param name=ConversionPattern value=%d %-5p [%c] %m%n/ !-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n param name=ConversionPattern value=%d %-5r %-5p [%c] (%t:%x) %m%n/ -- /layout /appender logger name=org.hibernate level value=DEBUG / /logger category name=org.hibernate priority value=TRACE / appender-ref ref=HIBERNATE/ /category category name=org.hibernate.SQL priority value=TRACE / appender-ref ref=HIBERNATE/ /category category name=org.hibernate.type priority value=TRACE / appender-ref ref=HIBERNATE/ /category --- In flexcoders@yahoogroups.com, parkerwhirlow [EMAIL PROTECTED] wrote: All-in-all a very worthwhile exercise and my dev environment is now more under my control. Good to hear. was just replying to your previous post in this thread, and now I see you got it figured out. Excellent. I still can't figure out how to turn on debug logging in Hibernate, See this other post where I figured out how to turn on the Hibernate logging. If you don't know about log4j, I suggest doing a few searches on it, and reading up about the log4j.properties file. It's a very powerful tool, and Hibernate has a TON of good logging, but its easy to get lost in it all if you just turn everything on to debug... http://tech.groups.yahoo.com/group/flexcoders/message/59623 Hibernate has a sample log4j.properties in the Hibernate/etc directory The exception is thrown way down in the bowels of the Hibernate session.save() method which is being called by HibernateAssembler.createItem. From Jeff's last post he seemed to be suggesting that updateItem was in some way at fault. I'm not quite seeing how that relates to my problem, although I am clearly no expert. I'm not exactly sure how the problem would occur from createItem(), but take a look at my post here I mention what was causing it for me (was a lazy=false setting on the collection association of the object being updated) http://tech.groups.yahoo.com/group/flexcoders/message/63471 The issue with the NOT NULL column was that once I had everything working the behavior it was doing was to null out all the FK values for the association, thereby dis-associating the children from the parent, then updating all the entries in the collection to point back to the parent. Once I made the association nullable, the update started working. (at least as far as FDS was concerned. Jeff, if you have a new version of the Assembler code and want a guinea-pig, send it my way. Likewise! cheers, PW
[flexcoders] setCredentials, amfphp 1.9 question
Hi all Patrick Mineault wrote in his blog at http://www.5etdemi.com/ that starting with amfphp 1.9 the method table is removed. How does the setCredentials work now? In amfphp 1.2 we had to put roles in the method table and write the _authorize function in the service. Does anybody know how can we use the setCredentials with Flex and amfphp 1.9 beta 2? I'm interested in some example code for flex and amfhp also. Janos
[flexcoders] Zooming out of a list ?!
Hi, I've been exploring the wonderful world of effects and transitions recently... there's something I would *love* to be able to do - but I suspect this is not possible. Could someone confirm or deny accordingly ?! Here's the idea... I have a horizontal list which consists of a set of charts. This list is quite small - acting really, like a row of thumbnails for the charts. If the user clicks on a chart, it appears in a nice big readable size in a popup window. Now... what I'd like to do is apply a 'zoom' style transition from the clicked list element to the popup window so that the popup appears to zoom out of the list itself. Actually, as I write this, a *possible* solution has occurred to me... (1) The user clicks on an element on the list (2) This causes a totall borderless popup window to be created, exactly over the chart in the list that the user clicked on. This would appear 'invisble' to the user since visually it should look the same. (3) A sequence (consisting of a zoom effect and move) is applied to the popup to expand it and bring it into the centre of the screen. If this is possible, I *think* it would look ok ? Question then is, how to achieve (2)... Or am I barking up the wrong tree ?! Jamie.
[flexcoders] Re: XML not loading.. can't see what i have wrong.
All the release and debug flash players can be found here: http://www.adobe.com/support/flashplayer/downloads.html#fp9 Cato Paus --- In flexcoders@yahoogroups.com, Jayson [EMAIL PROTECTED] wrote: After trying some things on my own, I went to the help docs... I have the function exactly like it is in the docs and it doesn't work. I don't know if I'm missing something and I just dont see it.. or if what i have is wrong.. heres what I have... [Bindable] public var articleXML:XML; public var XMLLoader:URLLoader; public var XMLFile:String = articles.xml; public var XMLReq:URLRequest = new URLRequest(XMLFile); public function loadArticles():void{ XMLLoader.load(XMLReq); XMLLoader.addEventListener(Event.COMPLETE, XMLLoaded); } public function XMLLoaded(event:Event):void{ xmltest.text = loaded; var loader:URLLoader = URLLoader(event.target); articleXML = new XML(loader.data); xmltest.text = articleXML.toXMLString(); } for some reason the debug version of flash doesnt install.. err.. I install it but nothing changes.. so I can't use trace. anyone see something wrong here? I think this should work.
[flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values
PW and Jeff, PW, you and I seem to be in the same boat. I am trying to fight off the people who were flex skeptics to start with. Not being able to write data back makes the whole thing look pretty amateur and confirms people's belief that the technology isn't ready - which given this experience it clearly isn't. The baby is definitely at risk of being thrown out with the bath water. It stands in our company simply because I have the final call as Technical Director (CTO if you are in the US). I am a huge flex advocate and really doing my best to evangelise on the topic. What's more I think that the bridge to operational data is the most profound leap forward for flash, it takes it out of the world of gimicks and into the world of real business applications. Jeff, you and your and team deserve huge credit for that vision and excellent execution. However, much as it pains me to say it, the bottom line is that the hibernate middle tier provided does not work, as PW and I (and a host of other people on various forums) have found. I know that I can re-write the whole thing myself and will probably have to, but when introducing new technologies it is unfortunately all about initial perception. I have made a career of doing this sort of thing myself and I have seen excellent projects fail to fly because of low initial quality, even though we fixed them immediately, the damage was done because people's impression was that they were flaky. I'm sure you know it is hard to get back from that first impression and the word of mouth that springs from it. Once it becomes entrenched that opinion becomes fact and you are irrevocably lost. If I were Adobe I would be a little worried about the tone of the posts I am seeing about integration with Hibernate. The Hibernate Assembler is very important and I would really hate to see that happen to it. The corollary is very unfortunate. That little bit of technology transform the boardroom conversation about FDS. Suddenly the cost of the licensing of FDS becomes justifiable against the dev cost savings because we can just plug into the ORM. Having made that justification myself it is very difficult for me now to go back and say, by the way I also have to incur the dev costs. When asked why? I have to confess that the Adobe code doesn't work and we don't know when we're getting a fix. For the Flex/Flash skeptics in the room that's a god send. For me it is a complete nightmare. It is hard for me to separate the cost of FDS licenses (which is almost prohibitively large) against the cost of dev. I would urge Jeff and Co to get the Hibernate Assembler code watertight and shipping asap. If I can be of any assistance I will gladly offer my services. If either of you would like to contact me, post a reply and I will happily give you my details. Simon Palmer Technical Director The PMCo 62 St Peters Street St Albans HERTS AL1 3HG UK --- In flexcoders@yahoogroups.com, parkerwhirlow [EMAIL PROTECTED] wrote: Thats very unfortunate. I'm getting farther and farther into hot water not being able to reliably update our data model using Flex. Last it was just wait for 2.0.1, there's a lot of Hibernate/FDS fixes in it and now we're waiting for another unknown amount of time for fixes we can only hope will help our situation. I'm apologize, I understand it's not your fault, and I really appreciate the insight you provide as to what can be causing our problems, I'm just getting up to my neck in unsolved problems. If you have any insight as to roughly when this next release could occur, can you tip me off? thanks, PW --- In flexcoders@yahoogroups.com, Jeff Vroom jvroom@ wrote: I have finished making the changes and the use of the merge call seems to be a) much simpler and b) more robust than the way the current code works. Unfortunately we've made enough changes to the code surrounding the HibernateAssembler so I can't just send you the updated file and have it work in FDS2. It will be in an upcoming public beta but I don't think we've announced the dates on that. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of parkerwhirlow Sent: Thursday, February 15, 2007 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values Hey Jeff, just curious if you've got any updated HibernateAssembler code with some fixes? Any idea when this would be available? thanks, PW --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Jeff Vroom jvroom@ wrote: My apologies - this does look like a bug. I need to do more testing on this case myself, but I think one of the big problems here is that we are trying to do conflict detection on our own in the hibernate assembler's updateItem method. Unless you are using a
[flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values
PW, BTW pop over to the FDS forum at Adobe http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=60catid=583 take a look at the thread called Parent Child Hierarchy with FDS and Hibernate SP --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: PW and Jeff, PW, you and I seem to be in the same boat. I am trying to fight off the people who were flex skeptics to start with. Not being able to write data back makes the whole thing look pretty amateur and confirms people's belief that the technology isn't ready - which given this experience it clearly isn't. The baby is definitely at risk of being thrown out with the bath water. It stands in our company simply because I have the final call as Technical Director (CTO if you are in the US). I am a huge flex advocate and really doing my best to evangelise on the topic. What's more I think that the bridge to operational data is the most profound leap forward for flash, it takes it out of the world of gimicks and into the world of real business applications. Jeff, you and your and team deserve huge credit for that vision and excellent execution. However, much as it pains me to say it, the bottom line is that the hibernate middle tier provided does not work, as PW and I (and a host of other people on various forums) have found. I know that I can re-write the whole thing myself and will probably have to, but when introducing new technologies it is unfortunately all about initial perception. I have made a career of doing this sort of thing myself and I have seen excellent projects fail to fly because of low initial quality, even though we fixed them immediately, the damage was done because people's impression was that they were flaky. I'm sure you know it is hard to get back from that first impression and the word of mouth that springs from it. Once it becomes entrenched that opinion becomes fact and you are irrevocably lost. If I were Adobe I would be a little worried about the tone of the posts I am seeing about integration with Hibernate. The Hibernate Assembler is very important and I would really hate to see that happen to it. The corollary is very unfortunate. That little bit of technology transform the boardroom conversation about FDS. Suddenly the cost of the licensing of FDS becomes justifiable against the dev cost savings because we can just plug into the ORM. Having made that justification myself it is very difficult for me now to go back and say, by the way I also have to incur the dev costs. When asked why? I have to confess that the Adobe code doesn't work and we don't know when we're getting a fix. For the Flex/Flash skeptics in the room that's a god send. For me it is a complete nightmare. It is hard for me to separate the cost of FDS licenses (which is almost prohibitively large) against the cost of dev. I would urge Jeff and Co to get the Hibernate Assembler code watertight and shipping asap. If I can be of any assistance I will gladly offer my services. If either of you would like to contact me, post a reply and I will happily give you my details. Simon Palmer Technical Director The PMCo 62 St Peters Street St Albans HERTS AL1 3HG UK --- In flexcoders@yahoogroups.com, parkerwhirlow parkerwhirlow@ wrote: Thats very unfortunate. I'm getting farther and farther into hot water not being able to reliably update our data model using Flex. Last it was just wait for 2.0.1, there's a lot of Hibernate/FDS fixes in it and now we're waiting for another unknown amount of time for fixes we can only hope will help our situation. I'm apologize, I understand it's not your fault, and I really appreciate the insight you provide as to what can be causing our problems, I'm just getting up to my neck in unsolved problems. If you have any insight as to roughly when this next release could occur, can you tip me off? thanks, PW --- In flexcoders@yahoogroups.com, Jeff Vroom jvroom@ wrote: I have finished making the changes and the use of the merge call seems to be a) much simpler and b) more robust than the way the current code works. Unfortunately we've made enough changes to the code surrounding the HibernateAssembler so I can't just send you the updated file and have it work in FDS2. It will be in an upcoming public beta but I don't think we've announced the dates on that. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of parkerwhirlow Sent: Thursday, February 15, 2007 3:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values Hey Jeff, just curious if you've got any updated HibernateAssembler code with some fixes? Any idea when this would be
RE: [flexcoders] compc - degrees of specification
Note that you can also cause an entire directory tree to be compiled in. This should be used with caution, since it will also try to compile any included helper code as if they were classes, which might not be what you want. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, February 21, 2007 3:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] compc - degrees of specification Resending because this didn't seem to make it through to the list. - Gordon From: Gordon Smith Sent: Wednesday, February 21, 2007 9:15 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] compc - degrees of specification A typical way to do this is to first create a manifest file for the components in the library, so that they can be associated with a namespace of your choosing that is unrelated to your package hierarchy. (Take a look at the file mxml-manifest.xml in the frameworks directory. The flex-config.xml file associates this manifest file with the single namespace http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml despite the fact that its classes are in various packages like mx.controls, mx.containers, etc.) After you have set up a manifest file, you can use compc's -namespace and -include-namespaces options to include all the components in that namespace's manifest (and all the classes that they depend on) without naming each one: compc -namespace http://www.yourcompany.com/flex/coolcomponents http://www.yourcompany.com/flex/coolcomponents mycoolcomponents-manifest.xml -include-namespaces http://www.yourcompany.com/flex/coolcomponents http://www.yourcompany.com/flex/coolcomponents If there are other classes that should go into your SWC which aren't listed in your manifest or which the compiler can't discover by doing a dependency analysis starting from the classes in your manifest, then you can use the -include-classes option to list them one-by-one. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alehrens Sent: Wednesday, February 21, 2007 8:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] compc - degrees of specification Hi, I'm tinkering with using Ant for our flex build... We have two libraries that contain a good amount of files (say, 25 .as file and 20 .mxml files for this example). My questions are: 1. Do I include both types of files in the compc task - to build everything in our library into one .swc? 2. Is there any way to wildcard it or do I have to specify every file out explicitly? aaron
Re: [flexcoders] Google Map API Flex2.0 Integration?
This can be done through an iFrame, but I would suggest you use the flash version yahoo maps with LocalConnection to communicate instead. Here is a good resource: http://www.asfusion.com/blog/entry/inserting-yahoo-maps-in-a-flex-2-application Also, be sure to vote for Flex 2 support for Yahoo Maps here: http://suggestions.yahoo.com/detail/?prop=ydnfid=3208 Rich On 2/23/07, sanjaypmg [EMAIL PROTECTED] wrote: Hi All, How can I integrate google map API with Flex? Has anybody done it? Please send your Comments\Ideas to get it done. Thanks in Advance, Sanjay -- Rich Tretola mx:EverythingFlex/ http://www.EverythingFlex.com
[flexcoders] How to get Live feed from web service in flex
Hi I have written a web service which retrieves CPU utilization and memory utilization from the server. I am making web service calls from Flex and displaying it. I want to get Live feed from the server and display it in some charting component in Flex. What do I need to do to get Live feed in Flex. Thanks ... - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit.
[flexcoders] checkbox with tree component
Hi, I want to add a check box with each tree node(branch/leaf). Any help will be really appreciated.I went through some sample but couldn't understand. I m just a begginer w.r.t flex, but i know AS2 (OOPS). Any help will be really appreciated Regards Thanx Saurav
[flexcoders] Re: How to add a component in the field with AS3
Thanks for the help troy. but i'm still having some problems, The XML is still the same, and i made the change in the for just as you said, but it gets worse, if i do that it doesn't even enters the For, it goes through it. --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: I've tripped on all of those at one time or another, so I'm happy to oblige with an answer as best I can: 1. It threw me a bit at first, but it makes sense once you look at the types returned by XML class. If an element of the XML has complex content (i.e. its not just straight text, but rather has additional XML elements or structure), then referring to that XML element will always return an XMLList. Thus, when you say for each (var s:XML in data.lastResult.Tipos) the XML class is returning an XMLList for all elements named Tipos, which in your sample data there is only one. If you want to iterate for each of a certain element, you specify that element in the for each like this: for each (var s:XML in data.lastResult.Tipos.Tipo). And to access them directly with an index, you'd use var s:XML = data.lastResult.Tipos.Tipo[0];. 2. To dynamically create UI components just new them (var txt:TextInput = new TextInput();) and then add them to the container (addChild(txt);). For dynamically creating forms the Form and FormItem components are a lifesaver as they'll save you from having to do any formating work. Your code will end up looking something like this: var form:Form = new Form(); var formItem:FormItem = new FormItem(); formItem.label = Some Field:; var txtField:TextInput = new TextInput(); formItem.addChild(txtField); form.addChild(formItem); addChild(form); 3. You can load data from a ByteArray into things like the image component. Assuming you've already got the binary data pulled from the database, and assuming its in a format that Flash understands directly (SWF, PNG, JPG, GIF, etc.), you can use the loadBytes() method of the flash.display.Loaderclass. This will give you a DisplayObject that you can then use elsewhere as you would traditionally use a dynamically loaded image. Troy. On 2/22/07, Daniel Fernandes Credidio [EMAIL PROTECTED] wrote: Hi, I'm quite new to Flex and I need help with Three things. I have an file thats sending me an XML based on data i got from the DB, I have to loop trough the XML and i saw in another thread that we can do it by using the code: //the XML Tipos Tipo Situa0/Situa Imagem Conteudo=''/ QtdComputador: 11/Qtd /Tipo Tipo Situa0/Situa Imagem Conteudo=''/ QtdMonitor: 9/Qtd /Tipo Tipo Situa0/Situa Imagem Conteudo=''/ QtdNo break: 3/Qtd /Tipo Tipo Situa0/Situa Imagem Conteudo=''/ QtdNotebook: 3/Qtd /Tipo /Tipos for each (var s:XML in data.lastResult.Tipos){ //some code here } the first problem is that it only loops once even tough there are 3. the second is that i need to add components(TextArea, Image, Label, etc.)on a Panel, but i must do it Using AS3 since its going to be created based on the XML(i searched livedocs AND flex help but didn't find it). the third one is the most tricky of the three, I an getting the image from the DB and its binary i need to send it into flex and use it as a kind of source to the Image component PS: its not an URL its the data itself. i know it can be rather confusing but please answer me even if its to say its impossible to do this. Gratefull for your help, Daniel Fernandes Credidio
[flexcoders] New to Flex
OK I guess I am an idiot. My boss finally decided for us to adapt to Adobe products starting with Flex. I installed the Flex 2.0.1 version and used the Coldfusion application wizard to create a list grid detail page. Worked fine. Created the CFC and displayed the grid. But for the life of me I can't find the page that contains all of the code. I opened the Main.mxml page and here is all the code. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* xmlns:controllers=com.cfgenerated.controllers.* layout=absolute currentState=mainApplication mx:Style source=application.css / mx:states mx:State name=mainApplication mx:AddChild position=lastChild controllers:windowedApplication top=0 left=0 right=0 bottom=0/ /mx:AddChild /mx:State /mx:states /mx:Application How do I manipulate the Grid that was created? Lost and no books. I am a pretty good Java programmer and this looks straight forward. Just a little lost. Robert Shaw 972-463-3515
[flexcoders] Flex Socket + MSN Protocol
Hi all... I've been reading and searching the archives about sockets but found nothing that would solve my problem, so i was wondering if anyone could give me a light =) Currently I'm tryin to connect a Flex Project using Sockets to a MSN server using MSN Protocol Version 13. The problem im runnin into is that the protocol always ends with an \r\n to finish a command, pretty much like this: stands for send commands stands for received commands VER 1 MSNP13 CVR0\r\n VER 1 MSNP13 CVR0\r\n CVR 5 0x0409 winnt 5.1 i386 MSG80BETA 8.0.0566 msmsgs [EMAIL PROTECTED] CVR 5 8.0.0566 8.0.0566 8.0.0566 http://msgr.dlservice.microsoft.com/download/4/5/b/45beb06f-5a08-4694-abd8-d6e706b06b68/Install_Messenger_Beta.exe http://ideas.live.com\r\n USR 6 TWN I [EMAIL PROTECTED] USR 6 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1062764229,kpp=1,kv=5,ver=2.1.0173.1,tpf=43f8a4c8ed940c04e3740be46c4d1619\r\n See? Every command line end with an \r\n but I dont know how to replicate this using Flex. The Socket class when i send \r\n always finishes the send command givin me and EOF (end of file error) in a window executing the app. And the XMLSocket commands are always terminated by a zero (0) byte. So, can someone give me some directions on how to do it? I was able to do it with PHP with ease as I was only sending strings... how to do it with Flex? Any help ppl? Thanks in advance, Michel.
Re: [flexcoders] New to Flex
the mxml code is here: com.cfgenerated.controllers. look in the cfgenerated directory for more directories as well. On 2/23/07, Robert Shaw [EMAIL PROTECTED] wrote: OK I guess I am an idiot. My boss finally decided for us to adapt to Adobe products starting with Flex. I installed the Flex 2.0.1 version and used the Coldfusion application wizard to create a list grid detail page. Worked fine. Created the CFC and displayed the grid. But for the life of me I can't find the page that contains all of the code. I opened the Main.mxml page and here is all the code. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* xmlns:controllers=com.cfgenerated.controllers.* layout=absolute currentState=mainApplication mx:Style source=application.css / mx:states mx:State name=mainApplication mx:AddChild position=lastChild controllers:windowedApplication top=0 left=0 right=0 bottom=0/ /mx:AddChild /mx:State /mx:states /mx:Application How do I manipulate the Grid that was created? Lost and no books. I am a pretty good Java programmer and this looks straight forward. Just a little lost. Robert Shaw 972-463-3515 -- http://indeegrumpee.spaces.live.com/
Re: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )
On Thursday 22 Feb 2007, Ralf Bokelberg wrote: Hi Ravi It sounds, like you have a rather good understanding of what is going on. When we talk about the VM, we have to talk about Flash. Flash is framebased like a movie. As a Flex developer, 99.% of the time, this does not matter to you one iota. You can ignore it and just dive stright in and tie some JSPs to a DataGrid or whatever. -- Tom Chiverton Helping to preemptively empower distributed customers at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups - Join or create groups, clubs, forums amp; communities. Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups - Join or create groups, clubs, forums amp; communities. is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] New to Flex
On Friday 23 Feb 2007, Robert Shaw wrote: displayed the grid. But for the life of me I can't find the page that xmlns:controllers=com.cfgenerated.controllers.* controllers:windowedApplication top=0 left=0 right=0 bottom=0/ /mx:AddChild The 'xmlns' line says that when you see angle-bracket and then the bit after the colon, look it up in the directory that comes after the equals in the xmlns line. So you should have a /com/cfgenerated/controllers/ directory, with a windowedApplication file in. -- Tom Chiverton Helping to interactively innovate second-generation e-commerce at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups - Join or create groups, clubs, forums amp; communities. Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups - Join or create groups, clubs, forums amp; communities. is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Change the header color of one column (1.5)
Hi, Can I change the header color of one column on a datagrid? I thought I could do this through a headerrenderer, but it seems not? Regards, Iain
RE: [flexcoders] Re: Global Filter Functions
I use the same method Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, February 22, 2007 4:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Global Filter Functions I have a LabelFunctions class and a SortFunctions class in my current app that are both just collections of static methods. I simply import them as needed throughout my app. I would recommend the same approach if you will have more than a couple filterFunctions. If its just one or two I'd say keep them on the model. HTH, Ben --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Kevin [EMAIL PROTECTED] wrote: I am using Cairngorm and would like to be able to call a filter function from multiple commands views. What is the best way to handle this? Should I put the function somewhere in the ModelLocator and then reference it that way?? Not sure how best to handle global functions like this. Thanks, Kevin -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
[flexcoders] FABridge aclarations...
Hello, I'm working in one app and I want to call a method of javascript from actionscript and viceversa. When I download the fabridge from adobe labs, I read the doc, and I don't understand one thing, what are the first steps (in configuration), I say, I need to create a new HTML, and embed into it the swf compiled? Or I can use the html generated by the flex builder? I try to copy as the example but I don't get it works. Thanks a lot. Regards. -- Matías Nicolás Sommi
RE: [flexcoders] Flex SOAP - dateTime to Date conversion bug
Ah :) Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bas J. Brey Sent: Friday, February 23, 2007 3:07 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex SOAP - dateTime to Date conversion bug We aren't using java :-) We use apache/php/soap/flex And flex DOES get the correct date information but fails to convert it correctly. Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Carson Hager Verzonden: donderdag 22 februari 2007 16:34 Aan: flexcoders@yahoogroups.com Onderwerp: RE: [flexcoders] Flex SOAP - dateTime to Date conversion bug We've found that you have to use Calendar on the Java side for this to work properly. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bas J. Brey Sent: Thursday, February 22, 2007 3:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex SOAP - dateTime to Date conversion bug When using xsd:dateTime values in soap requests Flex doesn't seem to parse the seconds in of the dateTime string. Can anyone confirm this? This is an example of the string Flex gets: 2007-02-20T15:38:56Z And Flex turns it into a date component with everything except the seconds.
Re: [flexcoders] How to get Live feed from web service in flex
On Friday 23 Feb 2007, suyash jape wrote: some charting component in Flex. What do I need to do to get Live feed in Flex. Thanks ... You can only get true real time updates using FDS ro push the data to you. It is almost certainly good enought that your application just polls for new data once a minute though, isn'it it ? -- Tom Chiverton Helping to continuously morph guinine designs at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups - Join or create groups, clubs, forums amp; communities. Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups - Join or create groups, clubs, forums amp; communities. is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: DataGridColumn showDataTips problem
Nope, no dataTipFunction is declared anywhere. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, February 22, 2007 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn showDataTips problem Are you also setting the dataTipFunction property? That would cause the bahavior you're seeing. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Robert Chyko [EMAIL PROTECTED] wrote: I am trying to use the showDataTips property of the DataGridColumn. The documentation states: Datatips are tooltips designed to show the text that is too long for the row. I swear that in Flash, the similar functionality (whatever it was called - not showDataTips) would only show the toolTip for a cell if the text in the cell was wider than the width of the cell. The behavior I am seeing is that if I set showDataTips to true, the toolTip is always being shown, regardless of whether or not the cells text is longer than the cell. Can anyone confirm/deny? Or am I just that thick... Thanks Bob Chyko
RE: [flexcoders] FABridge aclarations...
What part are you asking if it needs to be embedded? The javascript side that lives in the HTML definitely does not get embedded. You can launch your app that is using the FABrdige from your next HTML file or you can modify the HTML template file in FB to use the JS code from the FABridge html examples. Does that make sense? You still need the ActionScript side of things embedded in the swf to act as your component or proxy that links your AS methods throughout your app to your JS methods in the parent html file that is hosting the swf. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of Matias Nicolas Sommi Sent: Fri 2/23/2007 8:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FABridge aclarations... Hello, I'm working in one app and I want to call a method of javascript from actionscript and viceversa. When I download the fabridge from adobe labs, I read the doc, and I don't understand one thing, what are the first steps (in configuration), I say, I need to create a new HTML, and embed into it the swf compiled? Or I can use the html generated by the flex builder? I try to copy as the example but I don't get it works. Thanks a lot. Regards. -- Matías Nicolás Sommi
[flexcoders] compiler behaviour question
Allow me to display acute naivety concerning the inner workings of compilers. In AS3, assume I have a class A with methods and properties within. Consider class B extending class A. If I create 100 instances of class B, does the Flash player have to create 100 instances of A also? Does the same hold for interfaces? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
Re: [flexcoders] compiler behaviour question
On Friday 23 Feb 2007, Douglas Knudsen wrote: within. Consider class B extending class A. If I create 100 instances of class B, does the Flash player have to create 100 instances of A also? Does the same hold for interfaces? Why does it matter ? I believe you'll end up with 100 instances of B, which happen to have properties and methods declared by their parent. -- Tom Chiverton Helping to administratively synergize frictionless channels at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups - Join or create groups, clubs, forums amp; communities. Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups - Join or create groups, clubs, forums amp; communities. is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken?
Hi Joao, Thanks for the pointer. With another pointer from Tom, and testing your suggestion, it appears that it's just the destination that you need to change. My guess is that, eventhough you have multiple FDS's running, the destinations must be registered in some server wide registry. Therefore, if you have the same destination name in multiple FDS's, then the last FDS to start overwrites the registry entry for that destination. By renaming the destination name for the production instance and then updating the code for the production instance so CF and Flex pointed to the new production destination has now fixed everything. It actually doesn't seem to matter than in the CF instances that all the event gateway names are the same across instances. Thanks again for the pointers. Cheers Niklas On 2/22/07, João Fernandes [EMAIL PROTECTED] wrote: It's something that I already spoke with Tom J. Can you try to create different names for the EG instance and if it doesn't work, try to use different destinationNames? João Fernandes -- Niklas Richardson Prismix Ltd UK based Flex and ColdFusion Specialists
[flexcoders] Error invoking asdoc tool
Hi, I am geting some problem when i try to invoke the asdoc tool.From the bin directory when i enter the following command to create output for the Flex Button class its shows the error 'JVM not found'. asdoc -source-path C:\flex\frameworks\source I have configured the jvm.config file in the bin direstory of Flex with the JRE path. I would really appreciate your help in this regards. - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV.
Re: [flexcoders] dataProvider question
Thank you, Karl!! you've pointed me to the right direction. Turns out I was doing 2 thins wrong. first off, even though the MyDataList was marked as [Bindable] *inside* my component, it also wanted the [Bindable] tag when i actually defined a reference to the component! ([Bindable] public var mycomponent:MyComponentClassName) second, i initially avoided curly brackets because i thought flex will have problem with the variable being null (it gets initialized later on). turns out flex doesn't care!! it updates stuff when the data actually appears. so i'm all good! Thank you!!! P.S. as a side note, i really gotta go through the whole flex2 developer's guide... this was on page like 10xx of 1200, so... thanks guys! On 2/22/07, Karl Johnson [EMAIL PROTECTED] wrote: Unless you have something that is preventing you from actually binding in mxml, you should just add dataProvider={mycomponent.MyDataList} as a property in the mx:List component. If you want to setup the bind in actionscript, you can use BindingUtils.bindProperty. http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1043.html Karl Cynergy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Andrey *Sent:* Thursday, February 22, 2007 8:55 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] dataProvider question Sure! my list is defined as follows: mx:List id=lstData width=100% height=100% labelField=@name /mx:List In my component (well, class) i have the following variable: [Bindable] public var MyDataList:XMLList = new XMLList(); then when the application loads and i get the instance of the component, i call the following: lstData.dataProvider = mycomponent.MyDataList; everything looks ok so far, right? then then when i receive a proper xml, i update it all inside the component: MyDataList = new XML(myxmlstring).children(); theoretically the lstData should somehow receive notification that the dataProvider has been updated and refresh itself, right? this doesn't seem to work. Since this doesn't seem to work we're reserved to throwing events from the component to the list and rebinding the list when that event is caught by the gui, but the whole thing is pretty cumbersome and i think this should work automatically what are we doing wrong? Thank you! On 2/22/07, Igor Costa [EMAIL PROTECTED] wrote: It would be nice to see your part of you code to see what you are doing wrong. Regards. On 2/22/07, darvon4u [EMAIL PROTECTED] wrote: Here is an interesting one, not sure if i'm missing something or what. I have a list to show some data. I also have a component with an xmllist property which is marked as [Bindable] in actionscript, i instantiate that component and bind this data property to the list. When i receive data from webservice, i update the xmllist of the component. shouldn't the visual list update as well since it is bound to that component's property? also, i have tried this with an XMLListCollection as well and same result. only if i rebind the list to the component's property do i get the result. what i am doing wrong? is this by design? should there be something else wired or triggered for the updates to occur automatically? thank you in advance if anybody can help in any way, -A -- Igor Costa www.igorcosta.org www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken?
Glad I could help, Yes, they are registered in a central location using RMI to register each destination. Regards, João Fernandes
Re: [flexcoders] compiler behaviour question
its a a concern in memory use. But I think I just realised the answer based on your answere, and feel even more naive. Of course! Its the instance variables stupid. Each instance has to have a copy, eh? Time to move my cube to the basement...geesh. DK On 2/23/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 23 Feb 2007, Douglas Knudsen wrote: within. Consider class B extending class A. If I create 100 instances of class B, does the Flash player have to create 100 instances of A also? Does the same hold for interfaces? Why does it matter ? I believe you'll end up with 100 instances of B, which happen to have properties and methods declared by their parent. -- Tom Chiverton Helping to administratively synergize frictionless channels at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups - Join or create groups, clubs, forums amp; communities. Links -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
RE: [flexcoders] compiler behaviour question
Time to move my cube to the basement...geesh. BILL Uh, we're gonna need to move your desk downstairs into Storage B. MILTON No...I...I... BILL Uh, we have some new people coming in and we need all the space we can get. MILTON No...no...no...no...but...but...but...I, I, I - BILL And if you could could go ahead and get a can of psticide and take care of the roach problem we've been having that would be great. MILTON I can't...Excuse me. I believe you have my stapler? Jason Merrill Bank of America Learning Organizational Effectiveness
[flexcoders] Access Flex components from browser
Hi! The thing I need help with is kind of hard to explain. What I want to do is access the components in flex from the address line in browser. I want to enter text into a textbox from the command line. I want to to work kind of like sending variables to php. Something like http://addresstoflex.com/?textbox=pioplacz http://addresstoflex.com/?textbox=pioplacz You know what I mean? Thx for all the help inadvance!
[flexcoders] Two simple List questions
Hi all, I got 2 doubts. 1) I want to populate a List control so I did mx:XMLList xmlns= id=listSource root site name=betanews url=www.betanews.com/ site name=dzone url=www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ That's what I understood from the documentation. But it doens't work Can anybody tell me why? 2) I want to return the url attribute from the site item. I'm trying but I'm not getting to do this THANKS -- André Rodrigues Pena
re: [flexcoders] Flex Socket + MSN Protocol
Michel, Sometimes when debugging white space characters such as carriage return and new line are represented by \r and \n respectively. This is because otherwise you really wouldn't know they're there, but they are coming in from the binary. In hex I believe carriage return (\r) is 0x0D and new line (\n) is 0x0A. So you should be able to send them using writeByte(0x0D) and writeByte(0x0A). You can double check for the correct hex by calling toString(16) on the \r and \n bytes coming in. You may already be doing this correctly, I just couldn't tell for sure from the posting. Ben Stucki --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] From: Michel Scoz [EMAIL PROTECTED] Sent: Friday, February 23, 2007 5:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Socket + MSN Protocol Hi all... I've been reading and searching the archives about sockets but found nothing that would solve my problem, so i was wondering if anyone could give me a light =) Currently I'm tryin to connect a Flex Project using Sockets to a MSN server using MSN Protocol Version 13. The problem im runnin into is that the protocol always ends with an \r\n to finish a command, pretty much like this: stands for send commands stands for received commands VER 1 MSNP13 CVR0\r\n VER 1 MSNP13 CVR0\r\n CVR 5 0x0409 winnt 5.1 i386 MSG80BETA 8.0.0566 msmsgs [EMAIL PROTECTED] CVR 5 8.0.0566 8.0.0566 8.0.0566 http://msgr.dlservice.microsoft.com/download/4/5/b/45beb06f-5a08-4694-abd8-d6e706b06b68/Install_Messenger_Beta.exehttp://ideas.live.com\r\n USR 6 TWN I [EMAIL PROTECTED] USR 6 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1062764229,kpp=1,kv=5,ver=2.1.0173.1,tpf=43f8a4c8ed940c04e3740be46c4d1619\r\n See? Every command line end with an \r\n but I dont know how to replicate this using Flex. The Socket class when i send \r\n always finishes the send command givin me and EOF (end of file error) in a window executing the app. And the XMLSocket commands are always terminated by a zero (0) byte. So, can someone give me some directions on how to do it? I was able to do it with PHP with ease as I was only sending strings... how to do it with Flex? Any help ppl? Thanks in advance, Michel.
[flexcoders] Re: Zooming out of a list ?!
I haven't done this, so I'm just throwing out possibilities. Could you not create a custom component that acts as an item renderer for the list, wherein the custom component has two view states (normal and zoomed-in)? The only thing is, since this would operate inline to the list, I'm not sure what it does looks-wise to the overall list structure. On the other hand, if the zoomed-in window covers the list, I'm not sure you would care because once the zoomed in view returns to normal view state, the containing list should return to looking normal. Another possibility is to pop the list item out such as you would do in a drag operation. In other words, convert the list item through the BitMapData class to an image and have it move to the center of the screen at which point you could drop it automatically into your borderless pop-up. At that point, you can populate the pop-up with the expanded list item info. Not sure if either of those ideas work for you. R. Grimes
RE: [flexcoders] Access Flex components from browser
There are a few ways you can approach this. One is you can pass the variables in via the querystring and then take them from the querystring and send them to your flex application via flashvars. If you are using php/jsp/asp or some other server side processing, this is really easy to do - just do a response.write of the qs value into the flashvar in the embed tag where your swf is being embedded into the html file. If you are using straight client side HTML files, then you will have to write the javascript to extract the parameter values from the url of the page. If you don't want to use flashvars, you could also set a variable in the javascript in your hosting html file and then use something like the Flex Ajax Bridge to get the values of those variables. Check out this article, it should help a good bit: http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1005.html Karl Cynergy From: flexcoders@yahoogroups.com on behalf of pioplacz Sent: Fri 2/23/2007 10:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Access Flex components from browser Hi! The thing I need help with is kind of hard to explain. What I want to do is access the components in flex from the address line in browser. I want to enter text into a textbox from the command line. I want to to work kind of like sending variables to php. Something like http://addresstoflex.com/?textbox=pioplacz http://addresstoflex.com/?textbox=pioplacz You know what I mean? Thx for all the help inadvance!
Re: [flexcoders] FABridge aclarations...
Thanks Karl, but i think that I don't explain me very good. Flex generate an MXML app, and, only in the bin folder, autogenerate the swf file. The Javascript code is included in a HTML page. Flex generate an HTML page only in the bin folder containing the javascript methods for history and other thinks like the get plugin. The think that I want to know is if I need touch these HTML generated by flex, or generate one myself, but in this last case, I need the swf file... I must use the bin/swf file? This comment is because in the fabridge example, the html embedd the swf file from a src, and in the html generated by flex, the swf is embbeded on the fly or something like this. If you have a very simple example (the most simple as possible) of one flex project using fabridge I appreciate it very much. Thanks again. -- Matías Nicolás Sommi 2007/2/23, Karl Johnson [EMAIL PROTECTED]: What part are you asking if it needs to be embedded? The javascript side that lives in the HTML definitely does not get embedded. You can launch your app that is using the FABrdige from your next HTML file or you can modify the HTML template file in FB to use the JS code from the FABridge html examples. Does that make sense? You still need the ActionScript side of things embedded in the swf to act as your component or proxy that links your AS methods throughout your app to your JS methods in the parent html file that is hosting the swf. Karl Cynergy -- *From:* flexcoders@yahoogroups.com on behalf of Matias Nicolas Sommi *Sent:* Fri 2/23/2007 8:35 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] FABridge aclarations... Hello, I'm working in one app and I want to call a method of javascript from actionscript and viceversa. When I download the fabridge from adobe labs, I read the doc, and I don't understand one thing, what are the first steps (in configuration), I say, I need to create a new HTML, and embed into it the swf compiled? Or I can use the html generated by the flex builder? I try to copy as the example but I don't get it works. Thanks a lot. Regards. -- Matías Nicolás Sommi
[flexcoders] flex sdk
Good Morning, I have just downloaded and installed the Flex SDK 2 into Eclipse 3.1. We I start Eclipse I get the Flex Builder Activation box asking for my serial number? I had the trial loaded at one time but it has been uninstalled can someone tell me why I should be asked for a serial number? Thanks.
RE: [flexcoders] Two simple List questions
Hi André, Change your labelField property to be labelField=@name Because you are pulling the value from an XML attribute you need to designate it as such using @ before the property name. What do you mean you want to return the URL attribute? You want to display it? Please be more specific about number 2. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of André Rodrigues Pena Sent: Fri 2/23/2007 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Two simple List questions Hi all, I got 2 doubts. 1) I want to populate a List control so I did mx:XMLList xmlns= id=listSource root site name=betanews url=www.betanews.com/ site name=dzone url=www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ That's what I understood from the documentation. But it doens't work Can anybody tell me why? 2) I want to return the url attribute from the site item. I'm trying but I'm not getting to do this THANKS -- André Rodrigues Pena
[flexcoders] Re: Two simple List questions
The problem is that the help examples use elements, while you are using node attributes. So, you must specify that your labelField is @name. R. Grimes --- In flexcoders@yahoogroups.com, André Rodrigues Pena [EMAIL PROTECTED] wrote: Hi all, I got 2 doubts. 1) I want to populate a List control so I did mx:XMLList xmlns= id=listSource root site name=betanews url=www.betanews.com/ site name=dzone url=www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ That's what I understood from the documentation. But it doens't work Can anybody tell me why? 2) I want to return the url attribute from the site item. I'm trying but I'm not getting to do this THANKS -- André Rodrigues Pena
RE: [flexcoders] FABridge aclarations...
At compile time, FlexBuilder generates your hosting HTML file based on the HTML template in html-template/index.template.html The easiest option right now is to take your generated html file and add in the javascript methods that you need, and save it off as a different html file. Then after you compile, just hit your new html file instead of the generated file (if you want, you can set FB to open to a specific HTML file so it always uses your other file). Does that make sense? The SWF will get regenerated with each compile and if you have added the FABridge component, it will always be in there - regardless of what HTML file hosts that swf. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of Matias Nicolas Sommi Sent: Fri 2/23/2007 10:25 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FABridge aclarations... Thanks Karl, but i think that I don't explain me very good. Flex generate an MXML app, and, only in the bin folder, autogenerate the swf file. The Javascript code is included in a HTML page. Flex generate an HTML page only in the bin folder containing the javascript methods for history and other thinks like the get plugin. The think that I want to know is if I need touch these HTML generated by flex, or generate one myself, but in this last case, I need the swf file... I must use the bin/swf file? This comment is because in the fabridge example, the html embedd the swf file from a src, and in the html generated by flex, the swf is embbeded on the fly or something like this. If you have a very simple example (the most simple as possible) of one flex project using fabridge I appreciate it very much. Thanks again. -- Matías Nicolás Sommi 2007/2/23, Karl Johnson [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] : What part are you asking if it needs to be embedded? The javascript side that lives in the HTML definitely does not get embedded. You can launch your app that is using the FABrdige from your next HTML file or you can modify the HTML template file in FB to use the JS code from the FABridge html examples. Does that make sense? You still need the ActionScript side of things embedded in the swf to act as your component or proxy that links your AS methods throughout your app to your JS methods in the parent html file that is hosting the swf. Karl Cynergy From: flexcoders@yahoogroups.com http://ups.com/ on behalf of Matias Nicolas Sommi Sent: Fri 2/23/2007 8:35 AM To: flexcoders@yahoogroups.com http://ups.com/ Subject: [flexcoders] FABridge aclarations... Hello, I'm working in one app and I want to call a method of javascript from actionscript and viceversa. When I download the fabridge from adobe labs, I read the doc, and I don't understand one thing, what are the first steps (in configuration), I say, I need to create a new HTML, and embed into it the swf compiled? Or I can use the html generated by the flex builder? I try to copy as the example but I don't get it works. Thanks a lot. Regards. -- Matías Nicolás Sommi
RE: [flexcoders] flex sdk
The free SDK is a set of classes and command-line tools. Flex Builder can be used as an Eclipse plugin - but this is not free. I think you may have downloaded Flex Builder in addition to the SDK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mapper2255 Sent: 23 February 2007 16:31 To: flexcoders@yahoogroups.com Subject: [flexcoders] flex sdk Good Morning, I have just downloaded and installed the Flex SDK 2 into Eclipse 3.1. We I start Eclipse I get the Flex Builder Activation box asking for my serial number? I had the trial loaded at one time but it has been uninstalled can someone tell me why I should be asked for a serial number? Thanks.
RE: [flexcoders] Flex Socket + MSN Protocol
Hey bud, Check out the binarysocket class. XMLSocket will always terminate with a null byte \0 - if you use binarysocket instead you'll be able to send any characters you want! HTH Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Scoz Sent: 23 February 2007 11:53 To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Socket + MSN Protocol Hi all... I've been reading and searching the archives about sockets but found nothing that would solve my problem, so i was wondering if anyone could give me a light =) Currently I'm tryin to connect a Flex Project using Sockets to a MSN server using MSN Protocol Version 13. The problem im runnin into is that the protocol always ends with an \r\n to finish a command, pretty much like this: stands for send commands stands for received commands VER 1 MSNP13 CVR0\r\n VER 1 MSNP13 CVR0\r\n CVR 5 0x0409 winnt 5.1 i386 MSG80BETA 8.0.0566 msmsgs [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com\r\n CVR 5 8.0.0566 8.0.0566 8.0.0566 http://msgr. http://msgr.dlservice.microsoft.com/download/4/5/b/45beb06f-5a08-4694-a bd8-d6e706b06b68/Install_Messenger_Beta.exe dlservice.microsoft.com/download/4/5/b/45beb06f-5a08-4694-abd8-d6e706b06 b68/Install_Messenger_Beta.exe http://ideas. http://ideas.live.com/r/n live.com\r\n USR 6 TWN I [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com\r\n USR 6 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=10627 64229,kpp=1,kv=5,ver=2.1.0173.1,tpf=43f8a4c8ed940c04e3740be46c4d1619\r\n See? Every command line end with an \r\n but I dont know how to replicate this using Flex. The Socket class when i send \r\n always finishes the send command givin me and EOF (end of file error) in a window executing the app. And the XMLSocket commands are always terminated by a zero (0) byte. So, can someone give me some directions on how to do it? I was able to do it with PHP with ease as I was only sending strings... how to do it with Flex? Any help ppl? Thanks in advance, Michel.
[flexcoders] ResourceBundle
I am having the worst trouble getting a ResourceBundle to work. I have this code... mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Label text=@Resource(bundle='Test', key='carrot') / /mx:Application And I have Test.properties with a key of carrot in it and the file is: /locale/en_US/Test.properties and I have locale added to the compiler source-path. But I still get an error that it cannot resolve the bundle. What am I doing wrong?
[flexcoders] Re: Using a downloaded theme in an application
André, There should be a style folder in the downloaded source. Drop that into the top level of your Flex project. Then, in your Applications MXML, specify the path to the CSS file as the source in your mx:Style tag. If you need more in depth details you can email me at juan [at] scalenine.com. Sorry about the bad link. I'm creating my own set of instructions. Juan scalenine.com --- In flexcoders@yahoogroups.com, André Rodrigues Pena [EMAIL PROTECTED] wrote: Hi all, the site http://www.scalenine.com/ has great themes I'd like to use. But the how to install link doesn't explain how to actually add it to your application. Can anyone explain me or indicate a site that explains? thanks in advance -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org
RE: [flexcoders] Zooming out of a list ?!
Hi Jamie. That's pretty much exactly how I would reccomend doing it. as for #2: all displayobjects have a property called localToGlobal(), which converts coordinates from the component's coordinate system to the global coordinate system. So you could do: var topLeft:Point = systemManager.globalToLocal(myItemRenderer.localToGlobal(new Point(0,0))); var bottomRight:Point = systemManager.globalToLocal(myItemRenderer.localToGlobal(new Point(myItemRenderer.width,myItemRenderer.height))); and there you've got the bounding box for your component in popup-coordinate-space. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamiebadman Sent: Friday, February 23, 2007 2:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Zooming out of a list ?! Hi, I've been exploring the wonderful world of effects and transitions recently... there's something I would *love* to be able to do - but I suspect this is not possible. Could someone confirm or deny accordingly ?! Here's the idea... I have a horizontal list which consists of a set of charts. This list is quite small - acting really, like a row of thumbnails for the charts. If the user clicks on a chart, it appears in a nice big readable size in a popup window. Now... what I'd like to do is apply a 'zoom' style transition from the clicked list element to the popup window so that the popup appears to zoom out of the list itself. Actually, as I write this, a *possible* solution has occurred to me... (1) The user clicks on an element on the list (2) This causes a totall borderless popup window to be created, exactly over the chart in the list that the user clicked on. This would appear 'invisble' to the user since visually it should look the same. (3) A sequence (consisting of a zoom effect and move) is applied to the popup to expand it and bring it into the centre of the screen. If this is possible, I *think* it would look ok ? Question then is, how to achieve (2)... Or am I barking up the wrong tree ?! Jamie.
[flexcoders] Obsure issue with the DateChooser
I've noticed when using the Date chooser part of the DateField that when used, it remembers the month of the previous time it was used. For Example: Today is 23rd February. I set the selected range to be 28 feb to 28 August. Set the selected date to null. User specifies a date, scrolls to month may selects date 15 May, does other work. Then comes back to the DateField, which I programatically set the selected date back to null. The month first shown is May, whereas I want the month to be February. Is there anyway I can specify which month should be shown when the chooser is used? Thanks Andrew
[flexcoders] Size of text field in an Alert
In the alert control, it is possible to alter the width of the alert. But this does not change the width of the text shown in the alert. If I make the alert wider, I want the textfield to be wider so it does not display the text over 2 lines. Is there anyway to alter the width of the alert text field. Thanks Andrew
[flexcoders] Re: htmlText css Span tag
I have been able to get that to work in TextArea's with the htmlText, however, the fonts start to act crazy for some reason. I was never able to get it to reliably work so I just went with using the font tag in the htmlText to get it to work. A real pain but it does work. Derrick - Derrick Grigg [EMAIL PROTECTED]
[flexcoders] flex and Java SE 6 wsgen generated services
Hi All, I was wondering if any of you have been trying to auto-generate WSDLs and web-services using wsgen and access them using Flash. Wsgen separates the message parameters from WSDL file, and keeps them in a separate XSD, but this doesn't seem to be supported right now. Does anyone know of any elegant-ish workarounds or whether support for this kind of WSDL is likely to be added in near-future releases of Flash? I imagine there will be lots of people trying to use wsgen on new projects. Best, Giles
[flexcoders] show data tips not working for datagrid
I'm trying to get a certain field to show up because it is clipped by the cell in my datagrid. I've set showDataTips = 'true' in the datagrid column that I want to show. I've also set a dataTipFunction = showDetails on the datagrid itself and for the column. The function looks like this: private function showDetails( item:Object ) : String { var xmlItem:XML = item as XML; return [EMAIL PROTECTED]; } Nothing is happening though, no pop-up box, nothing. I am using an XMLListCollection as the dataprovider for the datagrid. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.
Re: [flexcoders] Two simple List questions
Thank you Karl, number 1 worked! thanks! :) about number 2 considering the code: mx:XMLList xmlns= id=listSource root site name=betanews url=www.betanews.com/ site name=dzone url=www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ I want the click event of the siteList to show an Alert with the value of the url attribute of the selected site item can you help me? thanks in advance On 2/23/07, Karl Johnson [EMAIL PROTECTED] wrote: Hi André, Change your labelField property to be labelField=@name Because you are pulling the value from an XML attribute you need to designate it as such using @ before the property name. What do you mean you want to return the URL attribute? You want to display it? Please be more specific about number 2. Karl Cynergy -- *From:* flexcoders@yahoogroups.com on behalf of André Rodrigues Pena *Sent:* Fri 2/23/2007 10:01 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Two simple List questions Hi all, I got 2 doubts. 1) I want to populate a List control so I did mx:XMLList xmlns= id=listSource root site name=betanews url=www.betanews.com/ site name=dzone url=www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ That's what I understood from the documentation. But it doens't work Can anybody tell me why? 2) I want to return the url attribute from the site item. I'm trying but I'm not getting to do this THANKS -- André Rodrigues Pena -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org
[flexcoders] Test for Network Connection
I have a few probing questions that will ultimately force my final design. I'm writing an on-line/off-line application that will sync your data once you return to an on-line status. Instead of calling an http service every 15 seconds to test for connection status, is there some way I can see deeper into the client's machine to see the status of network connection? Or perhaps a lighter ping mechanism that doesn't actually send anything over the wire to test for connection? Thanks
Re: [flexcoders] Two simple List questions
Karl using your first tip I got to solve the second now just added this to the List : click=Alert.show([EMAIL PROTECTED]) thanks! :) On 2/23/07, André Rodrigues Pena [EMAIL PROTECTED] wrote: Thank you Karl, number 1 worked! thanks! :) about number 2 considering the code: mx:XMLList xmlns= id=listSource root site name=betanews url= www.betanews.com/ site name=dzone url= www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ I want the click event of the siteList to show an Alert with the value of the url attribute of the selected site item can you help me? thanks in advance On 2/23/07, Karl Johnson [EMAIL PROTECTED] wrote: Hi André, Change your labelField property to be labelField=@name Because you are pulling the value from an XML attribute you need to designate it as such using @ before the property name. What do you mean you want to return the URL attribute? You want to display it? Please be more specific about number 2. Karl Cynergy -- *From:* flexcoders@yahoogroups.com on behalf of André Rodrigues Pena *Sent:* Fri 2/23/2007 10:01 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Two simple List questions Hi all, I got 2 doubts. 1) I want to populate a List control so I did mx:XMLList xmlns= id=listSource root site name=betanews url=www.betanews.com/ site name=dzone url=www.dzone.com/ /root /mx:XMLList mx:List id=siteList x=10 y=10 dataProvider={listSource.site} labelField=name/ That's what I understood from the documentation. But it doens't work Can anybody tell me why? 2) I want to return the url attribute from the site item. I'm trying but I'm not getting to do this THANKS -- André Rodrigues Pena -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org
[flexcoders] Re: Keyboard issues on VISTA
Did not use Textarea, but it happens both in TEXTINPUT and RICHTEXTEDITOR. I went to a COMPUSA that has a bunch of Internet connected laptops, and the issue appeared on all VISTA machines. Tried on a few XP machines too - and no issues there. What do you mean by thrashed? Sorry, have never heard that term before (not a native speaker either) Thanks --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 Feb 2007, iko_knyphausen wrote: 1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1 would end up as This is a vanilla TextArea or what have you ? Is the machine having it's CPU thrashed ? -- Tom Chiverton Helping to assertively develop web-enabled developments at http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] FABridge aclarations...
Thanks for the explanation of the html template Karl, I will try it as you say. -- Matías Nicolás Sommi 2007/2/23, Karl Johnson [EMAIL PROTECTED]: At compile time, FlexBuilder generates your hosting HTML file based on the HTML template in html-template/index.template.html The easiest option right now is to take your generated html file and add in the javascript methods that you need, and save it off as a different html file. Then after you compile, just hit your new html file instead of the generated file (if you want, you can set FB to open to a specific HTML file so it always uses your other file). Does that make sense? The SWF will get regenerated with each compile and if you have added the FABridge component, it will always be in there - regardless of what HTML file hosts that swf. Karl Cynergy -- *From:* flexcoders@yahoogroups.com on behalf of Matias Nicolas Sommi *Sent:* Fri 2/23/2007 10:25 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] FABridge aclarations... Thanks Karl, but i think that I don't explain me very good. Flex generate an MXML app, and, only in the bin folder, autogenerate the swf file. The Javascript code is included in a HTML page. Flex generate an HTML page only in the bin folder containing the javascript methods for history and other thinks like the get plugin. The think that I want to know is if I need touch these HTML generated by flex, or generate one myself, but in this last case, I need the swf file... I must use the bin/swf file? This comment is because in the fabridge example, the html embedd the swf file from a src, and in the html generated by flex, the swf is embbeded on the fly or something like this. If you have a very simple example (the most simple as possible) of one flex project using fabridge I appreciate it very much. Thanks again. -- Matías Nicolás Sommi 2007/2/23, Karl Johnson [EMAIL PROTECTED]: What part are you asking if it needs to be embedded? The javascript side that lives in the HTML definitely does not get embedded. You can launch your app that is using the FABrdige from your next HTML file or you can modify the HTML template file in FB to use the JS code from the FABridge html examples. Does that make sense? You still need the ActionScript side of things embedded in the swf to act as your component or proxy that links your AS methods throughout your app to your JS methods in the parent html file that is hosting the swf. Karl Cynergy -- *From:* flexcoders@yahoogroups.com on behalf of Matias Nicolas Sommi *Sent:* Fri 2/23/2007 8:35 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] FABridge aclarations... Hello, I'm working in one app and I want to call a method of javascript from actionscript and viceversa. When I download the fabridge from adobe labs, I read the doc, and I don't understand one thing, what are the first steps (in configuration), I say, I need to create a new HTML, and embed into it the swf compiled? Or I can use the html generated by the flex builder? I try to copy as the example but I don't get it works. Thanks a lot. Regards. -- Matías Nicolás Sommi
[flexcoders] Re: Cairngorm's Anaemic Domain Model
No Cairngorm Enterprise is still an internal project. We are currently developing our first customer project on Cairngorm Enterprise. Once we have proven it we will then look to release to the community. --- In flexcoders@yahoogroups.com, John Menke [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Peter Martin pmartin@ wrote: I thought at this point it is worth jumping in to talk a bit about Cairngorm Enterprise, which we are currently working on. Peter, is there a public cairngorm repository where we can get a look at the Cairngorm Enterprise Code? -jm
RE: [flexcoders] Re: Keyboard issues on VISTA
Just curious, have you tried your app on IE 7 on Windows XP? There was someone else on flexcoders talking about weirdness with form input in IE 7, and since Vista uses IE 7 I am wondering if it is a problem with browser and not the OS. Has anyone from the flash player team heard of an issue around this or looked into anything similar? Karl Cynergy From: flexcoders@yahoogroups.com on behalf of iko_knyphausen Sent: Fri 2/23/2007 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keyboard issues on VISTA Did not use Textarea, but it happens both in TEXTINPUT and RICHTEXTEDITOR. I went to a COMPUSA that has a bunch of Internet connected laptops, and the issue appeared on all VISTA machines. Tried on a few XP machines too - and no issues there. What do you mean by thrashed? Sorry, have never heard that term before (not a native speaker either) Thanks --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 Feb 2007, iko_knyphausen wrote: 1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1 would end up as This is a vanilla TextArea or what have you ? Is the machine having it's CPU thrashed ? -- Tom Chiverton Helping to assertively develop web-enabled developments at http://thefalken.livejournal.com http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Detecting a repeat key operation
Does anyone know how to detect when the user holds down a key desiring repeating key entries? In the KeyboardEvent, I see KEY_UP and KEY_DOWN -- but no KEY_REPEAT.
RE: [flexcoders] Multiple Instances of CF / FDS and messaging broken?
We're working with Adobe on, I think, this same issue. Are you just changing the service name in Flex Integration in CF Admin? Jay Proulx [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Niklas Richardson Sent: February 23, 2007 10:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken? Hi Joao, Thanks for the pointer. With another pointer from Tom, and testing your suggestion, it appears that it's just the destination that you need to change. My guess is that, eventhough you have multiple FDS's running, the destinations must be registered in some server wide registry. Therefore, if you have the same destination name in multiple FDS's, then the last FDS to start overwrites the registry entry for that destination. By renaming the destination name for the production instance and then updating the code for the production instance so CF and Flex pointed to the new production destination has now fixed everything. It actually doesn't seem to matter than in the CF instances that all the event gateway names are the same across instances. Thanks again for the pointers. Cheers Niklas On 2/22/07, João Fernandes [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: It's something that I already spoke with Tom J. Can you try to create different names for the EG instance and if it doesn't work, try to use different destinationNames? João Fernandes -- Niklas Richardson Prismix Ltd UK based Flex and ColdFusion Specialists
Re: [flexcoders] Detecting a repeat key operation
Not sure about built-in functionality, but this could be easily accomplished by capturing the keydown, and then repeating a function until keyup occurs... using the Timer or setInterval. Brendan On 2/23/07, mjharris73 [EMAIL PROTECTED] wrote: Does anyone know how to detect when the user holds down a key desiring repeating key entries? In the KeyboardEvent, I see KEY_UP and KEY_DOWN -- but no KEY_REPEAT. -- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca
[flexcoders] Firefox (2.0.0.1) content caching and HTTPService calls
We have build an application which polls XML data bound to Flex Charting controls via HTTPService. We have noticed that run in Firefox 2.0.0.1 it seems as if the result get cached. Even though the server side data changes the chart does not update. If you select Tools Clear Private Data in Firefox the updated data is fetched and the chart immediately gets updated. Does anybody know how to send a no-cache instruction via HTTPService or work around this problem? Internet Explorer 7 does not seem to have this odd behavior. Your feedback is very much appreciated. -Ralf
[flexcoders] Re: Keyboard issues on VISTA
I've found a lot of bugs in the Flash 9 player on windows related to Events. Most recent are the MouseEvents are not sending all the modifier info and scroll wheel info in the Plugin, but the ActiveX control does. This is on XP and Vista. --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED] wrote: Just curious, have you tried your app on IE 7 on Windows XP? There was someone else on flexcoders talking about weirdness with form input in IE 7, and since Vista uses IE 7 I am wondering if it is a problem with browser and not the OS. Has anyone from the flash player team heard of an issue around this or looked into anything similar? Karl Cynergy From: flexcoders@yahoogroups.com on behalf of iko_knyphausen Sent: Fri 2/23/2007 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keyboard issues on VISTA Did not use Textarea, but it happens both in TEXTINPUT and RICHTEXTEDITOR. I went to a COMPUSA that has a bunch of Internet connected laptops, and the issue appeared on all VISTA machines. Tried on a few XP machines too - and no issues there. What do you mean by thrashed? Sorry, have never heard that term before (not a native speaker either) Thanks --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton tom.chiverton@ wrote: On Thursday 22 Feb 2007, iko_knyphausen wrote: 1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1 would end up as This is a vanilla TextArea or what have you ? Is the machine having it's CPU thrashed ? -- Tom Chiverton Helping to assertively develop web-enabled developments at http://thefalken.livejournal.com http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Firefox (2.0.0.1) content caching and HTTPService calls
You need to include no cache headers in the response. What language is your server side xml generation written in? Carson -Original Message- From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Fri Feb 23 13:27:03 2007 Subject: [flexcoders] Firefox (2.0.0.1) content caching and HTTPService calls We have build an application which polls XML data bound to Flex Charting controls via HTTPService. We have noticed that run in Firefox 2.0.0.1 it seems as if the result get cached. Even though the server side data changes the chart does not update. If you select Tools Clear Private Data in Firefox the updated data is fetched and the chart immediately gets updated. Does anybody know how to send a “no-cache” instruction via HTTPService or work around this problem? Internet Explorer 7 does not seem to have this odd behavior. Your feedback is very much appreciated. -Ralf
[flexcoders] FDS and Cairngorm / Individual Item Updates
Hey All, I'm having an issue finding a best-practice approach for CRUD operations with FDS. Create/Read/Delete are easy, I'm having a problem with updates. I can easily encapsulate CRD's in my Commands, but there doesn't seem to be an option to explicitly commit only a single record with FDS. In a non-cairngorm application, this is pretty easy, I can create a record, then call ds.createItem(), update it and then ds.commit(). The DataService object is local to the interface that is managing the record. No problem, one record committed (correct?). However, with Cairngorm: 1. Get a list of records a. dispatch ProductEvent.GET_ALL b. GetAllProductsCommand.execute() c. ds = new DataService(productHome); d. ds.fill(model.products); 2. Edit a product a. myList.dataProvider = model.products b. dispatch ProductEvent.EDIT, event.product = myList.selectedItem c. interface changes to the product form d. make modifications via a form e. dispatch ProductEvent.SAVE, event.product = myform.product f. SaveProductCommand.execute() g. ds = new DataService(productHome); h. .. how do we commit just this one record? Even if I still had a reference to the original DataService from the fill operation, I may not want to commit all records that changed, only the one that I'm interested in. This would be equivalent to keeping my DataService in my ServiceLocator. The only other option I can think of is that SaveProductCommand works like this, which messes up conflict checks: 1. product = (event as ProductEvent).product; 2. ds = new DataService(productHome); 3. ds.getItem({product_id: product.product_id}); 4. locally synchronize the item retrieved from ds.getItem() with the product we received in the product event 5. ds.commit() When we do this though, we very likely have the most recent copy of the object from the database, so we're not sure that something hadn't changed before getting it. Am I making this too complex? Is there another way to simply commit one particular record? I can think of all sorts of workarounds, but all of them violate the Cairngorm protocols. I can definitely see the other developers on the team bypassing our Command logic making Cairngorm a little useless :-) Jay Proulx Application Developer Internet Delivery Services - eVision Team [EMAIL PROTECTED] (613) 783-6711
[flexcoders] Image scaling / smoothing
Not sure if I've seen a solution to this on-list, so here's one I was pointed to, that works swimmingly!: http://blog.739saintlouis.com/2007/02/05/scaling-an-image-with-smoothing/ : : ) Scott
[flexcoders] Hey Adobe Guys
Your blog links are broken. http://www.adobe.com/devnet/flex/index.html?tab:home=1 Click on a link and you get an error page. File not found: /lin/2007/02/tips_for_using_2.cfm I think it just happened.
[flexcoders] Just curious, A big development team or individual developers
I wonder how many people are working on TEAM to develop their flex applications (and how many are 1 or 2 men (whoops I mean PEOPLE) developers. Please discount the Graphic artists, HTML coders. et. al. If you have 3 or more people working on the same flex application, please answer as a TEAM. 2 or 1, INDIVIDUAL. Thanks Bruce
RE: [flexcoders] Hey Adobe Guys
Looks like just Lin's blog at the moment. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Friday, February 23, 2007 10:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Hey Adobe Guys Your blog links are broken. http://www.adobe.com/devnet/flex/index.html?tab:home=1 http://www.adobe.com/devnet/flex/index.html?tab:home=1 Click on a link and you get an error page. File not found: /lin/2007/02/tips_for_using_2.cfm I think it just happened.
Re: [flexcoders] Just curious, A big development team or individual developers
right now, just me, in a couple months it will be TEAM. On 2/23/07, boy_trike [EMAIL PROTECTED] wrote: I wonder how many people are working on TEAM to develop their flex applications (and how many are 1 or 2 men (whoops I mean PEOPLE) developers. Please discount the Graphic artists, HTML coders. et. al. If you have 3 or more people working on the same flex application, please answer as a TEAM. 2 or 1, INDIVIDUAL. Thanks Bruce -- http://indeegrumpee.spaces.live.com/
[flexcoders] Quadrant chart
Hi, I'm trying to develop a chart that looks similar to the following: http://www.adaptivepath.com/images/publications/essays/prioritization _chart.gif Essentially, have a set of 'A' values and a set of 'B' values, then calculate the average of 'A' values and show that as a vertical line, calculate the average of 'B' values and show that as a horizontal line, and then display each combination of [A,B] value as a point on the chart. I've looked at a couple of other posts on this forum to see how I can use the gridline to create the average horizontal and vertical lines...but haven't been able to really do it. Can someone please post a really small example of how I can plot those lines? Also, (and this is optional) how can I place those label annotations on the chart at specific data points? Thanks, Mehul.
[flexcoders] Re: Just curious, A big development team or individual developers
We need a team but alas it is just me (INDIVIDUAL). --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: I wonder how many people are working on TEAM to develop their flex applications (and how many are 1 or 2 men (whoops I mean PEOPLE) developers. Please discount the Graphic artists, HTML coders. et. al. If you have 3 or more people working on the same flex application, please answer as a TEAM. 2 or 1, INDIVIDUAL. Thanks Bruce
RE: [flexcoders] Quadrant chart
See my post: http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehul Doshi Sent: Friday, February 23, 2007 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Quadrant chart Hi, I'm trying to develop a chart that looks similar to the following: http://www.adaptivepath.com/images/publications/essays/prioritization http://www.adaptivepath.com/images/publications/essays/prioritization _chart.gif Essentially, have a set of 'A' values and a set of 'B' values, then calculate the average of 'A' values and show that as a vertical line, calculate the average of 'B' values and show that as a horizontal line, and then display each combination of [A,B] value as a point on the chart. I've looked at a couple of other posts on this forum to see how I can use the gridline to create the average horizontal and vertical lines...but haven't been able to really do it. Can someone please post a really small example of how I can plot those lines? Also, (and this is optional) how can I place those label annotations on the chart at specific data points? Thanks, Mehul.
RE: [flexcoders] Re: FDS/Hibernate - LazyInitializationException when writing AMF output
Hi PW, I'd suggest that we add you to the latest Data Services beta because either we have fixed this issue, or we will fix this issue in the next release. Can you contact me off-list and I'll add you to the beat so you can test DS with the latest DS and hibernate assembler. Thanks Eric Flex PM From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of parkerwhirlow Sent: Friday, February 16, 2007 7:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS/Hibernate - LazyInitializationException when writing AMF output This is happening from FDS... flex.data.assemblers.HibernateAssembler uses a function called fetchObjectProperties() that's supposed to load them all while the session is open right? I've seen in other posts that FDS eager fetches the properties in the Assembler, so that they are available during serialization... am I missing something here? thanks, PW --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Dima Gutzeit [EMAIL PROTECTED] wrote: Hi, You have to initialize the collections before AMF serializes them. The problem occurs since you closing Hibernate session without first initializing the arrays, and since you are using lazy initialization the problem arise. You have two options : 1. Use lazy=false 2. Better one, is calling /Hibernate.initialize(your_array_reference);/ before you close the Hibernate session. Regards, Dima Gutzeit. parkerwhirlow wrote: Hi again =) I've just started getting this exception inconsistently... sometimes it happens 3 times in a row, other times I can go all afternoon without getting it. Once the exception occurs, it will occur every time the client loads until FDS is restarted. Note this occurs on multiple collections. I tried setting the offending collection to lazy=false (in Hibernate), and the exception occurred on a different collection. I can't set every one of my collections to lazy=false. Especially since at this point, they HAVE to be lazy for the updateItem via hierarchical values to almost work. I also noticed that the collection does not necessarily need to have any items in it. (And possibly is caused specifically by NOT having any items in it, I can't tell for sure). The collection referenced in the exception below has no values, and there's another collection in that same class with values that doesn't seem to cause the exception. See below the hibernate mapping, and exception output when this occurs. (Note there are no FDS managed associations for this collection) Thanks for any insight you have as to what is causing this. PW _ joined-subclass name=Adult table=T_ADULT extends=Person key column name=ID length=22 / /key set name=children inverse=false cascade=all-delete-orphan key column name=PARENTID length=22 not-null=false / /key one-to-many class=Person / /set ... /joined-subclass 10:19:42,093 WARN ProxyWarnLog - Narrowing proxy to class config.test.Adult - this operation breaks == 10:19:44,687 ERROR LazyInitializationException - failed to lazily initialize a collection of role: config.test.Adult.children, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: config.test.Adult.children, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializ ationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializ ationExceptionIfNotConnected(AbstractPersistentCollection.j ava:350) at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractP ersistentCollection.java:97) at org.hibernate.collection.PersistentSet.size(PersistentSet.java:139) at java.util.ArrayList.init(ArrayList.java:133) at flex.messaging.io.ArrayCollection.init(ArrayCollection.java:44) at flex.messaging.io.amf.Amf3Output.writeArrayCollection(Amf3Output.java:40 7) at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:147) at flex.messaging.io.amf.Amf3Output.writeObjectProperty(Amf3Output.java:215 ) at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:495) at flex.messaging.io.amf.Amf3Output.writeCustomObject(Amf3Output.java:467) at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:165) at flex.messaging.io.amf.Amf3Output.writeObjectArray(Amf3Output.java:730) at flex.messaging.io.amf.Amf3Output.writeAMFArray(Amf3Output.java:386) at flex.messaging.io.amf.Amf3Output.writeObject(Amf3Output.java:151) at flex.messaging.io.ArrayCollection.writeExternal(ArrayCollection.java:97) at flex.messaging.io.amf.Amf3Output.writePropertyProxy(Amf3Output.java:485) at flex.messaging.io.amf.Amf3Output.writeArrayCollection(Amf3Output.java:41 4)
[flexcoders] Need help seaching and comparing in an ArrayCollection
I'm at a bit of a loss right now how to do something. I'm building an app that shows current and future projects with deploy dates, names, etc. One thing they want this app to do is to flag projects that are to be deployed within a week of any other project. In other words, if one is going out the door on March 1 and anther is going out on March 3 or February 27, each gets a flag. I'm really at a loss on how to best go about searching my ArrayCollection for these items. Can someone please help with how I can get started? I guess I somehow need to pull out one item at a time from the AC and compare it with all the rest in the AC? Thanks
[flexcoders] Charting - create a secondSeries with Actionscript 3.0 ???
Hey Gang - Has anyone had any experience with dynamically adding a second series to a chart using actionscript 3.0 ? Using a LineChart object I have been dynamically creating new LineSeries under the linechart's series with no problem. I am not having luck adding a second series though. The data is fine, it just won't display a second series. To test, I added my secondSeries data to the primary series, and it displays (but realtive to the wrong Y axis, obviously). If anyone has any ideas, I would appreciate it. If I find a solution, I'll post it here as well. Thanks, Mike
[flexcoders] Re: flex sdk
Thank you for your reply. I have downloaded a second zip of the sdk both about 28 meg. I am attempting to get the mxml editor to see the mxml files. Is there a good set of instructions for any ant task that may need to be set up? --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: The free SDK is a set of classes and command-line tools. Flex Builder can be used as an Eclipse plugin - but this is not free. I think you may have downloaded Flex Builder in addition to the SDK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mapper2255 Sent: 23 February 2007 16:31 To: flexcoders@yahoogroups.com Subject: [flexcoders] flex sdk Good Morning, I have just downloaded and installed the Flex SDK 2 into Eclipse 3.1. We I start Eclipse I get the Flex Builder Activation box asking for my serial number? I had the trial loaded at one time but it has been uninstalled can someone tell me why I should be asked for a serial number? Thanks.
[flexcoders] Re: Just curious, A big development team or individual developers
Same here - just me, but hopefully not for long. --- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote: We need a team but alas it is just me (INDIVIDUAL). --- In flexcoders@yahoogroups.com, boy_trike boy_trike@ wrote: I wonder how many people are working on TEAM to develop their flex applications (and how many are 1 or 2 men (whoops I mean PEOPLE) developers. Please discount the Graphic artists, HTML coders. et. al. If you have 3 or more people working on the same flex application, please answer as a TEAM. 2 or 1, INDIVIDUAL. Thanks Bruce
Re: [flexcoders] Re: How to get the real X Y of a repeater item
Hey you might want to also look into ³localToGlobal² I.e var comp : UIComponent = UIComponent( event.target ); var point : Point = comp.localToGlobal( new Point( comp.x, comp.y ) ); trace( point.x + : + point.y ); -Keun On 2/22/07 9:24 AM, jer_ela [EMAIL PROTECTED] wrote: The following code gets the x and y positions of an image that has been clicked on that was generated by a repeater. Getting the coords for a button should be pretty much the same. stageX and Y are the x and y coords of the mouse position relative to the application stage. mainCanvas is a direct child of the application and is the container that I want the coords relative to. If you have additional containers between the stage and the one you need coords relative to, you have to subtract the x and y at each level to get from stage coords to that container's coords. Subtracting the mouseX and Y moves the coords from the point or the click to the upper left corner of the image. selectedImage.x = event[stageX] - mainCanvas.x - event.currentTarget.mouseX; selectedImage.y = event[stageY] - mainCanvas.y - event.currentTarget.mouseY; --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , zipo13 [EMAIL PROTECTED] wrote: Hi, In my app I create a repeater the generats VBoxes each with button in it. When the user clicks on the button I want to generate a small dialog that will open up under the button. I know how to get the repeater current item and target and current target but I can't find the real X Y of the button. Am I going in the wrong direction?
[flexcoders] Re: Quadrant chart
Yeah, I've looked at it, but it seems a bit complex (for a beginner) to do something as simple as creating a single vertical or horizontal line for a specified value. Can that not be done using just a single horizontal and vertical gridline? Or, did you refer me to your custom charts example for the label annotations on the chart? Thanks, Mehul. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: See my post: http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehul Doshi Sent: Friday, February 23, 2007 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Quadrant chart Hi, I'm trying to develop a chart that looks similar to the following: http://www.adaptivepath.com/images/publications/essays/prioritization http://www.adaptivepath.com/images/publications/essays/prioritizatio n _chart.gif Essentially, have a set of 'A' values and a set of 'B' values, then calculate the average of 'A' values and show that as a vertical line, calculate the average of 'B' values and show that as a horizontal line, and then display each combination of [A,B] value as a point on the chart. I've looked at a couple of other posts on this forum to see how I can use the gridline to create the average horizontal and vertical lines...but haven't been able to really do it. Can someone please post a really small example of how I can plot those lines? Also, (and this is optional) how can I place those label annotations on the chart at specific data points? Thanks, Mehul.
Re: [flexcoders] Re: Just curious, A big development team or individual developers
INDIVIDUAL Just me doing Flex/UI, although we only have 3 developers total so we're quite small. I suspect you'll see a trend of small Flex teams in most startups/companies adopting Flex for the first time since it is so powerful and efficient to develop in that you really don't need huge teams for most projects. Brian On 2/23/07, mgrayfmr [EMAIL PROTECTED] wrote: Same here - just me, but hopefully not for long. --- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote: We need a team but alas it is just me (INDIVIDUAL). --- In flexcoders@yahoogroups.com, boy_trike boy_trike@ wrote: I wonder how many people are working on TEAM to develop their flex applications (and how many are 1 or 2 men (whoops I mean PEOPLE) developers. Please discount the Graphic artists, HTML coders. et. al. If you have 3 or more people working on the same flex application, please answer as a TEAM. 2 or 1, INDIVIDUAL. Thanks Bruce -- Brian Dunphy
RE: [flexcoders] dataProvider question
You do need to use XMLListCollection to get the ui update. XMLList is ike Array, and does not dispatch the necessary events. Either of the collections, or XML will. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrey Sent: Thursday, February 22, 2007 8:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dataProvider question Sure! my list is defined as follows: mx:List id=lstData width=100% height=100% labelField=@name /mx:List In my component (well, class) i have the following variable: [Bindable] public var MyDataList:XMLList = new XMLList(); then when the application loads and i get the instance of the component, i call the following: lstData.dataProvider = mycomponent.MyDataList; everything looks ok so far, right? then then when i receive a proper xml, i update it all inside the component: MyDataList = new XML(myxmlstring).children(); theoretically the lstData should somehow receive notification that the dataProvider has been updated and refresh itself, right? this doesn't seem to work. Since this doesn't seem to work we're reserved to throwing events from the component to the list and rebinding the list when that event is caught by the gui, but the whole thing is pretty cumbersome and i think this should work automatically what are we doing wrong? Thank you! On 2/22/07, Igor Costa [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: It would be nice to see your part of you code to see what you are doing wrong. Regards. On 2/22/07, darvon4u [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Here is an interesting one, not sure if i'm missing something or what. I have a list to show some data. I also have a component with an xmllist property which is marked as [Bindable] in actionscript, i instantiate that component and bind this data property to the list. When i receive data from webservice, i update the xmllist of the component. shouldn't the visual list update as well since it is bound to that component's property? also, i have tried this with an XMLListCollection as well and same result. only if i rebind the list to the component's property do i get the result. what i am doing wrong? is this by design? should there be something else wired or triggered for the updates to occur automatically? thank you in advance if anybody can help in any way, -A -- Igor Costa www.igorcosta.org http://www.igorcosta.org www.igorcosta.com http://www.igorcosta.com skype: igorpcosta
Re: [flexcoders] Charting - create a secondSeries with Actionscript 3.0 ???
a code post will help :) --- mgrayfmr [EMAIL PROTECTED] wrote: Hey Gang - Has anyone had any experience with dynamically adding a second series to a chart using actionscript 3.0 ? Using a LineChart object I have been dynamically creating new LineSeries under the linechart's series with no problem. I am not having luck adding a second series though. The data is fine, it just won't display a second series. To test, I added my secondSeries data to the primary series, and it displays (but realtive to the wrong Y axis, obviously). If anyone has any ideas, I would appreciate it. If I find a solution, I'll post it here as well. Thanks, Mike Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html
RE: [flexcoders] Just curious, A big development team or individual developers
For the project I am on now, it is just me. For the project that is being designed it will be a team. We have 3 inhouse Flex devs currently (myself and 2 others) and will either be hiring more or bringing in some consultants. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boy_trike Sent: Friday, February 23, 2007 1:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Just curious, A big development team or individual developers I wonder how many people are working on TEAM to develop their flex applications (and how many are 1 or 2 men (whoops I mean PEOPLE) developers. Please discount the Graphic artists, HTML coders. et. al. If you have 3 or more people working on the same flex application, please answer as a TEAM. 2 or 1, INDIVIDUAL. Thanks Bruce
RE: [flexcoders] Re: How to get the real X Y of a repeater item
or if your container uses absolute positioning you would need to use contentToGlobal -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Keun Lee Sent: Friday, February 23, 2007 2:09 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to get the real X Y of a repeater item Hey you might want to also look into localToGlobal I.e var comp : UIComponent = UIComponent( event.target );var point : Point = comp.localToGlobal( new Point( comp.x, comp.y ) );trace( point.x + : + point.y ); -Keun On 2/22/07 9:24 AM, jer_ela [EMAIL PROTECTED] wrote: The following code gets the x and y positions of an image that has been clicked on that was generated by a repeater. Getting the coords for a button should be pretty much the same. stageX and Y are the x and y coords of the mouse position relative to the application stage. mainCanvas is a direct child of the application and is the container that I want the coords relative to. If you have additional containers between the stage and the one you need coords relative to, you have to subtract the x and y at each level to get from stage coords to that container's coords. Subtracting the mouseX and Y moves the coords from the point or the click to the upper left corner of the image. selectedImage.x = event[stageX] - mainCanvas.x - event.currentTarget.mouseX; selectedImage.y = event[stageY] - mainCanvas.y - event.currentTarget.mouseY; --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , zipo13 [EMAIL PROTECTED] wrote: Hi, In my app I create a repeater the generats VBoxes each with button in it. When the user clicks on the button I want to generate a small dialog that will open up under the button. I know how to get the repeater current item and target and current target but I can't find the real X Y of the button. Am I going in the wrong direction?
[flexcoders] Re: flex sdk
Does Adobe have a link where you can input your licenses for Flash 5, Flash MX and Flash 2004 Pro and then they send you to a page with decent install instructions for troubleShooting the sdk? --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: The free SDK is a set of classes and command-line tools. Flex Builder can be used as an Eclipse plugin - but this is not free. I think you may have downloaded Flex Builder in addition to the SDK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mapper2255 Sent: 23 February 2007 16:31 To: flexcoders@yahoogroups.com Subject: [flexcoders] flex sdk Good Morning, I have just downloaded and installed the Flex SDK 2 into Eclipse 3.1. We I start Eclipse I get the Flex Builder Activation box asking for my serial number? I had the trial loaded at one time but it has been uninstalled can someone tell me why I should be asked for a serial number? Thanks.
Re: [flexcoders] Re: FDS and licensing issues
thanks jayson but my system uses and requires multiple CPU machines. -Chaitanya On 2/22/07, Jayson [EMAIL PROTECTED] wrote: This is copied right from the Adobe download page for Flex and FDS Flex Data Services 2 Express A powerful solution for creating data-intensive rich applications. The Express edition is a free, non-expiring commercial-use product for applications deployed on a single machine with no more than one CPU. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, chaitanya raja [EMAIL PROTECTED] wrote: Hmm.. I guess you could classify this as a rant. Anyways, here it goes. Could someone please suggest what i could do. Consider, I am a small software firm and I create a product which i sell to different companies. I think Flex and FDS provides me a really good implementation of part of my product. There are other options available for the functionality, but I do like Flex. But then again, should i pay the huge sum that FDS costs me for every sale I make? I think this is not fair. This is my understanding of the licnesing for FDS. Let me know if its not so. Also do let me know if I have any other alternative licensing options available for FDS. Regards, Chaitanya
[flexcoders] Re: Keyboard issues on VISTA
Just installed IE7 on an XP/SP2 machine, works smoothly...no problem. --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED] wrote: Just curious, have you tried your app on IE 7 on Windows XP? There was someone else on flexcoders talking about weirdness with form input in IE 7, and since Vista uses IE 7 I am wondering if it is a problem with browser and not the OS. Has anyone from the flash player team heard of an issue around this or looked into anything similar? Karl Cynergy From: flexcoders@yahoogroups.com on behalf of iko_knyphausen Sent: Fri 2/23/2007 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keyboard issues on VISTA Did not use Textarea, but it happens both in TEXTINPUT and RICHTEXTEDITOR. I went to a COMPUSA that has a bunch of Internet connected laptops, and the issue appeared on all VISTA machines. Tried on a few XP machines too - and no issues there. What do you mean by thrashed? Sorry, have never heard that term before (not a native speaker either) Thanks --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Chiverton tom.chiverton@ wrote: On Thursday 22 Feb 2007, iko_knyphausen wrote: 1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1 would end up as This is a vanilla TextArea or what have you ? Is the machine having it's CPU thrashed ? -- Tom Chiverton Helping to assertively develop web-enabled developments at http://thefalken.livejournal.com http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: .NET Web Services w/Soap Headers
Resolved. Using the Adobe Specifications, I did not create an array within the content:Object. Was: public function headers():void { // Create QName and SOAPHeader objects. var q1:QName=new QName(http://ws.indymanage.com;, authHeader); header1=new SOAPHeader(q1, {userName:x}); header2=new SOAPHeader(q1, {passCode:y}); // Add the header1 SOAP Header to all web service requests. wsClients.GetClients.addHeader(header1); wsClients.GetClients.addHeader(header2); } Now: public function headers():void { // Create QName and SOAPHeader objects. var q1:QName=new QName(http://ws.indymanage.com;, authHeader); header1=new SOAPHeader(q1, {userName:x, passCode:}); // Add the header1 SOAP Header to all web service requests. wsClients.GetClients.addHeader(header1); } Still not sure why the headersXML did not work, but I think that has to with .NET, not FLEX. Thanks to everyone who came to my assistance, Brian --- In flexcoders@yahoogroups.com, bsausser [EMAIL PROTECTED] wrote: .NET Web Services [Novice Notification (Trying out the Flex Platform)] Goal: pull an array of clients from a .NET 2.0 Web Service and populate a Flex DataGrid. Spec: use Soap Headers to restrict access to web service. Models copied from: 1) Adobe's Specification, 2) Cynergy's Census Mashups Using StrikeIron Web Services and Yahoo Maps in Flex 2 Successful without Soap Headers; Unsuccessful with Soap Headers in both models. Model 1: screen shots NET-Code http://www.dendera.com/images/NET-code.jpg http://www.dendera.com/images/flex-code.gif http://www.dendera.com/images/flex-code.gif http://www.dendera.com/images/flex-debug-var.gif http://www.dendera.com/images/flex-debug-var.gif Model 2: screen shots http://www.dendera.com/images/flex-code-xml.gif http://www.dendera.com/images/flex-code-xml.gif http://www.dendera.com/images/flex-debug-var-xml.gif http://www.dendera.com/images/flex-debug-var-xml.gif Any help or opinions would be greatly appreciated, Brian
Re: [flexcoders] amfPHP 1.9 beta 2, malformed amf object question
Try adding this in gateway.php: $gateway-setLooseMode(true); It was an oversight on my part, will be fixed in next version. Patrick Kun Janos a écrit : Hi all I updatet amfphp 1.2 to amfPHP 1.9 beta 2. In the old services/dao 's I had some echo/print commands for debugging and amfphp worked just fine. When amfPHP 1.9 beta 2 finds an echo or print in the services it stops working. I mean, the amf object that is sent back is malformed. This malformation also happens if in the service.php before the ?php or after the closing ? we have some white spaces. Is this a bug? Janos We won't tell. Get more on shows you hate to love http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265 (and love to hate): Yahoo! TV's Guilty Pleasures list. http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
RE: [flexcoders] Access Flex components from browser
ExternalInterface lets you communicate with javascript in the html wrapper. It is delightfully easy to use. And synchronous! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Johnson Sent: Friday, February 23, 2007 11:28 AM To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com Subject: RE: [flexcoders] Access Flex components from browser There are a few ways you can approach this. One is you can pass the variables in via the querystring and then take them from the querystring and send them to your flex application via flashvars. If you are using php/jsp/asp or some other server side processing, this is really easy to do - just do a response.write of the qs value into the flashvar in the embed tag where your swf is being embedded into the html file. If you are using straight client side HTML files, then you will have to write the javascript to extract the parameter values from the url of the page. If you don't want to use flashvars, you could also set a variable in the javascript in your hosting html file and then use something like the Flex Ajax Bridge to get the values of those variables. Check out this article, it should help a good bit: http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp. htm?context=LiveDocs_Partsfile=1005.html http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp .htm?context=LiveDocs_Partsfile=1005.html Karl Cynergy From: flexcoders@yahoogroups.com on behalf of pioplacz Sent: Fri 2/23/2007 10:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Access Flex components from browser Hi! The thing I need help with is kind of hard to explain. What I want to do is access the components in flex from the address line in browser. I want to enter text into a textbox from the command line. I want to to work kind of like sending variables to php. Something like http://addresstoflex.com/?textbox=pioplacz http://addresstoflex.com/?textbox=pioplacz You know what I mean? Thx for all the help inadvance!