In this case isn't possible due to the fact you're trying to argument in hit data a thing that's not bindable.

so, here's a short solution that Could be used, but don't know excactly in your particular case.

Check out:

public function myData(event:HitData):void
{     var doIt:String = new str();
      var str:String = new String ("@"+someOne); 

           return doIt;
}

I guess.


Regards

On 10/20/06, jnewport <[EMAIL PROTECTED]> wrote:

Syntax problem.

Is it possible to use a code like the following to create a dataTip?
somePublicVariable = revenue

var strRegData:String = ("@" + somePublicVariable)
hitData.item.strRegData

My somePublicVariable is set when using my custom component. I am
trying to get strRegData to = "@revenue".

hitData.item.strRegData = [EMAIL PROTECTED]

I though valueOf() was the way to go, but it doesn't work either.

TIA!

J




--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to