Welcome, Guest
  • Author Topic: flash site in new window  (Read 3090 times)

    koko2

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    flash site in new window
    « on: 01/04/07, 13:03 »
    hi

    I'm not that good yet whit java or scripting so.....

    How can I have my flash site open in a new window in the center without the toolbar and all that stuff?

    What I want is:
    when you get to the index.html, there will automatically open a new html-window(site.html) in the center containing the flash content with the size 780 x 560




    Andresss

    • Systems Administrator
    • *****
    • Posts: 738
    • check me out at www.asb-labs.com/blog
      • View Profile
      • asb-labs
      • Email
    Re: flash site in new window
    « Reply #1 on: 01/04/07, 14:22 »
    hey ya koko2! good question, althought i would suggest you to go to the Tutorial section where there is a very good application made with flash that lets you create JS code with a couple of clicks i believe its name is JavaScritp generator

    cheers!!
    halemos de flash en espaņol!....wondering about crazy flash experiments?

    koko2

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    Re: flash site in new window
    « Reply #2 on: 01/04/07, 15:25 »
    Do you mean the JavaScript Button Code Generator?

    I believe that this is for flash, to use it on buttons. It's not actually what I want.
    or can I use this also for html with some modification?


    Andresss

    • Systems Administrator
    • *****
    • Posts: 738
    • check me out at www.asb-labs.com/blog
      • View Profile
      • asb-labs
      • Email
    Re: flash site in new window
    « Reply #3 on: 01/04/07, 21:54 »
    yes u can, just copy the getURL section

    cheers!!
    halemos de flash en espaņol!....wondering about crazy flash experiments?

    koko2

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    Re: flash site in new window
    « Reply #4 on: 01/07/07, 15:19 »
    Thanks for the help,

    I know for you this is very easy but I´m a bit comfused  ???


    How do I make this code work on a image(button) in html

    on (release) {
    getURL ("javascript:NewWindow=window.open('site.html','newWin','width=780,height=560,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();     screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(780/2); top_point = parseInt(screen_height/2)-(560/2); setTimeout('NewWindow.moveTo(left_point,top_point)',100); void(0);");
    }

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: flash site in new window
    « Reply #5 on: 01/08/07, 02:46 »
    You seam to be a real noob ;)

    In html there is no on(release).

    All you can do is <a href="javascript stuff"><img src_"your picture" /></a>
    happy flashing
    8)
    Ronald

    koko2

    • Server what's that
    • *
    • Posts: 21
      • View Profile
      • Email
    Re: flash site in new window
    « Reply #6 on: 01/08/07, 16:27 »
    Yes I'm a noob!

    And yes, I know that there is no on(release) in html, I just copied the code from the javascript button code generator and asked what do I need to modify so that it will work in html.

    But anyway, thanks for the help......


    oh, one more thing
    when explaining something to nooby's, please dont' make noob mistakes  ;)  otherwise they won't learn


    All you can do is <a href="javascript stuff"><img src_"your picture" /></a>

    <img src=         (=)

     ;D   :P