Solved

Flash Buttons and ActionScript

Posted on 2011-09-12
2
327 Views
Last Modified: 2012-05-12
Hello,

I am teaching myself Flash and have a little project going.

First, the flash movie plays a few words that fade in and then out.

Now I want to create thumbnails of 3 movie clips that play the movie when you click it.  No movie controls, just it plays.

Do I put the buttons in and tell them to just jump to a frame?  Or do I create seperate scenes for each movie and link the buttons to the scene?  What about when the movie clip is done playing?  Is there a way to send it back to the frame here the buttons are?

Many thanks for any help!  :)
0
Comment
Question by:hydrazi
2 Comments
 
LVL 29

Expert Comment

by:dgofman
ID: 36523732
0
 
LVL 4

Accepted Solution

by:
Somersault earned 500 total points
ID: 36530361
Hi Hydrazi!

You put the buttons/movieclips on the scene, and add the relevant click code. You have mainly two options when it comes to video:

1. You can load it in externally (hard if you're an actionscript novice)
2. You can embed it into your flash
3. Use Flash video component, remove the skin and just tell it to play when you press the button.

Here are a few links about these different options, I didn't know what language you're using(AS2 or AS3) so I'm just linking to AS2:
Simple Multi Videoplayer
http://library.creativecow.net/articles/ross_tony/Simple_Multi-VideoPlayer_AS2.php

Embedding video in flash
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSBDABD69F-D146-4e5c-9340-BF717A10426C.html

FLV Playback Component
http://www.adobe.com/devnet/flash/quickstart/flvplayback_component.html 
http://www.adobe.com/devnet/flash/articles/custom_flvcomp.html

General info
http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSCF589773-11F1-4bc4-AE7C-6C2507601A98.html

Hope that helps!

Chris
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question