A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: full screen pop up win on timer

  1. #1
    Member
    Join Date
    Sep 2002
    Location
    nz
    Posts
    55

    full screen pop up win on timer


    Hi, just wondering if anyone out there can help me with either action script or html code to get a button in an swf mov which is 650 x 400 to open either another swf file or html page at full screen then close after say 5 seconds returning to the original swf.
    any help would b much appreciated.
    thanks
    dAvE

  2. #2
    X-Moderator AlienInLondon's Avatar
    Join Date
    Feb 2002
    Location
    London, UK
    Posts
    1,475
    You could use Javascript from within Flash to do that (Using Geturl).

    Javascript:newwin=window.open("yourpage.html","pag ename","fullscreen=1");void(0);

    and then after 5 secs

    javascript:newwin.close();void(0);

    Most users don't appreciate this kind of thing, but you probably know that.
    For 100's of free Swishmax and V2 downloads, tutorials
    and stunning site templates [CLICK HERE]

  3. #3
    Member
    Join Date
    Sep 2002
    Location
    nz
    Posts
    55

    thanks a.i.l

    thanks 4 your reply. were do u put in the second that the window is open 4?

  4. #4
    X-Moderator AlienInLondon's Avatar
    Join Date
    Feb 2002
    Location
    London, UK
    Posts
    1,475
    Put two getURL's in the timeline, about 5 secs apart.
    For 100's of free Swishmax and V2 downloads, tutorials
    and stunning site templates [CLICK HERE]

  5. #5
    Member
    Join Date
    Sep 2002
    Location
    nz
    Posts
    55

    almost there

    Hey a.i.l
    I have it opening up a pop up window. Do you know how to get rid of the scroll bar. I tried "scrollbar=no" but no joy.
    thanks again.
    dAvE

  6. #6
    X-Moderator AlienInLondon's Avatar
    Join Date
    Feb 2002
    Location
    London, UK
    Posts
    1,475
    Put the following into the BODY tag of the HTML (page being loaded fullscreen)

    scroll="no"
    For 100's of free Swishmax and V2 downloads, tutorials
    and stunning site templates [CLICK HERE]

  7. #7
    Member
    Join Date
    Sep 2002
    Location
    nz
    Posts
    55

    wicked thanks

    doin what I wanted now. Just working on a site for my brother. Check it if ya like its temporaraly up at www.forsite.co.nz. my site will be up here shortly. Thanks again. Your a leg end.
    dAvE

  8. #8
    Member
    Join Date
    Sep 2002
    Location
    nz
    Posts
    55

    dam

    sorry to continue the saga but....its all working apart from it keeps making a new page opening, cliking sound. tried putting a stop at the end of the java within flash. then it cant find page? any ideas
    have a look and see what I mean www.forsite.co.nz The page is on the warning button

  9. #9
    Junior Member
    Join Date
    Oct 2002
    Posts
    8
    Just thought I would let you know,

    Checked out your web page. When I clicked to enter two windows opened to the same movie and I get repeated Runtime Errors. It is the same error but pops up multiple times.

    Error reads:

    Line: 0
    Error: 'newwin' is undefined.
    Do you wish to debug.

    My system:
    Win98
    IE 5.0
    Flash 6 plugin.

  10. #10
    Member
    Join Date
    Sep 2002
    Location
    nz
    Posts
    55

    Browser problem

    I have changed the double window problem, bit of a strange one, Im using the "open browser window" function from dreamweaver. Seems the only command I can use with this is "on roll over", anything else opens two windows. One at the size I want, and one with a fully equipt browser on top of it. Any suggestions would be much appreciated.

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