[flexcoders] Re: Binding to a ViewStack Child Container Property

2007-12-06 Thread johantrax
--- In flexcoders@yahoogroups.com, tedgies [EMAIL PROTECTED] wrote:

 Jeez, what happened?  I've never been cutoff when posting to a 
 newsgroup before!

Just seems like a misunderstanding both ways. Your first post only
stated you were trying, not that it didn't work...
And the 'And?' from Tom was his short way of asking for more info ;)

Now, back to the problem
 I'm trying to bind a label's text to a viewStack's selected VBox 
 toolTip.  I have specified each toolTip within VBox components 
 themselves.
 
In the docs is stated that toolTip is a bindable String, so I'm
thinking on the not-yet-initialized track.

Since you're working with a viewStack, are you sure you're accessing
data that exists? I am tempted to think so, since you're using the
selectedChild-property, but can you confirm this through the debugger?
(Maybe there's some stuff going on that needs callLater()...)

--Johan



[flexcoders] Re: Binding to a ViewStack Child Container Property

2007-12-05 Thread tedgies
Jeez, what happened?  I've never been cutoff when posting to a 
newsgroup before!

I'm trying to bind a label's text to a viewStack's selected VBox 
toolTip.  I have specified each toolTip within VBox components 
themselves.

Anyways, the following binding does not work for me: 

mx:Label id=titleText text={vs_articles.selectedChild.toolTip}

However, i am able to get the following binding work:

mx:Label id=titleText text={vs_articles.selectedChild.name}

So i guess you could say that i am flummoxed by this.

thanks,
Ted



--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Tuesday 04 Dec 2007, tedgies wrote:
  I'm trying to bind a label's text to the selected VBox's toolTip 
text.
  I'm trying:
  mx:Label id=titleText 
text={vs_articles.selectedChild.toolTip}
 
 And ?
 
 -- 
 Tom Chiverton
 Helping to preemptively supply vertical users
 on: http://thefalken.livejournal.com
 
 
 
 Please note, as of 10th December 2007 the registered office 
address of Halliwells LLP will be at 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office.  Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.