RE: [flexcoders] Re: What are the available WSDL - AS3/Flex code generators out there?

2008-02-07 Thread Samuel R. Neff
Hard to say for sure without seeing the WSDL, but it looks like a Flex bug. I'd suggest posting a bug report and include a .NET sample that causes the bug to appear, along with WSDL, and the Flex project. Everything should be abbreviated to only include code necessary to reproduce the bug.

RE: [flexcoders] What are the available WSDL - AS3/Flex code generators out there?

2008-02-05 Thread Samuel R. Neff
Flex Builder 3 has a tool to generate strongly typed classes from WSDL (as of Beta 2), Import Web Service (WSDL). HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington

RE: [flexcoders] SQLite - Importing file

2008-02-04 Thread Samuel R. Neff
All of the . commands available in the sqlite3.exe command line app are implemented by the command line application code itself, not core SQLite, and as such are not available via AIR. This includes things like .import, .dump, .read, etc. Sam --- We're

RE: [flexcoders] Problem with Flex Builder 2 and .Net Web Service

2008-01-29 Thread Samuel R. Neff
I would strongly suggest switching to Flex Builder 3, even if you keep using Flex 2 SDK. Flex Builder 3 has improved .NET integration and will launch your application from the web site all the time, that way you never need to swap the URL's for dev vs production, just use relative URL's all the

RE: [flexcoders] Streaming Video in Flex using Windows 2003 Server

2008-01-29 Thread Samuel R. Neff
The only way to stream MP4 video to Flash Player is through Flash Media Server. http://www.adobe.com/products/flashmediaserver/ There have been some successful experiments in emulating the seek-ing ability of streaming by using progressive download and building new videos on the fly based on

RE: [flexcoders] destructing objects / memory management best practices

2008-01-23 Thread Samuel R. Neff
, the easier it is to have code that releases listeners, references, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Samuel R. Neff Sent: Wednesday, January 23, 2008 9:25 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] destructing objects / memory management

RE: [flexcoders] Playing standard MPEG4 Bitstreams via socket

2008-01-22 Thread Samuel R. Neff
The only streaming video supported by Flash Player is via RTMP. It should support RTSP but doesn't. Make a request for RTSP support here: http://adobe.com/go/wish Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex

RE: [flexcoders] What's the minimize version of Flash Player for running Flex 3 SWF?

2008-01-16 Thread Samuel R. Neff
Saying Flash supports seamless upgrades can be misleading. My experience has been that if a computer has an older Flash player installed, especially 6 or 7, then there is some obstacle that is preventing it from upgrading. This most often is required admin rights of users logged in or some

RE: [flexcoders] Which Framework is better?

2008-01-07 Thread Samuel R. Neff
Every framework will have it's proponents. You'll have better luck by trying them out yourself in a real application and making your own decision. Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products.

RE: [flexcoders] Re: SWF File Size

2007-12-21 Thread Samuel R. Neff
Actually if you want to use them in Flash then I think the first method I mentioned of using an ActionScript project is the only option. Flash CS3 has it's own framework that is not compatible with the Flex framework and thus if you want to create components for Flash you need to use the Flash

RE: [flexcoders] Connecting Flex with SQL Server

2007-12-21 Thread Samuel R. Neff
] On Behalf Of [EMAIL PROTECTED] Sent: Friday, December 21, 2007 9:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Connecting Flex with SQL Server On Thu, Dec 20, 2007 at 11:59:26AM -0500, Samuel R. Neff wrote: Using direct HTTP calls to MSSQL requires embedding sql server username

RE: [flexcoders] Stylesheet to AS3 App?

2007-12-21 Thread Samuel R. Neff
As Alex implied, CSS support is provided by the Flex framework, not Flash player. If you don't use the Flex framework, then you can't use CSS other than specifically within Flash's built-in text boxes. Sam --- We're Hiring! Seeking a passionate

RE: [flexcoders] Can Flex save anything to desktop or only AIR?

2007-12-21 Thread Samuel R. Neff
You can save to a local shared object (see SharedObject.getLocal()) but not to a file or format of your choosing. Also there's a strict limit on how much data you can store (which the user can change). LSO is like a cookie on steroids. For anything other than that you need AIR or any of the

RE: [flexcoders] Connecting Flex with SQL Server

2007-12-20 Thread Samuel R. Neff
Using direct HTTP calls to MSSQL requires embedding sql server username/password into the swf which is not a good idea. Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington

