Get the new PortableApps.com Platform 12.0.5. Better, stronger, faster, and prettier. Download Now or Buy on a Flash Drive
Instant access to over 300 free and legal portable apps (over 9GB) including the new Solfege (Aug 30, 2014)
PortableApps.com needs your help: Please consider making a donation today

What is flashplayer.xpt for?

portablealpha - March 27, 2010 - 4:16pm
Share on Facebook

I've been using (and updating) flash player successfully for a while now by copying just the NPSWF32.dll file to my FirefoxPortable\Data\plugins directory.

From what I've read on forums, though, you're also supposed to copy the flashplayer.xpt file. But mine works fine without it. So what does the .xpt file do exactly? Just curious. Thanks.

Edit: Could it be that the .xpt file is necessary, but FFP is reading it from the Windows\system32\Macromed\Flash directory (while reading the updated .dll from the portable directory)?


( categories: )

When you visit this website,

When you visit this website, what version of flash does it say you have?

http://kb2.adobe.com/cps/155/tn_15507.html

Adobe's version check page

Adobe's version check page shows the latest version (10.0.45.2) in use.

about:plugins shows two versions installed: 10.0.45.2 (in the FFP folder) and the older version that's installed in the Windows folder on the hard drive.

Tests:

A. If I rename the dll and xpt in the Windows folder, about:plugins shows only the version installed in the FFP folder. So renaming them prevents FFP from reading them.

B. Separately, if I change plugin.scan.plid.all to false, FFP no longer sees the older version on the hard drive.

In the above two examples, 10.0.45.2 still loads and works. And this is all without flashplayer.xpt in the FFP folder.

So I can't tell what, if anything, the xpt file would do.

you might be right

in the earlier versions, only one dll was needed for that, so it could be still so, all the rest seem to be less important. I tried few times, each time I have some other files coming with it, some utils etc, which also seem not to be needed in fact for the pure work under pff.

Otto Sykora
Basel, Switzerland

Umm.. are you all saying if I

Umm.. are you all saying if I copy the NPSWF32.dll in Firefox Portable > Data > plugins folder I could delete Adobe Flash Player 10 Plugin from my little SSD drive in my little netbook?

Maybe, yes?

Yes definitely. I saw some

Yes definitely.

I saw some other posts you made around here so I know that's the answer that you're looking for (and having a Dell Mini 9 myself with an SSD, I understand why).

So what is it for?

Edit: Could it be that the .xpt file is necessary, but FFP is reading it from the Windows\system32\Macromed\Flash directory (while reading the updated .dll from the portable directory)?

No, because my Flash directory does not contain flashplayer.xpt. As a matter of fact, I've scanned my entire hard drive and flashplayer.xpt is nowhere to be found. But yet FFP works fine with just NPSWF32.dll.

So why do people on forums say to also copy flashplayer.xpt?

XPT is for Javascript communication with the plugin and browser

XPT is for Javascript communication with the plugin and browser.
basically if you can use javascript to interact with the plugin.

So how come SWFObject works without it?

Isn't it supposed to fail?

SWFObject

I only going off information I heard about the netscape plugin format.
I may be wrong but I don't think swfobject.js communicates data from the swf to the browser bu creates an api for generating HTML tags and communicte with plugin properies rather than retrieve information out of the swf file.