I downloaded this and in the readme the instructions are for CS3, they state:
If you have Flash CS3 currently open, quit the application.
Navigate to the location where you unzipped the Google Analytics zip
and find the swc (e.g. lib/analytics_flash.swc).Create a "Google" directory in one of the following locations and copy the SWC file there:
- (Windows) C:\Program Files\Adobe\ Adobe Flash CS3\language\Configuration\Components
开发者_StackOverflow- (Mac OS X) Macintosh HD/Applications/Adobe Flash CS3/Configuration/Components
Since I have CS4, I found that the directory is different. It is Adobe\Adobe Flash CS4\Common\Configuration\Components\
In that directory, I made a directory called Google
and pasted analytics_flash.swc
in there.
Afterwards, I restarted CS4 and I don't see any Analytics library.
Did I miss some important step in setting up CS4 so that flash reads from that directory? Or is it supposed to automatically read from there, since it contains core common files?
Ok, I found more up to date instructions in the SVN readme.txt. I also copied the main analytics.swc file in addition.
I was incorrectly assuming it would show up in Window -> Libraries but it should be in Window -> Components.
精彩评论