Re: [flexcoders] Anybody has worked with flex-plugin and MAVEN ..???
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] Re: Flex developer and their hourly rate
I've also heard take your yearly salary, say $100k. Determine the hourly rate: $100k / 2000, which results in an hourly rate of $50. Now triple that to find your contracted rate. 33.3% for salary and healthcare (same amount taken home), 33.3% for capital (office space, computers, software, car) and 33.3% for taxes (you are responsible for more as an independent contractor). So, if you were making $100k and decide to contract, you should charge $150 per hour to enjoy the same standard of living. On Nov 4, 2008, at 11:14 AM, Tracy Spratt wrote: And understand, this is an independent contractor rate for billable hours. One rule-of-thumb I have heard is that an independent hourly rate should be one thousandth of what the annual salary would be for the same level of developer. For example if an annual salary is 100K per year, then the hourly rate should be $100 per hour. I am sure 100K is not an unusual salary for an experienced developer in SF. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Tuesday, November 04, 2008 11:40 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex developer and their hourly rate that's how it goes...you're talking about a much different cost of living than say, Arkansas. On Tue, Nov 4, 2008 at 6:37 AM, nathanpdaniel [EMAIL PROTECTED] wrote: $100/hour Man, I'm gonna have to move to SF! HAHAHA :D --- In flexcoders@yahoogroups.com, Rich Rodecker [EMAIL PROTECTED] wrote: That's always a hard question, and mostly depends on a few major points: location, experience, and additional skill set. SF, and just about every major city is definitely going to get you a higher rate than say, Tennessee. How is your portfolio? If you have an impressive body of work that will also increase your value. On top of that, if your a flex developer that is highly skilled in additional areas, or have alot of experience building enterprise-level apps, that will also increase your value. All that being said, I don't know :) Though I'd esitmate you're going to be somewhere around $100/hr. On Mon, Nov 3, 2008 at 12:56 PM, hworke [EMAIL PROTECTED] wrote: Hi Devs, I do not have any idea about the market hourly rate that a Flex developer with 3 years experience charges in San Francisco bay area charges. Can someone please give me some idea? Best regards, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Soap webservice and authentication
You will need Microsoft to provide a crossdomain.xml (or proxy the call as others have suggested). I quickly checked and got a 404 here: http://staging.mappoint.net/crossdomain.xml On Nov 4, 2008, at 1:52 AM, ernoaapa wrote: Hi everyone! I'm begging for help. I'm trying to get data from Microsoft virtual earth web service. But all the time I get ioError, Error #2032: Stream Error. So please, PLEASE could someone just point me right direction? how to connect from flex? I promise to give beer if you come finland :D I try to use Flex Builder import wsdl tool and allso try mx:WebService. I'm not sure is problem in authentication because if I go to wsdl url by browser I get authentication prompt. I really hope that someone help me to get start. get developement account: https://mappoint-css.live.com/CSCV3 wsdl: http://staging.mappoint.net/standard-30/mappoint.wsdl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] addChild(bitmap) problems
Was this ever resolved? I seems like it's not the right behavior. If it is, how would Jason accomplish his goal (and I know the answer isn't FlexBitmap...) Is it off to rawChildren? Can anyone see the error in this setup? //drawTest.mxml file: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute applicationComplete=init() backgroundColor=0xFF mx:Script ![CDATA[ import src.DrawBitmap; private function init():void { var spiral:DrawBitmap = new DrawBitmap(myCanvas); } ]] /mx:Script mx:Canvas id=myCanvas x=10 y=10 width=774 height=463 borderColor=0xD4001A borderStyle=solid/ /mx:Application // DrawBitmap.as class: package src { import mx.containers.Canvas; import flash.display.BitmapData; import flash.display.Bitmap; import flash.geom.Rectangle; public class DrawBitmap { private var _canvas:Canvas; private var _bitmap:Bitmap; private var _imgData:BitmapData; public function DrawBitmap(canvas:Canvas):void { _canvas = canvas; _imgData = new BitmapData(20, 20, false, 0xFF00FF00); _imgData.fillRect(new Rectangle(5, 5, 10, 10), 0xFFFF); _bitmap = new Bitmap(_imgData); _canvas.addChild(_bitmap); //Produces error } } } At runtime, I get this error in the debugger: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent. at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal: :addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3303] Seems to appear on the last line of the DrawBitmap class when I do _canvas.addChild(_bitmap). That seems legal to me - add a bitmap display object to a canvas display object. No? What am I missing? If that's not legal, then how to add my bitmap object to the canvas? Thanks, Jason Merrill Bank of America LLD GTO eTools Multimedia Research Development
RE: [flexcoders] addChild(bitmap) problems
Crazy... I just opened my email client to send a similar email. The only difference is that I want to add a FlexShape. -Original Message- Can anyone see the error in this setup? //drawTest.mxml file: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute applicationComplete=init() backgroundColor=0xFF mx:Script ![CDATA[ import src.DrawBitmap; private function init():void { var spiral:DrawBitmap = new DrawBitmap(myCanvas); } ]] /mx:Script mx:Canvas id=myCanvas x=10 y=10 width=774 height=463 borderColor=0xD4001A borderStyle=solid/ /mx:Application // DrawBitmap.as class: package src { import mx.containers.Canvas; import flash.display.BitmapData; import flash.display.Bitmap; import flash.geom.Rectangle; public class DrawBitmap { private var _canvas:Canvas; private var _bitmap:Bitmap; private var _imgData:BitmapData; public function DrawBitmap(canvas:Canvas):void { _canvas = canvas; _imgData = new BitmapData(20, 20, false, 0xFF00FF00); _imgData.fillRect(new Rectangle(5, 5, 10, 10), 0xFFFF); _bitmap = new Bitmap(_imgData); _canvas.addChild(_bitmap); //Produces error } } } At runtime, I get this error in the debugger: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent. at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal: :addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3303] Seems to appear on the last line of the DrawBitmap class when I do _canvas.addChild(_bitmap). That seems legal to me - add a bitmap display object to a canvas display object. No? What am I missing? If that's not legal, then how to add my bitmap object to the canvas? Thanks, Jason Merrill Bank of America LLD GTO eTools Multimedia Research Development
RE: [flexcoders] addChild(bitmap) problems
Canvas.addChild() only accepts UIComponents? No, it wants a DisplayObject.
[flexcoders] AS3-only HEAD request
The HTTPService has the ability to make a HEAD request. Is there a way to do the same in an ActionScript-only project? (I tried using a simple socket, but I can't ensure a wide-open crossdomain policy.) Basically, what I need to accomplish is to determine the URL of a resource (an MP3 or FLV) after any server redirects. This is handled transparently by the Player (it just follows the redirects), but I need to know the final URL. Thanks, -DT
RE: [flexcoders] Re: Timers Not Firing
Thanks norealnamesleft. I think it's turning out to be a bug in the Flash player. In 9r28 the timers start firing again; in 9r16 (or 9r15...), they do not. Thanks, -DT -Original Message- I had some weird deal where I had 2 timers calling the same EventHandler (copy and paste mistake) and even though i stopped both Timers one kept going Not that this is optimal but I would try offsetting your Timers 100, 101, 102, etc and see if that works or running one function and using removeEventListener (although that may throw an exception?). This time, however, the timers don't fire.
[flexcoders] Timers Not Firing
So, I tried to post this over to Flashcoders, but something funky is going on over there. I would like to try here, as it is an ActionScript 3 question, and I think the people here may be able to help. However, this is just an ActionScript project for now (hopefully, not for long). I posted earlier about timers going wonky when I tried to disable my application. I was attempting to remove all the display list items and then reinstantiate them later. I'm no longer trying to do that, but still am having problems when I come back to this window, to get the timers to start up again. When I set a breakpoint in the classes' load() method, I see the timer being instantiated and set and told to run. The first time I load the class, everything works fine. When the user clicks the expand button and opens up another window, the class runs an unload method which stops the timers. When you come back to the window, I can see the very same breakpoint hit that sets up the timers and calls start. This time, however, the timers don't fire. I've been working several days now trying to get around this; any and all advice/help is greatly appreciated. I have tried creating the timers in the constructor (I may try that again just for good measure), I've tried resetting the timers... I've tried setInterval. Nothing is working for me. Should I post this to Flexcoders? There is (of course) more AS3 stuff going on over there. I'm not using Flex, though... just ActionScript 3. public override function load():void { if (!_initialized) { // I'll set a breakpoint around here and it will hit every time. // But after unload is called, none of the timer handlers will // ever be invoked. _playbackTimer = new Timer(100); _playbackTimer.addEventListener(TimerEvent.TIMER, playbackTimerHandler); _progressTimer = new Timer(100); _progressTimer.addEventListener(TimerEvent.TIMER, progressTimerHandler); _loadCheckTimer = new Timer(100); _loadCheckTimer.addEventListener(TimerEvent.TIMER, loadCheckTimerHandler); _loadCheckTimer.start(); _stateTimer = new Timer(100); _stateTimer.addEventListener(TimerEvent.TIMER, stateTimerHandler); _stateTimer.start(); _statusTimer = new Timer(1000); _statusTimer.addEventListener(TimerEvent.TIMER, statusTimerHandler); _statusTimer.start(); _queueLoad = true; return; } ... } public override function unload():void { if (_progressTimer != null _progressTimer.running) { _progressTimer.stop(); } if (_playbackTimer != null _playbackTimer.running) { _playbackTimer.stop(); } if (_stateTimer != null _stateTimer.running) { _stateTimer.stop(); } if (_statusTimer != null _statusTimer.running) { _statusTimer.stop(); } ... _initialized = false; } Thanks, -DT
[flexcoders] Built-in way to determine the number of XML elements
I'm trying to see if a response from the server is empty. So, in one case I end up with: root matches/ /root And in the other, I get: root matches match ... / /matches /root Using this fancy E4X, how do I test for the different conditions? I always seem to be getting back an XMLList, be it empty or not. I can't imagine I have to iterate this and check that it's zero at the end, but length doesn't do it, and I can't check for null because I'm always getting an XMLList. Thanks, -DT
RE: [flexcoders] Built-in way to determine the number of XML elements
I think matches.match.length() -- not matches.match.length -- should give you the number of match tags. Thanks Gordon. I was halfway there, having discovered length()... but was calling it on matches-- not match.
RE: [flexcoders] Flex/Flash Remoting for Ruby on Rails
Congratulations. I have one question on your use of the GPL: Does this mean that any commercial applications (say, an RoR web application) would be required to open the source if they utilized WebORB. Thanks, -DT P.S. You may want to add the obligatory, Can I use it for commercial work FAQ. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Piller Sent: Tuesday, August 22, 2006 12:13 To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex/Flash Remoting for Ruby on Rails Hi guys, I just wanted to let you know we released WebORB for Ruby on Rails today. The product is free and open-source (GPL license) and makes is super simple to integrate Flex and/or Flash Remoting applications with Rails. We implemented both AMF0 and AMF3 protocols as well as added support for service deployment via standard Flex configuration file (remoting-config.xml). From a Flex developer's perspective, WebORB for Rails looks like an FDS server - you create a Flex project, point it to an installation of WebORB and all registered Ruby destinations can be invoked from Flex. Flash Remoting apps will see WebORB for Rails as remoting gateway. Ruby developers will enjoy the same ease-of-use and convenience they are already accustomed to with Rails. You do not need to do anything special with your classes to expose them to Flex and Flash - WebORB automatically locates classes and adapts client side types to their Ruby counterparts. To download or to learn more visit product's home page: http://www.themidnightcoders.com/weborb/rubyonrails/index.htm Cheers, Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Project References vs. ActionScript Build Path
Thanks Martin; this is good information. It sounds like the JDT has a good solution, although I wouldn't mind seeing behavior similar to Visual Studio where referenced projects are built and then added to the bin directory of the referencing project. I recently read a thread here talking about how to handle multiple swf/swc projects and I hope to see further discussion on these topics in the future. Thanks again for your insight, -DT -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Martin Wood Sent: Tuesday, August 22, 2006 13:14 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Project References vs. ActionScript Build Path This was something i've been wondering about so I double checked the behaviour of the JDT and search the help and it says this : 'The referenced project list is used to determine the build order. A project is always built after all its referenced projects are built.' BUT, adding a project to the referenced project list doesnt automatically add it to the build path. For a Java project there is a tab on the 'Java Build Path' for 'Referenced Projects' which does add them to the build path.. What I do miss from the JDT is exactly that, a referenced projects tab on the Flex Build Path (also adding multiple source folders for a single project would be nice..) The current 'browse the whole filesystem' feels a bit clumsy in comparison... but the JDT has had a long time to get to where it is..hopefully flex builder will soon incorporate those good features. martin. Daniel Thompson wrote: Question about Flex Builder: How does adding another project as a reference (in Project References) differ from adding the source path of that other project (in the ActionScript Build Path)? I know that adding it as a reference will not allow one to compile if you reference a class in that other project, so I'm just curious what the intentions were behind these features. Thanks, -DT -- Martin Wood http://relivethefuture.com/choronzon -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Project References vs. ActionScript Build Path
Question about Flex Builder: How does adding another project as a reference (in Project References) differ from adding the source path of that other project (in the ActionScript Build Path)? I know that adding it as a reference will not allow one to compile if you reference a class in that other project, so I'm just curious what the intentions were behind these features. Thanks, -DT -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Instantiating object in MXML
From Programming ActionScript 3.0: If you use Flex, you should know that Flex defines many component display object classes, and these classes override the display list access methods of the DisplayObjectContainer class. For example, the Container class of the mx.core package overrides the addChild() method and other methods of the DisplayObjectContainer class (which the Container class extends). In the case of the addChild() method, the class overrides the method in such a way that you cannot add all types of display objects to a Container instance in Flex. The overridden method, in this case, requires that the child object that you are adding be a type of mx.core.UIComponent object. I'd be willing to bet that the MXML is calling addChild() and you haven't extended UIComponent. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Thursday, August 17, 2006 04:50 To: flexcoders@yahoogroups.com Subject: [flexcoders] Instantiating object in MXML Hi All! I have MyObject class that implements IMXMLObject interface: package { import mx.core.IMXMLObject; public class MyObject implements IMXMLObject { public function initialized(document:Object, id:String):void { } } } And application that instantiates this class instance: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:local=* local:MyObject / /mx:Application But when I put local:MyObject / into mx:VBox / Component declarations are not allowed here. (Note: visual children must implement mx.core.IUIComponent) error appears: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:local=* mx:VBox local:MyObject / /mx:VBox /mx:Application Though native RadioButtonGroup works ok everywhere. Sergey. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Instantiating object in MXML
Yes, you are right. But I implemented IMXMLObject interface. My class instantiates in the root of the component, but nowhere else. On the other hand native RadioButtonGroup that is also inherited from EventDispatcher, not UIComponent, could be instantiated even inside nested containers. Why so? Yes, you're right. :) RadioButtonGroup does not extend UIComponent or implement IUIComponent. The VBox is a UIComponent and does not redefine addChild. I'm not familiar with IMXMLObject, but it says that it represents non-visual elements to the MXML compiler. Perhaps there's a implementation detail we're missing? Are only the RadioButton controls being added as children? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Referencing ActionScript Project
OK, I found a solution. The documentation reads: Projects within a workspace can refer to other Projects. [...] When you refer to other projects, dependencies are created that affect how your application is compiled. The Flex Builder compiler manages these dependencies for you and compiles each project in the proper order so that your application is compiled successfully. I may be misreading this, but I took that to mean that once you add the reference, all the behind-the-scenes compilation settings are set. This is not exactly right. By adding the other project's root directory to the referencing projects Flex Build Path I was able to get what I thought should be the behavior (e.g. correct code suggestions and, well, compilation). What, then, does adding another project as a reference do, and how does this differ from adding the source path. Thanks, -DT -Original Message- Sent: Thursday, August 17, 2006 18:06 Hi flexcoders, I'm working through Darron's article here: http://www.darronschall.com/weblog/archives/000216.cfm However, I'm trying to do the ActionScript-only project slant. I have a temperature project and a temperature-test project. When I reference temperature from temperature-test, I am not able to compile because it cannot find the classes. temperature +-com +- example +-- TemperatureConverter.as temperature-test (references temperature) main.mxml TemperatureConverterTest.as (won't compile... TemperatureConverter undefined, import com.-- nothing) Am I missing something? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Referencing ActionScript Project
Hi flexcoders, I'm working through Darron's article here: http://www.darronschall.com/weblog/archives/000216.cfm However, I'm trying to do the ActionScript-only project slant. I have a temperature project and a temperature-test project. When I reference temperature from temperature-test, I am not able to compile because it cannot find the classes. temperature +-com +- example +-- TemperatureConverter.as temperature-test (references temperature) main.mxml TemperatureConverterTest.as (won't compile... TemperatureConverter undefined, import com.-- nothing) Am I missing something? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/