g50-80ma联想g50 70m怎么样样,谢谢回答,希望回答较详细。

如何制作flash滚动图片?鼠标放上去停止,移开后继续播放?希望回答详细些,我是新手。谢谢!
我在代码里已经填写好了on(rollover){stop();}on(rollout){play();}为何还是不行,写好的代码需要保存吗,如何保存?谢谢
10-01-09 & 发布
引用于我的网站文章,详细查看__________绝对可以用_____原创_________不可以你打我QQ1.首先做张图片剪辑,取名mc,做个滚动条剪辑,取名move_bar做个遮照剪辑,取名mask(注意取名在舞台的影片剪辑命名处)2.可以开始了,遮照层放在舞台上遮住图片1/3的地方,注意宽全部遮住,高遮1/3,然后把滚动条防在mc旁边,3.新建一层,在第一桢处加代码mc.setMask(mask);barUp = 94;//初始高barDown = 336;//拖动的距离长短(注意:新建一层绘制包围滚动条的矩形空心框,高度为293.坐标为(441.9,23.0))barPos = 641;//初始水平距离(绘制图片遮照层,高:295.9,宽407.9,坐标为(26.0,22.0) mc剪辑宽为407.9,高自由设置,里面放任何内容都可以)speed = 4;prop = (mc._height-mask._height)/(barDown-barUp);mcOrigin = mc._y;move_bar.onPress = function() {move_bar.startDrag(0, barPos, barUp, barPos, barDown);down = 1;};move_bar.onMouseUp = function() {move_bar.stopDrag();down = 0;};this.onEnterFrame = function() {if (down) {mcMove = (move_bar._y-barUp)*mc.m_y = mcOrigin-mcM}mc._y += (mc.m_y-mc._y)/}; 4.好了,一切完工,绝对可以用的,经过我测试了5.切记:那3个关键的剪辑必须放在同一层上,代码在另一层上,且帧数相等,否则不能正常拖动~~~~~~~~~~~如果有什么不懂加我QQ哦,9月前18小时/天在线,别忘了加分咯!!!呵呵!~~~~~~不用加300也可以,随便意思下,哈哈参考资料:
请登录后再发表评论!
mc.stop()//这个就可以让名为mc的影片剪暂停mc.play()//这个就可以让名为mc的影片剪播放把电影剪辑取名为mc,然后在场景的帧上写:mc.onrollover=function (){mc.stop();}mc.onrollout=function (){mc.play();}
请登录后再发表评论!
//图片总数目,为提高速度,图片按1.jpg,2.jpg这样的规则依次命名,大小100*40_global.i=6;//100是图片的宽度,leng是i张图片的总长度_global.leng = i*100;//产生一个总的MC snow_root.createEmptyMovieClip(&snow&, 0);//snow内部的MC_root.snow.createEmptyMovieClip(&a&, 0);_root.snow.createEmptyMovieClip(&b&, 1);//排列a和b_root.snow.a._x = 0;_root.snow.b._x = _roob.snow.a._x+//create and load jpg//在mc a和b内部产生数目为i的空MC并依次加载图片进去for (j=1; j&=i; j++) {    _root.snow.a.createEmptyMovieClip(&mc&+j, j);    _root.snow.b.createEmptyMovieClip(&mc&+j, j);    _root.snow.a[&mc&+j].loadMovie(&image/&+j+&.jpg&);    _root.snow.b[&mc&+j].loadMovie(&image/&+j+&.jpg&);//设置MC的坐标,让它们依次排开    _root.snow.a[&mc&+j]._x = (j-1)*100;    _root.snow.b[&mc&+j]._x = (j-1)*100;}//let me move_root.snow.onEnterFrame = function() {//向左移动总的MC snow    _root.snow._x -= 1;//当snow向左移动的距离大于等于leng时,将它向右移动leng个像素的长度    if ((-_root.snow._x)&=leng) {        _root.snow._x +=    }}  在源文件marquee_a.fla中,要想实现在某个图片上点击,跳转到相应的地址非常简单,就不多说了,但上面这种因为是通过AS生成的,且使用了循环语句,再想添加同样的效果似乎不那么容易,真的没办法了吗?我靠我不信,经过喝饮料散步等准备工作之后,得到灵感,放弃了添加复杂的判断语句的办法,下面我们来看代码:margin = _root._xmouse-_root.snow._x;if(margin&=i*100){    margin-=}id = Math.ceil(margin/100);this.onMouseDown = function() {    getURL(&a href=&localhost/url.php?id=& target=&_blank&localhost/url.php?id=/a&+id, &_blank&);};  上述代码的意思就是通过判断点击时鼠标和MC snow的x坐标的差来计算出鼠标现在空间点击在了哪个图片上,然后就搞定了。当然,在实际运用的时候,可以修饰一下,比如鼠标下面放一个按钮,这样当鼠标移动到动画上方时指针会变形,给访客以提示,好让他们知道是可以点击的。源文件下载地址:a href=&.flashempire/download/flas/marquee_a.zip& target=&_blank&.flashempire/download/flas/marquee_a.zip/a好运:))
请登录后再发表评论!百度--您的访问出错了
&您的访问出错了
很抱歉,您要访问的页面不存在。
请检查您输入的网址是否正确。
如果您不能确认您输入的网址,请浏览页面,来查看您所要访问的网址。
直接输入要访问的内容进行搜索:
如还有疑问请访问获得解决方法
&2013 Baidu问一道高二数学题,谢谢回答。_百度知道
问一道高二数学题,谢谢回答。
求F(a)的取值范围,使证,过Q任作直线L交轨迹C于AB两点.0)动点P满足PM=2PN(1)求动点P的轨迹C 的方程(2)若点Q(a,0)是轨迹C内一点;令F(a)=向量QA乘向量QB已知平面上两点M(4。【希望有较详细的步骤:向量QA乘向量QB的值只与a有关.0)N(1
提问者采纳
k²1+k²/
Mm=a&#178。;k²)+2aky+(a&#178,N)
M+m=2ak²+y²=0
( 1+k&#178(1)设P(x,n) 向量QA乘向量QB=(M-a;(1+k²1+k²(1+k²-4=0
设A(M;)x&#178。;+y²去根号整理 就是C的方程 没错的话应该是 x²=2倍根号下(1-x)²x+a&#178。,y) PM=(4-x;-4=0
韦达定理 Nn=(a&#178,N)(m-a;-4)k²+y²-4
&#47。;-2ak&#178:y=k(x-a) 与x&#178,-y) PN=(1-x;-4)k² /+y²联立 整理出 y&#178,-y)根据PM=2PM 根号下(4-x)&#178,n)=Mm-a(M+m)+Nn=
思路应该是这样 你算一下看看
( 打的有些繁琐。
提问者评价
其他类似问题
为您推荐:
其他2条回答
;+4y²+y²=42:(4-x)²+y²=4(1-x)²解得x&#178。设p点为(x,y)∵PM=2PN∴可列
(1)设点p为(x,y),由题意得:,化简得(2)k不存在时,A(a,根号下4-a的平方),B(a,负根号下4-a的平方)你懂得。向量QA乘向量QB=a的平方-4.k存在时,用三角换元,将A,B两点表示出来,最后仍然可以求出。我估计楼主可以明白的。
高二数学的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁咋个在C#中制作圆形的按钮(菜鸟提问,希望各位大大回答详细点哦!。。谢谢!)-c/c++-电脑编程网咋个在C#中制作圆形的按钮(菜鸟提问,希望各位大大回答详细点哦!。。谢谢!)作者:Girl_my_lover 和相关&&C#中的普通按钮都是方形的啊、我想做个圆形的按钮。。不知道各位大大有什么好的技巧最好带点代码。我是菜鸟哈谢谢!------回答---------------其他回答(5分)---------自己画。。。。或者用PictureBox------其他回答(5分)---------用PictureBox是最简单的,想自己画也行,下面是一个RoundButton的例子:/KB/buttons/RoundButton_csharp.x------其他回答(15分)---------1、用PIctuerBox也行
& &2、用VB写的代码: RoundRectFrame
& & '创建圆角矩形
& & Public
RoundRectFrame(objEllipse
objEllipse.Width
Screen.TwipsPerPixelX
objEllipse.Height
Screen.TwipsPerPixelY
CreateRoundRectRgn(0,
SetWindowRgn(objEllipse.hWnd,
Sub3、用c#代码做的&
System.Drawing.Drawing2D;
System.Windows.F
& & namespace
WindowsApplication1
description
cilpButton.
&/summary&
& & public
cilpButton
System.Windows.Forms.Button
& & protected
OnPaint(System.Windows.Forms.PaintEventArgs
& & base.OnPaint(e);
& & System.Drawing.Drawing2D.GraphicsPath
System.Drawing.Drawing2D.GraphicsPath();
& & path.AddEllipse(0,0,
this.Width,
this.Height);
& & this.Region
Region(path);
& & protected
OnMouseEnter(EventArgs
& & Graphics
this.CreateGraphics();
& & g.DrawEllipse(new
Pen(Color.Red),
this.Width,
this.Height);
& & g.Dispose();
& & protected
OnMouseLeave(EventArgs
& & Graphics
this.CreateGraphics();
& & g.DrawEllipse(new
Pen(this.BackColor),
this.Width,
this.Height);
& & g.Dispose();
& & protected
OnPaintBackground(PaintEventArgs
Pen(this.BackColor);
& & Graphics
this.CreateGraphics();
& & g.Clear(Color.Goldenrod);
& & g.FillEllipse(Brushes.DarkKhaki,
Rectangle(0,0,
this.Width,
this.Height));
& & protected
OnMouseDown(MouseEventArgs
& & OnPaintBackground(null);
& & protected
OnMouseUp(MouseEventArgs
& & this.OnClick(e);//响应click事件.
& & } & 试试,自己修改修改,大致就是这么个思想,建议用Picturebox简单------其他回答(5分)---------1、用PIctuerBox也行
& &2、用VB写的代码: RoundRectFrame
& & '创建圆角矩形
& & Public
RoundRectFrame(objEllipse
objEllipse.Width
Screen.TwipsPerPixelX
objEllipse.Height
Screen.TwipsPerPixelY
CreateRoundRectRgn(0,
SetWindowRgn(objEllipse.hWnd,
Sub3、用c#代码做的&
System.Drawing.Drawing2D;
System.Windows.F
& & namespace
WindowsApplication1
description
cilpButton.
&/summary&
& & public
cilpButton
System.Windows.Forms.Button
& & protected
OnPaint(System.Windows.Forms.PaintEventArgs
& & base.OnPaint(e);
& & System.Drawing.Drawing2D.GraphicsPath
System.Drawing.Drawing2D.GraphicsPath();
& & path.AddEllipse(0,0,
this.Width,
this.Height);
& & this.Region
Region(path);
& & protected
OnMouseEnter(EventArgs
& & Graphics
this.CreateGraphics();
& & g.DrawEllipse(new
Pen(Color.Red),
this.Width,
this.Height);
& & g.Dispose();
& & protected
OnMouseLeave(EventArgs
& & Graphics
this.CreateGraphics();
& & g.DrawEllipse(new
Pen(this.BackColor),
this.Width,
this.Height);
& & g.Dispose();
& & protected
OnPaintBackground(PaintEventArgs
Pen(this.BackColor);
& & Graphics
this.CreateGraphics();
& & g.Clear(Color.Goldenrod);
& & g.FillEllipse(Brushes.DarkKhaki,
Rectangle(0,0,
this.Width,
this.Height));
& & protected
OnMouseDown(MouseEventArgs
& & OnPaintBackground(null);
& & protected
OnMouseUp(MouseEventArgs
& & this.OnClick(e);//响应click事件.
& & } & 试试,自己修改修改,大致就是这么个思想,建议用Picturebox简单------其他回答(20分)---------重写Button的Paint方法就行了。//下面的方法是重新写了Button的Paint方法,将会绘制一个圆角按钮private void roundButton_Paint(object sender,& &
System.Windows.Forms.PaintEventArgs e){&
System.Drawing.Drawing2D.GraphicsPath buttonPath =& &
new System.Drawing.Drawing2D.GraphicsPath();&
// Set a new rectangle to the same size as the button's& &
// ClientRectangle property.&
System.Drawing.Rectangle newRectangle = roundButton.ClientR&
// Decrease the size of the rectangle.&
newRectangle.Inflate(-10, -10);&
// Draw the button's border.&
e.Graphics.DrawEllipse(System.Drawing.Pens.Black, newRectangle);&
// Increase the size of the rectangle to include the border.&
newRectangle.Inflate( 1,
// Create a circle within the new rectangle.&
buttonPath.AddEllipse(newRectangle);&
//设置按钮的Region.&
roundButton.Region = new System.Drawing.Region(buttonPath);}
------其他回答(5分)---------改变控件的 Region 就可以了------其他回答(5分)---------5楼的正解。。。。------其他回答(10分)---------GraphicsPath
GraphicsPath();
& oPath.AddEllipse(this.ClientRectangle);
& 重绘按钮/KB/buttons/TransButtonNetDemo.x------其他回答(10分)---------WPF 技术很容易实现,不过.NET3.0一下版本不可以,5L的方法是最好的,不过需要点GDI方面的知识------回答---------------其他回答(5分)---------自己画。。。。或者用PictureBox------其他回答(5分)---------用PictureBox是最简单的,想自己画也行,下面是一个RoundButton的例子:/KB/buttons/RoundButton_csharp.aspx------其他回答(15分)---------1、用PIctuerBox也行
&2、用VB写的代码: RoundRectFrame
& '创建圆角矩形
RoundRectFrame(objEllipse
objEllipse.Width
Screen.TwipsPerPixelX
objEllipse.Height
Screen.TwipsPerPixelY
CreateRoundRectRgn(0,
SetWindowRgn(objEllipse.hWnd,
Sub3、用c#代码做的 &
System.Drawing.Drawing2D;
System.Windows.F
& namespace
WindowsApplication1
description
cilpButton.
&/summary&
cilpButton
System.Windows.Forms.Button
& protected
OnPaint(System.Windows.Forms.PaintEventArgs
& base.OnPaint(e);
& System.Drawing.Drawing2D.GraphicsPath
System.Drawing.Drawing2D.GraphicsPath();
& path.AddEllipse(0,0,
this.Width,
this.Height);
& this.Region
Region(path);
& protected
OnMouseEnter(EventArgs
& Graphics
this.CreateGraphics();
& g.DrawEllipse(new
Pen(Color.Red),
this.Width,
this.Height);
& g.Dispose();
& protected
OnMouseLeave(EventArgs
& Graphics
this.CreateGraphics();
& g.DrawEllipse(new
Pen(this.BackColor),
this.Width,
this.Height);
& g.Dispose();
& protected
OnPaintBackground(PaintEventArgs
Pen(this.BackColor);
& Graphics
this.CreateGraphics();
& g.Clear(Color.Goldenrod);
& g.FillEllipse(Brushes.DarkKhaki,
Rectangle(0,0,
this.Width,
this.Height));
& protected
OnMouseDown(MouseEventArgs
& OnPaintBackground(null);
& protected
OnMouseUp(MouseEventArgs
& this.OnClick(e);//响应click事件.
& } & 试试,自己修改修改,大致就是这么个思想,建议用Picturebox简单------其他回答(5分)---------1、用PIctuerBox也行
&2、用VB写的代码: RoundRectFrame
& '创建圆角矩形
RoundRectFrame(objEllipse
objEllipse.Width
Screen.TwipsPerPixelX
objEllipse.Height
Screen.TwipsPerPixelY
CreateRoundRectRgn(0,
SetWindowRgn(objEllipse.hWnd,
Sub3、用c#代码做的 &
System.Drawing.Drawing2D;
System.Windows.F
& namespace
WindowsApplication1
description
cilpButton.
&/summary&
cilpButton
System.Windows.Forms.Button
& protected
OnPaint(System.Windows.Forms.PaintEventArgs
& base.OnPaint(e);
& System.Drawing.Drawing2D.GraphicsPath
System.Drawing.Drawing2D.GraphicsPath();
& path.AddEllipse(0,0,
this.Width,
this.Height);
& this.Region
Region(path);
& protected
OnMouseEnter(EventArgs
& Graphics
this.CreateGraphics();
& g.DrawEllipse(new
Pen(Color.Red),
this.Width,
this.Height);
& g.Dispose();
& protected
OnMouseLeave(EventArgs
& Graphics
this.CreateGraphics();
& g.DrawEllipse(new
Pen(this.BackColor),
this.Width,
this.Height);
& g.Dispose();
& protected
OnPaintBackground(PaintEventArgs
Pen(this.BackColor);
& Graphics
this.CreateGraphics();
& g.Clear(Color.Goldenrod);
& g.FillEllipse(Brushes.DarkKhaki,
Rectangle(0,0,
this.Width,
this.Height));
& protected
OnMouseDown(MouseEventArgs
& OnPaintBackground(null);
& protected
OnMouseUp(MouseEventArgs
& this.OnClick(e);//响应click事件.
& } & 试试,自己修改修改,大致就是这么个思想,建议用Picturebox简单------其他回答(20分)---------
重写Button的Paint方法就行了。//下面的方法是重新写了Button的Paint方法,将会绘制一个圆角按钮private void roundButton_Paint(object sender,&
System.Windows.Forms.PaintEventArgs e){ &
System.Drawing.Drawing2D.GraphicsPath buttonPath =&
new System.Drawing.Drawing2D.GraphicsPath(); &
// Set a new rectangle to the same size as the button's&
// ClientRectangle property. &
System.Drawing.Rectangle newRectangle = roundButton.ClientR &
// Decrease the size of the rectangle. &
newRectangle.Inflate(-10, -10); &
// Draw the button's border. &
e.Graphics.DrawEllipse(System.Drawing.Pens.Black, newRectangle); &
// Increase the size of the rectangle to include the border. &
newRectangle.Inflate( 1,
// Create a circle within the new rectangle. &
buttonPath.AddEllipse(newRectangle); &
//设置按钮的Region. &
roundButton.Region = new System.Drawing.Region(buttonPath);}
------其他回答(5分)---------改变控件的 Region 就可以了------其他回答(5分)---------5楼的正解。。。。------其他回答(10分)---------GraphicsPath
GraphicsPath();
& oPath.AddEllipse(this.ClientRectangle);
& 重绘按钮/KB/buttons/TransButtonNetDemo.aspx------其他回答(10分)---------WPF 技术很容易实现,不过.NET3.0一下版本不可以,5L的方法是最好的,不过需要点GDI方面的知识相关资料:|||||||咋个在C#中制作圆形的按钮(菜鸟提问,希望各位大大回答详细点哦!。。谢谢!)来源网络,如有侵权请告知,即处理!编程Tags:                &                    

我要回帖

更多关于 联想g50怎么样 的文章

 

随机推荐