RE: [flexcoders] Automated UI Testing for FLEX (Help!)
Mercury Quick Test Pro (works with FDS's Automation API). Or you could write your own :-) FlexUnit is not really an automated UI testing solution, it unit tests the code. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Persaud, Anthony Sent: Friday, June 08, 2007 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Automated UI Testing for FLEX (Help!) Other than FlexUnit, are there any other methods to perform automated UI testing for Flash/Flex applications? Thanks, Anthony
RE: [flexcoders] textInput for passwords
Set displayAsPassword to true on the text input field. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Tuesday, March 27, 2007 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] textInput for passwords How do you get a text input to hide the characters you type in like you do with input type=password in HTML?
RE: [flexcoders]
There are a lot of ways to accomplish this, but the best practice would be to fire off an event in JobSearch and have either Main listen on it and call a fuction in timeline3 or use a central event dispatcher and have timeline three listen for it directly. But you could also use application.Application.timeline3.methodName or walk the DOM up, but neither are really advised. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of April Rosequist Sent: Thursday, March 15, 2007 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] I've been looking all day and can't find a solution to this - although I'm sure it's very simple. I have a main application that I'm using a ViewStack in: mx:ViewStack id=preTrafficNav width=100% height=100% creationPolicy=all x=10 y=90 v:JobSearch id=jobsearch width=100% height=100%/ v:Timeline3 id=timeline3 width=98% height=711/ /mx:ViewStack This works great. :-) The JobSearch.mxml page has a button that when you click on it, I want to take the job_id variable I've declared and pass it to the Timeline3 page and have that page as the main page. If I put the button on the main.mxml page, everything works fine (except for passing the variable, but it will at least change the page)... but if I put the button on the JobSearch.mxml page it doesn't work. I guess I don't know the syntax for doing that. If someone would help me with the syntax to link from one child to another, when the children are their own mxml pages I would be s appreciative. Thanks! April
RE: [flexcoders] keyboard event
The tab order is setup by default, but you can change it if you want by manually setting the tabIndex on the controls. Also, you can make the enter trigger a form submit or whatever action you want by simply setting enter=doStuff() on the textInput(s). Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of offus99 Sent: Tuesday, March 13, 2007 5:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] keyboard event Just like in HTML hitting Enter submits a form and hitting tab sets focus to the next form item, how do I achieve something similar in Flex?
RE: [flexcoders] problem in calling a webservice GBLNewsService.getNewsDetail
Declare your web service in an mxml webservice tag and add getNewsDetail as an mx:operation child node to the webservice tag. Then give your webservice tag a name myService or whatever. When you want to call the method, you do myService.getNewsDetail(). Of course the call will only work if you specified a valid wsdl, and that wsdl contains the getNewsDetail method defined in it. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arun Sadasivan Sent: Friday, March 02, 2007 11:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] problem in calling a webservice GBLNewsService.getNewsDetail Hi , : i had registered a webservice created in php as the following: GBLNewsService.getNewsDetail (classname.method name) Since the method made as webservice is a function of the class GBLNewsService. Now the problem is how can i call this webserice in flex using the Webservice component. When i tried to call it like GBLNewsService.getNewsDetail as i do in other php clients it is giving me error. All examples are also showing callng of a webservice in flex like getNewsDetail only. So either provider or client should have some option to solve this problem. Can anybody here help me . Really i got stuck with this problem. -- Regards, ...Arun
RE: [flexcoders] Re: How do I prevent the user from selecting text in a text area component?
You could make them disabled, but change the disabled styles so it does not look quite so disabled. Or trap the click event and stop the user action at that point. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of beecee1977 Sent: Wednesday, February 28, 2007 8:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I prevent the user from selecting text in a text area component? Yes, but that doesn't stop the user from selecting the text (dragging mouse over and highlighting)... Is there an easy way to prevent that? (Other than disabling the component) Bill --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Brian Holmes [EMAIL PROTECTED] wrote: editable=false From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Robin Burrer Sent: Monday, February 26, 2007 6:08 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] How do I prevent the user from selecting text in a text area component? Hi there, How do I prevent the user from selecting text in a text area component? I noticed that it does not have a selectable property and does not derive from the Text object either. Robin *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e- mail delete this e-mail and refrain from any disclosure or action based on the information. ***
RE: [flexcoders] Re: Flex choking while converting less than 2 MB of data
Hey Matt- I would never even try 10,000 objects in a strongly typed result set because of the performance. But I think the bigger key factor here is how deeply nested your strongly typed objects are. In the example I gave in my reply, it was a very complex nested object...and I gotta think the actual delay is the deserialization and creation of the strongly typed objects in memory by the player instead of rendering time or something else. I think what you suggest below is correct. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of Matt Chotin Sent: Tue 2/27/2007 3:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex choking while converting less than 2 MB of data Can you send us a test-case please? Instantiating 10,000 objects like you have shouldn't be so bad as far as I know. Sounds like getting the XML into anonymous objects is OK, it's just the strongly-typed ones right? Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, February 27, 2007 1:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex choking while converting less than 2 MB of data Wow, that sucks REALLY bad. I appreciate the response Karl. I did try (before posting the original message) setting resultFormat to e4x and then assembling my objects with pretty much the same outcome. Are you suggesting I leave the data as XML permanently? I suppose thats worth a shot but I've found using XML dataProviders to be a real PITA when making extensive use of itemRenderers and labelFunctions (like my app does). Thanks, Ben --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Karl Johnson [EMAIL PROTECTED] wrote: It is unfortunate, but it is the way it is. When returning large sets of data like this, we had to stop using webservices returning objects and change to using webservices returning an XML string or HTTPServices returning XML. Having the flash player consume a big blog of XML and then you do what you want with it (like turn it in to AS XML Objects and use it for a grid's dataprovider, etc) is WAY faster than letting flex try to deserialize it all and put it all into memory as strongly typed objects. One perf test we did in 1.5 was to return three hundred items as nested, strongly typed objects took about 45 seconds for the FP to handle the result set and render. When using straight xml, it took about 2 seconds. Of course it all depends on how large your result set as well as how deep and nested your objects are. Karl Cynergy Shameless Plug: Come see us at AJAXWorld next month! Several Cynergy employees, including myself, will be presenting on great Flex topics. Don't miss it! From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com on behalf of ben.clinkinbeard Sent: Tue 2/27/2007 1:42 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Flex choking while converting less than 2 MB of data I am calling a web service that sometimes returns up to 1.9 MB of SOAP formatted data. I have left the resultFormat set to object, and it seems to handle the initial parsing into anonymous objects without much trouble. However, when I attempt to convert this structure into class instances the player chokes and usually ends up freezing the browser. The object structure consists of one main Batch object instance, which contains 2000 BatchDocument instances, which in turn each contain a single ClientInfo object instance and up to four Plan object instances. This doesn't seem like a structure that Flex should fail so miserably with as the performance everywhere else has been pretty impressive. I have attempted this using Darron Schall's ObjectTranslator class (http://www.darronschall.com/weblog/archives/000247.cfm http://www.darronschall.com/weblog/archives/000247.cfm http://www.darronschall.com/weblog/archives/000247.cfm http://www.darronschall.com/weblog/archives/000247.cfm ) as well as simply passing the anonymous objects to my class constructors. Both result in a completely unusable application. Any help is greatly appreciated. Ben
RE: [flexcoders] Re: Right Aligned Text in a UIComponent
What do you mean by making the x location the right side? If this is a canvas, then just set right equal to 0 if you just want the text box to be as far to the right as possible in the container. You could also set the x to equal parent.width - 100. Does that solve what you are asking? Karl Cynergy From: flexcoders@yahoogroups.com on behalf of Nate Pearson Sent: Wed 2/28/2007 11:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Right Aligned Text in a UIComponent Anyone have any ideas? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Nate Pearson [EMAIL PROTECTED] wrote: I'm adding a label to a UIComponent at a dynamic x location. The text for that label is also dynamic. How can I make it so the x location is the right side of the label? Here is my code: var endDate:Label = new Label(); endDate.graphics.lineStyle(1,0x00); endDate.text = data.EDText; endDate.styleName = columnEnd; endDate.height=20; endDate.width = 100; endDate.x = ratio*data.ED; endDate.y = 30; myUIComp.addChild(endDate); -Nate
RE: [flexcoders] Re: Right Aligned Text in a UIComponent
You could grab the actual width of the label or you could put the label in a container like an HBox and set the horizontalAlign=right on the HBox. Set the width of the HBox to 100 if that is the max. Then set the x property or right style on the HBox as stated below. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of Nate Pearson Sent: Wed 2/28/2007 1:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Right Aligned Text in a UIComponent Yes I mean aligned right. The x to equal parent.width - 100 doesn't work because the text is dynamic. Some times it will have a width of 10 and some times it will be 90. I just set it to 100 because I know it will never go over 100. Maybe there is a parameter that will make the label width flex with the amount of text in it? Then i could do x = parent.width - label.width. I couldn't find this parameter though. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Karl Johnson [EMAIL PROTECTED] wrote: What do you mean by making the x location the right side? If this is a canvas, then just set right equal to 0 if you just want the text box to be as far to the right as possible in the container. You could also set the x to equal parent.width - 100. Does that solve what you are asking? Karl Cynergy From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com on behalf of Nate Pearson Sent: Wed 2/28/2007 11:13 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Right Aligned Text in a UIComponent Anyone have any ideas? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Nate Pearson napearson99@ wrote: I'm adding a label to a UIComponent at a dynamic x location. The text for that label is also dynamic. How can I make it so the x location is the right side of the label? Here is my code: var endDate:Label = new Label(); endDate.graphics.lineStyle(1,0x00); endDate.text = data.EDText; endDate.styleName = columnEnd; endDate.height=20; endDate.width = 100; endDate.x = ratio*data.ED; endDate.y = 30; myUIComp.addChild(endDate); -Nate
RE: [flexcoders] Re: WS call sucessful with resultFormat=e4x, fails otherwise
What data types are your returning in your SOAP Response from the .NET web service? There definitely are complex object types that java/.net support that Flex/AS do not. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of ben.clinkinbeard Sent: Tue 2/27/2007 8:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WS call sucessful with resultFormat=e4x, fails otherwise Anyone? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, we are seeing some weird behavior when calling an RPC encoded .NET web service. Unless we set resultFormat to e4x, we receive the following error: fault: [FaultEvent fault=[RPC Fault faultString=Error #1009: Cannot access a property or method of a null object reference. faultCode=DecodingError faultDetail=null] messageId=BCCBBAB0-1457-00EA-5329-FE83F9158923 type=fault bubbles=false cancelable=true eventPhase=2] ServiceCapture shows that the call does return successfully, and the response contains data. A faultCode of DecodingError leads me to believe Flex is having trouble deserializing the response into objects, but I am not sure why that would be. Are there certain SOAP structures Flex is known to have problems with? Thanks, Ben
RE: [flexcoders] changing states from within a component
Like everything, there are a million ways to do this. And best practices involve opinions sometimes...but I would say the best practice is to fire off an event in your login cfc result handler, and have the parent app listen on that loginSuccessfull event. Then have this.currentState = Home, etc in loginSuccessfull event handler in the parent app. Communication via events keeps everything flexible and independent. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of stephen50232 Sent: Tue 2/27/2007 11:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] changing states from within a component Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the user enters the username and password, these details are passed to a ColdFusion CFC and checked, the result is then checked. If the login is successful I want to be able to change the state in the main application file from the Login state to the Home state, originally I tried using: this.currentState = 'Home'; But this was in the Login component, which doesn't have states, so that didn't work. What is the best practice for components to call the main application to perform tasks like changing the state? Thanks Stephen
RE: [flexcoders] Basic inheritance question
In general you always want to cast something like this - because event.currentTarget is of type object and NOT UIComponent or Button. But since objects are loosely typed as type Object, then you reference any property or method you want at compile time. Often at runtime though you will hit errors unless it is properly casted. Your sample application was done in Flex 2 right? Definitely a best practice to be casting generic objects like this to the type of object you want to be working with to avoid runtime errors Karl Cynergy From: flexcoders@yahoogroups.com on behalf of jairokan Sent: Tue 2/27/2007 11:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Basic inheritance question Hi, I'm reading the Developer's Guide and in the section using Events, they say on a paragraph that : If you try to call another method on the currentTarget (for example, the setStyle() method), Flex returns an error. The setStyle() method is defined on UIComponent, a subclass of DisplayObject. Therefore, you must cast currentTarget to UIComponent before calling the setStyle() method for example: mx:Script ![CDATA[ import mx.core.UIComponent; private function myEventHandler(e:Event):void { UIComponent(e.currentTarget).setStyle(color, red); } ]] /mx:Script and e.currentTarget is of type Button. But Button extends UIComponent, so we don't have to upcast the reference because setStyle method is public and is available to Button object reference0. I tried the code without upcasting and it works. Is the writer wrong or Am I missing something on the concept. Thanks Jairo
RE: [flexcoders] Re: setFocus - help needed
This problem is happening because your third textfield is the last control in the tabOrder in your application. The problem only happens when you tab out of the third box - because there are no more controls in the tab order, hitting tab give the browser focus. So after the browser gets focus, giving focus to your text field makes the Flash Player highlight the field like it has focus, but the browser (keyboard) does not have focus. A very simple way to workaround this for now is to add another control to your page. Anything that can get focus from a tab event. Like a button, text input, whatever. That way, when you hit tab out of the third control, another flex control gets focus automatically when the tab event fires and focus stays in the flash player and then your focusout event gives the textinput focus and all is well. Or you could play around with trapping the keyboard (tab) event and setting the focus to your first textinput in that handler (and stopping propogation). Karl Cynergy From: flexcoders@yahoogroups.com on behalf of dffmyco Sent: Tue 2/27/2007 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: setFocus - help needed Unfortunately this did not solve the problem. Any other suggestions. Dave --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , e_baggg [EMAIL PROTECTED] wrote: Change the line of code in your goTo() method to be: focusManager.setFocus(one); --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , dffmyco dffmyco@ wrote: Three text input controls. Tab enabled, tab index 1,2,3. On the focus out of text control three I run a function to set focus back to text control 1. Text control 1 gets the focus(blue outline) but the cursor is not displayed until I click on the box. What do I have to do to have the cursor appear in the text control. Thanks, Dave ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import mx.core.*; private function goto():void{ one.setFocus() } ]] /mx:Script mx:TextInput x=137 y=77 id=one tabIndex=1 tabEnabled=true/ mx:TextInput x=137 y=147 id=two tabIndex=2 tabEnabled=true/ mx:TextInput x=137 y=237 id=three tabIndex=3 focusOut=goto() tabEnabled=true/ /mx:Application
RE: [flexcoders] Flex choking while converting less than 2 MB of data
It is unfortunate, but it is the way it is. When returning large sets of data like this, we had to stop using webservices returning objects and change to using webservices returning an XML string or HTTPServices returning XML. Having the flash player consume a big blog of XML and then you do what you want with it (like turn it in to AS XML Objects and use it for a grid's dataprovider, etc) is WAY faster than letting flex try to deserialize it all and put it all into memory as strongly typed objects. One perf test we did in 1.5 was to return three hundred items as nested, strongly typed objects took about 45 seconds for the FP to handle the result set and render. When using straight xml, it took about 2 seconds. Of course it all depends on how large your result set as well as how deep and nested your objects are. Karl Cynergy Shameless Plug: Come see us at AJAXWorld next month! Several Cynergy employees, including myself, will be presenting on great Flex topics. Don't miss it! From: flexcoders@yahoogroups.com on behalf of ben.clinkinbeard Sent: Tue 2/27/2007 1:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex choking while converting less than 2 MB of data I am calling a web service that sometimes returns up to 1.9 MB of SOAP formatted data. I have left the resultFormat set to object, and it seems to handle the initial parsing into anonymous objects without much trouble. However, when I attempt to convert this structure into class instances the player chokes and usually ends up freezing the browser. The object structure consists of one main Batch object instance, which contains 2000 BatchDocument instances, which in turn each contain a single ClientInfo object instance and up to four Plan object instances. This doesn't seem like a structure that Flex should fail so miserably with as the performance everywhere else has been pretty impressive. I have attempted this using Darron Schall's ObjectTranslator class (http://www.darronschall.com/weblog/archives/000247.cfm http://www.darronschall.com/weblog/archives/000247.cfm ) as well as simply passing the anonymous objects to my class constructors. Both result in a completely unusable application. Any help is greatly appreciated. Ben
RE: [flexcoders] Flex not sending over SSL
Are you sure that the wsdl path you have specified on the webservice object is relative and not hardcoded to use http? Also, open your WSDL in the browser and make sure it is not returning a method URL to the Flash Player with HTTP hardcoded in it. Karl Cynergy Shameless Plug: Come see us at AJAXWorld next month! Several Cynergy employees, including myself, will be presenting on great Flex topics. Don't miss it! From: flexcoders@yahoogroups.com on behalf of Allen Riddle Sent: Tue 2/27/2007 2:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex not sending over SSL Hello all, we are setting up our production environment for our Flex Data Services app. According to the Apache logs, all requests that the swf makes for images,css, etc is in fact going over ssl. However when the .swf invokes a web service (using proxy endpoints/destinations), the request is using /messagebroker/http, and does not appear to be going over ssl (we know this because there is no ssl or tsa entry on the line in the log file, as there is for images and css files). If the swf is being served up on 443, shouldn't all communication through the swf be going over port 443. I guess another way to ask is, do the requests from the swf use relative pathing, and by default be going over https/443? I hope I'm explaining the problem well enough. Thanks. Allen Riddle Sofware Development x3217
RE: [flexcoders] assigning a value to a model value object
What type of objects are in your grid's dataprovider? Are the items in the grid actual TrackVo objects (and were typed as such prior to being added to the dataprovider)? Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: Tuesday, February 27, 2007 6:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] assigning a value to a model value object Hello, I want to assign a value from my libraryview's datagrid to a TrackVO in my modelLocator. model.currentTrack = gridlist.selectedItem as TrackVO; However, this will not work, currentTrack is null. When I do Alert.show( gridlist.selectedItem.file ) it shows me the correct output. What is the correct way to put the gridlist.selectedItem data in a value object of my modellocator, so I can keep my data wellformed. tnx.
RE: [flexcoders] Re: is there a way to open a file in flex app'
That is correct. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ziksable Sent: Sunday, February 25, 2007 3:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: is there a way to open a file in flex app' So in fact as i understand you correctly, the only way to show the contents of the user selected file on the screen without converting the flex app' in to stand alone app' is to let the user to choose the file (with FileReference class), upload selected file to server, open it there and send it back to flex app' as byte stream from the server ? Thanks. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Karl Johnson [EMAIL PROTECTED] wrote: Because of security restrictions, the Flash Player running in the browser can not access the user's file system. The only way to do this is to wrap your flex swf in something like Zinc which allows it to run as a desktop application, or of course Adobe Apollo, which is in alpha/almost-beta right now. Karl Cynergy From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of ziksable Sent: Sunday, February 25, 2007 7:01 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] is there a way to open a file in flex app' hi guys, i'm pretty new to flex. is there a way in flex 2 (action script 3) to perform the following action: let user (client) to choose the file on his local comp' and display its contents on the screen. i've looked on FileReference class. but it seems the class allows just to upload the file to the server and not to look on the file stream. Thanks, :)
RE: [flexcoders] Looking for guidance on HTTPService sequencing
Data access via HTTP and Web services is asynchronous so there is no way to guarantee natively that your services return in a certain order. But you can accomplish this if you really need to by chaining together service calls via result handlers. Calling service 1, and then in the result handler for service one, calling service two, and so on. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pgp.coppens Sent: Monday, February 26, 2007 9:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Looking for guidance on HTTPService sequencing Hello Flex fans, Yet another flex 101 I have read and (hopefully) understood how HTTPService and its result handling works. What I am struggling with is how I can enforce a certain sequencing so that I have the guarantee that flash will not send a second request after the first has been completed. Alternatively, are there any synchronization mechanisms available at all that could be used to implement the above? Thanks, Peter
RE: [flexcoders] Re: Time Based State Transitions
User a timer in actionscript that fires every 10 seconds. In the event handler for the timer, add the logic to modify the state. And for the fade, add a transition effect on the states (just use Fade). Does that help? Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nextadvantage Sent: Monday, February 26, 2007 8:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Time Based State Transitions --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , nextadvantage [EMAIL PROTECTED] wrote: How would I go about changing view states say every 10 secs... with a 1 sec fade? Any help with this would be much appreciated, thanks Aaron
RE: [flexcoders] Dynamically creating a text object
var text:Text = new Text(); text.text = My Text; text.x = 10; text.y = 20; childCanvas.addChild(text); Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Sunday, February 25, 2007 8:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically creating a text object Hello. I'm stumped. I'm creating some circles in AS and putting them on a Canvas that's declared in my MXML file like so var childCanvas:Canvas = new Canvas(); childCanvas.graphics.lineStyle(1, 0x33, 1); childCanvas.graphics.beginFill(0xCC,0.6); childCanvas.graphics.drawCircle(200,150,7); childCanvas.graphics.endFill(); childCanvas.id = myCircle; childCanvas.toolTip = I'm a circle; mainCanvas.addChild(childCanvas); This all works fine. However, I want to add some text next to the circle (with AS) and I can't see how to do it. I've tried many ways and nothing worked. It seems I can't add an instance of a text object as a child to the canvas in the same way that I can a shape. How should I be doing this? Guy
RE: [flexcoders] is there a way to open a file in flex app'
Because of security restrictions, the Flash Player running in the browser can not access the user's file system. The only way to do this is to wrap your flex swf in something like Zinc which allows it to run as a desktop application, or of course Adobe Apollo, which is in alpha/almost-beta right now. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ziksable Sent: Sunday, February 25, 2007 7:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] is there a way to open a file in flex app' hi guys, i'm pretty new to flex. is there a way in flex 2 (action script 3) to perform the following action: let user (client) to choose the file on his local comp' and display its contents on the screen. i've looked on FileReference class. but it seems the class allows just to upload the file to the server and not to look on the file stream. Thanks, :)
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
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] 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
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] 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.
RE: [flexcoders] Cairngorm - design question, need suggestions-best practices
Unless I am misunderstanding your question, this does not really sound like a problem the MVC design pattern, but rather a typical client-server app problem. To ensure that all of your clients always have the most up to date info, you really only have a few options. Push updates from the server to the clients using something like FDS Poll the server constantly to see if any changes have occurred since your last poll and pull down the latest data if so Either solution, you would then just update your cairngorm model with the data received in the result event (in the pulling case via a service) and if your controls are bound to your model then they would update automatically after the data transfer completed. Of course there are tons of other considerations that come into play in this scenario like conflict resolution, which can be solved with a complex merge/purge based solution or a last in wins kind of thing. All problems that just about every client server app has to face when dealing with multiple clients modifying the same data. Just some things to think about. If I am off base from your question, just let me know. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of Yiðit Boyar Sent: Wed 2/21/2007 3:45 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm - design question, need suggestions-best practices hi all; i just can not believe there is no reply to my post. has not anyone faces the same question ? or lazy solutions enough for you? or our group started to overflow and not answer needs... maybe a newsgroup/forum is needed.. - Original Message From: Yiðit Boyar [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 20, 2007 9:35:55 PM Subject: [flexcoders] Cairngorm - design question, need suggestions-best practices hi all; i'll buld an application in which the same data (or sth related) is shown in many views; so i will user cairngorm. (phpmysqlamfphp) but the problem is that other clients may change the data(base) so my model values must be updated in these cases. this seems to be a common problem with MVC so can you please share your solutions and best practices ? the first thing that comes to my mind is to check database for changes periodically, and most possibly this is the only way; but many procedures can be used in this also; so i need suggestions before starting coding. thanks.. yigit Expecting? Get great news right away with email Auto-Check. http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html Try the Yahoo! Mail Beta. http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw-- to find your fit.
RE: [flexcoders] dataProvider question
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] 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] Re: Count of items in a list
mx:List id=thisList dropEnabled={thisList.dataProvider.length 1} / That help? Karl Cynergy From: flexcoders@yahoogroups.com on behalf of jmfillman Sent: Wed 2/21/2007 11:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Count of items in a list This has got to be possible. Please, someone help!! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , jmfillman [EMAIL PROTECTED] wrote: I'm having difficulty in determining if a list has any items already in the list. For example, if a list already has 1 item, I want to set it's dropEnabled property to false, either when the item is added to the list or when the user attempts to drop a 2nd item. Also, if that item is removed from the list, I want to set dropEnabled to true.
RE: [flexcoders] How to save an ArrayCollection to php via HTTPService
To send an ArrayCollection over the wire via an HTTPService, you will have to convert the array to some readable format for your php service. Usually this would be xml. So you would need to convert your ArrayCollection to an XML string (could do a foreach on the AC and add a child node to the xml of every entry in the AC or something similar). Does the PHP service already exist? Does it take an xml string? Karl Cynergy From: flexcoders@yahoogroups.com on behalf of rkrater Sent: Tue 2/20/2007 10:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to save an ArrayCollection to php via HTTPService Can someone give me an example of how to save an ArrayCollection to php via HTTPService. I have a datagrid with a ArrayCollection as the dataprovider. I want to click the save button and it is passed to my php page to then be saved in the database. Any ideas are welcomed. Thanks! ---Here is my code so far--- mx:ArrayCollection id=arr_collection/mx:ArrayCollection mx:HTTPService id=hs url=poll.save.php useProxy=false mx:request data{arr_collection}/data /mx:request /mx:HTTPService This gives me [object Object],[object Object],[object Object] when i try to pass it back. Any ideas would help a ton!!!
RE: [flexcoders] Replace an on screen component.
In your method that handles the adding and removing of the charts, instead of changing the state or changing the visibility of the chart, you can completely remove it using chartParent.removeChild(chartInstance); Then you can add your new one using chartParent.addChild(newChartInstance). chartParent could just be this depending on where you are adding and removing it in the component structure. Unless you pre-load the charts in memory there will be an instantiation hit when you add the component on the fly depending on how complex your chart is. Best to use a preloading image or something. HTH, Karl Cynergy From: flexcoders@yahoogroups.com on behalf of [EMAIL PROTECTED] Sent: Tue 2/20/2007 2:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Replace an on screen component. Hi guys, We have a chart displayed on a dashboard amongst other components, when a user selects a different chart we need to remove the chart and display a different one, I was going to use view states but we have lots of different charts and it seems that the charts not in the current view are still alive and respond to events they are subscribed for, is this correct ? In flash i'd remove the movie clip and load a new one, can I remove the component and load another one within my dashboard ? Grant
RE: [flexcoders] Video is playing double
Do you have videoDisplay.autoPlay set to false? By default it is set to true so there is no need to call play after setting the source because it will auto play after having its source set. Karl Cynergy From: flexcoders@yahoogroups.com on behalf of jack_freud Sent: Tue 2/20/2007 4:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Video is playing double I'm stuck on a weird problem: I've created a component that contains a VideoDisplay. When I set the source and call play(), about 1/2 the time, it seems to be playing a 2nd copy of the video in the background; at least the audio is doubled, causing an echo effect with a variable amount of delay between the 2. Has anyone else seen this kind of behavior? The videos are streaming flvs from a media server. Thanks so much!
RE: [flexcoders] Automated Email Reports with Flex
This definitely sounds like something that should be done on the server side and not done using a client side application. How are you sending the emails now from the flex app? Calling a php app that creates the mail and sends it via SMTP? If so, then why not just put the automated job logic in that layer? If you absolutely have to do it in flex, I suppose you could doing something like have a windows task (not sure what OS you are using) exceute every night which kicks off the swf or the flex app and flash player embedded into an exe. Or you could just leave the flash player running with your flex app and use a timer in AS. Neither are very great solutions though, given that the flash player is a client side player :-) Karl Cynergy From: flexcoders@yahoogroups.com on behalf of tyriker Sent: Mon 2/19/2007 11:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Automated Email Reports with Flex We've built a Flex app to read XML data from an HTTPService, and display the data as a report (a table or some sort of chart) to the user. From within the app, the user can email the report to someone, (we use the method of converting the Flex components to an image, and then building an HTML file with the images embedded, and sending the user an HTML email). The problem we've come up against is how to automate and email such reports (like on a nightly basis). With automation, there won't be a 'client-side' or browser to load the Flex app into to generate the tables/graphs. Is there a solution for this, or essentially, a way to run a Flash/Flex app without involving a user/browser? Any command-line Flex interpreters, or anything in PHP or another server-side language that can 'trigger' a Flex app? Thanks.
RE: [flexcoders] flex and IE 7 problems.
I have been using IE 7 for a long time now with many, many flex apps and have not seen any issues. This is a flex 2 app right? Is there any other code involved on this login page outside of the swf? Perhaps some javascript or something else? Most of the changes in IE 7 that would break existing code are secure by default related. But it should not effect the Flash Player much at all. How are you doing your login? HTTP Post? Web service? Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mthielman11 Sent: Wednesday, February 14, 2007 5:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex and IE 7 problems. Has anyone tried their flex apps in ie7. We have recently and are having strange issues. The app comes up but we can not login. On our client it gives an invalid login error, and it sends weird data to the server. We actually saw in the log that it was changing some of the keys entered around so it looked bad to the server. But after a single failed attempt the flex app does not send any data when it is supposed to. The login process works fine from firefox, mac and windows, safari, linux and ie6. I thought flex was supoosed to eliminate these browser specific issues!!!
RE: [flexcoders] Re: Is it possble to drag and drop a line chart ?
I am sure there are a lot of interesting ways to tackle this. I doubt there is any kind of native support for this functionality, but it is a pretty interesting and fun problem to tackle. I would start by doing something like laying a transparent canvas over top of the chart component, and listen on all mouse events. On mouse down, capture the x and y of the mouse and determine which item in the chart has been clicked (either by doing some math or hardcoding the positions to start with). Then create a drag proxy which contains a representation of the bar/line being dragged, so it gives them the feel of actually moving the line item while the drag. On mouse up, after some logic to verify they are dropping it in a good place (same logic in dragEnter as well), you determine what has been dragged from the drag source and then manipulate the dataProvider behind the chart to reflect what has been moved. And of course add some sexy effects so the line graph transitions nicely from the previous state to the new state! Hope that helps some. I like problems like these :-) | Karl Johnson Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Friday, February 09, 2007 12:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Is it possble to drag and drop a line chart ? Or maybe another solution to the problem ? Regards, Sean. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , helihobby [EMAIL PROTECTED] wrote: Hello all, Can anyone shed some light on how ( if possible ) to drag a line chart bar. Basically, I wish to modify the underline data provider using a line chart with a drag and drop mouse click so when I drag a bar it will modify the underline data structure... Thank you for all the help, Sean.
RE: [flexcoders] accordion, load ALL
Well the *easy* answer is to set creationPolicy=all on the accordion. But use this carefully, because there are performance impacts on doing this. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit Boyar Sent: Tuesday, November 28, 2006 5:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] accordion, load ALL i have an acoordion box, and when sth is clicked inside one canvas, another is opened and a function in the component included in the opened tab is called. but in the first click, because the canvas objects are not preloaded, i cannot call the function... how can i say the accordion component to load all of it's content not only the first tab? Cheap Talk? Check out http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com Yahoo! Messenger's low PC-to-Phone call rates.
RE: [flexcoders] Detect scrollbar showing/not showing
There are probably multiple ways to do this, but what about checking to see if myContainer.verticalScrollBar == null? Are you looking to do this at render time or is this something where the scroll bar could show at anytime after creationComplete and you need to be able to react immediately? According to the API Doc: verticalScrollBar property verticalScrollBar:ScrollBar[read-write] The vertical scrollbar used in this container. This property is null if no vertical scroll bar is currently displayed. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel CascaisSent: Thursday, November 02, 2006 10:00 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Detect scrollbar showing/not showing Is there any known event that is dispatched when the scrollbar isshowing/not showing in a container, when the scroll policy is set toauto?In other words: How can I know when a container's srollbar is showingor not showing? (Apart from looking at the screen of course).Thanks,Daniel __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Re: Tree not updating with correct XML
Aaron, When are you calling your HTTPService? If you are setting myXLC at creationComplete, then most likely your web service has not had a chance to run and return a resultset yet. Where in your code is the HTTPService fired off? If the tree is to be populated with the xml returned from your service, then you should be setting the value of myXLC in the result event handler of the HTTPService. | Karl Johnson Cynergy Systems From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of meatheadSent: Thursday, November 02, 2006 4:49 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Tree not updating with correct XML Okay, I'm trying to figure this out. Things look just like the help files, but I'm not working. Here's what I got so farHTTPService is this mx:HTTPService id="rstTree" url=""http://Path/To/XML.aspx">http://Path/To/XML.aspx" useProxy="false" resultFormat="e4x" result="" /***I've tried both e4x and xml as resultFormat.Script code looks like thisimport mx.collections.*;[Bindable]public var myXLC:XMLListCollection;public function init():void{myXLC = new XMLListCollection(rstTree.lastResult.Root);}*I've got the init function being called at application creationComplete.Here's my tree MXMLmx:Tree id="tvwProjects" width="100%" height="100%" dataProvider="{myXLC}" labelField="@label" itemClick="treeClickEvent(event);" y="10"/mx:TreeLastly, here is my xml from the aspx page.**?xml version="1.0" encoding="utf-8" ? Root label="Root" action=""menuitem label="2006" action=""menuitem label="2006 07" action=""menuitem label="Detail" action="" / menuitem label="Rollup" action="" / menuitem label="Summary" action="" / /menuitemmenuitem label="2006 08" action=""menuitem label="Detail" action="" / menuitem label="Rollup" action="" / menuitem label="Summary" action="" / /menuitemmenuitem label="2006 09" action=""menuitem label="Detail" action="" / menuitem label="Rollup" action="" / menuitem label="Summary" action="" / /menuitem/menuitem/Root**I know that I'm returning my xml from the HTTPService since I can show an alert box with data from it. However, Nothing is showing in my tree. Nothing. Can anyone help?Thanks,Aaron--- In [EMAIL PROTECTED]ups.com, "meathead" [EMAIL PROTECTED] wrote: You pretty much answered my question when you stated that the XML tag gets set during compiled time. I was thinking I might have to use an HTTPService tag since the XML.aspx file will have different results depending on the time of day per user. Bummer we can't just reset the XML tag. Thanks for the prompt reply. Off to go learn how to send in data to a tree via HTTPService. Aaron --- In [EMAIL PROTECTED]ups.com, "Michael Labriola" labriola@ wrote: Aaron,Need to clarify something:When you say : The XML is changes, do you mean that the XML data retrieved from http://Path/To/XML.aspx changes or that you change the XMl after loading at the client?I don't want to answer the wrong question, but the mx:XML tag includes data at compile time, not runtime. So, the application is going to grab a copy of this data when it compiles and build it in. If you are looking to grab data at runtime, you need to look at something like an HTTP service tag to go and grab the data on command.Let me know if this answers your question, --Mike --- In [EMAIL PROTECTED]ups.com, "meathead" makacos@ wrote: Hi all, I'm at a loss here. I've got a tree set up to retrieve XML data.It works fine until the data in the XML changes. Then the treewon't reflect the new data until my flex application is recompiled.I believe when the application is being recomplied it's grabbing the XML and setting it somehow. Here is some code. CODE*** mx:Script ![CDATA[ import mx.events.ListEvent; import mx.controls.Alert; import mx.collections.*; [Bindable] public var myXLC:XMLListCollection; public function afterComp():void { myXLC = new XMLListCollection(TreeXML.children()); tvwProjects.invalidateList(); } ]] /mx:Script mx:XML source="http://Path/To/XML.aspx" id="TreeXML"/ mx:Tree
RE: [flexcoders] Text Area question
You probably can not turn on CAPS Lock from your flex app, probably a bit of a security risk. I doubt the flash player has access and/or allows flash apps to get access to do that (correct me if I am wrong). If you need to ensure that everything they type is in all CAPS, then just set the text value like this: item.text = item.text.toUpperCase(). Or another possible way is to listen on the keypress and convert it as they press. I guess you could also listen on the change event and convert it then, but it might be a bit laggy with fast typing. Hope that helps some, feel free to reply back if you need more help with it. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brankosliSent: Friday, October 13, 2006 2:39 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Text Area question I will be more that thankful if someone could solve my problem.I'm working with textArea component and I have 2 questions:I need to know if there is any possibility to fix left and right margin in textArea component?And also I need to know if there is possibility to turn on and off capsLock by coding not by pressing keyboard? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Swf file size
That iss a question that needs to be determined by your target users, their avg connection speeds, etc combined how long you/they find it acceptable to wait for the initial load. If the initial download hit is too much, consider breaking it into multiple swf's and loading the child swfs in a master swf. For a general use site, 400k is a bit on the large side in my opinion. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy SivecSent: Friday, October 13, 2006 2:51 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Swf file size Hello,I have compiled flex application with ANT tasks and the generated swf file is around 400k. When is the swf file size considered too big?. Thanks,Valy Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Acceptance testing
I assume you mean automated testing tools to perform the functional and acceptance testing? There are only a few options for doing full UI automatedtesting on a flex app, because the test harness has to have access to hook into the flash player and manipulate the app running in it. Depending on budget, Mercury now has a product out that can do just that. This topic has come up a few times on flexcoders...but does that answer your question? You could always explore writing your own test harness and framework to manipulate your flex app, but it would have to run inside of a swf hosting your flex swf and might be a bit tricky. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen RiddleSent: Friday, October 13, 2006 12:25 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Acceptance testing Does anybody know of any functional or acceptance testing tools for Flex? I want to write acceptance testing scripts for my Flex app. Allen Riddle Sofware Development x3217 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] private constructors in flex
As far as I know, it is not possible to declare a private constructor in AS 3. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zenwardenSent: Friday, September 22, 2006 10:54 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] private constructors in flex Sometimes in Java I declare a constructor private ( I think this iscalled the nullington pattern). Ex: utility classes that have allstatic methods or constants.Can and should the same thing be done in flex?Chris __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Why my compiled swf is loading too slowly?
When you say it is loading slowly, do you mean it takes a long time to download? Or does it take a long time to initialize, create all of the controlsand render? When it is taking a long time, are you seeing the preloader? Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of SatishSent: Thursday, August 17, 2006 1:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Why my compiled swf is loading too slowly? Hi, Previous ly we are directly accessing th site with .mxml url. Thta time file was loading too slowly. But afterwords, we are loading compiled .swf file. It is much better. assume, we are having two swfs 1.compiled swf is 400KB. 2. and one animated swf is 1.5MB. here for our site animated swf it self is loading much faster then my compiled swf. Why it is happenning like this? What we have to do to load our compiled .swf also to be loaded much fastly. Thanks Satish KC. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Chart multiple vertical axis
You may be able to accomplish what you want to do by overlaying multiple chart components on top of each other, with transparent backgrounds. Not sure I can exactly picture what you want the chart to look like, but it would be easy to align multiple charts on top of each other and then you can just set the dataproviders of each chart independently. You could be clever and create a custom component that could then generate X chart components within a canvas depending on properties set on your customer component. There would be some pretty clever ways to make it slick and very reusable. But I might be off base with what you are trying to do. If so, let me know. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dkhvostSent: Tuesday, August 01, 2006 11:27 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Chart multiple vertical axis Hi,Has anyone tried to develop a component that extends theCartesianChart and has the ablity to show multiple vertical axis. Theidea is to display for example multiple dataseries with differentunits. I am thinking of undertaking this task and understand that itinvolves multiple datatransforms, etc... If anyone has an ideas orsugestions please let me know.e.g.LineChart--Temperature 'F (range 60 - 90 )--Humidity % (range 0 - 100)--Outside Temperature (range 40 - 120) __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] testing of Flex apps
Here is a well written article from adobe on the testing of a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html Unless something has come out recently, I don't know of any automated testing tools that directly support flash apps (flex). You can use some of the apps like homer that basically just record exact screen location where you click and type, and then playback using the same coordinates. This is not the most reliable way of testing, but it can for some. Has anyone tried writing an automated testing framework for flex? One that would run as a flex app, and load the target app to be tested inside of its self? Then it could communicate with it and "click" and "type". I have done several automated testing frameworks like this for web applications (since I was never a fan of record and playback or buying software to do it), but I haven't tried it on flash/flex. I am almost positive you could do it though. I might have to give it a try one of these days :) Karl Cynergy Systems, Inc. http://www.CynergySystems.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert KaethSent: Wednesday, July 26, 2006 2:27 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] testing of Flex apps What is the best way to regression test a flex app ? Does flex provide any regression testing suite for testing flex apps like JUNit, HTTPUnit ? TIA __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] testing of Flex apps
Yah, my approach to answering the question was with regards to automated UI testing, not sure why I assumed the original poster was not looking to unit test. I guess when you talk about regression testing of web apps, the most important thing is to test the UI its self, more than just unit test the methods (but unit testing is definitely still important). So is QT the only app that claims to perform automated testing against flex apps? Anyone know how this works? Is this just record and playback of screen coordinates? Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: Wednesday, July 26, 2006 9:55 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] testing of Flex apps for unit testing, you can use either asunit: www.asunit.org or flexunit - which is on the adobe labs page.They are both based on JUnit - I've looked into both of them, if you want a comparison, here's my writeup of them: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtmlIf you are looking at a Continuous integration setup, there's also details on my blog about setting that up... If you are loking for functional testing, then as shannon mentioned, QTP supports Flex2, or at least will in the near future...hthPBH On 7/26/06, Shannon Hicks [EMAIL PROTECTED]com wrote: QuickTest Pro claims Flex 2 support: http://www.mercury.com/us/products/quality-center/functional-testing/quicktest-professional/ Last LI on the page Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Wednesday, July 26, 2006 8:18 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] testing of Flex apps Here is a well written article from adobe on the testing of a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html Unless something has come out recently, I don't know of any automated testing tools that directly support flash apps (flex). You can use some of the apps like homer that basically just record exact screen location where you click and type, and then playback using the same coordinates. This is not the most reliable way of testing, but it can for some. Has anyone tried writing an automated testing framework for flex? One that would run as a flex app, and load the target app to be tested inside of its self? Then it could communicate with it and "click" and "type". I have done several automated testing frameworks like this for web applications (since I was never a fan of record and playback or buying software to do it), but I haven't tried it on flash/flex. I am almost positive you could do it though. I might have to give it a try one of these days :) Karl Cynergy Systems, Inc. http://www.CynergySystems.com From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert KaethSent: Wednesday, July 26, 2006 2:27 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] testing of Flex apps What is the best way to regression test a flex app ? Does flex provide any regression testing suite for testing flex apps like JUNit, HTTPUnit ? TIA --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] testing of Flex apps
I spoke too soon with my question about QT. Came across this article http://www.adobe.com/macromedia/proom/pr/2005/mercury_flex.html Sounds like the integration between the two is pretty tight, so that QT can actually recognize and manipulate flex UI objects. I am still interested in seeing if anyone has taken the approach I talked about in my first post...particularly a way to automate the UI testing of a flex app w/o spending the major dollars on mercury. Karl From: Karl Johnson Sent: Wednesday, July 26, 2006 10:01 AMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] testing of Flex apps Yah, my approach to answering the question was with regards to automated UI testing, not sure why I assumed the original poster was not looking to unit test. I guess when you talk about regression testing of web apps, the most important thing is to test the UI its self, more than just unit test the methods (but unit testing is definitely still important). So is QT the only app that claims to perform automated testing against flex apps? Anyone know how this works? Is this just record and playback of screen coordinates? Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: Wednesday, July 26, 2006 9:55 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] testing of Flex apps for unit testing, you can use either asunit: www.asunit.org or flexunit - which is on the adobe labs page.They are both based on JUnit - I've looked into both of them, if you want a comparison, here's my writeup of them: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtmlIf you are looking at a Continuous integration setup, there's also details on my blog about setting that up... If you are loking for functional testing, then as shannon mentioned, QTP supports Flex2, or at least will in the near future...hthPBH On 7/26/06, Shannon Hicks [EMAIL PROTECTED]com wrote: QuickTest Pro claims Flex 2 support: http://www.mercury.com/us/products/quality-center/functional-testing/quicktest-professional/ Last LI on the page Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Wednesday, July 26, 2006 8:18 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] testing of Flex apps Here is a well written article from adobe on the testing of a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html Unless something has come out recently, I don't know of any automated testing tools that directly support flash apps (flex). You can use some of the apps like homer that basically just record exact screen location where you click and type, and then playback using the same coordinates. This is not the most reliable way of testing, but it can for some. Has anyone tried writing an automated testing framework for flex? One that would run as a flex app, and load the target app to be tested inside of its self? Then it could communicate with it and "click" and "type". I have done several automated testing frameworks like this for web applications (since I was never a fan of record and playback or buying software to do it), but I haven't tried it on flash/flex. I am almost positive you could do it though. I might have to give it a try one of these days :) Karl Cynergy Systems, Inc. http://www.CynergySystems.com From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert KaethSent: Wednesday, July 26, 2006 2:27 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] testing of Flex apps What is the best way to regression test a flex app ? Does flex provide any regression testing suite for testing flex apps like JUNit, HTTPUnit ? TIA --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006 --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS
RE: [flexcoders] Centering an image over a chart
Why notjust place a transparent canvas over top of the chart, same width and height of the chart, and set the x of the image to be (canvas.width/2) - (image.width/2) and then the same for the y with the height. By binding the x and y, they will change automatically when the chart/canvas size changes. Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: Wednesday, July 26, 2006 10:22 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Centering an image over a chart is this over the entire chart, or just the area where the lines are drawn (ie not including axes...)if its the latter, there is a protected dataRegion getter that will give you the size of the area you want to fill with your image... On 7/26/06, parksch2 [EMAIL PROTECTED]com wrote: Hi all,I have a question as to the best way to center an image over a chart. Basically I'd like to place an image over a chart when no data is returned. I can't use absolute positioning because of the different resolution possibilities. Further, we have a zoom component that makes the chart full screen and the image would have to re-center itself. Can anyone point me in the right direction?Thanks in advance! __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] TitleWindow - Positioning and Background Blurring
Is this flex 2.0? In 1.5, to center a titlewindow popup I would do: var popup : MovieClip = mx.managers.PopUpManager.createPopUp(this, NewTitleWindow, false, {deferred: true});popup.centerPopUp(this.parentApplication); Karl Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan SchmalhausSent: Wednesday, July 26, 2006 12:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow - Positioning and Background Blurring 1. Can I adjust the amount of blurring that is applied to thebackground when I open a TitleWindow? Is it possible to completelyswitch off the blurring?2. How do I center a TitleWindow automatically?Thanks in advance.Stefan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Need help to select multiple item from a list
Could you clarify your specific solution a little more? If I understand the original question correctly, it sounds like you have two ways of handling this. One - add each item to a stored array object when the drop event is fired on your second list. Two - You could also just loop through the dataprovider, or just grab the dataprovider as an array of the second list. Does thatanswer anything? Please provide more details and I am sure we can resolve your problem. Karl Karl Johnson Cynergy Systems, Inc. http://www.CynergySystems.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dadrobsonSent: Tuesday, July 18, 2006 7:56 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Need help to select multiple item from a list Sukhminder:Did you ever get an answer to this question? I've been searching thedocs and the Flexcoders posts, but so far, no luck. Jim--- In [EMAIL PROTECTED]ups.com, "Sukhminder Singh"sukhminder.[EMAIL PROTECTED] wrote: Hi there... I have 2 lists. First list contains all the items, from which a user can drag and drop items into his selected list. Then I want to captureall the items a user has in his selected list. Anyone out there knows how to get all the items IDs from the second list which will be later stored in DB.?? My list if like follows: mx:FormItem width="100%" label="User Catalogs" cfComponents:BindableList id="eSuser_CatalogIDs" valueField="catalogID" labelFields="[CatalogName]" dragEnabled="true" dropEnabled="true" dragMoveEnabled="true" width="100%" / /mx:FormItem Thanks Sukhminder __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] which event to use on component display?
There is definitely a show event in flex 1.5. Are you not seeing the expected results when using the show event? Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf BokelbergSent: Tuesday, July 11, 2006 9:40 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] which event to use on component display? If there is no show event like in flex 2, you can use the change eventof the TabNavigator and a small function which checks the selectedtab.Cheers,Ralf.On 7/11/06, shemeshkale [EMAIL PROTECTED]com wrote: hi, using flex1.5 i need an event to fire everytime a component is displayed on screen. creationComplete/initialize happens only once so they are not good for me. for example i have this code: ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:TabNavigator styleName="MyTabNavigator" width="300" mx:HBox label="Tab title 1" mx:Label text="TAB# 1" fontSize="20" color="#FF" / /mx:HBox mx:HBox label="Tab title 2" horizontalAlign="center" verticalAlign="middle" mx:Label text="TAB# 2" fontSize="20" color="#00FF00" / /mx:HBox mx:HBox label="Tab title 3" horizontalAlign="center" verticalAlign="middle" mx:Label text="TAB# 3" fontSize="20" color="#FF" / /mx:HBox /mx:TabNavigator /mx:Application and i want that every time the label on tab 2 is displayed on screen an alert message will pop. which event do i need? (using flex1.5) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex 1.5 Maintaining tree node state after dataprovider refresh
Ihave tried many different methods without much success. I need to be able to maintain, or at least give the appearance to the end user that I have maintained, the state of the tree after a refresh of the dataprovider (meaning I set the dataprovider an xml result of a webservice every x minutes). Has anyone successfully accomplished this? I tried popluating an array of the indexes of all displayed nodes, and then after refresh, looping through the state array andcalling setIsOpen and passing in getTreeNodeAt(indexStoredInArray), etc... But that only works with the top level. Any suggestions? Any help is very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Flex 1.5 Maintaining tree node state after dataprovider refresh
Yah the tree nodes are obviously dynamically created so I don't know how many nodes there will be at any given time. Below sounds very similar to the way I originally tried it, I will have to give it a try again and try a few different variations. I am wondering if there is a way to just use two trees, and have them mirror each other. Just make one completely hidden, never render it. Initially you set the dataprovider of both trees to the same source. Then as nodes are opened and closed, you mimic it in the hidden tree. After you refresh the dp of the rendered tree, you walk the displayed nodes of the hidden tree and mimic it back. Anyone tried that approach? I think it would be pretty straightforward and inexpensive - but that depends on the amount of nodes. Thoughts? Thanks for your help everyone. Karl -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, June 01, 2006 5:36 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex 1.5 Maintaining tree node state after dataprovider refresh If the trees are large, Karl might want to optimize his method for efficiency. One approach I have considered is this: on getting the tree data, build an associative array that uses an id as a key and contains a reference to the node. That way you would have random access to any node using the id. You would take a performance hit up front building the associative array, but thereafter retrieving a node would be much faster from the hashed list than by recursing all nodes and comparing the id. To record a tree's state when a node opens, you would start with the just opened node and put it in the state array, and then climb up the tree, one parent at a time. If any parent node exists in the state array(use an associative array here too), remove it. This way, for any path of open nodes, you will only have one recorded node, the last one in the chain. To restore a tree's state, you would do a for..in loop over the state array, and for each recorded node id, find the actual node reference in the random access array/map. Then climb the tree by parent, opening nodes as you go. I may try to do an example of this. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of moyosaned Sent: Thursday, June 01, 2006 5:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 1.5 Maintaining tree node state after dataprovider refresh public function recurseAndOpen(x:XML, tree:Object){ for(var each in x.childNodes){ if(x.childNodes[each].attributes.isOpen){ var t = tree.getDisplayIndex(x.childNodes[each]); tree.setIsOpen(tree.getNodeDisplayedAt(t), true, false, false); } if(x.childNodes[each] != undefined){ this.recurseAndOpen( x.childNodes[each], tree ); } } } Maybe you can use this... store -- .attributes.isOpen every time a node opens or closes... on refresh fill the tree with new data. and use the old structure as a lookup tree to reopen the nodes... --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED] wrote: I have tried many different methods without much success. I need to be able to maintain, or at least give the appearance to the end user that I have maintained, the state of the tree after a refresh of the dataprovider (meaning I set the dataprovider an xml result of a webservice every x minutes). Has anyone successfully accomplished this? I tried popluating an array of the indexes of all displayed nodes, and then after refresh, looping through the state array and calling setIsOpen and passing in getTreeNodeAt(indexStoredInArray), etc... But that only works with the top level. Any suggestions? Any help is very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this g
RE: [flexcoders] How do you advise clients about building for the future - how long before Flex2 is worth their time?
I definitely agree with your points regarding licensing, but the problem with adoption of flex 2.0 as the platform for consumer apps is the need for the adoption of the new player. I personally would not want to release a production flex 2.0 app to the world, on a public site, until the player has saturated the market (50% + or more). Now if you can somewhat control your target audience (i.e. intranet apps, or niche userbase, etc) then it is not a problem. But it will be a while before the yahoo's and amazon's would adopt flex 2. Just my opinion. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Thursday, June 01, 2006 6:51 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? IMHO, only existing clients with large applications will stay with 1.5/as2. The licence cost of 1.5 prevented all but large enterprise clients from adopting Flex. 2.0 breaks that barrier, and any shop can now build Flex apps of any size for the cost of development. The third party market for 1.5/AS2 will shrink. The market for 2.0/AS3 will grow. How fast? Sorry, I cant really even guess, but fast. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manuel Saint-VictorSent: Thursday, June 01, 2006 6:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? If a client is seeking a set of custom components and plans to use them for building applications for other clients in the future what would you advise them about building these components in AS2 versus AS3. Flex components are obviously more convenient for me to build but what is the honest answer if asked "How long will it be before my clients are using these?" in regards to their own clients and ActionScript 3 components? Mani -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How do you advise clients about building for the future - how long before Flex2 is worth their time?
No, sorry if I implied that. I don't think the upgrade will be hard in anyway. I am sure a lot of users will do it as soon as the player is available. Not a resistance on the user's part, my point is just that, like any browser upgrade or web control/addin upgrade, the casual internet users are not very quick to update. If adobe has plans of "pushing" the upgrade to all existing player users, then I am sure that will increase the adoption rate very rapidly. I must say I have not read anything about the upgrade plans, so I can't speak to that. But delivering an application that requires brand new software in order to be used is just always a risk - hopefully Adobe does enough to mitigate it that all of the early flex 2 adopters will not face problems with potential users not having the required player for the first few months after it's release. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack W. CaldwellSent: Thursday, June 01, 2006 10:54 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? Karl: This seems to contradict what Adobe has said about the "seamless" upgrading to Flash 9. Do you see such a resistance on the part of the consumer market user to not upgrade? If so, why? Will theupgrading not be as easy as we think? Thanks, Jack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl JohnsonSent: Thursday, June 01, 2006 6:59 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? I definitely agree with your points regarding licensing, but the problem with adoption of flex 2.0 as the platform for consumer apps is the need for the adoption of the new player. I personally would not want to release a production flex 2.0 app to the world, on a public site, until the player has saturated the market (50% + or more). Now if you can somewhat control your target audience (i.e. intranet apps, or niche userbase, etc) then it is not a problem. But it will be a while before the yahoo's and amazon's would adopt flex 2. Just my opinion. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Thursday, June 01, 2006 6:51 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? IMHO, only existing clients with large applications will stay with 1.5/as2. The licence cost of 1.5 prevented all but large enterprise clients from adopting Flex. 2.0 breaks that barrier, and any shop can now build Flex apps of any size for the cost of development. The third party market for 1.5/AS2 will shrink. The market for 2.0/AS3 will grow. How fast? Sorry, I cant really even guess, but fast. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manuel Saint-VictorSent: Thursday, June 01, 2006 6:18 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How do you advise clients about "building for the future" - how long before Flex2 is worth their time? If a client is seeking a set of custom components and plans to use them for building applications for other clients in the future what would you advise them about building these components in AS2 versus AS3. Flex components are obviously more convenient for me to build but what is the honest answer if asked "How long will it be before my clients are using these?" in regards to their own clients and ActionScript 3 components? Mani -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DataGrid cell edit and Row color problem
I assume you are not using Flex 2 as I am pretty sure setPropertiesAt is no longer supported. But even in 1.5, setPropertiesAt can only be used to set a very small amount of styles/properties. Color I know is not one of them. You can set backgroundColor, icon and maybe one or two others. Otherwise, probably best to use a customer cellRenderer that contains a method which updates that cell's styles on edit, etc.. Hope that helps. Karl Karl Johnson Cynergys Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Monday, May 22, 2006 9:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid cell edit and Row color problem Dear all, i have need to change the row color after the one of the cell have been edit. people says that it can use dg.setPropertiesAt(2, {backgroundColor:0xFF}); i find it work ^_^, but i have also add other properties by 1) dg.setPropertiesAt(2, {backgroundColor:0xFF,color:0xFF}); 2) dg.setPropertiesAt(2, {backgroundColor:0xFF}); dg.setPropertiesAt(2, {color:0xFF}); 3) updated_style.backgroundColor = 0xFF; updated_style.color= 0xFF; updated_style.fontStyle = italic; dg.setPropertiesAt(2,updated_style); only the backgroundColor change , is that any method? thx capho Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/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 Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] No header in Datagrid : how ?
Set the showHeaders property to false. Karl Johnson Cynergy Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Luc ESSER Sent: Wednesday, May 10, 2006 6:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] No header in Datagrid : how ? I didn't manage to find a way of not having any header in a datagrid. Setting headerHeight property to 0 does not really work as the little black arrow keeps appearing (partially) in the upper right corner of the column. Anyone to tell me which property i'm missing here ? Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/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 Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Tab control with an icon on the active Tab
Has anyone implemented a tab control that shows a clickable icon on the active tab (that wouldlaunch an options dialog or something similiar)?I assume theonly way to do it would be to extend the tab control and manipulate the width of the active tab and overlay the image object on top of the active tab...but I wanted to check if anyone had already done something similar to this or had any ideas? Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Amazon Web Services
If you are sure that you are properly providing all of the parameters required and are still not having success...it probably means that a dynamic value of one of your parameters is returned "undefined" as its value. This will cause flex to say that it does not have all of the required params and will not make the ws call. Does the service call work when you use a hardcoded value instead of {searchString.text}? If so, then I would change the button to call amazon.ItemSearch(accessKey, service, keywords, searchString.text, operation); instead of just calling send with all of the predefind parameters. Just a thought, it may not be the problem at all but is the first thing that came to mind. Hope it helps. Something I should have accessed first, is the error you are getting coming from the amazon service or is a flex error that is thrown prior to the service being called? | Karl Johnson Cynergy Systems, Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh BuhlerSent: Wednesday, April 26, 2006 12:33 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Amazon Web Services Ok, I'm a bit of a newbie when it comes to Flex, but I just can't get this to work. I'm trying to do an item search on Amazon, using the chunk of code below. However, I keep getting the error that I'm missing required parameters like the "SearchIndex". Am I doing something wrong here? I can't find the answer anywhere else, so I'm at your mercy. Thanks, Josh mx:WebService id="amazon" wsdl="http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl" useProxy="false" mx:operation name="ItemSearch" showBusyCursor="true" mx:request xmlns="http://webservices.amazon.com/AWSECommerceService/2006-03-08" ItemSearch AWSAccessKeyId1SEH1ZG68CMWH9E84VR2/AWSAccessKeyId ServiceAWSECommerceService/Service Keywords{searchString.text}/Keywords SearchIndexBlended/SearchIndex OperationItemSearch/Operation /ItemSearch /mx:request /mx:operation /mx:WebService mx:Panel height="114" layout="absolute" title="Search for products" id="panel1" left="10" right="10" top="10" mx:Label x="10" y="10" text="Search String" id="searchLabel"/ mx:TextInput x="96" y="8" width="228" id="searchString" text="elvis"/ mx:Button x="332" y="8" label="Search" id="startSearch" click="amazon.ItemSearch.send()"/ /mx:Panel -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] [Flex2B2] DataGrid refresh problem
I assume the event is not firing because the length of the dataprovider has not changed in this case. Just a guess, but try setting the dataprovider again or setting it to its self to force a reload of its data. (grid.dataProvider = grid.dataProvider or grid.dataProvider = dataObject); | Karl Johnson Cynergy Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Varga Sent: Wednesday, April 26, 2006 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] [Flex2B2] DataGrid refresh problem Hi! Here I have another problem with DataGrid: http://virtualro.co.uk/~andi/flex/datagrid/2/Test2.html (View Source enabled) The Change button adds some characters to the first element of the DataProvider. But the DataGrid does not refresh its content accordingly. The Add button adds a new element to the DataProvider. This time the DataGrid refreshes, the new element is there, and even the changes made before are visible. What an I missing? Why doesn't my changes show up in the DataGrid? Thanks, Andi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Looping output
When you say loop over components, do you mean loop over existing UI objects? Or do you mean create UI objects? If you are creating, then do something like the following to create a label and/or textbox control for each index of the array returned: For loop { var newLabel = myVBox.createChild(mx.controls.Label, undefined); newLabel.text = myArray[i]; } Are we on the right path here or is this not what you are looking for? | Karl Johnson Cynergy Systems, Inc. http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Tuesday, April 25, 2006 3:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Looping output I am trying to loop over components. Like Labels and text. So depending on how many records I return it outputs that many sets of labels and text components. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Jeremy, have you looked at the for loops? for (var i:Number=0;imyArray.length;i++) { oElement = myArray[i]; } Or for (var key in myObject) { oTemp = myObject[key]; } Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Monday, April 24, 2006 4:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Looping output In my application, I have a section where I need to output text that is returned from my cfc. The cfc returns an array, is there away to loop output text. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Adding addEventListener too a Child object
Not positive about flex 2, but in Flex 1.5 I would do DesignView.getChildAt(0).addEventListener(eventType, handler); (assuming DesignView is the parent container). Does that work in F2B2? | Karl Johnson Cynergy Systems, Inc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vestcomprogrammer Sent: Tuesday, April 25, 2006 4:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adding addEventListener too a Child object I am trying to add a addEventListener to a child object in Flex 2.0 beta 2 and I have tried this DesignView[0].addEventListener (selectionChanged, valueChanged(this)); but this does not seem to work. Anyone know how? Thanks Bill -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Dynamic create child in Flex1.5
The createChild method is able to create any type of component. I use it to create custom components and controls and runtime all the time. What is the error you are seeing? If you have your component in a package (like net.xyz.me.componentClass) make sure to specify the full class path (unless you have imported it). Container.createChild(net.myCompany.myButtonComponent, undefined); | Karl Johnson Cynergy Systems, Inc. http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Friday, April 21, 2006 2:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic create child in Flex1.5 Dear all, i have a container that i need to create different custom component on it. I find that the function createChild() only accept hard code component. For example createChild(Button,undefined); Does it have some method that can run like this? var c_component = Button; // Actually it may be my custom component. XX.createChild(c_component,undefined); thx capho -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Background color of DataGrid row and column
Are you trying to set the background color for a specific row or for ever row at once? Are you seeing alternating row colors instead of the color you want? If that is the case, they you probably want to set the the alternatingRowColors style (takes two RRGGBB colors). http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/List.html#s tyles If you want to set a row's bg color based on certain criteria, the way I would do it is call dg.setPropertiesAt(rowId, {backgroundColor:0xC2D4DF}) | Karl Johnson Cynergy Systems, Inc. http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mustaq Pradhan Sent: Thursday, April 20, 2006 6:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Background color of DataGrid row and column How to set background color of a DG row. By setting backgroundColor property I get nothing displayed, but the mxml compiled ok. Is there any way to set background color of a DG row? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex2 Beta2 - Looping through dataGrid to bold cells
To set the style to bold, you will most likely want to do item.setStyle(fontWeight, bold); (I have not tested it specifically on this object type, but that is what it would be on any object that does support it). When do you need to set rows to bold? Does it always happen as soon as the dataprovider is set/the grid shows data? Then you should go the custom cell renderer rout. Then you can do anything you want to each cell, including display objects other than strings. Hope that helps! | Karl Johnson Cynergy Systems, Inc. http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Pieszak Sent: Friday, April 14, 2006 9:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 Beta2 - Looping through dataGrid to bold cells Hello all, if there's a better way to do this, please let me know. I'd prefer not to loop everytime the grid is refreshed. So, if I'm trying to bold certain cells based on their value (by looping), these are the problems I'm having... 1) I can't find a property that holds the total row count of the grid to use as the number to loop through. 2) I thought this was the way to bold the text, but I can't get it to work... my_Grid.columns.my_Column[row_number].fontWeight=bold; Thanks guys. Ryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex2 Beta2 - Looping through dataGrid to bold cells
So you want all data in the grid to be bold? Then you should be able to just set the style on the grid instead of setting it on each row. As for cell renderers, yes yes and yes. It renders on a cell basis and can modify the display based on the data returned for that cell. And you can include pictures if you want to! You can create child objects of any type (I assume there are some objects that grid cells do not support though). The best way to start is to pull up the much used check cell renderer. It displays a checkbox for each cell and checks/unchecks based on a conditional of the data returned for that cell. Once you have the cell renderer class done, just set the cellRenderer property on your dataColumn to be your new class. | Karl Johnson Cynergy Systems, Inc. http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Pieszak Sent: Friday, April 14, 2006 10:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2 Beta2 - Looping through dataGrid to bold cells Hey Karl, thanks for the quick response! Ideally, I'd like certain rows to be bold when the data is populated, but I don't know how to do that. So, I'd like to bold the cells as soon as the data is displayed. I never want the user to see the data in the dataGrid without the bold text. I'm really curious about this custom cell renderer. Can it go to the cell level, or just row? Can I include pictures??? Can all this be done on a conditional basis (the value of the cell)? I can't find a Beta2 link for it, everything is Beta1, except for this... http://livedocs.macromedia.com/labs/1/flex20beta2/wwhelp/wwhimpl/commo n/html/wwhelp.htm?context=LiveDocs_Partsfile=0123.html#142625 ...which is clearly no help. Any links would be greatly appreciated. Thanks. --- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED] wrote: To set the style to bold, you will most likely want to do item.setStyle(fontWeight, bold); (I have not tested it specifically on this object type, but that is what it would be on any object that does support it). When do you need to set rows to bold? Does it always happen as soon as the dataprovider is set/the grid shows data? Then you should go the custom cell renderer rout. Then you can do anything you want to each cell, including display objects other than strings. Hope that helps! | Karl Johnson Cynergy Systems, Inc. http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Pieszak Sent: Friday, April 14, 2006 9:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 Beta2 - Looping through dataGrid to bold cells Hello all, if there's a better way to do this, please let me know. I'd prefer not to loop everytime the grid is refreshed. So, if I'm trying to bold certain cells based on their value (by looping), these are the problems I'm having... 1) I can't find a property that holds the total row count of the grid to use as the number to loop through. 2) I thought this was the way to bold the text, but I can't get it to work... my_Grid.columns.my_Column[row_number].fontWeight=bold; Thanks guys. Ryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Removing Items from a list
Use the click event of the button to call list.removeAll() to remove all of the items or removeItemAt(int) to remove a specific list item. Is that what you are asking? If you want to remove the list item that is selected, you should be to just do list.removeItemAt(list.selectedIndex); in the click event handler for the button. | Karl Johnson Cynergy Systems http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of merrittwchapman Sent: Monday, April 10, 2006 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Removing Items from a list Can someone provide me with an example of how to use actionscript to remove items from a list control by clicking a button? Thanks! MC -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] gant chart
Yep I created one. It combines a tree control with a grid. The grid is a not actually a grid control because of performance problems, but is actually a big canvas. On the expand and collapse events of the tree, I redraw the gantt chart grid (using the drawing api) to have rows (color determined by criteria for each row) that match the amount of expanded tree nodes. The perf is pretty good, mostly instant drawing and no datagrid overhead etc. The control is pretty much modeled after the MS Project gantt chart. | Karl Johnson Cynergy Systems http://www.cynergysystems.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of juscodin Sent: Tuesday, April 11, 2006 11:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] gant chart Has anyone worked on creating a gant chart capability with Flex? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] DragManager issues when running in swf inside a swf
No luck with this. I have tried about a million different solutions. Is there a documented work around for this in Macromedia support? Any other possible ways of gettings this to work? Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Saturday, March 04, 2006 5:09 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf Yes, the one that has the loader control in it. The point is you need to make sure that the first application you load has the DragManager linked into it. Maybe do a static var in the Application? private static var dm:DragManager; I dont think _lockroot will do anything for you. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Friday, March 03, 2006 6:33 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot="true" on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: Friday, March 03, 2006 9:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Thursday, March 02, 2006 9:29 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler "event.target" is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DragManager issues when running in swf inside a swf
(Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler "event.target" is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] DragManager issues when running in swf inside a swf
Thanks much for the reply Matt. This was supposed to be put in the application initialize event of the parent flex app (the one that has the loader control)? I tried in both and didn't have any luck. A colleague had suggested setting _lockroot="true" on the loader object but that didn't seem to do it either. Any other ideas? This problem is really killing me! Thanks for your help. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: Friday, March 03, 2006 9:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] DragManager issues when running in swf inside a swf This is a known issue because the drag and drop stuff is static and therefore doesnt often play nice across loaded swfs. In the Flex app that does the loading try putting a specific reference to the DragManager to make sure it gets loaded correctly. So for example, in your initialize for the Application put var dm:DragManager = null. I think that should pull it in and help out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl JohnsonSent: Thursday, March 02, 2006 9:29 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] DragManager issues when running in swf inside a swf (Flex 1.5, AS 2) My drag and drop code has worked fine for a long time. Today, I took the swf generated by the flex compiler and am loading it inside of a loader control in another flex app. Everything about the inner app works fineexcept for the call to DragManager.doDrag(), which gets called by the mouseDown event on the draggable objects. I have verified that the event is getting called, and that inside the event handler "event.target" is correct. Yet, for some reason, when the swf is loaded inside of another swf, the drag operation does not work. It is like the call to doDrag is failing without error. All of the other code in the dragDrop and dragOver event handlers execute fine (when I drag in an item from a list, where I am not handling the initialization of the dragsource and am not calling doDrag()). When I hit the swf directly, drag/drop works wonderfully. When I load it inside of another swf, dragging does not work. Any thoughts? ANY help very much appreciated. Thanks, Karl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.