[flexcoders] proxy.php
I'm connecting my Flex 3 app to a web service that doesn't have a crossdomain.xml file. I've set up a proxy (php file I got off the web) to read the WSDL from the web service and this works when I connect to the service through Flex Builder. When I upload the flex app to my server, however, the app fails with the security fault when connecting to the service. Debugging using Charles shows that the app is trying to GET crossdomain.xml from the web service. It was my understanding from the flex documentation that using a proxy would negate the crossdomain.xml requirement. Am I missing something? Also, why would it work through Builder and not from the server? TIA
[flexcoders] Re: deep linking problems
--- In flexcoders@yahoogroups.com, learningflexfromscratch [EMAIL PROTECTED] wrote: Hey all, I've run into a problem when trying to get deep linking to work in my Flex application. I'm pretty sure I'm just missing a very basic point about file structure or something, as I'm new to this. The problem is this: I've copy and pasted some example code from Adobe labs http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Deep\ _Linking into Flex Builder, and when I run the app from the IDE, everything seems to work fine. (The fragments update, and the browser navigation works). However, and this is probably where I'm making some mistake, when I perform a release build, and then upload all of the files from bin release to my server, the fragments in the URL no longer update. I've tried to follow the instructions as closely as possible. I've uploaded every file from the bin release folder to my server. Is there something I'm forgetting to change in the code, or is it possible that I'm not deploying the application correctly? Thanks in advance for your help, Newman I figured it out...I was uploading the files from the history subdirectory when I should have been leaving the folder structure in place.
[flexcoders] Flex Framework RSL
Hi, all. I'm trying to determine what the likelihood is that a client will already have the Flex Framework RSL .swz cached. I saw somewhere that some major companies use it for their applications, including Brightcove and Yahoo (Web Messenger). But that still doesn't give me any idea what percentage of people are likely to have the RSL cached, and conversely, what percentage would be required to endure the 500kb download. Thanks much. LT
Re: [flexcoders] proxy.php
Make sure that the flex app and the proxy.php to which you connect are located on the same server.The way it should work is that the flex app will connect to the proxy (same server) which will forward the request to the service on another server and return the results to the flex app. On Mon, Sep 22, 2008 at 3:30 AM, smitade [EMAIL PROTECTED] wrote: I'm connecting my Flex 3 app to a web service that doesn't have a crossdomain.xml file. I've set up a proxy (php file I got off the web) to read the WSDL from the web service and this works when I connect to the service through Flex Builder. When I upload the flex app to my server, however, the app fails with the security fault when connecting to the service. Debugging using Charles shows that the app is trying to GET crossdomain.xml from the web service. It was my understanding from the flex documentation that using a proxy would negate the crossdomain.xml requirement. Am I missing something? Also, why would it work through Builder and not from the server? TIA -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
[flexcoders] Re: search file
thanks :) But I don't know the method for implement file searching. Is there any similar example to learn? dialogtmp --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: You can do this in AIR, but browser apps are not allowed to enumerate the local file system. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dialogtmp Sent: Tuesday, September 09, 2008 11:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] search file Hello All, I want to implement a file searching function. But I don't know start it. The file searching function has two part. First, it can search all the pictures(ex: *.jpg¡B*.gif...etc)in the computer. Second, it will show a dialog let user choice what folder he want to search. Dose this idea possible implement in flex? thanks, dialogtmp
Re: [flexcoders] [Bindable] is not getting updated..
I think there's a misunderstanding of the [Bindable] Metatag here. The Metatag only states that the compiler should create a property to which we can bind another one, which means it should dispatch a property change event every time it's value changes, but it doesn't bind it to anything. [Bindable] private var xyz:String = MyModel.getInstance().someVar; This means: create a bindable property xyz and initialize it with the value of MyModel.getInstance().someVar. No binding here! mx:Label text={xyz}/ This means create a Label and bind its text property to xyz which means: everytime xyz changes, update text with its new value. mx:Label text={MyModel.getInstance().someVar}/ This means create a Label and bind its text property to MyModel.getInstance().someVar which means: everytime MyModel.getInstance().someVar changes, update text with its new value. BUT with all these commands, you didn't create any binding between xyz and MyModel.getInstance().someVar. They know nothing about each other besides the fact that xyz has been initialized with the VALUE of MyModel.getInstance().someVar during application initialization! Hope this helps! On Mon, Sep 22, 2008 at 5:26 AM, Manu Dhanda [EMAIL PROTECTED]wrote: Josh, Is it a right way to do the following: [Bindable] private var xyz:String = MyModel.getInstance().someVar; Now, if I use xyz in my code then it is not updated. Where as if i use 'MyModel.getInstance().someVar' then I am getting perfect result. For Ex: mx:Label text={xyz}/ // view not updated with changes in model. mx:Label text={MyModel.getInstance().someVar}/ //view updated everytime with changes in model. So, I didn't get the difference between two above logically. Please explain the case as above. Thanks. Josh McDonald-4 wrote: I get what you're saying, but you're coming at it from the wrong angle is all. When you have this: [Bindable] public var myvar = someFunction(); You're making it so that *other code* will be called when myvar changes. You're also giving it the initial value of someFunction(). It won't escape back into the code for someFunction() and alter it so it becomes bindable. We need to have a difference betwen X = Y and create a binding from X to Y, otherwise the entire virtual machine would slow to a crawl. If you want to create a binding from actionscript from sourceObject.someValue to myValue you do this: BindingUtils.bindProperty(this, myValue, sourceObject, someValue); Then whenever sourceObject tells the word that someValue has been updated (with events), Flex will set the myValue field on your object. -Josh On Mon, Sep 22, 2008 at 1:07 PM, Manu Dhanda [EMAIL PROTECTED] manuraj.dhanda%40gmail.comwrote: Hi Paul, if [Bindable] works just for initialization, then I think it is loosing it's existence altogether. At least I think it this way.. that [Bindable] changes with every change that it is bind to. And not just it's initialization. Waiting for expert comments.. Thanks, Manu. Paul Andrews-4 wrote: - Original Message - From: Manu Dhanda [EMAIL PROTECTED]manuraj.dhanda%40gmail.com To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Sent: Monday, September 22, 2008 3:08 AM Subject: [flexcoders] [Bindable] is not getting updated.. Hii Guyz, Although it's very strange (even for me), but this [Bindable] tag is not working for me. I am following the cairngorm structure and storing a variable in Model. Now, in one of my code file, if I 'll create a local bindable variable, that binds to model.. then it is not being updated with the changes in model. [Bindable] private var xyz:String = MyModel.getInstance().someVar; Now, if I use xyz in my code then it is not updated. Where as if i use 'MyModel.getInstance().someVar' then I am getting perfect result. Any thoughts here... Yes, some thoughts. [Bindable] private var xyz:String = MyModel.getInstance().someVar Means that xyz is bindable and is initialised with the value of MyModel.getInstance().someVar . It does not mean that xyz changes with the value of MyModel.getInstance().someVar . If you wish to have a binding in an mxml file to MyModel.getInstance().someVar then use {MyModel.getInstance().someVar }, alternatively in actionscript you'll have to specifically set up a binding for it. Paul Regards, Manu. -- View this message in context: http://www.nabble.com/-Bindable--is-not-getting-updated..-tp19600797p19600797.html Sent from the FlexCoders mailing list archive at Nabble.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location:
Re: [flexcoders] Re: search file
Adobe AIR Documentation: http://www.adobe.com/support/documentation/en/air/ Merge folder on Mac - AIR utility app: http://www.richapps.de/?p=159 On Mon, Sep 22, 2008 at 9:02 AM, dialogtmp [EMAIL PROTECTED] wrote: thanks :) But I don't know the method for implement file searching. Is there any similar example to learn? dialogtmp --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: You can do this in AIR, but browser apps are not allowed to enumerate the local file system. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of dialogtmp Sent: Tuesday, September 09, 2008 11:59 PM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] search file Hello All, I want to implement a file searching function. But I don't know start it. The file searching function has two part. First, it can search all the pictures(ex: *.jpg¡B*.gif...etc)in the computer. Second, it will show a dialog let user choice what folder he want to search. Dose this idea possible implement in flex? thanks, dialogtmp -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
Re: [flexcoders] Help with error #1119
I think you should be using ciData instead of dp in these function. It's the property that seems to hold the data returned by the service. On Sun, Sep 21, 2008 at 7:43 PM, dmschenk1 [EMAIL PROTECTED] wrote: I have a 1119 error that is giving me fits and I'm sure its probably something simple but I've been trying for days with no luck. Would someone please take a look at this code and help me figure out what I'm doing wrong here? The problem is in dp.length at line 18 of the AverageFunction and also in line 29 of the TotalFunction but being new to programing I don't really understand how to interpolate the error. - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:scripts=scripts.* initialize=dp.send() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; [Bindable] private var ciData:ArrayCollection = new ArrayCollection(); private function ciResult(event:ResultEvent):void{ ciData = event.result.Credit.Creditor; } public function AverageFunction(col:DataGridColumn):String { var n:int = dp.length; var avg:Number = 0; for (var i:int = 0; i n; i++) { avg += dp[i][col.dataField]; } avg /= n; return Avg: + avg.toFixed(1) +%; } public function TotalFunction(col:DataGridColumn):String { var t:int = dp.length; var tot:Number = 0; for (var i:int = 0; i t; i++) { tot += dp[i][col.dataField]; } return Total: $ +tot.toFixed(2); } ]] /mx:Script mx:HTTPService id=dp url=data/creditInfo.xml result=ciResult(event) / scripts:FooterDataGrid id=dGrid initialize=dGrid.dataProvider = dp width=550 paddingTop=0 paddingBottom=0 verticalAlign=middle scripts:columns scripts:FooterDataGridColumn headerText= dataField=creditorName mx:DataGridColumn headerText=Name dataField=creditorName editable=true/ /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Interest Rate dataField=interestRate mx:DataGridColumn labelFunction=AverageFunction dataField=interestRate editable=true / /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Balacnce dataField=balanceOwed mx:DataGridColumn labelFunction=TotalFunction dataField=balanceOwed editable=true / /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Monthly Payment dataField=monthlyPayment mx:DataGridColumn labelFunction=TotalFunction dataField=monthlyPayment editable=true / /scripts:FooterDataGridColumn /scripts:columns /scripts:FooterDataGrid /mx:Application Thanks Dave -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
Re: [flexcoders] Strange Image Behavior
Try clearing all your browser caches and test again. Perhaps you have an error in your app, but you don't see it in IE because the images are in its cache. On Sun, Sep 21, 2008 at 10:53 AM, danenania [EMAIL PROTECTED] wrote: Hi all. I'm experiencing some serious strangeness with a few .png images in my project. They work perfectly in debug mode, and they also work in IE7 on the live server, but on the live server in Firefox 3 they won't load. This is especially strange because I have many OTHER .png and other types of image files in the project that are working just fine. Any ideas? I tried substituting a couple .gif files instead but had the same problem. Thanks. -Dane -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
Re: [flexcoders] SWFLoader loads image relative to the SWF
Why you don't believe it? It's just normal as the application is the swf and not the html file! You can get the url of the html page with: ExternalInterface.call(window.location.href.toString) You could then remove the last part (html file name) to get the path of the html page. On Sun, Sep 21, 2008 at 1:21 PM, hannes.stockner [EMAIL PROTECTED]wrote: Hello i can not believe it. why does the SWFLoader class loads images relative to the SWF loading it? SWFLoader line number 1323 describes it. i want to load it relative to the html. how can I change this? thank you for your help! -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
Re: [flexcoders] removeChild or delete item in repeater
Try this:vform[evt.target.instanceIndex].removeChild(_submod[i]); On Sat, Sep 20, 2008 at 8:27 PM, urmissinlink [EMAIL PROTECTED] wrote: hey guys, I have a nested repeater as seen below mx:Repeater id=_rpModule dataProvider={A00Module} mx:LinkButton id=_mod label={_rpModule.currentItem.label} click=openModule(event) icon=@Embed(source='img/Expand.png')/ mx:VBox paddingLeft=35 id=vform mx:Repeater id=_rpSubModule dataProvider={A00SubModule} repeatEnd=populateSub(event); mx:LinkButton id=_submod label={_rpSubModule.currentItem.label}/ /mx:Repeater /mx:VBox /mx:Repeater I am running a loop at the RepeatEnd phase to delete the linkbuttons that I don't want, but they are not removing from the screen at all. here is the code to removeChild vform[evt.target.instanceIndex].removeChild(_submod [evt.target.instanceIndex][i]); What am i doing wrong? ohh i am in a private function as below private function populateSub(evt:Event):void{ } thanks -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
Re: [flexcoders] [Bindable] is not getting updated..
Thanks for the detail. Indeed it has the needed information. -Manu. Haykel BEN JEMIA wrote: I think there's a misunderstanding of the [Bindable] Metatag here. The Metatag only states that the compiler should create a property to which we can bind another one, which means it should dispatch a property change event every time it's value changes, but it doesn't bind it to anything. [Bindable] private var xyz:String = MyModel.getInstance().someVar; This means: create a bindable property xyz and initialize it with the value of MyModel.getInstance().someVar. No binding here! mx:Label text={xyz}/ This means create a Label and bind its text property to xyz which means: everytime xyz changes, update text with its new value. mx:Label text={MyModel.getInstance().someVar}/ This means create a Label and bind its text property to MyModel.getInstance().someVar which means: everytime MyModel.getInstance().someVar changes, update text with its new value. BUT with all these commands, you didn't create any binding between xyz and MyModel.getInstance().someVar. They know nothing about each other besides the fact that xyz has been initialized with the VALUE of MyModel.getInstance().someVar during application initialization! Hope this helps! On Mon, Sep 22, 2008 at 5:26 AM, Manu Dhanda [EMAIL PROTECTED]wrote: Josh, Is it a right way to do the following: [Bindable] private var xyz:String = MyModel.getInstance().someVar; Now, if I use xyz in my code then it is not updated. Where as if i use 'MyModel.getInstance().someVar' then I am getting perfect result. For Ex: mx:Label text={xyz}/ // view not updated with changes in model. mx:Label text={MyModel.getInstance().someVar}/ //view updated everytime with changes in model. So, I didn't get the difference between two above logically. Please explain the case as above. Thanks. Josh McDonald-4 wrote: I get what you're saying, but you're coming at it from the wrong angle is all. When you have this: [Bindable] public var myvar = someFunction(); You're making it so that *other code* will be called when myvar changes. You're also giving it the initial value of someFunction(). It won't escape back into the code for someFunction() and alter it so it becomes bindable. We need to have a difference betwen X = Y and create a binding from X to Y, otherwise the entire virtual machine would slow to a crawl. If you want to create a binding from actionscript from sourceObject.someValue to myValue you do this: BindingUtils.bindProperty(this, myValue, sourceObject, someValue); Then whenever sourceObject tells the word that someValue has been updated (with events), Flex will set the myValue field on your object. -Josh On Mon, Sep 22, 2008 at 1:07 PM, Manu Dhanda [EMAIL PROTECTED] manuraj.dhanda%40gmail.comwrote: Hi Paul, if [Bindable] works just for initialization, then I think it is loosing it's existence altogether. At least I think it this way.. that [Bindable] changes with every change that it is bind to. And not just it's initialization. Waiting for expert comments.. Thanks, Manu. Paul Andrews-4 wrote: - Original Message - From: Manu Dhanda [EMAIL PROTECTED]manuraj.dhanda%40gmail.com To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Sent: Monday, September 22, 2008 3:08 AM Subject: [flexcoders] [Bindable] is not getting updated.. Hii Guyz, Although it's very strange (even for me), but this [Bindable] tag is not working for me. I am following the cairngorm structure and storing a variable in Model. Now, in one of my code file, if I 'll create a local bindable variable, that binds to model.. then it is not being updated with the changes in model. [Bindable] private var xyz:String = MyModel.getInstance().someVar; Now, if I use xyz in my code then it is not updated. Where as if i use 'MyModel.getInstance().someVar' then I am getting perfect result. Any thoughts here... Yes, some thoughts. [Bindable] private var xyz:String = MyModel.getInstance().someVar Means that xyz is bindable and is initialised with the value of MyModel.getInstance().someVar . It does not mean that xyz changes with the value of MyModel.getInstance().someVar . If you wish to have a binding in an mxml file to MyModel.getInstance().someVar then use {MyModel.getInstance().someVar }, alternatively in actionscript you'll have to specifically set up a binding for it. Paul Regards, Manu. -- View this message in context: http://www.nabble.com/-Bindable--is-not-getting-updated..-tp19600797p19600797.html Sent from the FlexCoders mailing list archive at Nabble.com. -- Flexcoders Mailing List FAQ:
[flexcoders] 'Safe' editing of flex source code?
I'm pretty sure I know what the answer to this is going to be, but wanted to ask to be sure: Is there a way to make modifications to flex source code, for just a single project? For example, if I just wanted to tweak the Button class...in Flash we can just point to a local version of the class and it will use that instead of the pre-compiled one.
[flexcoders] Re: Items with variable width ? (TileBase component that don't override items width)
I'm having a similar problem, couldn't find a good way to enforce the HorizontalList to enable items with different width. --- In flexcoders@yahoogroups.com, z_babin [EMAIL PROTECTED] wrote: Hello, The result should be an HorizontalList like component (with all features; dataProvider, Layout, Effects Events...) but does not override it's items width property. Problem is that any component extending TileBase is setting it's items width and height and that makes it impossible for the item to set it's width. I have been looking into ListBase, TileBase and tried to override the measure function on the itemRenderer (which does not seem like a good idea).. Before I'm going to implement a new component from scratch (thought about using OpenFlux).. anyone got some ideas ?
RE: [flexcoders] 'Safe' editing of flex source code?
Yes you can override some of the Flex framework on a project by project basis. Do some searching for Monkey Patch as it appears to named... Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: 22 September 2008 09:09 To: flexcoders@yahoogroups.com Subject: [flexcoders] 'Safe' editing of flex source code? I'm pretty sure I know what the answer to this is going to be, but wanted to ask to be sure: Is there a way to make modifications to flex source code, for just a single project? For example, if I just wanted to tweak the Button class...in Flash we can just point to a local version of the class and it will use that instead of the pre-compiled one.
[flexcoders] Viewing massive data in charts
Hello everybody, i have a question which is not technical in first place. I'm more in a search for a pattern. The problem: i have a massive collection of objects (~35000 instance) which should be displayed in the charting components. But not all at once, just intervals which can be as big as the whole collection (similar to google finance: http://finance.google.com/finance). My Problem: is there a useful pattern? From my observation working with this massive amount of data i use, it demands quite some performance and it doesn't run that fluid. But i have seen some implementations which allways reset the dataprovider with a completely new collection which is sliced out of the original collection with all objects. This approach doesn't feel right though... Can anybody share some informationens or expiriences? Any input would be apprciated. Best regards!
[flexcoders] e4x problem - filtering elements based on multiple child conditions
Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?
On Friday 19 Sep 2008, Brendan Meutzner wrote: app which is now getting served up on 3rd party websites. It just got picked up by forbes.com and all of a sudden we saw a drastic increase in bandwidth to serve up the swz file. Right, but it wouldn't be much more than the bandwidth to send the non-RSL version if you'd gone that route, right ? -- Tom Chiverton Helping to proactively scale magnetic magnetic supply-chains 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Preventing cutpaste in Flex3 application
On Monday 22 Sep 2008, Dmitri Girski wrote: and dumb error message boxes (20 errors - 20 popups) are bad, very bad. So, the simplest and just working solution is to disable copy- paste. No, you just set up a StringValidator for each, and use FlexLib's AdvancedForm to invoke them automatically. We trigger validation when focus leaves a control as well, which means the user gets instant feedback the field is wrong (and we have way more than 20 (text) boxes). And as I said before, if TextInput control has a restrict property, it should be able to disable copy-pasting, otherwise it is useless, If you log a bug for this, someone could easily fix it. It seems like a minor oversight in the TextInput class. -- Tom Chiverton Helping to quickly target fifth-generation granular dynamic high-end segments 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Vertical Scrollbars without Horizontal scrollbars (solution)
I think it's fixed :) But the online renderer I use only shows the top half of the page, so I can't know for sure. I *really* need to find a good source for HTML at a reasonable price. -Josh On Sun, Sep 21, 2008 at 12:05 PM, Josh McDonald [EMAIL PROTECTED] wrote: Curses! I'll see if I can fix it :) On Sat, Sep 20, 2008 at 4:28 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hmm, you using IE? Yes, 6. :-) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Cannot use keyboard to access FireFox 3.0.1 menubar
On Thursday 18 Sep 2008, itdanny2002 wrote: Then, I can't use keyboard to access FireFox menubar though it can be access by mouse. You mean Flex (that has the keyboard Focus) is trapping the shortcut ? What key combo is that ? -- Tom Chiverton Helping to administratively implement ROI 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] Re: Flex Charting DateTimeAxis is not showing more than two months data in days
On Thursday 18 Sep 2008, kumar_vytla wrote: Can anyone suggest fix for this. Is this bug in flex charting for dateTimeAxis? When I tried that, chart showing x-axis data point in months instead of days even though dataUnits mentioned in days. When I observed Chart show data correctly if the data is in between two months. If the data is span across more than two months chart is showing x-axis labels in months. I believe it's meant to work like that i.e. be a bit intelligent. Check the LiveDocs. -- Tom Chiverton Helping to professionally streamline interdependent fourth-generation next-generation essential information 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] DataTip won't go away issue
On Friday 19 Sep 2008, scottyale2008 wrote: right, or down...the datatip goes away as expected. If the mouse moves over the top of the datatip (which is now in another pane and not in the chart area), the datatip stays displayed. This doesn't sound like standard behaviour - could you post your code ? -- Tom Chiverton Helping to seamlessly iterate channels 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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: Cannot use keyboard to access FireFox 3.0.1 menubar
All ALT-?? key, such as ALT-F to access file menu bar, ALT-D ...
[flexcoders] Re: Viewing massive data in charts
Running some tests i found out, that the DateTimeAxis doesn't refesh the minimum and maximum values for example. I tested with a dataset of objects which represented data for everyday in 2 years (~17900 instances). The recalculated min/max where displayed via trace one reset too late... it's seems like there is quite a lot to understand doing some more complex stuff with the chart components... Best regards --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Hello everybody, i have a question which is not technical in first place. I'm more in a search for a pattern. The problem: i have a massive collection of objects (~35000 instance) which should be displayed in the charting components. But not all at once, just intervals which can be as big as the whole collection (similar to google finance: http://finance.google.com/finance). My Problem: is there a useful pattern? From my observation working with this massive amount of data i use, it demands quite some performance and it doesn't run that fluid. But i have seen some implementations which allways reset the dataprovider with a completely new collection which is sliced out of the original collection with all objects. This approach doesn't feel right though... Can anybody share some informationens or expiriences? Any input would be apprciated. Best regards!
[flexcoders] Re: Non-Blocking IO and BlazeDS Streaming
Hi Anatole, thanks for the update :). Thanks alot, Norbert --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Norbert, I am finishing chapter on Flex Networking for new OReily book this month. It should be available on rough cuts mid/end of next month and will include jar, installation instructions and sample code . Thank you, Anatole On Mon, Sep 15, 2008 at 3:19 PM, nkopcsek [EMAIL PROTECTED] wrote: Hi Anatole, being also interested in a NIO endpoint for BlazeDS, I'm wondering if your implementation is already available to the public. Greetings, Norbert --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Anatole Tartakovsky anatole.tartakovsky@ wrote: Adam, We are setting different server this week with jetty for sample push apps - should post availability either in my or Yakov's blog. We will rehost Coenraets collaboration apps, Flex sample one as well as few financial samples of our own - do not know if you have another use case that you think is interesting. The version stays closed source till it is published - but will be available on Web 8/19. Thank you Anatole On Wed, Jul 16, 2008 at 1:10 AM, aduston1976 aduston@ wrote: Anatole, Wow, this is great news. Thanks for letting everyone know. I wish I could make it to NY for your presentation, but I'll be stuck here in Chicago. 19th (http://www.eventbrite.com/event/126384018). Open source version should be available at OReily in the Rough Cuts code section of our new Does this imply that there is a closed-source version available now? If so, I don't see anything about it on your blog. Adam --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, Anatole Tartakovsky anatole.tartakovsky@ wrote: Adam, We completed Servlet 3 implementation of BlazeDS streaming - so you can scale your push servers as much as you need to. There is a bit of testing and revamped samples that need to be added, but Adobe samples app works without any changes on the Flex side. I will be showing Jetty implementation at Flex Symposium in NYC on August 19th (http://www.eventbrite.com/event/126384018). Open source version should be available at OReily in the Rough Cuts code section of our new book in September/August. Some QoS pieces and streamlined DataServices implementation will be available around that timeframe as well. Hope this helps, Anatole Tartakovsky Farata Systems On Fri, Jun 13, 2008 at 5:11 PM, aduston1976 aduston@ wrote: Anatole, thank you sincerely for your message. I've always admired the Farata Systems blog posts and I will email you offline. Has anyone else taken a stab at this? Does anyone else have any thoughts about it? Thanks again, Adam --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, Anatole Tartakovsky anatole.tartakovsky@ wrote: Adam, 400 concurrent users is very low number - you might conside freee express LCDS 2.6 in single multicore CPU version to support that. Adobe creates standalone socket server (that you can place on the same servers port 80 with separate host name within domain/tcp address). Then you would get RTMP class functionality transparently working under HTTP wrapping. We did Tomcat implementation - however we encountered reliablity issues in the base software and do not recommend it unless you build recoverability stack that in our experience is very app specific. Also, you need significant framework on the client as unlike RTMP solution as you have to minimize number of subscriptions to 1 due to limit on number of HTTP connections. Jetty implementation is better and more close to Servlet 3/JSR-315 spec, but is would be waste of time at this point given the size of the users group. Given the current state and availability of free LCDS 2.6 we were spending more time on client-side components that mimic DataService object including server push. Main goals are maintaing minimum requirements on connectivity and actual channel implementation and provide application support for common tasks and robustness/QoS. You can mail me directly at atartakovskyatfaratasystemsdotcom id you have any questions Sincerely, Anatole Tartakovsky On Fri, Jun 13, 2008 at 2:41 PM, aduston1976 aduston@ wrote:
[flexcoders] Re: Help with error #1119
I thought that too but when I tried that, flex had a problem with var n:int = ciData.length; instead it gives me a 1069 error. let me mention that before I tried to break the code apart it did work. Perhaps a little more explaination I am trying to move the dp:Array() that was in the mx:Script tag to an exteternal xml file and in doing so the Array() changed to an ArrayCollection() and I'm thinking it needs to be handled differently? is this true? Dave --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: I think you should be using ciData instead of dp in these function. It's the property that seems to hold the data returned by the service. On Sun, Sep 21, 2008 at 7:43 PM, dmschenk1 [EMAIL PROTECTED] wrote: I have a 1119 error that is giving me fits and I'm sure its probably something simple but I've been trying for days with no luck. Would someone please take a look at this code and help me figure out what I'm doing wrong here? The problem is in dp.length at line 18 of the AverageFunction and also in line 29 of the TotalFunction but being new to programing I don't really understand how to interpolate the error. - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:scripts=scripts.* initialize=dp.send() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; [Bindable] private var ciData:ArrayCollection = new ArrayCollection(); private function ciResult(event:ResultEvent):void{ ciData = event.result.Credit.Creditor; } public function AverageFunction(col:DataGridColumn):String { var n:int = dp.length; var avg:Number = 0; for (var i:int = 0; i n; i++) { avg += dp[i][col.dataField]; } avg /= n; return Avg: + avg.toFixed(1) +%; } public function TotalFunction(col:DataGridColumn):String { var t:int = dp.length; var tot:Number = 0; for (var i:int = 0; i t; i++) { tot += dp[i][col.dataField]; } return Total: $ +tot.toFixed(2); } ]] /mx:Script mx:HTTPService id=dp url=data/creditInfo.xml result=ciResult(event) / scripts:FooterDataGrid id=dGrid initialize=dGrid.dataProvider = dp width=550 paddingTop=0 paddingBottom=0 verticalAlign=middle scripts:columns scripts:FooterDataGridColumn headerText= dataField=creditorName mx:DataGridColumn headerText=Name dataField=creditorName editable=true/ /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Interest Rate dataField=interestRate mx:DataGridColumn labelFunction=AverageFunction dataField=interestRate editable=true / /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Balacnce dataField=balanceOwed mx:DataGridColumn labelFunction=TotalFunction dataField=balanceOwed editable=true / /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Monthly Payment dataField=monthlyPayment mx:DataGridColumn labelFunction=TotalFunction dataField=monthlyPayment editable=true / /scripts:FooterDataGridColumn /scripts:columns /scripts:FooterDataGrid /mx:Application Thanks Dave -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
[flexcoders] Re: accordion component
I did something like this not so long ago. What I did was take the code from Flex 3 Style Explorer (http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl\ orer.html); The code for the collapsible panel on the left. And then created a component out of it (Modified so it was horizontal instead of vertical). I then used a repeater to repeat this component as many times as I needed. I send out an event whenever one of these is expanded. Each of these components listens for the event and if it is expanded, it will contract. --- In flexcoders@yahoogroups.com, sudha_bsb [EMAIL PROTECTED] wrote: Hi, Is there any component out there which is similar to accordion, except that initially all accordion items will be collapsed. As we click on each accordion itemthe corresponding one expands and the rest collapse. Only initially, all the accordion items will be collapsed. Please help if there are any pointers to this or guide me in building this component... Thanks, Sudha.
Re: [flexcoders] DateFormatter Bug?
On Friday 19 Sep 2008, kramus0 wrote: trace(myDateFormatter.format(myDate)); // -- returns an empty string!!! I would have expected 00:00 or 12:00. I suspect the timeOffeset is trying to subtract an hour from the start of time, and failing. -- Tom Chiverton Helping to professionally compete systems 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * 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] e4x problem - filtering elements based on multiple child conditions
try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
Oh cool, that works, thanks very much Daniel. Am I right in thinking that name.text() is returning an XMLList of text nodes and contains(fred) is basically looking for a match of fred in that list? In real life, instead of having two names, I have an array of names. I suppose its not possible to build an e4x expression at runtime? Daniel Freiman wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19609288.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
You're correct, but you can also do the filtering in a loop to be dynamic: var result:XMLList = rootXML.group.(name.text().contains(fred)); for each (filterName) { // psuedo-code result = result.(name.text().contains(filterName)); } return result; - Daniel Freiman On Mon, Sep 22, 2008 at 10:38 AM, Mark Carter [EMAIL PROTECTED] wrote: Oh cool, that works, thanks very much Daniel. Am I right in thinking that name.text() is returning an XMLList of text nodes and contains(fred) is basically looking for a match of fred in that list? In real life, instead of having two names, I have an array of names. I suppose its not possible to build an e4x expression at runtime? Daniel Freiman wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED]code%40mark.carter.name wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19609288.html Sent from the FlexCoders mailing list archive at Nabble.com.
RES: [flexcoders] DateFormatter Bug?
Hi, i've found that, if you set a decimalSeparator for the DateFormatter, you MUST define a thousandSeparator too, else, you'll get an empty string. Maybe, is that our bug? Is that you case? Hope thats usefull. -Mensagem original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Tom Chiverton Enviada em: segunda-feira, 22 de setembro de 2008 10:29 Para: flexcoders@yahoogroups.com Assunto: Re: [flexcoders] DateFormatter Bug? On Friday 19 Sep 2008, kramus0 wrote: trace(myDateFormatter.format(myDate)); // -- returns an empty string!!! I would have expected 00:00 or 12:00. I suspect the timeOffeset is trying to subtract an hour from the start of time, and failing. -- Tom Chiverton Helping to professionally compete systems 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Re: e4x problem - filtering elements based on multiple child conditions
i performed a similar operation by doing: rootXML.group.(name.text().toLowerCase()==fredname.text().toLowerCase()==bob) the toLowerCase is just because i needed case insensitivity... --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Overriding the UI Graphics Update?
Alex, Adobe Guys, Community, Romans. Is there a way to halt the UI Graphics Renderer so that (in a way) you can achieve the ability to post UI changes (in effect double buffering) before the renderer performs any UI update ? An obvious although troublesome way of doing this is with bitmap however the routines for drawing do not appear to be common between BitmapData and DisplayObject. Such like under DisplayObject graphics.unlock; // disassociate graphics device from renderer... graphics.[do stuff here] // misc graphics routines... graphics.lock; // re-associate renderer to graphics device and flush activity to renderer (lock/unlock might be switched depending upon your perspective to the renderer) I might be jumping the gun with you guys producing some hardware acceleration so if i am apologies in advance. I am also aware that there is a possibility that if the re-associate does not take place, then all other render activity might be lost so obviously this is not something that you do on a whim. Since everything is more of less sequential then im pretty sure that most programmers would not forget to do this. Would appreciate any info forthcoming! Regards Samuel PS. Anyone interested in me publishing my 3D renderer open-source? If there is enough interest, im willing to share this with the community. Im-At-Home BV http://www.im-at-home.com Overtoom 238-II / 1054HZ Amsterdam / The Netherlands Tel: +31 20 750 8304 (Amsterdam, NL) / +1 646 385 7345 (Manhattan, US) / Mobile: +31 64 328 5922 Skype: samcolak / MSN: [EMAIL PROTECTED] / AIM: [EMAIL PROTECTED]
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
That doesnt work for me. Arent you trying to match fred against the lowercased name.text() XMLList? xitij2000 wrote: i performed a similar operation by doing: rootXML.group.(name.text().toLowerCase()==fredname.text().toLowerCase()==bob) the toLowerCase is just because i needed case insensitivity... --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19609869.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
I think you'd actually be matching fred against the first item in the list, which would means that the entire expression would always return false because the first item can't be both bob and fred. On Mon, Sep 22, 2008 at 11:05 AM, Mark Carter [EMAIL PROTECTED] wrote: That doesnt work for me. Arent you trying to match fred against the lowercased name.text() XMLList? xitij2000 wrote: i performed a similar operation by doing: rootXML.group.(name.text().toLowerCase()==fredname.text().toLowerCase()==bob) the toLowerCase is just because i needed case insensitivity... --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19609869.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] AMF Serializer trough Jabber
Hi, I'm planning to adapt an AMF Serializer/Deserializer to use Jabber/XMPP as the transport protocol instead of HTTP. This responds to a very specific non functional requirement of our software platform. Is there anyone in the community working or thinking in this scenario? Any comments or suggestions? Luciano
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
Nice. I see what you've done there (instead of var result:XMLList = rootXML.group.name; as the first line which would have been rather inefficient). I suppose this general approach doesnt work if I want to do things like lowercase or substring matching...? Daniel Freiman wrote: You're correct, but you can also do the filtering in a loop to be dynamic: var result:XMLList = rootXML.group.(name.text().contains(fred)); for each (filterName) { // psuedo-code result = result.(name.text().contains(filterName)); } return result; - Daniel Freiman -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19610183.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
I get value is not a function - I guess because toLowerCase() cannot work on an XMLList. You would have to do: rootXML.group.(name.text()[0].toLowerCase()==fredname.text()[0].toLowerCase()==bob) which, like you say, would always return nothing. Or you have to specify group elements with exactly one child name element. Daniel Freiman wrote: I think you'd actually be matching fred against the first item in the list, which would means that the entire expression would always return false because the first item can't be both bob and fred. On Mon, Sep 22, 2008 at 11:05 AM, Mark Carter [EMAIL PROTECTED] wrote: That doesnt work for me. Arent you trying to match fred against the lowercased name.text() XMLList? xitij2000 wrote: i performed a similar operation by doing: rootXML.group.(name.text().toLowerCase()==fredname.text().toLowerCase()==bob) the toLowerCase is just because i needed case insensitivity... --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19609869.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19610549.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: Passing URLVariables from 1 Flex App to another?
Thanks for your suggestions. The reason I want Login to be a separate application is because I am using Spring Security to secure the app. Therefore, Login.mxml I want to be accessible to everyone, but in order to access Main.mxml the user will have to have the required Spring Security ROLE to be able to access it. I was able to get this to work but not by passing the logged in values to the 2nd app. Instead, upon a successful login I load Main.mxml and in the 2nd app's creationComplete event I use an HTTP service to call a java delegate class which talks to Spring Security directly and fetches the login info again. --- In flexcoders@yahoogroups.com, djohnson29 [EMAIL PROTECTED] wrote: I have 2 Flex Applications, Login.mxml and Main.mxml. Login.mxml handles the use Login and upon a successful authentication (with Spring Security), I want to load Main.mxml (Main.html which contains Main.swf) After a successfully logging in with spring security, from Login.mxml I load the main app like so: var url:URLRequest = new URLRequest(Main.html); var uv:URLVariables = new URLVariables(); url.method = POST; uv.UserName = username; // string var navigateToURL(url,_self); Main.html (containing Main.swf) loads successfully, but I am unable to extract the desired parameters. I want to pass the logged in user info from Login to Main. How do I access these URLVariables from the newly loaded Application? What is the best (simplest!) way to do this? Thanks
[flexcoders] dialog box
Hi,all I want to implement a function that will show a dialog box let user to choose pictures they want to show on this program. But I don't know which API on the AIR can show the dialog box. Is any related information? thanks, dialogtmp
Re: RES: [flexcoders] DateFormatter Bug?
Don't think so. But how can you set a decimalSeparator and a thousandSeparator for a DateFormatter? --- In flexcoders@yahoogroups.com, Luciano Manerich Junior [EMAIL PROTECTED] wrote: Hi, i've found that, if you set a decimalSeparator for the DateFormatter, you MUST define a thousandSeparator too, else, you'll get an empty string. Maybe, is that our bug? Is that you case? Hope thats usefull. -Mensagem original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Tom Chiverton Enviada em: segunda-feira, 22 de setembro de 2008 10:29 Para: flexcoders@yahoogroups.com Assunto: Re: [flexcoders] DateFormatter Bug? On Friday 19 Sep 2008, kramus0 wrote: trace(myDateFormatter.format(myDate)); // -- returns an empty string!!! I would have expected 00:00 or 12:00. I suspect the timeOffeset is trying to subtract an hour from the start of time, and failing. -- Tom Chiverton Helping to professionally compete systems 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
name.text()[0] will give you a single XML node of Kind string. If you want to operate on it as a string simply do: name.text()[0].toString() On Mon, Sep 22, 2008 at 11:35 AM, Mark Carter [EMAIL PROTECTED] wrote: I get value is not a function - I guess because toLowerCase() cannot work on an XMLList. You would have to do: rootXML.group.(name.text()[0].toLowerCase()==fredname.text()[0].toLowerCase()==bob) which, like you say, would always return nothing. Or you have to specify group elements with exactly one child name element. Daniel Freiman wrote: I think you'd actually be matching fred against the first item in the list, which would means that the entire expression would always return false because the first item can't be both bob and fred. On Mon, Sep 22, 2008 at 11:05 AM, Mark Carter [EMAIL PROTECTED]code%40mark.carter.name wrote: That doesnt work for me. Arent you trying to match fred against the lowercased name.text() XMLList? xitij2000 wrote: i performed a similar operation by doing: rootXML.group.(name.text().toLowerCase()==fredname.text().toLowerCase()==bob) the toLowerCase is just because i needed case insensitivity... --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: try this: rootXML.group.(name.text().contains(fred) name.text().contains(bob)) - Daniel Freiman On Mon, Sep 22, 2008 at 5:20 AM, Mark Carter [EMAIL PROTECTED] wrote: Ok, that subject is a bit vague but here's an example of what I mean: group id=1 namefred/name namebob/name namepeter/name /group Say we have lots of these group elements in an XML document. I want to select all groups including the names fred and bob, for example. Is it possible in one e4x expression? My guess would be: rootXML.group.name.(text() == fred).parent().name.(text() == bob).parent() but the parent() part seems to be wrong. Any ideas??? On a slightly different note... I notice that rootXML.group.(name == fred) will only work for a group containing fred and nothing else. Using rootXML.group.name.(text() == fred) sort of gives me what I want, but I really want the parent() elements. Of course, I could iterate over the results but I really want to do this in one expression. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19604364.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19609869.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19610549.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions
It seems to work it out for you when it can. name.text()[0].toLowerCase() works name.text().toLowerCase() also works if there is exactly one name child of each group element. Daniel Freiman wrote: name.text()[0] will give you a single XML node of Kind string. If you want to operate on it as a string simply do: name.text()[0].toString() -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple-child-conditions-tp19604364p19611043.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] second time image is not appearing
Hi ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:TextArea x=154 y=92 id=t1 height=27/ mx:Script ![CDATA[ import mx.controls.Alert; import mx.controls.Image; import mx.controls.Button; public function hello():void { t2.text=t1.text; } public function hi():void { t1.text=; t2.text=; } public function bclick1(event:Event):void { //img.visible=img.source; if((img.visible)==false) { Alert.show(testing); img.visible=true } } public function rst():void { img.source=; } ]] /mx:Script mx:Button x=95 y=226 label=submit click=hello()/ mx:Label x=48 y=92 text=text1 width=60 height=44/ mx:Label x=48 y=169 text=text2/ mx:TextInput x=154 y=167 id=t2/ mx:Button x=201 y=226 label=cancel click=hi()/ mx:Button x=301 y=226 label=image click=bclick1(event)/ mx:Image x=363 y=76 width=81 height=80 id=img autoLoad=true visible=false mx:sourcescooby.jpeg/mx:source /mx:Image mx:Button x=201 y=277 label=Reset click=rst()/ /mx:Application when click first time image button the image will appear then i click reset button means the image button will disappear . if am clicking again the image button will not be appear Help me plz.. Note : i attached my image regards Natarajan Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/attachment: scooby.jpeg
Re: [flexcoders] Re: Help with error #1119
All that you're using in the ArrayCollection are the length property and [] to access its items. Both are also available for the Array, so no special handling here. Could you post the whole error messages or better an example that we can compile and having the same problem? Anyway, you have to use ciData and not dp! It makes no sense to use a HTTPService object like that. On Mon, Sep 22, 2008 at 1:55 PM, David Schenk [EMAIL PROTECTED]wrote: I thought that too but when I tried that, flex had a problem with var n:int = ciData.length; instead it gives me a 1069 error. let me mention that before I tried to break the code apart it did work. Perhaps a little more explaination I am trying to move the dp:Array() that was in the mx:Script tag to an exteternal xml file and in doing so the Array() changed to an ArrayCollection() and I'm thinking it needs to be handled differently? is this true? Dave --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: I think you should be using ciData instead of dp in these function. It's the property that seems to hold the data returned by the service. On Sun, Sep 21, 2008 at 7:43 PM, dmschenk1 [EMAIL PROTECTED] wrote: I have a 1119 error that is giving me fits and I'm sure its probably something simple but I've been trying for days with no luck. Would someone please take a look at this code and help me figure out what I'm doing wrong here? The problem is in dp.length at line 18 of the AverageFunction and also in line 29 of the TotalFunction but being new to programing I don't really understand how to interpolate the error. - ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:scripts=scripts.* initialize=dp.send() mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.ResultEvent; [Bindable] private var ciData:ArrayCollection = new ArrayCollection(); private function ciResult(event:ResultEvent):void{ ciData = event.result.Credit.Creditor; } public function AverageFunction(col:DataGridColumn):String { var n:int = dp.length; var avg:Number = 0; for (var i:int = 0; i n; i++) { avg += dp[i][col.dataField]; } avg /= n; return Avg: + avg.toFixed(1) +%; } public function TotalFunction(col:DataGridColumn):String { var t:int = dp.length; var tot:Number = 0; for (var i:int = 0; i t; i++) { tot += dp[i][col.dataField]; } return Total: $ +tot.toFixed(2); } ]] /mx:Script mx:HTTPService id=dp url=data/creditInfo.xml result=ciResult(event) / scripts:FooterDataGrid id=dGrid initialize=dGrid.dataProvider = dp width=550 paddingTop=0 paddingBottom=0 verticalAlign=middle scripts:columns scripts:FooterDataGridColumn headerText= dataField=creditorName mx:DataGridColumn headerText=Name dataField=creditorName editable=true/ /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Interest Rate dataField=interestRate mx:DataGridColumn labelFunction=AverageFunction dataField=interestRate editable=true / /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Balacnce dataField=balanceOwed mx:DataGridColumn labelFunction=TotalFunction dataField=balanceOwed editable=true / /scripts:FooterDataGridColumn scripts:FooterDataGridColumn headerText=Monthly Payment dataField=monthlyPayment mx:DataGridColumn labelFunction=TotalFunction dataField=monthlyPayment editable=true / /scripts:FooterDataGridColumn /scripts:columns /scripts:FooterDataGrid /mx:Application Thanks Dave -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
RE: [flexcoders] second time image is not appearing
I don’t think your reset function does what you want it to – it sets the source path to the Image to null. That will make the image invisible … but you’ll never see it again without setting the source path back to something reasonable. Try toggling the visible flag instead… Chet. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of NATA RAJAN Sent: Monday, September 22, 2008 8:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] second time image is not appearing Hi ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:TextArea x=154 y=92 id=t1 height=27/ mx:Script ![CDATA[ import mx.controls.Alert; import mx.controls.Image; import mx.controls.Button; public function hello():void { t2.text=t1.text; } public function hi():void { t1.text=; t2.text=; } public function bclick1(event:Event):void { //img.visible=img.source; if((img.visible)==false) { Alert.show(testing); img.v! isible=true } } public function rst():void { img.source=; } ]] /mx:Script mx:Button x=95 y=226 label=submit click=hello()/ mx:Label x=48 y=92 text=text1 width=60 height=44/ mx:Label x=48 y=169 text=text2/ mx:TextInput x=154 y=167 id=t2/ mx:Button x=201 y=226 label=cancel click=hi()/ mx:Button x=301 y=226 label=image click=bclick1(event)/ mx:Image x=363 y=76 width=81 height=80 id=img autoLoad=true visible=false mx:sourcescooby.jpeg/mx:source /mx:Image mx:Button x=201 y=277 label=Reset click=rst()/ ! ; /mx:Application when click first time image button the image will appear then i click reset button means the image button will disappear . if am clicking again the image button will not be appear Help me plz.. Note : i attached my image regards Natarajan Unlimited freedom, unlimited storage. Get it nowhttp://in.rd.yahoo.com/tagline_mail_2/*http:/help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
Re: [flexcoders] dialog box
The documentation is your best friend! http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e4a.html On Mon, Sep 22, 2008 at 5:44 PM, dialogtmp [EMAIL PROTECTED] wrote: Hi,all I want to implement a function that will show a dialog box let user to choose pictures they want to show on this program. But I don't know which API on the AIR can show the dialog box. Is any related information? thanks, dialogtmp -- Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com
[flexcoders] Re: Java from Flex
You can call these libs from LCDS or BlazeDS (or WebOrb too) using the RemoteObject tag and alittle server side config - check out the example apps deployed. I would suggest creating a service facade layer of POJO, plan old Java objects, that abstract all your backend Java code/libs. Wrap any security you need at this facade layer too. Its not hard to do and with BlazeDS you can get it up and running in 15+- min and its free.
[flexcoders] Flex 2.01 - TabBar
Good morning: I have set the the 3rd and 4th colors for my TabBar as such in the CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; However, it does not use the second set of values. I set the second set to red in the example just to get a contrast. The Language Reference indicates you can use either one set or both sets for fillColors in a TabBar. The second set is for mouseover. Does this not work in Flex 2.01? I looked at the Flex 2.01 Explorer application and it only has 1 set of colors to select from. I even tried using a TabNavigator but it does not use the second set of colors either. In both cases, on mouse over, it displays a lighter color combination of the first set of colors. Does it work in Flex 3? Thanks, Jack
Re: [flexcoders] Re: deep linking problems
Thanks for posting the answer. People often follow up with just Never mind--figured it out, which is not very useful to someone with the exact same problem reading the question in the archives a few weeks later. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: learningflexfromscratch [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: deep linking problems Date: Sun, 21 Sep 2008 23:27:15 - --- In flexcoders@yahoogroups.com, learningflexfromscratch [EMAIL PROTECTED] wrote: Hey all, I've run into a problem when trying to get deep linking to work in my Flex application. I'm pretty sure I'm just missing a very basic point about file structure or something, as I'm new to this. The problem is this: I've copy and pasted some example code from Adobe labs http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Deep \ _Linking into Flex Builder, and when I run the app from the IDE, everything seems to work fine. (The fragments update, and the browser navigation works). However, and this is probably where I'm making some mistake, when I perform a release build, and then upload all of the files from bin release to my server, the fragments in the URL no longer update. I've tried to follow the instructions as closely as possible. I've uploaded every file from the bin release folder to my server. Is there something I'm forgetting to change in the code, or is it possible that I'm not deploying the application correctly? Thanks in advance for your help, Newman I figured it out...I was uploading the files from the history subdirectory when I should have been leaving the folder structure in place.
Re: [flexcoders] Flex 2.01 - TabBar
Hi Jack, Take a look at mx.skins.halo.TabSkin This class is not like the ButtonSkin, you can see in this line exactly what the skin is doing. case upSkin: { var upFillColors:Array = [ falseFillColors[0], falseFillColors[1] ]; You will need to implement your own skin for that functionality. Mike On Mon, Sep 22, 2008 at 12:26 PM, jwc_wensan [EMAIL PROTECTED] wrote: Good morning: I have set the the 3rd and 4th colors for my TabBar as such in the CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; However, it does not use the second set of values. I set the second set to red in the example just to get a contrast. The Language Reference indicates you can use either one set or both sets for fillColors in a TabBar. The second set is for mouseover. Does this not work in Flex 2.01? I looked at the Flex 2.01 Explorer application and it only has 1 set of colors to select from. I even tried using a TabNavigator but it does not use the second set of colors either. In both cases, on mouse over, it displays a lighter color combination of the first set of colors. Does it work in Flex 3? Thanks, Jack -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] New to FLEX
Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/
[flexcoders] systemManager PopUpManager Alert windows
I recently needed to be able to close all popup windows at once, so I began implementing the PopUpManagerChildList.POPUP technique to catalog these windows using systemManager: PopUpManager.createPopUp(this, UserDetailsWin, true, PopUpManagerChildList.POPUP)); Problem is - all my Alert windows show up beneath the popups created as above. Does anyone know how to fix this?
Re: [flexcoders] Overriding the UI Graphics Update?
Afaik the Flashplayer does this for you. Nothing is rendered as long as you are in a script. You can try to draw a line and then do a simple while loop for 5 seconds. You will not see any updates of the screen. Cheers Ralf. On Mon, Sep 22, 2008 at 5:05 PM, Samuel Colak [EMAIL PROTECTED] wrote: Alex, Adobe Guys, Community, Romans. Is there a way to halt the UI Graphics Renderer so that (in a way) you can achieve the ability to post UI changes (in effect double buffering) before the renderer performs any UI update ? An obvious although troublesome way of doing this is with bitmap however the routines for drawing do not appear to be common between BitmapData and DisplayObject. Such like under DisplayObject graphics.unlock; // disassociate graphics device from renderer... graphics.[do stuff here] // misc graphics routines... graphics.lock; // re-associate renderer to graphics device and flush activity to renderer (lock/unlock might be switched depending upon your perspective to the renderer) I might be jumping the gun with you guys producing some hardware acceleration so if i am apologies in advance. I am also aware that there is a possibility that if the re-associate does not take place, then all other render activity might be lost so obviously this is not something that you do on a whim. Since everything is more of less sequential then im pretty sure that most programmers would not forget to do this.
[flexcoders] Re: Flex 2.01 - TabBar
Michael: I guess I expected the second set to work like the second set does for a ComboBox. May I ask then why is there a second set of colors if you have to go in and create your own skin/component? Seems a little confusing. I don't really understand all the AS code for these components, but I'll check it out. Thanks for the info. Jack --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Jack, Take a look at mx.skins.halo.TabSkin This class is not like the ButtonSkin, you can see in this line exactly what the skin is doing. case upSkin: { var upFillColors:Array = [ falseFillColors[0], falseFillColors[1] ]; You will need to implement your own skin for that functionality. Mike On Mon, Sep 22, 2008 at 12:26 PM, jwc_wensan [EMAIL PROTECTED] wrote: Good morning: I have set the the 3rd and 4th colors for my TabBar as such in the CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; However, it does not use the second set of values. I set the second set to red in the example just to get a contrast. The Language Reference indicates you can use either one set or both sets for fillColors in a TabBar. The second set is for mouseover. Does this not work in Flex 2.01? I looked at the Flex 2.01 Explorer application and it only has 1 set of colors to select from. I even tried using a TabNavigator but it does not use the second set of colors either. In both cases, on mouse over, it displays a lighter color combination of the first set of colors. Does it work in Flex 3? Thanks, Jack -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Re: Flex 2.01 - TabBar
Hi, You know what, I eat my words. I quickly looked at that class but missed the fact in the over skin they do use 2 and 3 index. if (fillColors.length 2) overFillColors = [ fillColors[2], fillColors[3] ]; else overFillColors = [ fillColors[0], fillColors[1] ]; What does this mean? based on that code I would expect what you are doing to work correctly. Although I am looking at Flex 3 sdk code. I'm sure it is the same for Flex 2.0.1 Can you post the code you are using. Mike On Mon, Sep 22, 2008 at 1:22 PM, jwc_wensan [EMAIL PROTECTED] wrote: Michael: I guess I expected the second set to work like the second set does for a ComboBox. May I ask then why is there a second set of colors if you have to go in and create your own skin/component? Seems a little confusing. I don't really understand all the AS code for these components, but I'll check it out. Thanks for the info. Jack --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Jack, Take a look at mx.skins.halo.TabSkin This class is not like the ButtonSkin, you can see in this line exactly what the skin is doing. case upSkin: { var upFillColors:Array = [ falseFillColors[0], falseFillColors[1] ]; You will need to implement your own skin for that functionality. Mike On Mon, Sep 22, 2008 at 12:26 PM, jwc_wensan [EMAIL PROTECTED] wrote: Good morning: I have set the the 3rd and 4th colors for my TabBar as such in the CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; However, it does not use the second set of values. I set the second set to red in the example just to get a contrast. The Language Reference indicates you can use either one set or both sets for fillColors in a TabBar. The second set is for mouseover. Does this not work in Flex 2.01? I looked at the Flex 2.01 Explorer application and it only has 1 set of colors to select from. I even tried using a TabNavigator but it does not use the second set of colors either. In both cases, on mouse over, it displays a lighter color combination of the first set of colors. Does it work in Flex 3? Thanks, Jack -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Overriding the UI Graphics Update?
You might want to have a look at this excerpt from Colin Mook's AS3 book: http://www.moock.org/blog/archives/000235.html It should give you a good understanding of how rendering works in Flash/Flex. Cheers Ralf. On Mon, Sep 22, 2008 at 7:15 PM, Ralf Bokelberg [EMAIL PROTECTED] wrote: Afaik the Flashplayer does this for you. Nothing is rendered as long as you are in a script. You can try to draw a line and then do a simple while loop for 5 seconds. You will not see any updates of the screen. Cheers Ralf. On Mon, Sep 22, 2008 at 5:05 PM, Samuel Colak [EMAIL PROTECTED] wrote: Alex, Adobe Guys, Community, Romans. Is there a way to halt the UI Graphics Renderer so that (in a way) you can achieve the ability to post UI changes (in effect double buffering) before the renderer performs any UI update ? An obvious although troublesome way of doing this is with bitmap however the routines for drawing do not appear to be common between BitmapData and DisplayObject. Such like under DisplayObject graphics.unlock; // disassociate graphics device from renderer... graphics.[do stuff here] // misc graphics routines... graphics.lock; // re-associate renderer to graphics device and flush activity to renderer (lock/unlock might be switched depending upon your perspective to the renderer) I might be jumping the gun with you guys producing some hardware acceleration so if i am apologies in advance. I am also aware that there is a possibility that if the re-associate does not take place, then all other render activity might be lost so obviously this is not something that you do on a whim. Since everything is more of less sequential then im pretty sure that most programmers would not forget to do this.
Re: [flexcoders] systemManager PopUpManager Alert window
Hi, This is because the popup manager puts the POPUP instances at a different space in the systemManager IChildList (above all parent popups). When you create your popups, can't you create a map of them and store it in some central model class, then just loop through them and call removePopUp()? When an Alert is created with show(), it uses the PARENT space, thus all of your popups will be above standard alert popups. Mike On Mon, Sep 22, 2008 at 12:26 PM, male_designer [EMAIL PROTECTED] wrote: I recently needed to be able to close all popup windows at once, so I began implementing the PopUpManagerChildList.POPUP technique to catalog these windows using systemManager: PopUpManager.createPopUp(this, UserDetailsWin, true, PopUpManagerChildList.POPUP)); Problem is - all my Alert windows show up beneath the popups created as above. Does anyone know how to fix this? -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] Re: Preventing cutpaste in Flex3 application
Weeping Jesus on the cross! Password email fields should be disabled from Copy-pasting just for the sake of minimising the number of support calls from users who forgot which particular email or password they copied pasted). Over out. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: I have to say that the solution to this problem is data validation, or simply fixing what sure looks like a bug in TextInput. You can't disable something as good for users as copy and paste simply because as a coder you're too lazy to validate the input. Well, you can, but your customers will notice, and your app will feel weird to them and they won't like it so much. -Josh On Mon, Sep 22, 2008 at 1:52 PM, Dmitri Girski [EMAIL PROTECTED] wrote: Hi Paul, Here is the example: there is a text input field where you can enter only digits and a dot sign, nothing else. If you use restrict=0123456789. property - it's fine until user copy-pastes the string from somewhere else. If you allow c-n-p you have to do complex validation and point user to the invalid input. If you have 20 text input fields - this solution just sucks. All this Flex error tooltips and dumb error message boxes (20 errors - 20 popups) are bad, very bad. So, the simplest and just working solution is to disable copy- paste. This is probably what is called Apple solution - do not allow users to think too much, if it is not allowed - they don't need it, anyway.(c) And surprisingly, this works quite well. And as I said before, if TextInput control has a restrict property, it should be able to disable copy-pasting, otherwise it is useless, and sometimes dangerous, as not so many developers realise that setting this property does not protect them from the invalid input. Cheers, Dmitri. -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] problem with the flex application in MAC
Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank screen. What's been tried so far... --Random strip down to no states, It's only by removing all states that it works on Safari, we do know at which point the problem is cleared... Can some help us why this can happen with flex.only with MAC... Please help... Thanks, Sudha.
[flexcoders] Re: Flex 2.01 - TabBar
Michael: MXML Code . . . . mx:TabBar styleName=MyTabBar . . . CSS Code . . . . .MyTabBar { paddingTop: 0; paddingLeft: 0; verticalGap: 0; themeColor: #345D86; borderStyle: solid; borderThickness: 0.75; dropShadowEnabled: false; tabStyleName:MyTabs; selectedTabTextStyleName:MySelectedTab; } .MyTabs { cornerRadius:5; fillAlphas: 1, 1, 1, 1; highlightAlphas: 0, 0.3, 0, 0.3; textRollOverColor: #0F3780; fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; backgroundColor: #5681B2; borderColor: #345D86; color: #FF; fontWeight: bold; fontFamily: Verdana; } .MySelectedTab { color: #FF; } Thanks, Jack --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You know what, I eat my words. I quickly looked at that class but missed the fact in the over skin they do use 2 and 3 index. if (fillColors.length 2) overFillColors = [ fillColors[2], fillColors[3] ]; else overFillColors = [ fillColors[0], fillColors[1] ]; What does this mean? based on that code I would expect what you are doing to work correctly. Although I am looking at Flex 3 sdk code. I'm sure it is the same for Flex 2.0.1 Can you post the code you are using. Mike On Mon, Sep 22, 2008 at 1:22 PM, jwc_wensan [EMAIL PROTECTED] wrote: Michael: I guess I expected the second set to work like the second set does for a ComboBox. May I ask then why is there a second set of colors if you have to go in and create your own skin/component? Seems a little confusing. I don't really understand all the AS code for these components, but I'll check it out. Thanks for the info. Jack --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi Jack, Take a look at mx.skins.halo.TabSkin This class is not like the ButtonSkin, you can see in this line exactly what the skin is doing. case upSkin: { var upFillColors:Array = [ falseFillColors[0], falseFillColors[1] ]; You will need to implement your own skin for that functionality. Mike On Mon, Sep 22, 2008 at 12:26 PM, jwc_wensan jwcaldwell@ wrote: Good morning: I have set the the 3rd and 4th colors for my TabBar as such in the CSS file. Example: fillColors: #DDE7F4, #DDE7F4, #FA075D, #FA075D; However, it does not use the second set of values. I set the second set to red in the example just to get a contrast. The Language Reference indicates you can use either one set or both sets for fillColors in a TabBar. The second set is for mouseover. Does this not work in Flex 2.01? I looked at the Flex 2.01 Explorer application and it only has 1 set of colors to select from. I even tried using a TabNavigator but it does not use the second set of colors either. In both cases, on mouse over, it displays a lighter color combination of the first set of colors. Does it work in Flex 3? Thanks, Jack -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'. -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Re: Preventing cutpaste in Flex3 application
- Original Message - From: Dmitri Girski [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 6:44 PM Subject: [flexcoders] Re: Preventing cutpaste in Flex3 application Weeping Jesus on the cross! Password email fields should be disabled from Copy-pasting just for the sake of minimising the number of support calls from users who forgot which particular email or password they copied pasted). There's no relationship between cut and paste and people forgetting passwords. How can they forget the password if they're copying it? Over out. Cheers, Dmitri.
Re: [flexcoders] problem with the flex application in MAC
I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: sudha_bsb To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 12:46 PM Subject: [flexcoders] problem with the flex application in MAC Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank screen. What's been tried so far... --Random strip down to no states, It's only by removing all states that it works on Safari, we do know at which point the problem is cleared... Can some help us why this can happen with flex.only with MAC... Please help... Thanks, Sudha.
[flexcoders] Error accessing property using Live Cycle with fluorineFX
Good Evening First, I apologize for my bad english. Could you help me about this error? I have a problem with this configuration below: (in DataManagement.xml) destination id=dm.category adapter ref=dotnet-dao / properties sourceDataManagement.CategoriaAssembler/source scopeapplication/scope metadata identity property=code/ many-to-one property=priority destination=dm.priority / one-to-many property=products destination=dm.product / /metadata network session-timeout20/session-timeout paging enabled=false pageSize=10 / /network /properties /destination The log of error: Error: Caught error accessing property 'products' on item with id 'dm.category:::11' and type 'br.com.mlweb.helpdesk.vo::CategoryVO'. See debug log for details. This fault occurs with the relationship one-to-many property=products destination=dm.product /, I beliave. What I have to check in this case? How I can resolve this problem? Are there any good resource about lcds and .net? Thanks you in advance, Best regards.-Bruno Moura
Re: [flexcoders] Re: Preventing cutpaste in Flex3 application
Is this a technical or a grandmas-complaining-about-managers forum ? :) You can probably add capturing phase listeners to the SystemManager and filter out the events your managers dont like ;) Cheers Ralf.
[flexcoders] Re: problem with the flex application in MAC
Yeah, the same link works in Windows machine. Any idea why this can happen Thanks, Sudha. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: sudha_bsb To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 12:46 PM Subject: [flexcoders] problem with the flex application in MAC Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank screen. What's been tried so far... --Random strip down to no states, It's only by removing all states that it works on Safari, we do know at which point the problem is cleared... Can some help us why this can happen with flex.only with MAC... Please help... Thanks, Sudha.
[flexcoders] Re: Getting multiple addedToStage events
I am using the event so the MXML component knows when it has been added to the stage, and also removed so it can set up and tear down some event listeners appropriately. Perhaps this isn't the best way to do it. If another way is better, I'm open to hear it. :) Yes the currentTarget is the same as the target. However, it seems that it is because it is somehow getting added 4 times and removed 3 times. I don't konw why...my code that calls addChild is only being called once. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Have you checked the event.target AND event.currentTarget? They are all the same? Why are you using that event. ChildExistenceChangedEvent.CHILD_ADD and ChildExistenceChangedEvent.CHILD_REMOVE are the best events in containers to listen to child and and remove events. You would listen to those events from the ViewStack, you will have a event.relatedObject property that will give you the actual child instance that was added. Mike On Fri, Sep 19, 2008 at 2:32 PM, ozziegt [EMAIL PROTECTED] wrote: Hi, this is my first post to this group...hopefully someone can help me! :) I have an empty ViewStack to which I am programatically adding an MXML component which contains children. When I add the component, the MXML component is firing multiple onAddedToStage events. The target of the event is identical every time, so I am positive it is the same component firing the events. I have also verified that I am only adding the component once. Does anyone have an idea of what could be going on? Thanks -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
Re: [flexcoders] Does localconnection Class works with different Port numbers ?
Sorry for the delay on this. I'm using LocalConnection to talk to proxy, which loads Flash 8 movie and talks to it using Standard AS2. I also send message from the proxy back to the main app using LocalConnection. The proxy is an adapted version of Jesse Warden's: http://jessewarden.com/2007/06/flex-controlling-flash.html Thanks Jesse! Brandon - Original Message From: Gregor Kiddie [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, September 19, 2008 10:21:00 AM Subject: RE: [flexcoders] Does localconnection Class works with different Port numbers ? So you’re using LocalConnection to speak from your main app to the proxy, or from the proxy to the Flash 8 movie? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, LondonSW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co. uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpdesk@ inps.co.uk From:[EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Brandon Krakowsky Sent: 19 September 2008 14:18 To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] Does localconnection Class works with different Port numbers ? I'm working with LocalConnection now and having some issues. I'm trying to load and control some Flash 8 movies with some success. I'm first loading in a proxy Flash 8 file, and then loading the movies into there. I'm calling functions in the proxy file which basically tell the loaded movies to go to certain frames, etc. It seems to work most of the time but every now and again I get weird undefined traces in the Flex IDE. I have a lot more testing to do but I'm not sure how the Flash 9 debugger tries to debug AS2 in a Flash 8 file. Thanks, Brandon
Re: [flexcoders] New to FLEX
Http://feeds.adobe.com http://adobe.com/flex -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: NATA RAJAN To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:51 AM Subject: [flexcoders] New to FLEX Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan -- Be the first one to try the new Messenger 9 Beta! Click here.
[flexcoders] Printjob
I was wondering if any has had any experience with Printjob or AlivePDF? I am trying to print items items that are half on the screen and half off the screen. I was wondering if you are able to print items that are not on screen? So say someone dragged an item so only 1/4 of it showing in the browser windowwould Flex be able to print 100% of it or just the 1/4 that is showing? I would settle for print items that are showing inside a parent container at this point. So say I have 5 nodes in an Canvas. I and the Canvas is inside the Application page. If I have the Canvas width and height at 80% of the Applications width/height and I drag one of child nodes so half is showing in the Canvas container the other half is obscured because of the Canvas's boundaries and I set clipContent to false it doesn't change anything. I have called callLater following http://www.darronschall.com/weblog/archives/000193.cfm but it still won't print those half on half items in the Canvas container (yes the canvas container is 100% in the bounds of the Application container).
Re: [flexcoders] New to FLEX
[Shameless Plug] Flex for Dummies! http://dougmccune.com/blog/flex-for-dummies/ http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920 On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote: Http://feeds.adobe.com http://adobe.com/flex -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: NATA RAJAN To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:51 AM Subject: [flexcoders] New to FLEX Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Be the first one to try the new Messenger 9 Beta! Click here.
[flexcoders] Re: Flex2/FP9 Final Bug : cannot play MP3 files encoded with iTunes
Was this issue ever resolved? I'm seeing similar behavior with the following mp3 in the code listed in the original post: http://www.fileden.com/files/2008/6/22/1970328/02%20Act%20One%20Scene%20One.mp3 I can load the file fine in the browser, but not with flex and the sound class. Thanks, Dave --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I have made sure that this issue is now being tracked within the Flash Player team. Sorry we didn't follow up with this earlier. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard Sent: Tuesday, July 11, 2006 7:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2/FP9 Final Bug : cannot play MP3 files encoded with iTunes Hi, When trying to load an MP3 file encoded with iTunes (latest one v6.0.5.20), the MP3 starts playing but it stops when the loading is completed. An Event.COMPLETE is generated just followed by an Event.SOUND_COMPLETE (whereas the sound is not completed at all and should continue to play). After that, it is not possible to start the MP3 anymore. It might be an ID3 issue? (apparently, the ID3Info are not properly loaded) Here is a template to reproduce the problem, a copy/paste from the LiveDocs. It works fine with any MP3 files not encoded with iTunes. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=creationCompleteHandler() mx:Script ![CDATA[ import flash.media.Sound; import flash.media.SoundChannel; import flash.net.URLRequest; import flash.utils.Timer; private var soundUrl:String = http://localhost/SomeITunesEncodedFile.mp3;; private var soundFactory:Sound; private var channel:SoundChannel; private var positionTimer:Timer; public function creationCompleteHandler():void { var request:URLRequest = new URLRequest(soundUrl); soundFactory = new Sound(); soundFactory.addEventListener(Event.COMPLETE, completeHandler); soundFactory.addEventListener(Event.ID3, id3Handler); soundFactory.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); soundFactory.addEventListener(ProgressEvent.PROGRESS, progressHandler); soundFactory.load(request); channel = soundFactory.play(); channel.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler); positionTimer = new Timer(50); positionTimer.addEventListener(TimerEvent.TIMER, positionTimerHandler); positionTimer.start(); } private function positionTimerHandler(event:TimerEvent):void { trace(positionTimerHandler: + channel.position.toFixed(2)); } private function completeHandler(event:Event):void { trace(completeHandler: + event); } private function id3Handler(event:Event):void { trace(id3Handler: + event); } private function ioErrorHandler(event:Event):void { trace(ioErrorHandler: + event); positionTimer.stop(); } private function progressHandler(event:ProgressEvent):void { trace(progressHandler: + event); } private function soundCompleteHandler(event:Event):void { trace(soundCompleteHandler: + event); positionTimer.stop(); } ]] /mx:Script /mx:Application Benoit Hediard PS: This problem has been raised during the beta, but without any answers. ;)
Re: [flexcoders] New to FLEX
I just picked up a copy on Friday at Borders .. mostly because I saw that it was written by you. My first impression is that it's probably easier than I need, but what really struck me about it is that it seems like a very good reference for getting it ingrained in the brain as to what everything is and does. Congrats, Doug .. despite the title :) .. looks to be a handy one to keep around! Nancy Gill Adobe Community Expert Author: Dreamweaver 8 e-book for the DMX Zone Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003) Technical Editor: Dreamweaver CS3: The Missing Manual, DMX 2004: The Complete Reference, DMX 2004: A Beginner's Guide Mastering Macromedia Contribute Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development - Original Message - From: Doug McCune To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:30 AM Subject: Re: [flexcoders] New to FLEX [Shameless Plug] Flex for Dummies! http://dougmccune.com/blog/flex-for-dummies/ http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920 On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote: Http://feeds.adobe.com http://adobe.com/flex -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: NATA RAJAN To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:51 AM Subject: [flexcoders] New to FLEX Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Be the first one to try the new Messenger 9 Beta! Click here. __ Information from ESET NOD32 Antivirus, version of virus signature database 3460 (20080922) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
[flexcoders] Re: Flex Maintenance Agreements
So, I¹m just trying to save a buck or two. Does anyone have any feelings¹ on Flex Maintenance Agreements? I¹m thinking that... If Flex 4 isn¹t going to appear for 12-18 months one might as well wait and just pay upgrade prices. Anyone have any success stories to share? (ahem) Release date schedules? Rick Winscot
Re: [flexcoders] Placing cursor inside UITextField
Got this to work: textField.addEventListener(Event.ADDED_TO_STAGE, function(evt:Event):void { var textField:UITextField = evt.currentTarget as UITextField; textField.setFocus(); }); Thanks for everyone's help, Brandon - Original Message From: Andriy Panas [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, September 21, 2008 11:01:23 AM Subject: Re: [flexcoders] Placing cursor inside UITextField Hi Brandon, Use the following to set focus for the textField's instance of UITextField: var textField:UITextFie ld = new UITextField( ); textField.type = input; textField.autoSize = TextFieldAutoSize. LEFT; textField.multiline = true; textField.wordWrap = false; textField.border = false; myContainer. addChild( textField) textField.setFocus( textField) ; Notice, that first you have to add textField to the DisplayChildList of corresponding container via addChild and only then you can call setFocus on it. 2008/9/19 Brandon Krakowsky [EMAIL PROTECTED] com: I'm creating some Input UITextField instances dynamically, and then trying to place the cursor inside. Can't seem to get it working. var textField:UITextFie ld = new UITextField( ); textField.type = input; textField.autoSize = TextFieldAutoSize. LEFT; textField.multiline = true; textField.wordWrap = false; textField.border = false; stage.focus = textField; It seems to get the focus, but doesn't put the cursor inside. Can't just start typing. Also, textField.setFocus( ) doesn't work. -- Med venlig hilsen / Best regards Andriy Panas [EMAIL PROTECTED] com
RE: [flexcoders] Re: problem with the flex application in MAC
Something to look into, but in your page source, the requested player version is 9.0.28 - and that's not released yet, AFAIK. Possibly that produces unwanted behavior on the Mac Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sudha_bsb Sent: Monday, September 22, 2008 2:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: problem with the flex application in MAC Yeah, the same link works in Windows machine. Any idea why this can happen Thanks, Sudha. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: sudha_bsb To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 12:46 PM Subject: [flexcoders] problem with the flex application in MAC Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank screen. What's been tried so far... --Random strip down to no states, It's only by removing all states that it works on Safari, we do know at which point the problem is cleared... Can some help us why this can happen with flex.only with MAC... Please help... Thanks, Sudha. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] e4x problem - filtering elements based on multiple child conditions
This is not a direct answer to your immediate question , but rather a general tip: If you need complex calculations within an e4x expression, you can call out to a function of your own. The () just requires a boolean value, so you can do something like below, where I wanted to a bit of string manipulation within the expression: xlFilteredItems = _xmlData..item.(itemContains(attribute(item),sFilterString)) and the function: private function itemContains(sItem:String, sMatch:String):Boolean { sItem = sItem.toLowerCase(); sMatch = sMatch.toLowerCase(); return (sItem.indexOf(sMatch) != -1); }//contains Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Carter Sent: Monday, September 22, 2008 11:59 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] e4x problem - filtering elements based on multiple child conditions It seems to work it out for you when it can. name.text()[0].toLowerCase() works name.text().toLowerCase() also works if there is exactly one name child of each group element. Daniel Freiman wrote: name.text()[0] will give you a single XML node of Kind string. If you want to operate on it as a string simply do: name.text()[0].toString() -- View this message in context: http://www.nabble.com/e4x-problem---filtering-elements-based-on-multiple -child-conditions-tp19604364p19611043.html http://www.nabble.com/e4x-problem---filtering-elements-based-on-multipl e-child-conditions-tp19604364p19611043.html Sent from the FlexCoders mailing list archive at Nabble.com.
RE: [flexcoders] Re: problem with the flex application in MAC
Please ignore - not at my most alert today. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Monday, September 22, 2008 3:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: problem with the flex application in MAC Something to look into, but in your page source, the requested player version is 9.0.28 - and that's not released yet, AFAIK. Possibly that produces unwanted behavior on the Mac Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sudha_bsb Sent: Monday, September 22, 2008 2:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: problem with the flex application in MAC Yeah, the same link works in Windows machine. Any idea why this can happen Thanks, Sudha. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: I am using a PC and getting a blank screen too and nothing happens, just wanted to let you know. -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: sudha_bsb To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 12:46 PM Subject: [flexcoders] problem with the flex application in MAC Hi, We have a strange problem with the flex application. We have a website developed in flex and it simply doesn't work in MAC. http://www.sportzhubmedia.com/arc2008/ The application makes extensive use of flex states. When viewed via a Mac Osx any verion firefox or safari...gives a blank screen. What's been tried so far... --Random strip down to no states, It's only by removing all states that it works on Safari, we do know at which point the problem is cleared... Can some help us why this can happen with flex.only with MAC... Please help... Thanks, Sudha. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] Is it possible to change showDelay for only errorTips?
Hello All, I know about ToolTipmanager.showDelay. But I want to only affect the showDelay for errorTips, while leaving the rest of the tooltips to display with a proper delay. I'd like to have our errorTips immediately display. Or, if you have any other suggestions on getting the errorTip tooltips to display immediately on a mouseover of the component it's attached to, I'm all ears. Thanks, Todd
RE: [flexcoders] Re: removeChild or delete item in repeater
Yes, manipulate the dataProvider first. You will have much better performance for one thing. Rendering a bunch of unwanted elements is not a good approach. Also, if you DO still want to do complex work with a repeater, put it in a component, and repeat that. Encapsulate the behaviors within the component. You will find its a much more intuitive way to code. Pass in the entire currentItem. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Sunday, September 21, 2008 11:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: removeChild or delete item in repeater --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , urmissinlink [EMAIL PROTECTED] wrote: hey guys, I have a nested repeater as seen below mx:Repeater id=_rpModule dataProvider={A00Module} mx:LinkButton id=_mod label={_rpModule.currentItem.label} click=openModule(event) icon=@Embed(source='img/Expand.png')/ mx:VBox paddingLeft=35 id=vform mx:Repeater id=_rpSubModule dataProvider={A00SubModule} repeatEnd=populateSub(event); mx:LinkButton id=_submod label={_rpSubModule.currentItem.label}/ /mx:Repeater /mx:VBox /mx:Repeater I am running a loop at the RepeatEnd phase to delete the linkbuttons that I don't want, but they are not removing from the screen at all. Why not just filter the dataProvider so as not to add them in the first place?
[flexcoders] Creating TextArea height from String;
Gurus, I want to create or set textarea's height from string(message from other user) I did folwoing code messageBox.htmlText=msg; messageBox.validateNow(); messageBox.height=messageBox.textHeight; but height got chance but stiill it dont work exactly it shows scrollbar to textarea about some percentage of height ,where it shud not suppose to do,if someway I cud get get text areas scrollbar height and reset those or I would love to have your sugestions Sajid RIA developer
Re: [flexcoders] New to FLEX
Yeah, it's a hard line to walk trying to write something that someone without any knowledge of Flex can pick up and use to get started, but also trying to balance some more advanced stuff, all while keeping the page count ridiculously low (we ended up cutting a full chapter after exceeding the For Dummies absolute max allowed, make sure to check out the website on dummies.com for that extra chapter). And the dummies style is also to try to let the reader flip to any chapter without having to have read the previous ones, so that's an added challenge :) Thanks for the support! It's always wonderful to hear nice things. Doug On Mon, Sep 22, 2008 at 12:04 PM, Nancy Gill [EMAIL PROTECTED] wrote: I just picked up a copy on Friday at Borders .. mostly because I saw that it was written by you. My first impression is that it's probably easier than I need, but what really struck me about it is that it seems like a very good reference for getting it ingrained in the brain as to what everything is and does. Congrats, Doug .. despite the title :) .. looks to be a handy one to keep around! Nancy Gill Adobe Community Expert Author: Dreamweaver 8 e-book for the DMX Zone Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003) Technical Editor: Dreamweaver CS3: The Missing Manual, DMX 2004: The Complete Reference, DMX 2004: A Beginner's Guide Mastering Macromedia Contribute Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development - Original Message - From: Doug McCune To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:30 AM Subject: Re: [flexcoders] New to FLEX [Shameless Plug] Flex for Dummies! http://dougmccune.com/blog/flex-for-dummies/ http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920 On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote: Http://feeds.adobe.com http://adobe.com/flex -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: NATA RAJAN To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:51 AM Subject: [flexcoders] New to FLEX Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Be the first one to try the new Messenger 9 Beta! Click here. __ Information from ESET NOD32 Antivirus, version of virus signature database 3460 (20080922) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Re: [flexcoders] New to FLEX
I most definitely will check out the website .. thanks for the tip! Nancy - Original Message - From: Doug McCune To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 12:46 PM Subject: Re: [flexcoders] New to FLEX Yeah, it's a hard line to walk trying to write something that someone without any knowledge of Flex can pick up and use to get started, but also trying to balance some more advanced stuff, all while keeping the page count ridiculously low (we ended up cutting a full chapter after exceeding the For Dummies absolute max allowed, make sure to check out the website on dummies.com for that extra chapter). And the dummies style is also to try to let the reader flip to any chapter without having to have read the previous ones, so that's an added challenge :) Thanks for the support! It's always wonderful to hear nice things. Doug On Mon, Sep 22, 2008 at 12:04 PM, Nancy Gill [EMAIL PROTECTED] wrote: I just picked up a copy on Friday at Borders .. mostly because I saw that it was written by you. My first impression is that it's probably easier than I need, but what really struck me about it is that it seems like a very good reference for getting it ingrained in the brain as to what everything is and does. Congrats, Doug .. despite the title :) .. looks to be a handy one to keep around! Nancy Gill Adobe Community Expert Author: Dreamweaver 8 e-book for the DMX Zone Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003) Technical Editor: Dreamweaver CS3: The Missing Manual, DMX 2004: The Complete Reference, DMX 2004: A Beginner's Guide Mastering Macromedia Contribute Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development - Original Message - From: Doug McCune To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:30 AM Subject: Re: [flexcoders] New to FLEX [Shameless Plug] Flex for Dummies! http://dougmccune.com/blog/flex-for-dummies/ http://www.amazon.com/Adobe-Flex-Dummies-Computer-Tech/dp/0470277920 On Mon, Sep 22, 2008 at 11:28 AM, Sherif Abdou [EMAIL PROTECTED] wrote: Http://feeds.adobe.com http://adobe.com/flex -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: NATA RAJAN To: flexcoders@yahoogroups.com Sent: Monday, September 22, 2008 11:51 AM Subject: [flexcoders] New to FLEX Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Be the first one to try the new Messenger 9 Beta! Click here. __ Information from ESET NOD32 Antivirus, version of virus signature database 3460 (20080922) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 3460 (20080922) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
RE: [flexcoders] New to FLEX
I learned Flex 1 and all subsequent releases by reading the Livedocs, so take a look here: http://livedocs.adobe.com/flex/3/html/help.html?content=Part5_AIR_1.html http://livedocs.adobe.com/flex/3/html/help.html?content=Part5_AIR_1.html Or you might find some articles on the Flex Dev Center: http://www.adobe.com/devnet/flex/ http://www.adobe.com/devnet/flex/ Good luck and dont hesistate to ask questions on this forum. Dimitrios Gianninas RIA Developer Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of NATA RAJAN Sent: Monday, September 22, 2008 12:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] New to FLEX Hi friends am new to FLEX . can u send what are the flex sites to learn and PDF books and sample codings which u worked regards Natarajan Be the first one to try the new Messenger 9 Beta! Click here. http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/win/ -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L’expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s’il est retransmis sans son autorisation. Si vous n’êtes pas le destinataire visé du présent message ou si vous l’avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l’expéditeur.
[flexcoders] ADG Automatically Sorts by [EMAIL PROTECTED]#^
Hi y'all, Yet another interesting one in ADG land I have a dataset being returned from my db which includes a groupName (string) and a displayOrder (int). My db query is setup to sort the data based on the displayOrder. So for example, I have 10 groups...named Group 1, Group 2, etc and each group has their display order set to their group number so Group 1 == displayOrder == 1, Group 2 == displayOrder == 2, Group 10 == displayOrder == 10, etc. I have validated that my web service is indeed passing the data back in the correct order. Silly me, I thought that so long as I ordered my data before I passed it back to the flex app, it would just build the ADG from the dataset in the order in which it was receivedWAY wrong on that one. Turns out the ADG is automatically sorting the data based on the field I am grouping against...in this case the group name. So, since it is a string, the table gets pop'd with Group 1, Group 10, Group 2, Group 3, etc. which completely defeats the purpose of trying to control the display order. I have looked thru all the properties for the ADG and the GroupingCollection/Grouping and haven't found a way to disable this little feature. And nothing online or in the documentation that I have been able to find. So, does anyone know how to turn this off?? Best, Adrian
[flexcoders] force SeriesInterpolate on BubbleSeries to preserve bubble order?
Following is a simplified example of what I'm running into. Basically, BubbleSeries doesn't preserve the order of the bubbles when you switch the dataprovider. Run the following program and click the left and right buttons. ?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; [Bindable] public var d:ArrayCollection = new ArrayCollection([ new ArrayCollection([ {x:1, y:1, z:10}, {x:2, y:2, z:20}, {x:3, y:3, z:30}, ]), new ArrayCollection([ {x:1, y:1, z:20}, {x:2, y:2, z:20}, {x:3, y:3, z:30}, ]) ]); [Bindable] public var i:int = 0; ]] /mx:Script mx:SeriesInterpolate id=interp / mx:BubbleChart mx:series mx:BubbleSeries id=series1 xField=x yField=y radiusField=z creationComplete=series1.dataProvider = d[0] showDataEffect={interp} mx:fills mx:SolidColor color=red/ mx:SolidColor color=green/ mx:SolidColor color=blue/ /mx:fills /mx:BubbleSeries /mx:series /mx:BubbleChart mx:HBox mx:Button label=lt; click=i--; series1.dataProvider = d[i] enabled={i != 0}/ mx:Button label= click=i++; series1.dataProvider = d[i] enabled={i != d.length - 1}/ /mx:HBox /mx:Application What happens is that the blue bubble swaps places with the green bubble and then grows to the size of the green bubble. What I want is for the blue bubble to just grow in place and have the green bubble stay put. Is there some way I'm missing to tell the chart to pay attention to the order of the data? I thought maybe it had something to do with transitionRenderData, but the documentation on it is rather ... brief. -- Jason
RE: [flexcoders] Creating TextArea height from String;
In the past I have personally found Text controls easier to deal with, but you should still be able to do this. It may be that the textHeight property is only exactly what it says it is -- the height of the rendered htmlText in your case. You may need to account for the control's other properties that affect size like the chrome. Assuming messageBox is a TextArea control, perhaps something like: messageBox.height = messageBox.textHeight + messageBox.viewMetrics.top + messageBox.viewMetrics.bottom + messageBox.borderMetrics.top + messageBox.borderMetrics.bottom; HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sajid Hussain Sent: Monday, September 22, 2008 12:46 PM To: Code Subject: [flexcoders] Creating TextArea height from String; Gurus, I want to create or set textarea's height from string(message from other user) I did folwoing code messageBox.htmlText=msg; messageBox.validateNow(); messageBox.height=messageBox.textHeight; but height got chance but stiill it dont work exactly it shows scrollbar to textarea about some percentage of height ,where it shud not suppose to do,if someway I cud get get text areas scrollbar height and reset those or I would love to have your sugestions Sajid RIA developer This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
[flexcoders] Re: Problem with line chart - (show data tips)
I just thought to update this post. Just in case, if someone else is looking for the same thing then he can get the answer on message # 65440 Best! --- In flexcoders@yahoogroups.com, mubasherhaneef [EMAIL PROTECTED] wrote: Hi, I am having problem with lineSeries. I am working on lineChart which contains data over time. There is a requirment of show data tips as-well and for that I used chart.showDattips = true; which was working fine but problem started when I started getting data which is outside the range of my y axis. and I started getting broken lines in my chart, which was giving very bad look to chart. Again for that I used lineSeries.filterData = false; and now I got connected lines on my chart but I loose my datatips. I guess I am missing some small thing. If anybody can point out that then that would be really appreciated. Thanks in advance for your help. Regards! Mubasher
Re: [flexcoders] Re: Flex Maintenance Agreements
You didn't hear this from me, but if you're just buying a small quantity of Flex Builder right now a maintenance agreement probably isn't necessary. It mostly would just provide a guarantee on the upgrade price. Matt On 9/22/08 12:19 PM, Rick Winscot [EMAIL PROTECTED] wrote: So, I'm just trying to save a buck or two. Does anyone have any 'feelings' on Flex Maintenance Agreements? I'm thinking that... If Flex 4 isn't going to appear for 12-18 months - one might as well wait and just pay upgrade prices. Anyone have any success stories to share? (ahem) Release date schedules? Rick Winscot
[flexcoders] Mixing AIR and Flex?
Hey guys, Often I'd like to whip up a little AIR app to generate some code (XML, Java, whatever) based on VOs and mock-generation stuff I've got in a Flex Application, but I can't see a nice way to do it without moving stuff out into a separate Library project which I'd really rather not do :) Is there an easy way to link to non-library projects in Builder? Or to generate a .swc as well as a .swf without a bunch of Ant scripts? These aren't things that would go into production or probably not even into SVN so I'd rather not clog up the project that will with extra build files. Any thoughts? Anybody else trying to do the same thing? -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Mixing AIR and Flex?
Josh, Under your AIR project properties - Flex Build Path - Source path tab you can add a link to an external source directory... once added, you can reference classes via namespace path just as you would with local source folders within the project. Brendan On Mon, Sep 22, 2008 at 5:57 PM, Josh McDonald [EMAIL PROTECTED] wrote: Hey guys, Often I'd like to whip up a little AIR app to generate some code (XML, Java, whatever) based on VOs and mock-generation stuff I've got in a Flex Application, but I can't see a nice way to do it without moving stuff out into a separate Library project which I'd really rather not do :) Is there an easy way to link to non-library projects in Builder? Or to generate a .swc as well as a .swf without a bunch of Ant scripts? These aren't things that would go into production or probably not even into SVN so I'd rather not clog up the project that will with extra build files. Any thoughts? Anybody else trying to do the same thing? -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Brendan Meutzner http://www.meutzner.com/blog/
Re: [flexcoders] Mixing AIR and Flex?
Ah, of course! I never even thought of that, now I feel like a right twat :D Cheers Brendan :) -Josh On Tue, Sep 23, 2008 at 9:11 AM, Brendan Meutzner [EMAIL PROTECTED]wrote: Josh, Under your AIR project properties - Flex Build Path - Source path tab you can add a link to an external source directory... once added, you can reference classes via namespace path just as you would with local source folders within the project. Brendan On Mon, Sep 22, 2008 at 5:57 PM, Josh McDonald [EMAIL PROTECTED] wrote: Hey guys, Often I'd like to whip up a little AIR app to generate some code (XML, Java, whatever) based on VOs and mock-generation stuff I've got in a Flex Application, but I can't see a nice way to do it without moving stuff out into a separate Library project which I'd really rather not do :) Is there an easy way to link to non-library projects in Builder? Or to generate a .swc as well as a .swf without a bunch of Ant scripts? These aren't things that would go into production or probably not even into SVN so I'd rather not clog up the project that will with extra build files. Any thoughts? Anybody else trying to do the same thing? -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Brendan Meutzner http://www.meutzner.com/blog/ -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: New to FLEX
the best book I would recommend is Flex 3 cookbook and Adobe flex 3 training from the source. Great books they teach the basics and then gets into what you really want to know.
Re: [flexcoders] Mixing AIR and Flex?
Eh... I only just figured that out a few weeks ago when I went to do something similar to what you're doing now :-) And it took a bit of figuring to make sure the source root was right... didn't work the first time I tried hooking it up and I scratched my head for a bit. Brendan On Mon, Sep 22, 2008 at 6:17 PM, Josh McDonald [EMAIL PROTECTED] wrote: Ah, of course! I never even thought of that, now I feel like a right twat :D Cheers Brendan :) -Josh On Tue, Sep 23, 2008 at 9:11 AM, Brendan Meutzner [EMAIL PROTECTED]wrote: Josh, Under your AIR project properties - Flex Build Path - Source path tab you can add a link to an external source directory... once added, you can reference classes via namespace path just as you would with local source folders within the project. Brendan On Mon, Sep 22, 2008 at 5:57 PM, Josh McDonald [EMAIL PROTECTED] wrote: Hey guys, Often I'd like to whip up a little AIR app to generate some code (XML, Java, whatever) based on VOs and mock-generation stuff I've got in a Flex Application, but I can't see a nice way to do it without moving stuff out into a separate Library project which I'd really rather not do :) Is there an easy way to link to non-library projects in Builder? Or to generate a .swc as well as a .swf without a bunch of Ant scripts? These aren't things that would go into production or probably not even into SVN so I'd rather not clog up the project that will with extra build files. Any thoughts? Anybody else trying to do the same thing? -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Brendan Meutzner http://www.meutzner.com/blog/ -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Brendan Meutzner http://www.meutzner.com/blog/
Re: [flexcoders] Re: New to FLEX
And read a boatload of blogs! I use bloglines myself, but google reader (or a browser bookmark) will do the trick. Here's the URLs of the Flex / RIA blogs I subscribe to: **I hope this msg doesn't get flagged as spam for all the URLs :) http://blogs.adobe.com/acom/ http://adamflater.blogspot.com/ http://rss.adobe.com/en/flex_cookbook_most_recent.rss http://blogs.adobe.com/aharui/ http://flexdiary.blogspot.com/ http://shigeru-nakagaki.com/index.cfm http://www.boostworthy.com/blog http://www.buntel.com/blog/index.cfm http://www.herrodius.com/blog http://www.darronschall.com/weblog/ http://david.realeyes.com http://davidzuckerman.com/adobe http://www.degrafa.com http://www.dgrigg.com http://dispatchevent.org http://dougmccune.com/blog http://ecmascript.zwetan.com/ http://jwopitz.wordpress.com http://sherifabdou.com http://blog.sunild.com/ http://blog.flexmonkeypatches.com http://www.dehats.com/drupal http://blogs.adobe.com/gosmith/ http://blogs.adobe.com/fcheng/ http://fullasagoog.com/ http://www.gskinner.com/blog/ http://gettingandsetting.com http://www.graviti.tv/blog http://blog.haxe.org http://iamdeepa.com/blog http://blog.iconara.net http://jacwright.com/blog http://ech.net/blog http://www.joeberkovitz.com/blog http://joshblog.net http://www.colettas.org http://office.realeyesmedia.com/blogs/jun http://kennethteo.com http://blog.kevinhoyt.org http://blog.thinkingdigital.org http://weblogs.macromedia.com/mchotin/ http:///blog http://blogs.adobe.com/flex/ http://weblogs.macromedia.com/paulw/ http://www.quasimondo.com/ http://www.riapedia.com http://www.ryangorer.com/blog/ http://thesaj.wordpress.com http://scalenine.com/ http://seantheflexguy.com/blog http://blog.smashedapples.com/ http://www.thetechlabs.com http://www.onflex.org/ted/index.php http://timwalling.com http://www.tink.ws/blog -Josh On Tue, Sep 23, 2008 at 8:31 AM, radwhite81 [EMAIL PROTECTED] wrote: the best book I would recommend is Flex 3 cookbook and Adobe flex 3 training from the source. Great books they teach the basics and then gets into what you really want to know. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Re: New to FLEX
dang, I didn't know about http:///blog that's where all the secrets are! On Mon, Sep 22, 2008 at 4:34 PM, Josh McDonald [EMAIL PROTECTED] wrote: And read a boatload of blogs! I use bloglines myself, but google reader (or a browser bookmark) will do the trick. Here's the URLs of the Flex / RIA blogs I subscribe to: **I hope this msg doesn't get flagged as spam for all the URLs :) http://blogs.adobe.com/acom/ http://adamflater.blogspot.com/ http://rss.adobe.com/en/flex_cookbook_most_recent.rss http://blogs.adobe.com/aharui/ http://flexdiary.blogspot.com/ http://shigeru-nakagaki.com/index.cfm http://www.boostworthy.com/blog http://www.buntel.com/blog/index.cfm http://www.herrodius.com/blog http://www.darronschall.com/weblog/ http://david.realeyes.com http://davidzuckerman.com/adobe http://www.degrafa.com http://www.dgrigg.com http://dispatchevent.org http://dougmccune.com/blog http://ecmascript.zwetan.com/ http://jwopitz.wordpress.com http://sherifabdou.com http://blog.sunild.com/ http://blog.flexmonkeypatches.com http://www.dehats.com/drupal http://blogs.adobe.com/gosmith/ http://blogs.adobe.com/fcheng/ http://fullasagoog.com/ http://www.gskinner.com/blog/ http://gettingandsetting.com http://www.graviti.tv/blog http://blog.haxe.org http://iamdeepa.com/blog http://blog.iconara.net http://jacwright.com/blog http://ech.net/blog http://www.joeberkovitz.com/blog http://joshblog.net http://www.colettas.org http://office.realeyesmedia.com/blogs/jun http://kennethteo.com http://blog.kevinhoyt.org http://blog.thinkingdigital.org http://weblogs.macromedia.com/mchotin/ http:///blog http://blogs.adobe.com/flex/ http://weblogs.macromedia.com/paulw/ http://www.quasimondo.com/ http://www.riapedia.com http://www.ryangorer.com/blog/ http://thesaj.wordpress.com http://scalenine.com/ http://seantheflexguy.com/blog http://blog.smashedapples.com/ http://www.thetechlabs.com http://www.onflex.org/ted/index.php http://timwalling.com http://www.tink.ws/blog -Josh On Tue, Sep 23, 2008 at 8:31 AM, radwhite81 [EMAIL PROTECTED] wrote: the best book I would recommend is Flex 3 cookbook and Adobe flex 3 training from the source. Great books they teach the basics and then gets into what you really want to know. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: New to FLEX
O'reilly's Learning Flex is really good. The book is printed in full color too, so yummy. http://www.amazon.com/Learning-Flex-Internet-Applications-Developer/dp/0596517327
Re: [flexcoders] Re: New to FLEX
That'll teach me to strip my list from bloglines' export with regexes :D On Tue, Sep 23, 2008 at 9:39 AM, Doug McCune [EMAIL PROTECTED] wrote: dang, I didn't know about http:///blog that's where all the secrets are! On Mon, Sep 22, 2008 at 4:34 PM, Josh McDonald [EMAIL PROTECTED] wrote: And read a boatload of blogs! I use bloglines myself, but google reader (or a browser bookmark) will do the trick. Here's the URLs of the Flex / RIA blogs I subscribe to: **I hope this msg doesn't get flagged as spam for all the URLs :) http://blogs.adobe.com/acom/ http://adamflater.blogspot.com/ http://rss.adobe.com/en/flex_cookbook_most_recent.rss http://blogs.adobe.com/aharui/ http://flexdiary.blogspot.com/ http://shigeru-nakagaki.com/index.cfm http://www.boostworthy.com/blog http://www.buntel.com/blog/index.cfm http://www.herrodius.com/blog http://www.darronschall.com/weblog/ http://david.realeyes.com http://davidzuckerman.com/adobe http://www.degrafa.com http://www.dgrigg.com http://dispatchevent.org http://dougmccune.com/blog http://ecmascript.zwetan.com/ http://jwopitz.wordpress.com http://sherifabdou.com http://blog.sunild.com/ http://blog.flexmonkeypatches.com http://www.dehats.com/drupal http://blogs.adobe.com/gosmith/ http://blogs.adobe.com/fcheng/ http://fullasagoog.com/ http://www.gskinner.com/blog/ http://gettingandsetting.com http://www.graviti.tv/blog http://blog.haxe.org http://iamdeepa.com/blog http://blog.iconara.net http://jacwright.com/blog http://ech.net/blog http://www.joeberkovitz.com/blog http://joshblog.net http://www.colettas.org http://office.realeyesmedia.com/blogs/jun http://kennethteo.com http://blog.kevinhoyt.org http://blog.thinkingdigital.org http://weblogs.macromedia.com/mchotin/ http:///blog http://blogs.adobe.com/flex/ http://weblogs.macromedia.com/paulw/ http://www.quasimondo.com/ http://www.riapedia.com http://www.ryangorer.com/blog/ http://thesaj.wordpress.com http://scalenine.com/ http://seantheflexguy.com/blog http://blog.smashedapples.com/ http://www.thetechlabs.com http://www.onflex.org/ted/index.php http://timwalling.com http://www.tink.ws/blog -Josh On Tue, Sep 23, 2008 at 8:31 AM, radwhite81 [EMAIL PROTECTED] wrote: the best book I would recommend is Flex 3 cookbook and Adobe flex 3 training from the source. Great books they teach the basics and then gets into what you really want to know. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. http://flex.joshmcdonald.info/ :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]