Toon posts:

[FlashMX] Bug? Of anders dan Flash 5?

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik ben pas overgestapt op Flash MX en het is echt geweldig. 1 ding werkte anders (of niet) dan onder Flash 5. Bij flash 5 kon je een executable openen door fullscreen en dan exec te kiezen en in te vullen welke exec je bedoelde. Script zag er zo uit:

on (release) {
fscommand("exec", "cmd.exe");
}

Nu wil ik het zelfde met Flash MX doen maar dat lukt niet! Kortom het werkt gewoon niet! Kan iemand testen of uitproberen of dit bij jou versie van MX ook zo is? Of weet iemand een oplossing voor mij???

  • cutter
  • Registratie: November 2000
  • Laatst online: 28-09-2025

cutter

Wannabe i7 fanboy

In Flash MX the external application to launch must be in a subfolder named
'fscommand'. This subfolder must be in the same directory as the projector
which uses the fscommand action. This security restriction helps prevent
malicious use of the fscommand("exec") action.

The following script launches the Windows application someApplication.exe,
which is in the fscommand folder on the same level as the projector:

on (release) {
fscommand ("exec", "someApplication.exe");
}



Note: The fscommand subfolder path is not used in the argument. Place
"someApplication.exe" inside the fscommand folder, but just use the name of
the application in the argument.

--
Regards,

Jason Wylie
Internal Team Lead, Macromedia
Replies to the newsgroup ONLY please, for the good of the community.
misschien kun je hier iets mee....

Verwijderd

Topicstarter
Ik ga het gelijk testen. Dit betekend nog wel denk ik dat je programma's zoals explorer.exe en cmd.exe niet meer zomaar kan openen. Dat is wel jammer

  • cutter
  • Registratie: November 2000
  • Laatst online: 28-09-2025

cutter

Wannabe i7 fanboy

denk het wel want je kunt nog gebruik maken van een batch file. daarin kun je cmd.exe aanroepen, alleen niet zo mooi omdat je eerst een dosboxje krijgt.

Verwijderd

Topicstarter
Het werkt :) je had gelijk!

Ik kan inderdaad via een batchfile het aanroepen maarja dat bekijk ik wel effe.

Bedankt in ieder geval.