A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: FSCommand...

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Location
    India
    Posts
    19

    FSCommand...

    Hi Flash Friends,

    Please me help me on FSCommand it's not working in my Computer.
    Why i don't know. I am using correct code even though its not working.
    Why.......

    Thanx

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    It would help if you tell what you want to happen and showing the code you are using and if there are paths involved, show them too.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Location
    India
    Posts
    19
    Hi pellepiano

    I would like to execute the e.g. notepad.exe or any exe.

    Thanx

  4. #4
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If you use MX the exe's has to be in a special folder, but I guess you know about that stuff. if not, make a search here or go to MM's site to read more on linking to exe's with MX.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  5. #5
    on (release) {
    fscommand("exec", "myprojector.exe");
    }

    For Flash MX the exe you want to launch must be in a folder called fscommand and that folder must be located at the same level as your original file you are calling from. The folder name is not included in the argument however, the script stays the same as listed above.

  6. #6
    Junior Member
    Join Date
    Oct 2002
    Location
    India
    Posts
    19
    Thanks its working. One more help i tried to creat text file its not creating why?

    on (release) {
    fscommand("save","myTextfile.txt");
    }

    it should creat but its not creating.

  7. #7
    This feature only works on Flash 5 Projector files not MX.

    You can however use JSave and Jugglor to save text files.

    See

    http://jsave.***********.com

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