You should be able to change the contentPath property and  change the
currently playing video.

You can have more than one video load into the FLVPlayback component by
adding more videoPlayers inside the same component. You can achieve this
using the  activeVideoPlayerIndex  and the visibleVideoPlayerIndexproperties.

Now that you have said you are picking up the FLV's path from a XML, if I
can take a wild guess, here, check this too:
before assigning the FLV file's path to the contentPath property, check if
you are actually passing a proper string value (trace out the type of the
value). Since you are picking it up from a XML, you might be assigning a
XMLNode instead of its nodeValue.

Hope it helps.

Regards,
~Arul Prasad.

On 5/25/06, Aasim Momin <[EMAIL PROTECTED]> wrote:

Hi,

I am using an FLV Playback component inn my file for streaming videos
from FMS. I need to changes the videos on the click of a button. This I
have achieved by changing the contentPath parameter dynamically. The
contentPath values are coming from an XML file.
If I place the FLV Playback component on the stage, it shows the first
video but when I try to move to the next video on clicking Next, The
video does not play.
Currently I have made it work by using the attachMovie() function and
not keeping the FLV Playback component on the stage.
I am using Flash 8 Professional and FMS 2.

Could I be missing something?

Regards,
Aasim Momin



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to