Skip to main content
Participant
March 9, 2019
Question

Play video

  • March 9, 2019
  • 2 replies
  • 247 views

Hi,

I am trying to make a very simple kiosk installation (Air for Desktop), where a press on a button activates a video (and after the video ends, the button will be back). Can anyone guide me to how to do it?

The only way I can play a video is by placing it on the first frame of a scene. But If I make a play button in one scene, and a video solely on another scene, only the button shows up in the test.

Thanks!

This topic has been closed for replies.

2 replies

Legend
March 9, 2019

Don't. Use. Scenes. Scenes are an archaism from the AS1 days.

kdmemory
Inspiring
March 9, 2019

Hi Mikkel

So, AIR for Desktop. Are you using the FLVPlayback Component for your video?

There are ways to achieve your goal. But first I need to know more basics.

Klaus

Participant
March 9, 2019

Yes, I use FLVPlayback Component. in Air for Desktop.

I can only make video work if I put it in my timeline from frame 1. I have tried many solutions, but always get errors when I place it on other frames or in another scene (the latter does not give me an error, but just doesn't work). At this moment I am stuck with having a button on top of my video (which has autoplay unticked) with which I can start the video. I would prefer to have a button by itself, have it activating the video (by a click), and after the video return to the button.