作者harry901 (↑是帅哥↓是美女N I
看板Flash
标题Re: 连结物件的方法....
时间Thu Nov 20 00:18:08 2003
※ 引述《gpgpt (陌生)》之铭言:
: ※ 引述《Ake (AKE)》之铭言:
: : 看你要怎样做
: : 你是要在 a.swf 打开 b.swf 的内容 ?? <-- 载入
: : 还是在 a.swf 按一个然後跳到 b.swf ?? <-- 连结
: : 载入用loadMovie()
: : 连结用getURL()
: 上面有字错了,不好意思...
: 我是想连结”影片”.....avi或mpg
If you want to make a "link" for Movie as avi or mpg files,
there are some ways you can do.
First, just write the action script as follows(Button AS)
on(Mouse-event){
getURL("URL","windows-type");
}
Here the Mouse-event and the URL and the windows-type are dependent on your
decision.
Noting that URL is the file where you put on internet.
(副档名 is necessary)
Second, you can make a swf file including avi or mpg files.
Then, make an internal LINK for this, on the others words, we just make a
button including action script. After pressing or releasing the button,
the action script will load the external file (swf containing mpg or avi
files). The action script are as follows
on(Mouse-event){
loadMovie("URL","instance-name","level");
}
Remember, URL depends on your swf file, also, you can make loading-bar at
this moment. Please search releative action script, this will help you.
: : flash应该没有直接的方法做这件事,
: : 我正在好奇你为甚麽要连结 .exe o_O;
: : 看可不可以兜出来 @@"
: exe档也是FLASH做的
: 因为怕开档案的人没有软体可以开
: 所以要把档案都转成.exe
: 所以我是要连到这样的exe档
: 感谢你喔!
I suggest you do this with swf files. Because there is a big reason that Flash
is the most popular web accssory software now, and it is free for viewers.
You should make a link where links to macromedia's flash player softwar.
BTW, exe file are also big than swf file. An advantage that swf than exe is
when programming the movie, swf will get good speed and performance.
There is no one who reads exe files into exe or swf files in internet.
--
好耶! 师傅不用去按摩了!!!
post by harry.nakata
※ 编辑: harry901 来自: 140.122.199.193 (11/20 00:22)
1F:→ gpgpt:非常感谢....我已经仔细看过了 推 218.165.102.41 11/20