Control video in Flash

Video and Flash were made for each other. With a little bit of coding know-how, it's possible to sequence a set of video clips to create a dramatic website interface that will impress peers and clients alike.

In this project we use four time-lapse videos - each triggering the next to play - to create a Flash website that works in a similar way to a DVD menu. We have a video opener movie with the obligatory 'skip' button, followed by a movie that loops until the user clicks a button. That causes another movie to play, activating an event at the end - in this case, a browser window is opened.

We use simple code that switches the visibility of layers, and monitors how far along each video has played. This code is provided in the support files, and can easily be tweaked for your own interactive projects without the need to compile it from scratch. You'll also find some tips for making and encoding your own video clips if you choose to do so.

Click here to download the support files (185MB)

Click here to download the tutorial for free

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of six full-time members of staff: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, and Staff Writer Amelia Bamsey, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.