|
查看: 2648|回复: 8
|
Jason Flash问题集 [怎样在用button去一个timeline destination的过程加上动画?]
[复制链接]
|
|
|
本帖最后由 Jason1987 于 8-12-2009 06:19 PM 编辑
1)在做着一个网站,但是想放bg music,可以play, pause和stop三个function~[已解决]
2)我用flash AS3做整个website, 用frame timeline做不同页。本来linking应该不难,但我已经把button又convert去movie clip,所以script应该要加多一个“跑出来parent”的command才能执行,有谁能够解决这个难题呢? 或者你有其它的办法!谢啦!~[已解决]
3)现在我会了from movie clip to go to main timeline control,但我想在按button后要先有些transition动画才去到那个destination,会没有?能不能从timeline destination1然后又continue去timeline destination 2?[未解决] |
|
|
|
|
|
|
|
|
|
|
发表于 8-12-2009 11:17 AM
|
显示全部楼层
|
在Flash里面,有个叫做Component的,里面有Data,Video,Media Player这些group(大概,不是很记得了),然后这里你能够drag player skin去stage的,然后再用Component Inspector去修改它的parameter,例如mp3的地址,automatic play,volume这些... |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 8-12-2009 04:34 PM
|
显示全部楼层
本帖最后由 Jason1987 于 8-12-2009 04:58 PM 编辑
我直接留我的msn email下来好了!
ah_pang1987@hotmail.com
希望各位高抬贵手啊! |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 8-12-2009 06:12 PM
|
显示全部楼层
已解决:
顺便帮下~
I know this should be simple, but no matter what I try or how deep I dig through the manual, I can’t find a way to control the main timeline from inside a movie clip. Basically, what I have is a button inside a movie clip, that, when released, needs to call gotoAndPlay() on the main timeline. I can’t do this with root.gotoAndPlay() or parent.gotoAndPlay, and like I said I before, and can’t find anything in the AS3 manual, so… maybe you guys can help?
解答:
MovieClip(root).gotoAndStop(1);
MovieClip(parent).gotoAndStop(1);
only 4 as3! |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 8-12-2009 06:59 PM
|
显示全部楼层
Hi,
Im my scene contains 6 buttons, I want button '1' to play the rest of the current scene (for example scene '0' then goto and play scene '1'
I want button '2' to play the rest of the current scene (for example scene '0' then goto and play scene '2'
I want button '3' to play the rest of the current scene (for example scene '0' then goto and play scene '3'
etc....
any ideas? this is for actionscript 3.
中文! |
|
|
|
|
|
|
|
|
|
|
发表于 8-12-2009 10:06 PM
|
显示全部楼层
btnclick1.onPress = function()
{
gotoAndPlay("Scence 1",0);
}
btnclick2.onPress = function()
{
gotoAndPlay("Scence 2",0);
} |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 11-12-2009 09:47 AM
|
显示全部楼层
btnclick1.onPress = function()
{
gotoAndPlay("Scence 1",0);
}
btnclick2.onPress = function( ...
osyter 发表于 8-12-2009 10:06 PM 
好像不是这样哦? |
|
|
|
|
|
|
|
|
|
|
发表于 21-12-2009 09:29 PM
|
显示全部楼层
回复 7# Jason1987
那我也不懂了。。。。paisie o |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 24-12-2009 12:14 AM
|
显示全部楼层
回复 Jason1987
那我也不懂了。。。。paisie o
osyter 发表于 21-12-2009 09:29 PM 
没关系,website已经做好了 |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|