PDA

View Full Version : Anybody can make this simple custom component a complied clip!!!?


emadzedan
07-22-2008, 09:04 AM
Hi,

I have a custom component that has this line of code in the first frame:

trace(this.Num1 + this.Num2);

where:
Num1:is a Number parameter created via component definition window
Num2:is a Number parameter created via component definition window

when I convert this component to a compiled clip it dose not work because the parameters disappear from the parameter panel and the component inspector parameters.

I have this trace"
NaN

anybody can make it work!!!!

thanks a lot.