[flexcoders] set focus to iframe
Hi I have an application with an iframe showing pdf file at the top and an advanced datagrid(editable) at the bottom I want to set focus to the pdf while entering data in datagrid by pressing ctrl+t. I added listner for key down and used iframe.setFocus(); ya i know it will not work. how can I achive this.. this is similar as Alt + tab change to next open window in the same way i want to implement this.. any suggestions are appreciated. With Regards, Niamath Basha
RE: [flexcoders] This mailing list vs the forum.
It kind of works... It only mangles some code samples, I've never had problems with the subject lines (though I know others have), and I get threading via outlook some of the time (though outlook has the same problem with this mailing list). It's usable enough for me to prefer it over actually visiting the forums. 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 is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: 13 August 2009 16:39 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] This mailing list vs the forum. On Thursday 13 Aug 2009, Gregor Kiddie wrote: It does have to be said, I use the Mailing list functionality of the Adobe forums rather than visiting the forum directly... Last time I checked, this was utterly broken. With mangled bodies, mangled subject lines and the lack of correct headers to allow threading.
Re: [flexcoders] This mailing list vs the forum.
can anyone help me in problem. when iam running my flex application which is connected to apache tomcat server tomcat stops after 3-4 records are inserted or deleted or any modification is done. I am connecting to tomcat thru struts application. Please any one help me. S.Purnima
[flexcoders] Re: This mailing list vs the forum.
Hi all, This mailling lixt is now over 146.000 messages posted. Most answers to possible questions are already here, for the trouble of a search. This accumulated wealth of information extends over many years... so to cut a long story.., I vote for this flexcoders mailing list! (and a simple question: where was the flex developers forum, when needed?) Thanks, George --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: It kind of works... It only mangles some code samples, I've never had problems with the subject lines (though I know others have), and I get threading via outlook some of the time (though outlook has the same problem with this mailing list). It's usable enough for me to prefer it over actually visiting the forums. 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 is.helpd...@... From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: 13 August 2009 16:39 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] This mailing list vs the forum. On Thursday 13 Aug 2009, Gregor Kiddie wrote: It does have to be said, I use the Mailing list functionality of the Adobe forums rather than visiting the forum directly... Last time I checked, this was utterly broken. With mangled bodies, mangled subject lines and the lack of correct headers to allow threading.
[flexcoders] Re: This mailing list vs the forum.
I'm actually surprised that you refer to FlexCoders as this mailing list. I only see it in Yahoo Groups, and I visit it when I choose to, just like a forum. I guess it can be used either way. Like another poster said, last time I used the Adobe forums, a few months ago, they were totally broken. Search didn't work at all. Maybe they have been fixed. It was also extremely frustrating because I spent *hours* trying to figure out how to report the broken forum to somebody. Eventually I sent a personal email message to somebody at Adobe whose email address I had. The Adobe Web Site has contact us links that are for things like buying their products but has no way at all to report something like a broken web page or a broken link. It seemed to me like Adobe is a company that makes great technology but thinks they are so good that they don't need to bother with something as basic as letting users contact them to report problems. --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: I saw a mail a while ago about new Adobe forums. Those of you who use both which do you perfer flexcoders or the Adobe forums? I've an impression that the community is pretty strong here. ] Please only answer If you use both. Its not a real opinion to get the opinion of someone who only uses the group as they can't compare. Regards, Wes
[flexcoders] Re: This mailing list vs the forum.
Hi again, I used the word this in the phrase this mailing list, literally. Refering (indicating) to this instead of that, (or any other...). Certainly not trying to diminish this mailing list i.e. FlexCoders (...mailing list) But as the context of my message is pretty clear and as I vote for this mailing list I think all is set, besides english grammar and syntax.. :) Thanks George --- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... wrote: I'm actually surprised that you refer to FlexCoders as this mailing list. I only see it in Yahoo Groups, and I visit it when I choose to, just like a forum. I guess it can be used either way. Like another poster said, last time I used the Adobe forums, a few months ago, they were totally broken. Search didn't work at all. Maybe they have been fixed. It was also extremely frustrating because I spent *hours* trying to figure out how to report the broken forum to somebody. Eventually I sent a personal email message to somebody at Adobe whose email address I had. The Adobe Web Site has contact us links that are for things like buying their products but has no way at all to report something like a broken web page or a broken link. It seemed to me like Adobe is a company that makes great technology but thinks they are so good that they don't need to bother with something as basic as letting users contact them to report problems. --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.acheson@ wrote: I saw a mail a while ago about new Adobe forums. Those of you who use both which do you perfer flexcoders or the Adobe forums? I've an impression that the community is pretty strong here. ] Please only answer If you use both. Its not a real opinion to get the opinion of someone who only uses the group as they can't compare. Regards, Wes
[flexcoders] Re: Someone have sometime to help me develop a datagrid before this weekend? Key word is help me - not write for me.
I don't use XML (I use typed objects) but I can help where I can. In answer to your questions... 1. Yes. 2. Yes (Well, I'm pretty sure. I haven't done it myself) 3. Yes. 4. Sure. Steve --- In flexcoders@yahoogroups.com, Raymond Brown silenttr...@... wrote: Anyone, Wwas wondering if I could ask a couple of questions - aside from this one. 1. Is it possible to 'solely' in actionscript make a datagrid from an arraycollection? I am trying and it keeps dying. 2. Is it possible to have the cells in a datagrid show one of three png images all changing on the fly as the data changes? I figure if I build the grid correctly in AS then when I update the dataprovider it will update the grid in real time. 3. Is it possible to put a different tooltip on each cell in the datagrid? - so I can say show the IP address as seen below in the arraycollection but not in the grid itself. 4. Would you have the time and/interest in helping me forge my way through this? I don't want you to write it all - I just want someone to help me think my way through it before this weekend. I want to write it myself - i.e. learn but need someone available to point me toward my mistakes and help me through it via code suggestion and or known tutorials. Sample of my what I am dealing with private var _columnHeaderArray:Array = [3750, Serimux, Novatel, 4033, 4039]; private var _aliveDeadArrayCollection:ArrayCollection; Then when the httpservice call returns my xml file I do this: _aliveDeadArrayCollection = result as ArrayCollection; My mxml from before was like this - mx:columns mx:DataGridColumn dataField=site headerText=Location mx:itemRenderer mx:Component mx:VBox horizontalAlign=center verticalAlign=middle mx:Image source={'assets/'+data.router} verticalAlign=middle horizontalAlign=center width=50 height=50/ /mx:VBox /mx:Component /mx:itemRenderer /mx:DataGridColumn -r
Re: [flexcoders] This mailing list vs the forum.
On Thu, Aug 13, 2009 at 5:38 PM, Tom Chiverton wrote: On Thursday 13 Aug 2009, Gregor Kiddie wrote: It does have to be said, I use the Mailing list functionality of the Adobe forums rather than visiting the forum directly... Last time I checked, this was utterly broken. With mangled bodies The fix is due on August 24th: http://www.jivesoftware.com/jivespace/thread/46593 Could use some pushing at Adobe to convince them to update their outdated 2.5.7 to 2.5.16. mangled subject lines Fixed. the lack of correct headers to allow threading. Will be fixed when hell freezes over: http://www.jivesoftware.com/jivespace/thread/50602 Jochem -- Jochem van Dieten http://jochem.vandieten.net/
[flexcoders] Crash while using MenuBar from a module.
I am creating three projects as following:- 1. MainApp: Main project that give output executable swf, i.e main application. 2. MyFramework: A flex library project, which will contain all the interface declarations. 3. CustomModule: A flex project, which will generate one/more module/s, which will be loaded in the mainApp. The Settings for the projects is as following:- MainApp: Flex Build Path: Library Path: Framework linkage is RSL, Flex SDK is added with following settings:- Playerglobal: LinkType=external flex: LinkType=rsl, Verification = None, DeploymentPath=flex/flex.swf, Automatically extract swf is enabled. framework: LinkType=rsl, Verification = None, DeploymentPath=flex/framework.swf, Automatically extract swf is enabled. rpc: LinkType=rsl, Verification = None, DeploymentPath=flex/rpc.swf, Automatically extract swf is enabled. utilities: LinkType=rsl, Verification = None, DeploymentPath=flex/utilities.swf, Automatically extract swf is enabled. MyFramework: LinkType=rsl, Verification = none, DeploymentPath=rsls/MyFramework.swf, Automatically extract swf is enabled. Compiler arguments: -load-config+=Appconfig.xml -link-report=MainAppLnkReport.xml MyFramework: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml CustomModule: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml -load-externs=path to MainAppLnkReport.xml generated above. Code: From MainApp, CustomModule is load code is as following:- moduleInfo = ModuleManager.getModule(path to CustomModule.swf); moduleInfo.addEventListener(ModuleEvent.READY,onModuleLoad,false,0,true); moduleInfo.addEventListener(ModuleEvent.ERROR,onModuleError,false,0,true); moduleInfo.load(ApplicationDomain.currentDomain); onModuleLoad(event :ModuleEvent) :void var moduleInfo :IModuleInfo = event.module; var module:* = moduleInfo.factory.create(); Using an interface defined in MyFramewok, and implemented by CustomModule, I call a function that create an instance of MenuBar. The instance is created, but on calling addChild( menuBarObj as DisplayObject); I get crash at mx.controls::MenuBar/updateBackground at var backgroundSkinClass:Class = getStyle(backgroundSkin); background = new backgroundSkinClass(); backgroundSkinClass is null. Callstack after my addChild statement is mx.controls::MenuBar/updateBackground mx.controls::MenuBar/styleChanged mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/addChildAt mx.core::Container/addChild I have already tried: 1. Creating a variable of MenuBar in MainApp, this resolves the crash, but not an accepted solutions, as MainApp cannot be complied again on creating another module. 2. Extend CustomModule from Module class. 3. Similar issue is with checkbox, where application does not crash, but draws like a button. Checkbox issue gets resolved if CustomModule extends Module. or theme is added to Appconfig.xml theme append=true filename${flexlib}/libs/framework.swc/filename /theme 4. Different settings for Flex sdk in Library Path. i.e MergeIntoCode, External. Already tried http://www.mail-archive.com/flexcoders@yahoogroups.com/msg84466.html Thanks in advance, Rajkumar Sehrawat
[flexcoders] Changing chart preferred size
The flex API points to the fact that the ChartBase (and the other charts that are derived from it) have a preferred size of 400x400 (towards the top of http://livedocs.adobe.com/flex/3/langref/mx/charts/chartClasses/ChartBase.html). I am having an issue where I want the chart to take up 100% of the container that it is in (so when it is resized, it stays the same size as the container). By simply specifying percentWidth and percentHeight as 100 - when the dimension of the container is less than 400, the chart resizes properly; however, when the dimension of the container becomes larger than 400, the chart remains at the 400x400 size. Is there a way to change or remove this preferred size constraint from the chart? I've looked through all the variables and functions that seem relevant, but none of them have the intended effect. -Aaron
[flexcoders] Crash while using MenuBar from a module.
I am creating three projects as following:- 1. MainApp: Main project that give output executable swf, i.e main application. 2. MyFramework: A flex library project, which will contain all the interface declarations. 3. CustomModule: A flex project, which will generate one/more module/s, which will be loaded in the mainApp. The Settings for the projects is as following:- MainApp: Flex Build Path: Library Path: Framework linkage is RSL, Flex SDK is added with following settings:- Playerglobal: LinkType=external flex: LinkType=rsl, Verification = None, DeploymentPath=flex/flex.swf, Automatically extract swf is enabled. framework: LinkType=rsl, Verification = None, DeploymentPath=flex/framework.swf, Automatically extract swf is enabled. rpc: LinkType=rsl, Verification = None, DeploymentPath=flex/rpc.swf, Automatically extract swf is enabled. utilities: LinkType=rsl, Verification = None, DeploymentPath=flex/utilities.swf, Automatically extract swf is enabled. MyFramework: LinkType=rsl, Verification = none, DeploymentPath=rsls/MyFramework.swf, Automatically extract swf is enabled. Compiler arguments: -load-config+=Appconfig.xml -link-report=MainAppLnkReport.xml MyFramework: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml CustomModule: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml -load-externs=path to MainAppLnkReport.xml generated above. Code: From MainApp, CustomModule is load code is as following:- moduleInfo = ModuleManager.getModule(path to CustomModule.swf); moduleInfo.addEventListener(ModuleEvent.READY,onModuleLoad,false,0,true); moduleInfo.addEventListener(ModuleEvent.ERROR,onModuleError,false,0,true); moduleInfo.load(ApplicationDomain.currentDomain); onModuleLoad(event :ModuleEvent) :void var moduleInfo :IModuleInfo = event.module; var module:* = moduleInfo.factory.create(); Using an interface defined in MyFramewok, and implemented by CustomModule, I call a function that create an instance of MenuBar. The instance is created, but on calling addChild( menuBarObj as DisplayObject); I get crash at mx.controls::MenuBar/updateBackground at var backgroundSkinClass:Class = getStyle(backgroundSkin); background = new backgroundSkinClass(); backgroundSkinClass is null. Callstack after my addChild statement is mx.controls::MenuBar/updateBackground mx.controls::MenuBar/styleChanged mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/addChildAt mx.core::Container/addChild I have already tried: 1. Creating a variable of MenuBar in MainApp, this resolves the crash, but not an accepted solutions, as MainApp cannot be complied again on creating another module. 2. Extend CustomModule from Module class. 3. Similar issue is with checkbox, where application does not crash, but draws like a button. Checkbox issue gets resolved if CustomModule extends Module. or theme is added to Appconfig.xml theme append=true filename${flexlib}/libs/framework.swc/filename /theme 4. Different settings for Flex sdk in Library Path. i.e MergeIntoCode, External. Already tried http://www.mail-archive.com/flexcoders@yahoogroups.com/msg84466.html Thanks in advance, Rajkumar Sehrawat
Re: [flexcoders] Data binding inside Repeater?
And what if Object would not be generic Object but rather class DataProviderContainer { [Bindable]public var dataProvider:ArrayCollection;} I assume your dynamic property dataProvider on Object is not bindable. Roman Protsiuk Software Engineer/Engineering Team Lead http://under.in.ua Kyiv, Ukraine (GMT+2) mobile: +38 097 321 56 54 email: roman.prots...@gmail.com%3C/span%3eroman.prots...@gmail.com skype: roman.protsiuk linkedin: http://www.linkedin.com/in/romanpv blogspot: http://roma-ch.blogspot.com On Fri, Aug 14, 2009 at 12:53 AM, gmbroth gmbr...@hotmail.com wrote: Hi, I'm having a bit of trouble using the following combination of data binding and Repeater and could use some enlightenment: mx:ArrayCollection id=fred some data here... /mx:ArrayCollection mx:ArrayCollection id=measurements mx:Object dataProvider={fred} / /mx:ArrayCollection mx:Repeater id=measurementRepeater dataProvider=measurements my:Chart dataProvider={measurementRepeater.currentItem.dataProvider} / /mx:Repeater The intention is to have my chart bind to 'fred' via the Repeater iteration over measurements, a kind of double-binding, I suppose. My chart component does render the initial data in 'fred' but doesn't respond to subsequent changes to 'fred', i.e., I'm not getting dynamic binding. But if I change the repeater line above to this: my:Chart dataProvider={fred} / then everything works as expected. Is there a way to do in MXML what I'm trying to do above? Thanks, Garry
[flexcoders] What is the best material to learn Flex 3 and AS3?
I got 2 books , one Flex 3 cookbook and it seems to difficult to follow. I purchased Actionscript 3(Lynda.com) video with Joel Lott and that seems hard to follow as well.All that addlistener dispatcher seems pure Hebrew to me. I only did a little bit of html in my life so maybe Flex 3 is too much for me? Any suggestions that you may have that could help me learn Flex 3?
[flexcoders] DITA to Adobe Flex (A challenge too great for humanity...)
For those of you who are uninitiated in DITA, it is a single-source xml format that can be converted into HTML, PDF, AIR, and CHM. I am now tasked with taking existing DITA content (which can become any of the formats above), which we have now authored a healthy amount of, and making this content display within an Adobe flex swf. Here is the real rub, this swf will not run inside of a browser, and thusly I can't just convert all the content to HTML and use an iFrame to hackishly display the HTML content inside of it. Nor may I use any of the methods for HTML display in Flex that use the actual browser. I've tried to use the htmltext tag in Flex to display the HTML content in a flex app, but this tag is far too weak. It doesn't do tables, it basically ignores spans and divs. Plus from what I understand CSS (In the W3C format) doesn't play nicely with mxml or ActionScript (They say there is css support in ActionScript 3.0, but this is a lie as it seems to impose all sorts of restrictions and won't get applied only on specific tags within the htmltext section). However, there is a possiblity that I am using ActionScipt CSS wrong (I have less than a week mxml experience and less than a month AS experience). I am hoping that I will not need to resort to taking the PDF output, converting it to JPG or SWF and throwing it into an App, but things are looking bleaker by the day. If anyone has any advice at all to get any of these forms into a flex app that can't utilize the web browser, it would be massively appreciated.
Re: [flexcoders] Re: This mailing list vs the forum.
I think this was fore me. I use it as a mailing list. I get all the mails I think. I didn't mean anything negative by calling it this rather than the name. On Fri, Aug 14, 2009 at 1:23 PM, grg_blls grg_b...@yahoo.com wrote: Hi again, I used the word this in the phrase this mailing list, literally. Refering (indicating) to this instead of that, (or any other...). Certainly not trying to diminish this mailing list i.e. FlexCoders (...mailing list) But as the context of my message is pretty clear and as I vote for this mailing list I think all is set, besides english grammar and syntax.. :) Thanks George --- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... wrote: I'm actually surprised that you refer to FlexCoders as this mailing list. I only see it in Yahoo Groups, and I visit it when I choose to, just like a forum. I guess it can be used either way. Like another poster said, last time I used the Adobe forums, a few months ago, they were totally broken. Search didn't work at all. Maybe they have been fixed. It was also extremely frustrating because I spent *hours* trying to figure out how to report the broken forum to somebody. Eventually I sent a personal email message to somebody at Adobe whose email address I had. The Adobe Web Site has contact us links that are for things like buying their products but has no way at all to report something like a broken web page or a broken link. It seemed to me like Adobe is a company that makes great technology but thinks they are so good that they don't need to bother with something as basic as letting users contact them to report problems. --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.acheson@ wrote: I saw a mail a while ago about new Adobe forums. Those of you who use both which do you perfer flexcoders or the Adobe forums? I've an impression that the community is pretty strong here. ] Please only answer If you use both. Its not a real opinion to get the opinion of someone who only uses the group as they can't compare. Regards, Wes -- 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] Crash while using MenuBar from a module.
I am creating three projects as following:- 1. MainApp: Main project that give output executable swf, i.e main application. 2. MyFramework: A flex library project, which will contain all the interface declarations. 3. CustomModule: A flex project, which will generate one/more module/s, which will be loaded in the mainApp. The Settings for the projects is as following:- MainApp: Flex Build Path: Library Path: Framework linkage is RSL, Flex SDK is added with following settings:- Playerglobal: LinkType=external flex: LinkType=rsl, Verification = None, DeploymentPath=flex/flex.swf, Automatically extract swf is enabled. framework: LinkType=rsl, Verification = None, DeploymentPath=flex/framework.swf, Automatically extract swf is enabled. rpc: LinkType=rsl, Verification = None, DeploymentPath=flex/rpc.swf, Automatically extract swf is enabled. utilities: LinkType=rsl, Verification = None, DeploymentPath=flex/utilities.swf, Automatically extract swf is enabled. MyFramework: LinkType=rsl, Verification = none, DeploymentPath=rsls/MyFramework.swf, Automatically extract swf is enabled. Compiler arguments: -load-config+=Appconfig.xml -link-report=MainAppLnkReport.xml MyFramework: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml CustomModule: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml -load-externs=path to MainAppLnkReport.xml generated above. Code: From MainApp, CustomModule is load code is as following:- moduleInfo = ModuleManager.getModule(path to CustomModule.swf); moduleInfo.addEventListener(ModuleEvent.READY,onModuleLoad,false,0,true); moduleInfo.addEventListener(ModuleEvent.ERROR,onModuleError,false,0,true); moduleInfo.load(ApplicationDomain.currentDomain); onModuleLoad(event :ModuleEvent) :void var moduleInfo :IModuleInfo = event.module; var module:* = moduleInfo.factory.create(); Using an interface defined in MyFramewok, and implemented by CustomModule, I call a function that create an instance of MenuBar. The instance is created, but on calling addChild( menuBarObj as DisplayObject); I get crash at mx.controls::MenuBar/updateBackground at var backgroundSkinClass:Class = getStyle(backgroundSkin); background = new backgroundSkinClass(); backgroundSkinClass is null. Callstack after my addChild statement is mx.controls::MenuBar/updateBackground mx.controls::MenuBar/styleChanged mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/addChildAt mx.core::Container/addChild I have already tried: 1. Creating a variable of MenuBar in MainApp, this resolves the crash, but not an accepted solutions, as MainApp cannot be complied again on creating another module. 2. Extend CustomModule from Module class. 3. Similar issue is with checkbox, where application does not crash, but draws like a button. Checkbox issue gets resolved if CustomModule extends Module. or theme is added to Appconfig.xml theme append=true filename${flexlib}/libs/framework.swc/filename /theme 4. Different settings for Flex sdk in Library Path. i.e MergeIntoCode, External. Already tried http://www.mail-archive.com/flexcoders@yahoogroups.com/msg84466.html Thanks in advance, Rajkumar Sehrawat
[flexcoders] TabNavigator - events children get on tab show
If I have a component in a Tabnavigator what event does that component receive when the tab navigator changes to show it ? It's not FlexEvent.SHOW for instance... -- Tom Chiverton Developer tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB 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 together with a list of those non members who are referred to as partners. We use the word “partner” to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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.
RE: [flexcoders] Crash while using MenuBar from a module.
Post the stack trace. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Rajkumar Sent: Thursday, August 13, 2009 11:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Crash while using MenuBar from a module. I am creating three projects as following:- 1. MainApp: Main project that give output executable swf, i.e main application. 2. MyFramework: A flex library project, which will contain all the interface declarations. 3. CustomModule: A flex project, which will generate one/more module/s, which will be loaded in the mainApp. The Settings for the projects is as following:- MainApp: Flex Build Path: Library Path: Framework linkage is RSL, Flex SDK is added with following settings:- Playerglobal: LinkType=external flex: LinkType=rsl, Verification = None, DeploymentPath=flex/flex.swf, Automatically extract swf is enabled. framework: LinkType=rsl, Verification = None, DeploymentPath=flex/framework.swf, Automatically extract swf is enabled. rpc: LinkType=rsl, Verification = None, DeploymentPath=flex/rpc.swf, Automatically extract swf is enabled. utilities: LinkType=rsl, Verification = None, DeploymentPath=flex/utilities.swf, Automatically extract swf is enabled. MyFramework: LinkType=rsl, Verification = none, DeploymentPath=rsls/MyFramework.swf, Automatically extract swf is enabled. Compiler arguments: -load-config+=Appconfig.xml -link-report=MainAppLnkReport.xml MyFramework: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml CustomModule: Flex Build path settings are similar to MainApp. Compiler arguments: -load-config+=MyFrameworkconfig.xml -load-externs=path to MainAppLnkReport.xml generated above. Code: From MainApp, CustomModule is load code is as following:- moduleInfo = ModuleManager.getModule(path to CustomModule.swf); moduleInfo.addEventListener(ModuleEvent.READY,onModuleLoad,false,0,true); moduleInfo.addEventListener(ModuleEvent.ERROR,onModuleError,false,0,true); moduleInfo.load(ApplicationDomain.currentDomain); onModuleLoad(event :ModuleEvent) :void var moduleInfo :IModuleInfo = event.module; var module:* = moduleInfo.factory.create(); Using an interface defined in MyFramewok, and implemented by CustomModule, I call a function that create an instance of MenuBar. The instance is created, but on calling addChild( menuBarObj as DisplayObject); I get crash at mx.controls::MenuBar/updateBackground at var backgroundSkinClass:Class = getStyle(backgroundSkin); background = new backgroundSkinClass(); backgroundSkinClass is null. Callstack after my addChild statement is mx.controls::MenuBar/updateBackground mx.controls::MenuBar/styleChanged mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild mx.core::Container/addChildAt mx.core::Container/addChild I have already tried: 1. Creating a variable of MenuBar in MainApp, this resolves the crash, but not an accepted solutions, as MainApp cannot be complied again on creating another module. 2. Extend CustomModule from Module class. 3. Similar issue is with checkbox, where application does not crash, but draws like a button. Checkbox issue gets resolved if CustomModule extends Module. or theme is added to Appconfig.xml theme append=true filename${flexlib}/libs/framework.swc/filename /theme 4. Different settings for Flex sdk in Library Path. i.e MergeIntoCode, External. Already tried http://www.mail-archive.com/flexcoders@yahoogroups.com/msg84466.html Thanks in advance, Rajkumar Sehrawat
[flexcoders] Re: What is the best material to learn Flex 3 and AS3?
Start with the Adobe Flex in a Week video training at http://www.adobe.com/devnet/flex/videotraining/ --- In flexcoders@yahoogroups.com, fred44455 fred44...@... wrote: I got 2 books , one Flex 3 cookbook and it seems to difficult to follow. I purchased Actionscript 3(Lynda.com) video with Joel Lott and that seems hard to follow as well.All that addlistener dispatcher seems pure Hebrew to me. I only did a little bit of html in my life so maybe Flex 3 is too much for me? Any suggestions that you may have that could help me learn Flex 3?
Re: [flexcoders] This mailing list vs the forum.
On Friday 14 Aug 2009, Jochem van Dieten wrote: the lack of correct headers to allow threading. Will be fixed when hell freezes over: http://www.jivesoftware.com/jivespace/thread/50602 The hell ... !?! -- Helping to continually optimize bricks-and-clicks transparent mindshares as part of the IT team of the year, '09 and '08 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 together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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] Event Best Practices
Super Noob Question Incoming - So if I my application looks like the following - mx:app mx:customComponent mx:customComponent / /mx:customComponent /mx:app That deepest custom component dispatches an event and I would like that event to make it to the application level. Is that even normal to have components that nested? Thanks for any insight, Jason
[flexcoders] Re: Data binding inside Repeater?
Brilliant! Thank you. --- In flexcoders@yahoogroups.com, Roman Protsiuk roman.prots...@... wrote: And what if Object would not be generic Object but rather class DataProviderContainer { [Bindable]public var dataProvider:ArrayCollection;} I assume your dynamic property dataProvider on Object is not bindable. Roman Protsiuk Software Engineer/Engineering Team Lead http://under.in.ua Kyiv, Ukraine (GMT+2) mobile: +38 097 321 56 54 email: roman.prots...@...%3C/span%3eroman.prots...@... skype: roman.protsiuk linkedin: http://www.linkedin.com/in/romanpv blogspot: http://roma-ch.blogspot.com On Fri, Aug 14, 2009 at 12:53 AM, gmbroth gmbr...@... wrote: Hi, I'm having a bit of trouble using the following combination of data binding and Repeater and could use some enlightenment: mx:ArrayCollection id=fred some data here... /mx:ArrayCollection mx:ArrayCollection id=measurements mx:Object dataProvider={fred} / /mx:ArrayCollection mx:Repeater id=measurementRepeater dataProvider=measurements my:Chart dataProvider={measurementRepeater.currentItem.dataProvider} / /mx:Repeater The intention is to have my chart bind to 'fred' via the Repeater iteration over measurements, a kind of double-binding, I suppose. My chart component does render the initial data in 'fred' but doesn't respond to subsequent changes to 'fred', i.e., I'm not getting dynamic binding. But if I change the repeater line above to this: my:Chart dataProvider={fred} / then everything works as expected. Is there a way to do in MXML what I'm trying to do above? Thanks, Garry
[flexcoders] Re: Changing chart preferred size
That can't be right. Have you seen the Flex Dashboard app at http://examples.adobe.com/flex3/devnet/dashboard/main.html ? If you minimize all the panels except the pie chart panel, you will note the pie chart gets much larger than 400x400 and piechart is derived from chartbase. You should probably download the source from there and see how they do it. HTH Steve --- In flexcoders@yahoogroups.com, aaronsarnoff aaronsarn...@... wrote: The flex API points to the fact that the ChartBase (and the other charts that are derived from it) have a preferred size of 400x400 (towards the top of http://livedocs.adobe.com/flex/3/langref/mx/charts/chartClasses/ChartBase.html). I am having an issue where I want the chart to take up 100% of the container that it is in (so when it is resized, it stays the same size as the container). By simply specifying percentWidth and percentHeight as 100 - when the dimension of the container is less than 400, the chart resizes properly; however, when the dimension of the container becomes larger than 400, the chart remains at the 400x400 size. Is there a way to change or remove this preferred size constraint from the chart? I've looked through all the variables and functions that seem relevant, but none of them have the intended effect. -Aaron
RE: [flexcoders] Event Best Practices
Maybe it's just me . but I usually stick all my custom components in separate files. As long As you import them correctly in the main app, you should be able to bubble events up. -jake _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jdizowat Sent: Friday, August 14, 2009 8:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Event Best Practices Super Noob Question Incoming - So if I my application looks like the following - mx:app mx:customComponent mx:customComponent / /mx:customComponent /mx:app That deepest custom component dispatches an event and I would like that event to make it to the application level. Is that even normal to have components that nested? Thanks for any insight, Jason
[flexcoders] Re: Event Best Practices
Sure. I have way more nesting than that. Although it would look more like: mx:app mx:customComponent / /mx:app mx:customComponent mx:anotherCustomComponent/ /mx:customComponent For your events, set bubbling to true and the event will bubble up to the application level. HTH Steve --- In flexcoders@yahoogroups.com, jdizowat jasonharr...@... wrote: Super Noob Question Incoming - So if I my application looks like the following - mx:app mx:customComponent mx:customComponent / /mx:customComponent /mx:app That deepest custom component dispatches an event and I would like that event to make it to the application level. Is that even normal to have components that nested? Thanks for any insight, Jason
[flexcoders] Re: TabNavigator - events children get on tab show
From memory, on first show it's creationcomplete. After that, it's show. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: If I have a component in a Tabnavigator what event does that component receive when the tab navigator changes to show it ? It's not FlexEvent.SHOW for instance... -- Tom Chiverton Developer tom.chiver...@... 3 Hardman Square, Manchester, M3 3EB 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 together with a list of those non members who are referred to as partners. We use the word âpartnerâ to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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.
RE: [flexcoders] Event Best Practices
Look at adding event metadata. If you add an event called myCustomEvent in the metadata and dispatch it from the inner component, you are able to handle it from the outer component like this: mx:app mx:customComponent / mx:customComponent / /mx:customComponent myCustomEvent=handleMyCustomEvent(event) / /mx:app That's the easy way to do it. If you have multiple levels of nesting, I've found it easiest to use a Model Singleton that extends EventDispatcher and dispatch the events and listen to the events through the model. That's the more complicated way to handle it. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jdizowat Sent: Friday, August 14, 2009 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Event Best Practices Super Noob Question Incoming - So if I my application looks like the following - mx:app mx:customComponent mx:customComponent / /mx:customComponent /mx:app That deepest custom component dispatches an event and I would like that event to make it to the application level. Is that even normal to have components that nested? Thanks for any insight, Jason No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.56/2302 - Release Date: 08/14/09 06:10:00
[flexcoders] code hinting won't work occasionally since switch to ant builds
Ever since I started using ant to build my app, every once in a while I get a situation where one project is not seeing (as in code hinting) classes from other projects that are dependencies. I thought that refreshing the workspace fixed the problem, but this time around, that is not helping. Anyone have any ideas how I might fix this problem?
[flexcoders] Re: ItemRenderer Effects Virtualization
Perhaps its not possible due to the virtualization? On Thu, Aug 13, 2009 at 7:34 PM, Baz li...@thinkloop.com wrote: Is it possible to implement effects on virtualized itemrenderers? What about if the change in underlying data is based on an ArrayCollection filterFunction? Basically, I show/hide items based on keywords users type. I would like to fade the items in and out when they are shown/hidden. The show/hide is implemented using a filterFunction on my source ArrayCollection, so the data isn't actually being added/removed. Thoughts? Cheers, Baz
[flexcoders] Looking for Flex Developers to participate in research study
Hey all, Adobe is conducting a User Research study to learn more about the work flows of Flex Developers. If you are currently working with Flex in a professional capacity we would really like to hear from you. If you are interested in providing Adobe with feedback about your use of Flex and other Adobe products, please click on the link below and complete our survey. Adobe will be in contact with you if you align with our target characteristics. https://www.surveymonkey.com/s.aspx?sm=Y0TZW9_2fG_2btX8vFDqXWFnog_3d_3d Thanks! Matt
[flexcoders] Java/Flex questions answered by James Ward
Hello Devs, James Ward the Technical Evangelist for Flex at Adobe encourages all to post RIA related questions in his blog. I asked him JAVA/LCDS questions before and got instant answer from him. If you have JAVA/BlazeDS/ LCDS related questions then you can post it here: http://www.jamesward.com/blog/
RE: [flexcoders] Java/Flex questions answered by James Ward
Thanks for the plug. I'm using StackOverflow.com to manage the questions. Just tag them with riacowboy so that I can find them. I'm seeing a big shift from the Adobe forums, flexcoders, etc to Stack Overflow - so hopefully many here will start getting more involved in Stack Overflow. BTW: Here is the Ask The RIA Cowboy post: http://www.jamesward.com/blog/ask-the-ria-cowboy/ -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hworke Sent: Friday, August 14, 2009 11:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Java/Flex questions answered by James Ward Hello Devs, James Ward the Technical Evangelist for Flex at Adobe encourages all to post RIA related questions in his blog. I asked him JAVA/LCDS questions before and got instant answer from him. If you have JAVA/BlazeDS/ LCDS related questions then you can post it here: http://www.jamesward.com/blog/ inline: image001.jpginline: image002.jpg
[flexcoders] Re: regex: keyword search
Here's the actual code, is it possible to replace this with one line of RegEx: var myBigText:String = 'This is sample text to be searched for the existence of all keywords anywhere in any order'; var keywords:Array = ['UserProvidedKeyword1', 'UserProvidedKeyword2', 'UserProvidedKeyword3']; var allKeywordsExist:Boolean = true; for(var i:int = 0; i keywords.length; i++) { var myRegEx:regEx = new RegExp('.*' + keyword[i] + '.*', 'i'); if(!myRegEx.test(myBigText)) { allKeywordsExist = false; break; } return allKeywordsExist; On Thu, Aug 13, 2009 at 6:30 PM, Baz li...@thinkloop.com wrote: Users provide keywords separated by spaces through an input box, and I would like to see if they all exist in a certain text. So for example if a user provides flex awesome or awesome flex they should both match the phrase flex is quite awesome. The following regex won't work because it is order dependent: .*keyword1.*keyword2.* Is there a way to tell the regex to search the entire string from the beginning for each keyword? Currently I am looping through each keyword and testing them separately - if all tests pass then I return true, but that seems wasteful. Thanks, Baz
[flexcoders] Re: Someone have sometime to help me develop a datagrid before this weekend? Key word is help me - not write for me.
--- In flexcoders@yahoogroups.com, Raymond Brown silenttr...@... wrote: Anyone, Wwas wondering if I could ask a couple of questions - aside from this one. 1. Is it possible to 'solely' in actionscript make a datagrid from an arraycollection? I am trying and it keeps dying. 2. Is it possible to have the cells in a datagrid show one of three png images all changing on the fly as the data changes? I figure if I build the grid correctly in AS then when I update the dataprovider it will update the grid in real time. 3. Is it possible to put a different tooltip on each cell in the datagrid? - so I can say show the IP address as seen below in the arraycollection but not in the grid itself. 4. Would you have the time and/interest in helping me forge my way through this? I don't want you to write it all - I just want someone to help me think my way through it before this weekend. I want to write it myself - i.e. learn but need someone available to point me toward my mistakes and help me through it via code suggestion and or known tutorials. Sample of my what I am dealing with private var _columnHeaderArray:Array = [3750, Serimux, Novatel, 4033, 4039]; private var _aliveDeadArrayCollection:ArrayCollection; Then when the httpservice call returns my xml file I do this: _aliveDeadArrayCollection = result as ArrayCollection; My mxml from before was like this - mx:columns mx:DataGridColumn dataField=site headerText=Location mx:itemRenderer mx:Component mx:VBox horizontalAlign=center verticalAlign=middle mx:Image source={'assets/'+data.router} verticalAlign=middle horizontalAlign=center width=50 height=50/ /mx:VBox /mx:Component /mx:itemRenderer /mx:DataGridColumn -r hi Answer: ANS 1:ya u can write code in AS for Datagrid and can display data of arraycollection in datagrid. Its little bit tricky abt creating columns. u try it if u won't get answer contact me. Ans 2:u can have a column of datagrid in which u can display different images in cells of column. Ans 3:ya u can put tooltip for cell, use showdatatip property of datagridcolumn. I think u r confused little bit. If u r using arraycollection to get data, then why r u using Http service. Reply me With Wht solution u come with Take care
Re: [flexcoders] Data binding inside Repeater?
I was looking into a problem similar to this a few days ago. I noticed in the Repeater.as framework code, that it ignores changes to the dataProvider collection that are of type CollectionEventKind.UPDATE. Thus, if you modify an item in the underlying data provider, the repeater will not update. If you add/remove an item, it will update. Jon On Fri, Aug 14, 2009 at 2:54 AM, Roman Protsiukroman.prots...@gmail.com wrote: And what if Object would not be generic Object but rather class DataProviderContainer { [Bindable]public var dataProvider:ArrayCollection;} I assume your dynamic property dataProvider on Object is not bindable. Roman Protsiuk Software Engineer/Engineering Team Lead http://under.in.ua Kyiv, Ukraine (GMT+2) mobile: +38 097 321 56 54 email: roman.prots...@gmail.com skype: roman.protsiuk linkedin: http://www.linkedin.com/in/romanpv blogspot: http://roma-ch.blogspot.com On Fri, Aug 14, 2009 at 12:53 AM, gmbroth gmbr...@hotmail.com wrote: Hi, I'm having a bit of trouble using the following combination of data binding and Repeater and could use some enlightenment: mx:ArrayCollection id=fred some data here... /mx:ArrayCollection mx:ArrayCollection id=measurements mx:Object dataProvider={fred} / /mx:ArrayCollection mx:Repeater id=measurementRepeater dataProvider=measurements my:Chart dataProvider={measurementRepeater.currentItem.dataProvider} / /mx:Repeater The intention is to have my chart bind to 'fred' via the Repeater iteration over measurements, a kind of double-binding, I suppose. My chart component does render the initial data in 'fred' but doesn't respond to subsequent changes to 'fred', i.e., I'm not getting dynamic binding. But if I change the repeater line above to this: my:Chart dataProvider={fred} / then everything works as expected. Is there a way to do in MXML what I'm trying to do above? Thanks, Garry
[flexcoders] How to restrict Drag and Drop to one axis? (like the X-Axis only)
This is super easy using startDrag and seems to be stupid hard using the DragManager. Am I missing something? Why would this relatively common need not be addressed in the DragManager? I have seen like 20 people ask the same question with no answer. I am working on a linear editor using an HList and want to use the built in DragDrop support but it has to restrict to only drag horizontally. Thanks. --Kelly
[flexcoders] Moving text in window
Hello, How to make a window with some text moving from the bottom to the top like the infomations ? Thank you, Christopher,
[flexcoders] Re: Java/Flex questions answered by James Ward
HI I am using Blazeds. At the start of my application i am making couple of request to get the data from the backend. I am tracking my request through Charles Debugger. I see that all my initial request are put together in one POST request. I want that each service call to backend be a different POST request. So that i can get the data fast. Please have a look at the screen shot.(http://4.bp.blogspot.com/_v7fXKpvsYl0/SoW5_0lZl6I/APg/caJ1-RzjZAE/s1600-h/Query.png) How can i achieve this? I am using the Remote Objec to make the calls indexProfileListRemoteObject = new RemoteObject(indexMasterDAO); indexProfileListRemoteObject.addEventListener( ResultEvent.RESULT, indexProfileListHandler ); indexListRemoteObject = new RemoteObject(indexMasterDAO); indexListRemoteObject.addEventListener( ResultEvent.RESULT, indexListHandler ); Thanks ilikeflex --- In flexcoders@yahoogroups.com, James Ward jaw...@... wrote: Thanks for the plug. I'm using StackOverflow.com to manage the questions. Just tag them with riacowboy so that I can find them. I'm seeing a big shift from the Adobe forums, flexcoders, etc to Stack Overflow - so hopefully many here will start getting more involved in Stack Overflow. BTW: Here is the Ask The RIA Cowboy post: http://www.jamesward.com/blog/ask-the-ria-cowboy/ -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hworke Sent: Friday, August 14, 2009 11:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Java/Flex questions answered by James Ward Hello Devs, James Ward the Technical Evangelist for Flex at Adobe encourages all to post RIA related questions in his blog. I asked him JAVA/LCDS questions before and got instant answer from him. If you have JAVA/BlazeDS/ LCDS related questions then you can post it here: http://www.jamesward.com/blog/
Re: [flexcoders] Re: Java/Flex questions answered by James Ward
Please follow the instructions in the following link to post this question: http://www.jamesward.com/blog/ask-the-ria-cowboy/ On Fri, Aug 14, 2009 at 12:58 PM, ilikeflexilikef...@yahoo.com wrote: HI I am using Blazeds. At the start of my application i am making couple of request to get the data from the backend. I am tracking my request through Charles Debugger. I see that all my initial request are put together in one POST request. I want that each service call to backend be a different POST request. So that i can get the data fast. Please have a look at the screen shot.(http://4.bp.blogspot.com/_v7fXKpvsYl0/SoW5_0lZl6I/APg/caJ1-RzjZAE/s1600-h/Query.png) How can i achieve this? I am using the Remote Objec to make the calls indexProfileListRemoteObject = new RemoteObject(indexMasterDAO); indexProfileListRemoteObject.addEventListener( ResultEvent.RESULT, indexProfileListHandler ); indexListRemoteObject = new RemoteObject(indexMasterDAO); indexListRemoteObject.addEventListener( ResultEvent.RESULT, indexListHandler ); Thanks ilikeflex --- In flexcoders@yahoogroups.com, James Ward jaw...@... wrote: Thanks for the plug. I'm using StackOverflow.com to manage the questions. Just tag them with riacowboy so that I can find them. I'm seeing a big shift from the Adobe forums, flexcoders, etc to Stack Overflow - so hopefully many here will start getting more involved in Stack Overflow. BTW: Here is the Ask The RIA Cowboy post: http://www.jamesward.com/blog/ask-the-ria-cowboy/ -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hworke Sent: Friday, August 14, 2009 11:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Java/Flex questions answered by James Ward Hello Devs, James Ward the Technical Evangelist for Flex at Adobe encourages all to post RIA related questions in his blog. I asked him JAVA/LCDS questions before and got instant answer from him. If you have JAVA/BlazeDS/ LCDS related questions then you can post it here: http://www.jamesward.com/blog/
RE: [flexcoders] Re: Java/Flex questions answered by James Ward
This would be a great question to ask on StackOverflow.com. :) -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ilikeflex Sent: Friday, August 14, 2009 1:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Java/Flex questions answered by James Ward HI I am using Blazeds. At the start of my application i am making couple of request to get the data from the backend. I am tracking my request through Charles Debugger. I see that all my initial request are put together in one POST request. I want that each service call to backend be a different POST request. So that i can get the data fast. Please have a look at the screen shot.(http://4.bp.blogspot.com/_v7fXKpvsYl0/SoW5_0lZl6I/APg/caJ1-RzjZAE/s1600-h/Query.png) How can i achieve this? I am using the Remote Objec to make the calls indexProfileListRemoteObject = new RemoteObject(indexMasterDAO); indexProfileListRemoteObject.addEventListener( ResultEvent.RESULT, indexProfileListHandler ); indexListRemoteObject = new RemoteObject(indexMasterDAO); indexListRemoteObject.addEventListener( ResultEvent.RESULT, indexListHandler ); Thanks ilikeflex --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, James Ward jaw...@... wrote: Thanks for the plug. I'm using StackOverflow.com to manage the questions. Just tag them with riacowboy so that I can find them. I'm seeing a big shift from the Adobe forums, flexcoders, etc to Stack Overflow - so hopefully many here will start getting more involved in Stack Overflow. BTW: Here is the Ask The RIA Cowboy post: http://www.jamesward.com/blog/ask-the-ria-cowboy/ -James From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of hworke Sent: Friday, August 14, 2009 11:17 AM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Java/Flex questions answered by James Ward Hello Devs, James Ward the Technical Evangelist for Flex at Adobe encourages all to post RIA related questions in his blog. I asked him JAVA/LCDS questions before and got instant answer from him. If you have JAVA/BlazeDS/ LCDS related questions then you can post it here: http://www.jamesward.com/blog/ inline: image001.jpginline: image002.jpg
[flexcoders] Re: How to restrict Drag and Drop to one axis? (like the X-Axis only)
I found a way to kindof do this. It's not perfect but I guess it's acceptable. It only works as long as you don't move the mouse outside the container that you want to restrict dragging to. Once you mouse out of the container the proxy goes wherever the mouse goes again. Pretty weak. I will post again if I find a better solution. override protected function dragOverHandler(event:DragEvent):void{ super.dragOverHandler(event); this.dragProxy = DragManager.mx_internal::dragProxy; this.dragProxy.y = this.localToGlobal(new Point(this.x, this.y)).y; /* if(DragAndDropRules.canDropHere(event.){ } */ } --- In flexcoders@yahoogroups.com, Archibald dek...@... wrote: This is super easy using startDrag and seems to be stupid hard using the DragManager. Am I missing something? Why would this relatively common need not be addressed in the DragManager? I have seen like 20 people ask the same question with no answer. I am working on a linear editor using an HList and want to use the built in DragDrop support but it has to restrict to only drag horizontally. Thanks. --Kelly
[flexcoders] Re: Event Best Practices
Thanks for all the help. I have exactly what you said, Jake. A little more info - I have the following: mx:app - event never gets here mx:customComponent - this tabcontainer handles it just fine mx:customComponent / - this is a popup titlewindow which dispatches the event /mx:customComponent /mx:app I dispatch the event from the popped-up titlewindow. I have bubbles=true. I'm sorry, I'm not understanding why the event isn't making it up to the application level. I even tried taking out the event listener on the next level up. What now? I know what I'm reading up on this weekend :)
[flexcoders] Re: Java/Flex questions answered by James Ward
Hi James I asked the question in StackOverflow.com but by mistake i tagged httprequest. Please answer this time and i will tag properly next time. Thanks ilikelfex --- In flexcoders@yahoogroups.com, James Ward jaw...@... wrote: This would be a great question to ask on StackOverflow.com. :) -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ilikeflex Sent: Friday, August 14, 2009 1:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Java/Flex questions answered by James Ward HI I am using Blazeds. At the start of my application i am making couple of request to get the data from the backend. I am tracking my request through Charles Debugger. I see that all my initial request are put together in one POST request. I want that each service call to backend be a different POST request. So that i can get the data fast. Please have a look at the screen shot.(http://4.bp.blogspot.com/_v7fXKpvsYl0/SoW5_0lZl6I/APg/caJ1-RzjZAE/s1600-h/Query.png) How can i achieve this? I am using the Remote Objec to make the calls indexProfileListRemoteObject = new RemoteObject(indexMasterDAO); indexProfileListRemoteObject.addEventListener( ResultEvent.RESULT, indexProfileListHandler ); indexListRemoteObject = new RemoteObject(indexMasterDAO); indexListRemoteObject.addEventListener( ResultEvent.RESULT, indexListHandler ); Thanks ilikeflex --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, James Ward jaward@ wrote: Thanks for the plug. I'm using StackOverflow.com to manage the questions. Just tag them with riacowboy so that I can find them. I'm seeing a big shift from the Adobe forums, flexcoders, etc to Stack Overflow - so hopefully many here will start getting more involved in Stack Overflow. BTW: Here is the Ask The RIA Cowboy post: http://www.jamesward.com/blog/ask-the-ria-cowboy/ -James From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of hworke Sent: Friday, August 14, 2009 11:17 AM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Java/Flex questions answered by James Ward Hello Devs, James Ward the Technical Evangelist for Flex at Adobe encourages all to post RIA related questions in his blog. I asked him JAVA/LCDS questions before and got instant answer from him. If you have JAVA/BlazeDS/ LCDS related questions then you can post it here: http://www.jamesward.com/blog/
[flexcoders] Hierarchical Tree Data
How do you generally handle generating hierarchical tree data from a database. Lets say I had a query that returned *Name, ID, ParentID* with an indefinite number of nest levels, and I wanted to turn that into a nice xml structure - do you usually peform that transofrmation at the DB layer, the app layer, or is there perhaps an easy Flex function that can take care of that? The ideal function would take the query and ask for the id and parentid properties to use to recurse through the query, i.e. generateNestedXMLFromFlatQuery(QueryData, ID_ColumnName, ParentID_columnName):XML; Thoughts?
[flexcoders] MouseOver events while dragging?
I need to change the style of items in a list when they are mousedOver while dragging but none of the mouseOver events fire while dragging. I tried setting mouseEnabled=false on the DragProxy but that did nothing. Is there any way to get mouseOver events while dragging? Or is there another way to tell that I have moused over a list item while dragging? I need it because while dragging items in a list to a different index in the same list only certain drop indexes are allowed and I need to make some visual feedback to let the user know where they can drop in the list. --Kelly
Re: [flexcoders] Re: Changing chart preferred size
Thanks, that was a really helpful example. To fix it, I stuck the chart into a canvas, and it seems to be ignoring that preferred size of 400x400 now. From: valdhor valdhorli...@embarqmail.com To: flexcoders@yahoogroups.com Sent: Friday, August 14, 2009 9:02:53 AM Subject: [flexcoders] Re: Changing chart preferred size That can't be right. Have you seen the Flex Dashboard app at http://examples. adobe.com/ flex3/devnet/ dashboard/ main.html ? If you minimize all the panels except the pie chart panel, you will note the pie chart gets much larger than 400x400 and piechart is derived from chartbase. You should probably download the source from there and see how they do it. HTH Steve --- In flexcod...@yahoogro ups.com, aaronsarnoff aaronsarnoff@ ... wrote: The flex API points to the fact that the ChartBase (and the other charts that are derived from it) have a preferred size of 400x400 (towards the top of http://livedocs. adobe.com/ flex/3/langref/ mx/charts/ chartClasses/ ChartBase. html). I am having an issue where I want the chart to take up 100% of the container that it is in (so when it is resized, it stays the same size as the container). By simply specifying percentWidth and percentHeight as 100 - when the dimension of the container is less than 400, the chart resizes properly; however, when the dimension of the container becomes larger than 400, the chart remains at the 400x400 size. Is there a way to change or remove this preferred size constraint from the chart? I've looked through all the variables and functions that seem relevant, but none of them have the intended effect. -Aaron
[flexcoders] Flex and NT Login
Do you know how to create an NT Authentication which will then extract role persmissions from a separate database with a Flex UI?
[flexcoders] ColdFusion/Flex CRUD wizard Many to Many table joins
I have a membership table with usernames etc and a roles table. Each username can have multiple roles (admin, basic user, user with some priveledges etc) thus a join between the 2 tables will distinguish what areas of the Flex application are visible/not visible. Is there a tutorial on the how to create a many to many table join using the built in ColdFusion/Flex CRUD wizard? In advance, thank you!
[flexcoders] Re: How to run an AIR app in headless mode?
I have to execute an AIR app in headless mode while passing arguments from command line. I have to do this from another FLEX app that runs in a browser. I am using FLfile.runCommandLine(AIRapp.exe c:\\documents\\args.xml); but it looks like FLfile.runCommandLine does not work when args are passed or passed with pathnames. Any idea how to solve this problem? --- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote: In your -app.xml file you need to have this: systemChromenone/systemChrome In your main WindowedApplication tag, you need this attribute: showFlexChrome=false Also, you'll need to minimize the native window that comes with the AIR application or close it without exiting the app Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gautam P Sent: Wednesday, August 12, 2009 1:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to run an AIR app in headless mode? I have done this on a linux machine and it works. air app can run in headless mode, but not your flash app (on ur browser). you need to disable GUI on linux and then have xvfb installed to get the air app working in headless mode. On Wed, Aug 12, 2009 at 6:15 AM, Sonia Guptasoniagup...@... mailto:soniagupta9%40yahoo.com wrote: I have to call an AIR app from my Flash app but in headless mode.. I know the command of FLFile.runCommandLine (but what will go here?); P.S: I am running this code on Windows machine. -- 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-1e62 079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.50/2296 - Release Date: 08/12/09 06:09:00
Re: [flexcoders] This mailing list vs the forum.
You can assume that we have this as an issue on our private contract-based forums with them. I know I've talked to them about it. WE at least got the replies to work in most email clients by getting rid of the stupid [xxx] suffix on each. On 8/14/09 8:43 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Friday 14 Aug 2009, Jochem van Dieten wrote: the lack of correct headers to allow threading. Will be fixed when hell freezes over: http://www.jivesoftware.com/jivespace/thread/50602 The hell ... !?!
RE: [flexcoders] MouseOver events while dragging?
You might have to set mouseEnabled=false on all children and grandchildren, etc of the dragproxy. Or just watch for mouseMove and use getObjectsUnderPoint to see if you're over a particular target. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Archibald Sent: Friday, August 14, 2009 1:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] MouseOver events while dragging? I need to change the style of items in a list when they are mousedOver while dragging but none of the mouseOver events fire while dragging. I tried setting mouseEnabled=false on the DragProxy but that did nothing. Is there any way to get mouseOver events while dragging? Or is there another way to tell that I have moused over a list item while dragging? I need it because while dragging items in a list to a different index in the same list only certain drop indexes are allowed and I need to make some visual feedback to let the user know where they can drop in the list. --Kelly