特殊:Badtitle/NS100:FlashPlayerStandalone

来自Ubuntu中文
Wikibot留言 | 贡献2007年11月30日 (五) 17:17的版本
跳到导航跳到搜索

{{#ifexist: :FlashPlayerStandalone/zh | | {{#ifexist: FlashPlayerStandalone/zh | | {{#ifeq: {{#titleparts:FlashPlayerStandalone|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FlashPlayerStandalone|1|-1|}} | zh | | }}

Adobe Flash

For the regular Flash 9 browser plugin, please see UbuntuHelp:RestrictedFormats, UbuntuHelp:RestrictedFormats/Flash and its "free alternatives" section. Adobe has released a standalone Flash player as part of Adobe Flash player 9 beta. You can find it here (that page links to Windows, GNU/Linux and Mac files for the plugin and the standalone player). This is designed to be a cookbook entry. Since Macromedia doesn't release a standalone flash player for Linux, and their plugin has some serious flaws in its audio syncing and a few other features, it is better to just use a Windows version. (NOTE: Macromedia bundles a standalone version of Flash Player with the trial versions of Flash. Although the trial version of Flash MX [Flash 6] installs well in WINE, that player is out of date and the native Linux player is a better option. Flash MX 2004 [Flash 7] and Flash 8 have exhibited problems with their installation and access to that player has been problematic. However if you have access to a real Microsoft Windows system then you can install the trial there and copy across the standalone player. Note: This entry assumes some familiarity with the terminal: Applications -> Accessories -> Terminal (in Ubuntu 7.04 (Feisty)). The commands listed in this section are entered in the terminal. All of the commands on this page require super-user privileges. To become the super-user in Ubuntu 7.04, enter the following command in the terminal at your regular user prompt:

sudo -s

You will then be asked to type your password. If the password is accepted, the prompt will change to show that you have successfully logged in as a super-user. In a default system, the prompt will change from a $ to a #. This is the mode you must use to make administrative changes to your system, such as the ones we will be making in this section. Alternatively, you can skip the step of logging in as super-user and instead precede each command with "sudo" while logged in under your normal login.

Installing Wine

To see how to install and configure Wine, see UbuntuHelp:Wine.

Setting Up Flashplayer

First, download a Stand-alone Flash Player .exe. I used this Flash Player 6 because it was the best thing I could find.

wget http://www.ahlrates.com/players/SAFlashPlayer.exe

Put it somewhere central on the computer. I decided to put it in /usr/win. You can substitute this directory with wherever, or leave it where it is.

sudo mkdir /usr/win
sudo mv SAFlashPlayer.exe /usr/win/

Now make a desktop icon. Right-click on your desktop and select "Create Launcher". Name it Flash Player, and in the "Command" field type

wine /usr/win/SAFlashPlayer.exe

You can even give it an icon. I used this one:

wget http://www.macromedia.com/shockwave/download/images/flash_rune.gif

Tuck this away somewhere like /usr/share/icons

sudo mv flash_rune.gif /usr/share/icons/

Then click on the big icon that says "No Icon" in your Create Launcher window, type in the proper directory (/usr/share/icons/) and select the icon for it. Voila, a beautifully installed Flash Player that will keep audio sync. Double-click it and test it. You can type any URL into the File->Open dialog, and it will load and play it for you. Enjoy! Written by NicholasRetallack.