Re: [flexcoders] Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread b_productiv2000
You've got an example in Tour de Flex named detecting user presence, it is place in the menu AIR capabilities coding technique. I don't know if it will serve you but when i read your message i remember this demo. Alban Battershall, Jeff a écrit : In the AIR app I’m building, if the

[flexcoders] Actionscript Questions

2009-09-23 Thread SvenM
I come from a C++ background and was wondering if anyone knew the following: Does Actionscript have the equivalent of the enum operator where I can define my own variable types for ease of coding? Does Actionscript support overloaded constructors?

[flexcoders] Loading oversized images in AS3

2009-09-23 Thread cf.ende
Hi, I try to load a image file (.jpg) in my Air application. The image resolution in much larger than the maximum value of 16 mega pixel. I know that in AS3 I cannot handle this. My problem is: How to act on such a problem - no error is thrown and it has nothing to do with the filesize. My

[flexcoders] Re: Actionscript Questions

2009-09-23 Thread valdhor
Actionscript 3 does not support either of these constructs natively. However, there are ways to implement them. These links should give you some insight: http://blog.petermolgaard.com/2008/11/02/actionscript-3-enums/ http://flexblog.faratasystems.com/?p=100 This is also a good insight into

RE: [flexcoders] Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread Battershall, Jeff
Thanks Alban, That would work from a 'brute force' type of approach, but doesn't address the scenario of the user interacting with an app but not making network calls, and then encountering an exception when they attempt a network call and the network has timed out. You could conceivably keep

[flexcoders] Re: Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread reflexactions
We use an error handler on the Operation and then resend up to 3 times before raising a hard fail. --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: Thanks Alban, That would work from a 'brute force' type of approach, but doesn't address the scenario of

RE: [flexcoders] Re: Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread Battershall, Jeff
Well I'm not sure that's going to work in my implementation. I'm using Cairngorm and my ServiceLocator is holding my RemoteObject instances. I'm assuming that's what's timing out. I suppose I could refresh the RO in question and re-try the call, but I'm understanding of the architecture is not

[flexcoders] Executing commands to other programs?

2009-09-23 Thread agaboogaboo
In Flex, how can I have the program execute something through a terminal? Basically, I want to fire up a Java application to run some tasks taking parameters generate by the Flex app. Any advice? I'd imagine it's something simple, but I'm not sure what to search for to find this.

[flexcoders] Re: Executing commands to other programs?

