views:

1819

answers:

4

Hello all. I've been trying for some time to use the ExternalInterface.call method in flash, to no avail (see here: http://stackoverflow.com/questions/757390/actionscript-javascript here: http://stackoverflow.com/questions/818089/using-externalinterface-in-flash and here: http://stackoverflow.com/questions/825316/flash-trace-output-in-firefox-linux) and now I'm trying to trace ExternalInterface.available. So far my best option seems to be FlashTracer for firefox, except that I have to have flash player 9 installed. I've removed my old flash player and downloaded the appropriate files (http://download.macromedia.com/pub/flashplayer/updaters/9/flash_player_9_linux_dev.tar.gz). According to the readme included these are the steps for installation:

Installing the debugger plugin tar.gz using Install script:
o the debugger plugin is located at:
./plugin/debugger/install_flash_player_9_linux.tar.gz
o Unpack the tar.gz file
o In terminal, navigate to the unpacked directory and enter:
+ $ ./flashplayer-installer
+ Click Enter key and follow prompts

except there's no file called flashplayer in the debugger directory. Anyone else ran into this? How can I install flash player 9 debugger on my Ubuntu system?

A: 

I haven't seen the issues you have, and perhaps your requirements restrict you to an older version, but I've had great success with flashplayer 10's debugger. You might try this one and see if it works.

Edit: Ahh, I just noticed one very pertinent statement you made: you require flashplayer 9. Sorry =(

Edit 2: I just had the same thing happen to me on Linux. When I extracted the tar.gz from Adobe, the installation script wasn't present. This said, I was able to get the debugger version of 9 installed anyway.

When you extracted, did you see a libflashplayer.so file? I didn't have an installation script, but I did get this file. If so, all you need to do is this:

  1. Close all instances of Firefox
  2. Backup your current libflashplayer.so module: ~/.mozilla/plugins/libflashplayer.so.org (this way, if something goes wrong, you can always put it back)
  3. Copy the version you extracted from the Flash player download to the same plugins directory: cp /path/to/vers/9/libflashplayer.so ~/.mozilla/plugins/
  4. Restart Firefox, open a Flash app, and right-click to check for the version

These steps worked perfectly for me, and I was able to run Flex Builder's debugger in Linux. Hope it works for you!

bedwyr
I don't have a ~/.mozilla/plugins directory. I searched for all libflashplayer.so and replaced them with the version inside flashplayer 9 plugin debugger (while firefox was closed) and when I right click on a flash app I still get 'flash player 10'. The search goes...
danwoods
Hmm, I haven't seen this happen. Have you installed other plugins? There's a plugin manifest in the ~/.mozilla directory which contains all configuration information for the plugins. I wonder if Adobe's process for installing the plugin will create this file and the directory. Try installing another plugin (e.g. AddBlockPlus) and see if that creates the directory.
bedwyr
A: 

Hi bedwyr, I have the same problem. I don't have a ~/.mozilla/plugins directory. I added the AddBlockPlus plugin and nothing changed in the ~/.mozilla/firefox or ~./mozilla directory. Any ideas what I can do?

-Thanks Shilpa

+1  A: 

If you're using something like Ubuntu, the Flash plugin is probably a system wide thing. Under Ubuntu 8.10 for example, I have it at:

/usr/lib/flashplugin-installer

additionally you'll find at:

/etc/alternatives/

links to it, so you can change which .so is used depending on the user.

The easiest thing you could probably do if the ./flashplayer-installer file doesn't exist (though it does in mine) is to copy the debug flashplayer library to this directory. e.g:

root@me:/usr/lib/flashplugin-installer# mv libflashplayer.so  libflashplayer.non-debug.so
root@me:/usr/lib/flashplugin-installer# cp ~jamie/Adobe_Flex_Builder_Linux/Player/linux/install_flash_player_9_linux/libflashplayer.so libflashplayer.debug.so 
root@me:/usr/lib/flashplugin-installer# ln -s libflashplayer.debug.so libflashplayer.so
Jamie Love
This worked nicely for myself.
clownbaby
A: 

One way you can do it is downloading the flex 3 SDK for linux. When you download it you'll get a couple of tar's. You can find this in ~/flex_sdk_3/runtimes/10 if you want to install the flashplayer 10 and ~/flex_sdk_3/runtimes/lnx/ if you want the flashplayer 9. Uncompress those files (flashplayer.tar.gz and libflashplayer.so.tar.gz with tar -xvf). Now cp libflashplayer.so the file to /usr/lib/mozilla/plugins/ and if you want create symbolic links (ln -s flashplayer /usr/local/bin to have the player on your path

wallyqs