?
Solved

AS2 FLVPlayback issue

Posted on 2009-05-19
3
Medium Priority
?
596 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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 last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

765 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