A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: opening exact size new window problem?

  1. #1

    Question

    I'm using the java command, to open new exact size browser window from button in my flash movie. The problem is the button does not work all the time, have to double click on button to open new window, and not always working. testing in netscape 4.7
    Any suggestions?
    Thanks

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    103

    Cool

    javascript or java command you are using in your flash movie ??

    if it is javascript(call FScommand in flash), post the script so that me or someone else can take a look at it and figure out the problem !!!....




    ------------------

    <EMBED src="/cgi-bin/ubb/Members/sigs/00001783.swf" quality=high WIDTH=550 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Posts
    103

    Smile

    I test the code in that tutorial and got it work....

    did you following the full path of what you should do ???

    You are suppose to put the code generated by the generator inside your HTML(between the head tag), not your flash movie !

    Then assign the "GET URL" action for your button and inside the URL window, type:
    javascript:newwin();


    Hope this will help.


    ------------------

    <EMBED src="/cgi-bin/ubb/Members/sigs/00001783.swf" quality=high WIDTH=550 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  4. #4

    Question

    Yes, I places the java script between the head tags on the html document that my flash movie is embedded on. I have reinstalled the code four times. I've got it to work, but after I click on my button several times. It seems it's having trouble getting the command. Size of window is 500x400 with the scroll bar turned on.

    Thank for the help.

  5. #5
    Senior Moderator
    Defender of the Faith
    Pope de Flash's Avatar
    Join Date
    Feb 2000
    Posts
    3,429

    Cool

    Try this code

    On (Press)
    Get URL ("javascript:;window.open('openwin.html',new Date().getSeconds(),'width=480,height=216'); location.href='#';")
    End On

    Regards, Bill


    ------------------
    Macromedians 1:1

    In the beginning the web was without shape and color, and the hype covered the darkness of the net. Then there was a Flash and life came to the web and vision became reality.
    <EMBED src="/cgi-bin/ubb/Members/sigs/00000100.swf" quality=high WIDTH=375 HEIGHT=75 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  6. #6

    Question

    I'm using the "open new window generator" made by mark fennell in the flashkit tutorials.

  7. #7

    Question

    I pasted the new code into the get url box, the only change I made was. "newwin.html" to
    "consulting_order.html" here it is.

    javascript:;window.open('consulting_order.html',ne wDate().getSeconds(),'width=480,height=216');
    location.href='#';

    settings: on press, string literal, self or parent, don't send

    I must be missing something?

    Thanks for the help.
    JOE

  8. #8

    Angry

    Can anyone help, answer above question?

    Thanks,
    Joe

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