2009-09-23 Thread valdhor
If you are using AIR, you can use Merapi (http://www.merapiproject.net/) --- In flexcoders@yahoogroups.com, agaboogaboo agabooga...@... wrote: In Flex, how can I have the program execute something through a terminal? Basically, I want to fire up a Java application to run some tasks taking

[flexcoders] DataGrid ItemEditor help

2009-09-23 Thread taude1
Hi All, I've been working with DataGrid itemEditors with a custom checkbox column. It's been challenging, to say the least. I'm at the point where I'm getting ready to scrap the itemEditor infrastructure and just code itemRenderers that can display edit components. It might be easier. I'm

[flexcoders] Re: Executing commands to other programs?

2009-09-23 Thread agaboogaboo
That would work, but I also need to execute some python scripts to activate some external hardware. Ideally, I can just make flex execute command line functions and that would be the easiest - otherwise maybe I can use Merapi and have Flex/Air execute a Java app, which executes the Python

RE: [flexcoders] DataGrid ItemEditor help

2009-09-23 Thread Alex Harui
The DG only supports one popup editor at a time. I think you will have to have the other renderers change their look and set rendererIsEditor on them. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Re: AS3 URLRequest issue

2009-09-23 Thread Calbeans
That's exactly what it was, I needed to escape my flashvar. Thanks!

RE: [flexcoders] SDK 3.2 upgrade to 3.4 issue

2009-09-23 Thread Jake Churchill
Thanks for the info. I was just upgrading to stay current, no particular reason so I'll hang back on 3.3 for a while until 3.5 is released. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From:

[flexcoders] Re: Executing commands to other programs?

2009-09-23 Thread valdhor
Perhaps you could install Apache and mod_python and use pyAMF to send data via AMF. I don't know Python but I would assume you could then execute a Java app from Python. --- In flexcoders@yahoogroups.com, agaboogaboo agabooga...@... wrote: That would work, but I also need to execute some

[flexcoders] camera function question?

2009-09-23 Thread markflex2007
Hi, I wamt to use some camera functions to get Snapshot in Flex application. something like follows: camera = Camera.getCamera(); vd.attachCamera(camera); var bd:BitmapData = ImageSnapshot.captureBitmapData(vd); mx:VideoDisplay id=vd width=200 height=200 visible=false/ Do I have to need flash

[flexcoders] Reference SPARK application

2009-09-23 Thread Marvin Froeder
Hi, Is there any reference application out there using SPARK? Something more then a hello world and 2 skinned components =D VELO

[flexcoders] Potomac - Flex Modularity Framework (like OSGi / Eclipse RCP)

2009-09-23 Thread schtoo2
Hi flexcoders, I wanted to drop by and announce our new Flex framework. I've seen a few messages here over time where people are looking for a framework like the Eclipse RCP that includes a deep modular approach. We've just released on thats just for those applications. Potomac brings

[flexcoders] Re: modules vs. sub-applications

2009-09-23 Thread schtoo2
Hi Chris, You should check out our recently released modular framework for Flex: www.potomacframework.org -Chris --- In flexcoders@yahoogroups.com, Chris Sheffield cmsheffi...@... wrote: Hi all, I'm brand new to Flex. Well, maybe not brand new, but almost. I've been reading books and

[flexcoders] Re: login form

2009-09-23 Thread varsha.nadig
--- In flexcoders@yahoogroups.com, gurmeet.bali gurmeet.b...@... wrote: --- In flexcoders@yahoogroups.com, varsha.nadig varsha.nadig@ wrote: hi m designing a new application.. i have designed the login page, but i don't know how to go the welcome page after login page.. what should

[flexcoders] Re: login form

2009-09-23 Thread Gopi
Hi, We can navigate to another MXML, this is the simplest way which worked for me. 1. Create a instance of the userForm.MXML in the login page while on click of the button. 2.mx:Button label=Log in id=submitButton click=checkuser();/ 3. private function checkuser():void { var

Re: [flexcoders] modules vs. sub-applications

2009-09-23 Thread Chris Sheffield
Alex, Thanks so much for the info. Good things to keep in mind. -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Sep 22, 2009, at 3:28 PM, Alex Harui wrote: Hopefully you’ve read through the modules and marshall plan posts on my blog. Sub-apps can share code via RSLs.

[flexcoders] Largest tomcat heapsize with LCDS

2009-09-23 Thread tajensen72
We are trying to figure out what the largest heapsize we can use with tomcat/LCDS is. We currently have it set to 2GB but would like to have more. Is anybody using a larger heapsize than that? If so, how much heap do you have and are you seeing any issues with very long GC's? Thanks. tj

Re: [flexcoders] SDK 3.2 upgrade to 3.4 issue

2009-09-23 Thread Jim Cheng
If you do hang back with 3.3 _AND_ are using Flex Builder's automatically generated HTML wrapper, you should be aware that there was a bug discovered in the express-install template files that can expose you to a cross-site-scripting (XSS) attack. Adobe fixed this in 3.4, but with that

[flexcoders] Re: login form

2009-09-23 Thread Gopi
I can give you a solution, but i am not sure this is the beat one out. mx:Button label=Register id=submit click=checkUser();/ 1. Create a instance of the MXML should be loaded like this in the checkuser() var userform:UserForm = new UserForm(); var myCan:Canvas = new Canvas();

[flexcoders] e4x Filtering Success

2009-09-23 Thread AJC2357
(partially...) I was able to filter through e4x via mx:XML and the dataProvider as follows... mx:XML id=data source=sep.xml format=e4x/ mx:PieChart width=100% height=100% dataProvider={data.Location.(region == 'Asia' )} How can I add an additional filter argument from here? Using the

[flexcoders] scrollRect ???

2009-09-23 Thread flexaustin
Wondering if anyone knows how to get the difference between the scrollRect x position relative to the components edges? I am building a pancontrol, similar to the ones found Google Maps or Yahoo Maps, for quick navigation. In order to setup my pancontrol I need to find out the following given