Re: [flexcoders] Could AIR create an automation app?

2011-08-07 Thread Pete
In short, I don't think so, you are pretty much in a sand box as you run an Air app. I haven't checked the state of play with 4.5, things have maybe improved. I think that Adobe are terrified that someone will write a virus in Air! So they keep you away from all that system level stuff... Al

Re: [flexcoders] Could AIR create an automation app?

2011-08-07 Thread James Ong
Not direct invocation but you can control them through NativeProcess that can pass a command of argument and received standard output from the application like Command Prompt. That right, AIR is made to be as portable as possible. For your case, you can use .Net or C# to automate those task. For e

[flexcoders] Could AIR create an automation app?

2011-08-07 Thread MicC
Does AIR have enough hooks to the os to create an automation app? Programs like Automate and WinAutomation script mouse position and clicks to control an app's gui, and Automate automatically recognizes menus and buttons etc if the app to be controlled conforms to something - not sure what. I r

[flexcoders] Flex 4.5 debugging issue

2011-08-07 Thread richmcgillicuddy
I am upgrading my projects from Flex 3 to Flashbuilder 4.5. The final swfs are part of a bigger web site that requires authentication. In Flex 3, I could open a IE browser window, log in, leave that window open, then when I debugged an SWF, it opened a new browser window but the authentication

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
BTW Welcome to Flex! :) On Sun, Aug 7, 2011 at 6:59 AM, tacman1123 wrote: > ** > > > I'm new to Flex, I've been reading the Adobe Training from the Source book, > but am stuck on a simple setup question. > > I want to integrate SQLite, and figured I'd use probinson's sqlite > utilities (https://

Re: [flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread dorkie dork from dorktown
Hi Tac, First setup your library project. Then go back to your original project and go into Properties > Flex Build Path and click Add Project. A dialog will display available library projects for you to choose. Select your new library and click OK. The workspace will rebuild if it doesn't click P

[flexcoders] Newbie Question: Library Path for Using a 3rd-party utility

2011-08-07 Thread tacman1123
I'm new to Flex, I've been reading the Adobe Training from the Source book, but am stuck on a simple setup question. I want to integrate SQLite, and figured I'd use probinson's sqlite utilities (https://github.com/probertson/air-sqlite) to manage the connections. My question is where do I downl

Re: [flexcoders] Error TooTips in Spark Forms

2011-08-07 Thread dorkie dork from dorktown
Hi Jeff, Since I've been working on mobile I don't have much room either. I use a label for error messages with includeInLayout and visible set to false and place it inside the FormItem container. If it's a vertical form item then the error label shows up beneath the form item. If it's horizontal

Re: [flexcoders] Preventing Spark List from scrolling to top when adding / removing items.

2011-08-07 Thread dorkie dork from dorktown
See if this will work, // your code var index:int = list.selectedIndex; list.dataProvider.addItem(item); list.validateNow(); moveToIndex(index); protected function moveToIndex(index:int):void { var point:Point = list.layout.getScrollPositionDeltaToElement(index);

[flexcoders] Error TooTips in Spark Forms

2011-08-07 Thread Battershall, Jeff
What I'm discovering about Spark Forms is that error messaging is inside the form item container and unless I make the form large enough to accommodate the error message I might see some unexpected layout issues such as the error text appearing over the form element, etc. Pretty darned ugly.

Re: [flexcoders] Interface design

2011-08-07 Thread Paul Andrews
On 07/08/2011 06:12, cjacquel73 wrote: > Hello, > > I have to select 4 values of percentages. The sum of this 4 values should be > equal to 100%. > > How to design an interface (with sliders or other), to select this 4 > percentages ? Have a bar with three dividers. The bar represents 100%. The

[flexcoders] Interface design

2011-08-07 Thread cjacquel73
Hello, I have to select 4 values of percentages. The sum of this 4 values should be equal to 100%. How to design an interface (with sliders or other), to select this 4 percentages ? Thank you, Christophe