Code: Select all
newlayerid=LoadAnim(Nil, "temp.jpg")
DebugPrint(newlayerid)
but instead i get:
UserData: 047631E0
What does this id mean actually, and is this right?
Code: Select all
newlayerid=LoadAnim(Nil, "temp.jpg")
DebugPrint(newlayerid)
Code: Select all
ShowLayerFX(newlayerid, {Type = #ZOOMCENTER, Speed=10})
Code: Select all
EnableLayers()
TestBrushOne=LoadBrush(Nil, "Test.png")
TestBrushTwo=LoadBrush(Nil, "Test2.png")
DisplayBrush(TestBrushOne, 10, 10, {Name="TestLayer"})
WaitLeftMouse()
SetLayerStyle("TestLayer", {ID=TestBrushTwo})
You can use it anywhere except with layersBugala wrote:So what is the use for that automatic ID receiving, if i cant really use it anywhere?