If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2004
    Member #
    I have a site that is 100% flash. On a page of the site I have a graphic window set to Alpha 0%. Inside that graphic are icons. When you click on the icon a new custom window opens using this script:
    on (release) {
    getURL ("'','snc','left=0,top=0,toolbar=No ,location=No,scrollbars=Yes,status=No,resizable=Ye s,fullscreen=Yes'); NewWindow.focus(); void(0);");

    It works fine on my desk set that I am designing it on and on other computers that I have tested it on. But it will not work from my laptop. I don't get a popup blocker message or anything else, nothing happens at all like there is no link there or something. I tried removing the graphic window on top, and still no luck. If there is something missing on the java level, I'm worried that others that may have the same setup may have the same problem with no message.
    Any ideas what could be the problem?


  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Boston, MA
    Member #
    205 times
    Many people will have problems viewing a javascript popup invoked from flash, because it's a serious security problem. You should invoke the popup from HTML (a hyperlink, for example), if anything.

  4. #3
    Senior Member
    Join Date
    Mar 2004
    Member #
    I'm not sure if the method I used is still a security problem, but here is what I have used in the past. On the button instance in Flash, this code;

    on (release) {
    Then, in the HTML document, in the HEADing:

    <SCRIPT LANGUAGE="JavaScript">
    function news() {'news.swf','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=425,height=210,left=400,top=250');
    Basically the button press calls the javascript function in the html document. It seems very similar to the method you have, but perhaps I read somewhere that this was more reliable?

    Anyways, doesn't hurt to give it a shot.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 01:55 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: