How to replay a scene without referring to its string name? (For a presentation)
hello guys,
i'm creating presentation, every slide scene. i'm new in flash, , use flash cs6.
i've succeeded far in coding keyboard controls move me next , previous scene without referring names, problem following: each scene supposed have animation that, default, has reply until request move next slide. how can give command @ end frame of scene makes replay current scene , not whole flash show?! expect like:
gotoandplay(1,currentscene());
i wouldn't refer scene's name because want use same code on scenes without need modify every scene.
however, if have better suggestions doing presentation on flash, i'd love hear them. i'm doing i'm doing because failed use advanced presentation template in flash. couldn't find way add/remove slides. extremely ambiguous me.
thank efforts.
i don't use scenes rule due not them since first discovered them hiding content trying find , due them having checkered past. recommend folks avoid them.
for timeline-based slideshow, i'd create each slide movieclip, , each slide occupy single frame of main timeline. doing way, don't need use make slide loop continuously.
as far expect, if work, work in form of...
gotoandplay(1, currentscene.name);
currentscene scene object, not function/method doesn't come () after it. it's name property string, gotoandplay function requires scene argument
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment