佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

12
返回列表 发新帖
楼主: beach_boy

在 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
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 26-9-2004 06:46 PM | 显示全部楼层
can u show me an example ??
回复

使用道具 举报

shining_boy 该用户已被删除
发表于 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 ?
回复

使用道具 举报

Follow Us
发表于 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 …
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 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 | 显示全部楼层
how .....?
回复

使用道具 举报

发表于 10-10-2004 02:30 AM | 显示全部楼层
使用backend script的話去參考或搜索網絡資源就有了

standalone方面除了使用sson說的軟件外也可以參考我這裡寫過的方法
http://www.flash8.net/bbs/dispbbs.asp?boardID=10&ID=168526
http://www.flash8.net/bbs/dispbbs.asp?boardid=10&id=168621
回复

使用道具 举报

 楼主| 发表于 10-10-2004 12:23 PM | 显示全部楼层
thanks.........
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 8-6-2024 03:06 AM , Processed in 0.052731 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表