Jump to content

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

Recommended Posts



I'm using the applySettingXml method to configure the TransformManager from an external file.


Everything work fine, but I don't know in which format the colors for the handle and the line are described.


For example, to which color will translate a value of "16777215" for the handleColor?


Thank you.

Link to comment
Share on other sites

Are you asking how you can know what color 16777215 is or are you asking how to define a color? In other words, are you trying to READ or WRITE the color?

Link to comment
Share on other sites

The color is a uint value (unsigned integer). An easy way to get the number would be to trace() it in Flash, like trace(0xFFCC33); Does that work for you?

Link to comment
Share on other sites

Oohh I see, thank you Jack.


However, is there an easier way to get the number? a way that doesn't involve opening flash?

Link to comment
Share on other sites

I believe you could pass in a value like 0xFFCC33 directly - have you tried that? Other than that, what are you wanting to use for conversion - Javascript? ActionScript? Sorry, I'm a little unclear about your workflow and what's populating that value on your end.

Link to comment
Share on other sites

I'll try passing 0XFFCC33 directly.


I was simple trying to initialize the TranasformManager from an external config file, so that any change in the settings could be done without touching the code.


You have already answer my question, thank you very much Jack.

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.