Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
zwigger

Item lockScale property in XML

Recommended Posts

Hi,

I am setting individual lockScale properties in my Project for my different TransformItems and save this with exportFullXML.

After loading and applyFullXML, I am missing my set lockScale properties.

Is there an easy Solution to get them in the XML?

 

thanks

Link to comment
Share on other sites

okay – I got it!

just needed 2 additional lines in the TransformManager

 

i just added the following line in… public function exportItemXML:

xml.@lockScale = uint(item.lockScale);

 

and in… public function applyItemXML:

item.lockScale = Boolean(uint(xml.@lockScale));

 

rock on

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×