Solved

AS2 FLVPlayback issue

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

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 …
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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 what frame rate is, how to control it and what effect it has on the video.

808 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