| Revision 800,
1.3 KB
checked in by pablo, 3 years ago
(diff) |
|
Additional compile tips for Flex Builder 3 users.
|
| Line | |
|---|
| 1 | The JW Player is free for non-commerical use. To buy a license for commercial use, please visit |
|---|
| 2 | https://www.longtailvideo.com/players/order. |
|---|
| 3 | |
|---|
| 4 | To build the JW Player, you will need the following software: |
|---|
| 5 | |
|---|
| 6 | * Flex SDK 3.3: http://opensource.adobe.com/wiki/display/flexsdk/Downloads |
|---|
| 7 | * Ant 1.7.0: http://ant.apache.org/bindownload.cgi |
|---|
| 8 | * FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player) |
|---|
| 9 | |
|---|
| 10 | To compile with Flex and Ant, enter the following command: |
|---|
| 11 | |
|---|
| 12 | ant -buildfile build\build.xml |
|---|
| 13 | |
|---|
| 14 | If the build is successful, player.swf will appear in the "bin-release" folder. |
|---|
| 15 | |
|---|
| 16 | Alternately, if you're using Flex Builder or Flash Builder, you may use the following method to build the player: |
|---|
| 17 | |
|---|
| 18 | 1. Create a new Actionscript project (you can give it any name except "Player"). |
|---|
| 19 | 2. Under "Project Contents", select the checkout tree (the folder where this README file lives). |
|---|
| 20 | 3. If using Flex Builder 3, click the "Next" button, then type "src" into the "Main Source Folder" field. |
|---|
| 21 | 4. Click the "Finish" button |
|---|
| 22 | 5. Alter your main application class to inherit from com.longtailvideo.jwplayer.player.Player. |
|---|
| 23 | 6. Under the "Project" menu, choose "Export Release Build". |
|---|
| 24 | 7. The player will be compiled as bin-release/{Your Project Name}.swf. |
|---|
Note: See
TracBrowser
for help on using the repository browser.