查看: 944|回复: 5
|
[询问]显示问题。。
[复制链接]
|
|
发表于 26-9-2005 03:07 PM
|
显示全部楼层
改了点东西。。
http://www.geocities.com/flash_village/Untitled-1.fla
原因:
1。 word.text = info这行code 跟 你的 word text field 不在同一行frame内。 所以当你execute这行code时, 它找不到word text field.
2. word is dynamic text field, you need to embed font for it. you select the text field, then goto properties panel, click on character button, then select what you wanna embed and click ok. |
|
|
|
|
|
|
|

楼主 |
发表于 27-9-2005 09:59 AM
|
显示全部楼层
不好意思,我不太明白什么是不在同一个frame内?至于第二个我会回去试试,谢谢 |
|
|
|
|
|
|
|
发表于 27-9-2005 10:47 AM
|
显示全部楼层
举个例子:
layer1 = button.
layer2 = textfield
如果你的button在frame 1 - 10.
这时候你是停留在frame5,
那么你的text field最好在frame5开始. 以便当你button里的code可找到text field.
你的档案里的button movieclip里, 共有10个frame.
button 是在 frame1 - frame10.
text field 是在 frame 10.
当你rollover时,你的code 叫它跳去frame5 然后叫text field 呈现字幕。但这时候你的text field 并不在frame5.所以就看不到字幕了。
而我的solution 就是:
我create a global variable call "mytext", 当rollover时, 就将info放进mytext里, 当它跑到frame10的时候,在frame10就加多一行code, 那就是叫text field 呈现mytext .而这时候text field是在frame10,那就可以看到字幕了。
[ 本帖最后由 邪灵 于 27-9-2005 10:51 AM 编辑 ] |
|
|
|
|
|
|
|

楼主 |
发表于 27-9-2005 11:16 AM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 27-9-2005 05:35 PM
|
显示全部楼层
你的file是不是flash2004的?因为我开不到,但没关系,因为你已经跟我讲它错在那里了,而我也弄好了,谢谢。。 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|