dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: AS3: fscommand buttons won't work in SWF, only in EXE.

  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    35

    AS3: fscommand buttons won't work in SWF, only in EXE.

    I have an interface that has nine buttons scripted with AS3 fscommand code and when pushed, a call is made to proxy application to run batch files. When I compile the .fla to an .swf, pushing the buttons won't activate the proxy apps. However, when I compile the .fla to an .exe and the buttons are pushed - everything works. My question is: why do the proxies work in Flash compiled .exe's and not in .swf's? (NOTE: this has been a bane to my programming existence ever since AS1.) Thank you for all replies!

  2. #2
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    761
    Simular reason calling an php file from within flash only works when it is on the server,

    A swf is designed to work in a browser as a plug-in(embed) where the browser connects to the flash player. An exe is designed to operate within the windows operating system and the flash player is within the exe.
    [SIGPIC][/SIGPIC]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center