[flexcoders] Re: Resize Component

2007-04-11 Thread Uber_Nick
A few follow-up notes I forgot to mention in my first reply. First, you and I both had a typo in the DataGrid's id (dgProdcts vs dgProducts). Second, The canvas width (and correspondingly, height) should be bound to this: (dgProducts.selectedItem.image as Image).width. Third, you should not

[flexcoders] Re: Resize Component

2007-04-11 Thread Uber_Nick
Raphael, There are a few things you need for the code to work. Below is how I recommend changing it. Your dataGrid's dataProvider is 'produtos', and each object within it has an 'image' property. I recommend having each of these point directly to an Image object (as opposed to a String of the

[flexcoders] Re: Cairngorm - what's you best practice on handling inital data from the server

2007-11-19 Thread Uber_Nick
Almong, I don't see any problem with #5. The getTabsLabels() should contain a simple null check, so it will only perform an action when your serviceList object is populated. Client-side manipulation of the serviceList object should take place within the result method of the command retrieving

[flexcoders] Re: Cairngorm - what's you best practice on handling inital data from the server

2007-11-19 Thread Uber_Nick
Hi Almog, I see your concern now. You're right in that the logic for creation of the view stack should remain in the view code, not the command or in some other binding. Here's how we handle that situation. On the component's creationComplete, we call init(): private function init():void {

[flexcoders] Re: Flex 3 + LiveCycle: Is debugging Java possible?

2007-11-26 Thread Uber_Nick
You should be able to debug the Java code just fine. If you're using JBoss, make sure the debugging is enabled. The run script has a line in it like this: #JPDA options. Uncomment and modify as appropriate to enable remote debugging . #JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE

[flexcoders] Re: unable to hide datagrid column...help please

2007-12-10 Thread Uber_Nick
It sounds like you're using Flex 2.0.1. We struggled with a few similar DataGrid issues, but haven't had any trouble since upgrading to Flex 3. In 2.0.1, the best workaround we could come up with for column visibility problems was programatically toggle the last column's visibility property once

[flexcoders] Re: Yahoo Maps

2008-01-10 Thread Uber_Nick
Hi Chip, I was also having trouble finding the right SWF and API source. I did get my app up and running after downloading a bunch of packages and examples from random places. I zipped them in a big ball and posted it here:

[flexcoders] Re: setting effect to UI component

2008-01-17 Thread Uber_Nick
Hello PS, I responded to this two days ago and the reply hasn't shown up yet, so I apologize if this eventually comes up as a dupe. If you ever want to know how to do something in actionscript, take your mxml example and put it in a project. Then goto project - properties - flex compiler, and

[flexcoders] Re: Flex/AIR FTP program

2008-01-25 Thread Uber_Nick
It just sounds like you have the pl.maliboo.ftp source in the wrong place. Try simply moving it to the /src directory. If you're using the swc, place that in /libs. -Nick Matelli --- In flexcoders@yahoogroups.com, Chad Gray [EMAIL PROTECTED] wrote: I found this Flex FTP library on

[flexcoders] Re: Working with maps / latitude / longditude data

2008-01-31 Thread Uber_Nick
ESRI's AWS is very good and has libraries built just for Flex. I'd also recommend that as an option. The downside we've experienced involved some latency issues and a look field that wasn't as sharp as the competitors. Tying into Yahoo and Google are the other choices. Google doesn't have a

[flexcoders] Re: Flex Interview Questions

2008-02-07 Thread Uber_Nick
Tom makes a good point. It depends on what kind of skills you want to bring in. ecancil's suggestions are ok if you're looking to do a lot of work with custom components. When getting developers to help create standard application, I'd weigh a lot more heavily on the as3 questions. Aside from

[flexcoders] Re: Flex Interview Questions

2008-02-08 Thread Uber_Nick
: Flex Interview Questions On Thursday 07 Feb 2008, Uber_Nick wrote: 1) What's the difference between Java and AS3 getters and setters? My java is rather old school, but my getters and setters are explicitly coded methods rather than generated for me as in AS3. Here is an old (but fun

[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Uber_Nick
In short: faster and more stable. FB3 is a lot smarter about compiling, so building a project after making a change goes a lot faster. Developers were increasingly frustrated and slowed by the long build times of our project with FB2.01. There were also a variety of small bugs in 2.01, such as

[flexcoders] Re: Flex + WebORB for PHP, A very strage problem

2008-06-03 Thread Uber_Nick
Manu, Note the following. trace(Boolean('TRUE')); // returns true trace(Boolean('FALSE')); // also returns true Flex is interpreting the result from your PHP call as a String. Try returning lower-case 'true' and 'false'. Also, try using: list[i].aircon as Boolean instead of:

[flexcoders] Re: As3Crypto - Can't read RSA Public Key

2008-07-09 Thread Uber_Nick
Hi Jim, I copied your code into a project and pulled in the latest As3Crypto source. Your project compiled and worked as expected. I was unable to replicate the error, and would assume it's an environment issue. -Nick Matelli --- In flexcoders@yahoogroups.com, Jim Boone [EMAIL PROTECTED]

[flexcoders] Bindings on visual components being forgotten? (Flex 3 - 4.6)

2012-03-16 Thread Uber_Nick
Seeing a strange, rare, issue after updating an app to 4.6. I can't seem to reproduce it in a dev environment, so I'll list out my issue and setup to see if it sounds familiar to anyone. The problem: Visual components seem to occasionally forget the objects they're bound to. For instance, I

[flexcoders] Re: Bindings on visual components being forgotten? (Flex 3 - 4.6)

2012-03-18 Thread Uber_Nick
I haven't tried explicitly re-setting the value manually or with BindingUtils, but that's something I'll try now! Should still be working without that. I have a feeling the problem is actually in the display logic of the component. Like perhaps some built-in efficiency code to ignore binding

[flexcoders] Re: Bindings on visual components being forgotten? (Flex 3 - 4.6)

2012-03-20 Thread Uber_Nick
I have to refute the idea that bindings have ever been problematic. The way bindings work are very, very simple. When a variable is declared bindable, an event dispatched at the setter. And binding calling the getter then listens for that event, and re-calls the getter when triggered.

[flexcoders] Re: Bindings on visual components being forgotten? (Flex 3 - 4.6)

2012-03-20 Thread Uber_Nick
Hi Rich, I'd answer your question if I could, but haven't worked much with Flex on mobile devices. Re-post your question as a new thread and hopefully a few others will see it. You've accidentally put it buried down the thread chain of a fairly obscure question :-) --- In

[flexcoders] Re: Bindings on visual components being forgotten? (Flex 3 - 4.6)

2012-03-20 Thread Uber_Nick
@... wrote: If you take off the two-way binding does it work? On 3/18/12 7:41 PM, Uber_Nick nick14@... wrote: I haven't tried explicitly re-setting the value manually or with BindingUtils, but that's something I'll try now! Should still be working without that. I have a feeling

[flexcoders] Re: Bindings on visual components being forgotten? (Flex 3 - 4.6)

2012-03-21 Thread Uber_Nick
', 'bar'])} / /s:Group --- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote: So is this intermittent or just never works in this configuration? Are there console warning about not being able to detect changes? Can you make a 20-line test case? On 3/20/12 7:05 PM, Uber_Nick