hi
i develop an indesign extension with CS extension builder 2 and flashbuilder 4.6.
how to unthread text frames ? i don't find any method or property in textframe class...
thanks
Simon
hi
thanks for your reply but it doesn't work because i want to keep the text in all textframe. I found a solution in 2 time duplic and remove :
function unstory(qui:Document){
for each(var stori in qui.stories){
if(stori.textContainers.length>1){
duplic(stori);
remov(stori);
}
}
}
function duplic(myStory){
var myTextFrame;
//Duplicate each text frame in the story.
for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
myTextFrame = myStory.textContainers[myCounter];
myTextFrame.duplicate();
}
}
function remov(myStory){
//Remove each text frame in the story. Iterate backwards to avoid invalid references.
for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
myStory.textContainers[myCounter].remove();
}
}
North America
Europe, Middle East and Africa
Asia Pacific