[flexcoders] Flex breeze integration
Has anyone tried to integrate a Flex 1.5 swf with Breeze? I've had a bit of a play around and every time I try to load a Flex swf the browser CPU utilization goes up to 100% and I have to kill it with Task Manager. I've tried sticking a this._lockroot=true in the creationComplete handler for the top level of the Flex app, and adding a _lockroot attribute to the mx:Application tag but it doesn't seem to help. The swf works fine when loaded in the standalone player. Any suggestions? Spike-- Stephen MilliganDo you do the Badger? http://www.yellowbadger.comDo you cfeclipse? http://www.cfeclipse.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS 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: Flex breeze integration
ok, Tracked down the issue to another .swf in the Flex app that I was loading using mx.controls.Loader. I've changed that to use an embedded .swf and it seems to work fine now. SPike On 11/7/05, Spike [EMAIL PROTECTED] wrote: Has anyone tried to integrate a Flex 1.5 swf with Breeze? I've had a bit of a play around and every time I try to load a Flex swf the browser CPU utilization goes up to 100% and I have to kill it with Task Manager. I've tried sticking a this._lockroot=true in the creationComplete handler for the top level of the Flex app, and adding a _lockroot attribute to the mx:Application tag but it doesn't seem to help. The swf works fine when loaded in the standalone player. Any suggestions? Spike-- Stephen MilliganDo you do the Badger? http://www.yellowbadger.comDo you cfeclipse? http://www.cfeclipse.org -- Stephen MilliganDo you do the Badger?http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org -- 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 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: Brocade Case Study
Dave Thanks for your reply, I like your front to back approach as it enables you to go out and generate customer awarness whilst the product is still in development. It sounds like you are alone in your front to back design, what are the objections to it? Mike --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: It can be difficult because the devil is often in the details. What we do with our clients is what we refer to as a Model Design. In the MD we develop the entire user interface, bind to static data, include a functional spec, data model, test plan and a project plan. Its the project plan you really need to figure out the engire cost. We've done quite a few of these and they are very popular. Thats because you not only have a price, but every pre-cursor you need to kick off developing the application the next morning. I will tell you that until you work through all the validations, data requirements, flow, security, etc all your estimates will me moot. Take Brocade as an example. Where is the data coming from? How real time is it? How much EAI is involved. Is the data model existing? How about the SOA? What platform? How stringent is the security, etc. In any case, I wish I could give you a side of the barn estimate. This is why we push so hard for folks to push through the front-to-back LookFirst Model Design kind of approach to developing RIA's. We know they work and can point to real proof. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, michael457728 [EMAIL PROTECTED] wrote: Can anyone give me an idea how long it would take and what budget you would need to have an app like the Brocade link below developed? http://flexapps.macromedia.com/flex/brocade/app.mxml I realise that its a difficult question but I just want to get a gut feeling for the size of cash you would guys think it would need. Thanks Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Dynamic MXML loading
Thank you for your response. I understand that we are losing out on some good features of RIA with this approach, however there is a business reason behind having to do this. In the application there are no standard set of screens. The screen controls and the data to be displayed (mapped from a library of objects) will be configurable outside the development environment. So there is a need to generate and store the MXML and load dynamically on request. The other possibility is to write the MXML created from the tool into the webserver path, which means that these files will have to be packaged in a war file or hot deployed. Repacking and re-deploying is not acceptable. Hot deployement is an another option. Please suggest other options you can think on this. Thanks, Varalakshmi. --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: I think you might want to step back and decide if you really want to use this approach. One of the biggest advantages of a RIA interface is to avoid the request/response style of building web applications. What you are looking to do here is a direct analog to that request/response traditional web style of development and is kind of a step back rather then forward. Worse off, going to a controller servlet which dynamically builds MXML, compiles it, retuns the SWF embedded inside a dynamicaly built JSP etc is IMHO going to be a dog. I can tell you that in production we pre-compile all MXML into swf's. The JIT MXML compiler isnt exactly performant. Roll in that you have to build the MXML dynamically in a servlet, then render it inside a JSP, then have it comiled, downloaded, etc. For a bonus, every screen loaded also now required database I/O, which is always the slowest concern in a web application. Continue on with the fact you likely are much more dependant on an HTTP session object to maintain state, blah blah. I would seriously review your design and decide for yourself if you want to develop a RIA this way. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, varalakshmi_palani [EMAIL PROTECTED] wrote: Hi All, I have a requirement to dynamically load mxml at runtime. We use a custom tool to generate MXML code for various screens. The MXML sources thus generated are stored as an XML Objects in the database associated with a screen ID. For. eg. Screen Code | MXML source stored as XML object --- S001 | (XML Object) MXML source code for Screen 1 S002 | (XML Object) MXML source code for Screen 2 The screens will be accessed calling a common servlet and passing the screen ID to it. The servlet is responsible for a) fetching the XML object corresponding to the screen id from the database b) dispatching the request to a JSP with the XML String thus fetched. The called JSP should render the XML String using Flex Tag Libs as shown below, %@ taglib uri=FlexTagLib prefix=mm % % String mxmlString=request.getParameter(mxml); // mxml is the name of the attribute that holds the XML String % mm:mxml %=mxmlString% /mm:mxml The problem we are facing is that the MXML does not get rendered properly. Supposing the MXML source is as shown below, mx:Application xmlns:mx='http://www.macromedia.com/2003/mxml' mx:Panel height='600' width='600' title='test' id='Panel1' mx:TextInput id='TextInput2' / mx:DataGrid id='DataGrid3' / /mx:Panel mx:TextInput id='TextInput3' / /mx:Application The MXML embedded in the JSP only displays the direct children of the Application. In the above examples, the Panel1 and TextInput3 are displayed while TextInput2 and DataGrid3 are node displayed. (Please note that the mxmlString contains the source code correctly). It will a great help if you can give any suggestion/solution to this problem. Please let me know if there is any alternate way to dynamically display mxml. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cellrenderer For ComboBox
Ok just looked in to the source of a combobox... __dropdown = PopUpManager.createPopUp(this, List, false, o, true); This is probably why the cellRenderer is not working.. Somebody got an solution..ELse I got to build my own combobox. which I find overdone. --- In flexcoders@yahoogroups.com, moyosaned [EMAIL PROTECTED] wrote: created an cellRenderer, I want to use this cellrenderer in a combobox; I tried the following: ?xml version=1.0 encoding=utf-8? mx:ComboBox xmlns:mx=http://www.macromedia.com/2003/mxml; creationComplete=initApp() mx:Script ![CDATA[ import bla.bla.FlexBoxRenderer; import bla.bla.MultiLineCell; import org.panda.gpn.utils.Debug; public function initApp():Void{ this.dropdown.setCellRenderer(MultiLineCell); } ]] /mx:Script /mx:ComboBox I use the creationComplete, otherwise the dropdown does not exists where I have to set the cellRenderer for. but nothing happens after it, I am not tracing anything when I fill the Combobox.dataprovider So anybody Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Can I Capture f5 keyboard event in actionScript
Hi all, I need to capture F5 event.Can i do this in flex. I will really appreciate if someone will help me in this regard Thanks Manish Jain Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cellrenderer For ComboBox
AnybodyMy cellrenderer is working in a List. But not in de List used in the ComboBox. --- In flexcoders@yahoogroups.com, moyosaned [EMAIL PROTECTED] wrote: created an cellRenderer, I want to use this cellrenderer in a combobox; I tried the following: ?xml version=1.0 encoding=utf-8? mx:ComboBox xmlns:mx=http://www.macromedia.com/2003/mxml; creationComplete=initApp() mx:Script ![CDATA[ import bla.bla.FlexBoxRenderer; import bla.bla.MultiLineCell; import org.panda.gpn.utils.Debug; public function initApp():Void{ this.dropdown.setCellRenderer(MultiLineCell); } ]] /mx:Script /mx:ComboBox I use the creationComplete, otherwise the dropdown does not exists where I have to set the cellRenderer for. but nothing happens after it, I am not tracing anything when I fill the Combobox.dataprovider So anybody Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Can I Capture f5 keyboard event in actionScript
If you run flex on flashplayer running on IE it wont work, since IE swallows the F5 keypress and refreshes the web page on F5. Same problem with ESC. -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of manish Sent: 7. marraskuuta 2005 14:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] Can I Capture f5 keyboard event in actionScript Hi all, I need to capture F5 event.Can i do this in flex. I will really appreciate if someone will help me in this regard Thanks Manish Jain -- 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 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: Cellrenderer For ComboBox
I used to do theCombo.getDropdown().cellRenderer = 'MyCellRenderer'; Not sure if you have to surround the class with quotes. Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of moyosanedSent: lundi 7 novembre 2005 12:20To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cellrenderer For ComboBox AnybodyMy cellrenderer is working in a List. But not in de Listused in the ComboBox.--- In flexcoders@yahoogroups.com, "moyosaned" [EMAIL PROTECTED] wrote: created an cellRenderer, I want to use this cellrenderer in a combobox; I tried the following: ?xml version="1.0" encoding="utf-8"? mx:ComboBox xmlns:mx="http://www.macromedia.com/2003/mxml" creationComplete="initApp()" mx:Script ![CDATA[ import bla.bla.FlexBoxRenderer; import bla.bla.MultiLineCell; import org.panda.gpn.utils.Debug; public function initApp():Void{ this.dropdown.setCellRenderer(MultiLineCell); } ]] /mx:Script /mx:ComboBox I use the creationComplete, otherwise the dropdown does not exists where I have to set the cellRenderer for. but nothing happens after it, I am not tracing anything when I fill the Combobox.dataprovider So anybody -- 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
[flexcoders] Re: Resizing images in a TileList
Hello. Thanks for you fast response. In response to your questions, the tile is always bigger that image. If i re-assign the dataProvider to the tilelist, tilelist.dataProvider = element; the image don´t appear. The image is loaded via HTTP, then the source of image is like, http://webserver/images/thumbnail1.jpg. Can be a problem? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, is the tile too small for the image now? What happens if you re-assign the dataProvider after you've adjusted the slider, do the images appear? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gootish Sent: Thursday, November 03, 2005 4:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Resizing images in a TileList Hi, i have a little problem with a TileList in Flex 1.5. The cellrenderer of my TileList, is a Thumbnail.mxml that´s only has an mx:Image: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; horizontalAlign=center verticalGap=0 width=100% height=100% hScrollPolicy=off vScrollPolicy=off mx:Script var element:Object; var thumb:Object; function setValue(str: String, item: Object) { if (item==undefined) { visible = false; return; } else { element = item; thumb = element.REPRESENTACIONES; visible=true; } } /mx:Script mx:Image id=image width=100 height=100 source={thumb.THUMB} horizontalAlign=center verticalAlign=middle scaleContent=true/ /mx:VBox I have an mx:HSlider that´s determine the size of the tilelist´s items. When i change the value of HSlider, the size of items changed too, but the image dissapear. Anyone can help me? -- 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=C omputer+software+developmentw3=Software+design+and+developmentw4=Mac romedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz5l1Q Computer software development http://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7NcnaqQ Software design and development http://groups.yahoo.com/gads? t=msk=Software+design+and+developmentw1=Web+site+design+development w2=Computer+software+developmentw3=Software+design+and+developmentw4 =Macromedia+flexc=4s=126.sig=4g8hODKyQov1GXOxaXG2Sg Macromedia flex http://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+soft ware+developmentw3=Software+design+and+developmentw4=Macromedia+flex c=4s=126.sig=hhODNnONza_qi3x2OWe-Qg 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:flexcoders- [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] will we have access to makeplayerglobal script ?
Hello, exploring a little more in depth how Flex2 compilation work I found in ..\Flex2alpha1\plugins\zorn.codemodel_2.0.197\resources 2 very interesting files Global.as and playerglobal.as I don't know for others but for me these 2 files are more valuable than anyother AS3 documentation It help a lot to read these codes and their comments (even internal API SCRUB :)) to have a better understanding of how things are built. My concern about those files is that I was looking for if in ActionScript 3 we can do something like that - namespace StringExtension; StringExtension extend(String) function scramble():String {...} StringExtension extend(String) function unscramble():String {...} use namespace(StringExtension); var x:String = abc.scramble(); - as described here http://www.mozilla.org/js/language/es4/rationale/miscellaneous.html If we can not do that in AS3, can we at least have access to the makeplayerglobal script to build Global.abc and playerglobal.abc ? or can we vote to add some methods (very needed) to the Global object ? the rational behind that: Either with the Java framework or the .NET framework we have access to very usefull core class methods indexOfAny (String, Array), String.format, equals, etc. I think it could be usefull to system programmers to be able to implement such core methods to Global.as and perharps playerglobal.as it would reduce the platform shift a lot if you were used to code in .NET/Java And as I love to see a StringBuilder class in AS3, I would love also to be able to use String::equals, String::copyTo, String::copy etc. When I see in Global.as /** * @private Central API */ public native function endswith(endString:String):Number; // Central API but I don't see any startswith method I really wonder how I could add such a method with AS1, it's easy , you juste need to define it in the prototype with AS2, it's a little less easy, but you can still do it you modify the intrinsic class, and you include a AS1 file which implement the functionnality with AS3 ? what option do we have ? Even if I understand fully that those core objects need to be native and not overloaded to assure speed , I would like to have an option to add to them the logic is simple when I look to the .Net String class I don't care if the class is sealed/final all the options that I find usefull are already defined in the class but when I look to the AS3 String class I feel stuck because a lot of basic and usefull methods are missing if we could augment the Global.as and playerglobal.as AS3 programmer could implement something as Mono but for Flex2. zwetan Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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]
Hi All! I have a problem with return value in my function inside in my class. In my class business I have the following function: public function ListBible():String { webservice = DataAcess.wsHelper(Common.getDomain(1)); var call:Object = webservice.GetBookTitles(); call.resultHandler = function (event:ResultEvent):Void { // I want return the value event.result, but only see the value inside this scope. } } Another class call this function. Thank You! Sérgio Vasquez, Analista e Desenvolvedor de Software Hexa Solution t: +55 (0xx11) 3129 4040 f: +55 (0xx11) 3129 4040 e: [EMAIL PROTECTED] p: [EMAIL PROTECTED] w: www.hexasolution.com.br -- 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: Brocade Case Study
Ya know, its funny. As developers this isnt a value you think of first hand, but I have to saw clients love that they get a demonstrable product very early in the development cycle. Now they are out there generating leads and revenue before the offering is even complete. There are others who also espouse a similar approach. One of them that comes to mind is Jason Fried of 37 signals. He refers to a similar approach as being top down but its basically the same idea. Drive requirements out of the user experience and get that experience into the users hands very early in the process. He has a nice podcast on this here. http://www.itconversations.com/shows/detail471.html So yes this is not a common approach but you will find other thought leaders such as 37 signals (probobly one of the best user experience groups around) who are of a like mind. Our approach comes from melding together a bunch of experience from a bunch of our folks who come from some pretty major development firms (Microsoft, Oracle, Sybase, IBM, BAH, Staples.com, etc). I like to think of it as brain stew wink -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, michael457728 [EMAIL PROTECTED] wrote: Dave Thanks for your reply, I like your front to back approach as it enables you to go out and generate customer awarness whilst the product is still in development. It sounds like you are alone in your front to back design, what are the objections to it? Mike --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: It can be difficult because the devil is often in the details. What we do with our clients is what we refer to as a Model Design. In the MD we develop the entire user interface, bind to static data, include a functional spec, data model, test plan and a project plan. Its the project plan you really need to figure out the engire cost. We've done quite a few of these and they are very popular. Thats because you not only have a price, but every pre-cursor you need to kick off developing the application the next morning. I will tell you that until you work through all the validations, data requirements, flow, security, etc all your estimates will me moot. Take Brocade as an example. Where is the data coming from? How real time is it? How much EAI is involved. Is the data model existing? How about the SOA? What platform? How stringent is the security, etc. In any case, I wish I could give you a side of the barn estimate. This is why we push so hard for folks to push through the front-to-back LookFirst Model Design kind of approach to developing RIA's. We know they work and can point to real proof. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, michael457728 [EMAIL PROTECTED] wrote: Can anyone give me an idea how long it would take and what budget you would need to have an app like the Brocade link below developed? http://flexapps.macromedia.com/flex/brocade/app.mxml I realise that its a difficult question but I just want to get a gut feeling for the size of cash you would guys think it would need. Thanks Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Can I Capture f5 keyboard event in actionScript
Not even fscommand(trapallkeys, true); will work?(just curious)On 11/7/05, Mika Kiljunen [EMAIL PROTECTED] wrote: If you run flex on flashplayer running on IE it won't work, since IE "swallows" the F5 keypress and refreshes the web page on F5. Same problem with ESC. -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of manish Sent: 7. marraskuuta 2005 14:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] Can I Capture f5 keyboard event in actionScript Hi all, I need to capture F5 event.Can i do this in flex. I will really appreciate if someone will help me in this regard Thanks Manish Jain -- 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 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 . -- John C. Bland II -- 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 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]
Sergio, call.resultHandler will be called later once the result comes back from the server. it is an *asynchronous* call. this means you cannot return the value in the first function because it will take some time to be available. take a look at the docs and you will find plenty of examples on how to handle this type of situations. On 11/7/05, Sergio Vasquez [EMAIL PROTECTED] wrote: Hi All! I have a problem with return value in my function inside in my class. In my class business I have the following function: public function ListBible():String { webservice = DataAcess.wsHelper(Common.getDomain(1)); var call:Object = webservice.GetBookTitles(); call.resultHandler = function (event:ResultEvent):Void { // I want return the value event.result, but only see the value inside this scope. } } Another class call this function. Thank You! Sérgio Vasquez, Analista e Desenvolvedor de Software Hexa Solution t: +55 (0xx11) 3129 4040 f: +55 (0xx11) 3129 4040 e: [EMAIL PROTECTED] p: [EMAIL PROTECTED] w: www.hexasolution.com.br -- 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. -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Brocade Case Study
37 Signals is great for UI, no doubt, but those boys seem to have a serious antiFlash angle on web applications. -Original Message- ... So yes this is not a common approach but you will find other thought leaders such as 37 signals (probobly one of the best user experience groups around) who are of a like mind. ... Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Dynamic MXML loading
If the forms all use a smaller vocabulary than MXML itself, you would be better off writing a small form description in XML, storing that description in the database, loading at runtime, and using that description to dynamically instantiate the various MXML components. Server-side compilation was (arguably) much more effective for rapid prototyping, and the cost (memory+CPU) of deploying an app in the way you've described will be very very high. In Flex 2, we've moved to a compile within the toolchain, -then- deploy to the server model. This is a far more efficient model in my opinion, so if you have any future plans to move to Flex 2, you may want to take this revised architecture into account. -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of varalakshmi_palani Sent: Sunday, November 06, 2005 9:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Dynamic MXML loading Thank you for your response. I understand that we are losing out on some good features of RIA with this approach, however there is a business reason behind having to do this. In the application there are no standard set of screens. The screen controls and the data to be displayed (mapped from a library of objects) will be configurable outside the development environment. So there is a need to generate and store the MXML and load dynamically on request. The other possibility is to write the MXML created from the tool into the webserver path, which means that these files will have to be packaged in a war file or hot deployed. Repacking and re-deploying is not acceptable. Hot deployement is an another option. Please suggest other options you can think on this. Thanks, Varalakshmi. --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: I think you might want to step back and decide if you really want to use this approach. One of the biggest advantages of a RIA interface is to avoid the request/response style of building web applications. What you are looking to do here is a direct analog to that request/response traditional web style of development and is kind of a step back rather then forward. Worse off, going to a controller servlet which dynamically builds MXML, compiles it, retuns the SWF embedded inside a dynamicaly built JSP etc is IMHO going to be a dog. I can tell you that in production we pre-compile all MXML into swf's. The JIT MXML compiler isnt exactly performant. Roll in that you have to build the MXML dynamically in a servlet, then render it inside a JSP, then have it comiled, downloaded, etc. For a bonus, every screen loaded also now required database I/O, which is always the slowest concern in a web application. Continue on with the fact you likely are much more dependant on an HTTP session object to maintain state, blah blah. I would seriously review your design and decide for yourself if you want to develop a RIA this way. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, varalakshmi_palani [EMAIL PROTECTED] wrote: Hi All, I have a requirement to dynamically load mxml at runtime. We use a custom tool to generate MXML code for various screens. The MXML sources thus generated are stored as an XML Objects in the database associated with a screen ID. For. eg. Screen Code | MXML source stored as XML object --- S001 | (XML Object) MXML source code for Screen 1 S002 | (XML Object) MXML source code for Screen 2 The screens will be accessed calling a common servlet and passing the screen ID to it. The servlet is responsible for a) fetching the XML object corresponding to the screen id from the database b) dispatching the request to a JSP with the XML String thus fetched. The called JSP should render the XML String using Flex Tag Libs as shown below, %@ taglib uri=FlexTagLib prefix=mm % % String mxmlString=request.getParameter(mxml); // mxml is the name of the attribute that holds the XML String % mm:mxml %=mxmlString% /mm:mxml The problem we are facing is that the MXML does not get rendered properly. Supposing the MXML source is as shown below, mx:Application xmlns:mx='http://www.macromedia.com/2003/mxml' mx:Panel height='600' width='600' title='test' id='Panel1' mx:TextInput id='TextInput2' / mx:DataGrid id='DataGrid3' / /mx:Panel mx:TextInput id='TextInput3' / /mx:Application The MXML embedded in the JSP only displays the direct children of the Application. In the
[flexcoders] Re: Tab Navigator or LinkBar text color after selection
For the linkbar try the disabledColor style. I tried disabledColor with LinkBar, and failed...mx:LinkBar id="lb1" dataProvider="{['Flex','Flash','Dreamweaver','Breeze']}" disabledColor=""="#FF"/When I see at http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.htmlthat disabledColor works in combination with LinkBar... I just cannot repeat it in my application.Bummer! --With flex regards,Andriy Panas -- 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: Brocade Case Study
Yup, no doubts. Not everyone can be totally enlightened smile. He just wanted to know if other folks ever approached development using a front-to-back style other then us and was it common. No one likes to feel like they are too much off on a flyer. I can dig that. The net-net though is there are a few others who take a similar approach. I wouldnt call it common, but I would say it has a following from other thought leaders in rich app development. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Tim Beynart [EMAIL PROTECTED] wrote: 37 Signals is great for UI, no doubt, but those boys seem to have a serious antiFlash angle on web applications. -Original Message- ... So yes this is not a common approach but you will find other thought leaders such as 37 signals (probobly one of the best user experience groups around) who are of a like mind. ... Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Custom components in Flex 2
Hi there, I've been trying to create a simple custom component in Flash 8 (IDE) and embed it into my mxml project (Flex Builder 2) but have been unable to make it work. I have tried both using Flex 1.5 and 2.0 Alpha but to no avail. I followed this tutorial step-by-step (http://download.macromedia.com/pub/documentation/en/flex/15/flex_components_themes.pdf) but every time I try to compile the application, I get an error. Embed Code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* greensquare/ /mx:Application Error in Flex 2: After adding the component to the library the IDE let's me compile but stops in the middle with the following error message: Errors exist in required project: greentest. No more detail is given and the red error dot in the IDE is not showing up either. Error in Flex 1.5: Don't know how to parse element: greensquare. it's not a knows type or property... I know the component works because I can use it in the Flash IDE. Also, I have verified that the class path is set correctly. I have looked everywhere but haven't been able to find a solution. Has anyone had success creating custom components in Flash IDE for Flex? Thanks, Kai -- - Kai Christian r E-Mail: [EMAIL PROTECTED] Phone: 617.423.6200 x 112 Productorials, Inc.Fax: 617.507.8577 374 Congress StreetMobile: 617.792.6327 Suite 304 WWW: www.productorials.com Boston, MA 02210 Skype:callto:kaipradel - Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Repeater endIndex ?
Hi All, I have a situation where in I get data from database as an array of VO of length more than 5 but I have to display only first 5 records. Is there any way to ask repeater to stop at index 4? Is there any repeater property like endIndex as opposite to startIndex. I need those extra records for some other comparisons and calculations. Thanks! Hari -- 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] Custom components in Flex 2
This recipe is for Flex 1.5. There is no way to combine the AS2 code generated in Flash 8 with the AS3 code used in Flex 2. The supported interaction for associating a Flash 8 asset with a component is basically as follows: 1) Build an asset in Flash 8, with no code. 2) Convert it to a symbol. 3) Set its properties such that it is exported with a name, say foo. 4) Export it in a SWF, say assets.swf. 5) Create a new actionscript file, perhaps Foo.as: // Foo.as package { [Embed(source='assets.swf', symbol='foo')] public class Foo extends mx.core.SkinSprite { } ] 6) Add your new component to the MXML: Foo / There are some other ways to do this, but essentially you'll need to keep all the code on the Flex 2 side, and only deal with the assets on the Flash 8 side. This is a temporary and somewhat awkward period where versions are a bit out of sync. Once the next version of Flash Authoring is out and supporting AS3, you'll be able to mix-n-match more easily. -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kai Pradel Sent: Monday, November 07, 2005 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom components in Flex 2 Hi there, I've been trying to create a simple custom component in Flash 8 (IDE) and embed it into my mxml project (Flex Builder 2) but have been unable to make it work. I have tried both using Flex 1.5 and 2.0 Alpha but to no avail. I followed this tutorial step-by-step (http://download.macromedia.com/pub/documentation/en/flex/15/f lex_components_themes.pdf) but every time I try to compile the application, I get an error. Embed Code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* greensquare/ /mx:Application Error in Flex 2: After adding the component to the library the IDE let's me compile but stops in the middle with the following error message: Errors exist in required project: greentest. No more detail is given and the red error dot in the IDE is not showing up either. Error in Flex 1.5: Don't know how to parse element: greensquare. it's not a knows type or property... I know the component works because I can use it in the Flash IDE. Also, I have verified that the class path is set correctly. I have looked everywhere but haven't been able to find a solution. Has anyone had success creating custom components in Flash IDE for Flex? Thanks, Kai -- - Kai Christian r E-Mail: [EMAIL PROTECTED] Phone: 617.423.6200 x 112 Productorials, Inc.Fax: 617.507.8577 374 Congress StreetMobile: 617.792.6327 Suite 304 WWW: www.productorials.com Boston, MA 02210 Skype:callto:kaipradel - Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] DropShadow in 1.5
I cannot for the life of me finding where this symbol is used in the 1.5 framework. I see the DropShadow class, and the symbol reference in the mx.core.View... but who the heck attaches it? Searching through classes via FlexBuilder's class drop down is nightmarish... please help. Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Flash Player - Desktop integration... SDK?
Hi all, Sorry for the strange question.. I couldn't find any info on this anywhere else. When I look at the Design view in Flex Builder... is it being rendered by some variation of the flash player? if so, how does it integrate with Java? I guess it is internal stuff. But, is there any java/c++/py etc SDK planned for the future? The new player + framework are starting to become an attractive UI alternative for some desktop applications... Does central appear somewhere on this road in the future? Thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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]
Thank You!Now I understood why my function don't return a value.The server is delayed and my function has that to inform when was processed it can catch the value. public function ListBible():String { webservice = DataAcess.wsHelper(Common.getDomain(1)); var call:Object = webservice.GetBookTitles(); call.resultHandler = function (event:ResultEvent):Void { dispatchEvent(new Event( EventType.COMPLETE)); }} Now another doubt.How I could be passing the value for event dispatchEvent?In my class I created a public variable where I pass the value of the function.I think that this is not elegant. Thank You!ps. Sorry my English.On 11/7/05, Aldo Bucchi [EMAIL PROTECTED] wrote: Sergio, call.resultHandler will be called later once the result comes back from the server. it is an *asynchronous* call. this means you cannot return the value in the first function because it will take some time to be available. take a look at the docs and you will find plenty of examples on how to handle this type of situations. On 11/7/05, Sergio Vasquez [EMAIL PROTECTED] wrote: Hi All! I have a problem with return value in my function inside in my class. In my class business I have the following function: public function ListBible():String { webservice = DataAcess.wsHelper(Common.getDomain(1)); var call:Object = webservice.GetBookTitles(); call.resultHandler = function (event:ResultEvent):Void { // I want return the value event.result, but only see the value inside this scope. } } Another class call this function. Thank You! Sérgio Vasquez, Analista e Desenvolvedor de Software Hexa Solution t: +55 (0xx11) 3129 4040 f: +55 (0xx11) 3129 4040 e: [EMAIL PROTECTED] p: [EMAIL PROTECTED] w: www.hexasolution.com.br -- 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. -- : 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 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 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 / DataGrid with growing cells problem
I'm trying to create a List (and then a DataGrid) that can have some cells that grow in height(an actually get additional child elements) in response to some user gesture. I have a custom row renderer and cell renderer, and when I add the child elements the cell does grow, but does so by adding scrollbars instead of asking for more vertical space from it's containment hierarchy. From reading messages #11346 and #11374, it looks like this has been tried before, without resolution. I think that it's got to be something non-obvious but easy, since word wrapping text in a List control does exactly the right thing (grows the cell as needed), so it is doable. Can someone please help me discover the missing piece of the puzzle? Thanks Steve Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex 1.5 - n checkboxes
Thanks, Matt. I was working on such a loop, but I like that valueCommitted idea better. But I haven't been able to figure out how to trigger valueCommitted for the checkboxes, since there is no focus to be lost. - RichardOn 11/3/05, Matt Chotin [EMAIL PROTECTED] wrote: So there will be an array on your document called role and you could loop through it and grab the name and selected state. Var selectedRoles:Array = []; For (var i:Number=0; I role.length; i++) { If (role[i].selected) { selectedRoles.push([role[i].label); } } But yes, it's better to store these things in a Model or just update the user directly: mx:CheckBox id="role" label="{rolesList.currentItem}" selected="{user.hasRole(rolesList.currentItem)}" valueCommitted="user.setRole(event.target.getRepeaterItem(), event.target.selected)" / Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Wednesday, November 02, 2005 4:40 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex 1.5 - n checkboxes No, my requirements are simple. An Edit User panel with checkboxes for all the roles the user has. I have the check boxes rendering as follows mx:Repeater id=rolesList dataProvider={allroles} mx:CheckBox id=role label={rolesList.currentItem} selected={user.hasRole(rolesList.currentItem)} / /mx:Repeater Now, I need to submit the form, and call user.setRoles() with an array of the the checked roles. Right now there roles are just strings, but they should probably be Role objects. Presumably I will need a submit handler that iterates over the checkboxes looking at their selected state and building the array of checked ones. I don't know how to do that yet, but I'm sure I can figure it out. It would be nifty if there was a more automatic way to do this. Thanks, Richard On 11/2/05, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi Richard, I recently completed a project in which we had to dynamically build form selection elements based on different control types (eg. checkboxes, radio buttons, etc...). The data model we worked with provided us with the string name of the control type to use, and the appropriate data structure to populate the control type(s). Solution I came up with was to (as you mention you might have to do) create the form elements using actionscript, more specifically the createChild method. I created a custom instance of each control type, and added some additional properties to it, the most important being the data property it needed to affect. Inside the custom control, I had my change event directly modify the data property that was passed in. Because the reference was passed in, this essentially bound that change to the data model it came from. Problem solved. Your requirements may be slightly different as it sounds like you already know what type of control you need to render. In this case, I would imagine you could use a repeater tag and have it's children be the custom check box you're creating, and pass in the object property reference that needs to be changed. Hope this helps you... Brendan --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Yes, as I mentioned, I am using the repeater tag. But the data provider for it is the list of all possible roles. I'm interested in the process of mapping the checked items to an array of objects (strings or value objects). I'm guessing there's no way around using Actionscipt to populate the form from the model and vice versa. - Richard On 11/2/05, Matt Chotin [EMAIL PROTECTED] wrote: Check out the Repeater tag. -- *From:* flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Richard Rodseth *Sent:* Wednesday, November 02, 2005 9:07 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex 1.5 - n checkboxes Is there a slick way to bind a variable number of checkboxes to an array of value objects in a data model? Example: user has an array of roles. Display a list of checkboxes I see how to use repeaters to render the checkboxes, but I'm unclear on the best way to capture the user selections. Thanks -- 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 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:
RE: [flexcoders] How to prevent events from passing through upper components
Is this normal behavior? Since I am handling mousedown events on the TitleWindow, I figured that no mousedown events should make it to any components below my Container. If a MovieClip is the only way is there some good online references that describe how to work with MovieClips? I am new to flex and have not worked with flash at all. Thanks, Dan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt FreerSent: Saturday, November 05, 2005 5:16 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to prevent events from passing through upper components Hey,In ActionScript 2.0 you would achieve this by ensuring that yourTitleWindow contained a MovieClip that was made up of a solid (filled)shape (e.g. a rectangle).You would then ensure that the MovieClip in question trapped therelevant mouse events:e.g. my_rectangle.>my_rectangle.useHandCursor = false;my_rectangle.enabled = false;I'd be interested to know if there is another way to achieve this in AS3?CheersMattOn 11/5/05, dandiodati [EMAIL PROTECTED] wrote: I have a TitleWindow object that is not a popup window, but is in a canvas and floating over other content. When I click on parts of the TitleWindow it appears that mouse events get passed through the TitleWindow to components behind it. Is this correct behavior or a bug? And is there a way to prevent events from passing through the TitleWindow? I'm running into this because I need to perform an effect on a TitleWindow, but effects do not work on Popup modal windows, so I had to make my own. This works except for events passing through to components behind. Any Ideas? -- 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] DropShadow in 1.5
I believe that this is done by the skin. So in most cases it is in mx.skins.halo.RectBorder -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, November 07, 2005 4:37 PM To: Flexcoders Subject: [flexcoders] DropShadow in 1.5 I cannot for the life of me finding where this symbol is used in the 1.5 framework. I see the DropShadow class, and the symbol reference in the mx.core.View... but who the heck attaches it? Searching through classes via FlexBuilder's class drop down is nightmarish... please help. -- 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 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Flash Player - Desktop integration... SDK?
Don't know about design view, but Flash for desktop UI has been something I've always enjoyed doing. Worked great for C++ apps, and worked great with VB; both of which used XMLSocket. I've used fscommand in the past, simply respecting what C++ told me to do, same with Centura. Now, however, ExternalInterface makes this a lot easier to get syncronous communication with real data objects. Check it out. - Original Message - From: Aldo Bucchi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 5:40 PM Subject: [flexcoders] Flash Player - Desktop integration... SDK? Hi all, Sorry for the strange question.. I couldn't find any info on this anywhere else. When I look at the Design view in Flex Builder... is it being rendered by some variation of the flash player? if so, how does it integrate with Java? I guess it is internal stuff. But, is there any java/c++/py etc SDK planned for the future? The new player + framework are starting to become an attractive UI alternative for some desktop applications... Does central appear somewhere on this road in the future? 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 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Cellrenderer For ComboBox
OK, just because you already stated that you looked at the source code, I hope posting the code here is not going to be such a big offence - I recall few people exchanging messages on how you can do it with debugger, etc. I am going to post a little bit more generic code - allowing you to show DATAGRID as a dropdown. Also, please note that this code is targeted toward wider audience allowing you to define cellrenderers along with other column attributes via mxml as well. Finally, this is going to show you the end of very long rope - please use caution not to explore it to much as it is going to become a problem during migration to Flex 2. Step 1. Create custom ComboBox and define __columns property on it / import mx.controls.ComboBox; import mx.controls.DataGrid; import mx.controls.gridclasses.DataGridColumn; import mx.core.UIObject; import mx.effects.Tween; import mx.managers.PopUpManager; import mx.styles.CSSStyleSheet; class common.DGComboBox extends ComboBox { var __columns:Array; var showHeaders :Boolean = false; [Inspectable(arrayType=DataGridColumn, category=Other, verbose=1)] [ChangeEvent(columnsChanged)] function get columns() : Array { return __columns; } function set columns(a:Array) { __columns = a; setDropdownColumns(); dispatchEvent({type:columnsChanged}); } function setDropdownColumns() { if (__dropdown == undefined __columns != undefined) return; __dropdown.columns = __columns; } //-- Creation (dropdown) --- function getDropdown() : Object { if (!initialized) return undefined; if (!hasDropdown()) { var o = new Object(); o.styleName = this; var nonInheritingStyleSheet:CSSStyleSheet = new CSSStyleSheet(); // preilly: the following line is a workaround for what seems like a AS // compiler bug. var dropdownBorderStyle = this.dropdownBorderStyle; if (dropdownBorderStyle != undefined) { o.borderStyle = dropdownBorderStyle; nonInheritingStyleSheet.factory = function() { return { borderStyle: dropdownBorderStyle, selectionDuration: 0, cornerRadius: 5 }; }; } else { nonInheritingStyleSheet.factory = function() { return { selectionDuration: 0, cornerRadius: 5 }; }; } o.nonInheritingStyleSheet = nonInheritingStyleSheet; o.visible = false; // Don't display a tween when the selection changes. The dropdown // menu is about to appear anyway, and other processing can make // the tween look choppy. o.selectionDuration = 0; // THIS IS OVERRIDE - BEWARE o.showHeaders = showHeaders; __dropdown = PopUpManager.createPopUp(this, DataGrid, false, o, true); // Have to destroy the List Box's mask since we also // have a mask and masks inside masks don't work on Win XP. Player Bug. // Make sure this is done before calling super.createChildren(). __dropdown.scroller.mask.removeMovieClip(); // Set up a data provider in case one doesn't yet exist, so we can share it with the dropdown listbox. if (dataProvider == undefined) dataProvider = new Array(); __dropdown.setDataProvider(dataProvider); __dropdown.selectMultiple = false; __dropdown.rowCount = rowCount; __dropdown.width = __dropdownWidth; __dropdown.selectedIndex = selectedIndex; __dropdown.vScrollPolicy = auto; __dropdown.labelField = __labelField; __dropdown.labelFunction = __labelFunction; __dropdown.owner = this; __dropdown.changeHandler = _changeHandler; __dropdown.addEventHandler(change); __dropdown.scrollHandler = _scrollHandler; __dropdown.addEventHandler(scroll);
[flexcoders] FlashPlayer 7 Security Issue versus debug player and other platforms
With the exploit listed below, there seems to be a solution path for those who run the normal player on common platforms. What about those who run either the debug player OR run flash on other platorms such as Linux? I guess this will improve the adoption rate of FP8. Wish FP8.5 was already out to take advantage of this. ;-) MPSB05-07 Flash Player 7 Improper Memory Access Vulnerability Learn more: http://www.macromedia.com/go/mpsb05-07 Summary: A vulnerability in Macromedia Flash Player 7 has been identified that could allow the execution of arbitrary code. ~~~ Solution: The current version of Macromedia Flash Player (8.0.22.0) contains a fix for the vulnerability. Users who have already upgraded to Flash Player 8 are not affected by this issue. Macromedia recommends all Flash Player 7 and earlier users upgrade to this new version, which can be downloaded from the Macromedia Player Download Center. For customers with operating systems that do not support Flash Player 8 (Microsoft Windows 95, Microsoft Windows NT, or classic Macintosh operating systems), please refer to the Flash Player 7 update TechNote. Macromedia Player Download Center: http://www.macromedia.com/go/getflashplayer Flash Player 7 Update TechNote: http://www.macromedia.com/go/d9c2fe33 ~~~ Receiving Security Bulletins: When Macromedia becomes aware of a security issue that we believe significantly affects our products or customers, we will notify customers when appropriate. Typically this notification will be in the form of a security bulletin explaining the issue and the response. Macromedia customers who would like to receive notification of new security bulletins when they are released can sign up for our security notification service. For additional information on security issues at Macromedia, please visit: www.macromedia.com/resources/security ANY INFORMATION, PATCHES, DOWNLOADS, WORKAROUNDS OR FIXES PROVIDED BY MACROMEDIA IN THIS BULLETIN ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND. MACROMEDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED OR OTHERWISE, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ALSO, THERE IS NO WARRANTY OF NON-INFRINGEMENT, TITLE OR QUIET ENJOYMENT. (USA ONLY) SOME STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION MAY NOT APPLY TO YOU. IN NO EVENT SHALL MACROMEDIA, INC. OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, PUNITIVE, COVER, LOSS OF PROFITS, BUSINESS INTERRUPTION OR THE LIKE, OR LOSS OF BUSINESS DAMAGES, BASED ON ANY THEORY OF LIABILITY INCLUDING BREACH OF CONTRACT, BREACH OF WARRANTY, TORT(INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR OTHERWISE, EVEN IF MACROMEDIA, INC. OR ITS SUPPLIERS OR THEIR REPRESENTATIVES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. (USA ONLY) SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE EXCLUSION OR LIMITATION MAY NOT APPLY TO YOU AND YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY FROM STATE TO STATE. Macromedia reserves the right, from time to time, to update the information in this document with current information. Macromedia Support, Privacy, and Unsubscribe Information Macromedia Support: http://www.macromedia.com/support/ Macromedia and your privacy: http://www.macromedia.com/help/privacy.html Contact Macromedia: Thank you for your continued interest in Macromedia products. If you'd rather not receive updates about events, classes, or products, write to [EMAIL PROTECTED] and type no thanks in the Subject line. You may also change your communication preferences by visiting this web page: http://www.macromedia.com/go/[EMAIL PROTECTED] Macromedia, 601 Townsend St., San Francisco, California 94103 Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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:
[flexcoders] AsUnit 3.0 alpha released!
Hey Folks,I'm elated to announce the alpha release of AsUnit 3.0! This build has been completely rebuilt from the ground up using the JUnit sources, and provides complete support for ActionScript 3.0!You can get the latest build from:http://prdownloads.sourceforge.net/asunit/AsUnit-3.0.1.alpha.zip?download Or, as always, you can go to www.asunit.org to get the sources. Thanks, Luke Bayes Ali Mills www.asunit.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS 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] Flash Player - Desktop integration... SDK?
Hi Jesse, Great to know you've done it... ;) Do you have any idea on how to make a Desktop Flash UI accept drag and drop from an external app... or access the clipboard? best, aldo On 11/7/05, JesterXL [EMAIL PROTECTED] wrote: Don't know about design view, but Flash for desktop UI has been something I've always enjoyed doing. Worked great for C++ apps, and worked great with VB; both of which used XMLSocket. I've used fscommand in the past, simply respecting what C++ told me to do, same with Centura. Now, however, ExternalInterface makes this a lot easier to get syncronous communication with real data objects. Check it out. - Original Message - From: Aldo Bucchi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 5:40 PM Subject: [flexcoders] Flash Player - Desktop integration... SDK? Hi all, Sorry for the strange question.. I couldn't find any info on this anywhere else. When I look at the Design view in Flex Builder... is it being rendered by some variation of the flash player? if so, how does it integrate with Java? I guess it is internal stuff. But, is there any java/c++/py etc SDK planned for the future? The new player + framework are starting to become an attractive UI alternative for some desktop applications... Does central appear somewhere on this road in the future? 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 Yahoo! Groups Links -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Flash Player - Desktop integration... SDK?
Is there a big advantage to using Visual Basic over on of the projector tools?ManiOn 11/7/05, JesterXL [EMAIL PROTECTED] wrote: Don't know about design view, but Flash for desktop UI has been something I've always enjoyed doing. Worked great for C++ apps, and worked great with VB; both of which used XMLSocket. I've used fscommand in the past, simply respecting what C++ told me to do, same with Centura. Now, however, ExternalInterface makes this a lot easier to get syncronous communication with real data objects. Check it out. - Original Message - From: Aldo Bucchi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 5:40 PM Subject: [flexcoders] Flash Player - Desktop integration... SDK? Hi all, Sorry for the strange question.. I couldn't find any info on this anywhere else. When I look at the Design view in Flex Builder... is it being rendered by some variation of the flash player? if so, how does it integrate with Java? I guess it is internal stuff. But, is there any java/c++/py etc SDK planned for the future? The new player + framework are starting to become an attractive UI alternative for some desktop applications... Does central appear somewhere on this road in the future? 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 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] Flash Player - Desktop integration... SDK?
Checkout Zinc: http://www.multidmedia.com/software/zinc/. I think it has the biggest feature-set available, could be very wrong. On 11/7/05, JesterXL [EMAIL PROTECTED] wrote: mProjector allows drag and drop... and I think Screenweaver did too. Not sure about clipboard... :: looks :: Yeah, mProjector does; in Flex, you'd do: var str:String = _global.mSystem.getClipboard(); - Original Message - From: Aldo Bucchi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 9:04 PM Subject: Re: [flexcoders] Flash Player - Desktop integration... SDK? Hi Jesse, Great to know you've done it... ;) Do you have any idea on how to make a Desktop Flash UI accept drag and drop from an external app... or access the clipboard? best, aldo On 11/7/05, JesterXL [EMAIL PROTECTED] wrote: Don't know about design view, but Flash for desktop UI has been something I've always enjoyed doing. Worked great for C++ apps, and worked great with VB; both of which used XMLSocket. I've used fscommand in the past, simply respecting what C++ told me to do, same with Centura. Now, however, ExternalInterface makes this a lot easier to get syncronous communication with real data objects. Check it out. - Original Message - From: Aldo Bucchi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 5:40 PM Subject: [flexcoders] Flash Player - Desktop integration... SDK? Hi all, Sorry for the strange question.. I couldn't find any info on this anywhere else. When I look at the Design view in Flex Builder... is it being rendered by some variation of the flash player? if so, how does it integrate with Java? I guess it is internal stuff. But, is there any java/c++/py etc SDK planned for the future? The new player + framework are starting to become an attractive UI alternative for some desktop applications... Does central appear somewhere on this road in the future? 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 Yahoo! Groups Links -- : 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 . -- John C. Bland II -- 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] Services.mxml flex-config.xml issues
I'm trying to access a RemoteObject. In flex-config.xml, I have the following under remote-objectswhitelist: named object name=UserDelegate sourcecom.charged.infuse.delegate.UserDelegate/source typestateless-class/type use-custom-authenticationtrue/use-custom-authentication roles roleUser/role /roles /object /named And my Services.mxml looks like: business:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:business=com.charged.infuse.business.* mx:RemoteObject id=userDelegateService 10: named=UserDelegate result=event.call.resultHandler(event) fault=event.call.faultHandler(event) showBusyCursor=true /mx:RemoteObject /business:ServiceLocator However, when accessing my applicaiton, I get the following error: Error /usr/local/jboss-4.0.3SP1/server/infuse/deploy/infuse.ear/infuse.war/com/ charged/infuse/business/Services.mxml:10 Invalid value for 'named' - does not match any object name from the configuration file. I find this troubling because it obviously matches. I don't expect anyone to be able to answer this right away on their own without seeing my whole project, but I would appreciate any suggestions because this has me stumped. Todd Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] test
Please ignore. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Custom components in Flex 2
Hi Roger, I've noticed that in 1.5 if you define a MovieClip (sprite collection?) for a skin, that makes up 3 pieces (mc_left, mc_middle, mc_right) that the framework seems to scale it, rather then test for a setSize() on that sprite? ie mx.controls.Button for one seems to do this. Has this also been the case with FLEX 2.0? On 11/8/05, Roger Gonzalez [EMAIL PROTECTED] wrote: This recipe is for Flex 1.5.There is no way to combine the AS2 code generated in Flash 8 with theAS3 code used in Flex 2.The supported interaction for associating a Flash 8 asset with acomponent is basically as follows: 1) Build an asset in Flash 8, with no code.2) Convert it to a symbol.3) Set its properties such that it is exported with a name, say foo.4) Export it in a SWF, say assets.swf. 5) Create a new actionscript file, perhaps Foo.as:// Foo.aspackage{ [Embed(source='assets.swf', symbol='foo')] public class Foo extends mx.core.SkinSprite { }]6) Add your new component to the MXML:Foo /There are some other ways to do this, but essentially you'll need tokeep all the code on the Flex 2 side, and only deal with the assets on the Flash 8 side.This is a temporary and somewhat awkward period whereversions are a bit out of sync.Once the next version of FlashAuthoring is out and supporting AS3, you'll be able to mix-n-match more easily.-RogerRoger Gonzalezmailto:[EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kai Pradel Sent: Monday, November 07, 2005 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom components in Flex 2 Hi there, I've been trying to create a simple custom component in Flash 8 (IDE) and embed it into my mxml project (Flex Builder 2) but have been unable to make it work. I have tried both using Flex 1.5 and 2.0 Alpha but to no avail. I followed this tutorial step-by-step ( http://download.macromedia.com/pub/documentation/en/flex/15/f lex_components_themes.pdf) but every time I try to compile the application, I get an error. Embed Code: ?xml version= 1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* greensquare/ /mx:Application Error in Flex 2: After adding the component to the library the IDE let's me compile but stops in the middle with the following error message: Errors exist in required project: greentest. No more detail is given and the red error dot in the IDE is not showing up either. Error in Flex 1.5: Don't know how to parse element: greensquare. it's not a knows type or property... I know the component works because I can use it in the Flash IDE. Also, I have verified that the class path is set correctly. I have looked everywhere but haven't been able to find a solution. Has anyone had success creating custom components in Flash IDE for Flex? Thanks, Kai -- - Kai Christian r E-Mail:[EMAIL PROTECTED] Phone:617.423.6200 x 112 Productorials, Inc.Fax:617.507.8577 374 Congress StreetMobile: 617.792.6327 Suite 304WWW: www.productorials.com Boston, MA 02210 Skype:callto:kaipradel - Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM -- --~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~---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/ -- Regards,Scott Barneshttp://www.mossyblog.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
[flexcoders] Can you nest viewstacks
Is it possible to take one viewstack and put another viewstack inside it like say you choose one menu and a menu appears below it? -- 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] Can you nest viewstacks
Have you tried it? What happened? Yes, you can do this, just curious what happened when you tried it. - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 11:25 PM Subject: [flexcoders] Can you nest viewstacks Is it possible to take one viewstack and put another viewstack inside it like say you choose one menu and a menu appears below it? -- 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] Flash Player - Desktop integration... SDK?
Not sure of VB's depencys, but VB can do sooo many things, whereas Flash projectors... not so much. Most Flash projectors we're created to do things Flash couldn't; like read text files, integrate with the desktop better via positioning and sizing. VB, at least 6, was awesome; it could do a lot of things C could do, only it was easier to write. Now, however, Microsoft is pushing .NET I think, so VB's old. - Original Message - From: Manuel Saint-Victor To: flexcoders@yahoogroups.com Sent: Monday, November 07, 2005 8:38 PM Subject: Re: [flexcoders] Flash Player - Desktop integration... SDK? Is there a big advantage to using Visual Basic over on of the projector tools?Mani On 11/7/05, JesterXL [EMAIL PROTECTED] wrote: Don't know about design view, but Flash for desktop UI has been something I've always enjoyed doing. Worked great for C++ apps, and worked great with VB; both of which used XMLSocket. I've used fscommand in the past, simply respecting what C++ told me to do, same with Centura.Now, however, ExternalInterface makes this a lot easier to get syncronous communication with real data objects. Check it out.- Original Message - From: "Aldo Bucchi" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, November 07, 2005 5:40 PMSubject: [flexcoders] Flash Player - Desktop integration... SDK?Hi all,Sorry for the strange question.. I couldn't find any info on this anywhere else.When I look at the Design view in Flex Builder... is it being renderedby some variation of the flash player? if so, how does it integratewith Java?I guess it is internal stuff. But, is there any java/c++/py etc SDKplanned for the future?The new player + framework are starting to become an attractive UIalternative for some desktop applications...Does central appear somewhere on this road in the future?Thanks,Aldo--: Aldo Bucchi :mobile (56) 8 429 8300--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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.
RE: [flexcoders] Flex2: TitleWindow close button click event error
I think weve already filed bugs on these issues. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Muzak Sent: Friday, November 04, 2005 11:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2: TitleWindow close button click event error When defining a click event for a custom TitleWindow, clicking anywhere within the TitleWindow triggers the event, allthough the docs say it is used for the close button. Furthermore, when trying to close the TitleWindow in the click event handler, an error pops up. Here's the mxml: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* closeButton=true click=windowClickHandler(event) width=400 height=200 mx:Script ![CDATA[ import flash.events.Event; import mx.managers.PopUpManager; private function windowClickHandler(evt:Event) { PopUpManager.removePopUp(this); } ]] /mx:Script /mx:TitleWindow This is the error message: TypeError: Error #1009: null has no properties. at mx.managers::PopUpManager$/removePopUp() at TestWindow/TestWindow$287$private::windowClickHandler() at TestWindow/___TitleWindow0_click() Is there any other event triggered when clicking the close button? I find it strange that the event is triggered when clicking anywhere inside the TitleWindow, so maybe the docs mention the wrong event name or something. A 'close' event would be more suitable IMO anyways.. regards, Muzak -- 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] Nested Repeaters ...( was Force binding for Arrays)
Re-sending since it bounced From: Matt Chotin Sent: Monday, November 07, 2005 9:17 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Nested Repeaters ...( was Force binding for Arrays) No other general rules but this sounds like a good refactoring. Remember that you can use the profiler to see where time is being spent, might be useful From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe Sent: Friday, November 04, 2005 2:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Nested Repeaters ...( was Force binding for Arrays) Yup Excellent guess :-) I am facing some perf. issue and am trying to identify / rule outpotential bottlenecks. The array reset method, is being used to reset the entire application so a delay is acceptable there. However, right now my biggest hit is in a component that (being created dynamically) uses 4 nested repeaters, to display a non-uniform grid. Am considering re-writing it using Actionscript and maybe replace some of the layout containers like HBox and Vboxes with a Canvas where possible. Do you have any other general rules / approachesto consider while refactoring a bunch of nested repeaters ? - superabe On 11/3/05, Matt Chotin [EMAIL PROTECTED] wrote: It's not the end of the world in Flex 1.5, it will not be a good idea in Flex 2 (but we provide new interfaces to make it even easier). It also depends what the binding destination is doing with the array. If it's a DataGrid there's a lot more invalidating and redrawing that happens if you re-assign the whole array vs. just notifying it that one item changed. Repeater is even worse. Something that is just holding a reference, less of a big deal. My guess is that you are binding to something that does react to the array and therefore there is a performance impact in redrawing all the time. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe Sent: Thursday, November 03, 2005 5:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Force binding for Arrays ok...I do need to reset the array at times, and also to change an item in the index. Is there any perf hit by reassiging the variable to itself ? - superabe On 11/3/05, JesterXL [EMAIL PROTECTED] wrote: You don't need to do that; Array's in Flex already have the DataProvider API (in 1.5), and thus generate events. So, if you are changing an index, ensure you do: my_array.addItem(someItem) Instead of: my_array.push(someItem) If you do the addItem, it'll trigger the event, and update whatever controls is bound to the array. Only reset the array entirely if the whole array changes. - Original Message - From: superabe superabe To: flexcoders@yahoogroups.com Sent: Thursday, November 03, 2005 11:11 AM Subject: [flexcoders] Force binding for Arrays I realize that we can force binding for Arrays to occur, when modifying one of their indexes by doing something like Model.myList = Model.myList Is there any performance reasons or other reasons why this would be a bad idea to use? TIA - superabe -- 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 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 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.
FW: [flexcoders] Re: custom components and custom data provider - howto?
Resending since it bounced From: Matt Chotin Sent: Monday, November 07, 2005 9:20 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Re: custom components and custom data provider - howto? Does test.xml start with months as the outer tag? When factoring out between a source file and inline think of the mx:Model tag as the root tag of the external file. So if you have testModel2 like in your example, in test.xml you should have: root months month name=Jan/month /months /root HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of negttid Sent: Friday, November 04, 2005 6:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: custom components and custom data provider - howto? I have found a solution by myself, but wonder it doesn't work with the XML from file the same way as embed XML: testModel1 works! testModel1 works not! Why? Any ideas? mx:Model id=testModel1 source=test.xml / mx:Model id=testModel2 months month name=Jan/month month name=Feb/month month name=Mar/month month name=Apr/month month name=May/month /months /mx:Model mx:HBox width=100% height=100% horizontalGap=1 mx:Repeater id=month dataProvider={testModel1.months.month} ! nbsp; ;local:CalElement monthName={month.currentItem.name} verticalGap=2 / /mx:Repeater /mx:HBox -- 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] will we have access to makeplayerglobal script ?
Hmm, I wouldnt count on getting to mess with those files (or messing with them having any effect right now). Ill forward this on to the player team though. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zwetank Sent: Monday, November 07, 2005 7:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] will we have access to makeplayerglobal script ? Hello, exploring a little more in depth how Flex2 compilation work I found in ..\Flex2alpha1\plugins\zorn.codemodel_2.0.197\resources 2 very interesting files Global.as and playerglobal.as I don't know for others but for me these 2 files are more valuable than anyother AS3 documentation It help a lot to read these codes and their comments (even internal API SCRUB :)) to have a better understanding of how things are built. My concern about those files is that I was looking for if in ActionScript 3 we can do something like that - namespace StringExtension; StringExtension extend(String) function scramble():String {...} StringExtension extend(String) function unscramble():String {...} use namespace(StringExtension); var x:String = abc.scramble(); - as described here http://www.mozilla.org/js/language/es4/rationale/miscellaneous.html If we can not do that in AS3, can we at least have access to the makeplayerglobal script to build Global.abc and playerglobal.abc ? or can we vote to add some methods (very needed) to the Global object ? the rational behind that: Either with the Java framework or the .NET framework we have access to very usefull core class methods indexOfAny (String, Array), String.format, equals, etc. I think it could be usefull to system programmers to be able to implement such core methods to Global.as and perharps playerglobal.as it would reduce the platform shift a lot if you were used to code in .NET/Java And as I love to see a StringBuilder class in AS3, I would love also to be able to use String::equals, String::copyTo, String::copy etc. When I see in Global.as /** * @private Central API */ public native function endswith(endString:String):Number; // Central API but I don't see any startswith method I really wonder how I could add such a method with AS1, it's easy , you juste need to define it in the prototype with AS2, it's a little less easy, but you can still do it you modify the intrinsic class, and you include a AS1 file which implement the functionnality with AS3 ? what option do we have ? Even if I understand fully that those core objects need to be native and not overloaded to assure speed , I would like to have an option to add to them the logic is simple when I look to the .Net String class I don't care if the class is sealed/final all the options that I find usefull are already defined in the class but when I look to the AS3 String class I feel stuck because a lot of basic and usefull methods are missing if we could augment the Global.as and playerglobal.as AS3 programmer could implement something as Mono but for Flex2. zwetan -- 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: Services.mxml flex-config.xml issues
Did you change the gateway for RemoteObject, maybe the server you're hitting is not the same as where it got compiled and there are two flex-configs that don't match? --- In flexcoders@yahoogroups.com, charged2885 [EMAIL PROTECTED] wrote: I'm trying to access a RemoteObject. In flex-config.xml, I have the following under remote-objectswhitelist: named object name=UserDelegate sourcecom.charged.infuse.delegate.UserDelegate/source typestateless-class/type use-custom-authenticationtrue/use-custom-authentication roles roleUser/role /roles /object /named And my Services.mxml looks like: business:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:business=com.charged.infuse.business.* mx:RemoteObject id=userDelegateService 10: named=UserDelegate result=event.call.resultHandler(event) fault=event.call.faultHandler(event) showBusyCursor=true /mx:RemoteObject /business:ServiceLocator However, when accessing my applicaiton, I get the following error: Error /usr/local/jboss-4.0.3SP1/server/infuse/deploy/infuse.ear/infuse.war/com/ charged/infuse/business/Services.mxml:10 Invalid value for 'named' - does not match any object name from the configuration file. I find this troubling because it obviously matches. I don't expect anyone to be able to answer this right away on their own without seeing my whole project, but I would appreciate any suggestions because this has me stumped. Todd Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: DropShadow in 1.5
RectBorder I think does the work with it --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: I cannot for the life of me finding where this symbol is used in the 1.5 framework. I see the DropShadow class, and the symbol reference in the mx.core.View... but who the heck attaches it? Searching through classes via FlexBuilder's class drop down is nightmarish... please help. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Repeater endIndex ?
The count property is what you're looking for. --- In flexcoders@yahoogroups.com, Doodi, Hari - BLS CTR [EMAIL PROTECTED] wrote: Hi All, I have a situation where in I get data from database as an array of VO of length more than 5 but I have to display only first 5 records. Is there any way to ask repeater to stop at index 4? Is there any repeater property like endIndex as opposite to startIndex. I need those extra records for some other comparisons and calculations. Thanks! Hari Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex 1.5 - n checkboxes
clicking on the checkbox should cause the valuecommitted event to fire i think. otherwise the click event should be OK too unless you expect to change it programmatically. --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Thanks, Matt. I was working on such a loop, but I like that valueCommitted idea better. But I haven't been able to figure out how to trigger valueCommitted for the checkboxes, since there is no focus to be lost. - Richard On 11/3/05, Matt Chotin [EMAIL PROTECTED] wrote: So there will be an array on your document called role and you could loop through it and grab the name and selected state. Var selectedRoles:Array = []; For (var i:Number=0; I role.length; i++) { If (role[i].selected) { selectedRoles.push([role[i].label); } } But yes, it's better to store these things in a Model or just update the user directly: mx:CheckBox id=role label={rolesList.currentItem} selected={ user.hasRole(rolesList.currentItem)} valueCommitted=user.setRole( event.target.getRepeaterItem(), event.target.selected) / Matt -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Richard Rodseth *Sent:* Wednesday, November 02, 2005 4:40 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: Flex 1.5 - n checkboxes No, my requirements are simple. An Edit User panel with checkboxes for all the roles the user has. I have the check boxes rendering as follows mx:Repeater id=rolesList dataProvider={allroles} mx:CheckBox id=role label={rolesList.currentItem} selected={ user.hasRole(rolesList.currentItem)} / /mx:Repeater Now, I need to submit the form, and call user.setRoles() with an array of the the checked roles. Right now there roles are just strings, but they should probably be Role objects. Presumably I will need a submit handler that iterates over the checkboxes looking at their selected state and building the array of checked ones. I don't know how to do that yet, but I'm sure I can figure it out. It would be nifty if there was a more automatic way to do this. Thanks, Richard On 11/2/05, *Brendan Meutzner* [EMAIL PROTECTED] wrote: Hi Richard, I recently completed a project in which we had to dynamically build form selection elements based on different control types (eg. checkboxes, radio buttons, etc...). The data model we worked with provided us with the string name of the control type to use, and the appropriate data structure to populate the control type(s). Solution I came up with was to (as you mention you might have to do) create the form elements using actionscript, more specifically the createChild method. I created a custom instance of each control type, and added some additional properties to it, the most important being the data property it needed to affect. Inside the custom control, I had my change event directly modify the data property that was passed in. Because the reference was passed in, this essentially bound that change to the data model it came from. Problem solved. Your requirements may be slightly different as it sounds like you already know what type of control you need to render. In this case, I would imagine you could use a repeater tag and have it's children be the custom check box you're creating, and pass in the object property reference that needs to be changed. Hope this helps you... Brendan --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Yes, as I mentioned, I am using the repeater tag. But the data provider for it is the list of all possible roles. I'm interested in the process of mapping the checked items to an array of objects (strings or value objects). I'm guessing there's no way around using Actionscipt to populate the form from the model and vice versa. - Richard On 11/2/05, Matt Chotin [EMAIL PROTECTED] wrote: Check out the Repeater tag. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Richard Rodseth *Sent:* Wednesday, November 02, 2005 9:07 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex 1.5 - n checkboxes Is there a slick way to bind a variable number of checkboxes to an array of value objects in a data model? Example: user has an array of roles. Display a list of checkboxes I see how to use repeaters to render the checkboxes, but I'm unclear on the best way to capture the user selections. Thanks -- 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] Re: Problem with type casting a TreedataProvider back to array...
can you re-post the file please? macromedia started bouncing flexcoders mails today but i think we're back. --- In flexcoders@yahoogroups.com, Arunkumar S [EMAIL PROTECTED] wrote: Thanks for your reply Matt... Your code looks to solve the typecasting problem. But the tree is not visible as i said in the earlier mail. I have worked with all the API i know, yet i'm not reacing the solution... I have attached the full sample you have asked for, can your please try this code and tell where it went wrong...?? My ultimate aim is to get the updated ArrayList after making changes in the tree. It would be helpful for me when you make the tree visible when dataProvider = {treeDetails} or can anyone help me in getting a solution to get the updated ArrayList. Awaiting for your reply. Thanks in advance. Regards, Arun. Note : While running the application use Up Down buttons to move the nodes and Update button to reflect changes. Matt Chotin [EMAIL PROTECTED] wrote: v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);} Give us a full small example to work with. You should really just play around with the TreeDataProvider API and use a debugger to see if you can figure out where things are going wrong, that's all I'm going to do too if I have time. - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arunkumar S Sent: Friday, October 28, 2005 5:24 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem with type casting a TreedataProvider back to array... Thanks for your reply Matt... I tried your code, initially the tree doesn't appears and when i change dataProvider = {treeDetails.children} the tree is loaded without any problem, but i when i assign var arr:Array = treeCmp.dataProvider.getProperty(children); the arr is shown as undefined, this is because the dataProvider is already a children of treeDetails. Can you find some other way to solve the problem...?? Reagrds, Arun. Matt Chotin [EMAIL PROTECTED] wrote: A TreeDataProvider cannot be an array. It has to be a single object that has a child array. So try creating an object like this: Var treeDetails:Object = {label: `root'}; treeDetails.children = treeList; get the array of details back: var arr:Array = treeCmp.dataProvider.getProperty(children); Matt - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arunkumar S Sent: Thursday, October 27, 2005 4:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with type casting a TreedataProvider back to array... Hi all, I am assigning an array as TreedataProvider. When i'm moving the position of nodes of the tree (using addTreeNodeAt / removeTreeNodeAt), the dataProvider is not updated to the changed nodes, so i'm explicitly typecasting and assignig back to array. This seems to behave abnormally (undefined node added to the tree at the top)... Here are some pieces of code i use var treeDetails : Array; // This is assigned as the dataProvider for the tree : : treeDetails = treeList; // treeList is a array got from Java which has HashMaps at each row : : // After moving nodes treeDetails is treeDetails = mx.utils.ArrayUtils.toArray(treeCmp.dataProvider) ; //treeCmp is tree's ID Then i'm passing back treeDetails to Java, i'm getting Error: An error occurred during service invocation. While assigning dataProvider to treeDetails i can notice that a undefined node added to the top. Also i noticed that when using a simply array in flex every thing is working fine, and when the array contains object dataProvider is not updated and also i'm getting error in java when typecasting and send it as array. Can anyone give me an idea what could have caused the problem. Please give me a solution. Thanks in advance. Regards, Arun. - Yahoo! FareChase - Search multiple travel sites in one click. - Yahoo! FareChase - Search multiple travel sites in one click. -- 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. -