A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Trying to create a button to return to the Windows screen for a CD

  1. #1

    Post

    I am trying to create a button so that the viewer can exit and return to the Windows page when pressed. Currently, the viewer has to press Crtl, Alt, Del and then End Task to return to the Windows page. I don't think the Unload movie action works for this particular situation. This is for a CD-ROM.

    Does anyone have any suggestions.


    Ian

  2. #2
    Member
    Join Date
    Feb 2000
    Posts
    34

    Post

    I assume that you are refering to a flash projector running full screen. If this is the case, then all you have to do is to make a button and give it the action:

    On (Release)
    FS Command ("quit", "")
    End On

    That will close the projector entirely, but I think it ONLY works with a projector, not a browser.

    BTW... you can also use the "Esc" key to bring the projector into a normal window insted of ctrl-alt-del.

    Hope that helps.

    [This message has been edited by noah (edited 26 March 2000).]

  3. #3
    Junior Member
    Join Date
    Mar 2000
    Posts
    22

    Post

    hi

    if you are using a browser not a projector you can create a button that calls an html page with a simple function that closes the browser.

    here is some suitable code





    <HEAD>

    <TITLE>Window Close</TITLE>

    </HEAD>

    <BODY ONLOAD="self.close()">

    </BODY>

    </P>

    If you save this as winclose.html and then use your flash button to get url:winclose.html

    and bobs your father's brother

    Dan

    (taken from somewhere on www.moock.org)



    [This message has been edited by dbrf (edited 27 March 2000).]

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