主题:  在dir8.5中如何让flash中的action发挥作用

jetwave

职务:普通成员
等级:1
金币:0.0
发贴:4
#12002/4/13 12:21:50
小弟将一段flash导入到d中
发现原来的flash中action 不发挥作用了
如sflash中stop标志,button按纽跳转frame
等等功能全不发挥做用了
请问如何让flash中action 发挥功能??



我是小马

职务:普通成员
等级:3
金币:17.0
发贴:794
#22002/4/14 1:58:13
将flash演员的buttonsenabled和actionsenabled属性设置为true



jetwave

职务:普通成员
等级:1
金币:0.0
发贴:4
#32002/4/14 8:59:48
我是名d8.5新手
将flash演员的buttonsenabled和actionsenabled属性设置为true
在那里设
要写lingo语法吗?



jetwave

职务:普通成员
等级:1
金币:0.0
发贴:4
#42002/4/14 9:03:21
如果写的话该怎么写
帮住是这么写的
可我不明白

on ToggleActions whichSprite
    sprite (whichSprite).actionsEnabled = not sprite (whichSprite).actionsEnabled
end
Verbose syntax:

on ToggleActions whichSprite
    set the actionsEnabled of sprite whichSprite = not the actionsEnabled of sprite whichSprite
end



jetwave

职务:普通成员
等级:1
金币:0.0
发贴:4
#52002/4/14 9:15:49
我现在这么写了
on ToggleActions whichSprite
set the actionsEnabled of sprite 123 = not the actionsEnabled of sprite 123
end
//*123是我的flash文件名//
有点作用了 (这么写没问题把 )
运行是没问题了