[flexcoders] Flex Builder 2.0 beta 2 with SVN?
Hi Flexers, In Flex Builder 2.0 , for team synchronization, I can add an CVS repository i.e. I can configure my project resources within Flex IDE to CVS and thus team can further work in sync as per help comments. Is it possible to bind/configure/use Flex Builder 2.0 with Tortoise SVN repository? This is quite important for me in the organization to decide whether to choose SVN or not. Seek your help here. Regards, Meenakshi Makker Live as if you will die tomorrow, and learn as if you will live for ever. —Mahatma Gandhi -- 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 dataservice composite primary key
I think that's right. I don't have the code in front of me but there's a possibility that it should be a comma-separated list, but I kinda doubt it. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma Sent: Tuesday, April 25, 2006 11:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 dataservice composite primary key Is this a correct way to define the composite primary key destination id=product adapter ref=coldfusion-dao / properties metadata identity property=id/ identity property=productId/ /metadata -- 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] How to programmatically make a custom ListItemRender?
Try mylist.itemRenderer = new ClassFactory(CustomRenderer); -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rigidcode Sent: Wednesday, April 26, 2006 8:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to programmatically make a custom ListItemRender? I'm trying to make a custom ListItemRenderer in Actionscript. I was able to make it display the list correctly, but when I click on anything in the list, I get this error: TypeError: Error #1009: null has no properties. at mx.controls::List/drawItem()[C:\dev\beta2\sdk\frameworks\mx\controls\Lis t.as:1416] at mx.controls.listClasses::ListBase/selectItem()[C:\dev\beta2\sdk\framewor ks\mx\controls\listClasses\ListBase.as:2907] at mx.controls.listClasses::ListBase/mouseDownHandler()[C:\dev\beta2\sdk\fr ameworks\mx\controls\listClasses\ListBase.as:4369] at mx.controls::List/mouseDownHandler()[C:\dev\beta2\sdk\frameworks\mx\cont rols\List.as:1801] Every function in that call stack is not in the documentation. My hello worldish custom listitemrenderer so far is: public class CustomItemRenderer extends HBox implements IFactory, IListItemRenderer { public var thelabel:Label; public function CustomItemRenderer() { super(); this.thelabel=new Label(); this.thelabel.percentWidth=100; this.addChild(this.thelabel); } public function newInstance():* { return new CustomItemRenderer(); } public override function get data():Object { return super.data; } public override function set data(value:Object):void { this.thelabel.text=value['label']; super.data=""> dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); } } I also tried with IDropInListItemRenderer, and I get the same error. Here is my instantiation. var mylist:List = new List(); mylist.dataProvider=this.myarraycollection; mylist.itemRenderer=new CustomItemRenderer(); -- 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] Problem with Firefox and Flex 2 apps?
Thats not the 8.5 version number if you see 8,0,24,0. It should be 8,5,0,242 I think. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of billlane1962 Sent: Wednesday, April 26, 2006 4:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with Firefox and Flex 2 apps? I was just trying out the Connect 4 app that is currently showcased in Labs (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html). This works great in IE. But when I run this in Firefox (1.5.0.2 Plugin : 8,0,24,0) I get the default Flex background and nothing else. I right-click and select play and the app starts. But it runs very slowly and after a few moves Firefox stops responding. This has been happening to me regularly since installing Flex 2 Beta 2. Is anyone else having the same problem? -- 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.
[flexcoders] Re: Uncaught exceptions in Flex 1.5
Hi, Peter It's good that we have at last normal exception handling in 8.5 beta. But it's only beta for now and we are creating apps using Flex 1.5. So the question is How we can fight silent exceptions death in Flex 1.5 ???. I have some ideas but to realise them i have to rewrite all flex 1.5 framework and i think it's not acceptable. Waiting for reply , Max --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Hi Mykola, Have you used the debug versions of the Flash Player during development? The debug version of the Flash Player reports uncaught exceptions and it also traces information to a flashlog.txt file as long as you have a mm.cfg file setup in your user directory. We include debug versions of the Flash Player (i.e. the Standalone Player, the Firefox/Netscape/Opera plugin and MSIE Active-X player) in the Flex installer. We include them for the same reasons that you state - without having proper error reporting it is impossible to build anything larget than hello-world presentations. Flex Builder has a visual debugger with breakpoints and watch statements. Also AS3 Error objects remember their stacktraces and you can print them out if you're using the debug player. We built the Flex 2 framework of over 1000 classes using the same tools as you would to build your own applications... I feel that they are adequate. Regarding the confusion, it wasn't that important - it was just that from my reading the various posts on this thread I got the impression that there were two complaints here that were at odds with each other. One complaining they couldn't manage errors coming from lots of different places and the other that they weren't getting enough errors and related information at runtime. Regards, Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mykola Paliyenko Sent: Tuesday, April 25, 2006 5:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5 Ok Peter, no idea why you've been confused but... ActionScript specification has a notion of throwable objects, so saying that Exception is a bug of the AS2Lib is slightly incorrect. I'm relaizing that due to the size constraints of the player it might be good idea not to include exception handling in it, but once more again you can add this in the development version of the player and this should be extremely easy to do if the overal palyer's architecture is good enough, isn't it? My opinion is that without having proper error reporting it is impossible to build anything larger than hello-world presentations with a very good quality, so I'd warn people to treat Flex/Flash as a really serious platform unless this feature will be implemented. Flex Developers in my company mostly are very unhappy with the quality of the framework and the level of the support Adobe provide for the users, I'm not saying about paid support I'm saying about community support, feature requests, bugfixes, open source frameworks around Flex etc. I see no other way for developing the really good product other than involve the community into the development. It is the way lots of really cool stuff were developed for the last year and it is mostly ignored by Adobe. You have a great idea of RIA and a great high performant player, if you make a great product it will be an all win situation. The only way to make a great product is to make it more open to the contributing than it is now. IMHO but it is proven many times in Java world So do not just throw away comment from such crazy guys like me, Maxym, Sergey and lots more, all we want is to make the platform we are using better, and do trust me without responding to the real feedback from developers any technology will shortly become outdated. On 4/24/06, Peter Farland [EMAIL PROTECTED] wrote: Mykola, I'm slightly confused by your post in contrast to what Sergey and Stanislav originally said. I read Sergey's post as that he was having trouble with uncaught exceptions and had to add a lot of code to catch and possibly ignore such errors. I read your post to mean the opposite of this in that the uncaught exceptions were important at development time because if they were silently caught and ignored it would be hard to diagnose what the problem was. As Matt said, in general for our data services framework code we tend to not throw exceptions but instead funnel everything through a fault event mechanism. If you run into exceptions in our Flex framework code then it may be a bug and should be reported with a reproducible case or at the very least a stacktrace. If these exceptions are due to non-Flex framework code then either its a bug in that 3rd party code or, as Matt suggested, the number of entry points that need to be checked can be reduced by centralizing the calling
Re: [flexcoders] How to subclass a singleton class ---- cairngorm issue --- Please help!!
Are you creating a business delegate class to handle the service call? In the cairngorm framework, the actual work of getting the remoteObject and making a request is inside a delegate. Consider, for example a remoteObject service which returns a list of customers with the id: roCustList. Create a business delegate class called 'CustomerListDelegate' having this function: public function CustomerListDelegate ( responder : Responder ) { this.service = ServiceLocator.getInstance().getService(roCustList); this.responder = responder; } the call is made here: public function getCustList(): void { var call : Object = service.getCustList(); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } Obviously there is much more to creating a successful request/response to a service call than this. You have to create a cairngorm event and dispatch that event with is handled in a command class that places the result in a model. I can send you a step-by-step bare bones example of all the required steps if you think you might benefit. I don't mind admitting that I found it a bit bewildering at first, but when you get the hang of it, it is a great framework. Larry Liang To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: [flexcoders] How to subclass a singleton class flexcoders@yahoogroups.com cairngorm issue --- Please help!! 04/27/2006 12:36 AM Please respond to flexcoders I'm new to Flex and have been spending a lot of time trying to figure out how is part of cairngorm framework works. Please help. Cairngorm uses singleton pattern to ensure that there is only one instance of a class running for each app. For example, the ServiceLocator class use a static method to return the instance reference to you. public static function getInstance() : ServiceLocator { if ( serviceLocator == null ) serviceLocator = new ServiceLocator(); return serviceLocator; } The documentation said that the recommended way to use this class is to subclass ServiceLocator and define your services, using the code similar to the following: cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/ mxml xmlns:cairngorm=org.nevis.cairngorm.business.* mx:RemoteObject id=customerDelegate source=org.nevis. cairngorm.samples.login.LoginDelegate result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) /mx:RemoteObject /cairngorm:ServiceLocator so far so good. however the documentation said Services can later be located, usually in a business delegate class as shown here: var service = ServiceLocator.getInstance().getService( customerDelegate ); This is where I am confused. I just used mxml to subclass the servicelocator class and add a new property (remoteobject) to the instance of the subclass (not parent class). But when I use ServiceLocator.getInstance(cusomerDelegate) what I get is a reference to the parent class which is ServiceLocator class defined by cairngorm. How can i use a reference to the parent class to locate a property of the child class. I'm very confused. This may have something to do with the way that mxml script is compiled into actionscript object. Someone please give me some ideas. By the way, I tried to subclass the ServiceLocator class in actionscript 2 and assign an service object to the subclass. When I use ServiceLocator.getInstance.getService('myService'); The program returned saying that the service can not be found. I guess it kind of makes sense in that the object belongs to the subclass not the parent class. sorry for making this a bit long. Thanks, Larry -- 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 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- 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.
[flexcoders] Flex 2 beta 2 history: working?
Hi, I was trying to experiment with the HistoryManager class, but cant get it working. I created a new project, and just used the accordion with some content, and even on that project, the history management isnt working. Is there anything I need to configure, as the help says the accordion component has history management by default? Thanks! Jonas -- 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.
[flexcoders] How to modify a component design to give a 3d effect
Hello all, I would like to change a component layout (for example a panel with some fields in it), in order to give it a 3d feeling. I don't want to change the skin, but the way the component and its child are drawn in the screen. I want to give to the whole component a feeling of dept, for example, shrinking the left side (but with the child resizing in the same way). I can't find anything related in the documentation, maybe I'm looking in the wrong place. Best regards, Nelson -- 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] Re: How to subclass a singleton class ---- cairngorm issue --- Please help!!
Thanks a lot michael. A step by step example would be extremely helpful. I'm sure it will help me clarify a few things. Please email the code to this email address: [EMAIL PROTECTED] I re-think about the whole issue again and guess the thing that I would like to figure out here is what exactly happens in flex when you do this: cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/ mxml xmlns:cairngorm=org.nevis.cairngorm.business.* mx:RemoteObject id=customerDelegate source=org.nevis. cairngorm.samples.login.LoginDelegate result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) /mx:RemoteObject /cairngorm:ServiceLocator This is the way that you subclass a class in flex. but does flex really create a class that inherits from ServiceLocator class or does it create something else which somehow copies the code from ServiceLocator class and create a new class with a property of RemoteObject ? if it is really subclassing, then in your code, when you do public function CustomerListDelegate ( responder : Responder ) { this.service = ServiceLocator.getInstance().getService( roCustList); this.responder = responder; } ServiceLocator.getInstance() should return a reference to the parent class, not child class. Then how can you use getService() function to return a reference to the remoting object? the Parent class ServiceLocator defined in cairngorm does not have a property of RemoteObject. It's the child class that we created using MXML has a property of remoteObject. I'm sorry for making this confusing and complicated. I just want to know how the framework really works. Thanks for the help again, Larry --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Are you creating a business delegate class to handle the service call? In the cairngorm framework, the actual work of getting the remoteObject and making a request is inside a delegate. Consider, for example a remoteObject service which returns a list of customers with the id: roCustList. Create a business delegate class called 'CustomerListDelegate' having this function: public function CustomerListDelegate ( responder : Responder ) { this.service = ServiceLocator.getInstance().getService( roCustList); this.responder = responder; } the call is made here: public function getCustList(): void { var call : Object = service.getCustList(); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } Obviously there is much more to creating a successful request/ response to a service call than this. You have to create a cairngorm event and dispatch that event with is handled in a command class that places the result in a model. I can send you a step-by-step bare bones example of all the required steps if you think you might benefit. I don't mind admitting that I found it a bit bewildering at first, but when you get the hang of it, it is a great framework. Larry Liang To: flexcoders@ yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: [ flexcoders] How to subclass a singleton class flexcoders@yahoogroups.com cairngorm issue -- - Please help!! 04/27/2006 12:36 AM Please respond to flexcoders I'm new to Flex and have been spending a lot of time trying to figure out how is part of cairngorm framework works. Please help. Cairngorm uses singleton pattern to ensure that there is only one instance of a class running for each app. For example, the ServiceLocator class use a static method to return the instance reference to you. public static function getInstance() : ServiceLocator { if ( serviceLocator == null ) serviceLocator = new ServiceLocator(); return serviceLocator; } The documentation said that the recommended way to use this class is to subclass ServiceLocator and define your services, using the code similar to the following: cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/ mxml xmlns:cairngorm=org.nevis.cairngorm.business.* mx:RemoteObject id=customerDelegate source=org.nevis. cairngorm.samples.login.LoginDelegate result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) /mx:RemoteObject /cairngorm:ServiceLocator so far so good. however the documentation said Services can later be located, usually in a business delegate class as shown here: var service = ServiceLocator.getInstance().getService( customerDelegate ); This is where I am confused. I just used mxml to subclass the servicelocator class and add a new property (remoteobject) to the instance of the subclass (not parent class). But when I use ServiceLocator.getInstance(cusomerDelegate) what I get is a reference to the parent class which is ServiceLocator class defined by cairngorm. How can i use a reference to the parent class to locate a property of the child class. I'm very confused. This may
[flexcoders] Extending LineFormattedTarget
I'd like to create my own logging target by extending LineformattedTarget. I wonder how i can access the formatted string? Cheers,Ralf. . -- 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] Passing the array as the dataprovider in the combobox cellrenderer
Dear all, how can i reference it? 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 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] Help needed
Hi, My organization is interested in developing a new project using Flex 2.0 (an E-commerce site). As i am new to flex.I have some queries . 1) Is it sufficient to use Flex Builder without Flex Data Services for web applications like E-commerce? Will there be a low cost version of FDS ?(If yes,is JMS possible with Flex builder.) 2) Which database would you recommend for this Flex development environment? 3) Which technology is suitable for business layer(Java or .NET ) 4) Can u send me some help link from where i can get some sample code to connect the flex with some database using JSP? Your answers will be very helpful for me .Hope you will answer me. And your reply for this questions will be highly appreciated. Thanks. Vinod -- 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] Re: F1.5: How to set dataprovider for Repeater-generated grids?
Thanks for the quick reply Doug, that is great and all makes sense and I can see what's going on. I can make it work with a little manipulation of the inner RO calls by using for loops. And had I thought about it more, you are right that event.dragSource et al would have all the information I needed, so that part really should be simple enough to implement. But could you explain how I would initialize the repeaterData array if the number of elements is dynamic, i.e., returned from a query such as what I am trying to do? That would be this line: var repeaterData: Array = [ {}, {}, {} ]; to set the Array elements from RO.results without hardcoding the size of the array. And actually/ideally, I would want to make this a component at some point, so how would I make this line of AS: repeaterData[i].dp = [{Number: n++}, {Number: n++}, {Number: n++}]; populate itself from a second RO query recordset where I wouldn't necessarily know what the column names are? Something like: var thisROResultItemsArray:Array = RO2.result._items; //since _items is already an array repeaterData[i].dp = [{thisROResultItemsArray}]; Excuse me if I'm being dense or am missing something completely obvious. I'm betting that F2 is a lot easier with this, but it will really help to get this into my noggin now. Thanks again! Tom Doug Lowder wrote: Hi Tom, Hopefully the sample code below will be enough to get you started. Once the repeated grids have had their dataproviders bound to an array, all you need to do is reassign another array to update the grid just as the Update grids button in the sample does. The sample accomplishes this reassignment with the Array.slice() method. You could also use the various grid and dataprovider methods (addItem(), replaceItem(), editField(), etc) to make changes on a row-by-row basis. You should be able to use a remote object result handler in place of the button's click handler to update the dataprovider arrays. I'll leave the drag-and-drop portion to you, but essentially I believe everything you require should be in the event parameter: event.target, event.dragSource, etc. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml width=100% mx:Script ![CDATA[ var repeaterData: Array = [ {}, {}, {} ]; function updateData() : Void { var n: Number = 0; for (var i = 0; i repeaterData.length; i++) { var dp: Array = repeaterData[i].dp; if (dp == undefined) { repeaterData[i].dp = [{Number: n++}, {Number: n++}, {Number: n++}]; } else { for (var j = 0; j dp.length; j++) { dp[j].Number++; } repeaterData[i].dp = dp.slice(); } } } ]] /mx:Script mx:Panel title=Repeated Data Grids width=80% mx:HBox width=100% mx:Repeater id=rp dataProvider={repeaterData} mx:DataGrid dataProvider={rp.currentItem.dp} width=100%/ /mx:Repeater /mx:HBox mx:ControlBar mx:Button label=Update grids click=updateData()/ /mx:ControlBar /mx:Panel /mx:Application --- In flexcoders@yahoogroups.com, Tom Sammons [EMAIL PROTECTED] wrote: Hi all, Long time viewer, first time caller... [never mind, it's a pittsburgh thing] What I'm trying to accomplish is to populate a regular datagrid with records representing unassigned requests, and then use a repeater to display grids of current workload requests for a short list of personnel. An administrator would drag and drop unassigned requests into the workload grids, and be able to drag/drop between workload grids as well for the purpose of balancing/spreading personnel work around. (Eventually, I want to be able to use shared objects to automatically update at the client level as well to improve the collaboration, but that's a different effort.) I've been unable to find a suitable example or solution that would demonstrate how one would set the dataProvider for datagrids generated by a Repeater. Obviously, if I bind the provider during Repeater execution it will populate all the grids with the last remote object call. (I'm not at all interested in using XML, although even that would give me a lead.) From a performance aspect, I'm not positive that the repeater may not be the best way to go -- although Tracy posted something that says otherwise in 18378 -- but the workload grids will generally only be between 3 and 6 in count, and the repeater seems to handle that quite well from what I've seen so far, plus takes care of all the nice formatting. Just so you know, F2 isn't an option right now. I'd really appreciate it if someone could provide an example of how I can populate the repeater grids with different remote object calls, and how I would use the event.target.getRepeaterItem during the drag function (since I'm not sure how to use that to refe! rence a specific datagrid id in the repeater array --- did I say that right?). I think once I have the former, I could figure out how to get all the other
[flexcoders] Re: Problem with Firefox and Flex 2 apps?
Actually I don't think that number is correct. That came from the Flash Player download page. Actual version is 8,5,0,246. Bill --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: That's not the 8.5 version number if you see 8,0,24,0. It should be 8,5,0,242 I think. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of billlane1962 Sent: Wednesday, April 26, 2006 4:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with Firefox and Flex 2 apps? I was just trying out the Connect 4 app that is currently showcased in Labs (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html ). This works great in IE. But when I run this in Firefox (1.5.0.2 Plugin : 8,0,24,0) I get the default Flex background and nothing else. I right-click and select play and the app starts. But it runs very slowly and after a few moves Firefox stops responding. This has been happening to me regularly since installing Flex 2 Beta 2. Is anyone else having the same problem? -- 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.
[flexcoders] AS3 API generation
Is there any application that is updated to generate the AS3 doc? (AS3 API for my classes) Thanks, Deepak -- 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] PopUpManager and DragManager problem
Hello everybody, In my application I want to drag an item from a datagrid and drop it into another datagrid inside a popup window. I got stuck with implementing it. The problem is when I move my popup, the datagrid inside doesn't dispatch dragEnter event anymore, but if I drag mouse to the area where popup appear (left top corner of the window) my datagrid dispatches the event even though it's floating in another side of the screen. May be I'm missing something, may be it's a beta bug, I don't now. Just wanted to see if anyone had the same problems and found a workaround for this. Dima __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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] Extending LineFormattedTarget
Hi, if you want to create your own formatted String then override the logEvent() method inside your LineFormattedTarget subclass and do whatever you want there. If you want to access the formatted String that got generated by LineFormattedTarget you'll have to override the internalLog() method. So inside you LineFormattedTarget subclass do: import mx.core.mx_internal; use namespace mx_internal; and then override mx_internal function internalLog(message:String):void { // message is the formatted String created by LineFormattedTarget trace(Original message: + message); } Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent: Thursday, April 27, 2006 12:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending LineFormattedTarget I'd like to create my own logging target by extending LineformattedTarget. I wonder how i can access the formatted string? Cheers, Ralf. . -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- 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.
[flexcoders] iteration::two namespace
I'm gathering all the public Caringorm examples I can for study, so I downloaded the BlogReader.zip from EverythingFlex.com and created a new project in F2B2. It's Cg.99 so the first thing it did was barf over the http://www.macromedia.com/2003/mxml mx namespace which I corrected with http://www.adobe.com/2006/mxml Then it fretted over not being able to resolve Link to a component implementation, so I changed it to LinkButton. Now that error is gone, but now it's complaining that it can't resolve cairngorm:ServiceLocator to a component implementation, apparently because of the http://www.iterationtwo.com/cairngorm namespace path in the Services.mxml file. Does this path need to be updated with something newer like the mx namespace path did, or are there darker things afoot here? Thanks, Darren -- 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.
[flexcoders] Help!
Hi all, I am making a page for my teamsite where i am sending the sql query in the URL. which returns an xml file. When i compile and run this code in Flex Builder 2.0 , It runs fine but when i take that swf file and run it seperately It gives the following errors. * Error: faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP' at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::MessageAgent/fault() at mx.messaging::Producer/fault() at ::DirectHTTPMessageResponder/securityErrorHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() what i need to do,to not to have this warning because after the warning it not fetches the data. The code snippet is mx:HTTPService id=xml url="" URL useProxy=false/ so can anybody suggest what i need to do ? Thanks Sachin Gaur -- 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.
[flexcoders] dataGridInstance.setVPosition(dataGridInstance.maxVPosition);
Hi All! When I use dataGridInstance.setVPosition(dataGridInstance.maxVPosition); dataGridInstance content is not scrolling to its maximum vertical position possible, but gap of 1 or 2 lines remains. Is there any way to fix it? I use DataGrid instance as a trace panel, so that when more and more items appear, I want the last one to be visible. Thank you in advance! Sergey. -- 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] Help needed
1) Is it sufficient to use Flex Builder without Flex Data Services forweb applications like E-commerce? Will there be a low cost version of FDS ?(If yes,is JMS possible with Flex builder.)yes, FDS is just one of the means that you can use to communicate with the server, others include http service, remote object or simply using NetConnection and AMF. 2) Which database would you recommend for this Flex developmentenvironment? this doesn't really matters, our team use php/java and mysql all the time. 3) Which technology is suitable for business layer(Java or .NET )I don't really think there's certain technology *more* suitable for Flex, because it works with every technology as the backend. choosing a right communication strategy might be more important.http service, remote object (aka flash remoting) and web service are the most popular ways to communicate with app server, and they work with virtually every major server-side technology, so you don't really have to use JSP. -- 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] Flex2: getters, setters and function literals
Hi all, I can dynamically add a property with: this.[prop1] = 3; I can dynamically add a function with: this.[getProp1] = function():int { return 3 } How do I dynamically add a getter/setter? Is it possible in AS3? What I'd like is a way to dynamically do the following: private var _prop1:int; public function get prop1():int { return _prop1 } public function set prop1(value:int):void { _prop1 = value } Thanks, Dion. -- 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] Flex Builder 2.0 beta 2 with SVN?
have you tried subclipse ?http://subclipse.tigris.org/On 4/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Flexers, In Flex Builder 2.0 , for team synchronization, I can add an CVS repository i.e. I can configure my project resources within Flex IDE to CVS and thus team can further work in sync as per help comments. Is it possible to bind/configure/use Flex Builder 2.0 with Tortoise SVN repository? This is quite important for me in the organization to decide whether to choose SVN or not. Seek your help here. Regards, Meenakshi Makker Live as if you will die tomorrow, and learn as if you will live for ever. —Mahatma Gandhi -- 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 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] Extending LineFormattedTarget
Works like a charm, thanks Dirk. On 4/27/06, Dirk Eismann [EMAIL PROTECTED] wrote: Hi,if you want to create your own formatted String then override thelogEvent() method inside your LineFormattedTarget subclass and do whatever you want there.If you want to access the formatted String that got generated byLineFormattedTarget you'll have to override the internalLog() method. Soinside you LineFormattedTarget subclass do: import mx.core.mx_internal;use namespace mx_internal;and thenoverride mx_internal function internalLog(message:String):void{// message is the formatted String created by LineFormattedTarget trace(Original message: + message);}Dirk.From: flexcoders@yahoogroups.com[mailto: flexcoders@yahoogroups.com] On Behalf Of Ralf BokelbergSent: Thursday, April 27, 2006 12:07 PMTo: flexcoders@yahoogroups.com Subject: [flexcoders] Extending LineFormattedTargetI'd like to create my own logging target by extendingLineformattedTarget.I wonder how i can access the formatted string? Cheers,Ralf. .--Flexcoders Mailing ListFAQ:http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKSWeb site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer softwaredevelopment http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design anddevelopmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development bestpractice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwYAHOO! GROUPS LINKS*Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web.*To unsubscribe from this group, send an email to: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]?subject=Unsubscribe *Your use of Yahoo! Groups is subject to the Yahoo!Terms of Service http://docs.yahoo.com/info/terms/ . --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders 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] Re: How to subclass a singleton class ---- cairngorm issue --- Please help!!
Hi Larry; When you create an mxml file you really are creating a subclass. The mxml is converted to AS before compiling. If you tell the compiler to keep generated files, you can see exactly what this looks like, and convince yourself that it's true. I think what happens with ServiceLocator is this: you create an instance of your subclass of ServiceLocator (call it MyLocator) as a child of your application. When the application is instantiated, the Flex framework creates an instance of MyLocator by invoking its constructor. Since MyLocator does not define a constructor, the constructor of its superclass, ServiceLocator, is invoked. If you look at ServiceLocator's constructor, you'll see that it assigns 'this' to the class member serviceLocator. The important thing to realize here is that 'this' is an instance of MyLocator, not ServiceLocator. So, subsequent calls to ServiceLocator.getInstance() returns an instance of MyLocator. Some fancy footwork here, to be sure. Tobias. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry Liang Sent: Thursday, April 27, 2006 5:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to subclass a singleton class cairngorm issue --- Please help!! Thanks a lot michael. A step by step example would be extremely helpful. I'm sure it will help me clarify a few things. Please email the code to this email address: [EMAIL PROTECTED] I re-think about the whole issue again and guess the thing that I would like to figure out here is what exactly happens in flex when you do this: cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/ mxml xmlns:cairngorm=org.nevis.cairngorm.business.* mx:RemoteObject id=customerDelegate source=org.nevis. cairngorm.samples.login.LoginDelegate result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) /mx:RemoteObject /cairngorm:ServiceLocator This is the way that you subclass a class in flex. but does flex really create a class that inherits from ServiceLocator class or does it create something else which somehow copies the code from ServiceLocator class and create a new class with a property of RemoteObject ? if it is really subclassing, then in your code, when you do public function CustomerListDelegate ( responder : Responder ) { this.service = ServiceLocator.getInstance().getService( roCustList); this.responder = responder; } ServiceLocator.getInstance() should return a reference to the parent class, not child class. Then how can you use getService() function to return a reference to the remoting object? the Parent class ServiceLocator defined in cairngorm does not have a property of RemoteObject. It's the child class that we created using MXML has a property of remoteObject. I'm sorry for making this confusing and complicated. I just want to know how the framework really works. Thanks for the help again, Larry --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Are you creating a business delegate class to handle the service call? In the cairngorm framework, the actual work of getting the remoteObject and making a request is inside a delegate. Consider, for example a remoteObject service which returns a list of customers with the id: roCustList. Create a business delegate class called 'CustomerListDelegate' having this function: public function CustomerListDelegate ( responder : Responder ) { this.service = ServiceLocator.getInstance().getService( roCustList); this.responder = responder; } the call is made here: public function getCustList(): void { var call : Object = service.getCustList(); call.resultHandler = responder.onResult; call.faultHandler = responder.onFault; } Obviously there is much more to creating a successful request/ response to a service call than this. You have to create a cairngorm event and dispatch that event with is handled in a command class that places the result in a model. I can send you a step-by-step bare bones example of all the required steps if you think you might benefit. I don't mind admitting that I found it a bit bewildering at first, but when you get the hang of it, it is a great framework. Larry Liang To: flexcoders@ yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: [ flexcoders] How to subclass a singleton class flexcoders@yahoogroups.com cairngorm issue -- - Please help!! 04/27/2006 12:36 AM Please respond to flexcoders I'm new to Flex and have been spending a lot of time trying to figure out how is part of cairngorm framework works. Please help. Cairngorm uses singleton pattern to ensure that there is only one instance of a class running for each app. For example, the ServiceLocator class use a static method to return the instance reference to you. public static function getInstance() : ServiceLocator { if (
[flexcoders] Re: AS3 API generation
If you're talking about generating the ActionScript 3 classes from Java classes then XDoclet (http://xdoclet.codehaus.org/Actionscript+plugin) is a good tool. I had to change the templates and I tweaked the code to allow custom data type mappings to be loaded from properties files, but a good tool to start with. -Steven --- In flexcoders@yahoogroups.com, deepu_verma [EMAIL PROTECTED] wrote: Is there any application that is updated to generate the AS3 doc? (AS3 API for my classes) Thanks, Deepak -- 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] Re: Problem with Firefox and Flex 2 apps?
Probably the number is correct. I'm guessing the Flash player activex control for 8.5 is installed, but the plugin player 8.5 for firefox is not.On 4/27/06, billlane1962 [EMAIL PROTECTED] wrote: Actually I don't think that number is correct. That came from the Flash Player download page. Actual version is 8,5,0,246. Bill --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: That's not the 8.5 version number if you see 8,0,24,0. It should be 8,5,0,242 I think. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of billlane1962 Sent: Wednesday, April 26, 2006 4:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with Firefox and Flex 2 apps? I was just trying out the Connect 4 app that is currently showcased in Labs (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html ). This works great in IE. But when I run this in Firefox (1.5.0.2 Plugin : 8,0,24,0) I get the default Flex background and nothing else. I right-click and select play and the app starts. But it runs very slowly and after a few moves Firefox stops responding. This has been happening to me regularly since installing Flex 2 Beta 2. Is anyone else having the same problem? -- 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 . -- 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: Problem with Firefox and Flex 2 apps?
246 is probably correct, I was just going off the top of my head. 8,0 is the important part thats wrong J Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Fuller Sent: Thursday, April 27, 2006 8:35 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Problem with Firefox and Flex 2 apps? Probably the number is correct. I'm guessing the Flash player activex control for 8.5 is installed, but the plugin player 8.5 for firefox is not. On 4/27/06, billlane1962 [EMAIL PROTECTED] wrote: Actually I don't think that number is correct. That came from the Flash Player download page. Actual version is 8,5,0,246. Bill --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: That's not the 8.5 version number if you see 8,0,24,0. It should be 8,5,0,242 I think. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of billlane1962 Sent: Wednesday, April 26, 2006 4:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with Firefox and Flex 2 apps? I was just trying out the Connect 4 app that is currently showcased in Labs (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html ). This works great in IE. But when I run this in Firefox (1.5.0.2 Plugin : 8,0,24,0) I get the default Flex background and nothing else. I right-click and select play and the app starts. But it runs very slowly and after a few moves Firefox stops responding. This has been happening to me regularly since installing Flex 2 Beta 2. Is anyone else having the same problem? -- 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 . -- 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.
[flexcoders] Re: F1.5: How to set dataprovider for Repeater-generated grids?
Hi Tom, If your repeated data is dynamic, you can reset your repeater by just updating the repeaterData variable. To see what I mean, change the repeaterData declaration to repeaterData: Array = [] and add the following button to the control bar in the code I posted. mx:Button label=Add a new grid click=repeaterData = repeaterData.concat([{}]);/ This is the beauty of data binding - just update your bound variable and you're good to go. To update any other bound variable, even something like repeaterData[i].dp, the process is the same. The syntax for your RO result example would be: repeaterData[i].dp = thisROResultItemsArray; You'll have to do some state management to know what the value of i should be for results returned from any particular RO method call, or you could reorganize your RO methods to return all the data at once (the repeated data, i.e. the number of datagrids, as well as the contents of each grid to use as the grid's dataprovider). Also, be aware that RemoteObject calls return data asynchronously; you'll usually need to specify a result handler function for each method, which will get called once results are returned from a method call in another function. Something to watch out for is the difference between the Array class and the DataProvider class. You can use Arrays as DataProvders, but not all Array methods will cause binding events to fire. Check out the DataProvider class in the docs. --- In flexcoders@yahoogroups.com, Tom Sammons [EMAIL PROTECTED] wrote: Thanks for the quick reply Doug, that is great and all makes sense and I can see what's going on. I can make it work with a little manipulation of the inner RO calls by using for loops. And had I thought about it more, you are right that event.dragSource et al would have all the information I needed, so that part really should be simple enough to implement. But could you explain how I would initialize the repeaterData array if the number of elements is dynamic, i.e., returned from a query such as what I am trying to do? That would be this line: var repeaterData: Array = [ {}, {}, {} ]; to set the Array elements from RO.results without hardcoding the size of the array. And actually/ideally, I would want to make this a component at some point, so how would I make this line of AS: repeaterData[i].dp = [{Number: n++}, {Number: n++}, {Number: n++}]; populate itself from a second RO query recordset where I wouldn't necessarily know what the column names are? Something like: var thisROResultItemsArray:Array = RO2.result._items; //since _items is already an array repeaterData[i].dp = [{thisROResultItemsArray}]; Excuse me if I'm being dense or am missing something completely obvious. I'm betting that F2 is a lot easier with this, but it will really help to get this into my noggin now. Thanks again! Tom Doug Lowder wrote: Hi Tom, Hopefully the sample code below will be enough to get you started. Once the repeated grids have had their dataproviders bound to an array, all you need to do is reassign another array to update the grid just as the Update grids button in the sample does. The sample accomplishes this reassignment with the Array.slice() method. You could also use the various grid and dataprovider methods (addItem (), replaceItem(), editField(), etc) to make changes on a row-by-row basis. You should be able to use a remote object result handler in place of the button's click handler to update the dataprovider arrays. I'll leave the drag-and-drop portion to you, but essentially I believe everything you require should be in the event parameter: event.target, event.dragSource, etc. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml width=100% mx:Script ![CDATA[ var repeaterData: Array = [ {}, {}, {} ]; function updateData() : Void { var n: Number = 0; for (var i = 0; i repeaterData.length; i++) { var dp: Array = repeaterData[i].dp; if (dp == undefined) { repeaterData[i].dp = [{Number: n++}, {Number: n++}, {Number: n++}]; } else { for (var j = 0; j dp.length; j++) { dp[j].Number++; } repeaterData[i].dp = dp.slice(); } } } ]] /mx:Script mx:Panel title=Repeated Data Grids width=80% mx:HBox width=100% mx:Repeater id=rp dataProvider={repeaterData} mx:DataGrid dataProvider={rp.currentItem.dp} width=100%/ /mx:Repeater /mx:HBox mx:ControlBar mx:Button label=Update grids click=updateData ()/ /mx:ControlBar /mx:Panel /mx:Application --- In flexcoders@yahoogroups.com, Tom Sammons tsammons@ wrote: Hi all, Long time viewer, first time caller... [never mind, it's a pittsburgh thing] What I'm trying to accomplish is to populate a regular datagrid with records representing unassigned requests, and then use a repeater to display grids of
[flexcoders] 1st May Sydney Developers study group
Monday 1st May is the next meeting of the study group. We will be studying Flex MXML. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- 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] Full Screen Flex App
I was just wondering if anyone had a few tips on making a flex app fullscreen (that is when the swf is run directly without a browser).Ive tried this under the Application tag:fscommand(fullscreen,true); When the application is initially loaded it isnt full screen, but if you click on a menu item, it becomes so.Basically what Im saying is that fscommand fullscreen works, but not on the initial load.Is there a way of doing this?Thanks in advanceAlex -- 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.
[flexcoders] TitleWindow - htmlText does not render
I am trying to produce a pop-up window (TitleWindow) that contains HTML formatted text. The simple example below produces no output (blank). It appears that HTML is not supported in TitleWindow, although I see no mention of this. Does anyone know if HTML is supported in TitleWindow, or am I doing something wrong? Thanks. ?xml version=1.0? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml mx:Text width=80% fontWeight=bold htmlText=This is html text /mx:TitleWindow -- 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.
[flexcoders] Re: iteration::two namespace
There is a Cairngorm 2 beta version for the Flex 2 Beta 2+ out there. Look over the list for the link. Renaun --- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: I'm gathering all the public Caringorm examples I can for study, so I downloaded the BlogReader.zip from EverythingFlex.com and created a new project in F2B2. It's Cg.99 so the first thing it did was barf over the http://www.macromedia.com/2003/mxml mx namespace which I corrected with http://www.adobe.com/2006/mxml Then it fretted over not being able to resolve Link to a component implementation, so I changed it to LinkButton. Now that error is gone, but now it's complaining that it can't resolve cairngorm:ServiceLocator to a component implementation, apparently because of the http://www.iterationtwo.com/cairngorm namespace path in the Services.mxml file. Does this path need to be updated with something newer like the mx namespace path did, or are there darker things afoot here? Thanks, Darren -- 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.
[flexcoders] F2B2 States: How to clear/remove a style set in a state
Hi all, For simplification, let's say I have an app with two states as follows: mx:states mx:State name=LEFT mx:SetStyle target={PREVIEW} name=left value=0/ mx:SetStyle target={PREVIEW} name=right/ /mx:State mx:State name=RIGHT mx:SetStyle target={PREVIEW} name=left/ mx:SetStyle target={PREVIEW} name=right value=0/ /mx:State /mx:states mx:Canvas id=PREVIEWHOLDER includeInLayout=false x=20 y=20 width=1000 height=1000 mx:Canvas id=PREVIEW mx:Image id=previewImg /mx:Image /mx:Canvas /mx:Canvas The idea is that in state LEFT, PREVIEW anchors to the left of it's parent container PREVIEWHOLDER, and state RIGHT anchors it to the right edge of PREVIEWHOLDER. PREVIEW is always smaller than its parent, but its size changes as it is being populated with content. (mostly determined by the size of the image loaded into previewImg) What actually happens is that whichever state is used first works fine, but when I switch to the other state, PREVIEW is anchored to both sides of its parent, making it 1000px wide regardless of what's inside it. My real app actually has 4 states, but the idea is the same. This code: mx:SetStyle target={PREVIEW} name=right/ (without any value attribute) was generated by FlexBuilder when I cleared the right anchor in design view, and it doesn't work. It also doesn't work by setting the value attribute to any of , {null}, or {undefined}. Leaving the tag out altogether also doesn't work. How do I create a state that says DON'T anchor to the right anymore. Thanks! Rick Englert -- 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.
[flexcoders] FES-B2 - Memory leaking concern
I start playing with FES Beta 2 version and realized that if I left my computer on for a day or so with the flex app running the computer will eventually run out of RAM and a low virtual memory warning will show.I know that there are few docs that tells how the player works and I was wondering if this is an issue with the FlashPlayer 8.5 or are some issues with the Flex Framework that will be addressed at a latter time.Best regards,Valy How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. -- 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] TitleWindow - htmlText does not render
Your example works fine for me in F2B2... except I had to close the Text tag with an ending / Darren From: marksdean2000 [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow - htmlText does not render Date: Thu, 27 Apr 2006 15:53:14 - I am trying to produce a pop-up window (TitleWindow) that contains HTML formatted text. The simple example below produces no output (blank). It appears that HTML is not supported in TitleWindow, although I see no mention of this. Does anyone know if HTML is supported in TitleWindow, or am I doing something wrong? Thanks. ?xml version=1.0? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml mx:Text width=80% fontWeight=bold htmlText=This is html text /mx:TitleWindow -- 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: iteration::two namespace
Not sure what the differences are but Im using cairngorm 2 and my name space reads xmlns:cairngorm=org.nevis.cairngorm.business.* which is defined in a class path setting in my project. I havent used .99 so I cant guarantee its the same. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Thursday, April 27, 2006 12:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: iteration::two namespace There is a Cairngorm 2 beta version for the Flex 2 Beta 2+ out there. Look over the list for the link. Renaun --- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: I'm gathering all the public Caringorm examples I can for study, so I downloaded the BlogReader.zip from EverythingFlex.com and created a new project in F2B2. It's Cg.99 so the first thing it did was barf over the http://www.macromedia.com/2003/mxml mx namespace which I corrected with http://www.adobe.com/2006/mxml Then it fretted over not being able to resolve Link to a component implementation, so I changed it to LinkButton. Now that error is gone, but now it's complaining that it can't resolve cairngorm:ServiceLocator to a component implementation, apparently because of the http://www.iterationtwo.com/cairngorm namespace path in the Services.mxml file. Does this path need to be updated with something newer like the mx namespace path did, or are there darker things afoot here? Thanks, Darren -- 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: F1.5: How to set dataprovider for Repeater-generated grids?
I was looking all over the place for an array append type of method, but did you think I'd put in concatenate? Noo. And I was staring right at the Flex AS array doc. Doh. Well, I wouldn't have thought of or known to just add [{}] to it anyway... I don't think I'll have any problem with the state management, although I do see that the ROs for the repeater grid data does get bundled together the way I have it now. I'll just pass the index along with the calls and use the result handler to capture that on return. Was I correct about referencing _items (var thisROResultItemsArray:Array = RO2.result._items; repeaterData[i].dp = thisROResultItemsArray;) or would just .result be sufficient? (I guess I check that on my own; it's bring your kids to work day here and it's a little...disruptive to my concentration |:-) I thought about passing everything back with the original repeater dp data call, but to be perfectly honest, I was really hoping that it wouldn't come to that. I have a couple of project deadlines coming up that are largely dull in terms of creativity requirements, and I've been putting off those a little bit to have some fun with this. Thanks once more, Doug, and have a great day! Tom Doug Lowder wrote: Hi Tom, If your repeated data is dynamic, you can reset your repeater by just updating the repeaterData variable. To see what I mean, change the repeaterData declaration to repeaterData: Array = [] and add the following button to the control bar in the code I posted. mx:Button label=Add a new grid click=repeaterData = repeaterData.concat([{}]);/ This is the beauty of data binding - just update your bound variable and you're good to go. To update any other bound variable, even something like repeaterData[i].dp, the process is the same. The syntax for your RO result example would be: repeaterData[i].dp = thisROResultItemsArray; You'll have to do some state management to know what the value of i should be for results returned from any particular RO method call, or you could reorganize your RO methods to return all the data at once (the repeated data, i.e. the number of datagrids, as well as the contents of each grid to use as the grid's dataprovider). Also, be aware that RemoteObject calls return data asynchronously; you'll usually need to specify a result handler function for each method, which will get called once results are returned from a method call in another function. Something to watch out for is the difference between the Array class and the DataProvider class. You can use Arrays as DataProvders, but not all Array methods will cause binding events to fire. Check out the DataProvider class in the docs. --- In flexcoders@yahoogroups.com, Tom Sammons [EMAIL PROTECTED] wrote: Thanks for the quick reply Doug, that is great and all makes sense and I can see what's going on. I can make it work with a little manipulation of the inner RO calls by using for loops. And had I thought about it more, you are right that event.dragSource et al would have all the information I needed, so that part really should be simple enough to implement. But could you explain how I would initialize the repeaterData array if the number of elements is dynamic, i.e., returned from a query such as what I am trying to do? That would be this line: var repeaterData: Array = [ {}, {}, {} ]; to set the Array elements from RO.results without hardcoding the size of the array. And actually/ideally, I would want to make this a component at some point, so how would I make this line of AS: repeaterData[i].dp = [{Number: n++}, {Number: n++}, {Number: n++}]; populate itself from a second RO query recordset where I wouldn't necessarily know what the column names are? Something like: var thisROResultItemsArray:Array = RO2.result._items; //since _items is already an array repeaterData[i].dp = [{thisROResultItemsArray}]; Excuse me if I'm being dense or am missing something completely obvious. I'm betting that F2 is a lot easier with this, but it will really help to get this into my noggin now. Thanks again! Tom Doug Lowder wrote: Hi Tom, Hopefully the sample code below will be enough to get you started. Once the repeated grids have had their dataproviders bound to an array, all you need to do is reassign another array to update the grid just as the Update grids button in the sample does. The sample accomplishes this reassignment with the Array.slice() method. You could also use the various grid and dataprovider methods (addItem (), replaceItem(), editField(), etc) to make changes on a row-by-row basis. You should be able to use a remote object result handler in place of the button's click handler to update the dataprovider arrays. I'll leave the drag-and-drop portion to you, but essentially I believe everything you require
[flexcoders] Data service
How to fit in the data service component into Craingorm framework. I have added a getDataService method to the service locator. Am not able to get the sync result in the command -- 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] Re: iteration::two namespace
That is correct... in Cg2 they have created a local ServiceLocator where code physically resides in the Cg2 directory structure and the namespace URI becomes a classpath to find it. The only external namespace path remaining in Cg2 is http://www.adobe.com/2006/mxml I guess my question is this... did iteration:two remove some RDDL/Schema document from the http://www.iterationtwo.com/cairngorm URI which needs to be there for Cg.99 code to work? Or is there a file I can download from somewhere and install locally in F2B2, and maybe tell Builder to check locally if the remote URI fails? Darren From: Joe Ferraro [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: iteration::two namespace Date: Thu, 27 Apr 2006 12:52:11 -0500 Not sure what the differences are but I'm using cairngorm 2 and my name space reads xmlns:cairngorm=org.nevis.cairngorm.business.* which is defined in a class path setting in my project. I haven't used .99 so I can't guarantee it's the same. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson Sent: Thursday, April 27, 2006 12:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: iteration::two namespace There is a Cairngorm 2 beta version for the Flex 2 Beta 2+ out there. Look over the list for the link. Renaun --- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: I'm gathering all the public Caringorm examples I can for study, so I downloaded the BlogReader.zip from EverythingFlex.com and created a new project in F2B2. It's Cg.99 so the first thing it did was barf over the http://www.macromedia.com/2003/mxml mx namespace which I corrected with http://www.adobe.com/2006/mxml Then it fretted over not being able to resolve Link to a component implementation, so I changed it to LinkButton. Now that error is gone, but now it's complaining that it can't resolve cairngorm:ServiceLocator to a component implementation, apparently because of the http://www.iterationtwo.com/cairngorm namespace path in the Services.mxml file. Does this path need to be updated with something newer like the mx namespace path did, or are there darker things afoot here? Thanks, Darren -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- 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] CFLEX.Net - Welcomes Posters....
Greetings All! For years I've sought out ways to achieve RIAs combined with the reality of rapid development and high pressure deadlines. This became a reality for me when Flex was released, and I have been championing its cause ever since. Flex is near and dear to my heart, and more importantly so is the community. In my own little way to support the community I put together a sort of "Flex Cookbook" called CFLEX to aggregate all the little tidbits of knowledge that were floating around there. My goals are to increase the size of the community by lowering the barrier to entry; so however or wherever that knowledge lay, I've been either hosting it or just linking to it. The ultimate goal of course is to make it completely community driven. I've taken that one step further by putting in the extra time to make that happen. You can now log into www.cflex.net, and shortly after creating an account you'll have the ability to post content. So for those of you who do not have Blogs, you are welcome to share your knowledge at CFLEX. Those of you that do, and create a "here's how to..." posting, feel free to add link from CFLEX to that particular posting. It goes beyond postings of course. As portal of sorts I'd like to list your publicly available Flex Apps, Components, Job Postings, User Groups, Consulting companies that specialize in Flex, Training programs, other Flex knowledge sites like FlexCF.com, as well as the leading experts and their blogs. Suggestions are welcome! -- 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.
[flexcoders] Flex2B2 Cairngorm2 Web Services
Hi all, Does anyone have a simple cairngorm example that shows how to call a specific web services operation from a delegate. When I setup my ap, I tried to get this to work but gave up after way too much time was wasted tinkering and searching for an example. I'm currently using an AS class for the web services, but am running into one headache after another (mostly with parallel calls and event listeners). If anyone could help, I would greatly appreciate it. Thanks, Tim Hoff -- 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.
[flexcoders] Player Stack Traces and Mac for 8.5
I am doing some eval of Flex2 on both windows and mac clients to the app. I have noticed that on windows, when my application generates an exception in the player, I get a popup window with the statck trace. This works in both IE and Firefox. However, on Mac, I do not. In Safari or Firefox. This is only a mild annoyance for development, given that I have both platforms at my disposal, but will make supporting Mac clients in production very difficult as the users will not be able to send stack traces when they have issues. Does anyone know if there is a way to enable this on Mac? As an aside, this also means there are no stack traces in flex-unti if the test app is launched form Mac. -- 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] Re: F1.5: How to set dataprovider for Repeater-generated grids?
Hi Tom, Regarding the _items property of the RO result, I think that would depend on what the results from your remote object look like. The property name does look like an internal Flex varaible, though; did you originally get that from a code sample? I typically just set my data variable to the result property of the event (I like to pass the full event object) after running it through mx.utils.ArrayUtil.toArray() to make sure I've got an array and not a simple object: import mx.utils.ArrayUtil; function handleROResults(event: Object) : Void { myData = ArrayUtil.toArray(event.result); } --- In flexcoders@yahoogroups.com, Tom Sammons [EMAIL PROTECTED] wrote: I was looking all over the place for an array append type of method, but did you think I'd put in concatenate? Noo. And I was staring right at the Flex AS array doc. Doh. Well, I wouldn't have thought of or known to just add [{}] to it anyway... I don't think I'll have any problem with the state management, although I do see that the ROs for the repeater grid data does get bundled together the way I have it now. I'll just pass the index along with the calls and use the result handler to capture that on return. Was I correct about referencing _items (var thisROResultItemsArray:Array = RO2.result._items; repeaterData[i].dp = thisROResultItemsArray;) or would just .result be sufficient? (I guess I check that on my own; it's bring your kids to work day here and it's a little...disruptive to my concentration |:-) I thought about passing everything back with the original repeater dp data call, but to be perfectly honest, I was really hoping that it wouldn't come to that. I have a couple of project deadlines coming up that are largely dull in terms of creativity requirements, and I've been putting off those a little bit to have some fun with this. Thanks once more, Doug, and have a great day! Tom Doug Lowder wrote: Hi Tom, If your repeated data is dynamic, you can reset your repeater by just updating the repeaterData variable. To see what I mean, change the repeaterData declaration to repeaterData: Array = [] and add the following button to the control bar in the code I posted. mx:Button label=Add a new grid click=repeaterData = repeaterData.concat([{}]);/ This is the beauty of data binding - just update your bound variable and you're good to go. To update any other bound variable, even something like repeaterData[i].dp, the process is the same. The syntax for your RO result example would be: repeaterData[i].dp = thisROResultItemsArray; You'll have to do some state management to know what the value of i should be for results returned from any particular RO method call, or you could reorganize your RO methods to return all the data at once (the repeated data, i.e. the number of datagrids, as well as the contents of each grid to use as the grid's dataprovider). Also, be aware that RemoteObject calls return data asynchronously; you'll usually need to specify a result handler function for each method, which will get called once results are returned from a method call in another function. Something to watch out for is the difference between the Array class and the DataProvider class. You can use Arrays as DataProvders, but not all Array methods will cause binding events to fire. Check out the DataProvider class in the docs. --- In flexcoders@yahoogroups.com, Tom Sammons tsammons@ wrote: Thanks for the quick reply Doug, that is great and all makes sense and I can see what's going on. I can make it work with a little manipulation of the inner RO calls by using for loops. And had I thought about it more, you are right that event.dragSource et al would have all the information I needed, so that part really should be simple enough to implement. But could you explain how I would initialize the repeaterData array if the number of elements is dynamic, i.e., returned from a query such as what I am trying to do? That would be this line: var repeaterData: Array = [ {}, {}, {} ]; to set the Array elements from RO.results without hardcoding the size of the array. And actually/ideally, I would want to make this a component at some point, so how would I make this line of AS: repeaterData[i].dp = [{Number: n++}, {Number: n++}, {Number: n++}]; populate itself from a second RO query recordset where I wouldn't necessarily know what the column names are? Something like: var thisROResultItemsArray:Array = RO2.result._items; //since _items is already an array repeaterData[i].dp = [{thisROResultItemsArray}]; Excuse me if I'm being dense or am missing something completely obvious. I'm betting that F2 is a lot easier with this, but it will really
[flexcoders] Cairngorm 2.0 Alpha
I was reading the article whats new and changed in cairngorm 2.0 alpha http://www.richinternetapps.com/archives/000144.html and have a question about the following paragraph at the end of the document. In Cairngorm 0.95, for historical reasons we have to scratch the insides of our heads to remember, Commands are stateful. We don't like this, we've had to work around it on projects of our own, BUT, we have a responsibility to not make changes to Cairngorm that could impact upon all your developments. So if you're relying upon the statefulness as a side-effect, then be warned that in a future Cairngorm 2.0 alpha we're going to make Commands truly stateless - as they should be - so that they don't persist data between invocations. If you require state to be maintained between executions, you'll have to manage that explicitly - as you should have been doing anyway ! Does anybody have any ideas if can we expect the commands to not be stateful in Cairngorm 2.0. I have recently run into problems with the stateful commands in .99 that I am trying to solve. Also any thoughts on possible solutions would be much appreciated. Josh -- 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.
[flexcoders] Help with a Bug
I am working on my app, and I was creating a link to my webservice, when I came across this. I am not sure if it is a bug or something wrong with my code. The webservice I am using, is coded exactly the same way all my other working webservices are coded. Anyone else have this issue. Here is my error: Severity Description Resource In Folder Location Creation Time Id 2 Encountered mx:WebService at line 5, column 2. Was expecting one of: Style ... Script ... Metadata ... Effect ... Model ... XML ... Array ... Binding ... String ... Number ... Boolean ... Class ... Function ... Component ... Non-MXML language element ... Non-MXML language element ... CDATA ... agentUserList.mxml hs2f/custom/components/company line 5 April 27, 2006 1:43:39 PM 15260 Here is my code: ?xml version=1.0 encoding=utf-8? mx:Canvas width=100% height=100% xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* mx:Panel x=0 title= y=0 width=100% height=100% mx:Script source=as/agentUserList.as / mx:WebService id=DisplayAgentMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminAgent.cfc?wsdl showBusyCursor=true mx:operation name=searchAgentQry result=DisplayAgentModsearchAgentQryResult( DisplayAgentMod.searchAgentQry.result ) fault=DisplayAgentModsearchAgentQryFault( event ) / /mx:WebService mx:Canvas width=100% height=100% id=canvas1 mx:DataGrid x=140 y=71 id=agentDG height=80% width=100% mx:columns mx:DataGridColumn headerText=Agent Name dataField=col1/ mx:DataGridColumn headerText=Agent Email dataField=col2/ mx:DataGridColumn headerText=Agent Id dataField=col3/ /mx:columns /mx:DataGrid mx:LinkButton x=6 y=70 label=Add Agent/ mx:LinkButton x=6 y=93 label=Delete Agent/ mx:LinkButton x=6 y=118 label=Exit/ mx:TextInput x=140 y=22/ mx:Button x=308 y=22 label=Search/ /mx:Canvas mx:ApplicationControlBar x=0 width=100% height=35 mx:Button label=Save/ mx:Button label=Reset/ /mx:ApplicationControlBar /mx:Panel /mx:Canvas -- 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] Full Screen Flex App
Alex MacCaw wrote: I was just wondering if anyone had a few tips on making a flex app fullscreen (that is when the swf is run directly without a browser). I’ve tried this under the Application tag: fscommand(fullscreen,true); When the application is initially loaded it isn’t full screen, but if you click on a menu item, it becomes so. Basically what I’m saying is that fscommand fullscreen works, but not on the initial load. Is there a way of doing this? Thanks in advance Alex -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. try puttin fscommand under initlize or creationcomplete -- 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] Flex2: getters, setters and function literals
Sorry, you can't dynamically add a getter/setter in AS3. In general, we recommend using non-dynamic classes when possible because they have better performance. What's your use case for wanting dynamic addition of getter/setters? - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dion Mendel Sent: Thursday, April 27, 2006 1:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2: getters, setters and function literals Hi all, I can dynamically add a property with: this.[prop1] = 3; I can dynamically add a function with: this.[getProp1] = function():int { return 3 } How do I dynamically add a getter/setter? Is it possible in AS3? What I'd like is a way to dynamically do the following: private var _prop1:int; public function get prop1():int { return _prop1 } public function set prop1(value:int):void { _prop1 = value } Thanks, Dion. -- 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 2b2: Performance of XML api
Hello flexcoders; Has anyone else experienced terrible performance building nested XML trees? I wrote a test ActionScript app that builds a nested XML document with the structure: or t/ or t/ or t/ t/ /or /or I wrote two functions to generate the XML. One using recursion (ToDeepXML), and one using only iteration (ToDeepXMLNoRecurse). (I also wrote ToWideXML which builds a balanced tree). The timing results for 200 terms are as follows: ToWideXml 343 ms ToDeepXml 434213 ms ToDeepXmlNoRecurs 31 ms There is a performance penalty to paid for using recursion, but I dont think this could account for an exponential difference in performance, like what were seeing here. If XML object are represented internally as strings, then the performance difference could be explained by the fact that the recursive algorithm does insertions, while the non-recursive algorithm only ever appends. The insertions would involve a lot memory copying, which never helps performance. Heres the code I used for testing: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=OnCreationComplete() mx:Script ![CDATA[ import mx.utils.ObjectUtil; private function OnCreationComplete() : void { var a : Array = []; for( var i : uint = 0; i 200; i++ ) { a.push( uint( Math.random() * 1 ) ); } var b : Array = ObjectUtil.copy( a ) as Array; var c : Array = ObjectUtil.copy( a ) as Array Time( function() : void{ ToWideXml( a ) }, ToWideXml ); Time( function() : void{ ToDeepXml( b ) }, ToDeepXml ); Time( function() : void{ ToDeepXmlNoRecurs( c ) }, ToDeepXmlNoRecurs ); } private function ToDeepXml( a : Array ) : XML { if( a.length == 1 ) { return t{a[0]}/t; } var n : Number = Number( a.pop() ); return ort{n}/t{ToDeepXml( a )}/or; } private function ToDeepXmlNoRecurs( a : Array ) : XML { var result : XML = or/; var curNode: XML = result; for( var i : uint = 0; i a.length - 2; i++ ) { curNode.appendChild( t{a[ i ]}/t ); curNode.appendChild( or/ ); curNode = curNode.children()[ 1 ]; } curNode.appendChild( t{ a[ a.length - 1 ] }/t ); curNode.appendChild( t{ a[ a.length ] }/t ); return result; } private function ToWideXml( a : Array ) : XML { if( a.length == 1 ) { return t{a[0]}/t; } var a1 : Array = a.splice( 0, a.length / 2 ); return ort{ToWideXml( a1 )}/tt{ToWideXml( a )}/t/or; } private function Time( f : Function, msg : String = ) : void { var t : uint = new Date().time; f(); var t1 : uint = new Date().time; trace( msg, t1 - t, ms ); } ]] /mx:Script /mx:Application Kodak Graphic Communications Canada Company Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com -- 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] Missing option in Flex 2 Style Explorer
http://weblogs.macromedia.com/mc/archives/Flex2StyleExplorer/Flex2StyleExplorer.html Just noticed that there's an option missing in the "Bar" category for LinkBar. When you click on those links for the example, they never get actually selected. Difference between the explorer (clicking them doesn't change them): And a real application: Trying to figure out how to change the color of the MINE! Text (when it's selected) and I can't find the css property to change it. _ Jonathan Miranda Stealth Project Manager Sorry, it's a 'Need to Know' basis only. HealthGrades : Guiding America to Better Healthcare™ NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. View/post via a browser: http://lyris.macromedia.com/read/?forum=%%list.name%% Manage your account: http://lyris.macromedia.com/read/my_account/ View this discussion via a newsreader: news://lyris.macromedia.com This email transaction, and any documents, files, or previous email message attached to it, are confidential and proprietary information of Adobe Systems, Inc. -- 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] Populating inputs.
In the user edit section of my application. I have setup multiple tabs. Under the tabs there are text inputs components that I am trying to populate. The first tab populates just fine, it is the text inputs on other tabs that I cant get populated. I am using this function to populate my text inputs. The input I am having trouble with is parentApplication.editAgentUser.userSocial.text. Everything else populates fine. // EDIT AGENT RESULTS public function EditAgentPopModeditAgentDisplayQryResult ( result ){ parentApplication.editAgentUser.userID.text = result.id; parentApplication.editAgentUser.userPass.text = result.pass; parentApplication.editAgentUser.userFName.text = result.fname; parentApplication.editAgentUser.userLName.text = result.lname; parentApplication.editAgentUser.userAddress.text = result.address; parentApplication.editAgentUser.userCity.text = result.city; parentApplication.editAgentUser.userState.text = result.state; parentApplication.editAgentUser.userZip.text = result.zip; parentApplication.editAgentUser.userEmail.text = result.email; parentApplication.editAgentUser.userURL.text = result.url; parentApplication.editAgentUser.userHPhone.text = result.hphone; parentApplication.editAgentUser.userWPhone.text = result.wphone; parentApplication.editAgentUser.userMPhone.text = result.mphone; parentApplication.editAgentUser.userFax.text = result.fax; parentApplication.editAgentUser.userSocial.text = result.socialNum; for (var i = 0;i phoneDisplayDP.length; i++) { if (phoneDisplayDP[i].data == result.phoneDisplay) { parentApplication.editAgentUser.userPDisplay.selectedIndex = i; } } } -- 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] Re: Full Screen Flex App
run this command from DOS (you could make it a batch file too) iexplore -k http://yourdomain/myapp.mxml --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote: Alex MacCaw wrote: I was just wondering if anyone had a few tips on making a flex app fullscreen (that is when the swf is run directly without a browser). I've tried this under the Application tag: fscommand(fullscreen,true); When the application is initially loaded it isn't full screen, but if you click on a menu item, it becomes so. Basically what I'm saying is that fscommand fullscreen works, but not on the initial load. Is there a way of doing this? Thanks in advance Alex -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. try puttin fscommand under initlize or creationcomplete -- 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] List dataProvider issue (don't wanna say bug!!)
I broke this issue down to a VERY simple example and the problem is still there. When I create an ArrayCollection of items and assign it to the data provider of a List. The very first item in the list cannot be selected. Very Weird. If I change my collection of custom VO objects to generic {} type objects, it works fine. I've tried messing with the [Bindable] meta tag to no avail. Anyone come across anything like this?? I don't want to use generic objects as a work around. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=sampleData(); mx:Script ![CDATA[ import mx.collections.ArrayCollection; import org.ItemVO; [Bindable] private var items : ArrayCollection ; private function sampleData() { var item1 : ItemVO = new ItemVO(); var item2 : ItemVO = new ItemVO(); item1.name = item1 name; item1.type = one; item2.name = item2 name; item2.type = two; items = new ArrayCollection([item1,item2]); } ]] /mx:Script mx:Panel id=test title=Item Title mx:List id=columnList dataProvider={items} labelField=name/ /mx:Panel /mx:Application the ItemVO class.. -- package org { //I have the same effect whether [Bindable] is here or not public class ItemVO { public var name : String; public var type : String; } } -- 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] List dataProvider issue (don't wanna say bug!!)
Make ItemVO implement IUID. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] List dataProvider issue (don't wanna say bug!!) I broke this issue down to a VERY simple example and the problem is still there. When I create an ArrayCollection of items and assign it to the data provider of a List. The very first item in the list cannot be selected. Very Weird. If I change my collection of custom VO objects to generic {} type objects, it works fine. I've tried messing with the [Bindable] meta tag to no avail. Anyone come across anything like this?? I don't want to use generic objects as a work around. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=sampleData(); mx:Script ![CDATA[ import mx.collections.ArrayCollection; import org.ItemVO; [Bindable] private var items : ArrayCollection ; private function sampleData() { var item1 : ItemVO = new ItemVO(); var item2 : ItemVO = new ItemVO(); item1.name = item1 name; item1.type = one; item2.name = item2 name; item2.type = two; items = new ArrayCollection([item1,item2]); } ]] /mx:Script mx:Panel id=test title=Item Title mx:List id=columnList dataProvider={items} labelField=name/ /mx:Panel /mx:Application the ItemVO class.. -- package org { //I have the same effect whether [Bindable] is here or not public class ItemVO { public var name : String; public var type : String; } } -- 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] Re: List dataProvider issue
Thanks Gordon. Changing the class to dynamic also fixed it per a blog i found from your help. http://www.simb.net/blog/index.cfm/2006/4/19/Using-Flex-2-List-Controls-with-ColdFusion-Components --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Make ItemVO implement IUID. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] List dataProvider issue (don't wanna say bug!!) I broke this issue down to a VERY simple example and the problem is still there. When I create an ArrayCollection of items and assign it to the data provider of a List. The very first item in the list cannot be selected. Very Weird. If I change my collection of custom VO objects to generic {} type objects, it works fine. I've tried messing with the [Bindable] meta tag to no avail. Anyone come across anything like this?? I don't want to use generic objects as a work around. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=sampleData(); mx:Script ![CDATA[ import mx.collections.ArrayCollection; import org.ItemVO; [Bindable] private var items : ArrayCollection ; private function sampleData() { var item1 : ItemVO = new ItemVO(); var item2 : ItemVO = new ItemVO(); item1.name = item1 name; item1.type = one; item2.name = item2 name; item2.type = two; items = new ArrayCollection([item1,item2]); } ]] /mx:Script mx:Panel id=test title=Item Title mx:List id=columnList dataProvider={items} labelField=name/ /mx:Panel /mx:Application the ItemVO class.. -- package org { //I have the same effect whether [Bindable] is here or not public class ItemVO { public var name : String; public var type : String; } } -- 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: List dataProvider issue
OK, but we recommend implementing IUID because non-dynamic objects are larger and slower than dynamic ones. It could be as simple as public class ItemVO { public var name : String; public var type : String; public function get uid():String { return name; } public function set uid(value:String):void { name = value; } } if the name field uniquely identifies an item. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 6:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: List dataProvider issue Thanks Gordon. Changing the class to dynamic also fixed it per a blog i found from your help. http://www.simb.net/blog/index.cfm/2006/4/19/Using-Flex-2-List-Controls- with-ColdFusion-Components --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Make ItemVO implement IUID. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] List dataProvider issue (don't wanna say bug!!) I broke this issue down to a VERY simple example and the problem is still there. When I create an ArrayCollection of items and assign it to the data provider of a List. The very first item in the list cannot be selected. Very Weird. If I change my collection of custom VO objects to generic {} type objects, it works fine. I've tried messing with the [Bindable] meta tag to no avail. Anyone come across anything like this?? I don't want to use generic objects as a work around. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=sampleData(); mx:Script ![CDATA[ import mx.collections.ArrayCollection; import org.ItemVO; [Bindable] private var items : ArrayCollection ; private function sampleData() { var item1 : ItemVO = new ItemVO(); var item2 : ItemVO = new ItemVO(); item1.name = item1 name; item1.type = one; item2.name = item2 name; item2.type = two; items = new ArrayCollection([item1,item2]); } ]] /mx:Script mx:Panel id=test title=Item Title mx:List id=columnList dataProvider={items} labelField=name/ /mx:Panel /mx:Application the ItemVO class.. -- package org { //I have the same effect whether [Bindable] is here or not public class ItemVO { public var name : String; public var type : String; } } -- 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 group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Building a complex chat application on Fx2 FDS
Hi all, How would you go about building a chat application with Flex2 Flex Data Services. - Multiple users - 1to1, many to many - Java Backend - Needs to keep track of connected users ( and a reference to them ) - Server to Client invocation of custom methods Using RPC services gives me a Client to Server call sequence, but not the opposite. Plus, it does not allow me to keep a reference ( in a stateful server side application ) to the client connections. Using messaging... well, I have push. but... what else? Basically, I need something analog to the functionality that I would find in these FMS2 features: - application.onConnect() - application.onDisconnect() - client.call() - Remote SharedObjects - the ability to keep a reference ( Client Object ) to all connected clients But with the robustness and extensibility of a Java App ( a la Red5, but Today ) Can this be done??? approaches? We also have a license of FMS2, but I only want to use it for streaming media, as AS1 is not an allowed development language in my customer's infrastructure and is difficult to interface with other things ( namely Avaya Comm Manager and LDAP ). Of course we could use webservices to talk to a Java app, but that's too much overhead. I once found a FCS to Java connector, somewhere.. but seems like beta code. Not acceptable either. ( is there a production release of this connector ? ). Thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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] Data Mapping problem
Hi,I have a an ActionScript class Doctor.as as follows,package samples{[Bindable][RemoteClass(alias="samples.ht.base.Doctor")]dynamic public class Doctor{ public var firstName:String; public var lastName:String; public var phoneNumber:String;}}The corresponding Java class Doctor.java is,package samples.ht.base ;public class Doctor { String firstName; String lastName; String phoneNumber; public Doctor(String fname, String lname, String phoneNum){ firstName = fname; lastName = lname; phoneNumber = phoneNum; }}I make a RemoteObject method call which returns a Doctor. In my method which handles the result, I have, [Bindable] public var tmpDoctor:Doctor ;private function getNameHandler(event:ResultEvent):void {tmpDoctor = (samples.Doctor)event.result ; ..If I don't have the dynamic keyword in Doctor.as, I get an Exception from Flash which says,ReferenceError: Error #1056: Cannot create property _phone_number on samples.DoctorReading about Error 1056 implied that I had to make the Doctor class(in Actionscript) dynamic. What is happening now is that, I am getting control in getNameHandler method after the remote method is executed but after the line in blue is executed, tmpDoctor is null. By looking at event.result from the debugger I can see the following,result = samples.Doctor (@550cb26) firstName = null _firstName = "Michael" lastName = null _lastName = "Schumacher" phoneNumber = null _phone_number = "100"Why is casting not working properly ? I had expected that tmpDoctor would have its fields properly populated. Why is that not happening what is the way to access the results returned in the fields starting with underscores ? I am sorry in advance as I have just started learning Actionscript.Thanks,Aejaz -- 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] Populating inputs.
Just by looking at your naming conventions, I'd say double check you have the names right.According to what you have for the other properties, that line should read:parentApplication.editAgentUser.userSocial.text = result.social;but you have it as:parentApplication.editAgentUser.userSocial.text = result.socialNum; With the extra word Num on the social property. Are you sure it's not result.social?-TomOn 4/27/06, Jeremy Rottman [EMAIL PROTECTED] wrote: In the user edit section of my application. I have setup multiple tabs. Under the tabs there are text inputs components that I am trying to populate. The first tab populates just fine, it is the text inputs on other tabs that I cant get populated. I am using this function to populate my text inputs. The input I am having trouble with is parentApplication.editAgentUser.userSocial.text. Everything else populates fine. // EDIT AGENT RESULTS public function EditAgentPopModeditAgentDisplayQryResult ( result ){ parentApplication.editAgentUser.userID.text = result.id; parentApplication.editAgentUser.userPass.text = result.pass; parentApplication.editAgentUser.userFName.text = result.fname; parentApplication.editAgentUser.userLName.text = result.lname; parentApplication.editAgentUser.userAddress.text = result.address; parentApplication.editAgentUser.userCity.text = result.city; parentApplication.editAgentUser.userState.text = result.state; parentApplication.editAgentUser.userZip.text = result.zip; parentApplication.editAgentUser.userEmail.text = result.email; parentApplication.editAgentUser.userURL.text = result.url; parentApplication.editAgentUser.userHPhone.text = result.hphone; parentApplication.editAgentUser.userWPhone.text = result.wphone; parentApplication.editAgentUser.userMPhone.text = result.mphone; parentApplication.editAgentUser.userFax.text = result.fax; parentApplication.editAgentUser.userSocial.text = result.socialNum; for (var i = 0;i phoneDisplayDP.length; i++) { if (phoneDisplayDP[i].data == result.phoneDisplay) { parentApplication.editAgentUser.userPDisplay.selectedIndex = i; } } } -- 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 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] Re: Populating inputs.
I am returning the struct object socialNum from my cfc. That is where I get parentApplication.editAgentUser.userSocial.text = result.socialNum; from. --- In flexcoders@yahoogroups.com, Tom Ortega [EMAIL PROTECTED] wrote: Just by looking at your naming conventions, I'd say double check you have the names right. According to what you have for the other properties, that line should read: parentApplication.editAgentUser.userSocial.text = result.social; but you have it as: parentApplication.editAgentUser.userSocial.text = result.socialNum; socialNum With the extra word Num on the social property. Are you sure it's not result.social? -Tom On 4/27/06, Jeremy Rottman [EMAIL PROTECTED] wrote: In the user edit section of my application. I have setup multiple tabs. Under the tabs there are text inputs components that I am trying to populate. The first tab populates just fine, it is the text inputs on other tabs that I cant get populated. I am using this function to populate my text inputs. The input I am having trouble with is parentApplication.editAgentUser.userSocial.text. Everything else populates fine. // EDIT AGENT RESULTS public function EditAgentPopModeditAgentDisplayQryResult ( result ){ parentApplication.editAgentUser.userID.text = result.id; parentApplication.editAgentUser.userPass.text = result.pass; parentApplication.editAgentUser.userFName.text = result.fname; parentApplication.editAgentUser.userLName.text = result.lname; parentApplication.editAgentUser.userAddress.text = result.address; parentApplication.editAgentUser.userCity.text = result.city; parentApplication.editAgentUser.userState.text = result.state; parentApplication.editAgentUser.userZip.text = result.zip; parentApplication.editAgentUser.userEmail.text = result.email; parentApplication.editAgentUser.userURL.text = result.url; parentApplication.editAgentUser.userHPhone.text = result.hphone; parentApplication.editAgentUser.userWPhone.text = result.wphone; parentApplication.editAgentUser.userMPhone.text = result.mphone; parentApplication.editAgentUser.userFax.text = result.fax; parentApplication.editAgentUser.userSocial.text = result.socialNum; for (var i = 0;i phoneDisplayDP.length; i++) { if (phoneDisplayDP[i].data == result.phoneDisplay) { parentApplication.editAgentUser.userPDisplay.selectedIndex = i; } } } -- 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 developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- 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
RE: [flexcoders] Data Mapping problem
To cast a typein ActionScript you use this syntax: tmpDoctor = samples.Doctor(event.result); (i.e. it is not the same syntax as Java). Also, in your Java class, note it must have a public no-args constructor and the fields (or bean getter/setters) must be public. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aejaz_98Sent: Thursday, April 27, 2006 9:32 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Data Mapping problem Hi,I have a an ActionScript class Doctor.as as follows,package samples{[Bindable][RemoteClass(alias="samples.ht.base.Doctor")]dynamic public class Doctor{ public var firstName:String; public var lastName:String; public var phoneNumber:String;}}The corresponding Java class Doctor.java is,package samples.ht.base ;public class Doctor { String firstName; String lastName; String phoneNumber; public Doctor(String fname, String lname, String phoneNum){ firstName = fname; lastName = lname; phoneNumber = phoneNum; }}I make a RemoteObject method call which returns a Doctor. In my me! thod which handles the result, I have, [Bindable] public var tmpDoctor:Doctor ; private function getNameHandler(event:ResultEvent):void {tmpDoctor = (samples.Doctor)event.result ; ..If I don't have the dynamic keyword in Doctor.as, I get an Exception from Flash which says,ReferenceError: Error #1056: Cannot create property _phone_number on samples.DoctorReading about Error 1056 implied that I had to make the Doctor class(in Actionscript) dynamic. What is happening now is that,! I am getting control in getNameHandler method after the remot! e method is executed but after the line in blue is executed, tmpDoctor is null. By looking at event.result from the debugger I can see the following,result = samples.Doctor (@550cb26) firstName = null _firstName = "Michael" lastName = null _lastName = "Schumacher" phoneNumber = null _phone_number = "100"Why is casting not working properly ? I had expected that tmpDoctor would have its fields properly populated. Why is that not happening what is the way to access the results returned in the fields starting with underscores ? I am sorry in advance as I have just started learning Actionscript.Thanks,Aejaz -- 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] Flex 2 and OS X
Hi Micheal, I will answer with what I know for the moment... I am sure there are pretty good links and advice from others from this list. The short answer from me is Yes. Flex is more of an SDK then an application that runs natively on a particular operating system and or hardware and with that said, the SDK runs on OSX, Linux, and Windows. From what I've seen, it uses Java to run on other platforms that aren't windows. So if you go to http://labs.adobe.com , you can download the SDK, read a few docs for using in OSX, and run a Flex2 application. The only thing not available to us Mac developers is 'Flexbuilder' which is a really sweet IDE for Flex. It won't be out until later (maybe this summer). Well, that's what I know... Beverly ---Original Message- From: Michael Klishin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: 04/20/06 3:49 PM Subject: [flexcoders] Flex 2 and OS X Hi guys, I just wonder is there a way to run Flex 2 under OS X at the moment? I was asked and have no idea 'cause I'm still an unhappy Windows user by some reason :) Thanks! -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi -- 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 -- 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] Null error when using specifying itemRenderer on dataGridColumn
I've been struggling for some time now (and I'm assuming this must just be so brain-dead simple)...Trying to set an ItemRenderer and ItemEditor on a datagridColumn. For certain ItemRenderer's, I am getting a null error. (using Flex 2 beta 2)NOTE: I am not trying to use these as my actual renderer and editor classes as they don't really provide anything at all above the defaults.. but I noticed this gives the EXACT same error. (My actual renderer extends from Canvas...)If you change the itemRenderer to mx.controls.Label, then it works fine.. and oddly enough Text extends Label. Any ideas??xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundAlpha="0" creationComplete="initApp()"mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var dataProvider:ArrayCollection; private function initApp():void { dataProvider = new ArrayCollection([ {name: "John Smith", dept: "Engineering"}, {name: "Jane Doe", dept: "Marketing"}, {name: "Lisa Brown", dept: "Sales"}, {name: "Robert Wong", dept: "Engineering"}, {name: "Amy Taylor", dept: "Finance"}, ]); } ]]/mx:Scriptmx:DataGrid id="myDatagrid" dataProvider="{dataProvider}" variableRowHeight="true" editable="true" rowHeight="50" width="300" height="300" mx:columns mx:DataGridColumn dataField="name"/ mx:DataGridColumn dataField="dept" editable="true" itemRenderer="mx.controls.Text" editorDataField="text" itemEditor="mx.controls.TextInput" /mx:DataGridColumn /mx:columns/mx:DataGrid/mx:ApplicationNull error received when trying to edit the dept column:TypeError: Error #1009: null has no properties. at mx.controls::DataGrid/createItemEditor() at mx.controls::DataGrid/itemEditorItemEditBeginHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.controls::DataGrid/commitEditedItemPosition() at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() -- 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] Re: Problem with Firefox and Flex 2 apps?
Hopefully it is clear now I do have a 8.5 player for Firefox (8,5,0,246). But I take it then that no one else is seeing this problem? Bill --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: 246 is probably correct, I was just going off the top of my head. 8,0 is the important part that's wrong :-) Matt On 4/27/06, billlane1962 [EMAIL PROTECTED] wrote: Actually I don't think that number is correct... Actual version is 8,5,0,246. Bill I was just trying out the Connect 4 app that is currently showcased in Labs (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html ). This works great in IE. But when I run this in Firefox (1.5.0.2 Plugin : 8,0,24,0) I get the default Flex background and nothing else. I right-click and select play and the app starts. But it runs very slowly and after a few moves Firefox stops responding. This has been happening to me regularly since installing Flex 2 Beta 2. Is anyone else having the same problem? -- 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] namespaces and sub-classes
Hi Guys, I am learngin about namespaces. It's great you can have multiple name spaces in a .MXML file, but my question is this... if I have: mx:Canvas ...[etc etc]... xmlns:myNameSpace=com.here.it.is.* and in my classes I have the folder structure /com/here/it/is/again/ is there any way I can use .AS classes in the /again/ folder using the myNameSpace namespace? I guess I am thinking of something like myNameSpace.again:someClass / or myNameSpace:again.someClass / Hope that question makes sense. -- 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] blank page -- Flex 2 Style Explorer on IE 7.0 and Fire Fox 1.5.0.2
Hello flexmates, anyone tried to access below URL in Internet explorer 7.0 beta and Firefox 1.5.0.2. I am getting blank page and status shows me done. --Suresh Akula --- Jonathan Miranda [EMAIL PROTECTED] wrote: http://weblogs.macromedia.com/mc/archives/Flex2StyleExplorer/Flex2StyleExplorer.html Just noticed that there's an option missing in the Bar category for LinkBar. When you click on those links for the example, they never get actually selected. Difference between the explorer (clicking them doesn't change them): And a real application: Trying to figure out how to change the color of the MINE! Text (when it's selected) and I can't find the css property to change it.** _ *Jonathan Miranda* *Stealth Project Manager* *Sorry, it's a 'Need to Know' basis only.* HealthGrades http://www.healthgrades.com/: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. View/post via a browser: http://lyris.macromedia.com/read/?forum=%%list.name%%http://lyris.macromedia.com/read/?forum=%25%25list.name%25%25 Manage your account: http://lyris.macromedia.com/read/my_account/ View this discussion via a newsreader: news://lyris.macromedia.com This email transaction, and any documents, files, or previous email message attached to it, are confidential and proprietary information of Adobe Systems, Inc. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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] Help with a Bug
The F2B2 help file says: Insert a WebService component - You use the Flex WebService component to access a SOAP-based web service and retrieve information about recent blog posts. 1. In Source mode, enter the following mx:WebService tag immediately after the opening mx:Application tag: Not sure if that means you *can't* have the webservice tag anywhere else, but I moved your code outside the Canvas and the error message went away :-) Darren From: Jeremy Rottman [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Help with a Bug Date: Thu, 27 Apr 2006 20:48:27 - I am working on my app, and I was creating a link to my webservice, when I came across this. I am not sure if it is a bug or something wrong with my code. The webservice I am using, is coded exactly the same way all my other working webservices are coded. Anyone else have this issue. Here is my error: Severity Description Resource In Folder Location Creation Time Id 2 Encountered mx:WebService at line 5, column 2. Was expecting one of: Style ... Script ... Metadata ... Effect ... Model ... XML ... Array ... Binding ... String ... Number ... Boolean ... Class ... Function ... Component ... Non-MXML language element ... Non-MXML language element ... CDATA ... agentUserList.mxml hs2f/custom/components/company line 5 April 27, 2006 1:43:39 PM 15260 Here is my code: ?xml version=1.0 encoding=utf-8? mx:Canvas width=100% height=100% xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* mx:Panel x=0 title= y=0 width=100% height=100% mx:Script source=as/agentUserList.as / mx:WebService id=DisplayAgentMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminAgent.cfc?wsdl showBusyCursor=true mx:operation name=searchAgentQry result=DisplayAgentModsearchAgentQryResult( DisplayAgentMod.searchAgentQry.result ) fault=DisplayAgentModsearchAgentQryFault( event ) / /mx:WebService mx:Canvas width=100% height=100% id=canvas1 mx:DataGrid x=140 y=71 id=agentDG height=80% width=100% mx:columns mx:DataGridColumn headerText=Agent Name dataField=col1/ mx:DataGridColumn headerText=Agent Email dataField=col2/ mx:DataGridColumn headerText=Agent Id dataField=col3/ /mx:columns /mx:DataGrid mx:LinkButton x=6 y=70 label=Add Agent/ mx:LinkButton x=6 y=93 label=Delete Agent/ mx:LinkButton x=6 y=118 label=Exit/ mx:TextInput x=140 y=22/ mx:Button x=308 y=22 label=Search/ /mx:Canvas mx:ApplicationControlBar x=0 width=100% height=35 mx:Button label=Save/ mx:Button label=Reset/ /mx:ApplicationControlBar /mx:Panel /mx:Canvas -- 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] FDS2 on JBoss 4.03sp1 flex.messaging.MessageException:jms not bound
I'm starting to mess with fds2, I deployed the sample.war file to jboss, most of the samples work but the chat app throws a flex.messaging.MessageException:jms not bound exception when sending a message. I'm somewhat new to jboss and it's probably somethingthing simple I'm missing but does anyone have any pointers? -- 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] Full Screen Flex App[Scanned]
Thanks, works a treat! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Faisal Abid Sent: 27 April 2006 11:04 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Full Screen Flex App[Scanned] Alex MacCaw wrote: I was just wondering if anyone had a few tips on making a flex app fullscreen (that is when the swf is run directly without a browser). I've tried this under the Application tag: fscommand(fullscreen,true); When the application is initially loaded it isn't full screen, but if you click on a menu item, it becomes so. Basically what I'm saying is that fscommand fullscreen works, but not on the initial load. Is there a way of doing this? Thanks in advance Alex -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. try puttin fscommand under initlize or creationcomplete -- 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] Player Stack Traces and Mac for 8.5
Hi, jeffrey_lage, I only have Flash 7 Trace Viewer,when I make an application that the version of 8 or 8.5,It can not work . Could you tell me where i can download statck tracefor version of 8. Good luck !2006/4/28, jeffrey_lage [EMAIL PROTECTED]: I am doing some eval of Flex2 on both windows and mac clients to the app. I have noticed that on windows, when my application generates an exception in the player, I get a popup window with the statck trace. This works in both IE and Firefox. However, on Mac, I do not. In Safari or Firefox. This is only a mild annoyance for development, given that I have both platforms at my disposal, but will make supporting Mac clients in production very difficult as the users will not be able to send stack traces when they have issues. Does anyone know if there is a way to enable this on Mac? As an aside, this also means there are no stack traces in flex-unti if the test app is launched form Mac. -- 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. -- 亲爱的朋友,祝你天天快了!http://www.flashpixy.com -- 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: Problem with Firefox and Flex 2 apps?
I got the same output(Blank page) in Fire fox and IE 7 beta. Also I downloaded the latest of flash player, still i am getting blank page... I already posted this issue, but i don't its blocked. Anyone help me out where I am going worng. Thanks, Suresh Akula. --- Matt Chotin [EMAIL PROTECTED] wrote: 246 is probably correct, I was just going off the top of my head. 8,0 is the important part that's wrong :-) Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Fuller Sent: Thursday, April 27, 2006 8:35 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Problem with Firefox and Flex 2 apps? Probably the number is correct. I'm guessing the Flash player activex control for 8.5 is installed, but the plugin player 8.5 for firefox is not. On 4/27/06, billlane1962 [EMAIL PROTECTED] wrote: Actually I don't think that number is correct. That came from the Flash Player download page. Actual version is 8,5,0,246. Bill --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: That's not the 8.5 version number if you see 8,0,24,0. It should be 8,5,0,242 I think. From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of billlane1962 Sent: Wednesday, April 26, 2006 4:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with Firefox and Flex 2 apps? I was just trying out the Connect 4 app that is currently showcased in Labs (http://joeberkovitz.com/projects/Connect4/bin/Connect4.html ). This works great in IE. But when I run this in Firefox (1.5.0.2 Plugin : 8,0,24,0) I get the default Flex background and nothing else. I right-click and select play and the app starts. But it runs very slowly and after a few moves Firefox stops responding. This has been happening to me regularly since installing Flex 2 Beta 2. Is anyone else having the same problem? -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ:
[flexcoders] lazy associations in FDS
We understand that FDS supports lazy associations, but the documentation is unclear about whether it's necessary and in what manner to partially initialize an array which is not empty but in the lazy state, as opposed to the fully initialized state and the state of a truly empty array. Does anyone know how FDS works in this regard? We are using the Java adapter, so our application is responsible for how data comes out of the DAO layer. Any information would be appreciated - thank you. -- 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: List dataProvider issue
And note the hard requirement for this will go away in beta 3 though the best practice of implementing IUID remains. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Thursday, April 27, 2006 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: List dataProvider issue OK, but we recommend implementing IUID because non-dynamic objects are larger and slower than dynamic ones. It could be as simple as public class ItemVO { public var name : String; public var type : String; public function get uid():String { return name; } public function set uid(value:String):void { name = value; } } if the name field uniquely identifies an item. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 6:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: List dataProvider issue Thanks Gordon. Changing the class to dynamic also fixed it per a blog i found from your help. http://www.simb.net/blog/index.cfm/2006/4/19/Using-Flex-2-List-Controls- with-ColdFusion-Components --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Make ItemVO implement IUID. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Thursday, April 27, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] List dataProvider issue (don't wanna say bug!!) I broke this issue down to a VERY simple example and the problem is still there. When I create an ArrayCollection of items and assign it to the data provider of a List. The very first item in the list cannot be selected. Very Weird. If I change my collection of custom VO objects to generic {} type objects, it works fine. I've tried messing with the [Bindable] meta tag to no avail. Anyone come across anything like this?? I don't want to use generic objects as a work around. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=sampleData(); mx:Script ![CDATA[ import mx.collections.ArrayCollection; import org.ItemVO; [Bindable] private var items : ArrayCollection ; private function sampleData() { var item1 : ItemVO = new ItemVO(); var item2 : ItemVO = new ItemVO(); item1.name = item1 name; item1.type = one; item2.name = item2 name; item2.type = two; items = new ArrayCollection([item1,item2]); } ]] /mx:Script mx:Panel id=test title=Item Title mx:List id=columnList dataProvider={items} labelField=name/ /mx:Panel /mx:Application the ItemVO class.. -- package org { //I have the same effect whether [Bindable] is here or not public class ItemVO { public var name : String; public var type : String; } } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Player Stack Traces and Mac for 8.5
Are you sure you installed the debug player and not the release player for Mac? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jeffrey_lage Sent: Thursday, April 27, 2006 1:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Player Stack Traces and Mac for 8.5 I am doing some eval of Flex2 on both windows and mac clients to the app. I have noticed that on windows, when my application generates an exception in the player, I get a popup window with the statck trace. This works in both IE and Firefox. However, on Mac, I do not. In Safari or Firefox. This is only a mild annoyance for development, given that I have both platforms at my disposal, but will make supporting Mac clients in production very difficult as the users will not be able to send stack traces when they have issues. Does anyone know if there is a way to enable this on Mac? As an aside, this also means there are no stack traces in flex-unti if the test app is launched form Mac. -- 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] Flex 2 beta 2 history: working?
Hmm, it should just work. The HTML page thats generated should have history management by default. Do you see any errors being printed to the console? Have you tried serving the HTML page from a web server instead of from the local folder where it was compiled? I dont know if it makes a difference but its possible From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey Sent: Thursday, April 27, 2006 4:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 beta 2 history: working? Hi, I was trying to experiment with the HistoryManager class, but cant get it working. I created a new project, and just used the accordion with some content, and even on that project, the history management isnt working. Is there anything I need to configure, as the help says the accordion component has history management by default? Thanks! Jonas -- 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] Passing the array as the dataprovider in the combobox cellrenderer
1.5 or 2.0? If 2.0 I think you want to look at the IDropInListItemRenderer interface which your cell renderer probably already implements on its own. The listData property will provide you access to the list itself I think. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Thursday, April 27, 2006 12:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing the array as the dataprovider in the combobox cellrenderer Dear all, how can i reference it? 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 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] dataGridInstance.setVPosition(dataGridInstance.maxVPosition);
Is this 1.5 or 2.0? If 2.0 right before you call setVPosition you want to call dataGridInstance.validateNow(). In 1.5 setting vPosition=maxVPosition usually works, but you may need to do it in a doLater. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Thursday, April 27, 2006 7:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dataGridInstance.setVPosition(dataGridInstance.maxVPosition); Hi All! When I use dataGridInstance.setVPosition(dataGridInstance.maxVPosition); dataGridInstance content is not scrolling to its maximum vertical position possible, but gap of 1 or 2 lines remains. Is there any way to fix it? I use DataGrid instance as a trace panel, so that when more and more items appear, I want the last one to be visible. Thank you in advance! Sergey. -- 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] Help!
Where is your SWF and where is the url that you're hitting? Are they on the same domain? Are they on the same port? It may be that you're having crossdomain issues. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of compengguy Sent: Thursday, April 27, 2006 6:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Help! Hi all, I am making a page for my teamsite where i am sending the sql query in the URL. which returns an xml file. When i compile and run this code in Flex Builder 2.0 , It runs fine but when i take that swf file and run it seperately It gives the following errors. * Error: faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP' at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faul tHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::MessageAgent/fault() at mx.messaging::Producer/fault() at ::DirectHTTPMessageResponder/securityErrorHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() what i need to do,to not to have this warning because after the warning it not fetches the data. The code snippet is mx:HTTPService id=xml url="" URL useProxy=false/ so can anybody suggest what i need to do ? Thanks Sachin Gaur -- 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] FES-B2 - Memory leaking concern
Which process was it that took the memory, FES or the Player? Obviously it shouldnt happen but its also hard to know what it was doing. We did some experiments recently that showed our code wasnt leaking, but thats not to say it wasnt in beta 2 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Thursday, April 27, 2006 10:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FES-B2 - Memory leaking concern I start playing with FES Beta 2 version and realized that if I left my computer on for a day or so with the flex app running the computer will eventually run out of RAM and a low virtual memory warning will show. I know that there are few docs that tells how the player works and I was wondering if this is an issue with the FlashPlayer 8.5 or are some issues with the Flex Framework that will be addressed at a latter time. Best regards, Valy How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. -- 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] Help with a Bug
Yeah, get it out of the Panel and make sure it's a child of the root tag and not nested deeper. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darren Houle Sent: Thursday, April 27, 2006 2:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Help with a Bug The F2B2 help file says: Insert a WebService component - You use the Flex WebService component to access a SOAP-based web service and retrieve information about recent blog posts. 1. In Source mode, enter the following mx:WebService tag immediately after the opening mx:Application tag: Not sure if that means you *can't* have the webservice tag anywhere else, but I moved your code outside the Canvas and the error message went away :-) Darren From: Jeremy Rottman [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Help with a Bug Date: Thu, 27 Apr 2006 20:48:27 - I am working on my app, and I was creating a link to my webservice, when I came across this. I am not sure if it is a bug or something wrong with my code. The webservice I am using, is coded exactly the same way all my other working webservices are coded. Anyone else have this issue. Here is my error: Severity Description Resource In Folder Location Creation Time Id 2 Encountered mx:WebService at line 5, column 2. Was expecting one of: Style ... Script ... Metadata ... Effect ... Model ... XML ... Array ... Binding ... String ... Number ... Boolean ... Class ... Function ... Component ... Non-MXML language element ... Non-MXML language element ... CDATA ... agentUserList.mxml hs2f/custom/components/company line 5 April 27, 2006 1:43:39 PM 15260 Here is my code: ?xml version=1.0 encoding=utf-8? mx:Canvas width=100% height=100% xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* mx:Panel x=0 title= y=0 width=100% height=100% mx:Script source=as/agentUserList.as / mx:WebService id=DisplayAgentMod useProxy=false wsdl=http://flex.homesmartagent.com/cfc/adminAgent.cfc?wsdl showBusyCursor=true mx:operation name=searchAgentQry result=DisplayAgentModsearchAgentQryResult( DisplayAgentMod.searchAgentQry.result ) fault=DisplayAgentModsearchAgentQryFault( event ) / /mx:WebService mx:Canvas width=100% height=100% id=canvas1 mx:DataGrid x=140 y=71 id=agentDG height=80% width=100% mx:columns mx:DataGridColumn headerText=Agent Name dataField=col1/ mx:DataGridColumn headerText=Agent Email dataField=col2/ mx:DataGridColumn headerText=Agent Id dataField=col3/ /mx:columns /mx:DataGrid mx:LinkButton x=6 y=70 label=Add Agent/ mx:LinkButton x=6 y=93 label=Delete Agent/ mx:LinkButton x=6 y=118 label=Exit/ mx:TextInput x=140 y=22/ mx:Button x=308 y=22 label=Search/ /mx:Canvas mx:ApplicationControlBar x=0 width=100% height=35 mx:Button label=Save/ mx:Button label=Reset/ /mx:ApplicationControlBar /mx:Panel /mx:Canvas -- 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 group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Building a complex chat application on Fx2 FDS
You wait until Beta 3 and then you say, oh... :-) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Thursday, April 27, 2006 6:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Building a complex chat application on Fx2 FDS Hi all, How would you go about building a chat application with Flex2 Flex Data Services. - Multiple users - 1to1, many to many - Java Backend - Needs to keep track of connected users ( and a reference to them ) - Server to Client invocation of custom methods Using RPC services gives me a Client to Server call sequence, but not the opposite. Plus, it does not allow me to keep a reference ( in a stateful server side application ) to the client connections. Using messaging... well, I have push. but... what else? Basically, I need something analog to the functionality that I would find in these FMS2 features: - application.onConnect() - application.onDisconnect() - client.call() - Remote SharedObjects - the ability to keep a reference ( Client Object ) to all connected clients But with the robustness and extensibility of a Java App ( a la Red5, but Today ) Can this be done??? approaches? We also have a license of FMS2, but I only want to use it for streaming media, as AS1 is not an allowed development language in my customer's infrastructure and is difficult to interface with other things ( namely Avaya Comm Manager and LDAP ). Of course we could use webservices to talk to a Java app, but that's too much overhead. I once found a FCS to Java connector, somewhere.. but seems like beta code. Not acceptable either. ( is there a production release of this connector ? ). Thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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] Null error when using specifying itemRenderer on dataGridColumn
Random shot, try importing mx.controls.Text and mx.controls.TextInput? I think it should have been a compiler error if it was necessary but Note that the error is for the item editor when you say its the renderer that you change to fix it. Sounds like a bug to me Ill forward it inside. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Romer Sent: Thursday, April 27, 2006 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Null error when using specifying itemRenderer on dataGridColumn I've been struggling for some time now (and I'm assuming this must just be so brain-dead simple)... Trying to set an ItemRenderer and ItemEditor on a datagridColumn. For certain ItemRenderer's, I am getting a null error. (using Flex 2 beta 2) NOTE: I am not trying to use these as my actual renderer and editor classes as they don't really provide anything at all above the defaults.. but I noticed this gives the EXACT same error. (My actual renderer extends from Canvas...) If you change the itemRenderer to mx.controls.Label, then it works fine.. and oddly enough Text extends Label. Any ideas? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml backgroundAlpha=0 creationComplete=initApp() mx:Script ![CDATA[ ! nbsp; import mx.collections.ArrayCollection; [Bindable] public var dataProvider:ArrayCollection; private function initApp():void { dataProvider = new ArrayCollection([ {name: John Smith, dept: Engineering}, {name: Jane Doe, dept: Marketing}, ! {name: Lisa Brown, dept: Sales}, nbs! p; {name: Robert Wong, dept: Engineering}, {name: Amy Taylor, dept: Finance}, ]); } ]] /mx:Script mx:DataGrid id=myDatagrid dataProvider={dataProvider} variableRowHeight=true editable=true rowHeight=50 width=300 height=300 mx:columns mx:DataGridColumn dataField=name/ ! nbsp; mx:DataGridColumn dataField=dept editable=true itemRenderer=mx.controls.Text editorDataField=text itemEditor=mx.controls.TextInput /mx:DataGridColumn /mx:columns /mx:DataGrid /mx:Application Null error received when trying to edit the dept column: TypeError: Error #1009: null has no properties. at mx.controls::DataGrid/createItemEditor() at mx.controls::DataGrid/itemEditorItemEditBeginHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.controls::DataGrid/commitEditedItemPosition() at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList() at ! mx.core::UIComponent/validateDisplayList() nbs! p; at mx .managers::LayoutManager/validateDisplayList() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() -- 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] FDS2 on JBoss 4.03sp1 flex.messaging.MessageException:jms not bound
I have no experience with JBoss but basically you're going to have to set up some JMS stuff which you'll need to check docs for. We're removing this requirement for the samples in Beta 3 and making it optional. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of christophers1228 Sent: Thursday, April 27, 2006 4:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS2 on JBoss 4.03sp1 flex.messaging.MessageException:jms not bound I'm starting to mess with fds2, I deployed the sample.war file to jboss, most of the samples work but the chat app throws a flex.messaging.MessageException:jms not bound exception when sending a message. I'm somewhat new to jboss and it's probably somethingthing simple I'm missing but does anyone have any pointers? -- 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] namespaces and sub-classes
Sorry, you'll need to create another namespace for again, xmlns:again=com.here.it.is.again.* Alternatively you could create a namespace manifest file, but I don't know if it's worth it. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nz_mehere Sent: Thursday, April 27, 2006 5:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] namespaces and sub-classes Hi Guys, I am learngin about namespaces. It's great you can have multiple name spaces in a .MXML file, but my question is this... if I have: mx:Canvas ...[etc etc]... xmlns:myNameSpace=com.here.it.is.* and in my classes I have the folder structure /com/here/it/is/again/ is there any way I can use .AS classes in the /again/ folder using the myNameSpace namespace? I guess I am thinking of something like myNameSpace.again:someClass / or myNameSpace:again.someClass / Hope that question makes sense. -- 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] Objects and arrays as treeview datasource
The API is listed here: http://livedocs.macromedia.com/labs/1/flex20beta2/langref/mx/controls/treeClasses/ITreeDataDescriptor.html The most important ones are isBranch and getChildren. In B2 be aware that isBranch and getChildren can be passed null in which case you should just return false and null respectively. If you dont need drag and drop just have addChildAt and removeChildAt return false. getChildren should just return an ArrayCollectoin that contains the array pointed to by the node property. isBranch would return true if node != null node.length 0 I guess. HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey Sent: Wednesday, April 26, 2006 12:49 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Objects and arrays as treeview datasource Any examples on how to do that? The help only mentions some addChildAt methods, but I dont think I have to loop through all the data? Jonas From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: woensdag 26 april 2006 8:42 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Objects and arrays as treeview datasource Since the children are named node and not children the default data descriptor isnt going to work. You probably need to write a quick ITreeDataDescriptor implementation that will return the right children property/collection. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey Sent: Tuesday, April 25, 2006 1:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Objects and arrays as treeview datasource Hi, Im trying to fill my treeview with data retrieved from a webservice. I have my resultformat set to default (Object), as e4x or xml doesnt give the correct result. Filling a datagrid with the data I retrieve works perfectly, but the problem is when there are nested objects in it, the tree doesnt draw childNodes. This is the value of my webservice result object: event = events.DataManagerResultEvent (@2b67be6) bubbles = false : Boolean cancelable = false : Boolean currentTarget = managers.DataManager (@2b0b0b6) eventPhase = 2 [0x2] : Number result = mx.utils.ObjectProxy (@29d6e46) getCategoriesResult = Object (@2bab0a6) node = Object (@2bab8c6) node = Array (@2b672b6) [0] = Object (@2baba66) catID = 15 [0xf] : Number label = Pixco Labs : String [1] = Object (@2babc26) catID = 1 [0x1] : Number label = Technology : String node = Array (@2b671c6) [0] = Object (@2babe06) catID = 6 [0x6] : Number label = ASP.NET : String [1] = Object (@2b9c046) catID = 7 [0x7] : Number label = HTML/CSS : String [2] = Object (@2b9c246) catID = 8 [0x8] : Number label = _javascript_ : String [3] = Object (@2b9c426) catID = 9 [0x9] : Number label = SQL : String [4] = Object (@2b9c606) catID = 10 [0xa] : Number label = Tech Experiments : String [5] = Object (@2b9c7e6) catID = 16 [0x10] : Number label = Flash/Flex/Flash Lite : String length = 6 [0x6] : Number [2] = Object (@2b6fa06) catID = 2 [0x2] : Number label = Utilities : String node = Array (@2b67376) [0] = Object (@2babf66) catID = 11 [0xb] : Number label = Client tools : String [1] = Object (@2babd66) catID = 12 [0xc] : Number label = Server tools : String length = 2 [0x2] : Number [3] = Object (@2babb86) catID = 3 [0x3] : Number label = Design : String node = Array (@2b676d6) [0] = Object (@2bab966) catID = 13 [0xd] : Number label = Cool layouts : String [1] = Object (@2bab386) catID = 14 [0xe] : Number label = Design experiments : String length = 2 [0x2] : Number [4] = Object (@2c62e26) catID = 4 [0x4] : Number label = Usability : String [5] = Object (@2c62286) catID = 5 [0x5] : Number label = Off-topic : String length = 6 [0x6] : Number xmlns = 0 [0x0] : Number object = Object (@2bab1a6) uid = F97D8CAC-0C05-4ED5-3B1F090A : String xmlns = http://tempuri.org/ : String target = managers.DataManager (@2b0b0b6) type = getCategoriesResponse : String The tree only renders the nodes in the root, it doesnt create the subNodes. Do I need to loop through this data in code? It would be a lot easier if I could just put this result as the dataSource for my tree. Thanks for any suggestions, Jonas -- 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
RE: [flexcoders] Adding a child to a vbox
For one thing I would only do the parentApplication.closing.mainBox.addChild(newGrid) and then for every other addChild just use the local variable. newGrid.addChild(newGridRow); newGridRow.addChild(newGridItem); It will make things easier to follow, plus I'm not sure mainBox.newGrid will work unless it has an explicit property called newGrid, otherwise you have to do getChildByName or something like that. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, April 26, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adding a child to a vbox I am still working on this. I need to dynamically create a grid with a single row, and two items. Then I need to create labels, and text input inside the grid. However, I cant get to that point yet, I am still unable to the complete grid w/ a test label in side the grid. I am working with in F2B2. Here is my code. for ( var i:Number=0;iresult.length;i++){ // CREATE GRID // var newGrid:Grid = new Grid(); newGrid.id = 'grid' + i; newGrid.percentWidth = 90; parentApplication.closing.mainBox.addChild(newGrid); // CREATE GRID ROW // var newGridRow:GridRow = new GridRow(); newGridRow.id = 'gridRow' + i; parentApplication.closing.mainBox.newGrid.addChild(newGridRow); if (result[i].TRANSSIDE is 'buyer'){ // CREATE GRID ITEM // var newGridItem:GridItem = new GridItem(); newGridItem.id = 'listGridItem' + i; newGridItem.width = 445; parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte \ m); // CREATE CANVAS // var newCanvas:Canvas = new Canvas(); newCanvas.id = 'canvas' + i; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil \ d(newCanvas); // CREATE LABEL // var newLabel:Label = new Label(); newLabel.text = TEST; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv \ as.addChild(newLabel); } else if (result[i].TRANSSIDE is 'seller'){ // CREATE GRID ITEM // var newGridItem:GridItem = new GridItem(); newGridItem.id = 'saleGridItem' + i; newGridItem.width = 529; parentApplication.closing.mainBox.newGrid.newGridRow.addChild(newGridIte \ m); // CREATE CANVAS // var newCanvas:Canvas = new Canvas(); newCanvas.id = 'canvas' + i; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.addChil \ d(newCanvas); // CREATE LABEL // var newLabel:Label = new Label(); newLabel.text = TEST; parentApplication.closing.mainBox.newGrid.newGridRow.newGridItem.newCanv \ as.addChild(newLabel); } -- 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] F2B2 States: How to clear/remove a style set in a state
In reading the B3 code at least leaving the value unset should go ahead and clear the style. Also passing {null} should do it. But you know, if the states arne't related to each other (no based on) just having the SetStyles for the ones you care about should be enough, we'll automatically unset the ones that were in the previous state. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of revanisle Sent: Thursday, April 27, 2006 10:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2B2 States: How to clear/remove a style set in a state Hi all, For simplification, let's say I have an app with two states as follows: mx:states mx:State name=LEFT mx:SetStyle target={PREVIEW} name=left value=0/ mx:SetStyle target={PREVIEW} name=right/ /mx:State mx:State name=RIGHT mx:SetStyle target={PREVIEW} name=left/ mx:SetStyle target={PREVIEW} name=right value=0/ /mx:State /mx:states mx:Canvas id=PREVIEWHOLDER includeInLayout=false x=20 y=20 width=1000 height=1000 mx:Canvas id=PREVIEW mx:Image id=previewImg /mx:Image /mx:Canvas /mx:Canvas The idea is that in state LEFT, PREVIEW anchors to the left of it's parent container PREVIEWHOLDER, and state RIGHT anchors it to the right edge of PREVIEWHOLDER. PREVIEW is always smaller than its parent, but its size changes as it is being populated with content. (mostly determined by the size of the image loaded into previewImg) What actually happens is that whichever state is used first works fine, but when I switch to the other state, PREVIEW is anchored to both sides of its parent, making it 1000px wide regardless of what's inside it. My real app actually has 4 states, but the idea is the same. This code: mx:SetStyle target={PREVIEW} name=right/ (without any value attribute) was generated by FlexBuilder when I cleared the right anchor in design view, and it doesn't work. It also doesn't work by setting the value attribute to any of , {null}, or {undefined}. Leaving the tag out altogether also doesn't work. How do I create a state that says DON'T anchor to the right anymore. Thanks! Rick Englert -- 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.