spydersweb
Programmer
Hi all
I am really stuck on this one. I want to start playing some narrative and then fade in a slide, once the narrative has finished I want to fade out the slide and move on to the next one.
I have attached the code I have so far.
Please help this is really bugging me.
regards
Graham
-- frame script
on prepareFrame me
sound(1).play(member("1")
fadeinslide
end
on exitFrame me
if soundbusy(1) then
go to the frame
else
fadeoutslide
end if
end
-- global scripts
on fadeooutslide
repeat with x=1 to 50
if sprite(60).member.name <> "slide2_1" then
sprite(60).blend = sprite(60).blend -2
end if
sprite(61).blend = sprite(61).blend -2
updatestage
end repeat
end
on fadeinslide
repeat with x=1 to 50
if sprite(60).member.name <> "slide2_1" then
sprite(60).blend = sprite(60).blend +2
end if
sprite(61).blend = sprite(61).blend +2
updatestage
end repeat
end
I am really stuck on this one. I want to start playing some narrative and then fade in a slide, once the narrative has finished I want to fade out the slide and move on to the next one.
I have attached the code I have so far.
Please help this is really bugging me.
regards
Graham
-- frame script
on prepareFrame me
sound(1).play(member("1")
fadeinslide
end
on exitFrame me
if soundbusy(1) then
go to the frame
else
fadeoutslide
end if
end
-- global scripts
on fadeooutslide
repeat with x=1 to 50
if sprite(60).member.name <> "slide2_1" then
sprite(60).blend = sprite(60).blend -2
end if
sprite(61).blend = sprite(61).blend -2
updatestage
end repeat
end
on fadeinslide
repeat with x=1 to 50
if sprite(60).member.name <> "slide2_1" then
sprite(60).blend = sprite(60).blend +2
end if
sprite(61).blend = sprite(61).blend +2
updatestage
end repeat
end