A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Flash Script

  1. #1
    Junior Member
    Join Date
    May 2004
    Location
    South Africa Cape town
    Posts
    5

    Flash Script

    I want to close (quit) a presentation with a button click. I have tried using the following script FScommand:quit. I think my syntax is wrong. Is there another approach to this.

    Many thanks

    Peter
    jpm

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Quote Originally Posted by gagsoft
    I want to close (quit) a presentation with a button click. I have tried using the following script FScommand:quit. I think my syntax is wrong. Is there another approach to this.

    Many thanks

    Peter
    fscommand(command:String, parameters:String)

    so use fscommand("quit")

    By the way when I need syntax or function information I go to
    http://livedocs.macromedia.com/flash...rt4_ASLR2.html

  3. #3
    Junior Member
    Join Date
    May 2004
    Location
    South Africa Cape town
    Posts
    5
    Quote Originally Posted by blanius
    fscommand(command:String, parameters:String)

    so use fscommand("quit")

    By the way when I need syntax or function information I go to
    http://livedocs.macromedia.com/flash...rt4_ASLR2.html
    Hi Bret

    Many thanks for the link and the hekp

    Peter
    jpm

  4. #4
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    TRy Button <Actions/onclick<> Stop movie,> this is all in the KM gui without reverting to scripts.
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Williiam I think he was (I assumed anyway) that he meant to quit a stand alone flash player so you have to use FScommand to do that.

  6. #6
    Junior Member
    Join Date
    May 2004
    Location
    South Africa Cape town
    Posts
    5
    Quote Originally Posted by blanius
    Williiam I think he was (I assumed anyway) that he meant to quit a stand alone flash player so you have to use FScommand to do that.
    jpm

  7. #7
    Junior Member
    Join Date
    May 2004
    Location
    South Africa Cape town
    Posts
    5
    Your are correct, I want to qui totally out of a stand alone player

    Many Tanks
    Peter
    jpm

  8. #8
    Junior Member
    Join Date
    May 2004
    Location
    South Africa Cape town
    Posts
    5
    Quote Originally Posted by gagsoft
    Your are correct, I want to qui totally out of a stand alone player

    Many Thanks
    Peter
    jpm

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