A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: The New Window Settings

  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    9

    Smile

    I Am Tired Of Looking For Tutorials and i want to know How Do We Make A New Window Open And Inside The Window There Will Be No Back Button Forward Button ETC... Could You Help Me

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Posts
    310
    Originally posted by KSCOMMANDS
    I Am Tired Of Looking For Tutorials and i want to know How Do We Make A New Window Open And Inside The Window There Will Be No Back Button Forward Button ETC... Could You Help Me
    In other words, you want the user to click on a button that opens a browser window in the same window that the actual Flash movie is in ?

    In which case:

    Add an action to the button like so....

    on (release) {
    getURL ("html.htm", "_top");
    }

    Where "html.htm" is the webpage you want to open and "_top" puts the content into the same window. Leave out the "" of course.

    You can even put the same action on the last frame of the movie or scene....

    Just leave out the "on release.."

    getURL ("html.htm", "_top");

    Hope this helps.
    [Edited by TheBritt on 08-17-2001 at 11:59 AM]

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Posts
    9
    What I Want Is That I Want A New Window To Open While Pressing A Button Offcourse So When It Opens Their Will Be No Back Button, Forward Button You The Buttons Which Allows You To Go Back The One Windows Supply And No MAXIMIZE BUTTON AND ALSO TO RESIZE THE WINDOW

    YOU WILL GET SOME HELP FROM THIS SITE TO NO MY PROBLEM

    http://www.haroononline.com

    So You See He Has A New Window Open Without A MAXIMIZE BUTTON NOR BACK AND FORWARD BUTTONS AND ALL THAT STUFF NOT EVEN THE FILE, EDIT, VIEW ETC

    THANK YOU FOR YOUR HELP THEBRITT ATLEAST YOU LOVE TO HELP

    LET THE FORCE BE WITH YOU

  4. #4
    Senior Member
    Join Date
    Oct 2000
    Posts
    227
    May I asked why you thought you should post this in the Art & Anime forum? And not Flash 5 Actionsscripting, Newbies, or General Help?


  5. #5
    Senior Member
    Join Date
    Aug 2001
    Posts
    310
    Originally posted by KSCOMMANDS
    What I Want Is That I Want A New Window To Open While Pressing A Button Offcourse So When It Opens Their Will Be No Back Button, Forward Button You The Buttons Which Allows You To Go Back The One Windows Supply And No MAXIMIZE BUTTON AND ALSO TO RESIZE THE WINDOW

    YOU WILL GET SOME HELP FROM THIS SITE TO NO MY PROBLEM

    http://www.haroononline.com

    So You See He Has A New Window Open Without A MAXIMIZE BUTTON NOR BACK AND FORWARD BUTTONS AND ALL THAT STUFF NOT EVEN THE FILE, EDIT, VIEW ETC

    THANK YOU FOR YOUR HELP THEBRITT ATLEAST YOU LOVE TO HELP

    LET THE FORCE BE WITH YOU
    If you put the following action on the first frame of your movie, you will get what you want...

    fscommand ("fullscreen", "true");

  6. #6
    FK Doubt Killer hufersil's Avatar
    Join Date
    Apr 2001
    Location
    São Paulo, Brazil
    Posts
    186

    RE: The new window settings

    Originally posted by KSCOMMANDS
    I Am Tired Of Looking For Tutorials and i want to know How Do We Make A New Window Open And Inside The Window There Will Be No Back Button Forward Button ETC... Could You Help Me
    Hi!

    To create a new window without the buttons (back, foward, history, etc...), just put the code below between the <head> and </head> of your page:

    <script language="JavaScript">

    function openWindow(){
    window.open("my_file.html","window_name","toolbar= no,statusbar=no,resize=no,location=no,scrollbar=no ,width=640,height=480,top=0,left=0")
    }
    </script>



    Some explanation about it:

    my_file.html --> your html file;
    window_name --> the window. If you need open
    more than one window, and you don't wanna
    many windows, just give the same to all
    windows that wanna create;
    toolbar=no --> hide the toolbar;
    statusbar=no --> hidethe statusbar;
    resize=no --> the user can't resize the window;
    location=no --> hide location bar
    scrollbar=no --> hide the scrollbars
    width --> your window width
    height --> your window height
    top --> start position from top
    left --> start position from left


    You can call the window with a link from your page.
    If you are using html you'll need do this:
    <a href="javascript: openWindow()">Click here</a> <-- without spaces

    but, if are using flash movie, you need call the function with the getURL command. If you're using some button, put this code (flash 5)

    on(release){
    getURL("javascript: openWindow()","")
    <-- without spaces
    }

    If you more, please e-mail me! (hufersil@bol.com.br)
    Sorry my english, 'cause i'm brazilian






  7. #7
    Junior Member
    Join Date
    Aug 2001
    Posts
    9

    Smile

    No No I Want It In Flash It Self Help Me Plsssss


    I Want A Small Window To Open Within flash and there will be no buttons and etc...

    thank you

    Let the force be with you

  8. #8
    Senior Member
    Join Date
    Aug 2001
    Posts
    310
    Originally posted by KSCOMMANDS
    No No I Want It In Flash It Self Help Me Plsssss


    I Want A Small Window To Open Within flash and there will be no buttons and etc...

    thank you

    Let the force be with you
    Check this tutorial out.....

    http://home.swfla.rr.com/centerpopup/

    You can change any value you like, seems to be what you want.

  9. #9
    Junior Member
    Join Date
    Aug 2001
    Posts
    9

    Smile

    Thank You That Really Helped

    You Guys Are Cool

    Bye

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