发新话题
打印

[求救] 新手!这个动画要怎么做呀

新手!这个动画要怎么做呀

flash使图片慢慢变没如何做 :'( :'( :'( :'(

TOP

补间动画,在最后一帧 上让的透明度为0

TOP

请教,如何写AS,用按钮将一个影片剪辑调入场景?

我是新手,我想在场景中设置一个按钮,在点击按钮后,可以将已经做好的影片剪辑调入到舞台上,应该怎么做啊?谢谢各位大侠,在线等,请指点

TOP

这问题已解决..谢谢!~

TOP

用attachMovie啦

TOP

loadmovie("文件名","存放路径")
_root.?.x=?;
_root.?.y=?;

[ 本帖最后由 nikoliu 于 2008-6-16 17:43 编辑 ]

TOP

不是attachMovie……
好吧如果是
loadMovie("Movie.swf",_root.zzz);
就写
_root.zzz._x=0;
_root.zzz._y=0;

TOP

为什么不行?

我把影片剪辑的实例名称设为scroller
在第一帧添加一个按钮
在按钮上添加动作
on (release)
{
    _root.scrHEIGHT = 240;
    _root.scroller._x=0;
    _root.scroller._y=0;
}
为什么测试影片时,点击按钮没反映啊?

TOP

不知道

TOP

新首刚加入,还不能发贴,借宝帖一用问个问题,请多包涵。

我想做一个和这个网页(http://www.flash-game-design.com ... flash-tutorial.html)有相同效果的网页,不知为何我做的菜单没有反应,好像code执行到第二行就没有往下执行了,请高手指教。多谢!

stop();
contentMC.gotoAndStop("home");
current = menu.home_button;
setMove = true;
yMove = -10;
menu.home_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("home");
    current = this;
    }
}
menu.corp_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("corp");
    current = this;
    }
}
menu.bio_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("bio");
    current = this;
    }
}
menu.oil_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("oil");
    current = this;
    }
}
menu.sub_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("sub");
    current = this;
    }
}
menu.career_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("career");
    current = this;
    }
}
menu.contact_button.onPress = function(){
    if (this != current){
    current._y = 0;
    setMove = true;
    contentMC.gotoAndStop("contact");
    current = this;
    }
}
this.onEnterFrame = function(){
    if(setMove){
        if(yMove , current._y){
            current._y --;
        }else{
            setMove = false;
        }
    }
}

TOP

每每间透明度递减~直到0

TOP

引用:
原帖由 ybstm007 于 2008-6-17 14:53 发表
我把影片剪辑的实例名称设为scroller
在第一帧添加一个按钮
在按钮上添加动作
on (release)
{
    _root.scrHEIGHT = 240;
    _root.scroller._x=0;
    _root.scroller._y=0;
}
为什么测试影片时,点击按 ...
您试试这个是不是您想要的效果:
on(release){
    _root.scroller._height=240;
    _root.scroller._x=0;
    _root.scroller._y=0;
}

TOP

我跟你一样的位置
也是新手

TOP

怎么没人帮我呀。。。。

:'( :'( :'( :'(

TOP

发新话题