tags:

views:

75

answers:

0

I want to retrieve the x,y and z positions of a MovieClip with 3d transformations applied using jsfl.

Once a clip 'enters 3d mode'(has 3d transforms applied), the usual properties(x,y) go to 0.

I have noticed that there is a Copy Properties option in the Timeline context menu. I only need 3d position, but that seems to get all I need and more. I didn't find anything in the jsfl reference. There is a Paste Properties Special dialog, which reminds me of the Paste Motion Special dialog, so I looked for a similar XML UI file, but no luck. Since you can paste properties, they must be stored somewhere when you copy them. Can't seem to figure out how.

Also, the jsfl function for transforming 3d properties(doc.translate3DSelection(), doc.rotate3DSelection()) return nothing :(

I tried tracing the functions:

fl.trace(doc.translate3DSelection);

but I can't get to far:

function translate3DSelection() {
    [native code]
}

Any hints ?