1. Flash CS4 (or CS5)
2. Flex SDK v4 (hoặc v3)
You can download it at:
3. Download Source Code of JW Player at:
Choose the lastest version, download and unpzip to your folder. For example, I'm using JWPlayer5
Now open Flash CS4, Creat New choose Flash File (ActionScript 3.0)
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS401.png)
Click Ctrl + S , name file (ex. player.fla) and save it at C:JWPlayer5SRC (must be SRC)
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS402.png)
Go to Properties, at tab Publish, copy and paste below code to Class:
com.longtailvideo.jwplayer.player.Player
Below Tab Properties, at Stage you can choose color of default background for JW Player, I choose white color (#000000)
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS403.png)
Ctrl + U to show Preferences, Choose ActionScript, click ActionScripts 3.0 Settings
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS404.png)
At Flex SDK path, find to directory Flex SDK v4.
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS405.png)
Click OK twice.
Hold Ctrl + Shift + F12 (or FilePublish Settings) to show Publish Settings
click Tab Flash, click Settings at Script : ActionScript 3.0
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS406.png)
Settings, you choose tab Library path, clear all and +. Copy and paste below line:
$(FlexSDK)/frameworks/libs
Click+ , choose Library of JWPlayer: C:JWplayer5libs
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS407.png)
Click OK to save and return to Public Settings:
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS408.png)
Clcik Publish to compile. Go to C:JWplayer5src and you get jwplayer swf:
![](http://thoaimedia.com/wp-content/uploads/2013/11/CS409.png)
That's all.