Re: [flexcoders] What is the largest Flex app?

2008-12-18 Thread Samuel Neff
Flex scales much better than HTML applications. It offloads a huge amount of work from the server to all of the clients and if you're using AMF or RTMP for data it greatly reduces the size of data sent over the wire are compared to HTML. Also AMF and RTMP are faster to serialize so it improves

Re: [flexcoders] Lazy loading trees

2008-12-15 Thread Samuel Neff
How much data do you really need to load in the tree? If it's only a thousand or so records, while that may be a lot to some, it's fine to load at once and forget lazy loading. If the data is sent to client via AMF then the size over the wire isn't that big either, and most likely the additional

Re: [flexcoders] FTP question

2008-08-20 Thread Samuel Neff
Not possible in web hosted Flex. Even with FP10 which supports reading and writing local files with restrictions, you can't iterate through files in a direcory and upload them. AIR can do it though, if that's an option for you. Sam

Re: [flexcoders] Comparing numbers with a tolerance

2008-07-14 Thread Samuel Neff
If you want to know to compare two values with tolerance then subtract them and see if the result is within your tolerance. public function within(x:Number, y:Number, tolerance:Number):Boolean { var difference:Number = x - y; return difference = tolerance difference = - tollerance; } HTH,

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-26 Thread Samuel Neff
Alex, We're listening to the button and not the group because we can easily bind our button to our datamodel but listening to the group requires more manual work on our part. So we go from a simple binding expression to a more complex loop which simply redoes the same work that RadioButtonGroup

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-26 Thread Samuel Neff
Thanks for confirming. Bug filed. https://bugs.adobe.com/jira/browse/SDK-15918 Best regards, Sam - We're Hiring! Seeking passionate Flex, C#, or C++ (RTSP, H264) developer in the Washington D.C. Contact [EMAIL PROTECTED] On Thu,

Re: [flexcoders] Best way to submit requests and receive responses to AMF server from non-flash?

