Maybe you could put curly braces instead of only "".

Then passing throw outprints like this

<myComp source="{com.utils.ClasiMine}"/>

Regards.

Igor Costa
www.igorcosta.org

On 12 Mar 2007 20:28:39 -0700, Kevin <[EMAIL PROTECTED]> wrote:

  I would like to pass an object path through a property of another
class, but can't figure out how to do it.

model.someObject.currentObject (the ML variable)

<comp: SomeCustomComponent source="model.someObject.currentObject" />

class SomeCustomComponent{

public var source:Object;

function test(){

trace(model.someObject.currentObjec);

}

}

This outputs the string "model.someObject.currentObject" rather than
the variable value at - model.someObject.currentObject

thanks for the insight.

- kevin




--
----------------------------
Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta

Reply via email to