Linux下,64位的Firefox、Opera等浏览器默认搜索到的Flash插件是32位的,安装之后也不能正常工作。
需要手工安装一下。
1.下载插件
使用浏览器下载:
到Adobe的站点上下载64位的Flash插件: http://labs.adobe.com/downloads/flashplayer10_64bit.html
插件下载地址:http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
使用wget命令下载:
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
2.安装
解压下载的压缩文件
tar -zxf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
移动解压
得到的 libflashplayer.so
文件到64位浏览器的插件目录(需要root权限,注意应复制到64位的目录中)
su root
mv libflashplayer.so
/usr/lib64/m ......
Linux下,64位的Firefox、Opera等浏览器默认搜索到的Flash插件是32位的,安装之后也不能正常工作。
需要手工安装一下。
1.下载插件
使用浏览器下载:
到Adobe的站点上下载64位的Flash插件: http://labs.adobe.com/downloads/flashplayer10_64bit.html
插件下载地址:http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
使用wget命令下载:
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
2.安装
解压下载的压缩文件
tar -zxf libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
移动解压
得到的 libflashplayer.so
文件到64位浏览器的插件目录(需要root权限,注意应复制到64位的目录中)
su root
mv libflashplayer.so
/usr/lib64/m ......
刚开始用CS4的时候就注意到了这个这个功能不过都没实践过,这几天实践了一下发现是个很好很和谐的的技能 .有了它我们就可以很傻瓜的编辑一些我们程序员很头疼的代码,比如flash动画的滤镜效果,如果没有这个功能估计帮助文档里面的flash.filters包得看半天…有个这个功能我们就不用愁了.比如现在我想动态添加添加一个元件的模糊效果.
首先我们在时间轴的第一帧放一个元件,然后在后面的时间轴比如第十帧右击插入帧,再右击创建补间动画(不是传统补间哦)接下来打开动画编辑器点击滤镜->模糊分别在实践轴的第一(我都设置为100)和末位帧(我都设置0)设置元件的x模糊值和y模糊值,按下Enter就可以发现是一个从模糊到清晰地渐变效果,我把自己的动画效果代码贴出来:
1: import fl.motion.AnimatorFactory;
2: import fl.motion.MotionBase;
3: import flash.filters.*;
4: import flash.geom.Point;
5: var __motion_元件2_3:MotionBase;
6: if(__motion_元件2_3 == null) {
7: import fl.motion.Motion;
8: __motion_元件2_3 = new Motion();
9: __motion_元件2_3.duration = 10;
10:
11: // Call overrideTa ......
All metal heart shaped necklace containing an 8 GB USB flash drive.
These days a
USB flash drive
is as necessary as your house keys. Whether you are
taking large work files back and forth from the office or are sharing pictures
and music with friends, nothing beats the convenience of a USB storage drive.
Well, why not make sure the one you get fits the person who is going to carry
it? This is an elegant all-metal and jeweled heart necklace that has 8 gigabytes
of flash memory so you or your loved one will have enough space to keep those
treasured memories close at heart.
This elegant
necklace USB flash drive
is in stock right now at a great wholesale
prices and available for immediate express shipping.
At a Glance...
Heart USB necklace for every day wear
Great Valentine's Day and World Love Day gift
Ref: hgeaj97r
......
function getFlashVer() {//获得flashplayer的版本 google
var f="",n=navigator;
if (n.plugins && n.plugins.length) {
for (var ii=0;ii<n.plugins.length;ii++) {
if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {
f=n.plugins[ii].description.split('Shockwave Flash ')[1];
break;
}
}
} else if (window.ActiveXObject) {
for (var ii=10;ii>=2;ii--) {
try {
var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");
if (fl) {f=ii + '.0'; break; }
}
catch(e) {}
}
}
document.write("您的FlashPlayer版本为 <b>"+f+"</b>");
}
getFlashVer(); ......
做了一个弹出窗口,点击后发现它和flash重合的部分,被flash盖住了,查了一下解决方法:
原代码如下:
<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='obj6' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='266' height='139'>
<param name='movie' value='flash/pics.swf?httpx=xml/pics.xml'>
<param name='quality' value='High'>
<embed src='flash/pics.swf?httpx=xml/pics.xml' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='obj6' width='266' height='139' quality='High'></embed>
</object>
修改后代码:
<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='obj6' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='266' height='139'>
<param name='movie' value='flash/pics.swf?httpx=xml/pics.xml'>
<param name='quality' value='High'><param ......
import flash.net.FileFilter;
import flash.net.FileReferenceList;
import fl.controls.Button;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.HTTPStatusEvent;
import flash.display.Loader;
import flash.net.URLRequest;
var choose_button:Button=new Button();
var upload_button:Button=new Button();
var loader:Loader=new Loader();
var reference_list:FileReferenceList=new FileReferenceList();
var url:URLRequest=new URLRequest("http://localhost/flashupload.php");
choose_button.label="选择文件";
upload_button.label="上传文件";
upload_button.move(100,50);
addChild(choose_button);
choose_button.move(300,100);
addChild(upload_button);
addChild(loader);
choose_button.addEventListener(MouseEvent.CLICK,choose_file);
upload_button.addEventListener(MouseEvent.CLICK,upload_start);
reference_list.addEventListener(Event.SELECT, selectHandle);
reference_list.addEventListener(Event.CANCEL, cancelHandl ......
import flash.net.FileFilter;
import flash.net.FileReferenceList;
import fl.controls.Button;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.HTTPStatusEvent;
import flash.display.Loader;
import flash.net.URLRequest;
var choose_button:Button=new Button();
var upload_button:Button=new Button();
var loader:Loader=new Loader();
var reference_list:FileReferenceList=new FileReferenceList();
var url:URLRequest=new URLRequest("http://localhost/flashupload.php");
choose_button.label="选择文件";
upload_button.label="上传文件";
upload_button.move(100,50);
addChild(choose_button);
choose_button.move(300,100);
addChild(upload_button);
addChild(loader);
choose_button.addEventListener(MouseEvent.CLICK,choose_file);
upload_button.addEventListener(MouseEvent.CLICK,upload_start);
reference_list.addEventListener(Event.SELECT, selectHandle);
reference_list.addEventListener(Event.CANCEL, cancelHandl ......