|
Karena banyaknya pertanyaan yang masuk seputar bagaimana menjalankan file aplikasi melalui macromedia flash maka artikel kali ini saya akan menjelaskan kepada anda tentang hal ini.
Untuk menjalankan file aplikasi kita harus menggunakan action script [exec]. ActionScript (AS) ini terletak di [Global Funcionts]>>[Browser/Network]>>[fscommand]. Sintaksnya sebagai berikut
fscommand("exec", "tes.exe");
Dimana [tes.exe] merupakan file aplikasi yang akan dijalankan. Terdapat beberapa ketentuan dalam menggunakan AS ini, diantaranya: - AS ini tidak berfungsi pada browser
- Hanya berfungsi pada stand-alone (flash yang dipublish menjadi file aplikasi/*.exe), dan tidak berfungsi pada file Shockwave Flash (ekstensi *.swf).
- Tidak berfungsi pada test-movie players (Ctrl+Enter).
- Hanya boleh berisi karakter A-Z, a-z, 0-9, period (.), dan underscore (_).
Hal yang paling penting adalah meletakkan file aplikasi di subfolder [fscommand]. Contoh: Jika file flash terletak pada folder [My Documents] maka kita harus membuat folder lagi di my documents yang bernama [fscommand]. Kesalahan yang sering terjadi adalah tidak diletakkannya file aplikasi di folder fscommand.
---// Menjalankan file selain aplikasi. File non aplikasi memerlukan file pembukanya. seperti file text (*.txt) memerlukan file pembuka yakni [notepad.exe], makanya untuk kasus ini kita juga harus menyertakan file pembukanya. Misalnya file yang akan kita buka adalah file dokument 'virtual lab electric' yang ekstensinya [*.ele],. Untuk itu file ini harus kita letakkan di folder fscommand (misalnya namanya sample.ele), jangan lupa file pembukanya (master program virtual lab electrict /elec.exe) di folder yang sama.
Setelah itu kita membuat file bat dan menuliskan kode berikut
@ Echo off @ "elec.exe" "sample.ele" @ exit Ket: >>@Echo off |-- agar perintah kita tidak ditampilkan >>@ "elec.exe" "sample.ele" |-- ini yang penting, jadi file 'sample.ele' dijalankan oleh file 'elec.exe'. sintaksnya [tanda kutip][file master][kutip penutup][spasi][tanda kutip][file yang akan dibuka][kutip penutup] >>@exit |-- keluar dari program
setelah itu pada Action script tuliskan fie bat tersebut. Jadi yang dijalankan bukan file [elec.exe] atau [sample.ele] tetapi file bat tersebut, kemudian file bat itulah yang akan memanggil file [sample.ele]
---//Cara lain dengan membuat file aplikasi ( bisa menggunakan visual basic) kemudian tambahkan kode berikut: Private Sub Form_Load() Shell Chr(34) & "elec.exe" & Chr(34) & Chr(32) & Chr(34) & "sample.ele" & Chr(34) End End Sub Ket: >> shell adalah fungsi untuk menjalankan aplikasi lain >> Chr(32) sama dengan spasi >> Chr(34) adalah kode Acsii untuk tanda kutip ["] >> Kode [Chr(34) & "elec.exe" & Chr(34) & Chr(32) & Chr(34) & "sample.ele" & Chr(34)] menghasilkan ["elec.exe" "sample.ele"]
>> End untuk menutup aplikasi
Setelah itu kita simpan file aplikasi buatan VB ini (misalnya bernama [run.exe]) di folder fscommand bersama file elec.exe dan sample.ele, kemudian isikan pada parameter 'exec' dengan [run.exe]. Jadi pada saat file flash dijalankan ActionSAcript 'exec' dijalankan, ia akan memanggil file 'run.exe' kemudian file run.exe inilah yang akan memanggil file elec.exe dan membuka file sample.ele.
Demikianlah sekilas mengenai cara menjalankan aplikasi dari Macromedia Flash. Kurang dan Lebihnya mohon dimaafkan. - AS ini tidak berfungsi pada browser
- Hanya berfungsi pada stand-alone (flash yang dipublish menjadi file aplikasi/*.exe), dan tidak berfungsi pada file Shockwave Flash (ekstensi *.swf).
- Tidak berfungsi pada test-movie players (Ctrl+Enter).
- Hanya boleh berisi karakter A-Z, a-z, 0-9, period (.), dan underscore (_).
Hal yang paling penting adalah meletakkan file aplikasi di subfolder [fscommand]. Contoh: Jika file flash terletak pada folder [My Documents] maka kita harus membuat folder lagi di my documents yang bernama [fscommand]. Kesalahan yang sering terjadi adalah tidak diletakkannya file aplikasi di folder fscommand.
---// Menjalankan file selain aplikasi. File non aplikasi memerlukan file pembukanya. seperti file text (*.txt) memerlukan file pembuka yakni [notepad.exe], makanya untuk kasus ini kita juga harus menyertakan file pembukanya. Misalnya file yang akan kita buka adalah file dokument 'virtual lab electric' yang ekstensinya [*.ele],. Untuk itu file ini harus kita letakkan di folder fscommand (misalnya namanya sample.ele), jangan lupa file pembukanya (master program virtual lab electrict /elec.exe) di folder yang sama.
Setelah itu kita membuat file bat dan menuliskan kode berikut
@ Echo off @ "elec.exe" "sample.ele" @ exit Ket: >>@Echo off |-- agar perintah kita tidak ditampilkan >>@ "elec.exe" "sample.ele" |-- ini yang penting, jadi file 'sample.ele' dijalankan oleh file 'elec.exe'. sintaksnya [tanda kutip][file master][kutip penutup][spasi][tanda kutip][file yang akan dibuka][kutip penutup] >>@exit |-- keluar dari program
setelah itu pada Action script tuliskan fie bat tersebut. Jadi yang dijalankan bukan file [elec.exe] atau [sample.ele] tetapi file bat tersebut, kemudian file bat itulah yang akan memanggil file [sample.ele]
---//Cara lain dengan membuat file aplikasi ( bisa menggunakan visual basic) kemudian tambahkan kode berikut: Private Sub Form_Load() Shell Chr(34) & "elec.exe" & Chr(34) & Chr(32) & Chr(34) & "sample.ele" & Chr(34) End End Sub Ket: >> shell adalah fungsi untuk menjalankan aplikasi lain >> Chr(32) sama dengan spasi >> Chr(34) adalah kode Acsii untuk tanda kutip ["] >> Kode [Chr(34) & "elec.exe" & Chr(34) & Chr(32) & Chr(34) & "sample.ele" & Chr(34)] menghasilkan ["elec.exe" "sample.ele"] >> End untuk menutup aplikasi
Setelah itu kita simpan file aplikasi buatan VB ini (misalnya bernama [run.exe]) di folder fscommand bersama file elec.exe dan sample.ele, kemudian isikan pada parameter 'exec' dengan [run.exe]. Jadi pada saat file flash dijalankan ActionSAcript 'exec' dijalankan, ia akan memanggil file 'run.exe' kemudian file run.exe inilah yang akan memanggil file elec.exe dan membuka file sample.ele. Demikianlah sekilas mengenai cara menjalankan aplikasi dari Macromedia Flash. Kurang dan Lebihnya mohon dimaafkan.
******************************************************* Author : Hartoto Email :
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Blog : http://fatamorghana.wordpress.com ******************************************************* Add as favourites (39) | Quote this article on your site | Views: 950
1. Written by
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
, on 12-03-2009 10:45 , IP: 222.124.34.59 Diajar lah saya juga |
2. replica watches Written by , on 04-06-2010 12:11 , IP: 58.20.26.50 presented with countless awards for its innovative cartier replica creative and unique watch designs The outstanding quality of the watches has been the main reason for having a distinguished place in the market Combining elegance replica rolex watches beauty breitling nobility purity and sophistication the Rado Ceramica digital automatic watch is a rare and perfect watchIf you are fond of the durable nature of Rado's ultility of ceramic fake rolex replica tag the black shiny color and the square look the splendid watch is truly a good option for you Sharing the very passion |
3. cartier watches Written by , on 04-06-2010 12:12 , IP: 58.20.26.50 perceptible is more select to clean unfeigned immediatelyflee your illustration refreshment watches prerogative places longitude positive fault represent insecure to severe temperatures agency lngere vanity givenness sunlight is not recommended through they either wither character color or may fhren heated shock omega watches fake Vacheron Constantin watch angel satisfaction watches Before affluent or a waterfall cloak your views on amusement carbon watches lv replica vacheron constantin cartier you berprfen clue about its irrigate resistance replica omega watches |
5. louis vuitton Written by
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
, on 07-06-2010 10:44 , IP: 121.227.147.146 Last month, celebrities includingA Line Wedding Dresses Marion Cotillard and Charlize Theron joined John Galliano, the creativeBall Gown Wedding Dresses director of Christian Dior, for the French fashion house's debut show in Shanghai."It's a very fast Louis Vuitton Outletevolution not only in terms of consumption but also in the level of sophistication," says Dior president Sidney Toledano."They [Chinese consumers] like to Louis Vuitton Handbagsbuy something iconic, which has meaning in terms of quality and is something unique."Last year luxury fashion houses such as Louis Vuitton Bagsconglomerate LVMH saw a distinct boost in sales to the Chinese market. It is estimated that the Chinese bought US$7.5 billion ($11.18 billion) worth of luxury products last year. |
7. fake handbags Written by , on 01-07-2010 11:36 , IP: 110.52.192.131 The best of them were the wonderful handbags that he got me from the RH website and the replica handbags and the Fendi Replica Handbags collection This white one I loved fake handbags GUCCI Handbagss 1113 The wonderful leather and the stitching on it along with the extra pockets Just what a new mother would need Now both of us are counting the hours and days to the time that our baby will be born Louis Vuitton 937275 This will bring about a new phase in our lives and relationship too gucci wallets More sharing and more caring is what we look forward toThe Giuseppe Zanotti Zipped Fold Over Replica Boots made me feel good enough and confident to be able to enter the elite new school In normal circumstances well to be candid replica gucci wallets I would have never b |
8. replica handbags Written by , on 01-07-2010 11:36 , IP: 110.52.192.131 handbags of them to a time when they were dating and couldn get enough of each other GUCCI Totes 1269 Those times could certainly be brought back chanel wallets Rosaline clutched on to her Louis Vuitton Cruise Noe Replica Backpack and wondered what to do now Could she actually believe what her co gucci wallets replica worker had told her about Nelson How could she believe her colleague as it might just be a case of sour grapes or envy Now that people at the office had found out that Nelson and she had been going out together and were almost committed to one another Louis Vuitton 917905 could this be |
9. Written by
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
, on 26-07-2010 16:28 , IP: 125.78.218.152 Buy your favorite NFL jerseys at nfljerseys-shopping.com. Here got various types of football jerseys, don’t hesitate to get a cheap jerseys. |
10. Written by
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
, on 05-08-2010 08:40 , IP: 117.43.38.189 Several men say that purchaseLouis Vuitton Vanity GM is one way to follow a female. How canLouis Vuitton Rosewood realized men's envisage of marring a lover? And the separate of men is proper large than the wares of women, which way statesman and author men give beautify the bachelors who can't comprehend woman. Weisman said: Men are 10 times more afraid of marrying the unjust someone than of never deed married at all. The position becomes writer and statesman sober made by the collection instability. How to deed a wife has transform one hot matter among men. DoLouis Vuitton Summit Drive work? No man can gain a hope that he can wed a lover only by buyingLouis Vuitton Summit Drive orLouis Vuitton Zippy Wallet. But maybe it truly entireness in whatsoever situations, which depends on the lover whom the man is chasing. If the fille is one of the addicts ofLouis Vuitton Keys Holder, the way of sending the filleLouis Vuitton Keys Holder would apply. But when a man is chasing a girl who is very nonindulgent, then the way is not a rattling suited way. Men should copulate that a concrete better girl is a miss who can reserve much money for ancestry or for others, but not only herself. Men should wide eyes countrywide to hit a wonderful woman who isvery pro-familyLouis vuitton. To happen a relative who is a rattling unattractive and humiliated mortal is rattling big. Every man knows theLouis Vuitton Keys Holder that staying one is outperform than finding a worseLouis Vuitton Keys Holder. A watched pot never boils. That is the spot of men to romance a partner. And we can't never say that if a missy who are inclined of buyingLouis Vuitton Keys Holder is a bad woman. |
|
- Please keep the topic of messages relevant to the subject of the article.
- Personal verbal attacks will be deleted.
- Please don't use comments to plug your web site. Such material will be removed.
- Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
- Keep in mind that the above process only applies if you simply entered the wrong security code.
| |