Thread
:
Number Cloning
View Single Post
#
4
(
permalink
)
12-21-2006, 08:23 AM
Zlaire
Newbie
Join Date: Dec 2006
Posts: 5
Credits:
0
Rep Power:
0
Isn't the return type of clone() "Object"?
So basically you're trying to assign "Object" to "Number". Maybe you could try:
Code:
this.scale = (Number)scale.clone(); this.offset = (Number)offset.clone();
Zlaire
View Public Profile
Send a private message to Zlaire
Find all posts by Zlaire