Can I control from script (with javascript) the function of overlay creator panel of ID CS5.5?
Where can I found documentation?
Thanks
I found a way to overcome this.
Export the object as a snippet.
Now you have an XML text file that represent the object.
Open it in your code and replace the
<KeyValuePair Key="Type" Value="Panorama"/>
etc
with the values that you wish to.
Now import this snippet and you can actually script the overlay creator.
Regards,
Eli
Well, I found a better way:
Just because all the data of the object is actually KEY/VALUE labels:
We can simply do it like this:
myObj = app.selection[0]
myObj.insertLabel("Type","Panorama")
myObj.insertLabel("AssetList","C:\\myFolder\\")
myObj.insertLabel("InitialFOV","70")
This is for panorama, we can do it for the rest of the overlay ojects like pan-zoom etc.
Of course we should get the KEY/s for each object and immitate the code that stands behind the flash overlay creator panel
Regards,
Eli
North America
Europe, Middle East and Africa
Asia Pacific