How do I generate a flash projector file from my FLEX Flash project using Flash Builder?

StackOverflow https://stackoverflow.com/questions/19572433

  •  01-07-2022
  •  | 
  •  

문제

Is there something I have to do in the code in order to get this to work?

Is it a build setting in the FLEX project?

Can I do it from the SWF after it's been built in release or debug mode?

I need the projector file so that I can call an external EXE from within the fscommand subdirectory using the fscommand function call.

도움이 되었습니까?

해결책

If I understand what a Flash Projector File is; then you cannot create one from Flash Builder.

You can, however, create an AIR app and use Captive Runtime to create a .EXE file from a windows machine. From within the AIR Application; you can use NativeProcess to execute an external EXE file.

다른 팁

The information you've received is not true. Any swf file can be loaded by the FP projector by editing the projects settings to disable the creation of an HTML wrapper. You can also just copy the swf file generated and open it or use the mxmlc compiler to generate the swf.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top