Re: [flexcoders] Re: Air app w/Bluetooth + UI / App Store for Arduino devices

2011-09-01 Thread Davis Ford
@yahoogroups.com, Davis Ford davisford@... wrote: Hi flexcoders, I wanted to drop a note to tell you about an Air app I just built that has a couple unique features. I built it to be a desktop app for Arduino ( http://arduino.cc) devices. If you're not familiar with Arduino it's an open source

[flexcoders] Air app w/Bluetooth + UI / App Store for Arduino devices

2011-08-12 Thread Davis Ford
Hi flexcoders, I wanted to drop a note to tell you about an Air app I just built that has a couple unique features. I built it to be a desktop app for Arduino ( http://arduino.cc) devices. If you're not familiar with Arduino it's an open source microelectronics hardware platform. It makes it

[flexcoders] DataProvider in AdvancedDataGrid itemRenderer

2010-08-06 Thread Davis Ford
Can someone tell me what's wrong with this code? It generates the error: 1120: Access of undefined property list List exists, but it seems like the scope of the DropDownList can't see it? I've seen other example like this...how can I bind to the dataProvider on the list if the property/var

Re: [flexcoders] How to load a file from a relative path with Air 2.0

2010-04-16 Thread Davis Ford
: +33601 822 056 2010/4/16 Davis Ford davisf...@zenoconsulting.biz Hi, so I am using FlashBuilder 4, and I'm using FlexUnit4 to create unit tests. For some tests I need to load a file as input. I can't seem to load a file from a relative path. All the air examples have you use the static

[flexcoders] How to load a file from a relative path with Air 2.0

2010-04-15 Thread Davis Ford
Hi, so I am using FlashBuilder 4, and I'm using FlexUnit4 to create unit tests. For some tests I need to load a file as input. I can't seem to load a file from a relative path. All the air examples have you use the static defined places and want you to navigate from there (e.g.

[flexcoders] ProgressBar indeterminate animation

2010-01-27 Thread Davis Ford
Hi, I'm looking at the following simple example: http://blog.flexexamples.com/2007/10/31/pausing-the-animation-in-an-indeterminate-progressbar-control/ That shows how the animation on the indeterminate property of ProgressBar is only animated when the mode is set to event. It woks on the live

[flexcoders] Re: ProgressBar indeterminate animation

2010-01-27 Thread Davis Ford
to manual mode so you can update the progress -- pretty screwy...but it works. On Wed, Jan 27, 2010 at 1:04 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, I'm looking at the following simple example: http://blog.flexexamples.com/2007/10/31/pausing-the-animation-in-an-indeterminate

[flexcoders] how to get bounding rectangle of display object

2010-01-18 Thread Davis Ford
Hi, I'm trying to get the bounding rectangle for a TextArea widget. e.g. = mx:TextArea id=textArea/ In AS = var r:Rectangle = textArea.getVisibleRect(); specifically, I am interested in consistently getting the top-left point of the the rectangle: var p:Point = r.topLeft; Most of the time

[flexcoders] Re: how to get bounding rectangle of display object

2010-01-18 Thread Davis Ford
Scratch this...figured it out. Problem was unrelated -- Rectangle.topLeft was giving me consistent results. On Mon, Jan 18, 2010 at 10:06 AM, Davis Ford davisf...@zenoconsulting.bizwrote:

[flexcoders] Selected item is not a visual component = FlexBuilder3

2010-01-15 Thread Davis Ford
Hi, if I create my own custom MXML component, e.g. ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% /mx:Canvas ...and I try to drop it in FB design view inside some other component, I can't seem to visualize it in design view. When I

[flexcoders] Testing for XML equality

2010-01-06 Thread Davis Ford
Why does this test fail? Is there any way to test for equality that ignores the ordering of elements -- which shouldn't technically matter? [Test] public function testXmlEquality():void { var xml1:XML = a b/b c/c /a; var xml2:XML = a

[flexcoders] BrowserChangeEvent.BROWSER_URL_CHANGE not firing

2010-01-06 Thread Davis Ford
Hi, I'm trying to implement deep linking via BrowserManager. I've basically emulated many of the examples on this topic, and I seem to be stuck getting the BrowserChangeEvent.BROWSER_URL_CHANGE to fire. When I change the URL fragment in the address bar and hit enter, it does nothing. If I

Re: [flexcoders] Testing for XML equality

2010-01-06 Thread Davis Ford
can test XML equivalence without caring about element ordering. Regards, Davis On Wed, Jan 6, 2010 at 7:03 PM, Paul Andrews p...@ipauland.com wrote: Davis Ford wrote: Why does this test fail? Is there any way to test for equality that ignores the ordering of elements -- which shouldn't

Re: [flexcoders] Testing for XML equality

2010-01-06 Thread Davis Ford
eh..that wasn't supposed to be in there -- copy/paste hackery... xml1.normalize(); xml2.normalize();

Re: [flexcoders] Testing for XML equality

2010-01-06 Thread Davis Ford
I found a solution: import mx.utils.ObjectUtil; Assert.assertTrue(ObjectUtil.compare(xml1, xml2) == 0); That does the trick. Regards, Davis On Wed, Jan 6, 2010 at 8:20 PM, Paul Andrews p...@ipauland.com wrote: Davis Ford wrote: Hi Paul, I don't believe this is correct

Re: [flexcoders] Testing for XML equality

2010-01-06 Thread Davis Ford
Of *Davis Ford *Sent:* Wednesday, January 06, 2010 5:22 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Testing for XML equality I found a solution: import mx.utils.ObjectUtil; Assert.assertTrue(ObjectUtil.compare(xml1, xml2) == 0); That does the trick. Regards