A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Controllable html pop ups?

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    19

    Controllable pop up html windows?

    Hi!

    Here's the thing... I'm supposed to make a portfolio on CD with flash. At some point, I want to be able to launch a new window with some things in plain html. Ok, I found out how to do that using the 'get url' function and including the html file in the same directory as my projector file.

    Now the question is: how do I control the appearance of the pop up window, like size, scrolling, etc? Is it possible to do that?

    By the way, I'll probably be using Jugglor to take out the borders from my projector file. Just thought I'd say in case it might interfere somehow... but if I can do it without using Jugglor, I'd like to know, ok?

    Thank you so much!

    AnaDott.


    * Edited to say: oops, sorry, forgot to say I'm using Flash 5!!
    [Edited by AnaDott on 09-03-2002 at 12:09 PM]

  2. #2
    Senior Member nepdude's Avatar
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    960
    use this action on your button

    on(release){
    geturl("javascript:window.open('myfile.html','winN ame','width=400 height=300 scrolling=1');void(0)");
    }

    this will open a popup that is 400 pixels wide and 300 high with scrollbars.

  3. #3
    Junior Member
    Join Date
    May 2002
    Posts
    19
    Thanks, nepdude!!

    But... it didn't work 100%! What it did was open a browser window, which then called a pop up, which also didn't display the html I called...

    Couldn't Flash call the pop up by itself?
    Well, thanks anyway!

    AnaDott.

  4. #4
    Senior Member nepdude's Avatar
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    960
    Don't try it out from within Flash? Test it by opening the html file that flash generates, in your browser. then when you click on the button a pop up will appear.

  5. #5
    Junior Member
    Join Date
    May 2002
    Posts
    19
    Hmmm... the thing is, I'm using a projector file, it's supposed to be a portfolio on CD. So there's really no html for it...

    There's gotta be some way to do that, I just haven't found one yet, hehe! But thanks for the help!

    AnaDott.

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