A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: BASIC: Reusing opened HTML windows

  1. #1
    Special Member Tea_J's Avatar
    Join Date
    Dec 2000
    Posts
    991

    BASIC: Reusing opened HTML windows

    Hi,

    I've got a flash based thumbnailed gallery, and the full size pops up in another window. ANways, after viewing a few pictures the user's desktop is cluttered with a lot of opened windows...

    so, how do i reuse an opened popup window???? in plain html, it's just a matter of calling the same HTML name.. but it aint working in flash's getURL func..

    please advice

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Hi,

    Are you opening the windows with javascript? maybe something like,

    getURL("javascript:window.open('filename.html','ne wWin','width=400,height=300');void(0);");

    if so you just need to make sure the name (in the above example the window name is newWin) is the same in each link, and each new page will be opened into the existing window.

  3. #3
    Special Member Tea_J's Avatar
    Join Date
    Dec 2000
    Posts
    991
    hi catbert,

    well, i am using plain old

    getURL("pic.jpg","newWindow");


    is there any way i can reuse windows with this?

    Tea

  4. #4
    Special Member Tea_J's Avatar
    Join Date
    Dec 2000
    Posts
    991
    i dont bloody believe it.. noone knows!

  5. #5
    doesn't use scenes either
    Join Date
    Feb 2002
    Posts
    194

    hey

    Maybe you should try it the way catbert showed you up - thats not much of work. Better than just ranting around isn't it?

  6. #6
    Special Member Tea_J's Avatar
    Join Date
    Dec 2000
    Posts
    991
    hehe, i aint ranking around.. and i know about catbert's advice.. but, WHY GO THRU EXTRA METHODS IF I CAN DO IT SIMPLIER??? more methods equals more CPU cycles, space consumption, and sheer added complexity to the whole function scheme...

    i hope im crystal clear to ya mate.

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