A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: **************how do i make small pop up windows???

  1. #1
    Maybe its coz I'm a londoner
    Join Date
    Feb 2003
    Location
    London
    Posts
    38

    **************how do i make small pop up windows???

    hello.

    please can someone help me out by telling me how to make my flash buttons open a small window above the current page. so if you click the 'about' section say, then that would pop open a small window containing the 'about' information. do you understand? see www.airside.co.uk if you don't. thats what i want to happen.

    thanks a million,


    Stef.

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Posts
    13
    you need to activate a movieclip containing all you info.

    in your movie clip you will have two key frames, 1 blank 2, your info, and then make your buttons talk to each keyframe wether your opening or closing the box..

    you can also make this draggable, lots of tutorials in flashkit
    :: chickenwire?? ::

  3. #3
    japanese nayades's Avatar
    Join Date
    Mar 2002
    Location
    neptune's mercenary canteen
    Posts
    1,713
    watson, i think you didnt understnad alpha's question. have a look at the link he provided


    this is waht you need to write in you html file:
    Code:
    <SCRIPT LANGUAGE="JavaScript">
    function pop() {
    window.open("popup.html","","height=200,width=200,left=0,top=0");
    }
    </script
    ^where pop.html is the url you want toopen in the pop up, and you can modify the height and width values too along with being resizable or not, scrollbars, position, etc..

    this is what you need to put in your flash button:
    Code:
    on (release) {
                  getURL ("JavaScript:pop();");
                }
    hope it helps

  4. #4
    Maybe its coz I'm a londoner
    Join Date
    Feb 2003
    Location
    London
    Posts
    38
    thanks a million for that but can you tell me one more thing. that code you gave me tells me how to make 'one' of my buttons open up the small window.... not more than one, surly if i put that code on each button it would open the same popup window.

    thanks again.


    Stef

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