PDA

View Full Version : Custom UI Inspector



tecknoize
July 31st, 2007, 10:10 AM
Hi,
I'm trying to create a Custom UI for one of our component. I've found that you could access a component's parameters by jsfl using fl.getDocumentDOM().selection[0].parameters[0].value = yourValue;

This works great. I've also made a little script that prints out the selected component parameters. Everything seems to work...

The problem is, when I publish my SWF, the parameters set by the custom UI are not copied to the actual ActionScript component.

Am I missing something ?


Thanks.

GrndMasterFlash
July 31st, 2007, 01:53 PM
Hi,
I'm trying to create a Custom UI for one of our component. I've found that you could access a component's parameters by jsfl using fl.getDocumentDOM().selection[0].parameters[0].value = yourValue;

This works great. I've also made a little script that prints out the selected component parameters. Everything seems to work...

The problem is, when I publish my SWF, the parameters set by the custom UI are not copied to the actual ActionScript component.

Am I missing something ?


Thanks.


humm, maybe...

try somting like

myedit = fl.getDocumentDOM().selection[0].
myedit.parameters[0].value = yourValue;

just a thought, not sure if it will help or not...
:h: