[flexcoders] Re: Module Interface Problems

2007-04-06 Thread Michael Ritchie
Alex, I made a test case and also managed to get it to work. I realized two things about the process. Within the main application I load the module one (red) and module one loads module two (green). Module one needs to be cast as a ModuleLoader in the ready event handler in the Main

[flexcoders] How to connect Flex with barcode reader?

2007-04-06 Thread helix206
What would be the correct way to read Barcode reader data from Flex? Are there some examples on that? thx.

Re: [flexcoders] How to connect Flex with barcode reader?

2007-04-06 Thread Marc Donkers
we are using a usb Barcode reader which converts the barcode to keystrokes, so works with all applications which accepts text input. So no need for tricky stuff, when u need drivers than perhaps you could write a little .NET program which is like a shell around your flex app, together with

RE: [flexcoders] How to connect Flex with bar code reader?

2007-04-06 Thread Chad Gray
The bar code readers I have worked with in the past just emulate a keyboard. So if you had notepad open and scanned a barcode that represented 12345 then 12345 would be entered into the document and usually a carriage return comes after the scan. You can program into the scanner what you

[flexcoders] Re: Tree and Array

2007-04-06 Thread nhp_ny
Thanks. i made i little changes to your sample, because having a children arraycollection in class gets the tree control to always display a folder icon. so this is the changed code. Thanks for the kickstart. -- Class Node.as -- package

[flexcoders] Dynamic constructor invocation?

2007-04-06 Thread herrodius
Hi guys, I'm looking for a way to dynamically invoke a constructor and pass in arguments. I know this was possible in AS2 with Function.apply() on the constructor property of an object but I didn't find anything in AS3. I found a 1-year old post from Matt Chotin that says it wouldn't be possible

RE: [flexcoders] Multiple requests from Safari

2007-04-06 Thread Peter Farland
What sort of endpoint are you connecting to? Are you sure there are two of the exact same requests and not a ping-command message followed by a remoting message? If you're using RemoteObject note that all Channels first send a CommandMessage to check that they can successfully communicate with

Re: [flexcoders] DataGrid Jumping

2007-04-06 Thread Daniel Grace
We do try to keep the selected item in view. The thing is though that I don't have a selected item. Do you only see it when there is a selected item? I will look at the variables/functions you've pointed me at tomorrow. Thanks for the help and speedy replies. I see that the good things I've

[flexcoders] Flex inside jsp

2007-04-06 Thread harish_n_tvm
hi there..im trying to create a jsp page with flex content ..im using the flex tag lib... getting the following xception on runnin.. === Error 500--Internal Server Error java.lang.NoSuchMethodError:

[flexcoders] Loading Modules from module

2007-04-06 Thread wpding
I want to load several child modules from a control module. Each child module implement an interface. And i use Interface to call child modules from the control module. The problem is that i can load the modules. But i failed to call the child modules using the Interface. And i don't know why.

[flexcoders] Re: Client IP Address

2007-04-06 Thread lanlin998
--- In flexcoders@yahoogroups.com, Bhuvan Gupta [EMAIL PROTECTED] wrote: Hi All, I want to send client's (browser's) IP address to the backend. As I understand, Flex doesn't provide support to fetch the client IP Address. What is the best and browser independent way to send client IP to

[flexcoders] Finding max value of Linear Axis

2007-04-06 Thread jaybellone
Greetings, I am trying to add a slider control to a vertical linear axis so that the max value of the slider is calculated as the highest number from the data set. The chart is initialized by the slider values, e.g. the linear axis is set as mx:LinearAxis minimum={slider[0]}

[flexcoders] Re: How to connect Flex with barcode reader?

2007-04-06 Thread Nick
--- In flexcoders@yahoogroups.com, helix206 [EMAIL PROTECTED] wrote: What would be the correct way to read Barcode reader data from Flex? Are there some examples on that? thx. Check out this app: http://www.renaun.com/flex2/BarcodeReader/BarcodeReader.html All the barcode readers I

[flexcoders] Re: DataGrid, error using DateField as the item editor

2007-04-06 Thread Cosma
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: editorDataField=selectedDate From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] That has worked, it wasn't required to provide a setBirthDate(String) method in my value object.

[flexcoders] SWF Protect, Amayeta or others ?

2007-04-06 Thread nowak_petr
Hi, we would like to protect our SWF files against decompile. What is the best solution ? SWF protect, Amayeta or other ??? Non free solution is acceptable. Thanks in advance for help...

Re: [flexcoders] Re: Client IP Address

2007-04-06 Thread Adam Royle
AFAIK you can't get the client ip address using flash/flex/javascript. Apparently you can get it using a Java Applet... but I would ask why you need their ip address. Are you trying to use ip address to identify an anonymous client session without having the user login? The way I did this was

[flexcoders] Re: question about string equality

2007-04-06 Thread simonjpalmer
that's really helpful, thanks for taking the time to reply in such detail --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I have also long wondered about primitives in AS3. What is an int? What primitives are there? What is a Boolean? Here are the types where

[flexcoders] Re: Dynamic constructor invocation?

2007-04-06 Thread Paul DeCoursey
I was looking into this, because I wanted to do some IoC work in Flex. I found one issue, I don't have any reference for getClassByName adn cannot compile when trying to use it. Was it removed? what's the deal there? Anyway, one solution I had thought of was to use a ObjectFactory of sorts.

[flexcoders] Flex Scheduling Framework

2007-04-06 Thread gotjosh819i
Adobe folks, any news on when the scheduling framework will be released/completed? Seems like its been in alpha for quite sometime. Just curious, thanks. http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework

[flexcoders] Re: Dynamic constructor invocation?

2007-04-06 Thread herrodius
Hi Paul, I'm currently also creating a lightweight IoC container. You can get a ref to the Class by calling getDefinitionByName(). getClassByName() is indeed not there. About the ObjectFactory, do you mean creating wrappers around the constructor call for every number of arguments? You can

[flexcoders] Flex 2, AMF, Tomcat, and gzip

2007-04-06 Thread Douglas Knudsen
ugh, so I turned gzip compression on in Tomcat. Wow, saw a major decrease in file size with the project I'm working on. Then I tested in IE, fsck!! Been searching all over for info on this, can't seem to find the solution though. How to get gzip compression working for IE? -- Douglas Knudsen

[flexcoders] Filter an arrayCollection to use in Charts

2007-04-06 Thread Dan Wilson
I am writing a flex application that stores a dataset in an arrayCollection called stats. Through use of the application, the stats:ArrayCollection is updated. One particular state of the application has 3 charts covering stats for thisWeek, thisMonth and thisQuarter. Right now, I have a single

[flexcoders] Re: Yahoo map API

2007-04-06 Thread mapper2255
Unless you something more than this: http://developer.yahoo.com/maps/flash/ which I just pulled down it does appear that Yahoo is using 1.5. Do you have a link to Flex 2 API? --- In flexcoders@yahoogroups.com, jd_lingwai [EMAIL PROTECTED] wrote: Nope thats the old one, Yahoo released a new

[flexcoders] Compile CSS to SWF problem

2007-04-06 Thread e_baggg
I have a .css file which compiles to a swf and I can load in via runtime without problem (using StyleManager.loadStyleDeclarations()). However, I receive compiler errors once I have Embed code in my css like below. I presume it is because the swf that the css gets compiled to does not have

Re: [flexcoders] Flex 2, AMF, Tomcat, and gzip

2007-04-06 Thread Douglas Knudsen
setting Cache-Control: no-cache, must-revalidate is somewhere in Tomcat I suppose? With Peter's help I got this working. A real treat too. In my case I have a app that converts ~800 records of data to XML in Oracle. The XML is in a format the Flex Tree can digest. The whole req/response

Re: [flexcoders] DataGrid Jumping

2007-04-06 Thread Daniel Grace
I tried your method and it failed to have any effect that I could see. I read the source to the function that you were having me somewhat override the behavior of, eventually gave up understanding that, and came up with my own hacked solution. protected override function

RE: [flexcoders] Flex 2, AMF, Tomcat, and gzip

2007-04-06 Thread Peter Farland
For the case where the FDS endpoint is setting the no-cache header, the must-revalidate would have to be added at that time too... so it's something we'd have to change on FDS. I've logged a bug 203271 for us to track this issue. If it were some other tool/filter/what-have-you adding this

Re: [flexcoders] Compile CSS to SWF problem

2007-04-06 Thread Tim Walling
The images you embed need to be accessible by the compiler. Is the images folder in the same directory as the CSS? Have you tried changing the path to the image? Tim On 06 Apr 2007 09:51:37 -0700, e_baggg [EMAIL PROTECTED] wrote: I have a .css file which compiles to a swf and I can load in

Re: [flexcoders] Re: Dynamic constructor invocation?

2007-04-06 Thread Christophe Herreman
Hi again, the solution I have so far is to make separate calls for each number of arguments that needs to be passed to the constructor. It works, but of course it is no elegant and generic solution. case 1: result = new clazz(args[0]); break; case 2: result = new clazz(args[0], args[1]);

RE: [flexcoders] SOLVED: Image Item Renderer in ActionScript for DataGrid

2007-04-06 Thread Alex Harui
I just put an example of Image renderers on my blog: http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Whitelock Sent: Thursday, April 05, 2007 7:48 PM To:

RE: [flexcoders] Re: datagrid image itemRenderers don't maintainAspectRatio

2007-04-06 Thread Alex Harui
FWIW, I put an example on my blog: http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, April 05, 2007 1:03 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Loading and Controlling a Flash Animation within a Flex Application

2007-04-06 Thread Alex Harui
If Flash animation is player 8 or earlier, you need to set up localconnections to talk to it. If you are using Flash for player 9, you can access properties of the SWF. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kelpmike Sent:

RE: [flexcoders] DataGrid Jumping

2007-04-06 Thread Alex Harui
It jumps even without selection, but that's probably because the anchor is set to the top, and that's what we try to keep in the view. I don't think you can do both, you either follow some item around and see jumping, or you stay locked to some vertical scrollposition.

RE: [flexcoders] In datagrid, how to change the cell background after editing....

2007-04-06 Thread Alex Harui
Check out the itemrenderer examples on my blog http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.ht ml http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Error while deploying Flex Data services application on SAP J2EE AS

2007-04-06 Thread Trevor Baker
Download mx4j from mx4j.sourceforge.net, put mx4j.jar in /WEB- INF/lib, re-war, re-ear, and redeploy. Trevor --- In flexcoders@yahoogroups.com, ulag00 [EMAIL PROTECTED] wrote: All, I am trying to deploy a Flex Data Services application on SAP J2EE Engine ( NetWeaver 2004s SP06). I

Re: [flexcoders] DataGrid Jumping

2007-04-06 Thread Daniel Grace
Anchoring to the top by default seems incrediibly counter-intuitive to me, but it seems from your language that it's purposeful behavior. By both I meant to anchor to the users selection if they have selected something, and if they haven't selected anything, to stay put. That is what I would

RE: [flexcoders] Charts: Computed gutters makes text unreadable

2007-04-06 Thread Ely Greenfield
Hi Dana. Unfortunately, there's no way to tell charts to adjust their size to accommodate labels. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride Sent: Friday, April 06, 2007 11:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Filtered data in Plot Series

2007-04-06 Thread Ely Greenfield
Hi Paul. Off the top of my head, I don't see any reason why that should be happening. Can you share a simple test case? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Wright Sent: Thursday, April 05, 2007 3:00 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Module Interface Problems

2007-04-06 Thread Alex Harui
OK, I think I see what is going on. The app loads module one into a child domain. MainAppDomain ModuleOneAppDomain The MainAppDomain is where ModuleManager is defined since there is a ModuleLoader and other Module-related code in main.mxml. When ModuleOne

RE: [flexcoders] Loading Modules from module

2007-04-06 Thread Alex Harui
Check out the Module Interface Problem discussion. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wpding Sent: Thursday, April 05, 2007 8:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loading Modules from module I want

RE: [flexcoders] Accessing files in folders with special characters

2007-04-06 Thread Alex Harui
Can you hit the image from the browser without Flex/Flash. Not all Unicode characters are valid URLs From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shmeedee Sent: Thursday, April 05, 2007 7:05 AM To: flexcoders@yahoogroups.com

[flexcoders] Java Castor - AS3

2007-04-06 Thread slangeberg
Anyone know of any AS3 systems for mapping XML to custom classes, such as this Castor? Seems like a cool idea (and I could use it right now ;) : http://www.castor.org/xml-framework.html : : ) Scott

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