2008-06-26 Thread Samuel Neff
Wriitng a client for AMF is not quite as easy as reusing the serializers present in the numerous AMF providers out there. A full AMF request includes more than just what you typically associate with as the AMF message--it has a wrapper, headers, and bodies (typically we think of AMF as just the

[flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-25 Thread Samuel Neff
In Flex 3 when you have radio buttons in a group and click on one of the radio buttons, only the change event for the clicked-on radio button fires. The radio button that was previously selected does not dispatch a change event (it did in Flex 2). This behavior can be overridden by the Flex 2

Re: [flexcoders] Working with Start Up companies...

2008-06-12 Thread Samuel Neff
I would say it depends on the overall package--there is no simple formula. If you believe in the product/company and are taking on the position at a reduced salary/benefits and have are receiving a stake in the company as compensation, then be sure the percentage you're getting is worth the

Re: [flexcoders] Using Flex as a Flash IDE

2008-06-12 Thread Samuel Neff
Try FlashDevelop. Great open source IDE for both Flash and Flex. http://www.flashdevelop.org weird website, it's just a forum, no real website, look in the Releases forum for downloads. Other good commercial products for Flash development are: http://www.primalscript.com/

Re: [flexcoders] OOP and Work for Hire

2008-06-11 Thread Samuel Neff
Depends on the work for hire agreement. A good one would designate that the developer retains a perpetual non-exclusive rights to any works previously developed and used in the project and all general purpose code such as libraries and generic controls that are not unique to the business

Re: [flexcoders] Does Flex 3 suport file uploading by using Web Service?

2008-06-03 Thread Samuel Neff
Not with Flash Player 9. I believe they've announced enhanced file functionality in FP10 that would include this functionality (although you might have to do more of the plumbing stuff yourself--reading the file to memory and packaging it into a WS call). HTH, Sam On Tue, Jun 3, 2008 at 9:15

Re: [flexcoders] Secure Login

2008-04-27 Thread Samuel Neff
We use challenge-response authentication with our Flex app. It's pretty easy to implement, but for some reason it isn't done much in web applications. Provides for secure authentication without requiring HTTPS. I outlined the detailed steps (with challenge-response plus storing hashed password

Re: [flexcoders] Best .NET AMF Implimentation?

2008-04-15 Thread Samuel Neff
We're extremely happy with Fluorine. Especially having source code available so we can step through the serialization/deserialization has helped tremendously (even just as a learning tool so you know exactly how AMF works). Sam On Tue, Apr 15, 2008 at 11:52 AM, Nate Pearson [EMAIL PROTECTED]

Re: [flexcoders] Where is adobe? Come to universities!

2008-04-03 Thread Samuel Neff
Our interns always learn and work with Flex and usually find an opportunity to continue to use Flex in their courses even if they aren't studying it. Most schools have some open projects where students can choose technologies even if the teachers aren't familiar with them. One of our interns in

Re: [flexcoders] Is this a performance gain?

2008-04-03 Thread Samuel Neff
I would be surprised if there is any measurable performance gain, especially on just 10,000 iterations. Either way I'm sure it's faster for you to test it rather than ask the group to take guesses. In any case, the loss of compile-time type checking on the function, it's arguments, and it's

Re: [flexcoders] .net flash remoting

2008-04-02 Thread Samuel Neff
We use Fluorine and love it. And the new stuff being done and planned for FluorineFX is great. Here's a good article I'd recommend (our developers wrote it): http://www.adobe.com/devnet/flex/articles/communicating_flex_dotnet.html HTH, Sam --

[flexcoders] Disable compiler warning: CSS type selectors are not supported in components: 'xxx'

2008-04-01 Thread Samuel Neff
Is there any way to disable the compiler warning: CSS type selectors are not supported in components: 'xxx' There are lots of warn-xxx flags in Flex 3 flex-config.xml but I didn't see anything that would correspond to this warning. The situation is we have our main App.mxml but for development

Re: [flexcoders] Re: Adobe, can we please split into 3 separate lists?

2008-03-11 Thread Samuel Neff
Ignore thread is nice. I miss that from nntp readers. Threading in outlook sucked--I recently switched to using gmail for mailing lists and it's made following the lists so much easier. Especially with good use of labels I can do things like easily mark messages from Alex as important to make

Re: [flexcoders] DataGrid - programmatically selecting the first row - selectedItem is null

2008-02-29 Thread Samuel Neff
mixing calls to selectedItem and selectedIndex in the same frame is pretty buggy. It's best to use either selectedIndex or selectedItem, but not both. You'll get much more consistent results that way. HTH, Sam On Fri, Feb 29, 2008 at 2:56 PM, guitarguy555 [EMAIL PROTECTED] wrote: In my

Re: [flexcoders] Re: Why no Adobe Flex Language Reference PDF file

2008-02-27 Thread Samuel Neff
Stephen, Two of the PDFs in the zip are a little messed up. Their title line is cut off and there is no title page, so some extra content may be missing. skinning_extensions_flex3.pdf flash_component_kit_flex3.pdf Sam On Tue, Feb 26, 2008 at 10:04 AM, Stephen Gilson [EMAIL PROTECTED] wrote:

Re: [flexcoders] Fetching a xml file in a way that works via file:// and http://??

2008-02-27 Thread Samuel Neff
Can you embed the XML within the swf at compile time? If you can that would be the simplest solution. I don't remember the details but there's some compiler flag that marks your swf as being able to access either network or local content, but not both. That may be what's causing you trouble, but

Re: [flexcoders] Implementing Office 2007 menus

2008-02-19 Thread Samuel Neff
[EMAIL PROTECTED] wrote: On Friday 15 Feb 2008, Samuel Neff wrote: you were not aware, you need to license the UI from MS before implementing it yourself. They're kidding right ? A licence to use a tab navigator containing a TileList of Button ? Yeah, right... -- Tom Chiverton

Re: [flexcoders] Re: Any way to version a swf with major and minor

2008-02-19 Thread Samuel Neff
Here's a C# class we use to parse out SVN info from the working copy .svn folders. Once we have this a simple regex replace is used on the version.asfile within our build script. Some build toold like cruse control.net provide version stamping built in. Ant might do it as well, not sure. HTH,

Re: [flexcoders] Implementing Office 2007 menus

2008-02-19 Thread Samuel Neff
I personally hate the ribbon and won't switch to office 2007 'cause of it. I'm happy with Office 2003 for now and our company is evaluating alternate options 'cause Office 2007 is horrible on many fronts (new file format, ribbon, and in general bloat). But the very important point is that the OP

Re: [flexcoders] Any way to version a swf with major and minor

2008-02-15 Thread Samuel Neff
We have a Version.as class which defines a version number in a constant and then use the build script to populate the version number prior to compilation. We include major, minor, and include svn revision number. HTH, Sam On Fri, Feb 15, 2008 at 8:10 AM, essuark [EMAIL PROTECTED] wrote: See

Re: [flexcoders] Implementing Office 2007 menus

2008-02-15 Thread Samuel Neff
I don't have info on how to help you with implementation, but just in case you were not aware, you need to license the UI from MS before implementing it yourself. Licenses are free, but as part of the license you have to abide by their 120+ pages of guidelines on how to properly implement the UI.

Re: [flexcoders] Anyway to introspect a Module for a list of Classes?

2008-02-14 Thread Samuel Neff
There is no way to reflect packages in an app/module or classes in a package. This is an important missing piece in Flex. Please vote for this request... https://bugs.adobe.com/jira/browse/SDK-14654 And I'm sure someone wants to point out that this is really a player feature not a Flex

Re: [flexcoders] Stream any readio station (like Winamp and iTunes)

2008-02-13 Thread Samuel Neff
Audio streaming is usually done with UDP but Flash Player only supports TCP. Sorry. Sam On Feb 13, 2008 1:54 PM, v.cekvenich [EMAIL PROTECTED] wrote: I do not mean a list of mp3 files or Red 5, that I know how to do. How do I stream any internet radio stations like iTunes and Winamp? Or

Re: [flexcoders] Re: Security cam vedio brodcasting

2008-02-13 Thread Samuel Neff
You'll need something that is streaming the video from the cameras and then you'll need Flash Media Services to stream the video to Flash itself. Flash only supports video streamed via FMS. Ideally it should support RTSP. https://bugs.adobe.com/jira/browse/SDK-14644 Some cameras like those

Re: [flexcoders] Flex Feedback for the Future

2008-02-11 Thread Samuel Neff
This is more of a player issue than Flex, but we need RTSP support for H264 video. Locking us into FMS for streaming video is a real problem for us and means we can't use Flash video and will have to continue to use Quicktime until there is a solution. Thanks, Sam On Feb 11, 2008 12:50 PM,

Re: [flexcoders] Property type information lost on RPC call to server using AMF

2008-02-11 Thread Samuel Neff
NULL values don't have type in AMF, they're just NULL (NULL is a type code as far as AMF is concerned, not a value). HTH, Sam On Feb 11, 2008 1:35 PM, ashleystreb [EMAIL PROTECTED] wrote: We're using BlazeDS + Flex to invoke Java methods on the server side. Everything is working well,