Copy link to clipboard
Copied
Hi,
Im currently working on a project in which i need to create a video with a clickable component at the end, which will then cause a second video to play- it's meant to function like a 'choose your own adventure' video, with two buttons that will each lead to a different ending. I've already created the video in photoshop, and having created 'buttons' in Animate before i was under the impression that i could easily complete this task in this program. However, i am having difficulty importing the video into Animate in a way that actually allows it to be part of the timeline and have components added to it. I'm beginning to wonder if this is even possible, and if not, what other programs could i use to do this? For extra context, the video in question is about 7 minutes long and involves audio, and it's currently in an mp4 file.
I would really appreciate any help you're able to give as this is a very important project for me and the deadline is fast approaching.
Many thanks,
A.
for as3:
use three instances (eg, video_1 on frame 1) of an flvplayback component to play each video.
place the first component (video_1 on frame 1 with two buttons (eg, button_1 and button_2) that appear when the video's complete event is triggered. assign the component source to the initial video:
import fl.video.VideoEvent;
button_1.visible=button_2.visible=false;
video_1.addEventListener(VideoEvent):void{
button_1.visible=true;
button_2.visible=true;
}
button_1.addEventListener(MouseEvent.CLICK):voi
...Copy link to clipboard
Copied
as3 or html5?
Copy link to clipboard
Copied
i've been trying to use as3, but im happy to use whichever will work
Copy link to clipboard
Copied
for as3:
use three instances (eg, video_1 on frame 1) of an flvplayback component to play each video.
place the first component (video_1 on frame 1 with two buttons (eg, button_1 and button_2) that appear when the video's complete event is triggered. assign the component source to the initial video:
import fl.video.VideoEvent;
button_1.visible=button_2.visible=false;
video_1.addEventListener(VideoEvent):void{
button_1.visible=true;
button_2.visible=true;
}
button_1.addEventListener(MouseEvent.CLICK):void{
gotoAndStop(2);
}
button_2.addEventListener(MouseEvent.CLICK):void{
gotoAndStop(3);
}
on frames 2 add another video component and assign it's source to your first ending.
likewise on frame 3 with your 2nd ending.
Copy link to clipboard
Copied
See if this helps you.