[Red5] John Grden's Excellent Flex 2 FLVPlayer
lrsorey at gmail.com
Mon Apr 9 19:47:12 EDT 2007
Just place a working copying copy of John Grden's Flex 2 FLVPlayer on my FTP
look in the FLVPlayer Folder.
The FLVPlayer.swf located in the bin folder should work immediately for you
who want to see
it within a localhost environment.
A couple of things you will need to know about this example. You will need
rebuild with ANT if you want to change the localhost reference in the
This url reference in located in the FLVPlayer.mxml file. This should be the
you should have to change before you rebuild with ANT.
Also, you will need to download the free Flex2 SDK from Adobe in order to
use it to
build with ANT. If you don;t download Flex2 SDK, it ain't going to build!! :
Please look in the build.properties file and change to your default folder
install of Flex2.
Oh Yeah, if you don't use FlashDevelop, comment out line 32 in the build.xml.
http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex - Download from
The Free Flex 2 SDK download is about halfway down the page.
Also, if you don't have copy of FlashDevelop, now would be a good time to
download this as well.
While it is not required to compile the FLVPlayer, it is a good thing to
FlashDevelop 2.0.2 Final
AS3 as well.
URL for this is http://www.flashdevelop.org/community/
Last but not least you must have the minimum :
ANT - I am using ANT 1.70 - http://ant.apache.org/bindownload.cgi
JAVA - I am using Java 1.6 but I believe 1.5 would work just as well.
The ANT build will place a new build of FLVPlayer.swf in the Bin folder so
look for your new build there.
Drop the new build of FLVPlayer.swf into
java/Tomcat55/webapps/red5/demos (or into red5/webapps/root/demos ) if you
are using Jetty.
For you folks that used my Tomcat_html_files (still on the ftp server) all
you have to
do is take one of the html files and change it to look like the following
and then save it as FLVPlayer.html.
Add it to you index.html page a as menu item and your ready to give it a
This text is replaced by the Flash movie.
var so = new SWFObject("demos/FLVPlayer.swf", "ofla", "100%", "100%",
John Grden really did a nice job with this.
Thanks again John!! Great learning tool!!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5