Re: [flexcoders] how to adjust mouse wheel scrolling for custom itemrender?
I claim victory as well. Here is one method. This doesn't support mouse wheel acceleration or kinetic scrolling. http://pastebin.com/xssXXY2p JP On Fri, May 21, 2010 at 3:27 PM, Alex Harui aha...@adobe.com wrote: I’m pretty sure at least one person claimed victory by modifying the delta of the MouseEvent. On 5/21/10 12:56 PM, dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com wrote: I'm having this issue too. Is there any solution? On Tue, May 18, 2010 at 3:30 PM, Alex Harui aha...@adobe.com wrote: Scrolling speed is a known issue. Some folks have had luck by modifying the delta property of the MouseEvent before the scroller sees it by using a capture phase or high priority event handler. On 5/18/10 11:23 AM, Baz li...@thinkloop.com http://li...@thinkloop.com wrote: I have a skinnabledatacontainer with custom itemrender surrounded by a scroller and I want to adjust how many records are scrolled when the mouse-wheel is used. Currently it scrolls way to many records. Is there an easy way to do this? So far, the only way I've found is to extend the existing scroller, then override the mx_internals set mouseWheel function. The file also has to be AS, because overriding mx_internals functions doesn't work in mxml fx:script. It's a very heavy solution for a relatively simple activity, am I missing something? Cheers, Baz -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] How to use Graphics in FB4
Hi All! I am Beginner in FB4, As i am currently creating a simple minibrowser in FB4 as AIR App, Now i want to create some graphics which i can later use as Background, Butons, Links etc. as previously i have some experience in Flash and I have CS4 Flash authoring tool. As in Flash we are creating a simple graphics and later on converting it into Button or Movieclip and later on we attach to it actionListeners etc. Now as i want to crate some self defined graphics, How can i then use them as Button or Links etc or Bg (Bg i know to put it within image control). May i know how to perform such tasks? -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com URL: http://shabirgilkar.wordpress.com Skype: shabirgilkar Join I Feel The Pain on Facebook
Re: [flexcoders] DataGrid and XML
Alex thank you very much in fact the DataGrid shows the first series of XML that I generate, but when change the date I generate the new XML and the DataGrid does not reflect the change, there is some type of update that to do? Thanks again Mauro E. Alturria 2010/5/21 Alex Harui aha...@adobe.com I placed the XML files in the same folder as the main app and modified the urls to get them and it worked for me. If you make the same changes does it work for you? If so, it might be a server-side issue On 5/20/10 10:39 AM, Mauro Emiliano Alturria mauroaltur...@gmail.com wrote: Friendly of the group I am thankful for the reading of the present mail, the reason for the same is to do a consultation to them on the following subject. Them basically in question comment: I am taking my first steps in Flex 3 and creates an unit which asking for a date carries out via call to a PHP a consultation to a MySQL base obtaining like 3 result XMLs, which are seen in 3 DataGrid and a ColumnChart, and I have these problems: 1- I am myself forced on two ocassions to do click on the button of consultation, to be able to see the result in the DataGrid. 2- When change the date the new XML are generated to me, but profit not to update the DataGrid. Thanks for the aid that can give me, since I take my first steps with this tool. Associate the file main.mxml and the archives grafico1.xml, grafico2.xml and grafico3.xml Thanks Mauro -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] upload files more than 150mb
it just Freeze. --- On Fri, 5/21/10, Tom Chiverton tom.chiver...@halliwells.com wrote: From: Tom Chiverton tom.chiver...@halliwells.com Subject: Re: [flexcoders] upload files more than 150mb To: flexcoders@yahoogroups.com Date: Friday, May 21, 2010, 10:37 AM On Friday 21 May 2010 13:13:03 you wrote: Good day all, I just start using flex. I would like to upload files with 150mb size. But somehow I am facing the problem of passing this file to the java side. So could you please help me. What goes wrong ? If smaller files transfer fine, it's probably a max process lifetime or RAM usage on the server. -- Tom Chiverton Helping to simultaneously conquer metrics as part of the IT team of the year 2010, '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] Why isn't fB4 smart enough to generate it's templates
Drives me nuts, i create a new project, usually in Actionscript, and the software won't create my .html file correctly. The most annoying problem in the world.
Re: [flexcoders] Why isn't fB4 smart enough to generate it's templates
On 22/05/2010, at 11:05 PM, Patrick wrote: Drives me nuts, i create a new project, usually in Actionscript, and the software won't create my .html file correctly. The most annoying problem in the world. That's a pretty big call there Patrick... :-) Guy
Re: [flexcoders] Anybody has worked with flex-plugin and MAVEN ..???
Lol, I'm no longer the only one recommending that =D But yeah, flexmojos is the way to go, israfil mojo is death for more then an year, and flex-plugin stayed death for more then an year too, back from ashes now, but flexmojos still has way more features. VELO On Fri, May 21, 2010 at 2:00 AM, Daniel Thompson li...@ionize.net wrote: On Tue, May 18, 2010 at 6:21 AM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: I am working with Maven in order to automatise Unit tests, I have use the plugin *flex-plugin* : I recommend strongly that you check out the flexmojos project instead: http://flexmojos.sonatype.org
Re: [flexcoders] best automated testing tool for flex?
They have released flex monkey for the sdk 4.0 recently. Check out gorilla logic's website. On Fri, May 21, 2010 at 4:58 PM, sathish_mca_raja sathish_mca_r...@yahoo.com wrote: Just wanted to know which is the best automated testing tool out of the tools that are currently available in the market. My opinion is flex monkey. but it supports flex sdks starting with version 3.3 only. what would be the next best tool to use? Please let me know your recommendations.
[flexcoders] Flash Builder 4 issues
I'm developing an application using Flash Builder 4 and have encountered two issues: 1) If I turn on -keep-generated-actionscript=true, the generated ActionScript results in errors. The errors appear to stem from a strange placement of the generated folder: it's putting it in src/, not in bin/ as the documentation states. The errors I get are: Description ResourcePathLocationType 1068: Unable to open included file: /Users/rickgenter/Documents/Adobe Flash Builder 4/GM/src/GM.mxml:7,41. GM-interface.as /GM/src/generated line 55 Flex Problem A file found in a source-path 'GM-generated' must have the same name as the class definition inside the file 'GM'. GM-generated.as /GM/src/generated Unknown Flex Problem A file found in a source-path must have the same package structure 'generated', as the definition's package, ''.GM-generated.as /GM/src/generated Unknown Flex Problem I really don't get the first error, since the .mxml file *is* at that location. If I turn off -keep-generated-actionscript=true, the errors go away and the application works fine. 2) I have several ActionScript classes that are part of the application but are not directly referenced in the code. They are instantiated using getDefinitionByName(). The pattern is: var classReference:Class = getDefinitionByName(my.fully.qualified.DerivedClass) as Class; var newInstance:BaseClass = new classReference() as BaseClass; where my.fully.qualified.DerivedClass extends BaseClass. The issue is that Flash Builder performs no error checking on any of the DerivedClass files in the project. I have to have a direct reference to the class before it will be checked. Any suggestions on how to address either of these? I've used Google to search for ideas but have so far turned up nothing. -- Rick Genter rick.gen...@gmail.com
Re: [flexcoders] DataGrid and XML
I didn’t see any code that would automatically fetch new data when the data changed. If you click the button after you change the date it should attempt to get new data but if the url is exactly the same, the data might be pulled from the browser cache. On 5/21/10 7:53 PM, Mauro Emiliano Alturria mauroaltur...@gmail.com wrote: Alex thank you very much in fact the DataGrid shows the first series of XML that I generate, but when change the date I generate the new XML and the DataGrid does not reflect the change, there is some type of update that to do? Thanks again Mauro E. Alturria 2010/5/21 Alex Harui aha...@adobe.com I placed the XML files in the same folder as the main app and modified the urls to get them and it worked for me. If you make the same changes does it work for you? If so, it might be a server-side issue On 5/20/10 10:39 AM, Mauro Emiliano Alturria mauroaltur...@gmail.com http://mauroaltur...@gmail.com wrote: Friendly of the group I am thankful for the reading of the present mail, the reason for the same is to do a consultation to them on the following subject. Them basically in question comment: I am taking my first steps in Flex 3 and creates an unit which asking for a date carries out via call to a PHP a consultation to a MySQL base obtaining like 3 result XMLs, which are seen in 3 DataGrid and a ColumnChart, and I have these problems: 1- I am myself forced on two ocassions to do click on the button of consultation, to be able to see the result in the DataGrid. 2- When change the date the new XML are generated to me, but profit not to update the DataGrid. Thanks for the aid that can give me, since I take my first steps with this tool. Associate the file main.mxml and the archives grafico1.xml, grafico2.xml and grafico3.xml Thanks Mauro -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] How to use Graphics in FB4
Well, FB isn't a graphic editor, so, if you have Flash CS, that's the best way to create graphics. You can then compile them into SWC and use that SWC in FB. Other options are to make SVG in something like Inkscape and then Flex compiler should technically understand SVG, but I wouldn't count on 100% compatibility in the latter case.
Re: [flexcoders] Flash Builder 4 issues
The first one never happened to me before, but, if I had to work around that, I'd set it to compile with Ant and I would try to change the settings so that it wouldn't generate as files in the source folder. The error message may be somewhat ambiguous, but what it is trying to say is that it is trying to compile the generated file, but it finds it in the wrong location. If the project doesn't have an explicit reference to a class, then it is considered a foreign file. More yet, it won't be compiled with the project, unless you are compiling with COMPC and you have that class mentioned in the configuration. Best. Oleg
[flexcoders] Progress bar is rendering even when hidden - Show Redraw Regions
I have a progress bar that even when I remove it (remove it's parent) from the stage it continues to render. I know this whenever the screen changes quickly I see it's outline. And also because Show Redraw Regions outlines it as well. I can't figure out how to stop this or if it's causing performance issues. In the progress bar code I see there is a timer running every 30ms. JP
Re: [flexcoders] How to use Graphics in FB4
Dear Oleg, Thank you very much for your mail. I know that FB is not Image Editor, As i mentioned earlier that i want to create self designed graphics for my MiniBrowser Project and Later on Putting Controles on It, so as make it look like good. As we are doing in Flash CS4, we are creating graphics and converting some of our graphics into Button and Movieclips as per the need and later we are allowing these assets to listen to certain functionalities with action listeners. If i create a MiniBrowser theme in Flash CS4 and Create Menu, Button, Bg Etc graphics and then convert them into as movieclips or button in Flash CS4 and later export it into SWC. can i use them as button or movieclips in FB and make them listen the actions via AS3? Regards Shabir Gilkar On Sun, May 23, 2010 at 6:04 AM, Oleg Sivokon olegsivo...@gmail.com wrote: Well, FB isn't a graphic editor, so, if you have Flash CS, that's the best way to create graphics. You can then compile them into SWC and use that SWC in FB. Other options are to make SVG in something like Inkscape and then Flex compiler should technically understand SVG, but I wouldn't count on 100% compatibility in the latter case. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com URL: http://shabirgilkar.wordpress.com Skype: shabirgilkar Join I Feel The Pain on Facebook
Re: [flexcoders] Flash Builder 4 issues
On May 22, 2010, at 5:44 PM, Oleg Sivokon wrote: The first one never happened to me before, but, if I had to work around that, I'd set it to compile with Ant and I would try to change the settings so that it wouldn't generate as files in the source folder. The error message may be somewhat ambiguous, but what it is trying to say is that it is trying to compile the generated file, but it finds it in the wrong location. If the project doesn't have an explicit reference to a class, then it is considered a foreign file. More yet, it won't be compiled with the project, unless you are compiling with COMPC and you have that class mentioned in the configuration. Best. Oleg Hi Oleg, Thanks for your reply. I had already determined that it was generating the file in the wrong location; I was hoping there was a setting in FB4 that I had somehow inadvertently changed to cause it to do that. Apparently, though, there isn't. I'll file a bug with Adobe regarding this, and an enhancement request regarding optionally compiling apparently unreferenced files. -- Rick Genter rick.gen...@gmail.com