mohammad.sub7
کاربر فعال
تنظیم صدا و کم و زیاد کردن صدا:
PHP:
on mouseUp
set the volume of sprite 1 to 100
end
on mouseUp
set the volume of sprite 1 to 100
end
on startMovie
sound(1).play(member("Song 1"))
end
on startMovie
sound(1).play(member("Song 1"))
sound(2).play(member("song2"))
sound(3).play(member("song3"))
end
on mouseUp me
sound(1).stop()
end
on mouseUp me
sound(1).fadeOut(2000)
end
on mouseUp me
-- set volume to half
sprite(1).volume = 128
end
on mouseUp me
trace(sprite(1).duration)
end
on mouseUp me
sprite(1).currentTime = 0
end
sprite(1).currentTime = 0
on exitframe me
go the frame
end
mouseUp
mouseDown
mouseEnter
mouseWithin
mouseLeave
keyUp
keyDown
rightMouseUp
rightMouseDown
prepareFrame
exitFrame
beginSprite
endSprite
---------------------------------------------------------------------------------------------------------------------------سلام این لینگو در ساخت یه پازل استفاده شده میشه بگید منظورش چیه
معنی لینگو زیر چیست
global c,e
on exitFrame me
c=0
e=0
end
global x1,y1,c,e
on mouseDown me
csn=the currentspritenum
x1=sprite(csn).loch
y1=sprite(csn).locv
end
on mouseUp me
csn=the currentspritenum
if sprite(csn).intersects(csn+12) then
sprite(csn).loc=sprite(csn+12).loc
e=e+1
if e=12 then
go frame 90
end if
else
c=c+1
if c=4 then
alert ("You had more than 3 wrong,Please try again")
go frame 1
end if
sprite(csn).loc=point(x1,y1)
end if
end
سلام میشه بگید این لینکو که برای یه قطعه پازل نوشته شده برای چیست؟
کاش این تاپیک رو استیکی میکردین.
دوست عزيز منظورتو نفهميدم