Solved

AS2 FLVPlayback issue

Posted on 2009-05-19
3
576 Views
Last Modified: 2013-11-11
I am using the FLVPlayback component in CS3, and the file is AS2 (legacy code that can't be updated).

There are 9 video files, each in its own frame. each frame has a "stop();". In the contentPath, there are 9 different .flv files. There are nine buttons that, when clicked, lead to the nine frames.

The first video plays as expected. All other frames show nothing. I added a trace to each frame to make sure I was indeed reaching the correct frames, and I was.

Why is the first video playing, but none of the rest?
0
Comment
Question by:msukow
3 Comments
 
LVL 6

Expert Comment

by:biyik
ID: 24428810
Hi,
You can clear the path in your panel and try to control contentPath from AS. So, after each of the stop() codes, write your new path :
yourFLVPlayerInstance.contentPath = "yourvideo1.flv";


0
 
LVL 39

Expert Comment

by:blue-genie
ID: 24439205
does your component exist in all your frames
if so thats probably your problem
you dont' need to have muiltiple frames, just change the contentPath as biyik said.
if you need to use frames for other reasons, make sure the component spans all those frames rather than having multiple keyframes.

how are you doing this bit?
>> In the contentPath, there are 9 different .flv files.
0
 

Accepted Solution

by:
msukow earned 0 total points
ID: 24450774
Figured out the issue - needed to have each flv in its own layer. Duh!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

747 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

12 Experts available now in Live!

Get 1:1 Help Now