Arul,
Thanks for the response. My problem has been solved the solution is
listed below from the FlashComm forum.

"When you call the second file, what syntax do you use? Do you specify
the filename.flv or just filename (no .flv)?

If you are using .flv for the first video then try subsequent ones
without
it:
second url: rtmp://myserver/flv_test/disco and not
rtmp://myserver/flv_test/disco.flv

Load the first one using .flv extension."

The xml values were not a problem as the xml was getting parsed properly
and values were being assigned to the contentPath.

I shall also try out the activeVideoPlayerIndex &
visibleVideoPlayerIndexproperties suggested by you.

Regards,
Aasim Momin


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arul
Prasad
Sent: Thursday, May 25, 2006 8:51 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FLV Playback problems.

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
>
>
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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