个人工具

“UbuntuHelp:FlashPlayerStandalone”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/FlashPlayerStandalone}}
 
{{From|https://help.ubuntu.com/community/FlashPlayerStandalone}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:FlashPlayerStandalone}}
 
== Adobe Flash ==
 
== Adobe Flash ==
 
'''For the regular Flash 9 browser plugin, please see RestrictedFormats or  https://help.ubuntu.com/community/RestrictedFormats/Flash'''
 
'''For the regular Flash 9 browser plugin, please see RestrictedFormats or  https://help.ubuntu.com/community/RestrictedFormats/Flash'''
第55行: 第55行:
 
Written by NicholasRetallack.
 
Written by NicholasRetallack.
  
CategoryDocumentation CategoryCleanup
+
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年5月14日 (一) 11:41的版本

Adobe Flash

For the regular Flash 9 browser plugin, please see RestrictedFormats or https://help.ubuntu.com/community/RestrictedFormats/Flash

Adobe have released a standalone Flash player as part of their 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. Just something fun to do, and you might learn something from it too. 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, in my opinion it's better to just use a windows version. So I did, and it works great. I'll tell you what I did.

(NOTE: Macromedia bundle a standalone version of Flash Player with the trial versions of Flash. In my experience the trial of Flash MX [Flash 6] installs well in WINE, however the player is obviously out of date and the native Linux player is a better option. Flash MX 2004 [Flash 7] and Flash 8 have given me problems with their installation and I have been unable to access their players, 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: I'm assuming some familiarity with the terminal: Applications -> System Tools -> Terminal. This is where you will enter these commands.

All of the commands on this page require super-user privileges. To become the super-user, either open a root terminal (Applications -> System Tools -> Root Terminal) or become the super-user from a regular terminal with this command:

sudo -s

It will ask you to type your password, and then change your prompt so there is a # instead of 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 precede each command with "sudo".

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 lets 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 wont lose audio sync. Double-click it and test it out. You can type any URL into the File->Open dialog, and it will load and play it for you. Enjoy!

Written by NicholasRetallack.