A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Using FSCommand With VBScript

  1. #1
    Senior Member
    Join Date
    Sep 2003
    Posts
    974

    Using FSCommand With VBScript

    is this possible? to actually use a flash file with vbscript through fscommand?

    if it's possible, please teach me how. thanks

  2. #2
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Location
    Denver, CO, USA
    Posts
    649
    If you're making a standalone EXE file, and you're not putting your Flash movie on a web page, then YES.

    Also, you'll want to remember that fscommands don't work in web pages--only EXEs.

    Anyhow, to execute VBScript from an EXE file, you'll need Flash Studio Pro, which has VB capabilities.


    ... gimme just one more line of code to ease the pain.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- coming soon!


  3. #3
    Senior Member
    Join Date
    Sep 2003
    Posts
    974
    Thanks! I'll go try that link out...

    but do you meant that i can't use the files with .swf as its extension?


    Sorry, I'm new to all this.

  4. #4
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Location
    Denver, CO, USA
    Posts
    649
    Basically, Flash can publish to two types of files--a raw Flash .SWF movie, which can be embedded in web pages, Director and other programs, and there's the executable (.EXE on PCs.) The type of Flash movie that is in an executable is actually an SWF file embedded into a player that translates the SWF. Macromedia's standard container EXE is actually the Flash player.

    However, MDM (MultidimensionalMedia) made Flash Studio Pro as another type of Flash player--another type of EXE container for SWF files. This particular "container" can read fscommands sent to it from the SWF. According to the fscommand used, Flash Studio Pro will send and receive variables to and from the Flash movie.

    Since the Flash Studio Pro fscommands require the FSP player to translate the fscommands, you can't put these particular Flash movies on a website--the fscommands wont work (fscommands don't work on a web page anyhow.)

    So, the only type of file you can distribute using Flash Studio Pro is an EXE file--they are actually working on a Mac compiler, too.

    Hope this helps.


    ... gimme just one more line of code to ease the pain.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- coming soon!


  5. #5
    Senior Member
    Join Date
    Sep 2003
    Posts
    974
    well, what are other ways i can have a flash file in .swf format communicate with my webpage through vbscript?

    i haven't gotten good help on this, so i was wondering if you could help me.

    thanks.

  6. #6
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Location
    Denver, CO, USA
    Posts
    649
    You can sort of communicate with ASP/VBScript, but each time you need a return variable you have to reload the page. There's no current way to directly communicate with a server/database using Flash + VBScript. I think there are tuturials floating around on the web that show you how to accomplish this.

    http://www.spies.com/~gus/asp/ has a few tutorials


    ... gimme just one more line of code to ease the pain.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- coming soon!


  7. #7
    Senior Member
    Join Date
    Sep 2003
    Posts
    974
    Thanks! i'll see if this link can help me.

    thank you very much for your help.

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