2007-04-06 Thread Tom Bray
Is the z-ordering functionality enabled for NativeWindows? Nothing seems to work, so I'm wondering if it's me or Apollo. Thanks, Tom

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]PHP and Flex questions

2007-04-06 Thread dorkie dork from dorktown
Could you give an example of how you do this? If this is secure it sounds much easier to handle. On 04 Apr 2007 10:12:22 -0700, Ray Horn [EMAIL PROTECTED] wrote: Rather than worry about the server session why not simply maintain the session state in the client since it is assume your client

[flexcoders] creating cube

2007-04-06 Thread Tadas Ziemys
Hello, I really dont know if this is the right place to ask advice, because its more as3 question i think then flex, so if im not in write place please tell where could i get help. So the problem is to create cube but i would like to see it from the inside. Also regulate zoom and to rotate it. I

Re: [flexcoders] creating cube

2007-04-06 Thread Daniel Freiman
take a look at http://www.flashsandy.org/ It's written for as2 but it's the best starting point I can think of. Maybe you can look at the examples to see if it does what you want and port it if necessary. If you understand all of the math necessary (which I don't), you can create drawings

[flexcoders] Re: pushing a database update/data management services

2007-04-06 Thread Steve Gilchrist
bump... Ok the only thing I've been able to find to push changes made server side by coldfusion to flex clients is one page in the Flex docs talking about the DataServiceTransaction java class. Has anyone attempted this with coldfusion? Can I instantiate that java class in some coldfusion code

[flexcoders] Bizarre compilation issue.

2007-04-06 Thread jjkruse1
I'm getting an error White space is not allowed before an XML Processing Instruction (?...?) but the error isn't tied to a line of code, so I have no clue how to correct. Also, initializations don't appear to work, since the Alerts I've put in code don't appear. (Oddly, pie chart responds to

Re: [flexcoders] Bizarre compilation issue.

2007-04-06 Thread Daniel Freiman
?xml version=1.0 encoding=utf-8? should be at the top of every MXML file. My guess is that this line has whitespace in front of it. If that's not doing it you should probably post the entire file. - Daniel Freiman nondocs? http://nondocs.blogspot.com/ On 06 Apr 2007 17:53:29 -0700, jjkruse1

[flexcoders] Mapping xml objects to custom classes? [new subject]

2007-04-06 Thread slangeberg
Anyone know of any AS3 systems for mapping XML to custom classes, such as this Castor? Seems like a cool idea (and I could use it right now ;) : http://www.castor.org/xml-framework.html -Scott -- Forwarded message -- From: slangeberg [EMAIL PROTECTED] Date: Apr 6, 2007 4:21 PM

[flexcoders]How to parse bad XML into valid XML

2007-04-06 Thread dorkie dork from dorktown
I am trying to get results from google and use e4x to show the results in a list component. The problem is that the XML parser is giving me a 1090: XML parser failure: element is malformed. Is there a class or property that will unmalform the xml so I can use it as an xml object?

[flexcoders] coldfusion/flex Application Wizard is not currently available

2007-04-06 Thread Mike Weiland
Hi all, I thought I would try to whip up a quick app with the ColdFusion/Flex Application wizard. But when I try to create a new project with the wizard it says it is not available for my platform. Does the wizard not work on Mac OS X? Thanks, Mike Weiland - Mike Weiland Aspen

[flexcoders] Re: Mapping xml objects to custom classes? [new subject]

2007-04-06 Thread Paul DeCoursey
Not yet, but this is something I've been thinking a lot about. I've started working on some proof of concept code. What are your specific requirements? Perhaps I could start work on this project with your help. Paul --- In flexcoders@yahoogroups.com, slangeberg [EMAIL PROTECTED] wrote:

Re: [flexcoders]How to parse bad XML into valid XML

2007-04-06 Thread Ben Marchbanks
I had a similar issue with reading an XML from the filesystem with an Apollo app and getting malformed XML from a know well-formed XML file. If you can view the raw XML using trace() you can usually spot the problem I saw that there was a ? as the first character in the file stream -

Re: [flexcoders] coldfusion/flex Application Wizard is not currently available

2007-04-06 Thread John Barrett
Hi Mike, No this is not supported on the Mac. I wish that it were. The best thing to do is to get access to a windows machine, and create one using that system, and then replace that for your Mac (making the changes needed). Seems like this would work fine, but I have not yet tried. John