[flexcoders] Re: PopUpManager.removePopUp Not Removing Modal Overlay
Sounds like there could be an error|nullreference|illegal thing somewhere in the closeHandler of your TitleWindow.. It's a bit like using Alert.show(nullobject.property), which will lay over the modal part, but won't show the Alert. --jeetee --- In flexcoders@yahoogroups.com, bryanpoopbartow [EMAIL PROTECTED] wrote: I'm using Flex 3 Beta 2. compiling against 2.0.1 Hotfix 3. Created a custom component extending TitleWindow. Using PopUpManager to show it. It works as expected. However, when calling PopUpManager.removePopUp the component itself is removed, while the modal overlay stays intact. I can not interact with the application in any way. I can't get the modal overlay to go away. Has anyone experienced this or have any ideas why it might be happening? I should say that I've used this component in other apps with no problems whatsoever.
RE: [flexcoders] Re: Bouncing Focus in DataGrid
This issue has been fixed in 3.0. Can you upgrade? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Thursday, November 08, 2007 5:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bouncing Focus in DataGrid Ok, I have a simple example. When you run the app, click on the lower right cell, the upper left cell with get focus first. Thanks for all the help. John *** DGTest.mxml *** ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute xmlns:n1=FAB_widgets/widgets mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.events.DataGridEvent; [Bindable] protected var _listData:ArrayCollection = new ArrayCollection([{name:'AA', phone:'555-555-1234',email:'BB'}, {name:'BB', phone:'555-555-4321',email:'AA'}]); private function fireEditEvent(event:DataGridEvent):void { if (dg.itemEditorInstance is ComboBoxRenderer) { // event.preventDefault(); // copy selected value (data) from combobox to renderer var selData:String = ComboBoxRenderer(event.currentTarget.itemEditorInstance).text; var selData2:Object = ComboBoxRenderer(event.currentTarget.itemEditorInstance).selectedItem; if (selData2 != null) { dg.editedItemRenderer.data[event.dataField] = selData2.data; /*EXPENSIVE */// dg.dataProvider.itemUpdated(event.itemRenderer.data); } dg.destroyItemEditor(); } } protected function itemEditBeginHandler(event:DataGridEvent):void { _listData[event.rowIndex].rowChanged = true; dispatchEvent(new Event(change)); dg.invalidateList(); trace('itemEditBeginHandler - ListWithoutAdd'); } ]] /mx:Script mx:DataGrid headerHeight=21 editable=true rowHeight = 30 id=dg dataProvider={_listData} visible=true selectable=false itemEditEnd=fireEditEvent(event) itemEditBegin=itemEditBeginHandler(event) mx:columns mx:DataGridColumn dataField=name headerText=Name itemEditor=ComboBoxRenderer itemRenderer=LabelWithDownArrow/ mx:DataGridColumn dataField=phone headerText=Phone/ mx:DataGridColumn dataField=email headerText=Email itemEditor=ComboBoxRenderer itemRenderer=LabelWithDownArrow/ /mx:columns /mx:DataGrid /mx:Application *** LabelWithDownArrow.as *** package { import mx.controls.Label; import mx.events.FlexEvent; import mx.controls.dataGridClasses.DataGridListData; import mx.controls.dataGridClasses.DataGridColumn; import mx.controls.DataGrid; import mx.collections.ArrayCollection; import flash.display.Graphics; public class LabelWithDownArrow extends Label { public function LabelWithDownArrow() { super(); addEventListener(mx.events.FlexEvent.SHOW, showEventHandler); } private function showEventHandler(e:FlexEvent):void { trace('LabelWithDownArrow showEventHandler'); listData.label = data[DataGridListData(listData).dataField]; var cbr:ComboBoxRenderer; // will contain renderer for this cell var dgc:DataGridColumn; // will contain column info for the one this cell is in var columnArray:Array; // columns of datagrid var dg:DataGrid; // reference to grid containing this cell var dp:ArrayCollection; // dataProvider of selected cell's comboBox var dgld:DataGridListData = listData as DataGridListData; if (dgld != null) { dg = DataGrid(listData.owner); columnArray = dg.columns; // iterate through columns to find one that matches to this cell var columnArrayLen:int = columnArray.length; for (var i:int=0; i columnArrayLen; i++) { if (DataGridColumn(columnArray[i]).dataField == dgld.dataField) { // column found if (dg.columns[i].itemEditor.newInstance() is ComboBoxRenderer) { cbr = dg.columns[i].itemEditor.newInstance(); dp = cbr.dataProvider as ArrayCollection; // now iterate through dp to find a matching data value, when found put its label in the Label widget var dpLen:int = dp.length; for (var j:int=0; jdpLen; j++) { if (dp.getItemAt(j).data == data[dgld.dataField]) { // found match this.text = dp.getItemAt(j).label; // + + dp.getItemAt(j).data; trace('found showEvent LabelWithDownArrow'); return; } } } } } // not found, so show comboBox prompt this.text = cbr.prompt; trace('not found showEvent LabelWithDownArrow'); } trace('showEvent'); } override protected function updateDisplayList(w:Number, h:Number):void { super.updateDisplayList(w-15, h); // subtract from width to allow for down arrow var g:Graphics = graphics; g.clear(); // add arrow to box // Draw the triangle. g.beginFill(0x00); // black g.moveTo(w - 11.5, h / 2 + 3); g.lineTo(w - 15, h / 2 - 2); g.lineTo(w - 8, h / 2 - 2); g.lineTo(w - 11.5, h / 2 + 3); g.endFill(); } // method used to change what is displayed [Bindable] override public function set data(value:Object):void { super.data = value; var cbr:ComboBoxRenderer; // will contain renderer for this cell var dgc:DataGridColumn; // will contain column info for the one this cell is in var columnArray:Array; // columns of datagrid var dg:DataGrid; // reference to grid containing this cell var dp:ArrayCollection;
Re: [flexcoders] Flickr: Sandbox issue with unavaiable.gif
Interesting, because it does have a cross domain. http://l.yimg.com/crossdomain.xml Maybe it using http://l.yimg.com/www.flickr.com/ http://l.yimg.com/www.flickr.com/images/photo_unavailable.gif as the root of the domain. Try to set up the |loadPolicyFile()| method for the above crossdomain. Regards, Tony cisnky wrote: SecurityError: Error #2122: Security sandbox violation How do I get round the security violation for the unavaiable.gif, it seems that server doesn't have a cross domain. http://l.yimg.com/www.flickr.com/images/photo_unavailable.gif http://l.yimg.com/www.flickr.com/images/photo_unavailable.gif I thought it would be a case of not making the call when the api returned the url, but not the case because the server redirects to that gif. Cheers.
[flexcoders] Default CSS
Hello, I am currently on an AS3 project and got a lot Warnings: Default CSS file not found and it become more and more. It has something to with either: * flash.utils.getDefinitionByName * or with [embed()] Tags that lead to generated xyAsset Classes that extend mx.core.ByteArrayAsset and thus using the Flex framework classes in a AS3 only project that doesn't want to use the Flex framework. ;-) But the main problem is the really really annoying Warning Default CSS file not found that populates my Problems View more and more. I would even put an empty default css file somewhere, if I only would know how. Regards, Matthias
RE: [flexcoders] Using Scale-9 scaling in a horizontal plane only
I should also state the original image is 800 pixels wide (800x39). Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: 14 November 2007 17:37 To: flexcoders@yahoogroups.com Subject: [flexcoders] Using Scale-9 scaling in a horizontal plane only Hi, how can I stretch an image horizontally only using scale-9? I'm using the following MXML: mx:Image source=@Embed(source='/assets/TopPageSeparator.swf', scaleGridTop='0', scaleGridBottom='39', scaleGridLeft='732', scaleGridRight='733') y=53 width=100% height=70/ But it's not working - the image is 39 pixels high, and for the width to scale I must also increase the height (notice it's set to 70). How do I get an image to scale with scale-9 horizontally? I'm not bothered about vertical, that can just stretch as normal if required. Thanks, Mark
[flexcoders] DataServices application failing to communicate through SSL
Hi, We have an app built with LCDS that must use SSL. Until now it works properly through HTTP, but as I switch to SSL there's no communication with the server In services-config we have the following channel definition (AMF comet polling ): channel-definition id=my-secure-client-polling-amf class= mx.messaging.channels.SecureAMFChannel endpoint url=https://{server.name}:{server.port}/{context.root}/messagebroker/clientamfsecurepolling; class=flex.messaging.endpoints.SecureAMFEndpoint/ properties !--HTTPS requests on some browsers do not work when pragma no-cache are set-- add-no-cache-headersfalse/add-no-cache-headers polling-enabledtrue/polling-enabled polling-interval-millis0/polling-interval-millis wait-interval-millis-1/wait-interval-millis max-waiting-poll-requests5/max-waiting-poll-requests /properties /channel-definition then in default-channels: default-channels channel ref=my-secure-flexarq-polling-amf/ /default-channels Again in remoting and datamanagment config files: default-channels channel ref=my-secure-flexarq-polling-amf/ /default-channels So, someone could tell me if I need something more to configure to go through SSL? Note: (I create my .keystore and configure the https and port in my tomcat server so I assume all this stuff is ok. as I enter through https I must to validate the certificate. The problem starts as I try to poll data from my flex client interface) Thanks in advance Carlos -- ::| Carlos Rovira ::| http://www.carlosrovira.com ::| http://www.madeinflex.com
[flexcoders] Requesting some logging testing samples
Generally speaking Lots of stuff going out about how to build stuff...plenty of commentary about best practices. Not so much with the logging and unit testing end of things. Lots of us have gotten used to relying on Trace and, one way or another, hack our way thru problems without learning at a fundamental level these new resources. If AS is/has been our only language we probably haven't gotten adequate training in these areas. I think it'd be hugely helpful if someone took ecommerce app built built in Training From The Source as a starting point and added a code layer for logging/debugging and another for unit testing. thx
Re: [flexcoders] External StyleSheet In Application
On Thursday 15 Nov 2007, Samuel R. Neff wrote: CSS is loaded at compile time, not runtime. cough StyleManager.loadStyleDeclarations() -- Tom Chiverton Helping to interactively benchmark open-source CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Help pls! swapping drag panels!
On Thursday 15 Nov 2007, Jaganathan.K wrote: I have custom drag panel component, i want to add an additional feature, which will have the swapping functionality. The what ? -- Tom Chiverton Helping to apprehensively bully second-generation convergence on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] 1046: Type was not found or was not a compile-time constant: Session.
On Thursday 15 Nov 2007, Manu Dhanda wrote: Am having this problem while am trying to migrate my app from Flex 2 to Flex 3. Does it use Cairngorm ? If so, get the latest (2.2.1 ?) release. -- Tom Chiverton Helping to continuously synthesize 24/365 patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Closed Captioning: Captionate and Other Methods
On Wednesday 14 Nov 2007, caffeinewabbit wrote: Barring the use of Captionate, has anyone else ever had to implement closed-captioning functionality in their Flex app? If so, how'd you go about it? I would have thought that for each video you just* need a list of (pause:Number,caption:String) and then just display each caption in turn in a TextArea or something under the video, pausing between each. -- Tom Chiverton Helping to proactively transition viral convergence on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex 2, Webservice, Tomcat, Basic Authentication, IE Problem
Christoph Guse writes: Hi Douglas, thanks for your reply. I can switch off https for testing purposes, but it is impossible to switch off https in the production environment. So your approach can't be the final solution. I'll try to switch off https tomorrow and will see what happens. Any more ideas? There's a fairly well documented problem when loading data over HTTPS into the Flash Player when running in IE if the response contains cache-control headers. If these are set to Cache-Control: no-cache then the browser loads the data but the Flash player never gets to see it, so you could try seeing if these headers are being sent and disable them or alter them if they are - you should be able to find people's solutions with a quick Google. There can also be problems in IE with HTTPS if the content is gzipped by the server, depending on IE settings - the do not save encrypted data setting under internet settings/advanced/security seems to have some effect here. Good luck! Stephen
[flexcoders] Re: Scaling a TextArea without reflowing the text
Excellent. Problem solved. Thanks Dan. --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: textField.antiAliasType = AntiAliasType.NORMAL; - Dan Freiman
RE: [flexcoders] Using Scale-9 scaling in a horizontal plane only
It seems even after changing the code in this article: http://www.adobe.com/devnet/flex/quickstart/embedding_assets/#EmbeddingI magesScale9 you can't scale in just one direction - the scaling is restricted to the aspect ratio of the scale-9 grid that's in use. If you scale by 10 pixels to the right, you must scale 10 pixels down too. Is there *anyway* around this? I really don't want to have to resort to splitting my image up into left, centre and right images. Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: 15 November 2007 09:36 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Scale-9 scaling in a horizontal plane only I should also state the original image is 800 pixels wide (800x39). Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: 14 November 2007 17:37 To: flexcoders@yahoogroups.com Subject: [flexcoders] Using Scale-9 scaling in a horizontal plane only Hi, how can I stretch an image horizontally only using scale-9? I'm using the following MXML: mx:Image source=@Embed(source='/assets/TopPageSeparator.swf', scaleGridTop='0', scaleGridBottom='39', scaleGridLeft='732', scaleGridRight='733') y=53 width=100% height=70/ But it's not working - the image is 39 pixels high, and for the width to scale I must also increase the height (notice it's set to 70). How do I get an image to scale with scale-9 horizontally? I'm not bothered about vertical, that can just stretch as normal if required. Thanks, Mark
[flexcoders] [Bindable] and dispatchEvent
Hello, What is going on that makes this legal code: [Bindbale] class MyClass { function something() { dispatchEvent(new Event('someevent')); } } What is curious is that I can call dispatchEvent since the class doesn't define such a method, nor does it extend EventDispatcher. Remove the [Bindable] tag and the above will not compile. So, the [Bindable] tag seems to be causing the class to implicitly implement IEventDispatcher somehow. This is not normally a problem, but if you need to refer to this class in a Flash component kit component then Flash will complain as it doesn't know that anything with a [Bindable] tag can dispatch events. So, what exactly is going on behind the scenes? From my exploration of the AS generated by mxmlc I thought that the compiler would not do anything to classes such as the one above, and instead set up a series of changewatchers to implement bindings to objects of this class, this being the case then I would not expect classes that don't explicitely extend EventDispatcher or implement IEventDispatcher to be capable of being treated as if they do. I appreciate that [Bindable] classes, and those with [Bindable] properties need to be able to dispatch events, but am curious about the exact means by which this is achieved. Any insight much appreciated! Stephen
Re: [flexcoders] [Bindable] and dispatchEvent
yeah i noticed as well, it makes it implement IEventDispatcher in the backgound via the first pass compiler On Nov 15, 2007 5:58 AM, Stephen Allison [EMAIL PROTECTED] wrote: Hello, What is going on that makes this legal code: [Bindbale] class MyClass { function something() { dispatchEvent(new Event('someevent')); } } What is curious is that I can call dispatchEvent since the class doesn't define such a method, nor does it extend EventDispatcher. Remove the [Bindable] tag and the above will not compile. So, the [Bindable] tag seems to be causing the class to implicitly implement IEventDispatcher somehow. This is not normally a problem, but if you need to refer to this class in a Flash component kit component then Flash will complain as it doesn't know that anything with a [Bindable] tag can dispatch events. So, what exactly is going on behind the scenes? From my exploration of the AS generated by mxmlc I thought that the compiler would not do anything to classes such as the one above, and instead set up a series of changewatchers to implement bindings to objects of this class, this being the case then I would not expect classes that don't explicitely extend EventDispatcher or implement IEventDispatcher to be capable of being treated as if they do. I appreciate that [Bindable] classes, and those with [Bindable] properties need to be able to dispatch events, but am curious about the exact means by which this is achieved. Any insight much appreciated! Stephen -- j:pn \\no comment
[flexcoders] Replace color in animation?
Ok, this is maybe a bit offtopic but I'll give it a shot anyway -- We get vector animations created in Illustrator from a design shop, which we convert to MovieClips and use in flash. What I would like to do is replace a specific color in flash in runtime. E.g. if it's a car I'd like to be able to specify it's color as blue instead of red. Is this possible? -- http://www.juicability.com - flex blog http://www.43min.com - funny movies
[flexcoders] Problems uploading large base64 files (over 10mb) with URLLoader
Has anyone experienced problems uploading large files with URLLoader? I am reading in a file as binary data and converting it to Base64 using the built in Base64 class. I am then popping this base64 data into an xml file and uploading using URLLoader. It all works fine with files up to about 10mb but files larger than this appear to be crashing my app. Not sure what URLLoader does exactly but there appears to be a delay of about 6 minutes before I see any network traffic so I assume that it is processing the data before it sends it? I would really appreciate any advice on this problem as I would prefer not to have to recode this using a different approach. I have heard there is another way to send data using HTTP Service - does anyone know if this is a better way to go about this? Thanks Here is some of my code var be:Base64Encoder = new Base64Encoder(); be.encodeBytes(ByteLoader.data); var dataStrEncoded:String = be.flush(); var XMLString:String; XMLString = '?xml version=\1.0\ encoding=\UTF-8\?'; XMLString = 'file'; XMLString += '![CDATA[' + dataStrEncoded + ']]'; XMLString += '/file'; var dataToSend:XML = new XML(XMLString); _loader = new URLLoader(); _loader.addEventListener(Event.COMPLETE,fileUploadCompleteListener); _loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorListener); var request:URLRequest = new URLRequest(scriptPath); request.method = URLRequestMethod.POST; var variables:URLVariables = new URLVariables(); variables.xml = XMLString; request.data = variables; _loader.load(request);
[flexcoders] Re: Combobox ItemRenderer is now working as expected
Tried Boolean(XML(data)[EMAIL PROTECTED]) Tried Boolean([EMAIL PROTECTED]) but no luck !!! Can some body please try by running the code? --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: hmm, isn't [EMAIL PROTECTED] a String, eh? Try casting it to a Boolean. DK On Nov 14, 2007 11:45 PM, srikanth_reddy_007 [EMAIL PROTECTED] wrote: Tried XML(data)[EMAIL PROTECTED] but no luck !!! --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: Are you getting binding warnings? Try XML(data)[EMAIL PROTECTED] From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of srikanth_reddy_007 Sent: Wednesday, November 14, 2007 8:08 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Combobox ItemRenderer is now working as expected Can some one rectify my problem -- I have a ItemRenderer for combobox FilterListRenderer.mxml ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml width=100% height=20 paddingLeft=0 paddingRight=0 paddingTop=0 paddingBottom=0 initialize=init() enabled={data.enabled} mx:Script ![CDATA[ import mx.controls.Alert; [Bindable] [Embed(source=assets/bulletCheck.png)] public var BulletCheck:Class; [Bindable] [Embed(source=assets/bulletWarning.png)] public var BulletWarning:Class; public function init():void { } ]] /mx:Script mx:Label text={data.Name} width=190 height=20 truncateToFit=true/ mx:Button width=20 height=20 right=22 bottom=0 top=0 upIcon={BulletCheck} overIcon={BulletCheck} downIcon={BulletCheck} disabledIcon={BulletCheck} visible=[EMAIL PROTECTED] click=Alert.show([EMAIL PROTECTED])/ mx:Button width=20 height=20 right=0 bottom=0 top=0 upIcon={BulletWarning} overIcon={BulletWarning} downIcon={BulletWarning} disabledIcon={BulletWarning} visible=[EMAIL PROTECTED] click=Alert.show([EMAIL PROTECTED])/ /mx:Canvas with the above code and i call this in my main application as ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute mx:XML format=e4x id=filterData Filters Filter id=1001 NameDefault/Name Category0/Category /Filter Filter id=1002 NameNetwork Filter/Name Category0/Category /Filter Filter id=1003 NameHardware Filter/Name Category0/Category /Filter Filter id=1004 NameSoftware Filter/Name Category1/Category /Filter Filter id=1005 showEdit=false showDelete=false NameAdvanced Filter/Name Category2/Category /Filter Filter id=1006 showEdit=true showDelete=true NameMy Saved Filter/Name Category3/Category /Filter Filter id=1007 showEdit=true showDelete=true NameMy Saved Filter 1/Name Category4/Category /Filter /Filters /mx:XML mx:ComboBox id=cmbFilter itemRenderer=FilterListRenderer width=250 cornerRadius=0 rowCount=10 dataProvider={filterData.Filter} labelField=Name x=38 y=47 /mx:ComboBox /mx:Application what i expect is a combo box with the Item renderer displaying two buttons besides the label when i say showEdit=true showDelete=true in the data and doen't show these buttons if i dont give anything or if i give showEdit=false showDelete=false. But what ever i give or doent give that, it shows the buttons in the item renderer. and when i click on the button it returns me the correct value? can some body help me out in solving this problem and why its not working as i expect. -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
[flexcoders] Re: Vertical scrolling without horizontal scrolling? How do I make 100% == 100%
Try Setting the horizontalSrollPolicy=off --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: As long as it is small enough to not cause the hbar to come on From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, November 14, 2007 4:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width? Does it have to be 0, or can I go with something like 200 or so? It irks me that when you shrink the browser window you get a million scrollbars in every nested container :) I know I'm probably a pain, but I'm determined to master Flex. -Josh On Nov 14, 2007 5:45 PM, Alex Harui [EMAIL PROTECTED] mailto:aharui%40adobe.com wrote: I think you want the content to use 100% but have minWidth=0. You're hitting an obscure 'rule' of flex that we don't shrink containers when they decide to put up scrollbars else it could propagate scrollbars down to its children. Also, if or when you know you want scrollbars, changing the policy to on will factor the scrollbars into the layout. minWidth usually solves it though. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Josh McDonald Sent: Tuesday, November 13, 2007 11:13 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width? The content is set up to be in some cases 100%, otherwise it's anchored to top/bottom/sides. If I have the container (vbox) anchored to the bottom of the application, or no height specifcation at all, or any %, it simply grows out and i get the dual scrollbars. If i specify a pixel height, the container itself gets a scrollbar and everything works fine. Is there no way to have a container that has an anchored to the application minimum size, but will scroll internally if it needs to? I imagine setting the height to a pixel size when the application detects a resize would achieve the results I'm after, but that's awfully kludgey. I feel like I'm trying to do CSS-based design in HTML :-/ -Josh On Nov 14, 2007 4:49 PM, Alex Harui [EMAIL PROTECTED] mailto:aharui%40adobe.com wrote: Does the content need to fill the width of the container? If it does, I think you'll always get an hbar since even narrowing it would obscure content. Otherwise, try setting minWidth=0 on the content items and maybe the container as well. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Josh McDonald Sent: Tuesday, November 13, 2007 10:24 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Vertical scrolling without horizontal scrolling? How do I make 100% == 100% of available width? Hi guys, I'm having a problem where as soon as my content goes taller than a container (be it the application, or a panel) and a vertical scrollbar is needed, it simply covers up some of the container rather than narrowing it. This of course creates a horizontal scrollbar as well. Is there an easy way to get around this? It's really the last thing I want, and to me seems like the last thing anybody would want. I'm sure it's something simple, but it's just one of those things that appears difficult to google for :) Any help appreciated :) -Josh -- This is crazy! Why are we talking about going to bed with Wilma Flintstone... She'll never leave Fred and we know it. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:josh%40gfunk007.com -- This is crazy! Why are we talking about going to bed with Wilma Flintstone... She'll never leave Fred and we know it. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:josh%40gfunk007.com -- This is crazy! Why are we talking about going to bed with Wilma Flintstone... She'll never leave Fred and we know it. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] mailto:josh%40gfunk007.com
Re: [flexcoders] Replace color in animation?
If I am not wrong I dont think you can change the color of a specific an image in flash. One way I can think of is to have the illustratyor image a transparent one. That is the transparent part is where the color changes. Place the image in some container of flash and try changing the color of the container. But still I am not sure if an image can have only the outline with transparent patches in the flash file. But still worth a try. Or you should have as many colored images you want and work with them. Cheers Hara On Nov 15, 2007 5:21 PM, bjorn - [EMAIL PROTECTED] wrote: Ok, this is maybe a bit offtopic but I'll give it a shot anyway -- We get vector animations created in Illustrator from a design shop, which we convert to MovieClips and use in flash. What I would like to do is replace a specific color in flash in runtime. E.g. if it's a car I'd like to be able to specify it's color as blue instead of red. Is this possible? -- http://www.juicability.com - flex blog http://www.43min.com - funny movies
[flexcoders] Flex / AIR and Google OpenSocial
Are there any opportunities to utilize Google's new OpenSocial with Flex / AIR ? Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918 --
Re: [flexcoders] Re: Memory Allocation Error - Garbage Collection Hack
In my code hinting (Flex builder 3 beta) I see a System.gc() method. Im not sure if this method works in all players because it is undocumented. Who knows. Greetz Erik On 9/6/07, marcel.panse [EMAIL PROTECTED] wrote: Nobody want to give it a shot?
RE: [flexcoders] Using Scale-9 scaling in a horizontal plane only (solved but need feedback)
It turns out the scaling doesn't like SWF files for some reason?! I thought you could use SWFs and scale-9? This code works just fine: mx:Image maintainAspectRatio=false y=53 width=100% height=39 source=@Embed(source='/assets/TopPageSeparator.png', scaleGridTop='0', scaleGridBottom='39', scaleGridLeft='732', scaleGridRight='734')/ This code does not (notice the only different is the extension): mx:Image maintainAspectRatio=false y=53 width=100% height=39 source=@Embed(source='/assets/TopPageSeparator.swf', scaleGridTop='0', scaleGridBottom='39', scaleGridLeft='732', scaleGridRight='734')/ Is this intended behaviour or am I missing something? Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: 15 November 2007 09:36 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Scale-9 scaling in a horizontal plane only I should also state the original image is 800 pixels wide (800x39). Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: 14 November 2007 17:37 To: flexcoders@yahoogroups.com Subject: [flexcoders] Using Scale-9 scaling in a horizontal plane only Hi, how can I stretch an image horizontally only using scale-9? I'm using the following MXML: mx:Image source=@Embed(source='/assets/TopPageSeparator.swf', scaleGridTop='0', scaleGridBottom='39', scaleGridLeft='732', scaleGridRight='733') y=53 width=100% height=70/ But it's not working - the image is 39 pixels high, and for the width to scale I must also increase the height (notice it's set to 70). How do I get an image to scale with scale-9 horizontally? I'm not bothered about vertical, that can just stretch as normal if required. Thanks, Mark
[flexcoders] how do I freeze the users actions while data is loading
I have a web service that's getting data to fill comboBoxes then the real data. This takes a few seconds. I'm using the showBusyCursor on the service, but the user can actually still click buttons. Is there a way to blur the screen out during this time like when using a pop- up window? Thanks, Mark
[flexcoders] Smooth Scrolling Effect with Viewstack
I have a viewstack component for which I would like a smooth scrolling effect as a child transition. Currently I am using a moveEffect to slide one child out and slide the next child in. This works okay but there is a considerable gap between the old and the new. I would prefer a more fluid transition where both children are technically visible (adjoining) during the change. Is there a method using viewstack or other layout component to produce a continuous scrolling type effect between a set of separate custom components ? -- Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918
[flexcoders] HashMap with an object as key transferred with livecycle returns null
Hi I have an HashMap in java that uses an object as the key (have also tried using Integer), but when I in Flex access this object the value of the key is null. If I switch the key to a String it works great. But I need to be able to use an int(Integer) or an object as the key. Anybody got any tips on how to do this. Am I doing something wrong or does this just not work? Thanks in advance!
Re: [flexcoders] Replace color in animation?
Bjorn, If all of the areas you want to change (e.g. the red areas of the image) are exported as a single sub-movie-clip of the overall movie-clip, you can use the flash.geom.ColorTransform class to change the colour of everything in that subclip. That works for us. Hope that's helpful, Ian On Nov 15, 2007 11:51 AM, bjorn - [EMAIL PROTECTED] wrote: Ok, this is maybe a bit offtopic but I'll give it a shot anyway -- We get vector animations created in Illustrator from a design shop, which we convert to MovieClips and use in flash. What I would like to do is replace a specific color in flash in runtime. E.g. if it's a car I'd like to be able to specify it's color as blue instead of red. Is this possible? --
[flexcoders] Flex coder needed in Bangladesh Dhaka
Hi all, Brainstation-23 is a leading Flash/Flex based company in Dhaka, Bangladesh. We got some very interesting and complicated works to do in Flex and Flash related to 3D and drawing. If anybody interested please mail at [EMAIL PROTECTED] Please write your expected salary, experience years, full time or part time interested. Thanks everybody. Happy Coding. Raisul
[flexcoders] Seeking to Network with Flex users in Greater Boston
I'm seeking to network with Flex users in Greater Boston. Does anyone know of usergroups or other places/people that I might contact? Arnie Fertig Centre Street Associates, Inc. www.cstreetsearch.com
[flexcoders] Enhanced Constraints Confusion...
Hi guys, I'm trying to work out how to use the Flex 3 constraints to replace a currently hand-coded layout. I'm running into a problem with content-sized constraints: how to have child components that position themselves on a particular constraint but don't actually affect the size of that constraint? The layout I'm looking for is this (each letter represents a component): A PMT C D Component PMT is the central component: the other components need to be a set distance to the left (A), right (C) or below (D). I've specified the constraints like so: view:Schematic id=schematic (Schematic is a Canvas) view:constraintColumns mx:ConstraintColumn id=pmtLeft/ (A is specified as right=pmtLeft:0) mx:ConstraintColumn id=pmtCentre/ (PMT D are specified as horizontalCenter=pmtCentre:0) mx:ConstraintColumn id=pmtRight / (C is specified as left=pmtRight:15) /view:constraintColumns view:constraintRows mx:ConstraintRow id=pmtTop / mx:ConstraintRow id=pmtMiddle / mx:ConstraintRow id=pmtBottom / /view:constraintRows /view:Schematic So pmtLeft is sized to the width of A, pmtRight to the width of C, and pmtCentre to the width of PMT or D, whichever is greater. The problem is I need pmtCentre to be sized to the width of PMT only, and ignore the width of D. Yet I still need D centred on pmtCentre. I need the content-sized constraints, so PMT can be changed, but I also need D to be able to grow wider than its constraint. I.e. D needs to be centred under PMT but not affect the width of the pmtCentre ConstraintColumn. Is this possible? I tried includeInLayout=false but that didn't do anything. I guess I'm looking for the equivalent of spanCols/spanRows for constraints. Am I missing something or is this a limitation of the enhanced constraints? If it is a limitation then they aren't as useful as claimed... Any alternatives suggested would be welcome too. Cheers, Charlie
[flexcoders] Digital Signature
Java applets and now AIR apps both have the concept of a digital signature. The loader of the apps are able to verify that the apps have not been corrupted. Is there anything similar for SWFs? Can the Flash player verify a digital signature?
Re: [flexcoders] Re: Flex 2, Webservice, Tomcat, Basic Authentication, IE Problem
Hi Stephen, hi Douglas, I found a solution! :-) Ok, first of all for my application it is very important to load the WSDL files with the https Url. Only with a https Url the sessionId is sent by Flash. Then I had to do a tomcat configuration. It was necessary to add Valve className=org.apache.catalina.authenticator.BasicAuthenticator disableProxyCaching=false / in Context / of context.xml. With this settings everything works like it is expected. Thanks to all which thought about my problem. Regards, Christoph Zitat von Stephen Allison [EMAIL PROTECTED]: Christoph Guse writes: Hi Douglas, thanks for your reply. I can switch off https for testing purposes, but it is impossible to switch off https in the production environment. So your approach can't be the final solution. I'll try to switch off https tomorrow and will see what happens. Any more ideas? There's a fairly well documented problem when loading data over HTTPS into the Flash Player when running in IE if the response contains cache-control headers. If these are set to Cache-Control: no-cache then the browser loads the data but the Flash player never gets to see it, so you could try seeing if these headers are being sent and disable them or alter them if they are - you should be able to find people's solutions with a quick Google. There can also be problems in IE with HTTPS if the content is gzipped by the server, depending on IE settings - the do not save encrypted data setting under internet settings/advanced/security seems to have some effect here. Good luck! Stephen
[flexcoders] Re: HELP! How to invoke a servlet from a Flex Application: Throws error 2032
Yep both the application and the servlet are on the same domain and i can invoke the servlet from an html using the locallhost url. The stdout log of tomcat remains blank when i call the servlet from my flex app. Thanks, -javed --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 14 Nov 2007, javed akhtar wrote: I am very badly stuck with this crap and can't think of way out, Is there nothing in your application server log ? Are the servlet and Flex application on the same domain ? -- Tom Chiverton Helping to preemptively leverage second-generation materials on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: Austin Flex User Group?
I would be interested. My company also has a group of 5 Flex developers in Austin and more abroad. We are looking to hire about 5 more in Austin. Our developers are coming from the Java world where we have had little development exposure to flash and cf before starting with Flex and AIR. Mike --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi All, Just want to gauge the interest in an Austin Flex User Group (TX of course). I've got the ok from Adobe to go ahead with it, but have been dragging my butt thus far... Thanks, Brendan -- Brendan Meutzner http://www.meutzner.com/blog/
Re: [flexcoders] Re: Newb needs state help
I tried that and I got an error saying the state is undefined. In my nav.mxml file, the menuBar has a click event that sets the currentstate to the view I want. The mainapp.mxml has my view in it. When the click event is fired, it gives me an error stating the state is undefined. Thanks On Nov 15, 2007 12:02 AM, Randy Martin wrote: Just have your code set currentState = stateName, where stateName = the name of the State. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* layout=absolute currentState=loginState
[flexcoders] Scrollbar weirdness
Hi all, I have a datagrid that has longer data in some rows than others. The problem is that my scrollbar is changing size! Does anyone know how to stop the scrollbar changing height? A sample code is below. Thanks Shaun Code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:XMLList id=employees employee nameChristina Coenraets/name phone555-219-2270/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameJoanne Wall/name phone555-219-2012/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMaurice Smith/name phone555-219-2012/phone email[EMAIL PROTECTED]/email activefalse/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL PROTECTED]/email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone emailHeadmaster of Hogwarts School of Witchcraft and Wizardry Order of Merlin and other honors. Chocolate Frog card: Considered by many the greatest wizard of modern times. Dumbledore is particularly famous for his defeat of the dark wizard Grindelwald in 1945, for the discovery of the twelve uses of dragon's blood, and his work on alchemy with his partner, Nicolas Flamel. Prof. Dumbledore enjoys chamber music and tenpin bowling. Nitwit! Blubber! Oddment! Tweak! Shining silver hair. Men have wasted away before [the Mirror of Erised], entranced by what they have seen, or been driven mad, not knowing if what it shows is real or even possible. Rigged mirror to help those who wanted to find the stone but not. Nitwit! Blubber! Oddment! Tweak! Shining silver hair. Men have wasted away before [the Mirror of Erised], entranced by what they have seen, or been driven mad, not knowing if what it shows is real or even possible. Rigged mirror to help those who wanted to find the stone but not use it. Spiral escalator to office; large and beautiful circular room. Auburn hair 50 years ago. Suspended as headmaster. /email activetrue/active /employee employee nameMary Jones/name phone555-219-2000/phone email[EMAIL
[flexcoders] glow effects
Hi All I want to make a button pulse (and maybe speed it up to flash). I am using a sequence to string together 2 glow effects, glowUp and glowDown: private function gridClicked(e:MouseEvent):void { var templateButton:Button = templateButtons[e.currentTarget.selectedItem.templateID]; var designButton:Button = designButtons[e.currentTarget.selectedItem.designID]; var glowUp : Glow = new Glow( ); var glowDown : Glow = new Glow( ); var blurAmount:Number = 10; var effectDuration:Number = 1000; var alphaFrom:Number = 0.3; glowUp.duration = effectDuration/2; glowUp.blurXFrom = 0; glowUp.blurXTo = blurAmount; glowUp.blurYFrom = 0; glowUp.blurYTo = blurAmount; glowUp.alphaFrom = alphaFrom; glowUp.alphaTo = 1; glowDown.duration = effectDuration/2; glowDown.blurXFrom = blurAmount; glowDown.blurXTo = 0; glowDown.blurYFrom = blurAmount; glowDown.blurYTo = 0; glowUp.alphaFrom = 1; glowUp.alphaTo = alphaFrom; var sequence:Sequence = new Sequence(); var targetsArray:Array = new Array(); if(templateButton != null)targetsArray.push(templateButton); if(designButton != null)targetsArray.push(designButton); sequence.targets = targetsArray; sequence.children = [glowUp,glowDown] sequence.play(); } This works ok but it does not seem like a single smooth process. There is a definite step in the animation half way through. Can anyone suggest a way of making it smoother - so that it looks like the button pulses? Thanks
Re: [flexcoders] Austin Flex User Group?
I'm interested (and saw your notice on your blog as well) but honestly would probably only make a meeting every 2-3 months given other groups I'm involved with (Rails, Refresh) and family commitments. --chris On 11/14/07, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi All, Just want to gauge the interest in an Austin Flex User Group (TX of course). I've got the ok from Adobe to go ahead with it, but have been dragging my butt thus far... Thanks, Brendan -- Brendan Meutzner http://www.meutzner.com/blog/
Re: [flexcoders] Looking for a Flex Email Client
This might be a start: http://www.partlyhuman.com/blog/roger/apollo-mail-client-version-03 Perhaps you can integrate it with the Flex Scheduling Framework for Calendar type stuff: http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework If you have a budget behind this project and are looking for resource, I'd be more than happy to discuss it. sknyppy wrote: Does anyone know of any good Flex Email Clients that are available? I'm looking for an application that will send/receive email with folder and calendar options as well. Any samples available that I can start with? Thanks, Sknyppy -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author, Recording Engineer AIM: Reboog711 | Phone: 1-203-379-0773 -- My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] Strange compiler behavior in Flex Builder for Mac
Hey all, I was wonder if someone might be able to answer my question on this. I recently switched over to do my development work on a Mac. I’m using Flex Builder as I did on the Windows platform. After moving one of my projects over to the Mac, Flex Builder is now showing errors in my code. The same error does not show up in Flex Builder for Windows even though the code is exactly the same. The errors I’m getting are: 1084: Syntax error: expecting rightparen before s. 1093: Syntax error. Syntax error: expecting rightbracket before public. [Generated code (use –keep to save) It seems to be having an issue with this particular section in the mx:style tag within my code: @font-face{ src: url(assets/verdana.ttf); fontFamily: myVerdana; } In particular, it seems to take issue with the [EMAIL PROTECTED] symbol, since the error goes away if I remove it. Does anyone have any suggestions on how to fix this? I don’t understand why this works fine on one version of Flex Builder and not the other. This is causing me some minor headaches during my transition to the new platform. J Thanks, and happy coding! Andrew
[flexcoders] Re: External StyleSheet In Application
humm...it loads compiled swf file rather than CSS file(directlly)... that means I have to recompiled the CSS once I made some changes everytime. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 15 Nov 2007, Samuel R. Neff wrote: CSS is loaded at compile time, not runtime. cough StyleManager.loadStyleDeclarations() -- Tom Chiverton Helping to interactively benchmark open-source CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Sorting a list and then allowing drag drop
Greetings all, I have a list that allows drag n' drop operations. However I also want to implement a 'reset' operation where the list will rearrange all the items in the correct order. So the obvious way is to do : List.ListDataProvider.sort = _mySort; List.ListDataProvider.refresh() List.ListDataProvider.sort = null; Assuming ListDataProvider represents the list's data provider and _mySort is a Sort type that rearrange all my items in the correct order However once I perform this operation, I find that the next time I will do a drag drop then the item that I will drag will stay in place (but will not be selectable) and the drag will perform, meaning there will be 2 copies of the same item in my list... Any ideas ?
[flexcoders] Using checkbox with default spacebar toggle?
I have a dataGrid which uses keyDown to fire a keyboard checking routine. This allows the user to navigate the grid via the up/down cursor keys to change the editedItemPosition. One of the grid columns contains a checkbox which can be toggled via the spacebar, and is the default Flex action. However, sometimes this does not work correctly and the checkbox, although toggled, is actually grey in colour. I guess this is selected, but not enabled for some season, and have yet to investigate this. Also, sometimes the toggle action does not work and it takes a couple of spacebar presses to get the checkbox to toggle. I've no idea why this is. Can Flex's automatic spacebar toggle action be disabled for this grid so that I can capture the spacebar keyboard event manually and toggle it via my own function?
[flexcoders] Re: How to access the List from it's ItemRenderer
Just realized that losing selection after a drag drop operation is actually the correct list behavior and is not linked to custom renderers... If I remove the custom renderers and repeat the same operation I will also lose any prior selection made after the drag drop. Can someone else confirm this ? Just do the following : - create a list - allow : multi sel,dragdrop -Execute your program - Select an item - Perform a dragdrop Result = your selection should disappear after the drop Is this behavior intended by Adobe Flex, and why ? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If you ask too soon, you will not know when it changed. You should ask in updateDisplayList From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Wednesday, November 14, 2007 7:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to access the List from it's ItemRenderer isItemSelected(...) always returns false because the list of ListBase(owner) doesn't have any selections : selectedItems.length = 0 selectedIndex = -1 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Adnan Doric astronaute@ wrote: icepaco33 wrote: Greetings, I am trying to have access to the List which renderers the item from an item renderer. What I want basically is to be able to determine if an item is 'selected' from an item renderer. So I have overriden the set data prop in order to do this: override public function set data(value:Object):void { super.data = value; //Here I'd like to access the list to do : if (list.isItemSelected(value) ) currentState = Selected; else currentState = ; } thanx ! Hello, Try ListBase(owner).isItemSelected(data) Cheers, Adnan
[flexcoders] Binding Objects to a DataGrid
I've got a list an ArrayCollection of objects bound to a grid. The User selects a row in the grid and hits a button. That button manipulates that row's associated object. What do I have to do to get the grid to reflect the changes? I can re-assign the dataProvider, but that seems rather heavy-weight.
Re: [flexcoders] [Bindable] and dispatchEvent
[Bindable] actually makes a number of changes to your code. If your class doesn't already implement IEventDispatcher, then it adds that with methods to implement the interface which delegate to an instance of EventDispatcher. For every bindable property, where you don't specify the change event, it will add dispatchEvent() calls inside setters. And, if it's just a var, it will convert it to a get/set pair, with the dispatchEvent inserted. Another side effect is that the following is also legal: interface IA { function get b():Boolean; function set b(bool:Boolean):void; } class A implements IA { [Bindable] public var b:Boolean; // [Bindable] converts this to a get/set pair } But, it is not legal without the metadata. Peter On Nov 15, 2007 5:58 AM, Stephen Allison [EMAIL PROTECTED] wrote: Hello, What is going on that makes this legal code: [Bindbale] class MyClass { function something() { dispatchEvent(new Event('someevent')); } } What is curious is that I can call dispatchEvent since the class doesn't define such a method, nor does it extend EventDispatcher. Remove the [Bindable] tag and the above will not compile. So, the [Bindable] tag seems to be causing the class to implicitly implement IEventDispatcher somehow. This is not normally a problem, but if you need to refer to this class in a Flash component kit component then Flash will complain as it doesn't know that anything with a [Bindable] tag can dispatch events. So, what exactly is going on behind the scenes? From my exploration of the AS generated by mxmlc I thought that the compiler would not do anything to classes such as the one above, and instead set up a series of changewatchers to implement bindings to objects of this class, this being the case then I would not expect classes that don't explicitely extend EventDispatcher or implement IEventDispatcher to be capable of being treated as if they do. I appreciate that [Bindable] classes, and those with [Bindable] properties need to be able to dispatch events, but am curious about the exact means by which this is achieved. Any insight much appreciated! Stephen
[flexcoders] Re: Binding Objects to a DataGrid
Here's a sample app demonstrating my problem. You don't see the value in the Number column get incremented until you hit the Reload button. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.collections.ArrayCollection; private var myData:ArrayCollection = new ArrayCollection([ {name:'Bob', value:1}, {name:'Jim', value:2}]); ]] /mx:Script mx:DataGrid id=grd dataProvider={myData} mx:columns mx:DataGridColumn headerText=Name dataField=name/ mx:DataGridColumn headerText=Value dataField=value/ /mx:columns /mx:DataGrid mx:HBox mx:Button label=Increment click={grd.selectedItem.value++} enabled={grd.selectedItem != null}/ mx:Button label=Reload click={grd.dataProvider = myData}/ /mx:HBox /mx:Application
[flexcoders] Re: Accessing dataField from within a Custom Item Renderer
Genius! Was just having that problem with another I wrote... --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Better, but will fail if you scroll. Renderers get recycled and creatuinComplete only gets fired once. Use the dataChange event instead From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of triggersoftware Sent: Wednesday, November 14, 2007 9:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Accessing dataField from within a Custom Item Renderer Yup...I was being dense: ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml textAlign=center creationComplete=setText() mx:Script ![CDATA[ import mx.controls.dataGridClasses.DataGridListData; private function getFormattedDate():String { var columnMetadata:DataGridListData = DataGridListData(listData) var fieldName:String = columnMetadata.dataField; var data:Object = data[fieldName]; return df.format(data); } private function setText():void { text = getFormattedDate(); } ]] /mx:Script mx:DateFormatter id=df formatString=DD-MMM-YY/ /mx:Label
Re: [flexcoders] HELP! How to invoke a servlet from a Flex Application: Throws error 2032
The error from flex means that it isn't getting anything back from the server and as far as I see you aren't sending anything back. Regarding nothing showing on stdout ... well, I don't think tomcat works like that. You should use log4j. Regarding the output you need to create a writer from response. Something like PrintWriter writer; writer = res.getWriter(); // java.io.PrintWriter writer.write(Some xml text ...); writer.close(); Then before you try hitting it with flex just type the URL in the browser manually. First, http://myserver/MyServlet/?myarg=argumentmyarg2=argument2 Etc ... If you aren't getting XML back like that, then you definitely aren't going to have what you expect inside flex. One last tip. use dom4j for your XML creating ... of all the java XML packages I've used, it's the easiest to work with. ( http://www.dom4j.org/guide.html ) Good luck! Paul On Nov 14, 2007 5:04 PM, javed akhtar [EMAIL PROTECTED] wrote: Hi Folks, I am relatively very new to Flex and using Flex I am trying to invoke a servlet which would intern write me an XML. I have a servlet which creates an XML when invoked from an HTML. The looks something like this: -servlet public class MyServlet extends HttpServlet { public void init(){} public void doPost(HttpServletRequest req, HttpServletResponse res) { String filePath = webapps\\test\\xml\\Comments.xml; String commentBuild = req.getParameter(Build); String commentTime = req.getParameter(Time); String commentOwner = req.getParameter(Owner); String comment = req.getParameter(Comment); boolean commentUpdate = false; System.out.println(I got : + commentBuild); System.out.println(I got : + commentTime); System.out.println(I got : + commentOwner); System.out.println(I got : + comment); --etc } the flex project has the HTTP service as follows: mx:HTTPService id=MyServletInvoker method=POST showBusyCursor=true useProxy=false/ and the invoker function as follows: private function setPreferences():void { MyServletInvoker.cancel(); MyServletInvoker.url = appUrl + MyServlet; var params:Object = new Object(); params.Build = strCommentBuild; params.Time = strTimeStamp; params.Owner = strCommentOwner; params.Comment = strComment; MyServletInvoker.send(params); } my web.xml has this content: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE web-app (View Source for full doctype...) - web-app - welcome-file-list welcome-fileFormsIVS.html/welcome-file /welcome-file-list - servlet servlet-nameMyServlet/servlet-name servlet-classcom.adobe.livecycle.formsivs.flex.MyServlet/servlet-class /servlet - servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/MyServlet/url-pattern /servlet-mapping /web-app The project in fails when i attempt to invoke the servlet and i get the message as: [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: http://localhost/test/WEB-INF/classes/MyServlet;]. URL: http://localhost/test/WEB-INF/classes/MyServlet;] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:211] at mx.rpc::Responder/fault()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56] at mx.rpc::AsyncRequest/fault()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110] at DirectHTTPMessageResponder/errorHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:343] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/redirectEvent() I am very badly stuck with this crap and can't think of way out, PLEASE HELP ME OUT!!!
[flexcoders] Re: how do I freeze the users actions while data is loading
How about creating a little popup that shows 'Loading..' ? Then let it close by the resulthandler. --jeetee --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I have a web service that's getting data to fill comboBoxes then the real data. This takes a few seconds. I'm using the showBusyCursor on the service, but the user can actually still click buttons. Is there a way to blur the screen out during this time like when using a pop- up window? Thanks, Mark
[flexcoders] Re: Anyone know how to scroll Tree back to position after dataprovider swap ?
Thanks so much ... That did the trick. Sean. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Call validateNow and set verticalScrollPOsition after From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Wednesday, November 14, 2007 6:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Anyone know how to scroll Tree back to position after dataprovider swap ? Hello all, I have a Tree which I need to swap the data provider on. However when I do, the tree scrolls back to the top and I am trying to hide the refresh from the end user. Anyone has an idea ? As always, Thanks for the support, Sean.
[flexcoders] Re: Loading *existing* modules into a ModuleLoader
So are you saying to just store the references to the module loaders instead of the module being loaded? If so, I think that may work. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I'm not sure what your goal is. Why not just switch between several ModuleLoaders? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tdf0wler Sent: Tuesday, November 13, 2007 2:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading *existing* modules into a ModuleLoader Is there any way to achieve what I'm trying to do? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: ModuleLoader.child is not watched for changes. It wasn't anticipated that you'd try to switch out children. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of tdf0wler Sent: Tuesday, November 13, 2007 2:00 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Loading *existing* modules into a ModuleLoader I have a fringe use case here, and I think it may be a simple fix but I'm a little stumped. I have a shell Flex application loading modules via ModuleLoader. When a module is instantiated I also add a reference to it in a ViewLocator class (singleton) containing a hash map. For instance, when Module1 is loaded, the constructor for Module1's code-behind class (Module1Base) references the ViewLocator, like so: class Module1Base { public function Module1Base() { // some code ViewLocator.getInstance().addView(this); } . . . } There is a case where I am loading additional modules into the same ModuleLoader that Module1 occupies. For instance, I want to load Module2 into said ModuleLoader. Subsequently, I will want to load Module1 back into the aforementioned ModuleLoader. I am having difficulty figuring this part out. I am attempting to set the ModuleLoader's child property to the existing reference in the ViewLocator, like so: // after Module1 was loaded, then another module (e.g. Module2) // then back to Module1 m = moduleLoaderInMainApp; m.child = ViewLocator.getInstance().getView(getQualifiedClassName(Module1)); Does anyone have any idea if this can be done, or how to do it? Thanks, Thomas
[flexcoders] Flex Builder 3 Beta 2 and ColdFusion
I'm pretty familiar with ColdFusion, but still very new to Flex. I'm having issues getting started with Flex Builder when trying to build a Flex/CF project. As I create a project in Flex Builder 3 Beta 2 I select ColdFusion as the Application server type, leave 'Use remote object access service' checked, and select 'ColdFusion Flash Remoting'. On the next screen I enter the path for the ColdFusion root folder (/Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war) and Web root. Upon hitting the Validate Configuration button I get an error message that reads, Invalid root. A config file must exist in WEB-INF/flex. I'm assuming this is talking about the services-config.xml, which is in the said location. Any ideas as to why Flex Builder can't find the config file? Also, any general tips on getting Flex and CF to talk to each other would be helpful. Thanks. Scott
Re: [flexcoders] [Bindable] and dispatchEvent
Another sideeffect is this: If your class extends a class with bindable properties and it tries to implement IEventDispatcher it has to use override allthough you can't see the eventDispatcher methods. Our solution was to let the baseclass extend EventDispatcher. Cheers Ralf (Only two more days before going home :)) On Nov 15, 2007 5:10 PM, Peter Hall [EMAIL PROTECTED] wrote: [Bindable] actually makes a number of changes to your code. If your class doesn't already implement IEventDispatcher, then it adds that with methods to implement the interface which delegate to an instance of EventDispatcher. For every bindable property, where you don't specify the change event, it will add dispatchEvent() calls inside setters. And, if it's just a var, it will convert it to a get/set pair, with the dispatchEvent inserted. Another side effect is that the following is also legal: interface IA { function get b():Boolean; function set b(bool:Boolean):void; } class A implements IA { [Bindable] public var b:Boolean; // [Bindable] converts this to a get/set pair } But, it is not legal without the metadata. Peter On Nov 15, 2007 5:58 AM, Stephen Allison [EMAIL PROTECTED] wrote: Hello, What is going on that makes this legal code: [Bindbale] class MyClass { function something() { dispatchEvent(new Event('someevent')); } } What is curious is that I can call dispatchEvent since the class doesn't define such a method, nor does it extend EventDispatcher. Remove the [Bindable] tag and the above will not compile. So, the [Bindable] tag seems to be causing the class to implicitly implement IEventDispatcher somehow. This is not normally a problem, but if you need to refer to this class in a Flash component kit component then Flash will complain as it doesn't know that anything with a [Bindable] tag can dispatch events. So, what exactly is going on behind the scenes? From my exploration of the AS generated by mxmlc I thought that the compiler would not do anything to classes such as the one above, and instead set up a series of changewatchers to implement bindings to objects of this class, this being the case then I would not expect classes that don't explicitely extend EventDispatcher or implement IEventDispatcher to be capable of being treated as if they do. I appreciate that [Bindable] classes, and those with [Bindable] properties need to be able to dispatch events, but am curious about the exact means by which this is achieved. Any insight much appreciated! Stephen -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany Phone +49 (0) 221 530 15 35
Re: [flexcoders] Re: External StyleSheet In Application
On Thursday 15 Nov 2007, flexawesome wrote: humm...it loads compiled swf file rather than CSS file(directlly)... that means I have to recompiled the CSS once I made some changes everytime. Yes. And ? It's only in development you'll be changing them frequently, and you can use a mockup that uses mx:Style to bring in the CSS for that to stop the process being too slow. There used to be a project that would essentially take a CSS file and call setStyle() for each thing in it, but that's going to be much slower, as a guess. -- Tom Chiverton Helping to advantageously drive edge-of-your-seat e-commerce on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how do I freeze the users actions while data is loading
A couple things to look at include: 1) using a modal popup with a progress bar in it. Just popup it up when the server call is made, destroy it when complete. 2) Application.enabled = false DK On Nov 15, 2007 7:38 AM, Mark [EMAIL PROTECTED] wrote: I have a web service that's getting data to fill comboBoxes then the real data. This takes a few seconds. I'm using the showBusyCursor on the service, but the user can actually still click buttons. Is there a way to blur the screen out during this time like when using a pop- up window? Thanks, Mark -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
[flexcoders] Express Install question
I'm building an app for a company intranet site and the boss doesn't want the user to go outside to get the plug-in if needed. I can't seem to find how to to modify the wrapper to do this. It's the only thing I need changed on it. Can someone point me to where that can be found, I just can't find it in the Help. Thanks, Mark
RE: [flexcoders] Re: How to access the List from it's ItemRenderer
Selection is cleared when moving in the same list From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Thursday, November 15, 2007 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to access the List from it's ItemRenderer Just realized that losing selection after a drag drop operation is actually the correct list behavior and is not linked to custom renderers... If I remove the custom renderers and repeat the same operation I will also lose any prior selection made after the drag drop. Can someone else confirm this ? Just do the following : - create a list - allow : multi sel,dragdrop -Execute your program - Select an item - Perform a dragdrop Result = your selection should disappear after the drop Is this behavior intended by Adobe Flex, and why ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: If you ask too soon, you will not know when it changed. You should ask in updateDisplayList From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of icepaco33 Sent: Wednesday, November 14, 2007 7:51 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: How to access the List from it's ItemRenderer isItemSelected(...) always returns false because the list of ListBase(owner) doesn't have any selections : selectedItems.length = 0 selectedIndex = -1 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Adnan Doric astronaute@ wrote: icepaco33 wrote: Greetings, I am trying to have access to the List which renderers the item from an item renderer. What I want basically is to be able to determine if an item is 'selected' from an item renderer. So I have overriden the set data prop in order to do this: override public function set data(value:Object):void { super.data = value; //Here I'd like to access the list to do : if (list.isItemSelected(value) ) currentState = Selected; else currentState = ; } thanx ! Hello, Try ListBase(owner).isItemSelected(data) Cheers, Adnan
RE: [flexcoders] TabNavigator no child selected
You could try changing skins/styles on the inactive one. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rleuthold Sent: Thursday, November 15, 2007 12:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator no child selected Hi, Is it possible to set a TabNavigator to have no child selected with Action Script. I need it, cause there are two tabNavigators in my App and I want to have the selected skin (red border) only active in one of the TabNavigators. Thank's _rico
Re: [flexcoders] Smooth Scrolling Effect with Viewstack
On Thursday 15 Nov 2007, Ben Marchbanks wrote: I would prefer a more fluid transition where both children are technically visible (adjoining) during the change. Accordian ? -- Tom Chiverton Helping to challengingly seize advanced patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Filtering Flex Messages using Selector
Hi, I am trying to filter messages flex consumer is receiving from a JMS topic. In the header of the message I am specifying a client's id. While subscribing to the topic I specify mx:Consumer id=consumer destination=alert message=messageHandler (event) selector=client =1/ this runs fine. But now I want to filter on a list of clients. I want to receive messages for clients 1,2 and 3. Documentation says that selector accepts SQL92 conditions so I specified selector=client in (1,2,3) but this doesn't work. Any idea how I can filter for a list of clients? Regards, Amit
RE: [flexcoders] Re: Memory Allocation Error - Garbage Collection Hack
Not guaranteed in all players so don't use From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR Sent: Thursday, November 15, 2007 4:08 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Memory Allocation Error - Garbage Collection Hack In my code hinting (Flex builder 3 beta) I see a System.gc() method. Im not sure if this method works in all players because it is undocumented. Who knows. Greetz Erik On 9/6/07, marcel.panse [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Nobody want to give it a shot?
RE: [flexcoders] Using checkbox with default spacebar toggle?
Subclass and override keyDownHandler From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Thursday, November 15, 2007 8:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using checkbox with default spacebar toggle? I have a dataGrid which uses keyDown to fire a keyboard checking routine. This allows the user to navigate the grid via the up/down cursor keys to change the editedItemPosition. One of the grid columns contains a checkbox which can be toggled via the spacebar, and is the default Flex action. However, sometimes this does not work correctly and the checkbox, although toggled, is actually grey in colour. I guess this is selected, but not enabled for some season, and have yet to investigate this. Also, sometimes the toggle action does not work and it takes a couple of spacebar presses to get the checkbox to toggle. I've no idea why this is. Can Flex's automatic spacebar toggle action be disabled for this grid so that I can capture the spacebar keyboard event manually and toggle it via my own function?
Re: [flexcoders] how do I freeze the users actions while data is loading
On Thursday 15 Nov 2007, Mark wrote: to blur the screen out during this time like when using a pop- up window? Why not pop up a model please wait box ? -- Tom Chiverton Helping to widespreadedly orchestrate unique supply-chains on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Sorting a list and then allowing drag drop
Setting sort must always be followed by refresh(), so what you tried wont work. I think you have to create a new arraycoll from the sorted one via toArray From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Thursday, November 15, 2007 8:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sorting a list and then allowing drag drop Greetings all, I have a list that allows drag n' drop operations. However I also want to implement a 'reset' operation where the list will rearrange all the items in the correct order. So the obvious way is to do : List.ListDataProvider.sort = _mySort; List.ListDataProvider.refresh() List.ListDataProvider.sort = null; Assuming ListDataProvider represents the list's data provider and _mySort is a Sort type that rearrange all my items in the correct order However once I perform this operation, I find that the next time I will do a drag drop then the item that I will drag will stay in place (but will not be selectable) and the drag will perform, meaning there will be 2 copies of the same item in my list... Any ideas ?
RE: [flexcoders] Flex Remoting Options - Any Opinions?
Why not? Is it 'cause your app runs from the file system within flexbuilder and the web host in production/test? If that's the case then move to Flex Builder 3 and set up your project with the right server-side bindings, then when you run/debug from FlexBuilder it will invoke it through the web server. Makes development mimic production better. HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mattmadhavan Sent: Thursday, November 15, 2007 1:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Remoting Options - Any Opinions? Hello, I am just starting to use graniteDS and starting to likie it. My -ONLY- problem was that, I cannot make it work from within my flexbuilder environment. I want to be able to debug my flexbuilder application talking to my Java side. Can someone please give me steps doing this - I would greatly appreciate it. Thanks Matt
[flexcoders] Service config
Like ReviewTube before it, the Faces example from the Allurent guys has some useful techniques. I like their approach to ServiceLocator (note: services in this case are really more analogous to delegates for you Cairngorm folk): Usage looks like this: DocumentService(context.services.findService(DocumentService)).search(_term, responder); and config like this (my variation): serviceutil:ServiceLocator id=services serviceutil:services service:DocumentService host={config.hostName} searchAction=/search.action /service:DocumentService /serviceutil:services /serviceutil:ServiceLocator The ServiceLocator class has an array property called services and implements find by class. Now. The DocumentService class could have multiple methods, each of which requires a different HTTPService. I could set a property for each action (like searchAction above), and then instantiate the HTTPService in the service methods, using host + action as the URL. However, I thought it might be nice to embed the HTTPService configuration within the DocumentService declaration above. The following results in a parse error: serviceutil:ServiceLocator id=services serviceutil:services service:DocumentService host={config.hostName} mx:HTTPService id=searchAction ... /mx:HTTPService /service:DocumentService /serviceutil:services /serviceutil:ServiceLocator Thoughts on this approach and what I'm missing? Thanks.
[flexcoders] (unknown)
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
[flexcoders] Cross Scripting a Flex Application/Module using SWFLoader/ModuleLoader
I would like to be able to load a Flex Application/Module dynamically into a parent Flex application using either the SWFLoader or ModuleLoader classes and access the properties and methods of the loaded application. I have tried using both and have loaded applications successfully, but I am unable to figure out how to access the data in the loaded application/module. The content of the loaders is always a SystemManager. I would like to see an example of an Application being loaded dynamically and how the shell can communicate with the module and the module can communicate with the shell. Here is an example of what I'm trying to do: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=init() mx:Script ![CDATA[ import mx.events.ModuleEvent; private function onLoaded(event:ModuleEvent):void { var loader:LoaderInfo = ModuleLoader(event.target).loaderInfo; loader.content.name = John Smith; } ]] /mx:Script !-- Where Test.swf contains a Module in this case -- mx:ModuleLoader url=Test.swf ready=onLoaded(event) / /mx:Application Can anyone elaborate on why one would use a ModuleLoader/SWFLoader/etc. over Loader?
Re: [flexcoders] Canvas layout / style
Thanks for the suggestion, I did do it with a mask in the end. On Nov 14, 2007 5:16 PM, Jon Bradley [EMAIL PROTECTED] wrote: On Nov 14, 2007, at 10:51 AM, Giles Roadnight wrote: The obvious way to do it is to have an image as a background with rounded corners and shadows as part of the image, I'd rather do it with styles if I could though. Might not be exactly what you are looking for, but could you just use a rounded corner mask? Shadows and whatnot will apply to the container canvas no problem with the masking. good luck, jon -- Giles Roadnight http://giles.roadnight.name
RE: [flexcoders] Flex Remoting Options - Any Opinions?
Sam, Do you mind sending me the step by step instructions? I just cannot make it work. I have two project - 1. Java web project for the java server side (Say MyWebApp). 2. A flex project with its output (bin) externalized to MyWebApp/webroot(in the same level as WEB-INF). And I cannot make my Flex talk to my server. If I deploy the app like the way I downloaded it works fine! But I donot get the benefits of using my Flexbuilder! Any help will be appreciated. Thanks Matt Samuel R. Neff wrote: Why not? Is it 'cause your app runs from the file system within flexbuilder and the web host in production/test? If that's the case then move to Flex Builder 3 and set up your project with the right server-side bindings, then when you run/debug from FlexBuilder it will invoke it through the web server. Makes development mimic production better. HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mattmadhavan Sent: Thursday, November 15, 2007 1:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex Remoting Options - Any Opinions? Hello, I am just starting to use graniteDS and starting to likie it. My -ONLY- problem was that, I cannot make it work from within my flexbuilder environment. I want to be able to debug my flexbuilder application talking to my Java side. Can someone please give me steps doing this - I would greatly appreciate it. Thanks Matt -- View this message in context: http://www.nabble.com/Flex-Remoting-Options---Any-Opinions--tf4635386.html#a13780055 Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?
Is there anyway to judge what level of user connections a given server can handle without requiring specialized loadsharing strategies? In a non-audio or video environment what's it take to stream an AS3 based swfs to 3-5 dozen connections? On 10/16/07, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I would try to see if you can scale application in any other way - 4 core single CPU and removal all business functionality to different servers is always an option. You might get even better scalablity by going RTMP route or provide pseudo-connectivity wrapper using non-blocking IO via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. Regards, Anatole On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] wrote: Yeah, I'm using HTTPService right now with E4X results. The for large data results, however, XML is not desirable. I'd prefer to use some framework that uses AMF3 in order to get more compact results. Bruce On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] wrote: You can also just use HTTPService to do direct HTTP requests. I am using this for communications with a JAVA backend. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Bruce Hopkins [EMAIL PROTECTED] wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce
Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?
That part is not AMF specific - and Apache or Tomcat will have no issues of doing it - that is purely bandwidth issue. As far as AMF/RTMP streaming main issue is robustness. It is very easy to get any of the products to run on the reliable network. We do use OpenAMF and proprietary performance extensions on low cost/ non-critical projects. For high-end applications we extend LCDS stack to fix underlying TCP/IP problems( financial clients, real-time messaging). We do not advertise low end product as it potentially might have reliability problems. Indeed, in order to provide even basic recoverability and batching on the top of openAmf we had to write tons of code. Only with significant investment and know how you can get comparable performance and reliability Unless Adobe releases both ends of the protocol in the open source you would have inherient reliability issues. While we acquired significan know how in the last 2 years, using native AMF and RTMP classes is a risky business as Adobe constantly changes framework and pieces of protocol. The main effort of the testing should be around protocol performance and reliability ( like pulling the network wire).and it can be a while till AMF/RTMP will become standard - most likely only after release of the client/server code in open source. Sincerely, Anatole Tartakovsky On 11/15/07, Steve Hueners [EMAIL PROTECTED] wrote: Is there anyway to judge what level of user connections a given server can handle without requiring specialized loadsharing strategies? In a non-audio or video environment what's it take to stream an AS3 based swfs to 3-5 dozen connections? On 10/16/07, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I would try to see if you can scale application in any other way - 4 core single CPU and removal all business functionality to different servers is always an option. You might get even better scalablity by going RTMP route or provide pseudo-connectivity wrapper using non-blocking IO via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. Regards, Anatole On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] wrote: Yeah, I'm using HTTPService right now with E4X results. The for large data results, however, XML is not desirable. I'd prefer to use some framework that uses AMF3 in order to get more compact results. Bruce On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] wrote: You can also just use HTTPService to do direct HTTP requests. I am using this for communications with a JAVA backend. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Bruce Hopkins [EMAIL PROTECTED] wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce
[flexcoders] AdvancedDataGrid Specialized Cell Movement
I have created an AdvancedDataGrid in Adobe 3. I am catching the event in keyHandler() and use event.keyCode to find out which key was pressed. When I press tab, it moves to the next field. When I hit the enter key, I want it to move to SKIP the next tab field and move TWO tab fields forward. I can't seem to get the focus to that field two tab fields. Does anybody have any suggestions on how to accomplish this? Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
Re: [flexcoders] Flex Remoting Options - Any Opinions?
Hello, I am just starting to use graniteDS and starting to likie it. My -ONLY- problem was that, I cannot make it work from within my flexbuilder environment. I want to be able to debug my flexbuilder application talking to my Java side. Can someone please give me steps doing this - I would greatly appreciate it. Thanks Matt bruce76 wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce -- View this message in context: http://www.nabble.com/Flex-Remoting-Options---Any-Opinions--tf4635386.html#a13778916 Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Disable borderskin?
Is there an option to disable the borderskin on a component?
[flexcoders] Re: Sorting a list and then allowing drag drop
Hello, Just to let you know: The solution is to first make a copy of the Data Provider : (Assuming Data Provider is an ArrayCollection) private var originalList:Array; originalList = List.dataProvider.toData().sclice(); Now you can make all the drag drop ops you want... Afterward you just recreate your list once you want to 'reset' List.dataProvider = new ArrayCollection(originalList.slice() ); (Using slice ensure a softcopy and protects the original data) --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Setting sort must always be followed by refresh(), so what you tried wont work. I think you have to create a new arraycoll from the sorted one via toArray From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Thursday, November 15, 2007 8:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sorting a list and then allowing drag drop Greetings all, I have a list that allows drag n' drop operations. However I also want to implement a 'reset' operation where the list will rearrange all the items in the correct order. So the obvious way is to do : List.ListDataProvider.sort = _mySort; List.ListDataProvider.refresh() List.ListDataProvider.sort = null; Assuming ListDataProvider represents the list's data provider and _mySort is a Sort type that rearrange all my items in the correct order However once I perform this operation, I find that the next time I will do a drag drop then the item that I will drag will stay in place (but will not be selectable) and the drag will perform, meaning there will be 2 copies of the same item in my list... Any ideas ?
[flexcoders] Internal build errors
Hi I've suddenly been getting An internal build error has occurred please check the error log , has anyone got any refereces as to why these errors happen? also I've never used an error log so could someone please tell how to set it up and refer to it. Thanks again Duncan - Original Message From: Steve Hueners [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, 15 November, 2007 7:55:40 PM Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions? Is there anyway to judge what level of user connections a given server can handle without requiring specialized loadsharing strategies? In a non-audio or video environment what's it take to stream an AS3 based swfs to 3-5 dozen connections? On 10/16/07, Anatole Tartakovsky anatole.tartakovsky @gmail.com wrote: I would try to see if you can scale application in any other way - 4 core single CPU and removal all business functionality to different servers is always an option. You might get even better scalablity by going RTMP route or provide pseudo-connectivity wrapper using non-blocking IO via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. Regards, Anatole On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com wrote: Yeah, I'm using HTTPService right now with E4X results. The for large data results, however, XML is not desirable. I'd prefer to use some framework that uses AMF3 in order to get more compact results. Bruce On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] com wrote: You can also just use HTTPService to do direct HTTP requests. I am using this for communications with a JAVA backend. --- In [EMAIL PROTECTED] ups.com, Bruce Hopkins [EMAIL PROTECTED] wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/
Re: [flexcoders] Internal build errors
usually it either means u have an empty switch statament or some invalid character on the side/ not acutally code ex: a comma/period might be somewhere in the whitespace around the code - Original Message From: duncan mcmillan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 15, 2007 3:47:13 PM Subject: [flexcoders] Internal build errors Hi I've suddenly been getting An internal build error has occurred please check the error log , has anyone got any refereces as to why these errors happen? also I've never used an error log so could someone please tell how to set it up and refer to it. Thanks again Duncan - Original Message From: Steve Hueners [EMAIL PROTECTED] ex.com To: [EMAIL PROTECTED] ups.com Sent: Thursday, 15 November, 2007 7:55:40 PM Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions? Is there anyway to judge what level of user connections a given server can handle without requiring specialized loadsharing strategies? In a non-audio or video environment what's it take to stream an AS3 based swfs to 3-5 dozen connections? On 10/16/07, Anatole Tartakovsky anatole.tartakovsky @gmail.com wrote: I would try to see if you can scale application in any other way - 4 core single CPU and removal all business functionality to different servers is always an option. You might get even better scalablity by going RTMP route or provide pseudo-connectivity wrapper using non-blocking IO via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. Regards, Anatole On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com wrote: Yeah, I'm using HTTPService right now with E4X results. The for large data results, however, XML is not desirable. I'd prefer to use some framework that uses AMF3 in order to get more compact results. Bruce On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] com wrote: You can also just use HTTPService to do direct HTTP requests. I am using this for communications with a JAVA backend. --- In [EMAIL PROTECTED] ups.com, Bruce Hopkins [EMAIL PROTECTED] wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce For ideas on reducing your carbon footprint visit Yahoo! For Good this month. !-- #ygrp-mkp{ border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;} #ygrp-mkp hr{ border:1px solid #d8d8d8;} #ygrp-mkp #hd{ color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;} #ygrp-mkp #ads{ margin-bottom:10px;} #ygrp-mkp .ad{ padding:0 0;} #ygrp-mkp .ad a{ color:#ff;text-decoration:none;} -- !-- #ygrp-sponsor #ygrp-lc{ font-family:Arial;} #ygrp-sponsor #ygrp-lc #hd{ margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;} #ygrp-sponsor #ygrp-lc .ad{ margin-bottom:10px;padding:0 0;} -- !-- #ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0;} #ygrp-tpmsgs{ font-family:Arial; clear:both;} #ygrp-vitnav{ padding-top:10px;font-family:Verdana;font-size:77%;margin:0;} #ygrp-vitnav a{ padding:0 1px;} #ygrp-actbar{ clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;} #ygrp-actbar .left{ float:left;white-space:nowrap;} .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana;font-size:77%;padding:15px 0;} #ygrp-ft{ font-family:verdana;font-size:77%;border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px;} #ygrp-vital{ background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;} #ygrp-vital #vithd{ font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;} #ygrp-vital ul{ padding:0;margin:2px 0;} #ygrp-vital ul li{ list-style-type:none;clear:both;border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;} #ygrp-vital ul li .cat{ font-weight:bold;} #ygrp-vital a{ text-decoration:none;} #ygrp-vital a:hover{ text-decoration:underline;} #ygrp-sponsor #hd{ color:#999;font-size:77%;} #ygrp-sponsor #ov{ padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;} #ygrp-sponsor #ov ul{ padding:0 0 0 8px;margin:0;} #ygrp-sponsor #ov li{ list-style-type:square;padding:6px 0;font-size:77%;} #ygrp-sponsor #ov li a{
Re: [flexcoders] measure() bug in mx:Tile
Seems wrong. File a bug so we can investigate further. Done. Troy.
[flexcoders] Error 1009 When Calling a WebService
I am having a problem getting data from the National Weather Service's National Digital Forecast Database XML Web Service... http://www.weather.gov/xml/ http://www.weather.gov/xml/ . I',m using Flex Builder 2.0.1. The service provides 9 functions for accessing the NWS' vast database of weather forecasts and statistics. I am able to use the simplest one, latLonByZipCode with no trouble... I pass it a valid US zipcode, it returns a string containing the corresponding latitude and longitude. I pass it a bad zipcode, it returns a nice, informative error message. When I try one of the other functions (NDFDgenByDay), I keep getting the following: TypeError: Error #1009: Cannot access a property or method of a null object reference, triggered by the webservice call. The errorID i s 0, the fault code is Encoding Error, and the message is null. The only difference I can see between these 2 function calls is the list of input parameters -- latLonByZipCode (the one that's working) takes a single string argument; NDFDgenByDay takes a mix of decimal, date, integer, and string arguments. Could an ill-formed argument list cause this error? (and if so, what do I need to do to fix it). Any help would be greatly appreciated!
[flexcoders] Drag and Drop within DataGrid
Hello, I have been trying to solve a drag and drop problem with the datagrid but haven't been able to figure out a solution. I have a datagrid which lets the user reorder the items within the grid. It is all fine as long as the user rearranges the items within the viewable area of the grid. But if the grid has a vertical scrollbar and the user wants to drop an item at a position which is beyond the visible area, the items do not scroll up. Is there a way I can force the grid to scroll up so the user can find the proper place to drop the item? I would greatly appreciate any help. thanks. - venkat
[flexcoders] Re: Image with rounded corners
Check out my post here on the Flex Cookbook: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailspostid=6502loc=en_USproductid=2 You could probably extend any component and use a mask to round the corners. Brian --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: That link had a blue ball. Is that what you mean? Or do you want a container with rounded corners? If so, see cornerRadius From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brice.gervais Sent: Friday, October 05, 2007 12:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image with rounded corners I try to display a image with a corner radius like here : http://gallery.mac.com/emily_parker http://gallery.mac.com/emily_parker Maybe to apply a mask ?? But i don't know do this Thanks Brice --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: what did you try? What does the image look like? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of brice.gervais Sent: Thursday, October 04, 2007 1:47 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Image with rounded corners Hello, I want display a image with rounded corners ?? Thanks for your help Brice
[flexcoders] Re: AMFPHP 1.9 security problem
I think this is huge problem, anyone had any idea to fix this or best way to don't let bad users access the methods? --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Understand, i thinking create session in PHP and when flex comunicate to php send the session to check if this session really exist em PHP but i thinking those ways are little strange, i think this problem should be handle in amfphp and not in my code... In amfphp 1.2 we had way to create password for access methods, it's not possible to make in 1.9? --- In flexcoders@yahoogroups.com, Adnan Doric astronaute@ wrote: danielvlopes wrote: Hello, i'm using amfphp 1.9 beta2 to make comunication between php and flex, but i had some question about security when use amfphp... If someone discover the name of my methods in my classes inside services amfphp folder and point your flex app to my gateway using absolut path the invader can use my methods. Exist some way to use password to use gateway or don't accept absolute paths or better way to fix this problem??? Thanks. Hello, You can use MD5 or SHA1 from corelib for example to generate a unique key to be recognized on PHP side. You should use PHP sessions too so you can store session id in database and pass session id to flex using flashvars (just an example). cheers, Adnan
RE: [flexcoders] Re: Combobox ItemRenderer is now working as expected
I think you want: visible={XML(data)[EMAIL PROTECTED] != 'false'} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of srikanth_reddy_007 Sent: Thursday, November 15, 2007 4:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Combobox ItemRenderer is now working as expected Tried Boolean(XML(data)[EMAIL PROTECTED]) Tried Boolean([EMAIL PROTECTED]) but no luck !!! Can some body please try by running the code? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Douglas Knudsen [EMAIL PROTECTED] wrote: hmm, isn't [EMAIL PROTECTED] a String, eh? Try casting it to a Boolean. DK On Nov 14, 2007 11:45 PM, srikanth_reddy_007 [EMAIL PROTECTED] wrote: Tried XML(data)[EMAIL PROTECTED] but no luck !!! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: Are you getting binding warnings? Try XML(data)[EMAIL PROTECTED] From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of srikanth_reddy_007 Sent: Wednesday, November 14, 2007 8:08 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Combobox ItemRenderer is now working as expected Can some one rectify my problem -- I have a ItemRenderer for combobox FilterListRenderer.mxml ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml width=100% height=20 paddingLeft=0 paddingRight=0 paddingTop=0 paddingBottom=0 initialize=init() enabled={data.enabled} mx:Script ![CDATA[ import mx.controls.Alert; [Bindable] [Embed(source=assets/bulletCheck.png)] public var BulletCheck:Class; [Bindable] [Embed(source=assets/bulletWarning.png)] public var BulletWarning:Class; public function init():void { } ]] /mx:Script mx:Label text={data.Name} width=190 height=20 truncateToFit=true/ mx:Button width=20 height=20 right=22 bottom=0 top=0 upIcon={BulletCheck} overIcon={BulletCheck} downIcon={BulletCheck} disabledIcon={BulletCheck} visible=[EMAIL PROTECTED] click=Alert.show([EMAIL PROTECTED])/ mx:Button width=20 height=20 right=0 bottom=0 top=0 upIcon={BulletWarning} overIcon={BulletWarning} downIcon={BulletWarning} disabledIcon={BulletWarning} visible=[EMAIL PROTECTED] click=Alert.show([EMAIL PROTECTED])/ /mx:Canvas with the above code and i call this in my main application as ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute mx:XML format=e4x id=filterData Filters Filter id=1001 NameDefault/Name Category0/Category /Filter Filter id=1002 NameNetwork Filter/Name Category0/Category /Filter Filter id=1003 NameHardware Filter/Name Category0/Category /Filter Filter id=1004 NameSoftware Filter/Name Category1/Category /Filter Filter id=1005 showEdit=false showDelete=false NameAdvanced Filter/Name Category2/Category /Filter Filter id=1006 showEdit=true showDelete=true NameMy Saved Filter/Name Category3/Category /Filter Filter id=1007 showEdit=true showDelete=true NameMy Saved Filter 1/Name Category4/Category /Filter /Filters /mx:XML mx:ComboBox id=cmbFilter itemRenderer=FilterListRenderer width=250 cornerRadius=0 rowCount=10 dataProvider={filterData.Filter} labelField=Name x=38 y=47 /mx:ComboBox /mx:Application what i expect is a combo box with the Item renderer displaying two buttons besides the label when i say showEdit=true showDelete=true in the data and doen't show these buttons if i dont give anything or if i give showEdit=false showDelete=false. But what ever i give or doent give that, it shows the buttons in the item renderer. and when i click on the button it returns me the correct value? can some body help me out in solving this problem and why its not working as i expect. -- Douglas Knudsen http://www.cubicleman.com http://www.cubicleman.com this is my signature, like it?
RE: [flexcoders] Retrieving file path from mx:Image?
Source is typed as Object, but if you give it a string you can read back that string. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carl_steinhilber Sent: Thursday, November 15, 2007 3:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Retrieving file path from mx:Image? Hello all. Is there a way to retrieve the path of the source file for an mx:Image component? I'm setting the source as a URL, but any attempts to retrieve the current source results in an Object (as expected, I think). But I need to retrieve the URL/filepath, if possible. Anyone have any pointers? Thanks in advance! -Carl
[flexcoders] Re: Internal build errors
I got this one recently when I tried to link in a SWC into my project... turns out the SWC had been compiled in Flex 3, my project was in Flex 2. --- In flexcoders@yahoogroups.com, duncan mcmillan [EMAIL PROTECTED] wrote: Hi I've suddenly been getting An internal build error has occurred please check the error log , has anyone got any refereces as to why these errors happen? also I've never used an error log so could someone please tell how to set it up and refer to it. Thanks again Duncan - Original Message From: Steve Hueners [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, 15 November, 2007 7:55:40 PM Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions? Is there anyway to judge what level of user connections a given server can handle without requiring specialized loadsharing strategies? In a non-audio or video environment what's it take to stream an AS3 based swfs to 3-5 dozen connections? On 10/16/07, Anatole Tartakovsky anatole.tartakovsky @gmail.com wrote: I would try to see if you can scale application in any other way - 4 core single CPU and removal all business functionality to different servers is always an option. You might get even better scalablity by going RTMP route or provide pseudo-connectivity wrapper using non-blocking IO via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. Regards, Anatole On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com wrote: Yeah, I'm using HTTPService right now with E4X results. The for large data results, however, XML is not desirable. I'd prefer to use some framework that uses AMF3 in order to get more compact results. Bruce On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] com wrote: You can also just use HTTPService to do direct HTTP requests. I am using this for communications with a JAVA backend. --- In [EMAIL PROTECTED] ups.com, Bruce Hopkins bhopkins@ wrote: Hi all, All I want to do is have my Flex client to communicate with my Java backend. Due to licensing restrictions, LCDS won't be an option for us. So far the biggest contenders are: 1. Granite Data Services 2. OpenAMF 3. WebORB 4. Red5 Does anyone have any strong opinions, suggestions, or biases on either of these solutions? Thanks, Bruce ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/
[flexcoders] Re: Retrieving file path from mx:Image?
Sorry, of course you're correct Alex. I had my Image on the second child of a TabNavigator and forgot to set the creation policy to all... so the Image wasn't getting created if I never actually hit that second tab. The debug message made it sound like the source property was null, when, in fact, it was the image component itself. DOH! Thanks for your help, as always. -Carl --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Source is typed as Object, but if you give it a string you can read back that string. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carl_steinhilber Sent: Thursday, November 15, 2007 3:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Retrieving file path from mx:Image? Hello all. Is there a way to retrieve the path of the source file for an mx:Image component? I'm setting the source as a URL, but any attempts to retrieve the current source results in an Object (as expected, I think). But I need to retrieve the URL/filepath, if possible. Anyone have any pointers? Thanks in advance! -Carl
RE: [flexcoders] Disable borderskin?
Make it appear disabled or make it not appear at all (borderstyle=none) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of davidch204 Sent: Thursday, November 15, 2007 1:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Disable borderskin? Is there an option to disable the borderskin on a component?
[flexcoders] silly question, color of selected linkbar item
i've got a linkbar and i want to change the color of the selected item in the linkbar, right now the text shows black- and maybe my eyes are buggin out but i don't see any css attributes that alter that color. i can even change the color of the text 'as' it's being clicked (textSelectedColor), but that is only for when the mouse button is down, then it goes to black again. what am i missing?
Re: [flexcoders] silly question, color of selected linkbar item
Hey Derrick, disabledColor will do the trick for you... Brendan On Nov 15, 2007 8:13 PM, Derrick Anderson [EMAIL PROTECTED] wrote: i've got a linkbar and i want to change the color of the selected item in the linkbar, right now the text shows black- and maybe my eyes are buggin out but i don't see any css attributes that alter that color. i can even change the color of the text 'as' it's being clicked (textSelectedColor), but that is only for when the mouse button is down, then it goes to black again. what am i missing? -- Brendan Meutzner http://www.meutzner.com/blog/
[flexcoders] cf query and cAsE in flex 2.01
got a VO that's built up from simple data fields and bunch of cfqueries (mapped as ArrayCollections not arrays of objects). it's backed w/sql server 2000. in the flex front end i refer to the individual cfquery columns using the original sql server column case (eRay, oRay, etc.). works fine. i tried swapping the backend from sql server to cf8's built-in derby db (don't ask) all of the cfquery bits of the VO stopped working. nothing got changed on the flex front end, just the CFCs on the backend. poking around (and torturing a cf support guy for a day or so) it looks like the flex front end all of sudden got case sensitive (referring to ERAY,ORAY, etc. worked). i would have thought that flex would be case sensitive to cfqueries all the time. has anyone else seen this? can anybody see why case sensitivity changes depending on the backend (or i guess cf's db driver)? thanks.
[flexcoders] Re: Error 1009 When Calling a WebService
Set the following on the line right after the mx:Application tag near the top: mx:TraceTarget / Run your application in debug mode. This will allow you to see all the network traffic going across the wire. See if you actually get a response from the NDFD web service. Hope this helps, Bob I. --- In flexcoders@yahoogroups.com, jaywood58 [EMAIL PROTECTED] wrote: I am having a problem getting data from the National Weather Service's National Digital Forecast Database XML Web Service... http://www.weather.gov/xml/ http://www.weather.gov/xml/ . I',m using Flex Builder 2.0.1. The service provides 9 functions for accessing the NWS' vast database of weather forecasts and statistics. I am able to use the simplest one, latLonByZipCode with no trouble... I pass it a valid US zipcode, it returns a string containing the corresponding latitude and longitude. I pass it a bad zipcode, it returns a nice, informative error message. When I try one of the other functions (NDFDgenByDay), I keep getting the following: TypeError: Error #1009: Cannot access a property or method of a null object reference, triggered by the webservice call. The errorID i s 0, the fault code is Encoding Error, and the message is null. The only difference I can see between these 2 function calls is the list of input parameters -- latLonByZipCode (the one that's working) takes a single string argument; NDFDgenByDay takes a mix of decimal, date, integer, and string arguments. Could an ill-formed argument list cause this error? (and if so, what do I need to do to fix it). Any help would be greatly appreciated!
[flexcoders] List renderer's malfunction because of Bitmap
Greetings everyone, I have a problem with my List item renderer : I use a bitmap class (Bitmap) which I put in my TextArea to simululate a highlighter. The TextArea is used in a List renderer. However when I add this Bitmap to the TextArea then the Renderer starts to act very weird : once I 'highlight' a given renderer I can no longer select / rollover some of the other items in the list. (However if I remove the bitmap then everything work fine) Any ideas ?
[flexcoders] Re: AMFPHP 1.9 security problem
I found this topic in sephirot forum, http://www.sephiroth.it/phpBB/showthread.php?t=7966, they said use authenticate class in beforefilter amfphp function, i try look on this class in my amfphp folder but i don't understand how use... everything i found about authenticate in amfphp is for amfphp 1.2 and i using 1.9beta 2 . Anyone can help? --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: I think this is huge problem, anyone had any idea to fix this or best way to don't let bad users access the methods? --- In flexcoders@yahoogroups.com, danielvlopes danielvlopes@ wrote: Understand, i thinking create session in PHP and when flex comunicate to php send the session to check if this session really exist em PHP but i thinking those ways are little strange, i think this problem should be handle in amfphp and not in my code... In amfphp 1.2 we had way to create password for access methods, it's not possible to make in 1.9? --- In flexcoders@yahoogroups.com, Adnan Doric astronaute@ wrote: danielvlopes wrote: Hello, i'm using amfphp 1.9 beta2 to make comunication between php and flex, but i had some question about security when use amfphp... If someone discover the name of my methods in my classes inside services amfphp folder and point your flex app to my gateway using absolut path the invader can use my methods. Exist some way to use password to use gateway or don't accept absolute paths or better way to fix this problem??? Thanks. Hello, You can use MD5 or SHA1 from corelib for example to generate a unique key to be recognized on PHP side. You should use PHP sessions too so you can store session id in database and pass session id to flex using flashvars (just an example). cheers, Adnan
[flexcoders] Swc components - and focus in flex
I have a swc component that I've added to a UIComponent. I added an FocusEvent.FocusOut on to a text field in flash, I can get a focus In - however I don't get a focusOut event dispatched until the mouse leaves the textfield, but I do when the mouse leaves the browser window. Thanks, Patrick
Re: [flexcoders] 1046: Type was not found or was not a compile-time constant: Session.
No, it doesn't use Cairngorm. Tom Chiverton-2 wrote: On Thursday 15 Nov 2007, Manu Dhanda wrote: Am having this problem while am trying to migrate my app from Flex 2 to Flex 3. Does it use Cairngorm ? If so, get the latest (2.2.1 ?) release. -- Tom Chiverton Helping to continuously synthesize 24/365 patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. 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 2500. 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 -- View this message in context: http://www.nabble.com/1046%3A-Type-was-not-found-or-was-not-a-compile-time-constant%3A-Session.-tf4809371.html#a13787486 Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Stage problems
Hello can any one help me. I'm running this sample app I've download and I'm getting this error: 1119: Access of possibly undefined property window through a reference with static type flash.display:Stage. can any one tell me what I'm doing wrong. This is the mxml code which I'm trying to compile to AIR ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute height=486 width=911 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Script ![CDATA[ [Embed(source=Image.png)] [Bindable] public var main:Class; ]] /mx:Script mx:Image mouseDown=stage.window.startMove() x=0 y=0 source={main}/ mx:Button click=stage.window.close() x=868 y=10 width=27 alpha=0.0 height=32.8/ /mx:Application
RE: [flexcoders] Swc components - and focus in flex
Look at how other components that have TextFields implement IFocusManagerComponent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djhatrick Sent: Thursday, November 15, 2007 9:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Swc components - and focus in flex I have a swc component that I've added to a UIComponent. I added an FocusEvent.FocusOut on to a text field in flash, I can get a focus In - however I don't get a focusOut event dispatched until the mouse leaves the textfield, but I do when the mouse leaves the browser window. Thanks, Patrick