Re: [flexcoders] Re: die hard 4 glass like interfaces
All I remember about that film was me crying what have they done to John McClane? I don't remember anything about cool user interfaces ;-) -Josh On Sun, Sep 28, 2008 at 5:20 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, stinasius [EMAIL PROTECTED] wrote: hi guys this is gonna sound very ridiculous but just asking, does anyone know how to design nice glassy interfaces like the one in the die hard 4 movie eg a datagrid with a glassy feel and no grid rows and columns showing. try scalenine.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 -- 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: die hard 4 glass like interfaces
there was cool interfaces used by the geeks in the movie while working on the fire cell. actually you could not have missed seeing it coz thats what the movie was about. --- Josh McDonald [EMAIL PROTECTED] wrote: All I remember about that film was me crying what have they done to John McClane? I don't remember anything about cool user interfaces ;-) -Josh On Sun, Sep 28, 2008 at 5:20 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, stinasius [EMAIL PROTECTED] wrote: hi guys this is gonna sound very ridiculous but just asking, does anyone know how to design nice glassy interfaces like the one in the die hard 4 movie eg a datagrid with a glassy feel and no grid rows and columns showing. try scalenine.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 -- 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] mx:PopUpMenuButton drop down menu looks blurd when wmode is opaque
Hello all: I'm using the mx:PopUpMenuButton and I set the dataProvider to be a fixed XML list in the mxml file Everything looks fine if the wmode in browser is set as window. But I want to use transparent or opaque. Then, when I use Google Chrome, or IE7, the drop down menu looks some fuzzy, I need to use mouse to move on it to make it finished the drawing function. Any idea about that? Thanks.
[flexcoders] Re: BarChart - Different colors for negative and positive values
--- In flexcoders@yahoogroups.com, Diff Gal [EMAIL PROTECTED] wrote: Thanks Amy, I was trying to achieve this in flex 2. I think there's a post on how to do this with custom itemRenderers in the flex cookbook hosted at adobe.com. HTH; Amy
[flexcoders] Thermometer Component
Thermometer Component I am looking for a component which will reflect a single value like a thermometer. Simple feed in the value and display it with updates. Any idea where to look or if anyone has one for sale this is for a commercial product. Thanks Dan
Re: [flexcoders] Thermometer Component
maybe this could help http://samples.degrafa.com/ThermometerSkin/Thermometer.html http://samples.degrafa.com/ Sajid - Original Message From: Dan Pride [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, September 28, 2008 6:06:35 PM Subject: [flexcoders] Thermometer Component Thermometer Component I am looking for a component which will reflect a single value like a thermometer. Simple feed in the value and display it with updates. Any idea where to look or if anyone has one for sale this is for a commercial product. Thanks Dan
[flexcoders] Re: AS3 - single-fire event listener
shaun [EMAIL PROTECTED] wrote: http://blog.iconara.net/2007/11/05/a-generic-way-to-remove-an-event-listener/ Thank you gents - that solved my anonymous function problem and started me down the road of a more generic solution. Borrowing directly from ExtJS [1] (licenced under GPLv3) and extending the Function primative, I came up with this: /** * Create a combined function call sequence of the original function + the passed function. * The resulting function returns the results of the original function. The passed fcn is called * with the parameters of the original function. * * Parameters: * * * fcn : Function *The function to sequence * * scope : Object *(optional) The scope of the passed fcn (Defaults to scope of original function) * * Returns: * * * Function *The new function */ Function.prototype.createSequence = function(fcn:Function,scope:Object=null):Function { if(typeof fcn!=function){ return this } var C=this; return function(){ var D=C.apply(this,arguments); fcn.apply(scope||this,arguments); return D } } And then an alternative addEventListener function which accepts an options config object: public function addListener(fn,opts=null) { if(opts.single) { fn = fn.createSequence(function(event) { event.currentTarget.removeEventListener(event.type, fn) }) } myEventBroadcaster.addEventListener(Event.EVENT_TYPE,fn); } More information on the ExtJS code can be found in their docs at [2] [1] http://extjs.com [2] http://extjs.com/deploy/dev/docs/
[flexcoders] Chart ItemRenderer - Seeking Confirmation of this Bad Memory Leak Queue Problem
I submitted this issue to the Adobe Flex Bug Mgmt System a few weeks back but haven't as yet seen a comment, nor did my last post on this forum yield a response, so I'm going to give it another go here. The problem I'm seeing is that you cannot dynamically switch itemRenderers on a chart series at runtime. You can code it, and run it, but any and all previous itemRenderers remain active. Since your likely initial graphics command is Graphics.clear(), you may not notice the problem as each itemRenderer clears the previous itemRenderer's drawing, BUT under the covers this continued switching of itemRenderers will add itemRenderers to the priorityQueue, eating memory and slowing things down along the way. ItemRenderers are never removed from the queue. I'm hoping someone with knowledge, or at least interest, could weigh in and let me know if indeed it's a bug, or if I'm coding this incorrectly, or if there's an alternative approach, etc... I'm polishing off a 3D ColumnChart and may have to remove support for dynamic itemRenderers. More info, a screenshot of a huge priorityQueue, and sample code can be found in my bug report: https://bugs.adobe.com/jira/browse/FLEXDMV- 1882. Thanks in advance to anyone who can help me move past this issue. Cheers, Eddie
[flexcoders] Chart ItemRenderer - Seeking Confirmation of this Bad Memory Leak Queue Bug
I submitted this issue to the Adobe Flex Bug Mgmt System a few weeks back but haven't as yet seen a comment, nor did my last post on this forum yield a response, so I'm going to give it another go here. The problem I'm seeing is that it appears that you cannot dynamically switch itemRenderers on a chart series at runtime. You can code it, and run it, but any and all previous itemRenderers continue to remain active. As your initial graphics command is likely to be Graphics.clear(), you may not notice the problem since each itemRenderer clears the previous itemRenderer's drawing, BUT under the covers this continued switching of itemRenderers will add itemRenderers to the priorityQueue, eating memory and slowing things down along the way. ItemRenderers are never removed from the queue. I'm hoping someone with knowledge, or at least interest, could weigh in and let me know if indeed it's a bug, or if I'm coding this incorrectly, or if there's an alternative approach, etc... More info, a screenshot of a huge priorityQueue, and sample code can be found in my bug report: https://bugs.adobe.com/jira/browse/FLEXDMV-182 Thanks in advance to anyone who can help me move past this issue. Cheers, Eddie
[flexcoders] Chart ItemRenderer - Seeking Confirmation of this Bad Memory Leak Queue Bug
I submitted this issue to the Adobe Flex Bug Mgmt System a few weeks back but haven't as yet seen a comment, nor did my last post on this forum yield a response, so I'm going to give it another go here. The problem I'm seeing is that it appears that you cannot dynamically switch itemRenderers on a chart series at runtime. Or rather - you can code it, and run it, but any and all previous itemRenderers continue to remain active. As your initial graphics command is likely to be Graphics.clear(), you may not notice the problem since each itemRenderer clears the previous itemRenderer's drawing, BUT under the covers continued switching of itemRenderers will simply add itemRenderers to the priorityQueue, eating memory and slowing things down along the way. ItemRenderers are never removed from the queue. I'm hoping someone with knowledge, or at least interest, could weigh in and let me know if indeed it's a bug, or if I'm coding this incorrectly, or if there's an alternative approach, etc... More info, a screenshot of a huge priorityQueue, and sample code can be found in my bug report: https://bugs.adobe.com/jira/browse/FLEXDMV-1882 Thanks in advance to anyone who can help me move past this issue. Cheers, Eddie
[flexcoders] Re: Date chooser component with only months and years
Hi, You can hide the date grid in the component, by using the mx_internal namespace: e.g: myDateChooser.mx_internal::dateGrid.visible = false you can then just grab the month / year values as you need them: var month:int = myDateChooser.displayedMonth var year:int = myDateChooser.displayedYear you will have to import mx.core.mx_internal for this to work, and anything using the mx_internal namespace may change in the future, so you may need to review your code if/when you use a newer version of the framework. Hope that helps. Cheers. --- In flexcoders@yahoogroups.com, lagos_tout [EMAIL PROTECTED] wrote: Hi, I'm relatively new to Flex. I'm having trouble finding a date chooser component that displays only months and years, no days. Any suggestions? Thanks much. LT
[flexcoders] What is equivalent of HttpServletRequest request HttpServletResponse response object in mxml
Hi All I need to pass HttpServletRequest request HttpServletResponse response to a remote object(written in java) function as parameters from my mxml file. I tried many option but nothing worked. Please help Thanks in advance Mohit
[flexcoders] Pure MVC
Hi all, I have been working in Flex for couple of months, but I have never used any frameworks before. I am now trying to learn Pure MVC framework, but I guess its a little too complicated for me to understand and I tried referring puremvc.org, still I am facing some trouble to understand ! It will be of great help if anyone can suggest me some video links or some good documentations to refer to make me understand PureMVC ! Thanks, Sam
[flexcoders] Re: Text or Label wrap only when needed
I have another custome uicomponent that comes before and after the text, so the parent is a Hbox. I want the content in the custom Ui to display on the left and right of the text. If i dont set a percentwidth=100 on the text, the text does not wrap. If i do the the uicomponent following the text is displayed at the far right and does not look good when the text component has a small string in it.. thx. For some reason, my posts are empty when i use the rich text editor. In any case, if the parent's width is absolute, use maxwidth as such.
RE: [flexcoders] Pure MVC
I use PureMVC and also found it hard to understand. I can tell you that I just persisted and now I have a good grasp of it. Took me a solid week to get over the initial hurdle. I just referred to blogs like this and followed them through closely: http://www.as3dp.com/2007/12/27/minimalist-mvc-example-using-the-puremvc-fra mework/ I also referred to this often: http://www.websector.de/blog/2007/12/25/10-tips-for-working-with-puremvc/ Im glad I am using PureMVC now! Cheers Mark _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of samanderson188 Sent: Monday, September 29, 2008 4:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Pure MVC Hi all, I have been working in Flex for couple of months, but I have never used any frameworks before. I am now trying to learn Pure MVC framework, but I guess its a little too complicated for me to understand and I tried referring puremvc.org, still I am facing some trouble to understand ! It will be of great help if anyone can suggest me some video links or some good documentations to refer to make me understand PureMVC ! Thanks, Sam
RE: [flexcoders] Pure MVC
Hii, Sorry for not being related. But as it came about pureMVC, I was also looking for it. Can someone confirm me that we have some solution in pureMVC for modules? Thanks, Manu. Robert Easton wrote: I use PureMVC and also found it hard to understand. I can tell you that I just persisted and now I have a good grasp of it. Took me a solid week to get over the initial hurdle. I just referred to blogs like this and followed them through closely: http://www.as3dp.com/2007/12/27/minimalist-mvc-example-using-the-puremvc-fra mework/ I also referred to this often: http://www.websector.de/blog/2007/12/25/10-tips-for-working-with-puremvc/ Im glad I am using PureMVC now! Cheers Mark _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of samanderson188 Sent: Monday, September 29, 2008 4:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Pure MVC Hi all, I have been working in Flex for couple of months, but I have never used any frameworks before. I am now trying to learn Pure MVC framework, but I guess its a little too complicated for me to understand and I tried referring puremvc.org, still I am facing some trouble to understand ! It will be of great help if anyone can suggest me some video links or some good documentations to refer to make me understand PureMVC ! Thanks, Sam -- View this message in context: http://www.nabble.com/Pure-MVC-tp19717004p19717491.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Runtime default parameter
Hi, How to set the default running parameter for testing ? Normally, we create a program named abcde. We run path+abcde. However, I want to add some parameter after the program for testing e.g. path+abcde+#123 i.e.http: ...abcde#123 Now, I run the program and then type #123 on url manually. Of course, 123 is not hard-coded. I may enter 234 or 456 for testing. Any faster method ?
RE: [flexcoders] Pure MVC
Yes it does - PureMVC MultiCore ... This variation supports modular programming, allowing the use of independent program modules each with their own independent PureMVC 'Core'. A Core is a set of the four main actors used in the Standard framework (Model, View, Controller and Facade). This version of the framework uses http://en.wikipedia.org/wiki/Multiton_pattern Multitons instead of Singletons. Rather than storing a single instance of the class, a Multiton stores a map of instances. Each Core is referenced by an associated Multiton Key. The MultiCore Version of the framework was developed due to the widespread need for modular support in a world of ever-more ambitious Rich Internet Applications which must load and unload large pieces of functionality at runtime. For instance a PDA application might need to dynamically load and unload modules for managing task list, calendar, email, contacts, and files. (from Wikipedia) _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Monday, September 29, 2008 3:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Pure MVC Hii, Sorry for not being related. But as it came about pureMVC, I was also looking for it. Can someone confirm me that we have some solution in pureMVC for modules? Thanks, Manu. Robert Easton wrote: I use PureMVC and also found it hard to understand. I can tell you that I just persisted and now I have a good grasp of it. Took me a solid week to get over the initial hurdle. I just referred to blogs like this and followed them through closely: http://www.as3dp. http://www.as3dp.com/2007/12/27/minimalist-mvc-example-using-the-puremvc-fr a com/2007/12/27/minimalist-mvc-example-using-the-puremvc-fra mework/ I also referred to this often: http://www.websecto http://www.websector.de/blog/2007/12/25/10-tips-for-working-with-puremvc/ r.de/blog/2007/12/25/10-tips-for-working-with-puremvc/ Im glad I am using PureMVC now! Cheers Mark _ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of samanderson188 Sent: Monday, September 29, 2008 4:54 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Pure MVC Hi all, I have been working in Flex for couple of months, but I have never used any frameworks before. I am now trying to learn Pure MVC framework, but I guess its a little too complicated for me to understand and I tried referring puremvc.org, still I am facing some trouble to understand ! It will be of great help if anyone can suggest me some video links or some good documentations to refer to make me understand PureMVC ! Thanks, Sam -- View this message in context: http://www.nabble. http://www.nabble.com/Pure-MVC-tp19717004p19717491.html com/Pure-MVC-tp19717004p19717491.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Have a question about Weborb
Hello all, I am trying to learn Weborb and need some help on how to update a database record. Here is my question, I have a database table named test and the construction of one row is: id = 1 name = Tim email = [EMAIL PROTECTED] Now if I wanted to return all the rows it would be ActiveRecord.test.findall(). If I wanted to add a record it would be: private var t:Test = new Test(); t.Name = 'bob'; t.Email = '[EMAIL PROTECTED]'; var asyncToken:AsyncToken = null; asyncToken = t.save(); The problem that I have is I dont understand how to update a record, take my row 1 id = 1 name = Tim email = [EMAIL PROTECTED] How can I change that row to somting like this id = 1 name = Timmy email = [EMAIL PROTECTED] Can some one show me the code? Thanks for the help, timgerr
Re: [flexcoders] about keyboard operation in flex
Anyway If you open the index.template.html that's stored in html-template you can avoid that browser borring thing and will works. Open it and add the following code onLoad=window.document.${application}.focus(); onkeydown=window.${application}.focus() into your body tag It will works both in IE,FF, Safari Regards Igor Costa On Sat, Sep 13, 2008 at 2:15 AM, Alex Harui [EMAIL PROTECTED] wrote: That is a limitation of the browsers. They control focus and a click is required. Some folks have done extensive work to capture keystrokes in javascript and forward them to the player, but most folks simply put up some UI to encourage users to click on the app. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *qiyadsy *Sent:* Friday, September 12, 2008 7:48 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] about keyboard operation in flex I want only use keyboard to operation in flex. Just as Global keyboard event handling( http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=304 ) But,have some problem ,it need click anywhere in the application and then press some keys.But i don't want click anywhere ,direct operate with keyboard. How I can deal it ? Thanks. -- Igor Costa www.igorcosta.com www.igorcosta.org
[flexcoders] Re: Have a question about Weborb
Can changes to the active record only be done on the datastore? Thanks, timgerr --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: Hello all, I am trying to learn Weborb and need some help on how to update a database record. Here is my question, I have a database table named test and the construction of one row is: id = 1 name = Tim email = [EMAIL PROTECTED] Now if I wanted to return all the rows it would be ActiveRecord.test.findall(). If I wanted to add a record it would be: private var t:Test = new Test(); t.Name = 'bob'; t.Email = '[EMAIL PROTECTED]'; var asyncToken:AsyncToken = null; asyncToken = t.save(); The problem that I have is I dont understand how to update a record, take my row 1 id = 1 name = Tim email = [EMAIL PROTECTED] How can I change that row to somting like this id = 1 name = Timmy email = [EMAIL PROTECTED] Can some one show me the code? Thanks for the help, timgerr
[flexcoders] flex dynamic instantiation of classes or class names
Is it possible to instantiate objects with dynamic names? So instead of:--- var n:Object = new Object; Something like:- for (var i:int=0; i array.length; i++){ var n(i):Object = new Object; } I need to create instance of certain type object, but then reference those objects later by their name. I would like to create them then store them in a dictionary and reference them later so maybe using the dictionaries methods to access them would be better? So do something like so: for (var i:int=0; i array.length; i++){ var n(i):Object = new Object; myDict[n(i)] = n(i); } then later do this:- var g1:something = b.link ( myDict[n1], myDict[n2]) TIA!