RE: [flexcoders] Adobe on Vacation

2007-12-20 Thread Samuel R. Neff
4) Find a new job (we're closed for the holidays too, same dates) --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED]

RE: [flexcoders] SWF File Size

2007-12-20 Thread Samuel R. Neff
If you need to create really small SWFs for something then you can create an ActionScript project and use only Flash core classes/APIs. This isn't good if you're doing any kind of real application, but it can be helpful if you need to make some kind of tiny swf. For example, we use a small SWF

RE: [flexcoders] Flex JavaFX Sliverlight Flash

2007-12-18 Thread Samuel R. Neff
The one really important thing to remember when developing for a touch screen is to keep the hit area for your buttons large. Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the

RE: [flexcoders] Re: How to access .net dll's in FLEX 3.0

2007-12-11 Thread Samuel R. Neff
CF8's access to .NET dll's is through a separate windows process so the call requires IPC which would not be required using a native .NET back end. Unless you're already using CF and need to use some .NET code, there's no reason to start using CF to interoperate with .NET from Flex. Fluorine is

RE: [flexcoders] Intermittent error with Tile in Flex 2.0.1 project

2007-12-11 Thread Samuel R. Neff
I've seen it before and never was able to track it down. I ended up switching to a nested Tile/Repeater instead which actually worked better for the situation anyways. Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex

RE: [flexcoders] Data binding in a function call

2007-12-10 Thread Samuel R. Neff
you can't put a databinding expression in the middle of a script block. Try this instead: mx:LinkButton label={extLink} data={extLinkURL} click=loadXternalURL(LinkButton(event.currentTarget).data as String) id=LinkBtn2 / HTH, Sam --- We're Hiring!

RE: [flexcoders] help with 'deep' data binding

2007-12-10 Thread Samuel R. Neff
change your binding to be {_cartItem.toy.getDescription()} directly (which is implied to work from your definition of Toy, but not the same as your original binding). Then change getDescription() to define a specific bindable event: [Bindable(getDescriptionChanged)] public function

RE: [flexcoders] Re: help with 'deep' data binding

2007-12-10 Thread Samuel R. Neff
You'll need to add the Bindable metadata to both getDescription on Toy() as well as CartItem() and within your CartItem class you need to listen for the changed event within Toy and rebroadcast a new changed event from CartItem when the contained Toy change it's description. HTH, Sam public

RE: [flexcoders] Application.application.container?

2007-12-07 Thread Samuel R. Neff
Application.application actually is not the root display object from the Flash's display list perspective. SystemManager is and you can get a reference to it through the systemManager property defined on UIComponent. Not sure I would suggest drawing on it, but technically that's the root.

RE: [flexcoders] Subversion clients

2007-11-30 Thread Samuel R. Neff
Yeah, VisualSVN really is nice. It's commercial but works really well and they have amazing support. For example, VS2008 was just released and there were some reports of problems with VisualSVN not working with VS2008 (not too surprising) and they fixed all the problems and put out a new

RE: [flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices

2007-11-30 Thread Samuel R. Neff
I don't know what data you're trying to encrypt/decrypt but when we tried using SHAxxx hashing in both AS3 and C# we ended up with problems any time the source data had characters beyond ascii 127 character set. The encryption algorithms in .NET deal with bytes and even though we had tried using

RE: [flexcoders] Subversion clients

2007-11-30 Thread Samuel R. Neff
Not Mac, but hope this helps... For eclipse we use Subclipse. It's ok--get's job done--but a lot of times when we want to use more advanced features of Subversion we feel it's easier to open Windows Explorer and use TortoiseSVN. In Visual Studio we use VisualSVN which is a TortoiseSVN

RE: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Samuel R. Neff
.NET does this and it comes in handy (although usually in situations that would not apply in Flex, such as threading and switching contexts). I agree that if data is stored internally, it should be made available. Sam --- We're Hiring! Seeking a

RE: [flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Samuel R. Neff
you can create your own class like TransparentEventDispatcher which implements IEventDispatcher and internally contains an EventDispatcher object and maintains it's own list of listeners when they are added/removed. Feasible but shouldn't be necessary. Of course if you need to combine this

RE: [flexcoders] Tracing HTTPService Data?

2007-11-28 Thread Samuel R. Neff
We use Charles and it's wonderful, especially when working with AMF data. http://www.xk72.com/charles/ HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro

RE: [flexcoders] Re: This has to be a bug right? If not, please explain...

2007-11-27 Thread Samuel R. Neff
The better approach is to use bindings so the target is updated whenever the source (height) changes, regardless of why it changed. Moving from AS2 to AS3 is sometimes harder than learning AS3 from scratch--don't think about how you did things before but learn how Flex does things. In general

RE: [flexcoders] Re: Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread Samuel R. Neff
There's a bug in FB3 where the license dialog doesn't recognize when you paste a serial number, you actually have to type something into the text input to get it to validate the serial number. The bug isn't publicly viewable in Adobe's bugbase (I assume because it's under Licensing). HTH, Sam

RE: [flexcoders] How to force swf reload?

2007-11-27 Thread Samuel R. Neff
Our build script generates a one line revision.js file which has the text var svnRevision='xxx'; with the appropriate revision number. Then in the htm file we changed the JS call: AC_FL_RunContent( src, myswf? + svnRevision, width, 100%,

RE: [flexcoders] Real world usage of Flex

2007-11-20 Thread Samuel R. Neff
Are you only looking for public-facing Flex apps or examples of companies that are using Flex and the related products? Our products use a pure Flex front end: http://blinemedical.com/ We've talked about them at some user groups and at an Inspire session at MAX. HTH, Sam

[flexcoders] DataGrid rows too big with variableRowHeight and wordWrap turned on

2007-11-20 Thread Samuel R. Neff
We have a DataGrid with variableRowHeight and wordWrap turned on and when the grid is first displayed many of the rows on the first page are given much more height than they require (3-4 times as much). Typically each row only really needs one row worth of height, the variable row height and

RE: [flexcoders] Re: Express Install question

2007-11-16 Thread Samuel R. Neff
I don't know if changing the parameter will work or not, and if it did work, what you would actually put on your internal page to allow installing the plugin without going to adobe.com (especially due to previously mentioned legal concerns). Sam ---

RE: [flexcoders] Express Install question

2007-11-16 Thread Samuel R. Neff
Mark, I don't know if this is still the case, but in the past installation of the Flash Player was very tightly controlled. There was an agreement available that allowed deployment through automated push or by internal hosting, but it required signing a contract (no money, just license) and the

RE: [flexcoders] Adobe Share and PDF inside Flex

2007-11-16 Thread Samuel R. Neff
That's called Flash Paper. It's a format developed by Macromedia that basically competes with PDF and was touted as a much faster and smaller way to share content on the web. When Adobe bought Macromedia, Flash Paper pretty much died (not surprising) but apparently is resurrected in Share

RE: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-15 Thread Samuel R. Neff
Why not? Is it 'cause your app runs from the file system within flexbuilder and the web host in production/test? If that's the case then move to Flex Builder 3 and set up your project with the right server-side bindings, then when you run/debug from FlexBuilder it will invoke it through the web

RE: [flexcoders] Flex for database apps; compare to .net

2007-11-14 Thread Samuel R. Neff
Flex does not talk to a database directly (except with AIR but I gather you're talking about a web app). Flex talks to a back end which then can talk to a database. Flex works really well with pretty much any back end, so if you're familiar with .NET stick to that, no reason to go to FDS/LCDS

RE: [flexcoders] External StyleSheet In Application

2007-11-14 Thread Samuel R. Neff
CSS is loaded at compile time, not runtime. --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] -Original

RE: [flexcoders] Flex Localization Support

2007-11-13 Thread Samuel R. Neff
Flash doesn't support RTL (the next version will, but also remember that even when Flash is updated, if you're using Flex you'll need to wait for a corresponding Flex framework update as well). There have been some experiments with hacks in Flash but I haven't seen anything yet in Flex. Here's

RE: [flexcoders] classes in packages

2007-11-09 Thread Samuel R. Neff
This is a very important missing piece in the reflection API. :( Another workaround option is to use a build script to pre-process the AS files and provide a list of classes as an array of strings or something. Much easier than parsing the SWF (is it even possible to parse SWF in AS3 given

RE: [flexcoders] Getting outside the sandbox

2007-11-09 Thread Samuel R. Neff
I believe Buzzword uses JavaScript for clipboard interaction for this reason... --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL

RE: [flexcoders] classes in packages

2007-11-09 Thread Samuel R. Neff
The docs for uncompress() are not clear how it deals with the position of the byte array. The docs are better in Flex 3 than Flex 2 but the new addition seems to indicate it tries to decompress the entire byte array which would cause failure in the case of a SWF since the first two headers for

RE: [flexcoders] classes in packages

2007-11-09 Thread Samuel R. Neff
neat, thanks for sharing. :-) --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] _ From:

RE: [flexcoders] Re: How to detect compiled Date Time by itself

2007-11-08 Thread Samuel R. Neff
We have a Version.as file which gets updated through a build script when we make a build so we get compiled time and SVN version number. HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position

RE: [flexcoders] Vista, Eclipse 3.2.2 and a Microsoft Mouse

2007-11-08 Thread Samuel R. Neff
You could try Eclipse 3.3.. I don't know of any changes why it would work in one or the other, but I have a MS Wireless Natural Laser Mouse 7000 and don't have problems with Eclipse scrolling (and I previously had a MS Wireless Laser 6000 and similarly no problems). I the past I had problems

RE: [flexcoders] No debugging source code in FB3 beta 2

2007-11-08 Thread Samuel R. Neff
What code does FB2 have that FB3 doesn't? I thought FB3 was only missing RPC classes which also were not included in FB2. Also, even if you don't have source, step through and step out works, so you can get back to your code even after you hit a point you don't have code for. Sam

RE: [flexcoders] Combobox with option groups

2007-11-07 Thread Samuel R. Neff
You can provide groups through a custom item renderer. The renderer should be able to detect whether a particular item represents a group or individual item and highlight or indent as appropriate. HTH, Sam --- We're Hiring! Seeking a passionate

RE: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Samuel R. Neff
What do you mean Subclipse doesn't work with Flex Builder? Our whole team uses Flex Builder and Subclipse without problems (some use FB standalone, some use plugin version of FB). Sam -- We're Hiring! Seeking a passionate developer to join our team

RE: [flexcoders] AMFPHP Flex 3 Beta

2007-11-02 Thread Samuel R. Neff
ah, that's the format the old Flash Recordset class used so it makes sense that AMFPHP would use the same format. Fluorine provides support for both that style and for ArrayCollection of Object instances which is more Flex friendly. My suggestion would be to create a Recordset implementation

RE: [flexcoders] AMFPHP Flex 3 Beta

2007-11-01 Thread Samuel R. Neff
We use Fluorine and NetConnection directly.. much smaller than using the mx rpc classes and is more future proof since NetConnection is built into the player and won't change whereas rpc classes don't even have source available and have a history of breaking stuff in hotfixes with 3rd party AMF

RE: [flexcoders] Re: Flex 2 3 on the same machine

2007-10-30 Thread Samuel R. Neff
When building for Flex 2 SDK it's either the same or slower--I'm not 100% sure which. It feels slower but that's just a gut feeling, not something I tested. When building for Flex 3 SDK it's faster due to improvements in the Flex 3 SDK. We tried developing against Flex 3 SDK and then testing

RE: [flexcoders] Re: How do I convert an object to an arrayCollection?

2007-10-30 Thread Samuel R. Neff
If you're providing a fully qualified class name and method, then you're calling an assembly (good). If you're providing the URL for an ASMX or WSDL file then you're calling a web service (not as good). It's also possible to call an ASPX but that's really bad and removed from the forthcoming

RE: [flexcoders] How do I convert an object to an arrayCollection?

2007-10-29 Thread Samuel R. Neff
Paul, I don't think you should have to do any conversion, recent versions of Fluorine support sending DataSet and DataTable objects to Flex and are normally received as an ArrayCollection of Objects (optionally it can specify typed objects). The object structure you're seeing is what I've seen

RE: [flexcoders] Flex 2 3 on the same machine

2007-10-29 Thread Samuel R. Neff
I have both installed and haven't noticed any issues. I mostly use Flex Builder 3 as it can target both Flex 2 and Flex 3 SDK's. The only time I've used Flex Builder 2 recently is when I found a bug that only affects projects created in Flex 2 and then migrated to Flex 3--other than that I

RE: [flexcoders] Add reference in MXML without adding to children

2007-10-25 Thread Samuel R. Neff
Wrap it inside an mx:Object tag as in the following example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Button label=Test click=trace('instantiated: ' + (textDeferred.parent ? 'Yes' : 'No')) / mx:Button

RE: [flexcoders] PHP wizard with MS SQL Server 2005??

2007-10-24 Thread Samuel R. Neff
The ASP.NET wizard uses MSSQL 2005. You can try using that wizard to first create a connection, and then use that connection to try to create a PHP app from the MSSQL connection. I don't know if it will work, but it's worth a try. There's also a Data Source Explorer explorer (show view

RE: [flexcoders] Authentication against an LDAP directory

2007-10-23 Thread Samuel R. Neff
If you're comfortable with PHP and AMFPHP then continue to use that. There's no need to switch to LCDS, Java, or CF for LDAP integration. http://php.net/ldap Of course if you want to switch then personally I would suggest Fluorine and .NET. :-) Sam

RE: [flexcoders] Share Code for Flex and Air projects

2007-10-22 Thread Samuel R. Neff
I'd suggest creating three projects, one for Flex, one for Air, and one Shared. Flex and Air project can reference Shared (either as a library or as a source path). That will also help prevent accidentally referencing Flex/Air specific code from something that's supposed to be Shared. HTH,

RE: [flexcoders] Single Sign-On Strategies with LCDS

2007-10-19 Thread Samuel R. Neff
Jeff, I can't help with your specific problem, but have a general suggestion related to requesting technical help and software discussions... Single Sign-On has a specific meaning in software and is very different from what you're describing (it's related to one-time-authentication allowing

RE: [flexcoders] Is there any way to access java applet in AIR?

2007-10-18 Thread Samuel R. Neff
Unless there have been some recent changes, the AIR HTML component only supports Flash Player and PDF embedded content. No java applets or activex controls or any other plugins. Sam --- We're Hiring! Seeking a passionate developer to join our team

RE: [flexcoders] NetConnection.call Assistance

2007-10-15 Thread Samuel R. Neff
The second param to NetConnection.call is not a function but a reference to a flash.net.Responder instance (or subclass). Try this instead: import flash.net.Responder; private function SendUserMessage():void { ChatServer_nc.call(SendUserMessage, new Responder(SendMessageResponder),

RE: [flexcoders] VO from WebService not being translated?

2007-10-05 Thread Samuel R. Neff
Web Services do not create custom VO's in Flex 2 or in Flex 3 prior to Beta 2. The RemoteClass tag that Jim Hayes mentioned is only for remoting. In Flex 3 beta 2 there are two new options for working with compile-time objects and web services: 1. WSDL Importer. You can use the WSDL importer

RE: [flexcoders] Re: VO from WebService not being translated?

2007-10-05 Thread Samuel R. Neff
I wrote up a blog post with examples of how to use SchemaTypeRegistry to get custom vo's from a web service. Hope this helps. http://labs.atellis.com/2007/10/05/use-custom-value-objects-with-web-service s-in-flex-3-beta-2 Sam --- We're Hiring! Seeking

RE: [flexcoders] Re: Multiple Screens

2007-09-28 Thread Samuel R. Neff
Sorry, I only know it's possible, don't know how to do it. I assume there's an AIR-specific mailing list that would help target the right people. Best regards, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based

RE: [flexcoders] Here we go again: Flex Vs Java

2007-09-27 Thread Samuel R. Neff
If they want you to rewrite the apps in a language you don't know before you leave in just a month, that sounds like a recipe for disaster. Since the rest of the company presumably has experience with jsp/java, they can rewrite the apps after you leave (certainly any arguments you make will be

RE: [flexcoders] Multiple Screens

2007-09-27 Thread Samuel R. Neff
Within a single Flex application and browser instance the only option is to have the user expand the browser across both screens and manage content manually, which would be very difficult since there's no easy way to know where the screen divider is. An alternative is to create two Flex

RE: [flexcoders] Flex code generator for webservice

2007-09-27 Thread Samuel R. Neff
FlexBuilder 3 beta 2 also has an AS3 code generator based on WSDL. http://www.onflex.org/ted/2007/09/flex-3beta-2-crud-wizard-for-aspnet-php.ph p Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products.

RE: [flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-26 Thread Samuel R. Neff
Flex 2 existed long before Flash CS3. Looks like it was made up for the Flex example and then later incorporated into the Flash CS3 library but not Flex's library. Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex

RE: [flexcoders] How to disable the right click on the divider of the Divided Box ?

2007-09-25 Thread Samuel R. Neff
There's a bug in the divided box which displays the full player context menu on right click. It's marked as fixed in Moxie M3 (Beta 2). http://bugs.adobe.com/jira/browse/SDK-11760 HTH, Sam --- We're Hiring! Seeking a passionate developer to join

RE: [flexcoders] Are you going to MAX?

2007-09-21 Thread Samuel R. Neff
Our whole team is going--well, except for the one developer who is scheduled to have a baby a few days later. :-) Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C.

RE: [flexcoders] Re: What do you do when you're waiting for moxie to build?

2007-09-21 Thread Samuel R. Neff
One thing we learned from one of the adobe guys is that when you have build automatically turned on and you hit save twice, the second time Flex Builder has to wait till the first recompile finished before it can start a second. So it sounds weird, but by being aware of when we hit save and

RE: [flexcoders] length binding not triggered for ArrayCollection.removeItemAt()

2007-09-21 Thread Samuel R. Neff
In order to know what you're doing incorrectly you'll need to post some code. Binding to ArrayCollection.length normally works fine. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[

RE: [flexcoders] nulling primitive data types

2007-09-19 Thread Samuel R. Neff
The default value and NULL are very different things. NULL means the data point is not known or not set yet. If you just use the default values then there is no way to differentiate between a 0 value that is there because it happens to be the default or a 0 value that is correctly zero based on

RE: [flexcoders] nulling primitive data types

2007-09-19 Thread Samuel R. Neff
Troy, Thanks for the additional comment but remember I am not the original poster.. someone asked a question for how people work with nullable primitives and I provided a response on how I particularly do it (which of course is only one of many possibilities). We've been using MIN_VALUE for

RE: [flexcoders] nulling primitive data types

2007-09-18 Thread Samuel R. Neff
We use xxx.MIN_VALUE to represent null on both client and server (.NET). We've been doing it in .NET for several years and now with Flex integration it works very well. Of course everyone needs to recognize that MIN_VALUE is being used this way and if you actually had to store MIN_VALUE then you

RE: [flexcoders] Math.cos...?

2007-09-16 Thread Samuel R. Neff
It's not sloppy, it's just how floating point numbers work. Try the same thing in other programming languages and you still will not get zero (unless they round the output). For example, .NET reports the result as 6.12303176911189E-17. Sam ---

RE: [flexcoders] Icon in button without embed

2007-09-13 Thread Samuel R. Neff
IconUtility Component for Dynamic Run-Time Icons http://blog.benstucki.net/?p=42 HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested

RE: [flexcoders] Source code of Moxie 3 .

2007-09-10 Thread Samuel R. Neff
I couldn't find it in my install folder either.. where is it supposed to be? Thanks, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested

RE: [flexcoders] Re: String.Format???

2007-06-07 Thread Samuel R. Neff
mx.utils.StringUtil.substitute() HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] -Original Message-

RE: [flexcoders] XSLT/XPath and flex

2007-05-23 Thread Samuel R. Neff
Flex and MXML are used for creating rich internet applications. The other things you mentioned are all static documents. While it's certainly feasible to convert MXML to the other formats, you will have to greatly limit what you do in MXML in order to achieve this goal--particularly using

RE: [flexcoders] WebOrb and the new Flex Article question (AMF0 vs AMF3)

2007-05-15 Thread Samuel R. Neff
AMF3 is a new format and is more compact than AMF0. It doesn't duplicate custom class definitions or strings and has some other optimizations. AMF0 is still good though and more efficient than any non-binary communications (ie AJAX XML or JSON). HTH, Sam

RE: [flexcoders] Why aren't we allowed to process the event queue? (eg: like DoEvents)

2007-05-03 Thread Samuel R. Neff
Troy's suggestion would not require making everything thread-safe. He proposed a mechanism where by you could create a worker object which can act only on it's internal data which means thread safety is preserved. The other nice thing about this solution is it could be done through new player

RE: [flexcoders] Re: FDS licensing

2007-05-01 Thread Samuel R. Neff
We don't use FDS. There are many alternatives like WebORB, OpenAMF, Red5, AMFPHP, Fluorine. http://www.themidnightcoders.com/weborb/ http://osflash.org/projects And of course Flex supports Web Services, XML over HTTP, XMLSocket, binary Socket, and other communication mechanisms. In our

RE: [flexcoders] accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread Samuel R. Neff
It's not well documented, but basically you create a NetConnection, set the encoding, and run NetConnection.call() where the first param is the fully qualified class and method name and remaining params are the params to pass on to the server side method. See classes below (watch wrapping).

RE: [flexcoders] Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-18 Thread Samuel R. Neff
The problem with .NET and Flex is Adobe's stance that FDS is needed to build enterprise-class applications and that Remoting only works with FDS, both of which are flat out wrong. If Adobe isn't willing to make a .NET version of FDS then they should embrace the many options available to

RE: [flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread Samuel R. Neff
2 seconds??? Is that really how long an average PHP method call is? We don't use PHP here but we aim for all method calls total being under 200ms and average a bit lower. 2 seconds for a remoting call seems extremely slow. Sam --- We're Hiring! Seeking

RE: [flexcoders] Apollo NativeWindow.alwaysInFront, .orderInBackOf(), etc.

2007-04-06 Thread Samuel R. Neff
apollocoders http://tech.groups.yahoo.com/group/apollocoders/ Adobe's Apollo Forum http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72catid =641 Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex

RE: [flexcoders] Re: User authentication

2007-04-05 Thread Samuel R. Neff
You don't need to bother with HTTPS or encryption if you use a challenge-response methodology. For that simple Hashing will do (AS3 corelib has a SHA256 implementation among others). Servers sends random text challenge to client. Client responds back with hashed combo of random text and the

RE: [flexcoders] Re: DB access in Apollo

2007-03-08 Thread Samuel R. Neff
my hosting company supports sqlite. no mention of it. Actually SQLite is included as standard in PHP5 already.

[flexcoders] AMF Serialization hooks?

2007-03-07 Thread Samuel R. Neff
Is there any way to run custom code related to AMF serialization without writing everything from scratch using IExternalizable? From the docs it seems like the only option is to do it all yourself or do nothing yourself--no middle ground. I'd like to primarily use the built-in AMF serialization

RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Samuel R. Neff
Definitely +1 to SQLite. It makes the most sense as it's the smallest footprint and requires zero administration. Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C.

RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Samuel R. Neff
Adobe also uses SQLite. The concurrency stuff in the FAQ is extremely misleading. Only one process can write to a database file at a time, but sql is processed in cache and writes happen in nanoseconds so in reality SQLite supports high concurrency. In our testing we found SQLite to perform

RE: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )

2007-02-22 Thread Samuel R. Neff
Threading is one of the major missing features in Flex/Flash Player. Basically, the player is multi-threaded and some operations will happen asynchronously but ActionScript code always executes on the same thread. For example, when you make a HTTPService call the network code itself will run on

RE: [flexcoders] zip/unzip xml webservice result

2007-02-20 Thread Samuel R. Neff
Why not use browser and web-server level compression? Most browsers support gzip compression, you usually just have to turn it on in the browser (which is often easier said than done but is doable with a little tinkering). That would be a lot easier and more true-to-form than trying to pass

RE: [flexcoders] Displaying Mathematical Formulas in Flex

2007-02-02 Thread Samuel R. Neff
Here's a Flash product that does MathML editing and rendering. They have a licensing option which includes source in which case you could port it to Flex for internal use. http://www.terradotta.com/index.cfm?FuseAction=MathIWYG.PurchaseForm HTH, Sam

[flexcoders] Security Sandbox Violation loading localhost based Flash SWF into Flex app during development

2007-01-10 Thread Samuel R. Neff
We have a Flex app that loads a Flash SWF and during development we get a lot of these errors: *** Security Sandbox Violation *** SecurityDomain 'http://localhost/abc.swf?ID=4799' tried to access incompatible context 'file:///C:/Projects/xyz/bin/xyz-debug.html' It doesn't happen when deployed

[flexcoders] Is there a framework function to parse XSD compliant dateTime from XML?

2007-01-05 Thread Samuel R. Neff
We're using HTTPService to send/receive XML to our server. Some of the XML has dates in it in standard XSD dateTime format. ex: 2002-10-10T12:00:00−05:00 http://www.w3.org/TR/xmlschema11-2/#dateTime Can we access a player or framework function to parse this string into a Date object? The

[flexcoders] Cannot send simple XML content to server with HTTPService

2006-12-29 Thread Samuel R. Neff
It appears that HTTPService will not send XML to a server if it's simple content. Here's an example. Both buttons should send an HTTP POST to the server with XML. However, the Send Simple button sends an HTTP GET with no content whereas the Send Complex button works fine. This can be

  1   2   >