|
在 flash 里如何create “input box”?
[复制链接]
|
|
发表于 26-9-2004 12:04 AM
|
显示全部楼层
use loadMovie(), for example:
createEmptyMovieClip("mc", 1);
mc.loadMovie("a.jpg");
FLA and JPG file put at same path |
|
|
|
|
|
|
|
楼主 |
发表于 26-9-2004 06:46 PM
|
显示全部楼层
can u show me an example ?? |
|
|
|
|
|
|
|
发表于 26-9-2004 08:29 PM
|
显示全部楼层
hey super-tomato ur website very nice la .... |
|
|
|
|
|
|
|
发表于 26-9-2004 11:36 PM
|
显示全部楼层
beach_boy 于 26-9-2004 06:46 PM 说 :
can u show me an example ??
i show you already... just copy it and paste to your first frame, save this file with a picture call a.jpg in same path |
|
|
|
|
|
|
|
发表于 28-9-2004 01:42 AM
|
显示全部楼层
好多天没有上 Cari 了,
谢谢 super-tomato 大哥帮忙。 |
|
|
|
|
|
|
|
楼主 |
发表于 30-9-2004 12:29 AM
|
显示全部楼层
btn.onRelease = function() {
myVar = new LoadVars();
myVar.onLoad = function(bool) {
if (bool) {
if (input == this.pwd) {
gotoAndPlay(2);
}
}
};
myVar.load("content.txt");
};
this is for input data ...how is the output and append ? |
|
|
|
|
|
|
|
发表于 30-9-2004 01:36 AM
|
显示全部楼层
output need to use dynamic textfield. Create a dynamic textfield, instance name is "output", then put the following codes on frame.
btn.onRelease = function() {
myVar = new LoadVars();
myVar.onLoad = function(bool) {
if (bool) {
output.text = this.pwd;
}
};
myVar.load("content.txt");
}; |
|
|
|
|
|
|
|
楼主 |
发表于 9-10-2004 11:29 PM
|
显示全部楼层
我的意思是write to ….a file …
|
|
|
|
|
|
|
|
楼主 |
发表于 9-10-2004 11:30 PM
|
显示全部楼层
someything like output and append in VB and Qbasic .....thanks
[ Last edited by beach_boy on 9-10-2004 at 11:33 PM ] |
|
|
|
|
|
|
|
发表于 9-10-2004 11:41 PM
|
显示全部楼层
那是不能的,
除非借助第三方如 ASP/PHP (Webbase)
SWF Studio/SWF Kit(StandAlone) |
|
|
|
|
|
|
|
楼主 |
发表于 9-10-2004 11:59 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 10-10-2004 02:30 AM
|
显示全部楼层
|
|
|
|
|
|
|
楼主 |
发表于 10-10-2004 12:23 PM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|