Solved

AS2 FLVPlayback issue

Posted on 2009-05-19
3
583 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

777 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