is ImageLayer:SetSourceImage() implemented???
Posted: Fri Apr 01, 2005 12:51 pm
Hey LM!
is ImageLayer really implemented?
i get an error when i do this :
JS_image_sequence.bitmapPath = LM.GUI.OpenFile("Select the first image file of the sequence")
if (self.bitmapPath == "") then
return
end
JS_image_sequence.iLayer = moho:CreateNewLayer(MOHO.LT_IMAGE)
-- ERROR HERE :
self.iLayer:SetSourceImage(self.bitmapPath)
I checked the file path issues using io.read and seem fine...
The error is :
"attempt to call method SetSourceImage (a nil value)"
so i guess it is not in the API (as stated in the doc)??
Or am i doing something wrong with the path? (any special issue under windows? i am using string.format() for escape characters)
thank you!!
Julien
is ImageLayer really implemented?
i get an error when i do this :
JS_image_sequence.bitmapPath = LM.GUI.OpenFile("Select the first image file of the sequence")
if (self.bitmapPath == "") then
return
end
JS_image_sequence.iLayer = moho:CreateNewLayer(MOHO.LT_IMAGE)
-- ERROR HERE :
self.iLayer:SetSourceImage(self.bitmapPath)
I checked the file path issues using io.read and seem fine...
The error is :
"attempt to call method SetSourceImage (a nil value)"
so i guess it is not in the API (as stated in the doc)??
Or am i doing something wrong with the path? (any special issue under windows? i am using string.format() for escape characters)
thank you!!
Julien