[flexcoders] Simple Panel Resizer
This works ok but performs terribly. I just can't get the panel update fast enough to follow the mouse. Any help? ?xml version=1.0? mx:Application initialize=setListeners(); frameRate=36 xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% mx:Script ![CDATA[ public function setListeners():void { resizeButton.addEventListener ((MouseEvent.MOUSE_MOVE), myPanelResizer); } public function removeResizer():void { myPanel.removeEventListener((MouseEvent.MOUSE_MOVE), myPanelResizer); } public function myPanelResizer(e:MouseEvent):void { if(e.buttonDown) { e.target.parent.parent.width = e.target.parent.parent.mouseX +20; e.target.parent.parent.height = e.target.parent.parent.mouseY +20; } e.updateAfterEvent(); } ]] /mx:Script mx:Panel id=myPanel mouseUp=removeResizer(); horizontalScrollPolicy=off verticalScrollPolicy=off dropShadowEnabled=true shadowDistance=3 shadowDirection=center width=580 height=380 mx:Canvas id=body width=100% height=100% horizontalScrollPolicy=off verticalScrollPolicy=off mx:Button id=resizeButton label=drag x={body.width-resizeButton.width} y={body.height-resizeButton.height} / /mx:Canvas /mx:Panel /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 * 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 Libs Source Code
Thank you Gordon Smith, but of fact i would like access a source code of the classes that are inside the flash package. For example, i want access the source code (.as) of the class flash.events.DataEvent.Thank you for your timeEduardo DiasOn 8/8/06, Gordon Smith [EMAIL PROTECTED] wrote: C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of eduardodias Sent: Tuesday, August 08, 2006 2:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Libs Source Code Hello, Someone know if is possible have access the source code of the Flex Libs(playerglobal.swc,flex.swc,framework.swc,etc...). I thank any help. Eduardo Dias __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Matt Chotin please help -- keeping scroll position in a datagrid to the last position after updating dataprovider with new data
my scroll stays at the previous position on refreshing data or bring in new data to the dataproviderbut throws an error when i try to scroll to the top and also has lots of blank rows of data. is this some sort of bug? public var listScrollPosition:Number = 0; public function rememberDGPosition(){listScrollPosition = devicesListViewGrid.verticalScrollPosition;} public function loaded(){ gateway.call( "DBDeviceManager.getPage5", new Responder(onResult, onFault),userid);} public function onResult(result:Array):void{ abcd = result; devicesListViewGrid.verticalScrollPosition = listScrollPosition ; intervalIdList = setInterval(loaded, durationList);} mx:DataGrid x="10" y="3" verticalGridLines="false" useRollOver="false" id="devicesListViewGrid" dataProvider="{abcd}" width="704" height="392" mouseDownEffect="none" selectionColor="#CDF3DD" rollOverColor="#013826" alternatingItemColors="[#FF,#E1F5E8]" headerColors="[#006E4F,#006E4F]" borderStyle="solid" horizontalGridLineColor="#BAE2CA" verticalGridLineColor="#BAE2CA" horizontalGridLines="true" borderColor="#BAE2CA" color="#FF" sortableColumns="false" render="rememberDGPosition()"mx:columnsmx:DataGridColumn width="50" id="datagridcolumn" headerText=" " itemRenderer="CheckCellRenderer"/mx:DataGridColumn headerText="NAME" dataField="name" itemRenderer="CheckBoxRenderer"/mx:DataGridColumn width="140" headerText="CURRENT STATUS" dataField="pmid" itemRenderer="chartPivot"/mx:DataGridColumn editable="false" width="90" headerText="DURATION" dataField="duration" itemRenderer="DurationRenderer"/mx:DataGridColumn editable="false" width="110" headerText="LAST CHANGE" dataField="lastchange" itemRenderer="lasChangeRenderer"/mx:DataGridColumn editable="false" width="100" headerText="PREVIOUS STATUS" dataField="previousstatus" itemRenderer="previousStateRenderer"/mx:DataGridColumn editable="false" headerText="GROUP" dataField="group" itemRenderer="groupRenderer"//mx:columns/mx:DataGrid Thanks, Chaitu. __._,_.___ -- 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: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready
Hi Kaleb, Cool! Great stuff. My guess is that the delay is machine dependent, but not necessarily network dependent. I do believe that the LOAD event does indicate that the WSDL actually has loaded successfully. Flex will not need any more access to the network in order to initialize the web service. Anyway, its a little bit sloppy that the LOAD event does not indicate that the webservice is actually ready for use. I consider this a bug if you ask me. So, maybe this is something we can put on the wish list??? Thanks, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kaleb_pederson Sent: Tuesday, August 08, 2006 7:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WSDLError:Element not resolvable = LoadEvent doesn't imply service ready Frank, I did a bit more research into this. I don't need nearly a second for the WebService to be ready after the load event. I just put the whole process in a loop to see what kind of delay I need to make it work on my box (with the service running on my box). Unfortunately, the delay is probably machine and network dependent and, therefore, would have to be different on other machines. My results were: res[delay in ms] = # successes (out of 100) res[1] = 0 res[2] = 5 ... res[10] = 13 ... res[15] = 42 ... res[20] = 53 ... res[30] = 77 ... res[38] = 100 (and the rest were 100 also) Somebody else had what may have been a similar problem and he just re-fired the request (http://groups.yahoo.com/group/flexcoders/message/46401). That's certainly not an elegant solution So, I still don't have a solution, just a work-around. Does anybody else have any ideas or suggestions? Thanks. --Kaleb --- In [EMAIL PROTECTED]ups.com, Franck de Bruijn franck.de.bruijn@... wrote: Hi Kaleb, I always expected the web service to be ready after the load event completed. Probably it's a matter of milliseconds. I never encountered your problem before, since I don't automatically call web services after loading. So far, my webservices are only invoked behind a button. But sooner or later I probably will, since I will want to push master data from the server into the application (like a country table or something like that) directly after startup. So, this does not sound good ... I expect that your workaround is the only solution. Cheers, Franck _ From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of kaleb_pederson Sent: Tuesday, August 08, 2006 1:38 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] WSDLError:Element not resolvable = LoadEvent doesn't imply service ready I have been struggling with the Element not resolvable error today in some of my unit tests using FlexUnit. As far as I can tell, the LoadEvent doesn't imply that the service is ready. If I put a timer in and wait 1 second after the load event to make my service call, everything works correctly. If I don't wait 1 second, however, then I receive the Element not resolvable error. This appears to be a bug in the WebService class. Here's my sample code: import mx.rpc.soap.WebService; import flash.events.Event; import mx.rpc.events.ResultEvent; import mx.rpc.soap.LoadEvent; import flash.utils.Timer; import flash.events.TimerEvent; public class SoapDemoTest { public function testListVocabularies():void { trace('testListVocabularies'); ws = new mx.rpc.soap.WebService(); ws.addEventListener(LoadEvent.LOAD, onLoadCompleted); ws.loadWSDL(http://192.168. http://192.168.1.1:8080/myserv/myserv?wsdl 1.1:8080/myserv/myserv?wsdl); } private function onLoadCompleted(evt:LoadEvent):void { trace('onLoadCompleted'); // if I just call ws.listVocabularies, I receive the // Cannot Resolve Element error. ws.addEventListener(ResultEvent.RESULT,onResultReceived); ws.listVocabularies(5,true); /* // if I use this timer instead of the above, everything works var timer:Timer = new Timer(1000, 1); timer.addEventListener( TimerEvent.TIMER_COMPLETE, onTimerComplete ); timer.start(); */ } private function onTimerComplete(evt:TimerEvent):void { trace(onTimerComplete); ws.addEventListener(ResultEvent.RESULT,onResultReceived); ws.listVocabularies(5,true); } private function onResultReceived(evt:ResultEvent):void { trace(onResultReceived); trace(result: + evt.result.toString()); } } To test, simply fire testListVocabularies() in a CreationComplete event handler. Can anyone else confirm this? By the messages, it sounds like the exact same thing that a number of people are running into. Thanks for the help. --Kaleb __._,_.___ -- 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
RE: [flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP
Hi Ben, Lets try not to be too pessimistic, although you might be right that Adobes focus is more on the FDS part than the webservices part. It must be a hell of a complicated module and indeed, more money to be gained. I have quite some experience now with webservices, and they are extremely difficult to work with. And I dont believe that the first release of a product can be error free. So far, I am quite impressed with the support of Flex for webservices, but there will be bugs. Its up to us to signal them. I agree with you though that webservices is actually the only interesting way of communication with a back-end. For the near future, I dont expect to use any of the FDS features for the applications that I wish to build (and that is for large corporations that could afford the investment of an FDS module). Although webservices are a pain-in-the-neck, they are the only hope for a full heterogeneous world of clients and servers. How are you exposing your webservice? Doc/Literal or RPC/Encoded? Cheers, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ben.clinkinbeard Sent: Tuesday, August 08, 2006 8:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP Hi Franck, I am pretty sure this is all related to types and the fact that Flex will serialize primitive types differently than complex ones. The C# code that creates the WS looks like this for the correctly functioning elements: [XmlArray(ContainersToRetrieve)] [XmlArrayItem(ContainerType, typeof(ContainerType))] ContainerType[] containersToRetrieve, and like this for the incorrect ones: [XmlArray(SelectedPlans)] [XmlArrayItem(PlanNumber)] string[] SelectedPlans I think the only way to fix this would be to have SelectedPlans be an array of complex objects rather than an array of strings. Unfortunately, I don't believe this is an option as there is other code that relies on this WS. Sigh. I really wish there was more focus on, documentation of and support for web services in Flex. The apparent concentration on FDS seems misguided to me as I don't see is as being a viable option for nearly as many organizations as web services are. I suppose I understand that FDS deployments are where the real money would be for Adobe, but it rings of the unrealistic and arguably unsuccessful model upon which Flex 1 and 1.5 were based on. Ben --- In [EMAIL PROTECTED]ups.com, Franck de Bruijn franck.de.bruijn@... wrote: Hi Ben, I'm not sure if I'm following you, but I'll try :). I don't have answers, just questions. Let me put them to you: * Could it maybe be the type=s:string part? Is 's' pointing to the right xsd namespace? * I'm curious what is exactly making the 'ContainerType' element in your SOAP-message. Is it the name attribute or the type attribute? If it is the type attribute, then for sure in the PlanNumber element it'll not work ... * Could the nesting be a problem? What I see from your code example, is that the PlanNumber elements are one level deeper than the ContainerType elements. Maybe it's an idea to test a webservice operation that takes straight PlanNumber elements? Good luck! Franck _ From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of ben.clinkinbeard Sent: Tuesday, August 08, 2006 7:29 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP I meant to hit preview... here is the rest of my post. The pieces of the WSDL that correspond are: s:element minOccurs=0 maxOccurs=unbounded name=ContainerType type=tns:ContainerType/ (works correctly) and s:element minOccurs=0 maxOccurs=unbounded name=PlanNumber nillable=true type=s:string/ (array is disregarded) Is nillable=true causing a problem here? What changes need to be made to make Flex treat arrays just like objects, like it does in the first operation? Thanks, Ben --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: In one part of my app, I am creating my Operation.arguments object like this: args.ContainersToRetrieve = new Array(); args.ContainersToRetrieve.push(Client); args.ContainersToRetrieve.push(IndustryTrends); which, as expected, results in a SOAP call like this: ContainersToRetrieve ContainerTypeClient/ContainerType ContainerTypeIndustryTrends/ContainerType In a different spot, I am constructing a call in the same manner: args.RPRSelections = new Object(); args.RPRSelections.SelectedPlans = new Array(); for(var i:int = 0; i model.arr_selectedPlans.length; i++) { args.RPRSelections.SelectedPlans.push(model.arr_selectedPlans[i]); } but that produces the following output, seemingly ignoring the SelectedPlans
[flexcoders] linux 64bit server
Hi all, this is the frist time for me, I have a big problem, I'm using a beta server that is: linux RHAS 4 64bit WLS 9.x JRockit 1.5 R26.4 I don't know why my masks went on until 5 days ago, that all my packages stop working, the requirements page doesn't tell anything about linux 64bit is there someone that has solved this type of problems? or has nowdays this problem? Thanks Cristian __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Does ComboBox support paging?
I use a ArrayCollection that is managed by a DataService, the destination uses paging. Paging works fine when I use this ArrayCollection as the dataProvider for a DataGrid. However, if I assign it to a ComboBox then only n items get displayed where n is the pageSize of the destination. So - does ComboBox support no paging at all? Do I have to implement my own paging strategy? Dirk. -- 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: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working?
Can you send a screen shot please(or another write up)? I don't seem to understand what you are seeing. Thanks, -sam On 8/8/06, Carlos Rovira [EMAIL PROTECTED] wrote: Anyone notice the bug with menu's icons in this control?I see the dataprovider in the examplehas: mx:Object label=Print: Original Size icon={myIcon}/ So you are using icons in the menu. Have you notice that icons seems to duplicate when select a menu item and open the menu one more time? On 8/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: However, if you want to make a changable icon you'll have to do something like this which is the expected behaviour. ?xml version=1.0 encoding=iso-8859-1 ?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml width=600 height=600 backgroundColor=#FF mx:Script![CDATA[[Bindable][Embed(source=aol.jpg)] private var myIcon:Class;]]/mx:Script mx:PopUpMenuButton id=printMenu label=Print: Original Size icon={myIcon} mx:dataProvider mx:Array mx:Object label=Print: Original Size icon={myIcon}/ mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton /mx:Application Hope this helps, -sam P.S: Notice that if you remove the dataProvider the icon gets set for your PUMB. Because PUMB changes the label based on the selected menu item, it tries to get the icon too from the menu. So if you set the label to something(an item not in the menu) for the PUMB it won't change when you change the selected menu items, which will be the case for the Icon too (that's where the bug is, because it changes evenwhen the label doesn't change). But in any case the icon should get set -which is a bug. Thanks again On 8/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: Yes I think it is Shan, I'll log the bug. Sorry for the delay in the reply. It was being used with PopUpButton and was somehow missed in PUMB. -sam On 7/18/06, Shannon Hicks [EMAIL PROTECTED] wrote: Nope, no change. Adobe: is this on the official bug list? Seems like an oversight that some of flex'sbasic functionality isn't working. Shan From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Samuel ReubenSent: Tuesday, July 18, 2006 3:47 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working? try icon=@Embed('../assets/print_16.gif') It should work, -sam On 7/8/06, Shannon Hicks [EMAIL PROTECTED] wrote: I've tried adding an icon to the PopUpMenuButton, but it doesn't seem to work. It shows the icon in Flex Builder, but not in the compiled SWF. I've added icons to every other type of button (the same icon, called from the same component in the same way), and they work fine. Maybe it's a bug? Code: mx:PopUpMenuButton id=printMenu label=Print: Original Size icon=@Embed(source='../assets/print_16.gif') mx:dataProvider mx:Array mx:Object label=Print: Original Size / mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton If you're going to try it, be sure to actually create the gif, otherwise FlexBuilder throws some compile error about not finding the gif :) Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 --No virus found in this outgoing message.Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: itemRenderer/dataGrid rollOverColor question
I am also having the same issue with an itemrenderer losing my datagrid rollover colours .. i have tried inline itemrender v external mxml renderer with no difference .. it seems to be related to the public override of set data function ... any ideas ? I have also tried setStyle(rollOverColor, 0xccffcc) on renderer and inline without success Not only are the rollover colours missing but also the click function call for the datagrid Thanks L --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I've got a dataGrid setup, with each cell having an itemRenderer associated with it. The itemRenderer is setting the text color based on the value in each cell, via a setStyle(color, ) call. The problem is that this prevents my rollOverColor declaration in my DataGrid from working (you can still see the color behind each cell around the border, but the cell itself doesn't retain the rollOverColor). I tried setting the rollOverColor in the itemRenderer code itself with no luck. Is there a way to set the opacity of the cell to 0 that would allow the underlying default colors from the dataGrid itself to bleed through? -- 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] Tweening graphics
On Tuesday 08 August 2006 14:01, Tom Chiverton wrote: What would be a good way to tween this to a different width ? One way is to create a new Tween: var t:Tween=new Tween(this,from,to,duration); this will then call two functions in 'this' - onTweenUpdate and onTweenEnd. In both of these, clear the graphics layer and redraw it. Both functions are given as their argument the next value in the tween. -- 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. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: elliptical pie charts anyone?
--- In flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: Hi there, just wondering if anyone has made an elliptical piechart, or if there is a uick way I'm missing to do that? ta PBH Hi, You can customize the itemrenderer for a Pie Chart. One option is to create an elliptical Item Renderer for PieChart that extends the WedgeItemRenderer. You will need to override updateDisplayList to draw an elliptical arc for the Pie Wedge. Thanks, Ram -- 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] Flex dataservices: fill vs asynctoken
Hi, Im new to flex dataservices (using WebORB), and I like to know whats the difference between: ds = new DataService(contact); ds.fill(contacts); and ds = new DataService(contact); var token:AsyncToken = AsyncToken(ds.fill(contacts)); token.kind = fill; Thanks! Jonas Jonas Windey Web Developer T. +32 3 216 86 47 Pixco Interactive Division T. +32 3 216 86 40 F. +32 3 216 86 49 http://www.pixco.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: itemRenderer/dataGrid rollOverColor question
On Wednesday 09 August 2006 08:51, msloumac wrote: Not only are the rollover colours missing but also the click function call for the datagrid In this case, in case this helps anyone else, it was because we had overridden the data setter method to case the data object to a VO, but not also overridden the getter as well - Flex must have been silently having an accident in the background because once we added the getter all was well. -- 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. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 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] DateChooser does not show selected day when using DateField component
Im working with DateField components a lot and when i set the selectedDate of the DateField component the connected DateChooser does show the correct Year and Month, but does not highlight the selected Day! Any clues on how to work around this? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] integrating ASP JSP with Flex
Hi, Could anyone help me in integrating serverside code for data access with Flex 2. -- 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: How to let RichTextEditor export valid HTML?
On Wednesday 09 August 2006 06:34, Stefan Schmalhaus wrote: The textformat tag and its attributes (indent, leading, etc.) are not HTML standard. Also, Flash/Flex HTML only supports the li tag without supporting ul or ol. It uses the deprecated font tag for setting the font, the font size, etc. I doesn't seem so hard to write a little util. function that parses out the crap and prepends inline styles. -- 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. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 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 dataservices: fill vs asynctoken
Asynchronous methods like fill() return an AsyncToken instance which you can use to add custom data to it (i.e. mark that ypu invoked a fill operation). In the result handling function the AsyncToken is available again, so you can add additional logic to your result handler, e.g. private function resultHandler(event:ResultEvent):void { switch (event.token.kind) { case "fill": ... case "delete": ... } } AsyncToken is a dynamic class so you can add whatever properties you like. Another use case of AsyncToken is to add responders to it - this allows you to dynamically setup result/fault handling functions: var token:AsyncToken = ds.fill(collection); token.addResponder(new ItemResponder(resultFunction, faultFunction, "fill")); and then private function resultFunction(result:Object, token:Object):void { // result usually is of type ResultEvent, // token is the third parameter passed to the ItemResponder constructor if (result is ResultEvent) { ... } } private function faultFunction(result:Object, token:Object):void { // result usually is of type FaultEvent, // token is the third parameter passed to the ItemResponder constructor if (result is FaultEvent) { ... } } Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas WindeySent: Wednesday, August 09, 2006 11:30 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex dataservices: fill vs asynctoken Hi, Im new to flex dataservices (using WebORB), and I like to know whats the difference between: ds = new DataService("contact"); ds.fill(contacts); and ds = new DataService("contact"); var token:AsyncToken = AsyncToken(ds.fill(contacts)); token.kind = "fill"; Thanks! Jonas Jonas Windey Web Developer T. +32 3 216 86 47 Pixco Interactive Division T. +32 3 216 86 40 F. +32 3 216 86 49 http://www.pixco.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: FlexBuilder refusing to Build newer versions of .mxml files !!!
Brian may have provided you with the solution but I had same problem and hacked it by creating a new mxml file and copy-pasting the code from the problem file. That always seems to work AndyC -- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote: Mike, I had the same problem when I first started using FlexBuilder. What I found was that I had closed the Problems window and couldn't see the errors that were being generated so it looked like it didn't compile and I kept getting file not found errors. Don't know if that's your problem, but that's what I did. Good luck. Brian. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Tuesday, August 08, 2006 1:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FlexBuilder refusing to Build newer versions of .mxml files !!! Hello All, After compiling my default application a few times (and that number can change randomly), FlexBuilder refuses to re-compile my application after subsequent changes to my source code - so I end up seeing the same darn ..swf - time after time. And shutting down FlexBuilder, and restarting has no effect whatsoever either. This is getting exceedingly irritating, because when debugging an app, you always want to change a little code, and then retest it immediately afterwards. So, in theory, I could literally fix the problem with the very next build - but I'd never know it for several builds - because I am not seeing the newer version of the .swf file. Man, I can't convey to you all how peeved I am getting right now... AND after running a Clean on my project, then I get a file not found message, when trying to run the application. Well, no sh** Sherlock - that's what happens when the Compiler doesn't build the .swf file - after deleting it from the deployment directory, previous to the newer build. This is getting really out of control, and I am pleading with you all, to share any similar experiences with me - so that I can get to the bottom of what's going on. Many thanks in advance for any help regarding this, Mike -- 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 *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. *** -- 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] VideoDisplay playheadTime problem
I have a VideoDisplay component on my page. I need a forward functionality for the video. When i click on forward button it should go to the last frame of the video and stop there. Heres my code: myVideo.playheadTime = myVideo.totalTime; myVideo.validateNow(); myVideo.pause(); // not using stop since it will go to frame zero. When i click on forward it just goes 5 or 6 frames ahead and then pauses. If i remove the pause statement and keep clicking then it just goes on jumping 5 - 6 frames ahead and starts playing from there. Can anybody help pls. ? Ketan. -- 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] DateChooser does not show selected day when using DateField component
test... reply for Anand... On 8/9/06, Bas J. Brey [EMAIL PROTECTED] wrote: I'm working with DateField components a lot and when i set the selectedDate of the DateField component the connected DateChooser does show the correct Year and Month, but does not highlight the selected Day! Any clues on how to work around this? __._,_.___ -- 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] RichTextEditor (rte)
Test for Anand... He's onto this... On 8/9/06, app.developer [EMAIL PROTECTED] wrote: Why, when you set the format you wish to type in the RichTextEditor (RTE), after the first letter typed (letters after the first)?Example: I click the BOLD button then start typing I am bold, the only letter that is bold is I and rest is reset to the original text.P. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Test Message
Test Message __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How to let RichTextEditor export valid HTML?
Well, IE tries to render practically anything... The problem is that what IE displays when rendering this code looks nothing like what I have created in the RichTextEditor. HTML and web page rendering is based on a rather strict set of rules to ensure that content is displayed likewise on all browsers and other applications that supports HTML. What Flex produces looks like a real old version of HTML spiced with some HTML-tags that is unique to Flex. I tried to run the HTML earlier posted through the Validator at w3.org, and it went nuts. There wasn't much that could be correctly validated Cheers Daniel --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I get some HTML-looking crap that defenitely is not valid. What exactly is invalid about this HTML? (Sorry, I'm not an HTML expert.) I tried it and it renders in IE. - Gordon -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: RichTextEditor (rte)
Hi, It works fine. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:RichTextEditor/ /mx:Application 1. Run this MXML 2. Click Bold Button 3. Now type- I am bold 4. All the characters are in bold --- In flexcoders@yahoogroups.com, app.developer [EMAIL PROTECTED] wrote: Why, when you set the format you wish to type in the RichTextEditor (RTE), after the first letter typed (letters after the first)? Example: I click the BOLD button then start typing I am bold, the only letter that is bold is I and rest is reset to the original text. P. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: DateChooser does not show selected day when using DateField component
?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ public function setDate():void{ myDC.selectedDate =new Date(2006,11,25); } ]] /mx:Script mx:DateChooser id=myDC/ mx:Button label=Set Christmas date click=setDate()/ /mx:Application --- In flexcoders@yahoogroups.com, Bas J. Brey [EMAIL PROTECTED] wrote: I'm working with DateField components a lot and when i set the selectedDate of the DateField component the connected DateChooser does show the correct Year and Month, but does not highlight the selected Day! Any clues on how to work around this? -- 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] (unknown)
Test Mail Yahoo! Music Unlimited - Access over 1 million songs. Try it free. __._,_.___ -- 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. __,_._,___
AW: [flexcoders] Plot Chart Performance
It takes the same time even if you are working on the stand alone player. I am analysing a way to move the points through the ChartElement class instead of updating the ArrayCollection but not sure if that will work. Ive also tried with a simple Array but no improvements. Anyways if someone knows a better way to manage this movement, Id really appreciate your help. Thankx!!! Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von Nihit Saxena Gesendet: Dienstag, 8. August 2006 14:53 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] Plot Chart Performance Do you get the same sluggishness on Stand Alone Player? If not then its a known bug. Nihit From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of williamxtreme24 Sent: Tuesday, August 08, 2006 3:40 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Plot Chart Performance Hi there, I am having a 1000 points plot chart and I`ve implemented a drag point feature that lets the user move the one point up and down. When I made the first test with 10 points it looked acceptable, but now that I have 1000 it looks pretty sluggish. What I am doing is catching the ChartItemEvent.ITEM_MOUSE_DOWN , MouseEvent.MOUSE_UP and MouseEvent.MOUSE_MOVE events to change dynamically the vertical value of an specific object in my dataProvider ArrayCollection. Even worst if I want to move all the points at the same time, the chart needs more time to render the movement of all the points because it needs to change all the vertical values of all the objects in the ArrayCollection. Does anybody knows if there is a way to manage this task in a way so the movement on the chart doesn't look too slow??? Thankx for the advice!!! Regards!!! Roberto Frias [EMAIL PROTECTED]de __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: DateChooser does not show selected day when using DateField component
Here is the code After u click the button the date is highklighted in blue. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ public function setDate():void{ myDC.selectedDate =new Date(2006,11,25); } ]] /mx:Script mx:DateChooser id=myDC/ mx:Button label=Set Christmas date click=setDate()/ /mx:Application --- In flexcoders@yahoogroups.com, Bas J. Brey [EMAIL PROTECTED] wrote: I'm working with DateField components a lot and when i set the selectedDate of the DateField component the connected DateChooser does show the correct Year and Month, but does not highlight the selected Day! Any clues on how to work around this? -- 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] text_mc
Hi, Actually i m migrating an application in flex1.5 to flex20 . In Flex1.5 we have using one of the variable text_mc in a class DateField extending tabnavigator. The code is somewat like this:(for class DateField) if (validator.hasErrors()) { text_mc.styleName = normalDTextInput; } else { text_mc.styleName = flatDTextInput; } } but this variable is nowhere defined in d file.so if anyone knows wat shud be d type of this variable ,plz let me know.i mean i should declare a variable of which type?.Bcz we are using same variable in some more classes also.Is it smthign replated to movieClip? Dats wat i guess till now. Thanks, Monika -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Camera.get([index]); useing mutiple cameras
Thank to both Andy and Jerermy I've gone through your replies and the closest i've got so far is:- var arr:Array = Camera.names; trace(arr[0]); trace(arr[1]); \\the output screen at this point returned the camera names which i \\ added to the following lines. localCamera1 =Camera.get( arr[Digital Camera]); localCamera2 =Camera.get( arr[Dual-Mode DSC (Video Camera)] ); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); This attaches the default camera to both videos again but now i have the camera names returned as well, the other thing that is confusing me is that you have both said to use Camera.getCamera(); instead of Camera.get(); but it fails with the following error:- **Error** Symbol=videoFeed, layer=Layer 1, frame=1:Line 4: There is no method with the name 'getCamera'. localCamera1 =Camera.getCamera( arr[Digital Camera] ); **Error** Symbol=videoFeed, layer=Layer 1, frame=1:Line 5: There is no method with the name 'getCamera'. localCamera2 =Camera.getCamera( arr[Dual-Mode DSC (Video Camera)] ); Total ActionScript Errors: 2 Reported Errors: 2 And the cameras fails to load. Finally you mentioned version 9.0.16 admittedly i've only just upgraded to version 9 where can i get the updates? willbur --- In flexcoders@yahoogroups.com, Andrew Trice [EMAIL PROTECTED] wrote: Take a look at some of the later posts on this thread. There is a workaround for camera.getCamera. _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 11:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Camera.get([index]); useing mutiple cameras Thanks for you swift response Andy Unfortunatly i don't get any video feed from the cameras that way. When i use attachVideo both video object feed the default camera regardless of my index reference but with attachCamera i get nothing. :( My problem seems to be in the seem to be in defining which camera localcamera1 is using and which one localcamera2 is using, as they both seem to use the default camera specified in the System.showSettings(3)panel. willbur --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Andrew Trice andrew.trice@ wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_sti http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_st i ll_images_from_a Hope that helps. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@ Office: 866-CYNERGY From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of willburforce82 Sent: Tuesday, August 08, 2006 9:55 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
[flexcoders] Problem to specify type property in a columnSet in actionScript (urgent)
Hi, I'm trying to create a chart (cartesian) with an areaset, a columnset and some lineseries. Here is the relative piece of mxml code (it works fine) mx:CartesianChart id=c1 showDataTips=true width=807 mx:horizontalAxis mx:DateTimeAxis displayLocalTime=true autoAdjust=true alignLabelsToUnits=true labelUnits=days labelFunction=shortDate dataUnits=days parseFunction=myParseFunction/ /mx:horizontalAxis mx:series mx:Array mx:AreaSet type=100% mx:series mx:Array mx:AreaSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:AreaSet mx:ColumnSet type=stacked mx:series mx:Array mx:ColumnSeries width=50 dataProvider={xxx} displayName={} yField=valeur xField=date_application / mx:ColumnSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:ColumnSet mx:LineSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:CartesianChart when I'm trying to create the same thing in AS, my chart is rendering the areaseries and columnseries one over the other which means that the columnseries are not rendered as one stacked group but as 2 stacked group I have not find the solution and I'm blocked. Can someone help me ?? It's very urgent. piece of code areaSet.series=tmpArea; columnSet.series=tmpColumn; tmpAll.push(areaSet); tmpAll.push(columnSet); for (i=0;itmpLine.length;i++){ tmpAll.push(tmpLine[i.toString()]); } this.series=tmpAll; Thank you Oliver -- 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] what is the class mapped to servlet object?
Hi, Anybody know what is the class mapped to "servlet" object? mx:RemoteObject id="loginidObj" source="servlet" result="loginIdResult(event)" showBusyCursor="true" fault="mx.controls.Alert.show(event.fault.faultstring, 'Error')"/ because my compiled swf file is not recognizing servlet object!. It is able to identify "log" object. (like,:mx:RemoteObject id="log" source="com.itpl.myprojfit.login.LoginDAO" showBusyCursor="true") 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 development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Camera.get([index]); useing mutiple cameras
Dear jeremy i think your right about establishing an array first, but i keep getting problems with this .getCamera (here is no method with the name 'getCamera'.) I can't get it to work but everyone keeps telling me it's the correct code but it's not working for me? --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using getCamera() with no parameter passed in, could you please confirm if you can assign different names to it ? thanks. Jeremy. On 8/8/06, Andrew Trice [EMAIL PROTECTED] wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy _ *Andrew Trice* Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *willburforce82 *Sent:* Tuesday, August 08, 2006 9:55 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce -- 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: XMLList with a single item as a dataprovder
Doug Lowder wrote: Here's the answer: http://livedocs.macromedia.com/flex/2/langref/XMLList.html#toXMLString http://livedocs.macromedia.com/flex/2/langref/XMLList.html#toXMLString() Thanks Doug.. so I was just using the wrong method. rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to force validation and what should be used instead of deprecated isVa
If you put all your validators in an Array you can do this: var results:Array = Validator.validateAll(arrayOfValidators); if (results.length == 0) { // all are valid! } --- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! How to perform validation when it is needed? Should I use validateAll([myValidator]) static method in this particular case? Also I would like to know what is replacement for deprecated isValid() method? Should I use validate() method with appropriate parameter from property of control to be validated? But it does not seem ok, because Validator itself has source and property properties defined. Sergey. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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/
Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
I was having the same problem until I added: pp.width=printjob.pageWidth; pp.height=printjob.pageHeight where pp is the object that I want printed. Not to hijack this thread, but is there a limitation in Flex that prevents the printing of jpegs that have been loaded dynamically onto a canvas? Like I said, adding those two lines allowed my object to start printing, but only the text is visible--no images. Wayne --- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote: On 7/19/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 19 July 2006 10:39, Samuel Reuben wrote: Does this happen even when the object height/width is set? Does what happen ? The Silent failure ( Actually here nothing was sent to the printer, because no height or width was set ). Silent failure or work around stops working ? Does the work around work :) ? I suppose a ValidateNow() could make a difference... I'm guessing that is different from the form validators ? it measures the components/containers and lays them out again, taking into consideration any newly set heights and widths. It's an expensive operaion so use it sparingly. -- 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. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups 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/
[flexcoders] newbie poblem
Hi, I'm testing Flex 2 from 2 weeks and I have one big problem. I'm using tutorial that is reading rss channel with datagrid and everything is fine when the url is original, but when I copy this file to my project folder or to my server (with crossdomain.xml file) and change url nothing happens, the datagrid is empty. Anybody can help me? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] FW: Flex Developers
Hi, I got this request. If anybody are interested on working on this UK based project, please contact Shazia Hussain. You can find all her contact details below. Torben From: Hussain, Shazia [mailto:[EMAIL PROTECTED] Sent: 9. august 2006 13:26 To: [EMAIL PROTECTED] Subject: Flex Developers Hi Torben, I am putting together a team for a tier 1 consulting firm, who have a large-scale development project kicking-off in the next few weeks. We are putting together a team consisting of 3-5 developers and 1 project manager. I am looking for strong flex developers, who have know how to design and develop OO methodologies. If you can please forward this e-mail on to anyone, who might be interested or suitable, I would be very grateful and keen to speak with them. If you have any questions please give me a call. Regards, Shazia Hussain Harte Resource Solutions 1 Warwick Row,Victoria, London, SW1E 5ER tel: +44 (0) 20 78087770 mob: +44 (0) 7903274035 e-mail: mailto: [EMAIL PROTECTED] web: www.harteresource.com This e-mail transmission is strictly confidential and intended only for the use of the person or organisation to whom it is addressed. The views expressed in this communication are not necessarily those held byHarte Ltd. It may contain privileged and confidential information and, if you are not the intended recipient, you must not copy, distribute or take any action that relies on the accuracy of the information contained. If you have received this e-mail in error please telephone +44 (0)2078087770 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Camera.get([index]); useing mutiple cameras
Thanks Again both Andy and Jeremy, i'm still not able to define between the two cameras on my computer, i've added traces to help identify whats going wrong, but this is the closest i've got:- var arr:Array = Camera.names; trace(arr[1]); trace(arr[0]); //these traces return the "Digital Camera" and "Dual-Mode DSC (Video //Camera)" used in the following lines. var localCamera1:Camera = Camera.get(arr["Digital Camera"]); var localCamera2:Camera = Camera.get(arr["Dual-Mode DSC (Video Camera)"]); trace(localCamera1); trace(localCamera2); //these traces both return [object Object] i don't know what this means but // it might give you a clue. localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); trace(localVideo); trace(localVideo2); //these traces return "_level0.localVideo.localVideo" and //"_level0.localVideo.localVideo2" I know you both have sujested using Camera.getCamera() instead of camera.get() but i keep getting a there is no method name called .getCamera error and the video feeds don't work where as with camera.get() both feeds use the default camera. Also i noticed you mention version 9.0.16 i've only just upgraded to version 9 but where can i get the 9.0.16 version if i need it. What do you think?? regards willburforce --- In flexcoders@yahoogroups.com, "Jeremy Lu" [EMAIL PROTECTED] wrote: Thanks Andrew, this is a pretty cool hack, will try it and see if it works for me too. Jeremy. On 8/9/06, Andrew Trice [EMAIL PROTECTED] wrote: I only have one camera, so I never tried it. I've got flash player 9.0.16, but it looks like the error is still happening (although I found a workaround). I changed my code to: var arr: Array = Camera.names; trace(arr[0]); camera = Camera.getCamera(arr[0]); trace(Camera.getCamera(arr[0].toString())); and it returned null every time. I also started playing with it and did this trace(Camera.getCamera("0")); camera = Camera.getCamera("0"); and it gave a valid reference to the camera. Try using the string representation of the camera index, instead of the camera name. Looks like this is still a bug in the player, but this could be a hack-ish workaround for it. _ *Andrew Trice* Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeremy Lu *Sent:* Tuesday, August 08, 2006 11:52 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Camera.get([index]); useing mutiple cameras to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's "getCamera()" not "get()". as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using "getCamera()" with no parameter passed in, could you please confirm if you can assign different names to it ? thanks.Jeremy. On 8/8/06, *Andrew Trice* [EMAIL PROTECTED] wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though):http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy __._,_.___ -- 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: Camera.get([index]); useing mutiple cameras
What version of Flex are you using? In Flex 2, it is Camera.getCamera(). All of the help we have provided is for Flex 2. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Wednesday, August 09, 2006 5:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Camera.get([index]); useing mutiple cameras Dear jeremy i think your right about establishing an array first, but i keep getting problems with this .getCamera (here is no method with the name 'getCamera'.) I can't get it to work but everyone keeps telling me it's the correct code but it's not working for me? --- In [EMAIL PROTECTED]ups.com, Jeremy Lu [EMAIL PROTECTED] wrote: to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using getCamera() with no parameter passed in, could you please confirm if you can assign different names to it ? thanks. Jeremy. On 8/8/06, Andrew Trice andrew.trice@... wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy _ *Andrew Trice* Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@... Office: 866-CYNERGY -- *From:* [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] *On Behalf Of *willburforce82 *Sent:* Tuesday, August 08, 2006 9:55 AM *To:* [EMAIL PROTECTED]ups.com *Subject:* [flexcoders] Camera.get([index]); useing mutiple cameras Hi all, i'm new to action script, and working on a project that involves using multiple cameras in a single .swf i seem to be able to retreve the Camera.names and Camera.names.length which give me the names and number of cameras attached to my local computer but i can't seem to specify which Camera i want when i use Camera.get() to attach the video to each camera i know i have to use Camera.get(index) but i don't know what i'm doing wrong. this.cameranameslength = Camera.names.length; this.cameraNames.text = Camera.names; //this retrieves the names and number of cameras localCamera1 = Camera.get(index,[0]); localCamera2 = Camera.get(index,[1]); localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); play() // i can't specify each camera to a specific video feed. i'm getting a bit lost now can anyone help. willburforce __._,_.___ -- 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: Camera.get([index]); useing mutiple cameras
You can get flash player 9.0.16 from: http://www.adobe.com/support/flashplayer/downloads.html Make sure you get the debug version. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of willburforce82 Sent: Wednesday, August 09, 2006 8:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Camera.get([index]); useing mutiple cameras Thanks Again both Andy and Jeremy, i'm still not able to define between the two cameras on my computer, i've added traces to help identify whats going wrong, but this is the closest i've got:- var arr:Array = Camera.names; trace(arr[1]); trace(arr[0]); //these traces return the Digital Camera and Dual-Mode DSC (Video //Camera) used in the following lines. var localCamera1:Camera = Camera.get(arr[Digital Camera]); var localCamera2:Camera = Camera.get(arr[Dual-Mode DSC (Video Camera)]); trace(localCamera1); trace(localCamera2); //these traces both return [object Object] i don't know what this means but // it might give you a clue. localVideo.attachVideo(localCamera1); localVideo2.attachVideo(localCamera2); trace(localVideo); trace(localVideo2); //these traces return _level0.localVideo.localVideo and //_level0.localVideo.localVideo2 I know you both have sujested using Camera.getCamera() instead of camera.get() but i keep getting a there is no method name called .getCamera error and the video feeds don't work where as with camera.get() both feeds use the default camera. Also i noticed you mention version 9.0.16 i've only just upgraded to version 9 but where can i get the 9.0.16 version if i need it. What do you think?? regards willburforce --- In [EMAIL PROTECTED]ups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Thanks Andrew, this is a pretty cool hack, will try it and see if it works for me too. Jeremy. On 8/9/06, Andrew Trice andrew.trice@... wrote: I only have one camera, so I never tried it. I've got flash player 9.0.16, but it looks like the error is still happening (although I found a workaround). I changed my code to: var arr: Array = Camera.names; trace(arr[0]); camera = Camera.getCamera(arr[0]); trace(Camera.getCamera(arr[0].toString())); and it returned null every time. I also started playing with it and did this trace(Camera.getCamera(0)); camera = Camera.getCamera(0); and it gave a valid reference to the camera. Try using the string representation of the camera index, instead of the camera name. Looks like this is still a bug in the player, but this could be a hack-ish workaround for it. _ *Andrew Trice* Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: andrew.trice@... Office: 866-CYNERGY -- *From:* [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] *On Behalf Of *Jeremy Lu *Sent:* Tuesday, August 08, 2006 11:52 AM *To:* [EMAIL PROTECTED]ups.com *Subject:* Re: [flexcoders] Camera.get([index]); useing mutiple cameras to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String =null ):Camera but it failed me everytime when I try to assign a camera name to the method (I have four webcams attached to the box) Interestingly, the manual seems to suggest not passing any name to the method, instead, let user choose which camera to use via setting panel (which is not an option in the current video conference project). to Andrew: In your example, you were using getCamera() with no parameter passed in, could you please confirm if you can assign different names to it ? thanks. Jeremy. On 8/8/06, *Andrew Trice* andrew.trice@... wrote: I am assuming that localVideo and localVideo2 are instantiations of the Video class. Instead of using attachVideo, try using: localVideo.attachCamera(localCamera1); localVideo2.attachCamera(localCamera2); You shouldn't need the play() function. Here is an example using the camera on my blog (only uses one camera though): http://www.cynergysystems.com/blogs/page/andrewtrice?entry=capturing_still_images_from_a Hope that helps. -Andy __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
[flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP
Hi Franck, I am also impressed at how powerful Flex + web services seem like they could be and I don't think my issue is related to a bug. My complaint is that, as far as I know, there are zero Adobe sponsored articles or tutorials about using web services in anything but the most basic and mundane ways. As both of us have said, web services are the mechanism that will allow the widest adoption and impact of Flex (I also work in an environment where money is not the deciding factor), yet they have seemingly ignored the topic in their communications to developers, in favor FDS at every turn. Like FDS, web services are a very complex topic, but we have virtually no information on the finer points of their implementation. How does WSDL structure affect Flex's serialization of objects (my current issue)? What differences are there in Flex's treatment of Doc/Literal vs RPC/Encoded web services? Those kinds of things. Without Jesse's sample app on how to use web services with Flex 2 + Cairngorm 2 we'd really be screwed. All I am saying is that the focus on FDS seems unrealistic and counter-productive to the overarching goal of massive Flex adoption. I would venture to guess that the overwhelming majority of organizations (90%+) will not deploy FDS. Whether it be due to financial, platform or other infrastructure reasons, it simply doesn't fit into most stacks. That being said, you would think they could give some more detailed info on how to implement the pieces of the framework that the rest of us are going to use. Like I said, I think Flex is great. Really great. I just don't want to see them blow the adoption challenge. Again. Ben PS - I am using Doc/literal web services --- In flexcoders@yahoogroups.com, Franck de Bruijn [EMAIL PROTECTED] wrote: Hi Ben, Let's try not to be too pessimistic, although you might be right that Adobe's focus is more on the FDS part than the webservices part. It must be a hell of a complicated module and indeed, more money to be gained. I have quite some experience now with webservices, and they are extremely difficult to work with. And I don't believe that the first release of a product can be error free. So far, I am quite impressed with the support of Flex for webservices, but there will be bugs. It's up to us to signal them. I agree with you though that webservices is actually the only interesting way of communication with a back-end. For the near future, I don't expect to use any of the FDS features for the applications that I wish to build (and that is for large corporations that could afford the investment of an FDS module). Although webservices are a pain-in-the-neck, they are the only hope for a full heterogeneous world of clients and servers. How are you exposing your webservice? Doc/Literal or RPC/Encoded? Cheers, Franck _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, August 08, 2006 8:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Clarification needed on how WSDL affects conversion of AS objects to SOAP Hi Franck, I am pretty sure this is all related to types and the fact that Flex will serialize primitive types differently than complex ones. The C# code that creates the WS looks like this for the correctly functioning elements: [XmlArray(ContainersToRetrieve)] [XmlArrayItem(ContainerType, typeof(ContainerType))] ContainerType[] containersToRetrieve, and like this for the incorrect ones: [XmlArray(SelectedPlans)] [XmlArrayItem(PlanNumber)] string[] SelectedPlans I think the only way to fix this would be to have SelectedPlans be an array of complex objects rather than an array of strings. Unfortunately, I don't believe this is an option as there is other code that relies on this WS. Sigh. I really wish there was more focus on, documentation of and support for web services in Flex. The apparent concentration on FDS seems misguided to me as I don't see is as being a viable option for nearly as many organizations as web services are. I suppose I understand that FDS deployments are where the real money would be for Adobe, but it rings of the unrealistic and arguably unsuccessful model upon which Flex 1 and 1.5 were based on. Ben --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Franck de Bruijn franck.de.bruijn@ wrote: Hi Ben, I'm not sure if I'm following you, but I'll try :). I don't have answers, just questions. Let me put them to you: * Could it maybe be the type=s:string part? Is 's' pointing to the right xsd namespace? * I'm curious what is exactly making the 'ContainerType' element in your SOAP-message. Is it the name attribute or the type attribute? If it is the type attribute, then for sure in the PlanNumber element it'll not work ... * Could the nesting be a problem? What I see
[flexcoders] Webservices help needed! Please
It is driving me crazy. I figure this awsome group can point me in the right direction. I keep getting this error. ReferenceError: Error #1069: Property cdr not found on String and there is no default value. I do the webservice call and can even display the results in this label: mx:Label text={getData.getData.lastResult} / The data in the label is: dataresult month='07/10/2006'cdr288/cdr/resultresult month='07/11/2006'cdr264/cdr/result/data But when I try to link it to a line chart I keep getting the message. ReferenceError: Error #1069: Property cdr not found on String and there is no default value. Now this worked fine when it was a http service but i wanted to use webservice to access it with a cfc on the backend. My original thought is that even thought the data is being returned maybe it is not in the correct format for the linechart component. Here is some code. mx:WebService id=getData useProxy=false wsdl=x mx:operation name=getData result=handleWebServiceResult(event) fault=errorHandler(event)/ /mx:WebService mx:Panel title=ACD and CDR Replication height=100% width=100% layout=vertical mx:Label text={getData.getData.lastResult} / mx:LineChart id=chart dataProvider={getData.getData.lastResult.data.result} width=100% mx:horizontalAxis mx:CategoryAxis categoryField=month/ /mx:horizontalAxis mx:series mx:LineSeries yField=cdr name=CDR displayName=CDR/ /mx:series /mx:LineChart -- 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] cant find the finger cursor that appears over some buttons
I want to activate the finger cursor that appears over some buttons but not others. Specifically, if appears over the buttons in a link bar, but not over regular buttons. I have certain regular buttons I want it to appear over but I cant find any references to it in the documentation. Does anyone know how to access it? Hank -- 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: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
On Wednesday 09 August 2006 11:13, Samuel Reuben wrote: On 7/19/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 19 July 2006 10:39, Samuel Reuben wrote: Does this happen even when the object height/width is set? Does what happen ? The Silent failure ( Actually here nothing was sent to the printer, because no height or width was set ). Yes, setting a width/height by hand does make it print. Wayne - did you set width/height for the object you added to the print job, or just on the jpeg ? Can you try my work around (add the object to be printed to a viewstack and set the selectedIndex to display it just before printing) and see if that helps ? At the very least, if maybe your JPEG isn't being loaded, you get to see it not being loaded. Typing that, maybe try loading the JPEG, then calling the printer job via callLater(). -- 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. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 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] cant find the finger cursor that appears over some buttons
Try: mx:Button useHandCursor=true buttonMode=true mouseChildren=false label=Click me! / Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Wednesday, August 09, 2006 3:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cant find the finger cursor that appears over some buttons I want to activate the finger cursor that appears over some buttons but not others. Specifically, if appears over the buttons in a link bar, but not over regular buttons. I have certain regular buttons I want it to appear over but I cant find any references to it in the documentation. Does anyone know how to access it? Hank -- 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] cant find the finger cursor that appears over some buttons
Thanks! But it is wierd that you have to tell a *button* that it should be in buttonMode. lol. Hank On 8/9/06, Dirk Eismann [EMAIL PROTECTED] wrote: Try: mx:Button useHandCursor=true buttonMode=true mouseChildren=false label=Click me! / Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Wednesday, August 09, 2006 3:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cant find the finger cursor that appears over some buttons I want to activate the finger cursor that appears over some buttons but not others. Specifically, if appears over the buttons in a link bar, but not over regular buttons. I have certain regular buttons I want it to appear over but I cant find any references to it in the documentation. Does anyone know how to access it? Hank -- 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/
[flexcoders] accessing item data in an XMLList
So far, I've been unable to find examples of using a tree control and sending its data to a web service, remote object, etc. Lots of example code on using the tree control, enabling drag and drop, putting different kidns of data INTO the tree control- but nothing about getting the data out of it. My tree control is driven by an XMLList object. What i'd like to do is get an array of all the labels for each node, but I'm not having any luck. Here are my sample XMLList objects: mx:XMLList id=treeData1 node label=One item with subitem node label=Subitem/ /node /mx:XMLList mx:XMLList id=treeData2 node label=One Item Only/ /mx:XMLList and here is my function that shows me the items in the tree: private function showList(list):void { var item:XML; txtResults.text = ''; for each(item in list) { txtResults.text += item: + item.attribute('label') + '\n'; if (item.elements().length() 0) { showList(item.children()); } } } Unfortunately, it doesn't seem to return the label on the root node. I've also tried adding the following line above the for loop to no avail: txtResults += list.attribute('label'); Can someone point me in the right direction? Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?
Hey folks, to keep up the thinking ;) After some days of testing, testing and well... testing the UML tools out there, I think I finally found something that might work well for me. My tool of choice is Enterprise Architect by SparxSoftware: http://www.sparxsystems.com Some of the others, that I had my hands on are: * ArgoUML * MagicDraw * Visio * some others They all - well, except Visio which s*cks - have a touch of Java in them - as if it is the only programming language available. In my opinion, the Enterprise Architect will be the best solution for me, since it is the most unspecific in terms of the programming languages. It has Actionscript support implementet though, but I didn't see the need to turn that on explicitly. Again, thanks for all your interest in the discussion. Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Bjorn Schultheiss wrote: D, OK cool, I retract the comment earlier about the contradicting statement. From your description i see the combination of both the HOW and the WHAT as the definition of a front end developer. My understanding is that the HOW process is where the designer aspect of the developer comes into play and the WHAT process is where the OOP Code Freak aspect of the developer comes into play. To me the HOW is a visual question while the WHAT is the code implementation of the HOW solution. Perhaps this definition is not what originally intended but does it make sense? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dave Wolf *Sent:* Tuesday, 8 August 2006 10:46 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? I think you are misunderstanding that I am saying. Let me try it this way and see if my point comes across more clearly. A large portion of UML is dedicated to answering the question of WHAT you are developing. For example, use cases and activity diagrams both focus on figuring out WHAT the problem set involves. So as an example, WHAT you are designing might be an account registration process which needs to support the ability to validate a users password by a pluggable number of password rules. That is the WHAT. It doesnt go into HOW you plan to implement that screen or process. The HOW side would be modelled in something like a class diagram or a state transtion diagram. It might model that you need to create an interface (code not graphical interface) which defines an API for a pluggable set of rules (say the Command pattern that Cainforn loves so much) etc. UML can wonder from the WHAT and into the HOW in certain digrams. Some UML tools can generate source code to implement the HOW side of the equation. Yes I would argue that there is a lack of Flex specific UML tooling, but Flex is very new. I would not be surprised to see more UML code generation tools. Then again there are actually quite a few UML tools that can generate AS itself. A quick Google search reveals many. http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official I'm quite a fan of a product called Enterprise Architect which has ActionScript 2 support in it. Check it out at http://www.sparxsystems.com/ea.htm http://www.sparxsystems.com/ea.htm Hopefully I made my point about the difference between WHAT and HOW in UML. The confusion came in that you were not interested in code generation. I will leave my editorial comments about code generation and Caingorn for another thread. For folks that have followed my threads here for the last few years I think my position is well known. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com http://www.cynergysystems.com/blogs http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: The cowboy disagrees. I have just heard you pour your heart out about your innovative approaches to developement process and how cool your UI's are. Then in the next paragraph let me quote. I dont think that your choice of HOW you develop software has any impact on
[flexcoders] accessing the container? [ backgroundColor in a cell for an itemRenderer ]
Hi all, I have a fairly simple itemRenderer that is working properly. I have some basic logic to change the color of the text based on the data in the cell. I've run into a bit of a stumper by trying to get access to the cell that contains the itemRenderer, to set the backgroundColor. Is there a way to get access to the object that contains the current object? In this bit here ( from my itemRenderer ) if (data[msgdelta] data[threshold]) { setStyle(color,red); setStyle(fontWeight,bold); } else { setStyle(color,black); setStyle(fontWeight,normal); } I want to be able to do something like parent.setStyle(backgroundColor, red); To be able to change the background of the cell that this text sits in. Is this possible? I know you can mask over it ... as in http://www.forta.com/blog/index.cfm/2006/6/8/Creating-A-Background-Color-Ren derer But that seems clunky. Many thanks for any comments, Paul -- 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] passing data to a datagrid
Hey Flexers, I am trying to send specific data from a datagrid to another datagrid and am having trouble with my actionscript. I can manage to send data if the index is selected, but I only want to send certain data to the other datagrid. Can anyone help? Here is what I have so far... mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns=* creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.effects.*; import mx.core.*; public function init():void{ srv.send(); addEventListener(send,doSendEvent); } public function doSendEvent(event:Event):void{ addToGrid(event.target.data); } public function addToGrid(product:Object):void{ destGrid.addItem({cat: product.cat, upc: product.upc, description: product.description}); } ]] /mx:Script mx:HTTPService id=srv url=data/catalog.xml useProxy=false result=(srv.lastResult.catalog.product)/ mx:HBox x=0 y=0 width=100% height=100% verticalAlign=middle horizontalAlign=center mx:DataGrid dataProvider={srv.lastResult.catalog.product} id=srcGrid itemClick=init() mx:columns mx:DataGridColumn headerText=UPC dataField=cat width=60/ mx:DataGridColumn headerText=CAT NO. dataField=upc width=60/ mx:DataGridColumn headerText=DESCRIPTION dataField=description width=300/ mx:DataGridColumn headerText=WEIGHT dataField=wgt width=60/ mx:DataGridColumn headerText=BALANCE dataField=balance width=60/ /mx:columns /mx:DataGrid DestGrid id=destGrid width=50% height=20%/ /mx:HBox /mx:Application mx:DataGrid xmlns:mx=http://www.adobe.com/2006/mxml; dataProvider={myDP} mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.effects.*; import mx.core.*; [Bindable] public var myDP:ArrayCollection = new ArrayCollection(); public function addItem(item:Object):void{ myDP.addItem(item); } ]] /mx:Script mx:columns mx:DataGridColumn headerText=UPC dataField=cat width=60/ mx:DataGridColumn headerText=CAT NO. dataField=upc width=60/ mx:DataGridColumn headerText=DESCRIPTION dataField=description width=300/ /mx:columns /mx:DataGrid -- 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] Logging in Flex2 - Please help
Hi, We have a created a customTarget which will log the messages to a Debug Console. In the console, we need to display the message and the object that is passed to the logger. For eg: 1)res:Object ; // asuume it is initialized some where else myLogger.info(This is a {1} message, res); The output will look like This is a res.toString() message. 2) In our scenario we don't want the message to be replaced with the content of the 2nd argument. We need to access the object as it is. The current Logging mechanism we dont see a way to achieve this. Even If we can create our own logger and logevent, how does the Log.getLogger be changed to return the customLogger object. Any suggestions? Please help me, this is urgent. Thanks, Santa -- 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] which event?!
Hi! I'm currently using ViewStack to scroll between different windows. I'm now looking for an event which will be triggered every time when a user enters a specific view. I tried creationComplete but it is only runned at the beggining of creating every container. -- 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: [Junk E-Mail - LOW] [flexcoders] which event?!
"show" should do what you need."hide" might be useful too. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arnold_charmingSent: Wednesday, August 09, 2006 9:01 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] which event?! Hi!I'm currently using ViewStack to "scroll" between different windows.I'm now looking for an event which will be triggered every time when auser enters a specific view. I tried creationComplete but it is onlyrunned at the beggining of creating every container. --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.10.8/414 - Release Date: 8/9/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/414 - Release Date: 8/9/2006
Re: [flexcoders] Fwd: Pre selecting a combo box
Thanks Shannon, that did the trick. It looks relatively familiar to the way you do it with _javascript_. I really thought there would be an easier way to do it. I guess you could extend the component to include a method that would do that same thing though. On 8/8/06, Shannon Hicks [EMAIL PROTECTED] wrote: It's hard when you haven't done it before :) Here's what your code should basically look like:for (var i:number=0;imyComboBox.dataProvider.length ;i++) { if (userObject.companyID == myComboBox.dataProvider.getItemAt(i).data) { myComboBox.selectedIndex = i; break; }} ShanFrom: [EMAIL PROTECTED] ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Marlon Moyer Sent: Tuesday, August 08, 2006 7:09 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Fwd: Pre selecting a combo box I've got a master detail form that works so far except for a combo box that's giving me fits. The combo box is populated from an xml file that contains a company id and company name relabeled with the label and data headers. The combo box populates correctly and I've verified that it returns the correct company id. Now, for existing users, I want the combo box to automatically go to the correct company they're assigned to. The user object has a company id. I don't believe that I can do it with binding since it's expecting a selectedIndex vs a selected data value. I've been experimenting around with trying to loop through the objects in the combobox, but I haven't had any luck doing so yet. Is it really this hard? -- Marlon-- Marlon--No virus found in this incoming message. Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006 -- Marlon __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] which event?!
Maybe the show event. Cheers arnold_charming escribió: Hi! I'm currently using ViewStack to scroll between different windows. I'm now looking for an event which will be triggered every time when a user enters a specific view. I tried creationComplete but it is only runned at the beggining of creating every container. -- 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] which event?!
I normally have a function that changes the viewStack order and put logic there in I need it.On 8/9/06, arnold_charming [EMAIL PROTECTED] wrote: Hi! I'm currently using ViewStack to scroll between different windows. I'm now looking for an event which will be triggered every time when a user enters a specific view. I tried creationComplete but it is only runned at the beggining of creating every container. -- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: adding icons to buttons on button bars.
To insert an icon in each individual button on the buttonbar you need to embed it. Example: mx:ButtonBar id=viewButton width=80 mx:dataProvider mx:Array mx:Object icon=@Embed(source='assets/icon1.png')/ mx:Object icon=@Embed(source='assets/icon2.png')/ /mx:Array /mx:dataProvider /mx:ButtonBar --- In flexcoders@yahoogroups.com, mthielman11 [EMAIL PROTECTED] wrote: I am wanting to use icons instead of the default buttons for a buttonbar. I did search here and only found one reference and it looked a little complicated. There apears to be an icon property in the buttonbar component but does not appear to do anything. Is this a bug or am I missing something? -- 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] ComboBox doesn't update display unless 'activated' first
Hello, I have a ComboBox that is bound to an ArrayCollection. The problem is that if I programmatically remove the item that is currently being displayed in the CB from the source ArrayCollection, the CB doesn't update its display. It removes the item from the list so that its not there if I open it, but it displays the old value until then. However, if I click the CB to 'activate' it before removing the item, it will properly refresh its display and change the current item as soon as the underlying data changes. I have tried all kinds of things to do this programmatically with no luck. I've tried calling invalidateDisplay(), invalidateProperties() and a few others on the CB after updating the AC. I know this has to be something simple. What am I missing here? Thanks in advance, Ben -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?
Thomas, Yes EA is a quite nice product. The price is even nicer! This was the product I suggested in my reply to this thread. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Thomas Rühl [EMAIL PROTECTED] wrote: Hey folks, to keep up the thinking ;) After some days of testing, testing and well... testing the UML tools out there, I think I finally found something that might work well for me. My tool of choice is Enterprise Architect by SparxSoftware: http://www.sparxsystems.com Some of the others, that I had my hands on are: * ArgoUML * MagicDraw * Visio * some others They all - well, except Visio which s*cks - have a touch of Java in them - as if it is the only programming language available. In my opinion, the Enterprise Architect will be the best solution for me, since it is the most unspecific in terms of the programming languages. It has Actionscript support implementet though, but I didn't see the need to turn that on explicitly. Again, thanks for all your interest in the discussion. Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Bjorn Schultheiss wrote: D, OK cool, I retract the comment earlier about the contradicting statement. From your description i see the combination of both the HOW and the WHAT as the definition of a front end developer. My understanding is that the HOW process is where the designer aspect of the developer comes into play and the WHAT process is where the OOP Code Freak aspect of the developer comes into play. To me the HOW is a visual question while the WHAT is the code implementation of the HOW solution. Perhaps this definition is not what originally intended but does it make sense? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dave Wolf *Sent:* Tuesday, 8 August 2006 10:46 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? I think you are misunderstanding that I am saying. Let me try it this way and see if my point comes across more clearly. A large portion of UML is dedicated to answering the question of WHAT you are developing. For example, use cases and activity diagrams both focus on figuring out WHAT the problem set involves. So as an example, WHAT you are designing might be an account registration process which needs to support the ability to validate a users password by a pluggable number of password rules. That is the WHAT. It doesnt go into HOW you plan to implement that screen or process. The HOW side would be modelled in something like a class diagram or a state transtion diagram. It might model that you need to create an interface (code not graphical interface) which defines an API for a pluggable set of rules (say the Command pattern that Cainforn loves so much) etc. UML can wonder from the WHAT and into the HOW in certain digrams. Some UML tools can generate source code to implement the HOW side of the equation. Yes I would argue that there is a lack of Flex specific UML tooling, but Flex is very new. I would not be surprised to see more UML code generation tools. Then again there are actually quite a few UML tools that can generate AS itself. A quick Google search reveals many. http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official I'm quite a fan of a product called Enterprise Architect which has ActionScript 2 support in it. Check it out at http://www.sparxsystems.com/ea.htm http://www.sparxsystems.com/ea.htm Hopefully I made my point about the difference between WHAT and HOW in UML. The confusion came in that you were not interested in code generation. I will leave my editorial comments about code generation and Caingorn for another thread. For folks that have followed my threads here for the last few years I think my position is well known. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com http://www.cynergysystems.com/blogs
[flexcoders] Re: adding icons to buttons on button bars.
If you want to use icons instead of buttons I would try skinning them. The adobe flex site has an example of how you skin in the getting started section. http://www.adobe.com/devnet/flex/ --- In flexcoders@yahoogroups.com, mthielman11 [EMAIL PROTECTED] wrote: I am wanting to use icons instead of the default buttons for a buttonbar. I did search here and only found one reference and it looked a little complicated. There apears to be an icon property in the buttonbar component but does not appear to do anything. Is this a bug or am I missing something? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?
Dave, I know. Thanks for the hint :) Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Dave Wolf wrote: Thomas, Yes EA is a quite nice product. The price is even nicer! This was the product I suggested in my reply to this thread. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com http://www.cynergysystems.com/blogs http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] mailto:dave.wolf%40cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Thomas Rühl thomas.ruehl@ ... wrote: Hey folks, to keep up the thinking ;) After some days of testing, testing and well... testing the UML tools out there, I think I finally found something that might work well for me. My tool of choice is Enterprise Architect by SparxSoftware: http://www.sparxsystems.com http://www.sparxsystems.com Some of the others, that I had my hands on are: * ArgoUML * MagicDraw * Visio * some others They all - well, except Visio which s*cks - have a touch of Java in them - as if it is the only programming language available. In my opinion, the Enterprise Architect will be the best solution for me, since it is the most unspecific in terms of the programming languages. It has Actionscript support implementet though, but I didn't see the need to turn that on explicitly. Again, thanks for all your interest in the discussion. Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com http://www.akitogo.com Bjorn Schultheiss wrote: D, OK cool, I retract the comment earlier about the contradicting statement. From your description i see the combination of both the HOW and the WHAT as the definition of a front end developer. My understanding is that the HOW process is where the designer aspect of the developer comes into play and the WHAT process is where the OOP Code Freak aspect of the developer comes into play. To me the HOW is a visual question while the WHAT is the code implementation of the HOW solution. Perhaps this definition is not what originally intended but does it make sense? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -- *From:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] *On Behalf Of *Dave Wolf *Sent:* Tuesday, 8 August 2006 10:46 AM *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com *Subject:* [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? I think you are misunderstanding that I am saying. Let me try it this way and see if my point comes across more clearly. A large portion of UML is dedicated to answering the question of WHAT you are developing. For example, use cases and activity diagrams both focus on figuring out WHAT the problem set involves. So as an example, WHAT you are designing might be an account registration process which needs to support the ability to validate a users password by a pluggable number of password rules. That is the WHAT. It doesnt go into HOW you plan to implement that screen or process. The HOW side would be modelled in something like a class diagram or a state transtion diagram. It might model that you need to create an interface (code not graphical interface) which defines an API for a pluggable set of rules (say the Command pattern that Cainforn loves so much) etc. UML can wonder from the WHAT and into the HOW in certain digrams. Some UML tools can generate source code to implement the HOW side of the equation. Yes I would argue that there is a lack of Flex specific UML tooling, but Flex is very new. I would not be surprised to see more UML code generation tools. Then again there are actually quite a few UML tools that can generate AS itself. A quick Google search reveals many. http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official
[flexcoders] Re: Problem to specify type property in a columnSet in actionScript (urgent)
I saw in the debugger that the property Stacker is null. the problem seems to be here but when I set the stacker it doesn't work. As there is few documentation and no example for creating columnset or areaset in actionscript, is anyone able to help me or to give me the way I have to do it ? thanks --- In flexcoders@yahoogroups.com, olivier [EMAIL PROTECTED] wrote: Hi, I'm trying to create a chart (cartesian) with an areaset, a columnset and some lineseries. Here is the relative piece of mxml code (it works fine) mx:CartesianChart id=c1 showDataTips=true width=807 mx:horizontalAxis mx:DateTimeAxis displayLocalTime=true autoAdjust=true alignLabelsToUnits=true labelUnits=days labelFunction=shortDate dataUnits=days parseFunction=myParseFunction/ /mx:horizontalAxis mx:series mx:Array mx:AreaSet type=100% mx:series mx:Array mx:AreaSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:AreaSet mx:ColumnSet type=stacked mx:series mx:Array mx:ColumnSeries width=50 dataProvider={xxx} displayName={} yField=valeur xField=date_application / mx:ColumnSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:ColumnSet mx:LineSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:CartesianChart when I'm trying to create the same thing in AS, my chart is rendering the areaseries and columnseries one over the other which means that the columnseries are not rendered as one stacked group but as 2 stacked group I have not find the solution and I'm blocked. Can someone help me ?? It's very urgent. piece of code areaSet.series=tmpArea; columnSet.series=tmpColumn; tmpAll.push(areaSet); tmpAll.push(columnSet); for (i=0;itmpLine.length;i++){ tmpAll.push(tmpLine[i.toString()]); } this.series=tmpAll; Thank you Oliver -- 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] Timeout on RemoteObject (flex 1.5)
Hi, I have a simple remoteObject that returns no problem unless the remoteObject takes longer than 1 minute to return, then flex never picks up the return. Has anyone seen this before? i.e. If I run a query over a time period of 2 weeks it return no problem in about 35 seconds (it's a big sql query at the Java side). If I increase the time period to a 1 month period for the query then return from the Java side is not pcked up by Flex, it just sits there in the busy Cursor state. Is there an underlying timer that gives up waiting for a return? Cheers, Iain -- 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] Combobox - truncate to fit
The truncate-to-fit attribute works beautifully on labels. Is there a way to invoke the truncate to fit functionality on combobox labels - so that long labels on a fixed-width combobox would get an ellipsis, with the full label appearing in a tooltip? If this is possible, what would be the easiest approach? - Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Timeout on RemoteObject (flex 1.5)
The underlying HTTP connection may be timing out. You can try writing a test JSP page that executes the same large sql query - if that times out as well, then the problem is not specific to Flex. Or, if you're running Tomcat as your server you can just take a look at server.xml and bump the connectionTimeout value of the Connector tag up to something higher. Hope that helps, Doug --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: Hi, I have a simple remoteObject that returns no problem unless the remoteObject takes longer than 1 minute to return, then flex never picks up the return. Has anyone seen this before? i.e. If I run a query over a time period of 2 weeks it return no problem in about 35 seconds (it's a big sql query at the Java side). If I increase the time period to a 1 month period for the query then return from the Java side is not pcked up by Flex, it just sits there in the busy Cursor state. Is there an underlying timer that gives up waiting for a return? Cheers, Iain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: HTTPService GET method issue
Hi Seth, Thanks for the reply. Yes, my request has no data. I think this is the case. I went ahead and replaced the HTTPService with URLRequest for the time being. The second one worked fine. I will test it again according to your input. Regards, Igor. --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Igor, The contentType property of HTTPService indicates the type of data sent from the client to the server. If you're not passing any data when you invoke httpService.send(), remove the contentType attribute from your HTTPService tag and everything should run fine. If the contentType is set to application/xml, HTTPService assumes you have XML formatted data that you want to send and forces the request method to POST so that the XML payload can be passed in the request body. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of isvibilsky Sent: Tuesday, August 08, 2006 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService GET method issue Hi all, I got stuck trying to get a configuration file from my ISP. Here is the code snippet: mx:HTTPService id=httpService url=mydomain/ria/config/config.xml resultFormat=object contentType=application/xml useProxy=false method=GET result=readConfig(); fault=Alert.show(event.fault.getStackTrace()); /mx:HTTPService After getting Error 2032 I looked at the http header information in my ISP log file: ...POST /ria/config/config.xml HTTP/1.1 405 334... How does it happen? I explicitly indicated GET, also GET is the default method for HTTPService. Is that a bug or I'm missing something? Please help. Igor.. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Timeout on RemoteObject (flex 1.5)
Thanks, I 've tried all what you have suggested and I do get a return in a JSP app. I also tried changing the connectionTimout value, but that didn't work either. It's really weird as I can see Tomcat returning the object (an ArrayList)in the console (eclipse) but flex just sits their saying well, where is my return then?. --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: The underlying HTTP connection may be timing out. You can try writing a test JSP page that executes the same large sql query - if that times out as well, then the problem is not specific to Flex. Or, if you're running Tomcat as your server you can just take a look at server.xml and bump the connectionTimeout value of the Connector tag up to something higher. Hope that helps, Doug --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@ wrote: Hi, I have a simple remoteObject that returns no problem unless the remoteObject takes longer than 1 minute to return, then flex never picks up the return. Has anyone seen this before? i.e. If I run a query over a time period of 2 weeks it return no problem in about 35 seconds (it's a big sql query at the Java side). If I increase the time period to a 1 month period for the query then return from the Java side is not pcked up by Flex, it just sits there in the busy Cursor state. Is there an underlying timer that gives up waiting for a return? Cheers, Iain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: ComboBox doesn't update display unless 'activated' first
SOLVED: This is weird, but I've got it working. // shortcut var var arr:ArrayCollection = ModelLocator.getInstance().arr_selectedPlans; // if ComboBox is selected, add its label to the AC // if not selected, remove its label from AC if(evt.cb.selected) { // prevent dupes if(!arr.contains(evt.cb.label)) { arr.addItem(evt.cb.label); } } else { arr.removeItemAt(arr.getItemIndex(evt.cb.label)); } // WITHOUT THIS LINE, COMBOBOX WILL NOT UPDATE ITS DISPLAY ModelLocator.getInstance().arr_selectedPlans.source = arr.toArray(); Should I really have to do this? I thought ArrayCollection was supposed to have all these magical capabilities... :) Ben http://www.returnundefined.com/ --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I have a ComboBox that is bound to an ArrayCollection. The problem is that if I programmatically remove the item that is currently being displayed in the CB from the source ArrayCollection, the CB doesn't update its display. It removes the item from the list so that its not there if I open it, but it displays the old value until then. However, if I click the CB to 'activate' it before removing the item, it will properly refresh its display and change the current item as soon as the underlying data changes. I have tried all kinds of things to do this programmatically with no luck. I've tried calling invalidateDisplay(), invalidateProperties() and a few others on the CB after updating the AC. I know this has to be something simple. What am I missing here? Thanks in advance, Ben -- 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] integrating ASP JSP with Flex
Sure. I have a sample app that uses either Flex 1.5 or 2.0 Beta 3 (I havent quite finished porting it to the release), JSP (am working on a simple aspx page) to retrieve an xml file from the server, edit it, and save it back. Send me an email and I will send it to you. tspratt (at) Lariatinc (dot) com Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dilsedil4u Sent: Wednesday, August 09, 2006 6:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] integrating ASP JSP with Flex Hi, Could anyone help me in integrating serverside code for data access with Flex 2. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] passing data to a datagrid
In general terms, build an ArrayCollection from the data you want to pass, and assign that ArrayCollection to the dataprovider property of the second grid. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of s_hernandez01 Sent: Wednesday, August 09, 2006 9:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] passing data to a datagrid Hey Flexers, I am trying to send specific data from a datagrid to another datagrid and am having trouble with my actionscript. I can manage to send data if the index is selected, but I only want to send certain data to the other datagrid. Can anyone help? Here is what I have so far... mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute xmlns=* creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.effects.*; import mx.core.*; public function init():void{ srv.send(); addEventListener(send,doSendEvent); } public function doSendEvent(event:Event):void{ addToGrid(event.target.data); } public function addToGrid(product:Object):void{ destGrid.addItem({cat: product.cat, upc: product.upc, description: product.description}); } ]] /mx:Script mx:HTTPService id=srv url="">xml useProxy=false result=(srv.lastResult.catalog.product)/ mx:HBox x=0 y=0 width=100% height=100% verticalAlign=middle horizontalAlign=center mx:DataGrid dataProvider={srv.lastResult.catalog.product} id=srcGrid itemClick=init() mx:columns mx:DataGridColumn headerText=UPC dataField=cat width=60/ mx:DataGridColumn headerText=CAT NO. dataField=upc width=60/ mx:DataGridColumn headerText=DESCRIPTION dataField=description width=300/ mx:DataGridColumn headerText=WEIGHT dataField=wgt width=60/ mx:DataGridColumn headerText=BALANCE dataField=balance width=60/ /mx:columns /mx:DataGrid DestGrid id=destGrid width=50% height=20%/ /mx:HBox /mx:Application mx:DataGrid xmlns:mx=http://www.adobe.com/2006/mxml dataProvider={myDP} mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.effects.*; import mx.core.*; [Bindable] public var myDP:ArrayCollection = new ArrayCollection(); public function addItem(item:Object):void{ myDP.addItem(item); } ]] /mx:Script mx:columns mx:DataGridColumn headerText=UPC dataField=cat width=60/ mx:DataGridColumn headerText=CAT NO. dataField=upc width=60/ mx:DataGridColumn headerText=DESCRIPTION dataField=description width=300/ /mx:columns /mx:DataGrid __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] [Flex 2] Dynamic Loading: forcing default skins to be included
When creating an MXML application (with Application as the top tag), the Style classes for all the components referenced in the Application (e.g., a Panel) are included in the resulting swf, and the styles are initialized. What I am trying to do, however, is to dynamically load a custom UIComponent. I have tried both 1) creating an MXML app with the CustomUIComponent as the top tag and dynamically loading it, and 2) creating a Flex Library project, exporting it to a directory and subsequenty using a factory pattern to instantiate an instance of my custom UIComponent. Both of these approaches suffer from the following, though: if my CustomUIComponent includes a Panel (not referenced in the top-level application), the Panel Style does not get included into the module being dynamically loaded, which causes its code to crash in Panel.layoutChrome as it cannot find its style. It seems that when compiling an Application, the compiler checks which components are used and includes/initializes the appropriate styles. How to force this behaviour without the Application being there? Do the mixins have something to do with this? Or do I have to explicitly define my own styles for all the components loaded that way? (I can of course, explicitly include (an artificial) reference to Panel in the top-level Application, but that defeats the whole point of dynamic module loading. Note that Roger Gonzalez's great example Modular Applications on his blog: http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html#more suffers from exactly the same problem (and the UIComponent example [app/mymodule] crashes at runtime the same way). Which is probably not good news for me... :) -- 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] Simple Date Stuff
With the DateField MXML component, how would I initialize the dates of 2 date components to today and 30 days ago. I've tried the following: var aDate :Date = new Date(); var aSecondDate : Date = new Date(); // Does not work below //aSecondDate -= 30; // Does not compile below dtStartDate.selectedDate = aSecondDate - Date(0, , 30); // Works but does not set the selected Date. Will set the Text field but // the SelectedDate is still null dtStartDate.selectedDate = aSecondDate; dtEndDate.selectedDate = aDate ; Is there a simple example of date arithmetic? Is the selectedDate field the best way to pull out the selectedDate from the DateField component? Is there a way to initialize these on startup? Will the display localize to the dateformat of the viewing browser for localization? Rich -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Timeout on RemoteObject (flex 1.5)
Yes, sounds like there is something different going on. So the same result handler that works for a smaller query hangs on a large query, where the only difference is the amount of data being returned by the service? --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: Thanks, I 've tried all what you have suggested and I do get a return in a JSP app. I also tried changing the connectionTimout value, but that didn't work either. It's really weird as I can see Tomcat returning the object (an ArrayList)in the console (eclipse) but flex just sits their saying well, where is my return then?. --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ wrote: The underlying HTTP connection may be timing out. You can try writing a test JSP page that executes the same large sql query - if that times out as well, then the problem is not specific to Flex. Or, if you're running Tomcat as your server you can just take a look at server.xml and bump the connectionTimeout value of the Connector tag up to something higher. Hope that helps, Doug --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@ wrote: Hi, I have a simple remoteObject that returns no problem unless the remoteObject takes longer than 1 minute to return, then flex never picks up the return. Has anyone seen this before? i.e. If I run a query over a time period of 2 weeks it return no problem in about 35 seconds (it's a big sql query at the Java side). If I increase the time period to a 1 month period for the query then return from the Java side is not pcked up by Flex, it just sits there in the busy Cursor state. Is there an underlying timer that gives up waiting for a return? Cheers, Iain -- 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] Simple Date Stuff
how about this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal mx:DateField id=one selectedDate={date1} / mx:DateField id=two selectedDate={date2}/ mx:Script ![CDATA[ [Bindable] private var date1:Date = new Date(); [Bindable] private var date2:Date = new Date(date1.getFullYear(),date1.getMonth(),date1.getDate()-30); ]] /mx:Script /mx:Application At 12:55 PM 8/9/2006, richmcgillicuddy wrote: With the DateField MXML component, how would I initialize the dates of 2 date components to today and 30 days ago. I've tried the following: var aDate :Date = new Date(); var aSecondDate : Date = new Date(); // Does not work below //aSecondDate -= 30; // Does not compile below dtStartDate.selectedDate = aSecondDate - Date(0, , 30); // Works but does not set the selected Date. Will set the Text field but // the SelectedDate is still null dtStartDate.selectedDate = aSecondDate; dtEndDate.selectedDate = aDate ; Is there a simple example of date arithmetic? Is the selectedDate field the best way to pull out the selectedDate from the DateField component? Is there a way to initialize these on startup? Will the display localize to the dateformat of the viewing browser for localization? Rich -- 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] integrating ASP JSP with Flex
Sure, Scrap JSP and ASP and use Cold Fusion. Flex 2 has native access to data created by it.-- Alan RotherMacromedia Certified Advanced ColdFusion MX 7 Developer __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] [Flex2] Setting Legend direction programmatically?
So I have a legend: mx:Legend id=chartLegend direction=horizontal / And depending on certain events, I programmtically manage the legend items (new Legenditem(), chartLegend.addChild type deal). And that all works fine. The only issue is that the direction is always vertical. Doing a chartLegend.direction='horizontal' in AS doesn't make a difference. Any ideas? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: TitleWindow Text colors
Hi Sam, Appreciate your help. I ended up using a VBox control instead of the Titlewindow and in place of the title, I used a text control. I was able to do a customise the VBox to look like the TitleWindow. Cheers, -Tim --- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote: The closest that you will be able to get is setting the titleIcon(to an image with text in it) and changing the titleStyleName. -sam On 8/7/06, Samuel Reuben [EMAIL PROTECTED] wrote: Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleName to change it's color too or use and image in front of the text which has the text *Current Window *and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors, Does anyone know how to make the Title text of the TitleWindow Control in different colors. For example, in the title I would like the following text displayed. *Current Window: * *ExplorerPlus *Thanks in advance. -Tim -- 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] Problems with ExternalInterface
Hi there, I'm having a problem with the ExternalInterface. After a certain screens fires its creationComplete event an ExternalInterface.call is executed to a js-functions. This functions opens a HTML popup. The user has to fill in some fields there. The result is sent back to Flash using a method that is registered with the ExternalInterface.addCallback function. This works fine. But there's a change that has to be implemented: The creationComplete event does not fire the ExternalInterface.call right away. It opens a Flex popup to ask for user confirmation. This popup is being managed with the PopupManager. When a user clicks 'Ok' the ExternalInterface.call function is fired. The problem is that the callback to the Flex method doesn't work. It looks like the method isn't registered properly with the InternalInterface.addCallback function. The change is the Flex popup. It works fine in Internet Explorer. It doesn't work in Firefox. Some additional information: - The screen is a Cairngorm view - The code that opens the popup and has the method for the callBack is in the viewhelper - Sometimes it works the first time after compilation. After that it never works again, until I recompile. Then it might work once. It seems that the PopupManager changes the way things are handled. But I don't know what is different or why? Does anyone have an idea? Cheers, Joost __._,_.___ -- 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: [Flex2] What do you use for modelling a Flex2 application...?
I have worked with for about a year (a year ago). I think it was ok, though I haven't done very advanced things... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Rühl Sent: woensdag 9 augustus 2006 15:31 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? Hey folks, to keep up the thinking ;) After some days of testing, testing and well... testing the UML tools out there, I think I finally found something that might work well for me. My tool of choice is Enterprise Architect by SparxSoftware: http://www.sparxsystems.com Some of the others, that I had my hands on are: * ArgoUML * MagicDraw * Visio * some others They all - well, except Visio which s*cks - have a touch of Java in them - as if it is the only programming language available. In my opinion, the Enterprise Architect will be the best solution for me, since it is the most unspecific in terms of the programming languages. It has Actionscript support implementet though, but I didn't see the need to turn that on explicitly. Again, thanks for all your interest in the discussion. Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com Bjorn Schultheiss wrote: D, OK cool, I retract the comment earlier about the contradicting statement. From your description i see the combination of both the HOW and the WHAT as the definition of a front end developer. My understanding is that the HOW process is where the designer aspect of the developer comes into play and the WHAT process is where the OOP Code Freak aspect of the developer comes into play. To me the HOW is a visual question while the WHAT is the code implementation of the HOW solution. Perhaps this definition is not what originally intended but does it make sense? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -- -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dave Wolf *Sent:* Tuesday, 8 August 2006 10:46 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...? I think you are misunderstanding that I am saying. Let me try it this way and see if my point comes across more clearly. A large portion of UML is dedicated to answering the question of WHAT you are developing. For example, use cases and activity diagrams both focus on figuring out WHAT the problem set involves. So as an example, WHAT you are designing might be an account registration process which needs to support the ability to validate a users password by a pluggable number of password rules. That is the WHAT. It doesnt go into HOW you plan to implement that screen or process. The HOW side would be modelled in something like a class diagram or a state transtion diagram. It might model that you need to create an interface (code not graphical interface) which defines an API for a pluggable set of rules (say the Command pattern that Cainforn loves so much) etc. UML can wonder from the WHAT and into the HOW in certain digrams. Some UML tools can generate source code to implement the HOW side of the equation. Yes I would argue that there is a lack of Flex specific UML tooling, but Flex is very new. I would not be surprised to see more UML code generation tools. Then again there are actually quite a few UML tools that can generate AS itself. A quick Google search reveals many. http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=ut f-8client=firefox-arls=org.mozilla:en-US:official http://www.google.com/search?q=actionscript+UMLstart=0ie=utf-8oe=u tf-8client=firefox-arls=org.mozilla:en-US:official I'm quite a fan of a product called Enterprise Architect which has ActionScript 2 support in it. Check it out at http://www.sparxsystems.com/ea.htm http://www.sparxsystems.com/ea.htm Hopefully I made my point about the difference between WHAT and HOW in UML. The confusion came in that you were not interested in code generation. I will leave my editorial comments about code generation and Caingorn for another thread. For folks that have followed my threads here for the last few years I think my position is well known. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com
[flexcoders] Re: Timeout on RemoteObject (flex 1.5)
Can you post the RemoteObject declaration? If you haven't already done so, try setting remote-objects-debug to true in WEB-INF/flex/flex-config.xml, just to see if there's any debug info that might be useful. --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: Actually it's the same amount of data being returned, it just takes longer to return it because the data that the database has to check over is a larger set because of the increase in the from and to dates. I.E. I have a sales summary report which sends the date from and the date to as arguments to a remoteObject, it uses this to do a query on the database, then returns the result as an ArrayList to the flex app (there is only ever 1 array in the list) and it then represents this in a datagrid as a single row. If I run the sales query for 1 week, it fills in the datagrid without any issues. If I run the query for a month then the busy cursor stays on forever and the result is not shown. I know that the database returns the data and that the java function also returns the ArrayList because I can see it doing so in the console, the result handler just seems to miss it and therfore nothing happens. I really don't know where to go next ;-( Cheers, Iain --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ wrote: Yes, sounds like there is something different going on. So the same result handler that works for a smaller query hangs on a large query, where the only difference is the amount of data being returned by the service? --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@ wrote: Thanks, I 've tried all what you have suggested and I do get a return in a JSP app. I also tried changing the connectionTimout value, but that didn't work either. It's really weird as I can see Tomcat returning the object (an ArrayList)in the console (eclipse) but flex just sits their saying well, where is my return then?. --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ wrote: The underlying HTTP connection may be timing out. You can try writing a test JSP page that executes the same large sql query - if that times out as well, then the problem is not specific to Flex. Or, if you're running Tomcat as your server you can just take a look at server.xml and bump the connectionTimeout value of the Connector tag up to something higher. Hope that helps, Doug --- In flexcoders@yahoogroups.com, digital_eyezed iain.mclean@ wrote: Hi, I have a simple remoteObject that returns no problem unless the remoteObject takes longer than 1 minute to return, then flex never picks up the return. Has anyone seen this before? i.e. If I run a query over a time period of 2 weeks it return no problem in about 35 seconds (it's a big sql query at the Java side). If I increase the time period to a 1 month period for the query then return from the Java side is not pcked up by Flex, it just sits there in the busy Cursor state. Is there an underlying timer that gives up waiting for a return? Cheers, Iain -- 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] tip: putting an outline on text
After a good bit of tinkering, I found a combination of settings I really liked for outlining text. Thought I'd share it in case anyone else was interested. Also thought it might be a good change for someone to tell me what a horrible idea it was. :D someLabel.filters = [new DropShadowFilter(1, 0, 0xFF, 1, 0, 0), new DropShadowFilter(1, 90, 0xFF, 1, 0, 0), new DropShadowFilter(1, 180, 0xFF, 1, 0, 0), new DropShadowFilter(1, 270, 0xFF, 1, 0, 0)];I also find you can get away with just a 45 and 225 degree one, but the full thing looks better. You might also play with the blur settings, as they can make soft outlines which look good in some situations. -- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Break in the datagrid
Hey Flexers Would anyone know how to insert a break (similar to br in html) in the datagrid using an xml file? For example, if I were to have this xml data called into a datagrid how would I break up specific parts of the sentence so that I won't get a scrollbar 20 miles long? descriptionThe spool rack consists of 10 spindles and an adjustable guide loop, and can be turned 360 degees independent of the the base/description -- 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/
Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
Tom, I set the width/height for the whole component. I also tried setting it for the image. Setting it for the image actually gives me nothing but a blue background when I view the print via Microsoft Document Imaging. Adding a callLater to the mix still does not yield a jpeg in the print output. I'll try the viewstack, but in th meantime my code is as follows: var printjob:FlexPrintJob=new FlexPrintJob(); printjob.start(); var pp:PartPrint=new PartPrint(); pp.product=bom[1]; this.addChild(pp); callLater(doPrint,[printjob,pp]); private function doPrint(printjob:FlexPrintJob, item:PartPrint):void { item.width=printjob.pageWidth; item.height=printjob.pageHeight printjob.addObject(item.atts); printjob.send(); } --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 August 2006 11:13, Samuel Reuben wrote: On 7/19/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 19 July 2006 10:39, Samuel Reuben wrote: Does this happen even when the object height/width is set? Does what happen ? The Silent failure ( Actually here nothing was sent to the printer, because no height or width was set ). Yes, setting a width/height by hand does make it print. Wayne - did you set width/height for the object you added to the print job, or just on the jpeg ? Can you try my work around (add the object to be printed to a viewstack and set the selectedIndex to display it just before printing) and see if that helps ? At the very least, if maybe your JPEG isn't being loaded, you get to see it not being loaded. Typing that, maybe try loading the JPEG, then calling the printer job via callLater(). -- 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. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 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] Flex 2 - Using removeChild/addChild to move children with removeEffect/addEffect
Hi guys, I'm trying to add an effect when changing the positioning (order) of some GridItems in a GridRow. In my move function, I remove the child, and add it back at a different index. This works fine with no effect, however if I have a removeEffect and addEffect, I get an error. If I comment out the line that adds the child back in, it works (to remove the child with the effect). When it trips the debugger on the error (see stack trace below), it thinks that there's one more child than there really is! (one more than the total number, not the number after one is removed) I even tried calling the addChild in a callLater(), but that didn't work either. Any ideas anyone? thanks, Thunder RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/getChildAt() at mx.core::Container/getChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2384] at mx.containers.utilityClasses::BoxLayout/measure()[C:\dev\GMC\sdk\frameworks\mx\containers\utilityClasses\BoxLayout.as:88] at mx.containers::Box/mx.containers:Box::measure()[C:\dev\GMC\sdk\frameworks\mx\containers\Box.as:250] at mx.core::UIComponent/mx.core:UIComponent::measureSizes()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:5360] at mx.core::UIComponent/validateSize()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:5306] -- 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] replacing with \n in Flex Builder
I'm trying to figure out how to put a \n in the replace box in Flex Builder. Even in regular _expression_ search mode, it doesn't seem to treat it right. Is there a way?-- Jason __._,_.___ -- 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] Break in the datagrid
Try DataGridColumn width and wordWrap attributes and make sure DataGrid has variable row height Hope this helps Anatole On 8/9/06, s_hernandez01 [EMAIL PROTECTED] wrote: Hey FlexersWould anyone know how to insert a break (similar to br in html) inthe datagrid using an xml file? For example, if I were to have thisxml data called into a datagrid how would I break up specific parts of the sentence so that I won't get a scrollbar 20 miles long?descriptionThe spool rack consists of 10 spindles and an adjustableguide loop, and can be turned 360 degees independent of the thebase/description __._,_.___ -- 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] 30 day trial that lasts forever
Were aware of the issue. I believe it shouldnt cause a registration problem. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Wednesday, August 09, 2006 12:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] 30 day trial that lasts forever I installed the Flex 2 release a day or two after the release and am still in the trial. When I check Flex Licenses from the Help menu it tells me I have 30 days remaining. While I'm glad to have time to try FB, we will definitely be buying it so I'm more concerned with what will happen when we purchase: will the registration work? I tried uninstalling and then reinstalling FB but that didn't change anything - still 30 days remaining after a couple of weeks. My install at home (XP) works fine, saying I have 3 days left in the trial. I had the Alpha, Beta 1 through 3 installed, and I uninstalled before the install of each new release. The only problem I had with installation during beta was with Beta 1 / 2 where the installer said I didn't have administrator privileges, even though I did. I continued anyhow without another issue. Has anyone seen this before? I'm using Windows 2000 SP4 (applied recently, SP3 prior). Here is the content of my documents\.metadata\.log file: !SESSION 2006-07-26 09:25:57.718 --- eclipse.buildId=unknown java.version=1.4.2_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.ui.editors 2 0 2006-07-26 13:52:32.452 !MESSAGE The selected spelling engine does not exist !ENTRY org.eclipse.ui.editors 2 0 2006-07-26 13:55:21.749 !MESSAGE The selected spelling engine does not exist -- Derek Vadneau __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Proper way to transition from Login Screen, to Main Application
Hello All, I am not sure about the best practice, for transitioning a typical application from an initial Login Screen, into the Main front-end... Could this be something as simple as using a ViewStack Container - simply with 2 States? The 1st State obviously showing the Login Screen (with a blank application background), and the 2nd State being the Main Application? Or is there a better way to handle something like this? Thanks in advance, for all your wonderful help - I truly appreciate everything. Mike -- 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] Dynamic Loading: forcing default skins to be included
This topic is covered in the upcoming book on Flex via self-initializing modules. Please contact me offline as the process is well defined but not automated yet - so it takes about 4 pages to describe itin reasonable way. Regards, Anatole On 8/9/06, astgtciv [EMAIL PROTECTED] wrote: When creating an MXML application (with Application as the top tag), the Style classes for all the components referenced in the Application (e.g., a Panel) are included in the resulting swf, and the styles are initialized. What I am trying to do, however, is to dynamically load a custom UIComponent. I have tried both 1) creating an MXML app with the CustomUIComponent as the top tag and dynamically loading it, and 2) creating a Flex Library project, exporting it to a directory and subsequenty using a factory pattern to instantiate an instance of my custom UIComponent.Both of these approaches suffer from the following, though: if my CustomUIComponent includes a Panel (not referenced in the top-level application), the Panel Style does not get included into the module being dynamically loaded, which causes its code to crash in Panel.layoutChrome as it cannot find its style. It seems that when compiling an Application, the compiler checks which components are used and includes/initializes the appropriate styles. How to force this behaviour without the Application being there? Do the mixins have something to do with this? Or do I have to explicitly define my own styles for all the components loaded that way? (I can of course, explicitly include (an artificial) reference to Panel in the top-level Application, but that defeats the whole point of dynamic module loading.Note that Roger Gonzalez's great example Modular Applications on his blog: http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.html#more suffers from exactly the same problem (and the UIComponent example [app/mymodule] crashes at runtime the same way). Which is probably not good news for me... :) __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development 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] Setting Legend direction programmatically?
Uhh ignore this posting. I seem to have a habit of figuring it out a minute after a post a question. :) Tariq Ahmed wrote: So I have a legend: mx:Legend id="chartLegend" direction="horizontal" / And depending on certain events, I programmtically manage the legend items (new Legenditem(), chartLegend.addChild type deal). And that all works fine. The only issue is that the direction is always vertical. Doing a "chartLegend.direction='horizontal'" in AS doesn't make a difference. Any ideas? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Loading Unicode values from XML and viewing in Flex components as HTML
In a recent project, I wanted to load the Unicode values for special characters from an external XML file. I wanted these values to show up in a label or text box using something like label.htmlText = \ul00A9, which would produce the copyright symbol. However, when I loaded the values from a simple XML node, the resulting label showed the literal value\ul00A9 instead of the copyright symbol. I created a test application and found that local XML vars work and local Unicode strings work, but not loaded Unicode values from XML. I have sample URL for my test application (right-click view source) and the code below: URL: http://thanksmister.com/xmlunicode/index.html Flex Code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=charXML.send(); height=210 width=393 viewSourceURL=srcview/index.html mx:Script ![CDATA[ private function serviceListener():void { var tempXML:XMLList = charXML.lastResult.character as XMLList; var localXML:XML = character data\u00A9/data labelInverted Exclamation Mark/label /character; test1.htmlText = localXML.data; test2.htmlText = \u00A9; // string test3.htmlText = tempXML.data; } ]] /mx:Script mx:HTTPService url=data/test.xml id=charXML resultFormat=e4x result=serviceListener() / mx:Canvas width=291 height=164 backgroundColor=#ff x=51 y=19 mx:Label text=Copyright Local XML: x=10 y=10/ mx:Label text= x=201 y=10 id=test1/ mx:Label text=Copyright Text String: x=10 y=59/ mx:Label text= x=201 y=59 id=test2/ mx:Label text=Copyright Imported XML: x=10 y=117/ mx:Label text= x=201 y=117 id=test3/ /mx:Canvas /mx:Application External XML file: ?xml version=1.0 encoding=UTF-8? specialChars character data\u00A9/data labelCopyright sign/label /character /specialChars Thanks, Michael -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Proper way to transition from Login Screen, to Main Application
--- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Could this be something as simple as using a ViewStack Container - simply with 2 States? The 1st State obviously showing the Login Screen (with a blank application background), and the 2nd State being the Main Application? Why not? And your Main Application could be another ViewStack that contains the different sections of your app. And to keep your MXML code clean you could encapsulate the different views in MXML components... Stefan -- 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] accessing item data in an XMLList
ping... 7 hours later I haven't come up with a solution.. anyone? I suppose I could send the whole XMLList object to coldfusion as a string and have Coldfusion parse it, but that seems like an unnecessary use of network bandwidth when all I really want are the labels compiled into an array and sent. Rick Rick Root wrote: So far, I've been unable to find examples of using a tree control and sending its data to a web service, remote object, etc. Lots of example code on using the tree control, enabling drag and drop, putting different kidns of data INTO the tree control- but nothing about getting the data out of it. My tree control is driven by an XMLList object. What i'd like to do is get an array of all the labels for each node, but I'm not having any luck. Here are my sample XMLList objects: mx:XMLList id=treeData1 node label=One item with subitem node label=Subitem/ /node /mx:XMLList mx:XMLList id=treeData2 node label=One Item Only/ /mx:XMLList and here is my function that shows me the items in the tree: private function showList(list):void { var item:XML; txtResults.text = ''; for each(item in list) { txtResults.text += item: + item.attribute('label') + '\n'; if (item.elements().length() 0) { showList(item.children()); } } } Unfortunately, it doesn't seem to return the label on the root node. I've also tried adding the following line above the for loop to no avail: txtResults += list.attribute('label'); Can someone point me in the right direction? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Runtime skinning with an SWF
Thanks for the reply, but I'm looking for a way to use skinning at runtime. That is, I want to load an external swf at runtime (not compile-time through an Embed). The Kiwi article shows it is possible if the external swf is compiled via Flex into a class; since Flash 9 can also compile assets into an class, I was looking for a the proper way to use them at runtime in Flex 2. Thanks. --- In flexcoders@yahoogroups.com, David Mendels [EMAIL PROTECTED] wrote: Hello, These articles might help: http://www.adobe.com/devnet/flex/articles/flex_skins.html http://www.onflex.org/ted/2006/08/skinning-and-theme-support-by-glenn.ph p Lets us know if they answer your question, David Adobe -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alariccole Sent: Tuesday, August 08, 2006 10:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Runtime skinning with an SWF Howdy all. I'm attempting to set up runtime graphical skinning using an SWF. I have looked at the Kiwi Project's solution, http://blogs.adobe.com/kiwi/2006/07/loading_flex_skins_at_runt ime.html, but found that it still required a wrapper class to be compiled in Flex. I'd like to let my designers make a skin in Flash and give it to me as an SWF. Using Flash 9 Professional, I set up a symbol as a class, published it as an SWF, and attempted to load it into Flex at runtime. However, I have been unable to get it to work when applying it as a style. Any suggestions are greatly appreciated. -- 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: [Junk E-Mail - LOW] Re: [flexcoders] accessing item data in an XMLList
With the final release of Flex 2, you now need to add a root XML node to your data... it can be anything, it just has to be there... somekindofroot node label="One item with subitem" node label="Subitem"/ /node /somekindofroot and somekindofroot node label="One Item Only"/ /somekindofroot Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick RootSent: Wednesday, August 09, 2006 3:18 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [flexcoders] accessing item data in an XMLList ping... 7 hours later I haven't come up with a solution.. anyone?I suppose I could send the whole XMLList object to coldfusion as a string and have Coldfusion parse it, but that seems like an unnecessary use of network bandwidth when all I really want are the labels compiled into an array and sent.RickRick Root wrote: So far, I've been unable to find examples of using a tree control and sending its data to a web service, remote object, etc. Lots of example code on using the tree control, enabling drag and drop, putting different kidns of data INTO the tree control- but nothing about getting the data out of it. My tree control is driven by an XMLList object. What i'd like to do is get an array of all the labels for each node, but I'm not having any luck. Here are my sample XMLList objects: mx:XMLList id="treeData1" node label="One item with subitem" node label="Subitem"/ /node /mx:XMLList mx:XMLList id="treeData2" node label="One Item Only"/ /mx:XMLList and here is my function that shows me the items in the tree: private function showList(list):void { var item:XML; txtResults.text = ''; for each(item in list) { txtResults.text += "item: " + item.attribute('label') + '\n'; if (item.elements().length() 0) { showList(item.children()); } } } Unfortunately, it doesn't seem to return the label on the root node. I've also tried adding the following line above the for loop to no avail: txtResults += list.attribute('label'); Can someone point me in the right direction? --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.10.8/414 - Release Date: 8/9/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.8/414 - Release Date: 8/9/2006
[flexcoders] Re: Break in the datagrid
Thanks Anatole, I didn't see that WordWrap there in the properties box...worked out great. Thanks again. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Try DataGridColumn width and wordWrap attributes and make sure DataGrid has variable row height Hope this helps Anatole On 8/9/06, s_hernandez01 [EMAIL PROTECTED] wrote: Hey Flexers Would anyone know how to insert a break (similar to br in html) in the datagrid using an xml file? For example, if I were to have this xml data called into a datagrid how would I break up specific parts of the sentence so that I won't get a scrollbar 20 miles long? descriptionThe spool rack consists of 10 spindles and an adjustable guide loop, and can be turned 360 degees independent of the the base/description -- 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: Proper way to transition from Login Screen, to Main Application
Okay, sounds good to me! I am just a stickler about doing things the right way - even know that there are many ways to accomplish the same thing - especially in the programming world. My thought process reflects precisely the same thing you mentioned, so based on that, I guess it's as simple as it sounds. I know that ViewStacks are precisely designed for this very purpose, but I just wasn't sure if a Login Screen was unique somehow in this case. Well, thanks for your input - I will just continue along as before then. Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Schmalhaus Sent: Wednesday, August 09, 2006 3:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Proper way to transition from Login Screen, to Main Application --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Could this be something as simple as using a ViewStack Container - simply with 2 States? The 1st State obviously showing the Login Screen (with a blank application background), and the 2nd State being the Main Application? Why not? And your Main Application could be another ViewStack that contains the different sections of your app. And to keep your MXML code clean you could encapsulate the different views in MXML components... Stefan -- 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: Proper way to transition from Login Screen, to Main Application
Actually, the best way is to create AuthenticationManager singleton that handles all authentication business logic and notifies subscribed views using events with types SIGN_IN and SIGN_OUT. Due to the fact there could be some authentication views in application (e. g. form and window), you should type them as IAuthenticationView and register with AuthenticationManager. IAuthenticationView interface can provide getters for username, password, isPersistent and showError() method. On 8/9/06, Mike Anderson [EMAIL PROTECTED] wrote: Okay, sounds good to me! -- 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 Libs Source Code
I'm afraid that we're not currently making those source files available. However, I just looked at DataEvent.as and there is nothing interesting there -- it's just like the event classes in Flex that we do make available. It has a static const, DATA, for the event type, a standard constructor, a standard override of clone(), and a trivial getter/setter for the 'data' property, implemented to get and set super.text since DataEvent extends TextEvent. As for Flash classes that do non-trivial things... the AS source code generally won't be of interest. It will just contain a bunch of declarations marked 'native', meaning that their implementation is in the player's native C++ code. And Adobe isn't likely to make THAT available anytime soon. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Dias Sent: Tuesday, August 08, 2006 7:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Libs Source Code Thank you Gordon Smith, but of fact i would like access a source code of the classes that are inside the flash package. For example, i want access the source code (.as) of the class flash.events.DataEvent. Thank you for your time Eduardo Dias On 8/8/06, Gordon Smith [EMAIL PROTECTED]com wrote: C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED]ups.com] On Behalf Of eduardodias Sent: Tuesday, August 08, 2006 2:15 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Flex Libs Source Code Hello, Someone know if is possible have access the source code of the Flex Libs(playerglobal.swc,flex.swc,framework.swc,etc...). I thank any help. Eduardo Dias __._,_.___ -- 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. __,_._,___