Hi Nick,
Try below and see whether it works
public function set iFormID ( value : String ) : void
{
if ( _iFormID == value )
return;
_iFormID = value;
if(value.length 0)
{
this.title = Create Vendor;
}
else
{
this.title = Create Vendor by
Are you sure your setter is getting called? If so, when is it called? Maybe
it is being called inside commitProperties after super.commitProperties.
On 4/20/10 3:07 PM, Nick Middleweek n...@middleweek.co.uk wrote:
Hi,
I've got a small MXML Component based on TitleWindow which I'm
Hi,
When tracing the setter, it is definately getting called. I'm currently just
trying to set this.title from the iFormID setter.
Here's my setup...
I have an MXML ArrayCollection with the CreateVendorDialog component inside
of the Array so it's created but not displayed (not sure if this is
Interesting. Try calling validateNow after addPopUp.
On 4/21/10 2:55 AM, Nick Middleweek n...@middleweek.co.uk wrote:
Hi,
When tracing the setter, it is definately getting called. I'm currently just
trying to set this.title from the iFormID setter.
Here's my setup...
I have an MXML
Alex,
That has fixed it but has now made me realise I'm initialising my private
var _iFormID : String = ;
And the first time I was opening the Popup, I was setting the .iFormID = ,
so the setter was *not* getting called. I'm now initialising it to null and
it's working fine...
Thanks for your
Hi,
I've got a small MXML Component based on TitleWindow which I'm opening with
PopupManager that has a setter and getter called iFormID.
In the setter I have this code...
public function set iFormID ( value : String ) : void
{
if ( _iFormID == value )
return;
_iFormID = value;
6 matches
Mail list logo