Re: [flexcoders] DataGrid
You are going to have to pull out your coding hat on this one. Open the source to DataGrid.as and DataGridBase, examine the way the columns are rendered. Then extend either the appropriate classes and override the methods that layout the header and columns. If I can find the time, I'll try it, but that is how you would start. Good luck. Rob On Wed, Jul 2, 2008 at 7:46 AM, Niraj [EMAIL PROTECTED] wrote: Hi: I want to have the column headers on the left, rather than on the top on a datagrid. Is there some way i can modify the datagrid to have this kind of structure Header1 DataColumn11 DataColumn12 DataColumn13 DataColumn14 Header2 DataColumn21 DataColumn22 DataColumn23 DataColumn24 Header3 DataColumn31 DataColumn32 DataColumn33 DataColumn34 Header4 DataColumn41 DataColumn42 DataColumn43 DataColumn44 Thanks -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Smooth Animation with Resize or Move Effect
Have you tried setting the arguments that don't change on the Resize? mx:Resize heightFrom=400 heightTo=400 widthFrom=300 widthTo=800/ There tends to be some jumpiness if you don't. Regards, Rob On Thu, Jun 5, 2008 at 2:12 PM, wwwpl [EMAIL PROTECTED] wrote: I am developing a Flex application where I need to do some resize effects. I have 2 VBoxs side by side. They need to resize when a user clicks a button. I have been using states to do the resize effects, but I can not get it to look nice. I have tried a lot of effects and other things, but it doesn't look good. So I started to create a custom component that is based on the Accordion tween effects. Now it looks nice, but I am wondering why I could not get it to look nice with the resize or move effects. I applied a lot of the animation optimizations that I have found. -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Streaming BlazeDS connection reverting to polling
Another option would be to use WebORB. The more I look at what WebORB can do, the easier it is to pick it over other servers. We just had a WebORB presentation at our UG meeting on Tuesday. If you haven't looked at, you should. Regards, Rob On Thu, Jun 5, 2008 at 4:06 PM, Anatole Tartakovsky [EMAIL PROTECTED] wrote: It is 10 - please check the source of the BlazeDS source - can be increased to few hundreds in your configuration but you might want to consider setting process affinity and set up LCDS 2.6 express NIO HTTP adapter to really scale it up. Other option is to modify BlazeDS code to not keep the connection and enable NIO adapter on WebContainer/ move connection management into the custom endpoint - then you can scale blazeDS up to few thousand connections. Regards, Anatole Tartakovsky On Thu, Jun 5, 2008 at 5:03 PM, Geoffrey [EMAIL PROTECTED] wrote: I know there is a hardware imposed limitation to the number of BlazeDS real-time streaming connections that you can establish. I've heard it's in the hundreds, so I'm trying to see how many I can connect to my server(WinXP Pro 64-bit with two 3GHz Xeon CPUs and 8GB of RAM). Oddly enough after the 10th client logs in, all subsequent logins revert to a polling connection. Is there some limit on the number of streaming connections you can have before they fall back to polling? Something else I'm missing? BTW, even with polling I can establish 200 connections and the server barely blinks except for an increase in CPU usage due to all of that polling. Thanks, Geoff -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Re: Thinking about going to the dark side....Apple Mac Book
For years I said that I couldn't/wouldn't switch to a Mac because I always need to do Windows specific tasks. But, with the Intel-based MacBook Pro and Parallels, I have install Windows XP SP3 on a separate partition and can run the two OS in tandem. So I've been on a Mac for a little over a year now. I love the form factor of the machine; light and small. It is very powerful. I can test alpha/beta software on Windows and Mac. I can do .NET development on Windows. I do Flex/AIR development on both platforms. I'd say that I'm fat and happy, but I only weigh a buck forty. But I'm am happy! The down side, Macs are a little pricey. Regards, Rob On Thu, Jun 5, 2008 at 4:20 PM, Josh McDonald [EMAIL PROTECTED] wrote: Anecdote of the minute: I'm fine on my bigass iMac, but there's 2 or 3 vista laptops in the office, and soapUI seems to have some Vista incompatibilities. Could be the fact we're using 2.0.3 which AFAIK is still unreleased, but it could be Vista too :) On Fri, Jun 6, 2008 at 4:54 AM, Nancy Gill [EMAIL PROTECTED] wrote: Microsoft is already on record as pushing Windows 7 out the door as soon as possible (probably late 2009) due to the Vista debacle .. remember Windows ME? :) Nancy - Original Message - *From:* Joseph Balderson [EMAIL PROTECTED] *To:* flexcoders@yahoogroups.com *Sent:* Thursday, June 05, 2008 11:20 AM *Subject:* Re: [flexcoders] Re: Thinking about going to the dark sideApple Mac Book I'm not trying to be glib, but don't use Vista. Use XP SP3. Joseph Balderson | http://joeflash.ca | 705-466-6345 b_alen wrote: Interesting. Me and my colleagues are also thinking of switching to Mac due to Vista crappiness. In fact we're 80% sure that next laptops will be Macs. My only concern is how to do .Net development and integration with Flex then. Anyone has a solution to that? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, scottyale2008 [EMAIL PROTECTED] wrote: How many Flex developers here are using a Mac for development? I've been a die hard Microsoft guy since ... well, since Microsoft first started. I went from CPM on a Morrow Meadows to Microsoft DOS (on computers with a Turbo button!), then Windows, now Vista. I do have an iPhone and it is an incredible device and the GUI is extremely well done. I've never used a Mac, but many of my friends have taken the plunge. Is it time to make the switch? I'm thinking about a Mac Book Pro. Is a Mac Book even worth considering for a Flex dev machine or is a Mac Book Pro the way to go? Anybody else make the switch recently from Windows to Mac? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links __ Information from ESET NOD32 Antivirus, version of virus signature database 3162 (20080605) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Re: Artemis
Artemis was put on hold because it uses a capability that has been removed from AIR. So, some of the guys are now working on merapi http://www.whatanexperience.org/2008/03/its-volcano-its-framework-its-amazing.html . Rob On Tue, Apr 1, 2008 at 3:44 PM, Jhonny Everson [EMAIL PROTECTED] wrote: Trying to run the sample application This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version. On 4/1/08, Jhonny Everson [EMAIL PROTECTED] wrote: hi Guys, Is anyone using Artemis to bridge Adobe Air Applications to java runtime? I want to brigde air with java without a servlet container. Artemis proposes to do what I want but looks like it is dead. The last message on the site is since April 30, 2007. Is anyone using it? Is it 'stable'? ( don't need to be completely stable, but at least usable) Does anyone knows an alternative? Thanks -- Jhonny Everson -- Jhonny Everson -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Flex Book
Simplify your code by using the mx:XML tag and set it's source property to the path to your XML. mx:XML id=myXML source=data/images.xml/ Your xml might look like: images image thumb=assets/thumb1.jpg/ ... Then reference it as myXML.image.thumb. HTH Rob On Fri, Feb 15, 2008 at 9:31 AM, Dan Vega [EMAIL PROTECTED] wrote: I downloaded a great component from http://www.quietlyscheming.com/blog/and I am trying to customize it and I am coming across a problem. The example uses mx:XML and if understand that is acompile time tag. I want to load the xml at runtime so I changed the code. Here is my code and this is the error I keep getting. Does anyone know what I am doing wrong? ERROR [SWF] /*/bin-debug/ElginAds.swf - 765,388 bytes after decompression TypeError: Error #1009: Cannot access a property or method of a null object reference. at qs.controls::FlexBook/fillPage()[C:\Program Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:656] at qs.controls::FlexBook/commitProperties()[C:\Program Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:771] at mx.core::UIComponent/validateProperties ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660] at mx.managers::LayoutManager/validateProperties ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517] at mx.managers::LayoutManager/doPhasedInstantiation ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2 ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450] at mx.core::UIComponent/callLaterDispatcher ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393] ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:l=* layout=absolute xmlns:controls=qs.controls.* creationComplete=initApp(); xmlns:containers=qs.containers.* xmlns:effects=qs.effects.* width=720 height=430 mx:Style FlexBook { color: #00; textRollOverColor: #00; border-thickness: 0; border-style: none; page-slope: .6; active-grab-area: page; page-shadow-strength: 1; curve-shadow-strength: 1; auto-turn-duration: 1500; } Application { color: #F1F1CC; textRollOverColor: #000; backgroundColor: #ff; } SuperImage { border-thickness: 0; border-style: none; } /mx:Style mx:Script ![CDATA[ //imports import qs.caching.ContentCache; import qs.controls.flexBookClasses.FlexBookEvent; import mx.core.UIComponent; //bindable variables [Bindable] private var dataSet:XMLList; //variables private var loader:URLLoader; private function initApp():void{ loader = new URLLoader(); loader.addEventListener(Event.COMPLETE,onComplete); loader.load(new URLRequest('data/images.xml')); } private function next():void { if(book.currentPageIndex+1 book.pageCount) book.turnToPage(book.currentPageIndex + 1); } private function previous():void { if(book.currentPageIndex 0) book.turnToPage(book.currentPageIndex -12); } private function onComplete(e:Event):void { var xml:XML = new XML(e.target.data); var thumbs:XMLList = [EMAIL PROTECTED]; dataSet = xml..image; } private function loadContent(event:FlexBookEvent):void { var page:ImagePage = ImagePage(event.renderer); page.load(); } ]] /mx:Script controls:FlexBook id=book y=47 width=600 top=40 height=400 horizontalCenter=0 animateCurrentPageIndex=true showCornerTease=true edgeAndCornerSize=150 itemRenderer=ImagePage content={dataSet} turnStart=loadContent(event) animatePagesOnTurn=true turnEnd=loadContent(event) / /mx:Application -- Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Flex Book
Then use HTTPService. Example: http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/ Rob On Fri, Feb 15, 2008 at 11:07 AM, Dan Vega [EMAIL PROTECTED] wrote: The problem with that is mx:XML is a compile time tag, the xml file will change on the server. Dan On Fri, Feb 15, 2008 at 11:41 AM, Rob Rusher [EMAIL PROTECTED] wrote: Simplify your code by using the mx:XML tag and set it's source property to the path to your XML. mx:XML id=myXML source=data/images.xml/ Your xml might look like: images image thumb=assets/thumb1.jpg/ ... Then reference it as myXML.image.thumb. HTH Rob On Fri, Feb 15, 2008 at 9:31 AM, Dan Vega [EMAIL PROTECTED] wrote: I downloaded a great component from http://www.quietlyscheming.com/blog/ and I am trying to customize it and I am coming across a problem. The example uses mx:XML and if understand that is acompile time tag. I want to load the xml at runtime so I changed the code. Here is my code and this is the error I keep getting. Does anyone know what I am doing wrong? ERROR [SWF] /*/bin-debug/ElginAds.swf - 765,388 bytes after decompression TypeError: Error #1009: Cannot access a property or method of a null object reference. at qs.controls::FlexBook/fillPage()[C:\Program Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:656] at qs.controls::FlexBook/commitProperties()[C:\Program Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:771] at mx.core::UIComponent/validateProperties ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660] at mx.managers::LayoutManager/validateProperties ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517] at mx.managers::LayoutManager/doPhasedInstantiation ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2 ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450] at mx.core::UIComponent/callLaterDispatcher ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393] ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:l=* layout=absolute xmlns:controls=qs.controls.* creationComplete=initApp(); xmlns:containers=qs.containers.* xmlns:effects=qs.effects.* width=720 height=430 mx:Style FlexBook { color: #00; textRollOverColor: #00; border-thickness: 0; border-style: none; page-slope: .6; active-grab-area: page; page-shadow-strength: 1; curve-shadow-strength: 1; auto-turn-duration: 1500; } Application { color: #F1F1CC; textRollOverColor: #000; backgroundColor: #ff; } SuperImage { border-thickness: 0; border-style: none; } /mx:Style mx:Script ![CDATA[ //imports import qs.caching.ContentCache; import qs.controls.flexBookClasses.FlexBookEvent; import mx.core.UIComponent; //bindable variables [Bindable] private var dataSet:XMLList; //variables private var loader:URLLoader; private function initApp():void{ loader = new URLLoader(); loader.addEventListener(Event.COMPLETE,onComplete); loader.load(new URLRequest('data/images.xml')); } private function next():void { if(book.currentPageIndex+1 book.pageCount) book.turnToPage(book.currentPageIndex + 1); } private function previous():void { if(book.currentPageIndex 0) book.turnToPage(book.currentPageIndex -12); } private function onComplete(e:Event):void { var xml:XML = new XML(e.target.data); var thumbs:XMLList = [EMAIL PROTECTED]; dataSet = xml..image; } private function loadContent(event:FlexBookEvent):void { var page:ImagePage = ImagePage(event.renderer); page.load(); } ]] /mx:Script controls:FlexBook id=book y=47 width=600 top=40 height=400 horizontalCenter=0 animateCurrentPageIndex=true showCornerTease=true
Re: [flexcoders] Refreshing Page
If you mean refresh as in clicking the browser refresh button, reloading the application is exactly what it's supposed to do. Your Flex application is just a SWF loaded in an HTML file. The SWF is interacting with the user while the browser and html file do nothing. Not completely nothing, but you should get the point. Flex applications do not use the request/response metaphor you may be used to with traditional web development. HTH Rob On Feb 7, 2008 5:45 PM, cool buddy [EMAIL PROTECTED] wrote: Hi, I developed a small application in FLEX.. Whenever i refresh a page it goes back to the HOME page.Is there anything wrong in the coding... For example there is a user registration page...when i refresh the page it goes back to the HOME page.. Does anyone have any idea?? please post it.. Thanks.. -- Never miss a thing. Make Yahoo your homepage.http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Flexible grid : Multiple lines in one data row
Harry, You would use an itemrenderer for the DataGridColumn. You can find examples in the documenation. http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=cellrenderer_072_35.html Regards, Rob On Feb 8, 2008 7:34 AM, Harry Saputra [EMAIL PROTECTED] wrote: Dear Friend, I have build datagrid in jsp that can show multiple lines in one data row like that : Column a | Column b - 1 | a | b | c 2 | d | e | f And it's simple, just using 'br' ( html new row ) as separator from text source ( abrbbrc ) How can I get it on flex DataGrid ? Thanks -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] manual dragEnter event error
You need to have something in the HBox for this to work the way you are expecting. All of the Container components work this way. Because the Panel comes with children, it will seem to work as expected, but if you try a Form or any variation of Box, Canvas, etc... it does not. So, in your HBox, add a child (control) and try it again. mx:HBox height=40 width=80 dragDrop=dragDropHandler(event) dragEnter=dragEnterHandler(event) dragExit=dragExitHandler(event) borderColor=#00 cornerRadius=15 borderStyle=solid mx:Label text=Drag Here/ /mx:HBox Regards, Rob On Jan 28, 2008 11:37 AM, netdeep [EMAIL PROTECTED] wrote: I am trying to drag a button from one panel to an HBox inside another panel and the dragEnter only fires on intersecting with the BORDER of the HBox and not while inside the HBox itself. If I drag it quickly, if I drag it slowly, it registers a dragEnter event and then immediated the dragExit event fires as I move inside the HBox. Does anyone know what is going on here? public function dragIt(event:MouseEvent, value:uint):void { var dragInitiator:Button = event.currentTarget as Button; var dragSource:DragSource = new DragSource(); var dragProxy:Button = new Button(); dragProxy.label = dragInitiator.label; DragManager.doDrag(dragInitiator, dragSource, event, dragProxy); } private function dragEnterHandler(event:DragEvent):void { var dropTarget:HBox = event.currentTarget as HBox; dropTarget.setStyle(borderThickness, 3); dropTarget.setStyle(borderColor, #00); DragManager.acceptDragDrop(dropTarget); } private function dragExitHandler(event:DragEvent):void { var dropTarget:HBox = event.currentTarget as HBox; dropTarget.setStyle(borderThickness, 1); dropTarget.setStyle(borderColor, #cc); } private function dragDropHandler(event:DragEvent):void { var dropTarget:HBox = event.currentTarget as HBox; dropTarget.setStyle(borderThickness, 1); dropTarget.setStyle(borderColor, #cc); // ... code to process drop ... // } mx:HBox height=40 width=40 dragDrop=dragDropHandler(event) dragEnter=dragEnterHandler(event) dragExit=dragExitHandler(event) borderColor=#cc verticalAlign=middle horizontalAlign=center cornerRadius=15 borderStyle=solid/ -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] problem with parallel
You need to use targets instead of target. I also wasn't clear on your sentence, but contact, whoWe and portfolio need to be components not states. I think that is what you meant, but I just wanted to be sure. Regards, Rob On Jan 25, 2008 2:13 PM, Gustavo Duenas [EMAIL PROTECTED] wrote: Hi I have a problem with this codes I'm trying to seta transitions between a group of states, but when I try to compile it, it says that the there is an undefined property named as two of the states: ...but it appears not to be the answer... am I doing something wrong.? This is the code for the transitions, any help is appreciated. Regards gustavo mx:transitions mx:Transition fromState=* toState=* mx:Parallel target={[contact, whoWe, portFolio]} mx:Move duration=200/ /mx:Parallel /mx:Transition /mx:transitions Gustavo A. Duenas Creative Director LEFT AND RIGHT SOLUTIONS 904. 265 0330 - 904. 386 7958 www.leftandrightsolutions.com Jacksonville - Florida -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Gauge, Dial, or Speedometer component
With Flex 3 on the close horizon, you should look at the ILOG Elixir components. http://www.ilog.com/products/elixir/ Regards, Rob On Jan 25, 2008 1:59 PM, Cailie Crane [EMAIL PROTECTED] wrote: Hello all, Trying to find a visual component that looks like a gauge, dial, or speedometer. Can anyone point me towards such a component (commercial or non-commercial) that can be used in a commercial web application? I did find a (Flex 1.5) gauge component from Peter Ent, at http://weblogs.macromedia.com/pent/. I just want to see what other choices exist. Thank you! -C -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] FlexReport Beta - Public Release
It doesn't matter where I go, I always run into people having printing issues with Flex. Most have found the FlexPrintJob class and samples on how to use it, but for those who print multiple pages the results are sometime less than stellar. Thanks for starting FlexReport http://www.kemelyon.com/bts/. Let us know how we can help. You must had the same problems as others. Regards, Rob On Jan 21, 2008 1:26 PM, Terry Allen [EMAIL PROTECTED] wrote: Thank you! Looks like I will have something to play with for the rest of the afternoon after all :) On Jan 21, 2008 3:14 PM, Frederico Garcia [EMAIL PROTECTED] wrote: I'm releasing the first beta of FlexReport, a client-side open source (LGPL) report generation library for Flex. You can see a demo (and sources) at www.kemelyon.com/bts Hope you find FlexReport useful and contribute with any improvements you make. Regards, Frederico Garcia -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
Re: [flexcoders] Add bin folder to SVN?
Publish to a different folder than bin. When you create a Flex project, you have the option to publish the output to any folder you would like. The default is bin. I know that when I publish, say directly to my web server, the folders are not recreated. Only the SWF and HTML. Rob On Dec 17, 2007 9:09 AM, David Ham [EMAIL PROTECTED] wrote: I'm using Flex Builder 3 beta, the Subclipse plugin, and Subversion to manage my Flex project. I'd like to add my bin folder to Subversion, but it appears that whenever I publish, FB deletes the entire bin directory and recreates it with the new published version. The trouble is that whenever it does this, it also deletes the bin folder's .svn info, and Subversion doesn't like that. Is there a way to add my bin folder to SVN without Flex Builder deleting it at every build? And yes, I know that this is unnecessary, since whomever gets my latest from SVN can just publish their own SWF--my client just wants the SWFs in SVN. Thanks for any help you can offer, OK DAH -- -- Regards, Rob Rusher Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor m: 303-885-7044 im: robrusher
[flexcoders] Re: Download link in Flex with CFML
--- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi, I am new for Flex and I need build a download link in Flex,I can download a Doc/Pdf file when I click the link. I am using Flex and Coldfusion, Please let me if you have experience for this, Thanks a lot Mark Mark, Take a look at the LinkButton control. It allows you to provide a link to a doc/pdf which the browser will then download. rob
Re: [flexcoders] Datagrid properties
selectedItems is an array of references to the selected items in the data provider.dataGrid.selectedItemsReagards,RobOn 7/25/06, Rick Root [EMAIL PROTECTED] wrote: Hi, I'm new to Flex, and I'm trying to pass an array to a web service based on the contents of a datagrid. so my idea was to loop over the items in the datagrid to construct the array, but I'm entirely unsure how to do that. The Datagrid documentation doesn't seem to list length as a property... the dataProvider does, but that doesn't seem to have a getItemAt() method or anything like that. so how would I do this? Pretend the item collection is a query result set that contains the columsn entityid and mail_name, and I want to send an array of all the entity ids in the datagrid to the web service. *NOT* just the selected ones. Rick -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex Builder 2.0 serial number says it's invalid
This is the first I've heard of this problem.Personally, I uninstalled the beta before installing Flex Builder 2. I left the dashes in the key and I have not had any issues.Good luck. On 7/25/06, Pan Troglodytes [EMAIL PROTECTED] wrote: Just wanted to throw this out there and see if I'm the only one with the problem.The serial number provided for Flex Builder 2.0 is rejected as invalid by my installation of Flex Builder 2.0. I have tried both the serial numbers for FB and for charting. Possibly important: I already had FB running when I got the licenses. I went into Help-Manage Flex Licenses and put them in. At that point, it accepted them and changed Trial to Commercial. On restarting FB, it asks for them again and claimed they are invalid. Now entering them into Help-Manage Flex Licenses also says they are invalid.I have opened a support issue with Adobe. They responded with a lot of stuff, one of which was that you shouldn't enter the dashes. Sounds crazy, but I tried it and it still claimed it was invalid. Anyone else run into this? I wonder if it's related to either it having the beta installed first, downloading and using the release version as a trial for a while, entering the serial number in after startup instead of at startup, or some combination of the above. -- Jason -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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] Still Fuzzy about Flex 2.0 and CFCs
RemoteObject is certainly there and only requires a remoting gateway.http://livedocs.macromedia.com/flex/2/langref/mx/rpc/remoting/mxml/RemoteObject.html You can use Flash Remoting or the Flash Gateway in CFMX or OpenAMF. I have not used OpenAMF with the AMF3, so I'm not positive that it works. I remember seeing posting that it does though.HTHRegards, Rob RusherOn 7/24/06, Battershall, Jeff [EMAIL PROTECTED] wrote: Jessie, Thanks for the clarification. What I do not see in the Flex2 docs is the ability to use Remote object without FDS. Would you have to write your own custom class to do your remoting calls? I've done such in Flash. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:54 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged.
Re: [flexcoders] Reference to View Stack Failing
Are the custom components used from the demand namespace containers?ViewStack requires them to be container components.Make sure all of the components used in the ViewStack extend a container component. That should solve your problem Regards,Rob RusherOn 7/24/06, Ethan Miller [EMAIL PROTECTED] wrote: Greetings - The following compiles fine, but at run time, when the function gets called, I get a null object reference error for demandStack. I've tried a fully-qualified path to demand stack as well... Any ideas? thanks, ethan mx:Script ![CDATA[ public function whatsNext(e:Event, next:String):void { if (next==tps){ demandStack.selectedIndex=1; } } ]] /mx:Script mx:ViewStack id=demandStack width=100% height=100% demand:ContactInfo id=contactInfo/ demand:TouchPlans id=touchPlans/ demand:TouchPlanOptions id=touchOptions/ demand:Vectors id=assignVectors/ demand:Vectors id=personalize/ demand:Vectors id=review/ /mx:ViewStack /mx:HBox -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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] Reference to View Stack Failing
Sample:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlxmlns:demand=components.* mx:Script ![CDATA[ public function whatsNext(e:Event, next:String):void { if( next==tps ) { demandStack.selectedIndex=1; } } ]]/mx:Scriptmx:ViewStack id=demandStack width=100% height=100%demand:test id=contactInfo/demand:test2 id=touchPlans/ /mx:ViewStackmx:Button label=Call Method click=this.whatsNext( event, 'tps' )//mx:Applicationtest and test2 are empty components that extend Box and Panel, respectively. Works without issue. There is something else to your problem. Break it down to a simple example as I did and then build it back up.On 7/24/06, Ethan Miller [EMAIL PROTECTED] wrote: Yes, all the custom components are from the demand namespace and are Panels. They all load fine, it's the reference to the view stack itself that is failing,. Are the custom components used from the demand namespace containers? ViewStack requires them to be container components. Make sure all of the components used in the ViewStack extend a container component. That should solve your problem They do, unless I'm misunderstanding you. All the referenced components are Panels.. ?? ethan -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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] Plugins to Standalone Flex
Although I have not installed any PHP plugins, I have had much better luck installing plugins into the Flex Builder than installing Flex Builder into Eclipse.When installing FB into eclipse it seemed that several little things didn't work right, like keyboard shortcuts, etc... This annoyed me, so I switched back to the stand-alone version. I haven't had any issues with other plugins installed into FB stand-alone.HTHOn 7/24/06, Kevin Mulvihill [EMAIL PROTECTED] wrote: Hi all, I've setup the standalone version of Flex and am thinking about loading some other Eclipse plugs into it (like PHP). I'm wondering what kinds of limitations might exist if I do this... or is it better to just install the Flex plug into the full Eclipse version? Recommendations? Thanks, Kevin -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: FDS question
ouch! As I wrote that email, I avoided the buzzword bingo sentence, as I was thinking data-oriented, but put it in more laymen terms. :) Although, I never said it was only of interest for real-time data. (sematics boy - my wife chimes in) FDS does encompass more than just real-time data. Even the Data Services part of the name implies that it provides services for managing CRUD, concurrency, synchronization, etc... and I greatly appreciate that FDS does these things. If it did not provide these services, it would be called Flash Remoting, right. :)Thanks for detailed description Steven.Humbled Laymen,Rob RusherOn 7/12/06, Steven Webster [EMAIL PROTECTED] wrote: I'm going to step this thread all the way to the beginning again; there was a flawed message in this thread that suggested that FDS was only of interest for real-time data; while it's certainly true that when we're demonstrating the power of FDS, we'll leverage real-time/collaborative examples, let's not forget here that the FDS value proposition is much more than real-time dashboards. Christophe Coenraets articulated very clearly during MAX last year, the concept of a data-oriented versus a service-oriented architecture (I think credit is due to Matt Chotin here too); I think that is the starting point for discussion as to whether you are going to leverage benefit from FDS in your application architecture. RPC services are most appropriate in an SOA environment. You have an existing infrastructure with which you wish to integrate, and that infrastructure presents a set of services that can be invoked from your RIA client. That's where you'd likely make a decision to use RPC services: OnlineBankingService.java +schedulePayment( payment, date ) +openAccount( account ) +requestCurrency( fromAccount, amount, currency ) +generatePrintableStatement( account, fromDate, toDate ) ...etc If however, your service tier starts to look a lot like: PatientRecordService.java +createRecord( patient ) +readRecord() : patient +updateRecord( patient ) +deleteRecord( patient ) AppointmentService.java +createAppointment( appointment ) ...etc Then you're services are really just defining CRUD operations on your data-tier, and it would suggest that you have a data-oriented architecture. You're probably also having to do a great deal of heavy-lifting on the client, to manage relationships, to manage the fact that you have state on the client (your client model) that has to be replicated on the server, and you will need strategies in place to manage synchronisation and conflict resolution between these 2 models. If you then have multiple clients that can all access patients/appointments/etc, then you're also going to start having to think about locking/concurrency policies, and suddenly your services have a great deal of infrastructure work associated with them. And I haven't even started talking about clustering, and failover, and such enterprise requirements for a mission-critical system as you describe. In these scenarios, where you have a data-oriented architecture, but where there is no real-time requirements, no push-requirements, no collaboration (per-se - screen-sharing/etc) requirements, there is still *tremendous* value being offered by an application architecture that leverages data services. Flex Data Services is going to do ALL that heavy-lifting for you. Quickly. With code written by people smarter than me (cheap shot, don't take it). To define the problem that was originally stated: Currently our thinking is to connect to the data through web services sending XML data to a JSO file that then will communicate with a JAVA based API back to the MySQL backend. What, if anythign would FDS bring to the table? Still not sure how it is better than XMLbased solution. When I look at that problem, I see a number of moving parts and infrastructure work that is required - yet you are in the business of building a large-mission critical application for healthcare. FDS is going to remove a great deal of these moving parts, and potentially offer you an elegant architectural solution that allows you to focus on delivering a truly effective user-experience. You can focus on creating a useful, usable and desirable application, and you can focus on delivering a scalable, maintainable and performant application, you can focus on delivering feature and value to the user (and the business) rather than focus on delivering infrastructure. Let FDS manage your CRUD operations for you. Let FDS manage relationships. Let FDS manage synchronisation between your client and server models. Let FDS manage concurrency, and locking and conflict resolution. Let FDS manage how all that jazz works in a clustered app server environment. Let FDS make your integration to your MySQL database a walk in the park. I'd seriously recommend that you (the general you here) spend some time
Re: [flexcoders] Re: How to turn of Button Border
Would a LinkButton do what you're looking for?robOn 7/7/06, maikelsibbald [EMAIL PROTECTED] wrote: I tried it. But it also removes my button colors. Not really what I wanted. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, this works mx:Button x=318 y=372 label=Button upSkin={null} overSkin={null} downSkin={null}/ I don't know about a style sheet though; Peace, Mike On 6/29/06, maikelsibbald [EMAIL PROTECTED] wrote: Fx2 prerelease. How do you set the bordersstyle to none: it's not reacting on the follwing styleproperties: border-style:none; border-color:#ff; border-alpha:0; Thanx in advance -- What goes up, does come down. -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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] Gap in a TileList ?
Check your rowHieght, columnWidth and item renderer margins.regards,robOn 7/7/06, Jean-Luc ESSER [EMAIL PROTECTED] wrote: Anyone figured out how to specify an horizontal or vertical Gap in a TileList ? Works fine in a Tile, with repeaters, but not in a tile list. Thanx, JL -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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] FDS question
It sounds like you have a fundamental misunderstanding of what FDS does. FDS is for more real-time data. If you just need to talk with a back-end, you will use the RPC classes in the API. You can read more on both in livedocs: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""> Flex 2 Developer's Guide Data Access and Interconnectivity As far as licensing goes, consult your sales rep. They have the answers. Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mthielman11 Sent: Friday, July 07, 2006 2:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS question OK I have been playing with flex for a couple of weeks now and we are planning on building out a rather large application in flex. The application is going to replace several current apps one of wich is web based the rest are not. I am trying to get my head around the whole FDS thing. Our product will be a medical database. There are currently several different modules within the existing apps. The way I was planning this, each one would become its own flex app. the reason for this is to try and keep the swf file size somewhat reasonable. Currently our thinking is to connect to the data through web services sending XML data to a JSO file that then will communicate with a JAVA based API back to the MySQL backend. What, if anythign would FDS bring to the table? Still not sure how it is better than XML based solution. Also a concern with FDS is the pricing structure. will each FDS file be considered a different app, therefore each one require a license ($6k or $20k)? If each app was assigned only one processor on the VM based server would it be able to use FDS express?? I am just not seeing how FDS figures into the equasion. Is it faster? if so how? Does it save coding time? if so how? Does it eliminate need for a java API? if so how? Thanks for any help. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Using and image as a link
I suggest just adding a click event on you image object in which the event handler uses the navigateToURL() method. You can find out how to use navigateToURL here: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1010.htmlYou might also change the cursor to a hand on mouseover. I blogged this a while back. http://www.robrusher.com/1/2006/01/Using-useHandCursor-in-Flex.cfmHTHOn 7/6/06, Matt Horn [EMAIL PROTECTED] wrote: Link is now LinkButton. Can you send me a link to any errors in current doc? Tnks, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Henry Sent: Thursday, July 06, 2006 2:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using and image as a link Thanks for the information. I was looking online this morning after i posted hoping to find something and i ran across a mx:Link tag that actually inherited from the button tag. Did that tag get taken away in Flex 2.0? I tried it this morning and it would throw an error and not compile when used as listed in the documentation. tfth! henry iii --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt Horn [EMAIL PROTECTED] wrote: You could use a button and define the skins to be the same graphic (so it doesnt change like a button normally would when its state changes): Button { upSkin:Embed(../assets/mygraphic.jpg); downSkin:Embed(../assets/mygraphic.jpg); overSkin:Embed(../assets/mygraphic.jpg); } THen you just specify the click handler as you would with any button: mx:Button id=b1 click=doSomething()/ Just dont specify a label for the button. That will muck up the sizing of the button and the text will bleed through your image. hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Henry Sent: Thursday, July 06, 2006 8:37 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Using and image as a link I have been trying to get and image to go to a URL on a click. I am sure that I am making this harder than it should be. However i would like to know how you guys/gals might be doing this. I was trying to use an actionscript function that is predefined in Flash, but that does not seem to work. Do I need to create my own actionscript for this?, or is there something i am missing that is super simple? Thanks so much for your help! -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Font changes to FlexBuilder IDE (2b3)
Window Preferences General Appearance Colors and Fonts Text Font Then select new font. Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike_Robinson_98 Sent: Friday, June 30, 2006 3:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Font changes to FlexBuilder IDE (2b3) Will, I would be interested in knowing how to do this as I cannot find the right place either. Could you post your solution? Thanks, Mike --- In [EMAIL PROTECTED]ups.com, Will Morgan willmorgan@... wrote: Found it. No help needed...:) On 6/5/06, willmorganuk willmorgan@... wrote: Hi - does anyone know how to change the font of the MXML editor? I've looked about in windowpreferences and can't seem to find anything. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: flexcoders-unsubscr[EMAIL PROTECTED]comflexcoders-unsubscr[EMAIL PROTECTED]com?subject=Unsubscribe - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] changing states.
You should only need to set the state on "this.currentState". No import needed. Here is an example: private function stateHandler():void { this.currentState = 'About'; } Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Repeater XML Attribute
I noticed that you named your dataProvider myHomePageAC indicating that you are using an ArrayCollection. The E4X notation is used only on XML objects. You can then put the XML into an XMLListCollection to use it as a dataProvider. I think you have the right idea, but the wrong objects. Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mepaninaresh Sent: Tuesday, June 06, 2006 5:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater XML Attribute Hi, I am trying to retrieve a certain XML node using the attribute value, tried various syntax. Just can't get it to work. Sample code below. Any ideas? Thanks for any help. Amount Type=Number_of_Records Units=1 Format=Actual256/Amount Amount Type=Number_of_Critical_Changes Units=1 Format=Actual10/Amount Amount Type=High_Risk Units=1 Format=Percentage55/Amount mx:Repeater id=list dataProvider={myHomePageAC} mx:GridRow width=778 paddingLeft=4 mx:GridItem mx:LinkButton label={list.currentItem.Amount[0]} textAlign=center / /mx:GridItem mx:GridItem mx:LinkButton label={list.currentItem.Amount[Type=='High_Risk']} textAlign=center / /mx:GridItem /mx:GridRow /mx:Repeater __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Flex2.0 with OpenAMF
OpenAMF should _NOT_ work with Flex 2 due to changes in the AMF protocol. At least that is what I've been told. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t_msreddy Sent: Monday, March 20, 2006 8:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2.0 with OpenAMF Anyone really tried OpenAMF with Flex 2.0. Can you please share some code samples or links? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Passing actionscript variable for image path into @Embed()
Kushubhai, Doug is correct. @Embed is a compile-time directive. Therefore, in order to reference the image dynamically, you will have to embed the image and associate it with a variable. Typically, I will create a class (appnameAssets.as) that contains all of the embedded assets for my application. I then instantiate that class on an 'assets' property of my ModelLocator. Then I can reference the embedded image dynamically as ... source={ ModelLocator.assets.myImage } ... HTH Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Friday, March 17, 2006 12:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Passing actionscript variable for image path into @Embed() You can do something like this to bind an Image tag to a variable that refers to an embedded file. In script: [Embed(path/to/some/image.png)] var myImage: String; And in mxml: mx:Image source={myImage} / Doug --- In flexcoders@yahoogroups.com, kushubhai [EMAIL PROTECTED] wrote: Hi, I am trying to pass a actionscript variable to the @Embed(..)syntax inside a mx:Image [EMAIL PROTECTED](...) / tag , but am unable to get the actual path of the image from the variable.Instead the variable is picked up as the literal image path..and so the image is not displayed. Need help on this.. 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 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] Flex 2.0 Dashboard Project
Sergio, I did a presentation at MAX last year on building a dashboard. The preso is based on Flex 1.5 but it can at least get you started. http://www.robrusher.com/1/2006/03/Flex-15-Dashboard-Tutorial.cfm Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sergiosergiomon Sent: Friday, March 03, 2006 4:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 Dashboard Project Hello everyone! I had already posted here asking for a tutorial on how to build a dashboard like the sample on the Adobe/Macromedia Flex page. Being advised to look at the sample alreade in the Welcome page of Flex 2.0, I decided to go ahead, but being novice to Flex I really need a STEP BY STEP tutorial. Is there anything like that out there? Or at least how to work with charting components? Thanks! Sergio Brazil -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Email System POP3/SMTP on Flex
Flex requires a back-end to connect to a mail server, so there will have to be a Flex and something. In this case it happens to be ColdFusion. So to answer your question, No. There is not a Flex or Flash _ONLY_ version of an email system. They all require additional technology to communicate with the mail server. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ahmed Sent: Monday, February 13, 2006 8:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Email System POP3/SMTP on Flex Hello .. The Flex Email system published on the net is designed using Flex 2.0 and Cold fusion, and requires Cold Fusion Adapter. It there a Email System for POP3 and SMTP using Flex or Flash only without Cold Fusion ? Regards, Eng. Ahmed. -- 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] Embedding pdf doc with the help of Flashpaper in Flex1.5
Yes, print the pdf to flashpaper and save it as a swf. Then load the swf. I use a dll included with Contribute to generate the FlashPaper. I blogged how to use the dll at http://www.robrusher.com/1/2004/09/Dynamic-FlashPaper.cfm. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robs Sent: Monday, February 13, 2006 10:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding pdf doc with the help of Flashpaper in Flex1.5 Hi all, Is it possible to embed a pdf using flashpaper2 in flex1.5? 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 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] Dynamic tab event label problem
Every event has two things; target and type. These are the who and what of the event. Depending upon the event, there may be other properties that you can access as well. Who dispatched the event is 'event.target'. What type of event was dispatched is 'event.type'. I assume this is Flex 1.5 development because you're still using the Delegate class in your event dispatcher? To dump the properties of an object, you would do something like: for (var i in obj) where 'i' is the property and 'obj' is the object. Or you could use some of the debugging tools like Inspect Window by Christophe Coenraets http://coenraets.com/index.jsp or the Echo Console from the FAST framework http://www.macromedia.com/devnet/flex/articles/fast_userguide.html. HTH Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Plesse Sent: Tuesday, January 31, 2006 2:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic tab event label problem My problem is I don't know how to gather the label using the event object however not using the event is fine too. Can you tabDetails.selectedItem.label as well. // My Dynamic tab var newTab = tabDetails.createChildWithStyles(chatPanel2, 'HelloTab' + hello, { label:'HelloTab' + hello, title:'winTitle', height:200, width:550, fred:42 }); //My event Listener newTab.addEventListener(click, mx.utils.Delegate.create(this, onClick)); My problem is I don't know how to gather the label. function onClick(event) { debugTxt.text += onClick: event.target + event.target + event + event.target.label + \r; } Is there a way dump the event object or find out what the user clicked on? 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 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] How do you reference an object to get attributes for a tag?
Are you talking about binding? mx:Label text={ myObj.labelText }/ If your custom object has a String property that you want to display in a Label, you just reference it by name. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, January 30, 2006 3:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do you reference an object to get attributes for a tag? I wanna do something like this: mx:Label text = a dynamic custom object / So far I have not hit upon the magic combination through research and trial and error : ( Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] FlexBuilder on Mac
I guess the dont hold your breath was taken wrong. J Its going to be a few months before you see a Mac version (I for one, cant hold my breath that long). Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels Sent: Thursday, January 26, 2006 8:32 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlexBuilder on Mac Hi, To be clear, we intend to support Flex Builder on the Mac. However, we don't have a schedule for this yet---it will be after the 1.0 Windows version ships. But we will get there. -David From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rob Rusher Sent: Thursday, January 26, 2006 10:28 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlexBuilder on Mac Neither the current version nor the upcoming Flex Builder 2 will work on a Mac. There is talk about maybe supporting a Mac in the future, but I wouldn't hold your breath. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tobiaspatton Sent: Thursday, January 26, 2006 5:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FlexBuilder on Mac Anyone get this to work? I installed Eclipse 3.1 on my Mac and copied over the features, plugins, etc. from a Windows install of FlexBuilder. The IDE launches but will not open the MXML editor. The following exception is logged to console: java.lang.NullPointerException at zorn.editors.mxml.MXMLEditor.init(MXMLEditor.java:165) A couple things I've noticed: in the About Eclipse dialog (under the Help menu), the Flex logo does not appear alongside the Eclipse logo. Also, under installed features, none of the zorn.* features appear. Worst of all, the zorn features xml files have the following lines at the top: os=win32 ws=win32 Anyone know if it will ever be possible to run FlexBuilder on a Mac? Thanks. Tobias. -- 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] Horizontal Accordian?
Scott Barnes created one a while back. I'm not sure if it posted somewhere. I have a copy of it and will post it up on my blog, but until then you can check with Scott. ([EMAIL PROTECTED]) http://www.flexcoder.com/SynergyFLEX Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jgraham_us Sent: Thursday, January 26, 2006 11:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Horizontal Accordian? Anyone seen a horizontal accordian control anywhere? Just wondering before I implement my own. I searched around some and found a blog entry here : http://blog.funciton.com/aggregator/index.php?blog=86 The link for the blog entry seems to be broke. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] FlexBuilder on Mac
Neither the current version nor the upcoming Flex Builder 2 will work on a Mac. There is talk about maybe supporting a Mac in the future, but I wouldn't hold your breath. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, January 26, 2006 5:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FlexBuilder on Mac Anyone get this to work? I installed Eclipse 3.1 on my Mac and copied over the features, plugins, etc. from a Windows install of FlexBuilder. The IDE launches but will not open the MXML editor. The following exception is logged to console: java.lang.NullPointerException at zorn.editors.mxml.MXMLEditor.init(MXMLEditor.java:165) A couple things I've noticed: in the About Eclipse dialog (under the Help menu), the Flex logo does not appear alongside the Eclipse logo. Also, under installed features, none of the zorn.* features appear. Worst of all, the zorn features xml files have the following lines at the top: os=win32 ws=win32 Anyone know if it will ever be possible to run FlexBuilder on a Mac? Thanks. Tobias. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex book and Flex 2
There are couple of books in the works that will be timed with the release of the new version. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Thursday, January 26, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex book and Flex 2 Apart from AS3, how much different is mxml as described in the book to mxml in Flex 2? I'm trying to determine whether the book is still of value in learning Flex 2. Wil the book be updated for Flex 2 Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Sending complex data types to ColdFusion form Flex 1.5
Your custom ActionScript object is translated into a ColdFusion structure. So, make sure your object name and the argument name are identical, then make sure the argument type is struct. When you pass custom objects back from the server, make sure they are arrays of structures. Here is a call to the RO: restService.addReview({review:event.eventReviewProp}) In the CFC: cffunction name=addReview access=remote returntype=boolean cfargument name=review type=struct required=yes /cffunction Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kai Pradel Sent: Thursday, January 26, 2006 4:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sending complex data types to ColdFusion form Flex 1.5 Hi all, I have been trying to use Remote-Object to pass complex data types from Flex to ColdFusion - to no avail. Simple arrays and strings can be passed easily, but as soon as I send an object all hell breaks loose. I am running ColdFusion 7 (updater 3) on Win2K with Flex 1.5 (all on one machine) using Apache 2. If anyone has a working example on how to pass complex data types to ColdFusion that shows how I can read them out as argument.passedinobject I would greatly appreciate your help. Here is the situation: I am wrapping annotationdata into a shell object which is sent to a ColdFusion component. Using the debugger, I can see that the correctly formatted object is sent out. However, ColdFusion responds with unknown error if I try to access the passed in data. I don't get an error if I don't set a datatype or required to yes. However, I am also unable to access the passed in object. Thanks, Kai Flex Code: == == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml creationComplete=addData(); mx:Script ![CDATA[ var shellObject:Object = new Object(); var annotationdata:Array = new Array(); var dataObj:Object = new Object(); var dataObj1:Object = new Object(); function addData() { dataObj.timestamp = 123; dataObj.annotation = this is a string ; dataObj1.timestamp = 456; dataObj1.annotation = this is another string; annotationdata.push(dataObj); annotationdata.push(dataObj1); shellObject.myArgument = annotationdata filemanagerfunctions.myFunction(shellObject); } ]] /mx:Script mx:RemoteObject id=filemanagerfunctions endpoint=http://192.168.168.1/flashservices/gateway fault=mx.controls.Alert.show('hello!') source=mediasilodev.components.helloworld showBusyCursor=true mx:method name=myFunction result=alert(event.result) / /mx:RemoteObject /mx:Application ColdFusion Code: == == cfcomponent cffunction name=myFunction access=remote returntype=string cfargument name=myArgument required=no cffile action = "" file = d:/Inetpub/Webroot/mediasilodev/output.html output = #arguments.myArgument.data1# cfreturn Got something /cffunction /cfcomponent -- 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 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] Filling a TileList with objects from a dataProvider in Flex 1.5
TileList uses a dataProvider and cellrenderers to do what you're trying to do. So you're going to have to add a setValue() to your custom component that assigns the dataProvider data to your component properties. Your TileList will then take the result from your service and set the cellRenderer to your component. i.e. mx:TileList dataProvider={ myService.result } width=100% height=100% cellRenderer=MyComponent itemWidth=120 itemHeight=108/ Then in your component do this: mx:Script var compProperty: Object; function setValue( str:String, item:Object ) { compProperty =item; } /mx:Script mx:Label text={ compProperty.name}/ Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ehogberg Sent: Thursday, January 26, 2006 3:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Filling a TileList with objects from a dataProvider in Flex 1.5 Hi all: New to Flex 1.5, having problems understanding how to do a seemingly simple thing: populate a TileList with items created out of a HTTPService call. Help/pointers would be appreciated. I have a HTTPServer object: mx:HTTPService id=myService / I have a custom component: custom:MyComponent myProperty1= myProperty2=/ I would like to build a TileList of MyComponent instances, iterating over the myService.result object to set MyComponent properties. However, I can't seem to find a way to do this. I have tried using a Repeater to handle the myService iteration, but can't find the correct syntax (if there is any) for where to nest the Repeater within the TileList. It would seem logical to try something like: mx:TileList mx:dataProvider mx:Repeater id=r custom:MyComponent myProperty={r.currentItem.someValue} / /mx:Repeater /mx:dataProvider /mx:TileList but no dice; compiler complains mightily about naming nested objects. Am I even in the ballpark on this? Thoughts from the group? Thanks in advance, -E- -- 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 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] extracting a ui component
You can start by getting at the source. Check out http://www.docsultant.com/site2/articles/flex_src.html Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of davecaygill Sent: Wednesday, January 18, 2006 9:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] extracting a ui component Hi, I'm trying to extract the tab bar component from flex to use in flash mx2004 for an as2.0 project anyone got any ideas how to do this!? Cheers, dave -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flash Remoting with Registered Objects
You don't need to use the registerObject(). That is for Java back-ends. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of im_sean_s Sent: Wednesday, January 25, 2006 7:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flash Remoting with Registered Objects Sorry, I should have mentioned that I'm using Flex 1.5 with a ColdFusion 7 back-end. --- In flexcoders@yahoogroups.com, im_sean_s [EMAIL PROTECTED] wrote: Hello all! I was wondering if someone could give me a hand. I am currently working on a Flex application that takes the user through a multi-step form. Since completing the form requires some thought and planning, I am using a sharedObject to store the data from each step. In order to accomplish this, I have to register my classes using Object.registerObject(). All of this works fine, however when I attempt to submit all the form data, using Flash Remoting, I get an error stating that the data type cannot be converted. The object was submitting fine when I was sending an unregistered class, but now it does not work. Any insight you can provide would be greatly appreciated. Thank you, Sean -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flash Remoting with Registered Objects
Object.registerClass() helps prevent the AMF gateway from having to search for the equivalent object type when using RemoteObject. And it returns a Boolean, so I wonder about SharedObjects not working with out it. You should be able to store simple data types in a SharedObject. (i.e. Number, String, Boolean, XML, Date, Array, and Object) Since Object.registerClass() takes two arguments, the java class package structure and the ActionScript package structure, what are to passing? Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of im_sean_s Sent: Wednesday, January 25, 2006 8:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flash Remoting with Registered Objects Rob, Thanks for your quick reply. I am using registerClass() so that the object can be saved as a shared object on the client, until the user is ready to submit the form. I tried it without doing this, and it did not work. The problem I am having is that once the class is registered, I cannot send an instance of that class to CF. Thank you, Sean --- In flexcoders@yahoogroups.com, Rob Rusher [EMAIL PROTECTED] wrote: You don't need to use the registerObject(). That is for Java back-ends. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of im_sean_s Sent: Wednesday, January 25, 2006 7:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flash Remoting with Registered Objects Sorry, I should have mentioned that I'm using Flex 1.5 with a ColdFusion 7 back-end. --- In flexcoders@yahoogroups.com, im_sean_s [EMAIL PROTECTED] wrote: Hello all! I was wondering if someone could give me a hand. I am currently working on a Flex application that takes the user through a multi-step form. Since completing the form requires some thought and planning, I am using a sharedObject to store the data from each step. In order to accomplish this, I have to register my classes using Object.registerObject(). All of this works fine, however when I attempt to submit all the form data, using Flash Remoting, I get an error stating that the data type cannot be converted. The object was submitting fine when I was sending an unregistered class, but now it does not work. Any insight you can provide would be greatly appreciated. Thank you, Sean -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] FW: What should I do
I actually had this problem with a students machine today. It turned out to be the configuration of the Flex Site in Flex Builder 1.5 was the problem. I know weird. The service worked when hitting it directly, but when running the Flex app in a browser or in FB we would get this same error. Even restarting the machine didnt work. We then adjusted the Flex Site in FB. All of the sudden, working! Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Wednesday, January 25, 2006 9:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FW: What should I do Can you reach the proxy via the external IP? Is the server where the proxy lives allowed to access the internet? Does it need its external proxy set up (entries in flex-config.xml)? Turn on debugging (web-service-proxy-debug) and see what the logs say. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas Sent: Wednesday, January 25, 2006 5:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FW: What should I do Hi All, I am using Named Web service. I have deployed on Tomcat 5.0 . When I am calling the web service through http://localhost/... Or through local IP (Internal IP), it is working fine But when I am calling the web service through an External IP errors occurs That is 500 Error connections refused: due to could load WSDL Thanks regards Abhishek Software Engineer Vanguard Info Solutions Ltd. Gurgaon -- The information in this e-mail is the property of VanGuard Info-Solution Ltd.and may be confidential and privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you receive this message in error, please notify the sender immediately forward a copy of this e-mail to [EMAIL PROTECTED].An E-mail reply to this address may be subject to interception or monitoring for operational reasons or for lawful business practices.This e-mail and any attachments has been scanned for the presence of computer viruses.Vanguard accept no responsibility for computer viruses once e-mail has been transmitted -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex not Importing External Schema referenced in WSDL
You will have better luck with an RPC web service. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of augie Sent: Tuesday, January 24, 2006 3:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex not Importing External Schema referenced in WSDL Hi All, I have a document/literal webservice that imports an externel schema: import namespace=urn:ruleslibrary/egov schemaLocation=http://localhost:5/demorulesalpha/egovConcepts.xsd/ Flex doesn't seem to be loading the types into my tree control from this location. Does anyone have a solution, or somewhere they can point me to to fix thisd problem. Thanks, -Augie Marcello III -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Can CSS Inheritance be Controlled?
I'm not quite sure I understand what your query is, but... If what you are trying to do is have the textDecoration that is applied on the dataProvider to a LinkBar carry over to the LinkBar, you're out of luck. Like this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel title=Link Bar Panel mx:LinkBar dataProvider={ myStack } textDecoration=none / mx:ViewStack id=myStack mx:HBox label=tab 1 textDecoration=underline mx:Text text=Text in 1 textDecoration=underline / /mx:HBox mx:HBox label=tab 2 textDecoration=underline mx:Text text=Text in 2 / /mx:HBox mx:HBox label=tab 3 textDecoration=none mx:Text text=Text in 3 textDecoration=underline / /mx:HBox /mx:ViewStack /mx:Panel /mx:Application The LinkBar is using the ViewStack as its dataProvider. There is not a parent child relationship there so inheritance can not happen. Only the label and icon properties of the ViewStack's children are passed to the LinkBar. HTH Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Tuesday, January 24, 2006 6:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can CSS Inheritance be Controlled? I would like to insert some Links in a LinkBar that do not inherit the textDecoration attribute from the parent LinkBar. Setting the individual Links textDecoration has no effect, they all use the parent's attribute. Would anyone have any idea how to do this? Maybe somebody from Adobe/MM could provide a suggestion? Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex Asp.Net WebService
Of course it's possible. You will get better results if you make the web service rpc instead of doc/lit though. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Ferracioli Sent: Wednesday, January 18, 2006 8:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Asp.Net WebService Hi! I'm new in this list! My Name is Marcelo Ferracioli! I want consume an Asp.Net Web Service that return DataSet classes. This is possible? Exists examples?? Thank you Marcelo -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Multiple values in a data model
What you want to use is the mx:Object instead of mx:Model. This example dynamically adds a new object to the mx:Object test each time the button is clicked. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Script ![CDATA[ public var count:Number = 0; public function addToModel():Void { var newRecord:Object = new Object(); newRecord.name = Toby; newRecord.sign = Leo; newRecord.birthYear = 1984; test[ count++ ] = newRecord; } ]] /mx:Script mx:Object id=test/ mx:Button label=Add click=addToModel()/ Inspect/ /mx:Application HTH Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rgwilson26 Sent: Tuesday, January 24, 2006 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Multiple values in a data model I have an application I am working on where the user can input information into various text input fields layed out in a HBOX. If the user needs to add another person for the input they click on an add event that dynamically creates another row. My question is what is the best way to tie multiple entries to the data model? If there is only a one line entry it would be no problem, but what do you do when you want a data model to hold mulitple entries from dynamically created input fields to be re-used throughout the app or sent back to the database? Any suggestions would be appreciated. Thanks, ** MY CODE ** ?xml version=1.0 encoding=utf-8? mx:Application height=25 xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Model id=basicInformationModel EventDate{txtRCAParticipants1.text}/EventDate FaciltyDate{txtTitle1.text}/FaciltyDate SacActual{cmbTeamRole1.selectedItem}/SacActual SacPotential{txtPhoneNumber1.text}/SacPotential /mx:Model mx:Script ![CDATA[ var participantRowArray : Object = new Array() ; var participantCounter : Number = 0 ; //--- RCA Participants -- private function addRCAParticipantsRow():Void { participantRowArray[participantCounter] = Components.charterMemoParticipantsEntry (participantsRowHolder.createChild (Components.charterMemoParticipantsEntry,undefined, null ) ); participantCounter++; } ]] /mx:Script mx:HBox mx:Label text=3.) RCA Participants width=150/ mx:Label text=Title width=150/ mx:Label text=Team Role width=100/ mx:Label text=Phone # / mx:Button label=Add width=60 click=addRCAParticipantsRow ();/ mx:Button label=Delete width=60 click=deleteRCAParticipantsRowRow();/ /mx:HBox mx:HBox height=100% width=100% mx:TextInput id=txtRCAParticipants1 width=150 text= / mx:TextInput id=txtTitle1 width=150 text= / mx:ComboBox id=cmbTeamRole1 width=100 mx:dataProvider mx:Array mx:String/mx:String mx:StringLeader/mx:String mx:StringMember/mx:String mx:StringAdvisor/mx:String /mx:Array /mx:dataProvider /mx:ComboBox mx:TextInput id=txtPhoneNumber1 width=150 text= / mx:Spacer width=20 / mx:Button label=Delete click= / /mx:HBox /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha
Did you try adding it in your style sheet like this: @font-face { src: url(assets/fonts/arial.ttf); fontFamily:futura; unicode-range: glyphs; } Then in your flex-config.xml set the unicode-range: language-range langglyphs/lang rangeU+0E01-U+0E5B/range /language-range Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Klishin Sent: Sunday, January 01, 2006 1:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2 alpha JesterXL wrote: [Embed(systemFont='Arial', mimeType='application/x-font-truetype')] Thanks Jesse but this will embed the whole font, won't it? What if I need, say, just numerals? Or just letters a, j, u, and w? Is there a way to do it? -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Max width and height for the Loader??
Moyosaned, Yes, width and height properties are inherited. It sounds like you want to set the content to scale to the size of the Loader, so you would want to set scaleContent to true. A blind guess, there was a known bug (1.5 bug 84294) in the loader where during resize of the content the original size is not known. Also if you are loading an image, I recommend using the Image tag because it is optimized for images. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of moyosaned Sent: Thursday, December 22, 2005 9:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Max width and height for the Loader?? Is there a max width/height for the Loader I tried a width from around 4000 pixel, but I see around 3000/2880. Is it just me? I'm loading the image like this: mx:Loader id=image_loader scaleContent=true maintainAspectRatio=true mouseMove=scroll()/ and mx:Loader id=image_loader scaleContent=false maintainAspectRatio=true mouseMove=scroll()/ and setting the source in script. What am i doing wrong! Is there a max? -- 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 ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/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] in Flex 1.5, how can I do a page such as asp.net - on pageload?
You are interested in the system events that are fired with each component. initialize and creationComplete are the two major events you would be interested in. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of endofadam228 Sent: Saturday, December 10, 2005 10:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] in Flex 1.5, how can I do a page such as asp.net - on pageload? in Flex 1.5, how can I do a page such as asp.net - on pageload? I wanna do a .mxml page which can be ordered to do something when the .mxml page was loaded. Any function or listener can function such as asp.net - on pageload? -- 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 ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/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] How do you pass bindings into a custom component?
I have an AS class that extends UIComponent. I can easily pass a value into the component if it is a string, but if the property is bound to something it does not come through. Ive tried setting events to detect the change with no luck. Most likely an error on my part. Anyone have ideas on how to do this? Main.mxml == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* mx:TextInput id=myText text=Click Me/ MyComponent id=myPanel buttonText={ myText.text }/ /mx:Application MyComponent.as == // Import all necessary classes. import mx.core.*; import mx.controls.*; class MyComponent extends UIComponent { // Declare events [Event(click)] // Declare input property. public var buttonText:String; // Declare two children member variables. public var text_mc:TextArea; public var button_mc:Button; function createChildren():Void { if ( button_mc == undefined ) createClassObject( Button, button_mc, 1, { } ); if ( text_mc == undefined ) createClassObject( TextArea, text_mc, 0, { preferredWidth: 150, editable: false } ); button_mc.addEventListener( click, this ); // assign input property to buttons label button_mc.label = buttonText; } function layoutChildren() { button_mc.move( text_mc.width / 2 - 5, 50 ); } // Handle events that are dispatched by the children. function handleEvent( eventObj:Object ):Void { if ( eventObj.type == click ) text_mc.text = You clicked the button; } } Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -- 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: How do you pass bindings into a custom component?
Yeah, I tried that. No workie. Regards, Rob --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: You have to put a change tag above the property in question. Check in the documentation for ChangeEvent: [ChangeEvent(change)] public var flavorStr:String; - Original Message - From: Rob Rusher To: flexcoders@yahoogroups.com Sent: Thursday, November 03, 2005 11:47 AM Subject: [flexcoders] How do you pass bindings into a custom component? I have an AS class that extends UIComponent. I can easily pass a value into the component if it is a string, but if the property is bound to something it does not come through. I've tried setting events to detect the change with no luck. Most likely an error on my part. Anyone have ideas on how to do this? Main.mxml == ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:TextInput id=myText text=Click Me/ MyComponent id=myPanel buttonText={ myText.text }/ /mx:Application MyComponent.as == // Import all necessary classes. import mx.core.*; import mx.controls.*; class MyComponent extends UIComponent { // Declare events [Event(click)] // Declare input property. public var buttonText:String; // Declare two children member variables. public var text_mc:TextArea; public var button_mc:Button; function createChildren():Void { if ( button_mc == undefined ) createClassObject( Button, button_mc, 1, { } ); if ( text_mc == undefined ) createClassObject( TextArea, text_mc, 0, { preferredWidth: 150, editable: false } ); button_mc.addEventListener( click, this ); // assign input property to button's label button_mc.label = buttonText; } function layoutChildren() { button_mc.move( text_mc.width / 2 - 5, 50 ); } // Handle events that are dispatched by the children. function handleEvent( eventObj:Object ):Void { if ( eventObj.type == click ) text_mc.text = You clicked the button; } } Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --- - 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] Repeater doesn't work
I dont see an import statement for the TestData class. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of r_woess Sent: Wednesday, August 17, 2005 5:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater doesn't work Hi, I tried tu use a Repeater like you can see in the code below. Can anybody tell me, why no data will be shown? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; creationComplete=CreationComplete(); mx:Script ![CDATA[ public var myData:Array; public function CreationComplete():Void { myData=new Array(); var testdata:TestData; testdata=new TestData(); testdata.data1=abc; testdata.data2=def; myData.push(testdata); testdata=new TestData(); testdata.data1=ghi; testdata.data2=jkl; myData.push(testdata); } ]] /mx:Script mx:Repeater id=myRepeater dataProvider={myData} mx:Label text={myRepeater.currentItem.data1}/ /mx:Repeater /mx:Application --- class TestData { public var data1 : String; public var data2 : String; } --- best regards reini -- 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 ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hgned9q/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124299835/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] move window up
Rajesh, Because each title window has a parent you can simply get the top child with the getChildAt() method and then set your target above that. function popToTop( target : mx.core.UIObject ) { var parent = target.parent; var topSibling = parent.getChildAt( parent.numChildren - 1 ); if ( topSibling != target ) target.setDepthAbove( topSibling ); } HTH, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Monday, August 15, 2005 5:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] move window up Hi, My application uses multiple titlewindows, and I am storing the reference of them in a arraylist, and creating a dynamic menu. Now in the script how do I set the depth of the window so that the window can be on the top. I cannot use setdepthabove since I do not know which window is on the top currently. Regards Rajesh J -- 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 ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9k6s9l/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124157331/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] About synchronizing grid rendering with service completion
You could use a ViewHelper for that view. You could also set the showBusyCursor on the RemoteObject to prevent the user for clicking anything until the screen is ready. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jesus Salvador Ramos Cardona Sent: Tuesday, August 09, 2005 9:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] About synchronizing grid rendering with service completion By the way, I forgot to mention that we are using the cairngorm Project microarchitecture, and so our question would be towards finding the best way (or best practice) to achieve this functionality. Your approach seems ok to us, Tracy, but how would we implement this the cairngorm way? Regards. J. De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Tracy Spratt Enviado el: Martes, 09 de Agosto de 2005 07:51 pm Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] About synchronizing grid rendering with service completion Importancia: Alta Could you disable them in the mxml tag to start with, then, in a result handler on the RemoteObject, set the final state? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jesus Salvador Ramos Cardona Sent: Tuesday, August 09, 2005 8:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] About synchronizing grid rendering with service completion Hi all, We have a view that contains a grid and some action buttons. These action buttons must be disabled/enabled depending on the data provided to the grid. The data is provided by a remoteObject, and the decision of enabling/disabling these buttons is taken by the view. Everything is working fine, except for this little decision part, since it starts rendering even though the data returned from the remote object is not yet complete. Is there any way to avoid the rendering of this little component until the remote object call finishes? Any help will be appreciated. Thanks. Jesús Ramos Cardona Desarrollo de Sistemas de Casa de Bolsa [EMAIL PROTECTED] +52 (55) 51 74 22 22 ext. 1250 Ixe Grupo Financiero Este correo electrónico y sus anexos pueden contener información CONFIDENCIAL para uso exclusivo de su destinatario. Si ha recibido este correo por error, por favor, notifíquelo al remitente y bórrelo de su sistema. Muchas gracias. Las opiniones expresadas en este correo son las de su autor y no son necesariamente compartidas o apoyadas por la compañía. Ixe Grupo Financiero no asume aquí obligaciones ni se responsabiliza del contenido de este correo, a menos que dicha información sea confirmada por escrito por un representante autorizado. No se garantiza que la transmisión de este correo sea segura o libre de errores, podría haber sido viciada, perdida, destruida, haber llegado tarde, de forma incompleta o contener VIRUS. -- 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] equivalent to cfdump in Flex?
The closest thing I've seen is the Inspect window that Christophe posted on his blog. http://coenraets.com/viewarticle.jsp?articleId=83 Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Friday, August 05, 2005 11:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] equivalent to cfdump in Flex? Is there an equivalent to a cfdump in Flex? I am trying to display the content of an object. 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hi9m1r6/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123264756/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] Array of VOs class loading issue
I'm getting an error when working with a VO that is an array of VOs. The error is The class 'myV0' could not be loaded. The class is clearly imported. What am I missing? Code for the myListVO.as import org.nevis.cairngorm.vo.ValueObject; import com.company.app.vo.myVO; class com.company.app.vo.myListVO implements ValueObject { public static function fromXML( xml:Object ) : myListVO { var newObj = new myListVO; var displayOrder:Number; /*error on this line*/ var test:myV0 = new myV0; ... return newObj; } public var qArray:Array = new Array(); } -- Regards, Rob Rusher Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h35sfji/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123100155/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Array of VOs class loading issue
var test:myVO = new myVO; gives this error The class 'myV0' could not be loaded. var test = new myVO; gives this error There is no method with the name 'myVO'. Adding the parenthesis has no effect. (e.g. new myVO()) Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, August 03, 2005 2:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Array of VOs class loading issue myV0 != myVO One is a zero, the other is the letter o, right? - Original Message - From: Rob Rusher [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 03, 2005 2:15 PM Subject: [flexcoders] Array of VOs class loading issue I'm getting an error when working with a VO that is an array of VOs. The error is The class 'myV0' could not be loaded. The class is clearly imported. What am I missing? Code for the myListVO.as import org.nevis.cairngorm.vo.ValueObject; import com.company.app.vo.myVO; class com.company.app.vo.myListVO implements ValueObject { public static function fromXML( xml:Object ) : myListVO { var newObj = new myListVO; var displayOrder:Number; /*error on this line*/ var test:myV0 = new myV0; ... return newObj; } public var qArray:Array = new Array(); } -- Regards, Rob Rusher -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hmpa9n8/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123101462/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Array of VOs class loading issue SOLVED
I too hate one letter variable names. :) One of the other developers actually wrote the solution. Another created the problem in the first place. A few people mentioned the zeros. Courier New makes it hard to spot. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: Wednesday, August 03, 2005 6:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Array of VOs class loading issue SOLVED public static function fromXML( xml:Object ) : myListVO { var o = new myListVO(); for (var i=0; i xml.length; i++) { var q:Object = xml[i]; var j = q.DisplayOrder - 1; o.qArray[j] = myVO(myVO.fromXML(q)); } return o; } joke:tongueInCheek acceptCriticism=inSpirtItWasIntended / Did you know that Flex allows variable names of more than one letter that express the intent of the code ? :-) Incidentally, in your previous code, the line: var test:myV0 = new myV0(); looks on my screen like you're using the numeral zero rather than the capital letter O in your class name, so the compiler is correctly telling you The class my-vee-nought could not be loaded. Should save you your work around above... Best, Steven PS. If you rename the variable to t, don't bother strictly typing it and drop the brackets in the object instantiation, you should save 8 keypresses and remove the possible places for typing a nought instead of an O to 1 instead of 2 ;) -- Steven Webster Technical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. -- 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 ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hs6f48u/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123116443/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] databinding question
Its probably because of the way they are instantiated. dispatchEvent() is a mix-in from UIEventDispatcher. You might try adding ChangeEvent to the component once it is created. Just a thought. Hey, Im at 11 Madison Ave. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann Sent: Tuesday, August 02, 2005 4:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding question Quick question...why are these different: merlin:ReportingDatesPanel width=100% height=100% portfolio={selectedPortfolio} / Versus: mainContent.createChild(ReportingDatesPanel, , {width: 100%, height: 100%, portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML in first example above, the custom component recognizes the change in the selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component with the code in the 2nd example above, if the selectedPortfolio object changes, the dynamically created custom component does not see that change and none of the actions that I want to take place, actually take place. Im guessing this is a databinding issueam I supposed to set the portfolio attribute differently to catch changes in this object when dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] How much do you charge for Flex development?
What?! Are you guys crazy? My mechanic charges me more than that. Consultancies are going to charge between $100 (newbie) and $250 (guru) an hour for a Flex developer. Sure, as an independent, you will charge less but not that much less. Maybe I'm spoiled, but Jesse you're worth way more my friend. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, July 20, 2005 11:04 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How much do you charge for Flex development? Busy/Bad Mood = $60/hour I like you/Not Busy/Good Mood = $30/hour As far as salary, I'd think because of your server background, 70-90 is fair market rate (per various job sites the USA government department of commerce salary reports) depending on company size, but depends on the direction they are going with Flex. For example, the reason I'm asked to do contract Flex by clients (beyond the fact there aren't many Flex contractors) is because I know how to get the GUI to work. The reverse holds true in having a good server-side developer on the team doing Flex because he/she knows the impact on the backend and can offer valuable insight into making the application work better, leaving the GUI/wireframe/frontend visual details up to someone like me. ...of course, the same logic applies to my Flash projects, hehe. Flex/Flash, here's my typical scenario: Jesse, can you do Flex contract? No, but these people might have time. :: forwards list of contractors :: *alternate universe where Jesse has time for more than 1 contract job a year* Sure, but I'm really busy right now, what are the details of the project? :: gets details / specs / whatever wireframes are available, if any :: Ok, swag time estimate is X hours @ 60 an hour, my rate, thus that'll cost you $XX for my services. Geez, we don't have the budget for that :: negotiations :: Ok, I've adjusted the scope of what I can do, rate, and hours based on our discussions. We agree to $XX for the project since that fits nicely in your budget. Let's knock this shiz out of the park! So, I say a rate, but rarely ever get it because of budgetting, which is understandable and I'll adjust what I can do and what I charge accordingly, if at all possible. Now, as far as salary, I'd treat it similiarly to any New Media + Front-end JSP Development type job, and you'd have an accurate assessment of salary range. Naturally, all the other rules of location, budget, company size, time, etc. all factor in which is beyond the scope of this email; there are plenty of resources online both professional, independent, and governement which can help you make a more educated inference based on the numbers I gave above. - Original Message - From: Devin Holloway [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 20, 2005 3:59 AM Subject: [flexcoders] How much do you charge for Flex development? As a CF developer, I've been recently been putting more serious thought into becoming a Flex developer. It would be a long time before the company I work for could move into this direction, if ever. So I'd have to become a contractor or find a Flex position at another company. But I'm curious as to how much a Flex developer should be making. I realize much of that depends on your skillset, but does their exist any averages? or possibly some minimums and maximums? Let's pretend I make around $75K/yr as a full time CF developer. I'm by no means a Flex guru, with less then a month of learning it. I would also be seeking a CF position with an emphasis on Flex development, for, it seems as though I'd have to take a good sized pay cut if I were to become purely a Flex developer with what little experience I have... and therefore would need to offer my CFML skillset as well, to counter the pay cut. Personaly, getting a CF position with a Flex emphasis and making approximately the same amount of money would seem like a bargain to me. But would I be short- changing myself? Would a lack of Flex developers allow a person to be less competitive and ask for more? And what would contractor generally charge? I don't see myself becoming a contractor yet, for I'd rather seek a fulltime position where I could learn first. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders
RE: [flexcoders] Minimal webapp
Aldo, I am building some POCs and I wouldn't like to deliver the MXML / AS sources. Two questions: - Can I deliver just the compiled SWFs? How? Yes you can if the SWF doesn't use the Flex proxy for anything (e.g. RemoteObject). You simply set the keep-generated-swfs to true in flex-config.xml, run the page and then copy the generated SWF to wherever. - Will they expire after a day? Yes, they will expire if you don't have a license (NC or Commercial). BTW, they are to be deployed in WLS8.1... but I already have them working in a similar setup in my box, so that shouldn't be a problem. I would suggest that you deploy your POCs to the Flex Explorer sample application. Then just hand out the URL to people so that they can see it work as well as see the code. It's very simple; just edit the topics.xml in the explorer directory. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Wednesday, July 20, 2005 2:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Minimal webapp Matt, If you just want the SWF (and don't need to re-compile) then I'm sure you can get away with a lot less, but assuming you have the developer license that may only last you a day. I am building some POCs and I wouldn't like to deliver the MXML / AS sources. Two questions: - Can I deliver just the compiled SWFs? How? - Will they expire after a day? BTW, they are to be deployed in WLS8.1... but I already have them working in a similar setup in my box, so that shouldn't be a problem. Thanks, -Aldo On 7/20/05, German M. Gomez [EMAIL PROTECTED] wrote: Thanks Matt, that was exactly what i needed. --- Matt Chotin [EMAIL PROTECTED] escribió: You need your MXML and AS files and everything under WEB-INF/flex *except* for the generated directory (which may be taking up some space). An empty flex.war is approximately 11 MB though samples.war was about 18 MB to start. If you just want the SWF (and don't need to re-compile) then I'm sure you can get away with a lot less, but assuming you have the developer license that may only last you a day. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of German Sent: Tuesday, July 19, 2005 2:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Minimal webapp Hi. I'm using flex for a demo, I did a small master-detail app with hsql, ibatis SqlMaps, Spring, SpringAdapter and Flex ofcourse. The thing is, how do i pack that application into a war file, what do i need to include? I took the explorer demo app and modified it but now I have 17Mb that i'm sure i don't need. What are the jars needed?, Do i need the as files.I'm new to flex i still don't get it quite well thanks -- 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 Computer software testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Comput er+software+testingw2=Macromedia+flexw3=Developmentw4=Software+develo perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+softwar e+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s= 93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93. sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+soft ware+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s=93.sig=QWIit8JayomoIHLVkV3FDg YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar -- 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
RE: [flexcoders] Business Delegate, command class, service locator, etc, etc
You need to view the following breezo: http://macromedia-v5.emea.breezecentral.com/architectingflexapplications/ It demonstrates the .95 version. Regards, Rob Rusher Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of a8i364io Sent: Tuesday, July 19, 2005 12:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Business Delegate, command class, service locator, etc, etc hello everyone, this is my first post to the group. I am a long-time CF guy and have bought (5 copies!) and read the RIA book and had Figleaf come inhouse to give Flex beginning training. We want to start really getting some applications out the door, but I want to make sure I understand the framework and best practices before we get too far. They didn't teach us that stuff in class. Since the code for the credit card application in the book isn't available, does someone have a graphical representation of the various architectural best practices and how they interact with each other? I downloaded the cairngorm files - which I assume somewhat follow architectural suggestions set forth in the book - but I haven't yet been able to make much sense of them. many 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 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 License(s) Performance
Jack, You compile the SWF on a server with Flex install. Then copy the generated SWF over to your web server and embed it in a web page. The difference is that you don't need a Java Application Server running. i.e. more system resources I'm not positive, but I think you need special licensing permission from MM to deploy a Flex app without the server. Regards, Rob Rusher Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jwc_wensan Sent: Tuesday, July 19, 2005 1:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex License(s) Performance Darron: Thanks for your input. I read Ted's post. His production server does not have Flex. Where is the SWF being served from? Forgive my ignorance, but if you need a flex license for every server the SWF sits on, what's the difference? Can you elaborate further? Thanks again, Jack --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: jwc_wensan wrote: With the above scenario how many simultaneous users can adequately access the server before I would need a second server? Or is it better to ask how many per hour? See Ted's entry here about scaling Flex: http://www.powersdk.com/ted/2005/05/scaling-flex.php I completely agree with him as well. I don't have Flex running on the server at all. Instead, I take my Flex-compiled .swf and place it on a typical web server. Then, the Flex application is delivered as a .swf and there's no need for the server to do any extra processing at all. I've never had a server crash because it couldn't send out .swf files fast enough. Keep in mind though, you'll need a Flex license for every server the .swf file sits on. You can use RemoteObjects without a Flex server running as well, but you'll need to use another AMF gateway such as OpenAMF (or you can use ColdFusion). If you use WebServices, you might need a little shim script to get around the security restrictions of the Flash Player (loading data across domains), depending on what server the web services are located on. Also, I read somewhere that RemoteObjects is faster. Is it a signficant increase? In general RemoteObjects are faster because it uses AMF, which is a binary format and much less verbose than WebServices. It's hard to give a definite yes/no answer because I've actually seen results go both ways... -d -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Is there such a test
No such test as of yet. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 6:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is there such a test To become a certifiedFlex Programmer, if so how hard is the test? I mean I was just wondering? -- 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] Location of the shared.sws
Joost, You need to create the library descriptor file that defines the SWS. In this descriptor file you will be able to reference SWF or SWC . http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=1165.htm The livedocs link above shows how to point to a different server. Regards, Rob Rusher From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joost Nuijten Sent: Monday, July 18, 2005 8:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Location of the shared.sws Hi, I have the following problem regarding the shared library: The webserver (server 1) embeds mxml.swf files from the flexserver (server 2). The shared.sws is located on server 2. The mxml saysthe rsl can be found on rsl=shared.sws. When the page is accessed throught the HTML the sws cannot be found. When I call the mxml directly everything works fine. In the first case the mxml expects the sws on server1. So entering an absolute path, like rsl=http://domain/shared.swsshould help. But this doesn't work A compile error 'the resource cannot be found' is returned. Does anybody have an idea how to do this? Thanks! -Joost -- 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: mx:ScrollView not known to compiler?
ScrollView is not in the mxml_manifest.xml. If you add component id=mx.core.ScrollView class=mx.core.ScrollView/ to /WEB-INF/flex/mxml-manifest.xml and restart the service the error message will go away. Regards, Rob Rusher --- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] wrote: Ok - this wasn't a good example. I basically need a ScrollView as the base for a custom component - don't mind the HBox :) Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick Sent: Thursday, July 14, 2005 5:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mx:ScrollView not known to compiler? Well, why would you want to create a ScrollView object? Most Panels, and in your specific case, your HBox, have properties HScrollPolicy and VScrollPolicy which allow you to turn on/off/auto (default) those scroll bars. I also believe ScrollView is just a base class for objects that use scrolls(not sure if it can be instantiated or not;abstract class???not sure) Nick Sauro + R O U N D A R C H + bus 212.909.2335 + mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Thursday, July 14, 2005 10:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:ScrollView not known to compiler? Maybe I'am missing something obvious here (or my brain just melted because of 30°C/86°F in the office) but why can't I use mx.core.ScrollView inside mxml? The sample below does not compile and gives the following error: Don't know how to parse element http://www.macromedia.com/2003/mxml:ScrollView;. It is not a known type or a property of mx.core.Application. mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:ScrollView mx:HBox width=1000 height=100/ /mx:ScrollView mx:Application I also tried to build a MXML component that subclasses ScrollView but still no go. Ideas? Dirk. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com YAHOO! GROUPS 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/ . -- 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/