FLVPlayback

  • solomon_13000
  • Born
  • Born
  • solomon_13000
  • Posts: 2

Post 3+ Months Ago

I parse the path using html as bellow:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="390" height="277" id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<%# "<param name=movie value=Untitled-1.swf?thePath=" + Eval("VideoPath") + " />" %>
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<%# "<embed src=Untitled-1.swf?thePath=" + Eval("VideoPath") + " quality=high bgcolor=#ffffff width=320 height=240 name=Untitled-1 align=middle allowScriptAccess=sameDomain type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer" + " />"%>
</object>


I have discovered a way to play two flv files using a FLVPlayback component.

import mx.video.*;
my_FLVPlybk.contentPath = this.thePath;
var listenerObject:Object = new Object();
// listen for complete event; play new FLV
listenerObject.complete = function(eventObject:Object):Void {
if (my_FLVPlybk.contentPath == this.thePath) {
my_FLVPlybk.play("http://www.helpexamples.com/flash/video/water.flv");
}
};
my_FLVPlybk.addEventListener("complete", listenerObject);

However it does not play "http://www.helpexamples.com/flash/video/water.flv"

How do I solve the problem.

Your help is kindly appreciated.


Regards.

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 5 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.