Problem replacing content in text frame
I am bumping my head against this. Its something I thought I know. I have a labeled text frame when I alert(mySpineTxt.getElements()); it tells me [object TextFrame] that sounds good to me then I use this
if(mySpineTxt.getElements().length != 0){
with(mySpineTxt.parentStory.words.itemByRange(0,0)){
mySpineTxt.contents=(String(myResp))
}
}
and it tells me that mySpineTxt does not support parentStory. I think it should.
Please add any corrections that I am missing.