Solved

Flash Buttons and ActionScript

Posted on 2011-09-12
2
320 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
Comment Utility
0
 
LVL 4

Accepted Solution

by:
Somersault earned 500 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now