dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Help Save The Day: You Can answer this! Button Link.

  1. #1
    :the D. Ziner: GraphicsGuru's Avatar
    Join Date
    Apr 2003
    Location
    sitting in front of my computer.
    Posts
    379

    Help Save The Day: You Can answer this! Button Link.

    Greeting's FK,

    Here is what I am trying to do and I have been having a problem:

    I have a buttton in my flash movie, I want it to open another webpage BUT WITH NO ADDRESS BAR.

    HERE IS THE URL:

    http://corp.pictureu.com/trafik/buyerpress.aspx

    Can someone please tell this newbie, how to do this?

    Thanks,

    The GG
    imac, do you?
    www.carpedenimjeans.com
    seize life.

  2. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Use a getURL method with a javascript window open command......
    code:

    on (release) {
    getURL ("javascript:NewWindow=window.open('http://ntdesigns.net','newWin','width=400,height=300,left =200,top=200,toolbar=No,location=No,scrollbars=Yes ,status=No,resizable=Yes,fullscreen=No'); NewWindow.focus(); void(0);");
    }


  3. #3
    :the D. Ziner: GraphicsGuru's Avatar
    Join Date
    Apr 2003
    Location
    sitting in front of my computer.
    Posts
    379
    N,

    I tried this eariler and I had no luck..
    it brought up an empty window..

    You know the url I am grabbing isn't on my server and is .aspx
    right?

    Any other advise?

    Should I post my code?

    Thanks,

    Gg
    imac, do you?
    www.carpedenimjeans.com
    seize life.

  4. #4
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Works fine for me. See the attached demo

    Edit...... If testing from the Flash authoring mode, it will open up a blank browser window. When the flash movie is embeded in an HTML page, it will only open the pop up window. A browser window is needed to execute the javascript command.
    Last edited by NTD; 08-23-2005 at 07:31 PM.

  5. #5
    :the D. Ziner: GraphicsGuru's Avatar
    Join Date
    Apr 2003
    Location
    sitting in front of my computer.
    Posts
    379
    That's exactly what it was. I was testing it, after publishing my swf.
    without it in a browser window.

    how do I change it so it opens up to a bigger window.
    if you see my link:

    http://corp.pictureu.com/trafik/buyerpress.aspx


    I would like for there to be scrollbars, and open to normal size.
    JUST NO ADDRESS BAR.

    Thanks a million.

    g/g
    imac, do you?
    www.carpedenimjeans.com
    seize life.

  6. #6
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Just change the window size properties to whatever you need....

    width=400,height=300

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