Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Creating projector files from SWF, is this OK?

Guest
Jan 21, 2014 Jan 21, 2014

Since Adobe disabled "Create projector" option in standalone players and it's greyed out, I wonder if it's OK to just attach your SWF file to a standalone player manually or does Adobe frown upon it?

One could use the following PHP script for example:

<?

$s = "MyFlash.swf"; // your swf file

$p = "FlashPlayer.exe"; // official standalone player, any version

$o = "MyFlash.exe"; // projector file output

file_put_contents($o, file_get_contents($p));

file_put_contents($o, file_get_contents($s), FILE_APPEND);

file_put_contents($o, "\x56\x34\x12\xfa", FILE_APPEND);

file_put_contents($o, pack("L",filesize($s)), FILE_APPEND);

echo 'Done';

?>

773
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines