-
external information from .txt/.php file issues
Hello, I’ve been working on a project (within AE CS5)and ended up having some issues.
I ‘read’ the opacity from a little bit of code in AE, which is used as an expression on a layer:
myPath = “/c/map/textinformation.txt”;
$.evalFile (myPath);
eval(thisLayer.name)[0];with this layer (with the name: sunset) it will look for this information:
sunset = [0]
the opacity of the layer is now 0 and it works fine.
However, I want AE to figure the location of textinformation.txt for it self as in:
myPath = “textinformation.txt”;
$.evalFile (myPath);
eval(thisLayer.name)[0];This will work good in AE, but when it renders, all of the sudden it doesn’t any more (the layer’s opacity will automatically be 100, even if it’s set 0)
It has to be something like:
myPath =”thismap.textinformation.txt”; (i’m a noob at this lol)
Any thoughts?