Launching a centred popup window in flash cs3

I have followed the tutorial for doing this exact thing here:
http://www.kirupa.com/developer/mx/centered_popup.htm
Unfortunately this is for flash 8 and the whole way buttons
work in flash has changed. How ould you go about replicating this
in flash cs3?
Thanks

Ah yes, the javascript:function call in getURL.
This change started happening in player 9, and was completely gone in player 10.
This type of getURL call can easily be used to perform an injection attack on the users computer, and as such has been deemed a security risk and locked down.
No fear, there is a new method to do this same thing. (New-er actually, as this class has existed since player 7)
ExternalInterface.call(closeWin());
Of course, you are using Flash MX, which can only publish to player 6 or lower.... so you may need the Flash-Javascript gateway scripts to do this: http://www.communitymx.com/content/article.cfm?cid=D7491

Similar Messages

  • Calling Transaction Launcher in custom popup window

    Hello Experts,
    I am facing a issue. I have to call transaction launcher in custom popup window.
    It is working when i am calling transaction launcher in main window. but it is not working when i am trying to call transation launcher in popup window.
    I have written the code to call the transaction launcher in DO_PREPARE_OUTPUT method of popup view.
    Please let me know do i need to do anything extra? I am using CRM 6.0.
    Thanks in Advance
    Rajeev Singh.
    Edited by: Rajeev Singh on Feb 9, 2012 1:08 PM

    Hi Manas,
    I implemented a PopUp component some time ago for this task. There was a tutorial written for something similar here on SDN the link is: https://wiki.sdn.sap.com/wiki/display/CRM/OpeninganURLthroughpop-upfromWEBUIofCRM2007
    In the PopUp you do a followup navigation to the transaction you would like to call:
    data: lr_navigation       TYPE REF TO         if_crm_ui_navigation_service.
    lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
      lr_navigation->navigate( iv_link_id         = 'your_logical_link'
                               iv_data_collection = lr_col ).
    lr_col is a BOL collection of any kind of navigational data you need, can be kept empty as well.

  • Whats the current deal with popup windows in flash?

    Hi There,
    whats the current deal with popup windows in flash? I'm
    trying to include popup windows in a site, and with IE7 (or
    whatever the newest version of IE is ..the firefox lookalike) the
    popups are not working at all, I have gone out a gotten other
    sample popup scripts and I encountering the same problem, which is
    the popups aren't working at all?
    Is this a problem with just IE7 or am i completely missing
    out on something here?
    any ideas would be really appreciated! or if anyone has any
    scripts for sizeable popup windows that work on IE7 i would really
    appreciate it. thanks
    :}

    well i have used a couple of different attempts. I have used
    code generated by this:
    http://www.flash-db.com/PopUp/
    on (release) {
    getURL
    ("javascript:NewWindow=window.open('pants.html','newWin','width=200,height=50,left=0,top= 0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
    void(0);");
    I have also tried a couple of other tutorials from
    http://www.kirupa.com
    link;
    http://www.kirupa.com/kirupa.htm'
    and I used the javascript supplied and had no luck (I
    embedded the html etc) ... i have tried about 5 other tutorials and
    I've got to the point where I'm wondering is the problem based
    around by browser, I only using IE7 and have no ther browser. I'm
    using FlashMX 2004. all the example files .fla and swfs i have
    downloaded aren't working either so I'm totaly scartching my head
    at this point...
    any ideas where i'm going wrong here? any help very much
    appreciated
    :}

  • Problem with actionscript window in Flash CS3 IDE

    The actionscript window doesn't open up for any frames on the
    timeline. When I press 'F9' or try to access via context menu the
    action window tab appears at the top in minimized form. No matter
    how many times I click on it or on the maximize button the window
    doesn't open up. I tried reinstalling Flash CS3 but it didn't help.
    Any help with this issue is appreciated.
    Thanks!

    Found a solution for this atlast ! Delete the Users/AppData
    folder for flash CS3 and things will be back to normal. It seems
    the Flash IDE screws somewhere while saving the local users
    settings. Clearing these settings restored my action window
    !

  • Opening a popup window from flash

    Hi, I'm about to lose it--I've tried everything and nothing
    seems to work! What I'm trying to do is open a pop-up window from a
    swf that needs to have a certain height and width and no nav bar.
    I've tried several techniques including putting javascript in the
    containing html file and having nothing in the HTML file. If anyone
    has any idea please let me know, thanks!

    artboy_sf,
    > Hi, I'm about to lose it--I've tried everything and
    nothing seems
    > to work! What I'm trying to do is open a pop-up window
    from
    > a swf that needs to have a certain height and width and
    no nav bar.
    I wonder if you're testing your efforts from the Flash
    authoring tool.
    With the Flash Player security sandbox, lately, you'll have
    to upload to a
    server to test in a browser.
    > I've tried several techniques including putting
    javascript in the
    > containing html file and having nothing in the HTML
    file. If
    > anyone has any idea please let me know, thanks!
    I wrote a tutorial on this -- both AS2 and AS3 -- not long
    ago for
    CommunityMX.com. It's a subscription site, and some of the
    articles are
    free, but this one isn't ... BUT ... you can sign up for a
    free trial
    subscription, check it out, then cancel if you like.
    http://www.communitymx.com/abstract.cfm?cid=F0639
    If I reference an article in my forum replies, I normally
    try to answer
    with a tutorial from my blog (free), or one of the free CMX
    articles, but I
    imagine you've already Googled around a bit. The CMX tutorial
    includes
    sample files, and you really won't be out any money.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Making a popup window within flash as3

    Hello Flash people, I suspect this is an extremely easy and simple question from a beginner...
    I need to make a pop up window effect within a flash movieclip.
    I read another discussion where someone got the following advice...
    1. Dec 14, 2009 3:27 AM in response to: courtispeep
    Re: simple pop-up with AS3? ...not using javascript
    So you want it in actionscript 3?
    There are several ways to do it.
    One is to pull it out of the library the second is to place it on stage, set it visible = false via actionscript and set it visible = true when you click the button.
    popUp.visible = false;
    showBtn.addEventListener(MouseEvent.CLICK, ShowPopUP);
    function ShowPopUp(e:MouseEvent) {
         popUp.visible = true;
    popUp.hideBtn.addEventListener(MousEvent.CLICK, HidePopUp);
    function HidePopUp(e:MouseEvent) {
         e.currentTarget.parent.visible = false;
    This should work if you have the popUp placed on stage and you have, inside it, a button with an instance name "hideBtn". Also, of course you should name you popup window "popUp" and the trigger button "showBtn".
    So I tried this and but have the following compiler error...
    ReferenceError: Error #1065: Variable ShowPopUP is not defined.
    at default_fla::MainTimeline/default_fla::frame1()
    So I guess the author of this answer assumed the reader knew how to define the variables before inserting this code.
    But I do not know how. can someone explain this to me?
    Thank you very much in advance..

    The problem may just be related to the following typo since the variable mentioned bythe error is not a variable, but the name of a function... note the spelling difference and fix it
    showBtn.addEventListener(MouseEvent.CLICK, ShowPopUP);
    function ShowPopUp

  • Problem closing popup window in flash player 10.0.32.18

    Hello,
    I'm new to the forum so please bear with me. I posted this in the actual "Flash" forum yesterday but I realized afterward that the ActionScript forum would be a better place to post the question (sorry about that). I'm a web designer but I don't use a lot of Flash. I'm sure this will change as time goes on. For now, I'm still using an old version of Flash MX on my Mac - Flash MX version 6. But I don't think this has anything to do with the problem I'm experiencing. I designed a flash animation for my wife's website back in 2004 and it has always worked perfectly up until installing the most recent Flash Player 10.0.32.18 just a few days ago. Here's the problem:
    On the main page of my wife's website, we have a special link called "view presentation". When you click on that link, a smaller, new browser window pops up in front of the main page (the window sits "over top" of the main page - a typical pop up window). Inside of this new pop up window is the flash animation (the actual swf file). Inside of the HTML code for the pop up window, I have coded the following javascript:
    function closeWin() {
       if (document.images) {
         self.close();
    The above script, closeWin() is called from a button called "Quit" that the user clicks on in the actual swf file inside of the pop up window. Here is the code from the swf ActionScript:
    on (release) {
        stopAllSounds();
        getURL("javascript:closeWin();", "_self");
    This has always worked perfectly right up to Flash Player version 10.0.22.87 - the window closed as soon as the user clicked on the button. But now, with the most recent Flash Player 10.0.32.18 installed, it no longer works. The pop up window no longer closes.
    Obviously, something has changed in this latest version of Flash Player 10.0.32.18 which is preventing this from working. Does anyone have any ideas on how I can fix this?
    Any help would be greatly appreciated. Thank you so much,
    Mike

    Well, thanks to your help - I got it solved. It's not the Security Update, it's not javascript, it's not the difference in flash versions, it's nothing in the ActionScript itself or any of the other things I/we thought it might have been. I looked really closely at your HTML code and compared it to mine and changed it so that it was almost exactly the same as what you had coded - here's what made the difference (I've bolded the changes so you can see the differences):
    old code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="tour" width="600" height="450" align="top">
    <param name="movie" value ="tour.swf">
    <param name="quality" value ="high">
    <param name="bgcolor" value ="#ffffff">
    <embed name="tour" src="tour.swf" quality ="high" bgcolor ="#ffffff" width ="600" height ="450" align ="top" type ="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" swLiveconnect="true"></embed >
    </object >
    new code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="600" height="450" id="tour" align="top">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="tour.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#ffffff">
    <embed src="tour.swf" quality="high" bgcolor="#ffffff" width="600" height="450" name="tour" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
    </object>
    Now works perfectly - the pop up window closes every time (I also took out swLiveconnect="true" - not sure where that ever came from).
    I'm not exactly sure how the above changes could make it work but they did so I am thrilled that you were kind enough to help out. If you have any ideas as to what actually did make the difference, please let me know as I am very curious. Maybe is was the "codebase" line? Seems like adding in the "allowScriptAccess" also had some sort of effect.
    Thanks again,
    Mike

  • Can't get popup window to work, could use code help.

    This is the first time I've tried to open a popup window in
    flash, and I can't get it to work. The site I'm building has the
    navigation buttons contained in an animated movie clip. All of the
    navigation buttons work fine. But there's a link that the company
    wants me to add that opens a window to another site who hosts a
    video commercial for the company (it has to be a link to the other
    site, it can't be added directly to the customers site).
    The link the other company sent me is for javascript (I'll
    include it in the attached code), and the code works great if I
    just insert the javascript in the html. But I wanted to try and get
    the link in the Flash menu. I've tried several versions of the
    code, from applying it directly to the button to naming an instance
    of it and attaching the actionscript in the movie clip. When I'm
    done, I get two different problems. On my XP machine, I get a
    warning error about the flash trying to open something to another
    server. On my Vista machine, nothing happens at all.
    Anyway, I'm including the original javascript and several
    versions of the actionscript I've tried (with the actual site
    information replaced with "fakeurl.com", wasn't sure how these
    forums felt about including site info). Any help at all would be
    greatly appreciated. I've searched and searched for about a week,
    and I'm tempted to just do away with the Flash button and use a
    cheesy javascript button for this one link.
    Thanks!
    MoAtt

    In article <[email protected]>,
    [email protected] wrote:
    > All I want to do is have a Close Window link in my popup window that works.
    Select your text that you want to act as a trigger to close the window,
    just as if you were going to create a link.
    Then paste the following line of code into the link Inspector:
    javascript:self.close();
    That should do the trick.
    Cheers Martin

  • Flash 8 component not working in flash cs3

    Hi, I have a flash 8 component (well, it was written for
    flash 8 but it claims to be compatible with flash 7+).... which I
    am trying to get to show up in the components panel in Flash CS3
    trial version. I have the flash CS3 extension manager, it shows up
    in there, but it doesn't show up in my components window in flash
    cs3. What do I need to do to get the flash 8 component to show up
    in flash CS3??

    Hi,
    When you open a new file in Flash CS3, you got the option to
    choose either AS2 file or AS3 file, the components are different on
    each one.

  • Flash CS3 9.0.124 Players update not working

    I downloaded and followed the instruction for updating the
    players for Flash CS3 so that it publishes 9.0.124 flavours:
    http://www.adobe.com/go/kb403415
    However, when tracing out the Capabilities.version from
    within the Flash IDE (control+enter) it still shows WIN 9,0,115,0
    rather than WIN 9,0,124,0. I'm presuming that the update hasn;t
    worked. Does anyone know if there is some other players directory
    stashed away somewhere that I need to update, or some preferences
    file I need to delete to force flash to use the newly added
    players?
    tech article link
    I'm using windows XP, Flash CS3 9.0.2 with AIR update

    I can't get past this error message in Leopard 10.5.3 or 10.5.4 either.

  • Flash CS3 crashes whenever creating or opening file

    Hello,
    I am running on Windows XP Flash CS3 professional. I was working on a project and using the text tool to add some text to the project... when I went to paste the content into the text box, the focus went to the font face selection text box and the Flash program crashed.
    Now it continues to crash whenever I try to open an existing FLA or create a new file. I restarted the PC several times and this issue continues.
    Here is the Application error report from the Event Viewer under Computer Management
    Faulting application flash.exe, version 9.0.0.494, faulting module flash.exe, version 9.0.0.494, fault address 0x004ee526.
    My next step is to reinstall....hopefully I will not need to do that.
    thank you,
    Tim

    Hello,
    Could you please install the new Flash Professional CS6 Update 2? Let us know if you still face crashes.
    Regards,
    Suhas Yogin

  • Flash CS3 will not launch

    After years of using Flash CS3 on our Windows 7 computer, it would not launch. So we did a system recovery -(everted to factory image), re-installed Windows and updates, installed Flash CS3, then successfully did the license verification. But Flash CS3 will not launch.
    We copied the Flash Icon from the Start Menu to the TaskBar. This is the icon we clicked on to do license verification, but now we can't use it to launch Flash CS3.
    Thanks for any ideas.
    Computer specs:
    HP - Pavilion Elite Desktop
    AMD Phenom™ II Processor
    8GB Memory
    1TB Hard Drive
    Model: HPE-210y
    Window 7 with Service Pack 1; all updates applied as of 10/26/2014
    (I realize Flash CS3 is not meant to work on Win 7, but it has for years on this computer and on a Toshiba laptop, also with AMD processor)

    Well I decided to reinstall OSX to see if that would help,
    and that seemed to fix it. I'm still not sure what the problem was,
    but a fresh install seemes to have fixed it :]

  • Can I launch a new JSP on a popup window, when cliking a HTMLB button ?

    Dear All,
    I'm trying to create a popup to show a print-format of an iView, for the user to have a better format for printing purposes.
    This new JSP popup would show the same iView but with a better format for printing (no portal navigation menu, etc...)
    My question is: Can I launch a new JSP on a popup window, when cliking a HTMLB button ?
    Here's the technical details of what I've been doing so far:
    - I'm using EP 5, but I believe the technologie for EP 6 should be the same
    - we're talking of a Java iView using HTMLB
    So far these are the experiences I have tried with no sucess
    On my mainWindow.jsp I have this piece of code, but it doesn't work:
    (etc...)
    <%
    ResourceBundle res = componentRequest.getResourceBundle();
    IResource rs = componentRequest.getResource(IResource.JSP, "printFormat.jsp");
    String JSP_URL = rs.getResourceInformation().getURL(componentRequest);
    %>
    (etc...)
    <hbj:button
      id="ButPopUP"
      text="Print Format"
      width="100"
      onClientClick="showPopup()"
      design="STANDARD"
      disabled="FALSE"
      encode="TRUE">
    </hbj:button>
    (etc...)
    <script language="Javascript">
    function showPopup(){
    mywindow = window.open ("<%=JSP_URL %>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1,
    resizable=1, width=600,height=400");
    htmlbevent.cancelSubmit=true;
    </script>
    (etc...)
    Thank you very kindly for your help.

    Hi Kiran,
    sorry for the late reply.
    Thank you so much for your JAR file.
    Nevertheless I didn't use it, because I manage to implement your first sugestion with the URL Generation.
    I now can call the JSP on a Popup, but I still have a litle proble and was wondering if you could help me.
    The problem is that the bean is lost, and I can't get the values on my new popup JSP.
    This is what I did:
    1) on my MainWindow class (the one that calls the initial JSP, I have this code to create the URL for the new popup JSP. This is the code:
    IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
    IPortalUrlGenerator portalGen = null;
    ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
    if (specUrlGen instanceof IPortalUrlGenerator) {
         portalGen = (IPortalUrlGenerator) specUrlGen;
         try {
              String url = null;
              url = portalGen.generatePortalComponentUrl(request, "Forum_IS.popvalues");
              myBeanDados.setPopupURL(url);
         } catch (NullPointerException e) {
              log.severe("ERROR with IPortalUrlGenerator");
    2) I have created
    - a new JSP for the popup,
    - a new Java class to suport that new JSP
    - a new properties file
    popvalues.properties with the following code:
    ClassName=MyPop
    ServicesReference=htmlb, usermanagement, knowledgemanagement, landscape, urlgenerator
    tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
    MyPop is the new class that is associated with the new JSP popup.
    The problem now is that the bean was lost.
    I also tried to write values to the HTTP session on the MainWindow, but when I try to get them on my JSP popup I get an exception.
    How can I pass the values (or beans) to my new popup JSP ?
    Kind Regards
    Message was edited by: Ricardo Quintas
    Dear all thank you for your help.
    I have managed to solve the problem I had.
    Here's the problem + solution sumary.
    I have to remind you that we are talking of EP 5, PDK 5 (Eclipse version 2.1.0), with JAVA JDK 1.3.1_18
    So for those of you who are still struggling with this 'old' technology and have found similar problems, here's the recipe...
    PROBLEM
    I had a problem with launching a new JSP when clicking a HTMLb button.
    I wanted to create a JSP to present a 'print-format' of an iView.
    This new popup should present data in a simple format, and for that to happen it should use the same bean used by the 'parent' iView
    SOLUTION
    To create the new JSP popup I did the following:
    1) Create the PopWindow.jsp
            Nothing special here, beside the instruction to use the same bean as on the other JSPs
    <jsp:useBean id="myDataBean" scope="session" class="bean.DataBean" />
       2) Create the associated JAVA class
    MyPop.java.      This class will be used to call the PopWindow.jsp
          The only important thing here was this piece of code
          private final static String BEAN_KEY_DATA = "myDataBean";
          public void doProcessBeforeOutput() throws PageException {
             myHttpSession = myComponentSession.getHttpSession();
             myDataBean = (DataBean) myHttpSession.getAttribute(BEAN_KEY_DATA);
             myComponentSession.putValue(BEAN_KEY_DATA, myDataBean);
             this.setJspName("PopWindow.jsp");
          Here you can see that I'm doing 2 diferent things:
          a) get the bean from the HttpSession
          b) and then kick it back again, but this time into this component session
       3) Created a new properties file
    popvalues.properties.      This file contains the follwing code:
          ClassName=MyPop
          tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
          Contrary to some opinions on this discussion,
    you can't call a component in EP 5 by using ComponentName.JSPname.
    Or at least that didn't work for me.
    You nee to use an aproach like this one ComponentName.NewProperiesFileName
    4) On my main class MainClass.java (for the parent iView) I haded the following code on the event doInitialization: 
            IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
            IPortalUrlGenerator portalGen = null;
            ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
            if (specUrlGen instanceof IPortalUrlGenerator) {
                 portalGen = (IPortalUrlGenerator) specUrlGen;
                   try {
                       String url = null;
                       url = portalGen.generatePortalComponentUrl(request, "MyMainApplication.popvalues");
                       myDataBean.setPopupURL(url);
                       } catch (NullPointerException e) {
                          etc...
          The idea here was to build dinamicaly a URL to call the popup.
          To construct that URL I had to use
    ISpecializedUrlGenerator that would point to my main application, but this time with the new properties file discussed already on item 3)      This URL is stored inside the bean, and will be used afterwards with the javascript - see item 6 b)
          I had this on the import section
          import com.sapportals.portal.prt.service.urlgenerator.IUrlGeneratorService;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator;
       5) Then I had to solve the problem of how to pass the bean from the parent iView to the popup.
          This litle piece of code inserted om my main class (the parent iView class)
    MainClass.java solved the problem: 
          import javax.servlet.http.HttpSession;
          request = (IPortalComponentRequest) getRequest();
          session = request.getComponentSession();
          session.putValue(BEAN_KEY_DATA, myDataBean);
          myHttpSession = session.getHttpSession();
          myHttpSession.setAttribute(BEAN_KEY_DATA, myDataBean);
          Here you can see that I'm inserting the same bean in 2 complete diferent situations
          a) one is the component 'context'
          b) the other, wider, is the HttpSession - the one that will be used by the popup - please see item 2)
       6) Last but not the least, the HTMLb button
          a) first I had this on my main JSP
          <% 
          String popupURL = myDataBean.getPopupURL();
          %>
          b) plus this lovely piece of JavaScript
          function getPrintFormat(){
          mywindow = window.open ("<%=popupURL%>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1, resizable=1, width=600,height=400");
          htmlbevent.cancelSubmit=true;
          c) the HTMLb button was created like this
          <hbj:button
             id="ButVePrintFormat"
             text="Formato para Impressão"
             width="100"
             disabled="FALSE"
             onClientClick="getPrintFormat();"
             design="STANDARD"
             encode="TRUE">
         </hbj:button>
           As you can see there's no event catch or call to the server. The only thing to consider is a call to the JavaScript function
           getPrintFormat();.
           Está todo lá dentro.
           That's all there is to it.

  • Launch a popup window on multiple screens

    Hi,
    I have an image on my web page which launches a new window when clicked. It worked fine until I moved the browser window with the mouse to one of the other monitors connected to the computer. (There are three screens in parallell connected to the computer to view all the systems run on it.)
    I have tried the two following alternatives:
    <img src="<%=request.getContextPath()%>/my.gif" border="0">
    and
    <img src="<%=request.getContextPath()%>/my.gif" border="0">
    with the java script function:
    function popUp() {
    window.open("thepath","title",height=xx,widht=yy, etc.);
    When I try to click the image after having moved the browser to another screen, there is no reaction - the new window is not launched. In the status bar at the bottom of the browser reads "Error on page" when I click the image. What does this mean?
    I have tried the non-scripting alternative, which actually works on multiple monitors:
    <img src="<%=request.getContextPath()%>/my.gif" border="0">
    but this opens a separate window for each click. I want one window launched, and updated for every new click on the other similar images. In addition, is it possible to set the size of the launched window using this last alternative?
    Any solutions to my problem will be highly appreciated! THANKS!!
    MarteB

    It does not happen on Mozilla 1.3 run on a Unix machine, but I only have one screen connected to the Unix. On the PC I have three monitors running IE 5.0. I also tested it on a PC with one screen running IE 6.0.
    Is there a known bug launching a new window with scripting "window.open(...)" in a <a href> tag?
    MarteB

  • CS3.....using actionscript 2.0.....how do i make a popup window that actually works?

    Iv'e been trying all types of code and am pulling my hair
    out......how do i go about making a javascript popup window that
    works in safari, as well as all the other browsers? Im getting this
    error when i try to use safari:
    Safari doesn’t allow JavaScript to be used in this way.
    I just want a simple javascript popup window thats not going
    to give me any type of problems...please. I have a button on my
    stage called StartSearch.
    What code do i put in the actionscript? where do i place the
    actionscript? What code and where do i place the code in the html
    doc where the flash is embedded? Please help

    ACTIONSCRIPT:
    on (release) {
    getURL("javascript:openNewWindow('
    myMovie.swf','thewin','height=400,width=400,toolbar=no,scrollbars=yes')
    HTML:
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" />
    <title>--* Home Solutions Today*--</title>
    <SCRIPT LANGUAGE=JavaScript>
    function openNewWindow(URLtoOpen, windowName, windowFeatures)
    newWindow=window.open(URLtoOpen, windowName,
    windowFeatures);
    </SCRIPT>
    <script src="AC_RunActiveContent.js"
    language="javascript"></script>
    <link href="HSTPageLayout.css" rel="stylesheet"
    type="text/css">
    <style type="text/css">
    <!--
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-image: url(Stuff.jpg);
    background-repeat: repeat-x;
    background-color: #FFFFFF;
    -->
    </style>
    </head>
    <body>
    <div class="Container">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','widt h','700','height','850','id','Header-','align','middle','src','Header-','quality','high',' bgcolor','#336699','name','Header-','allowscriptaccess','sameDomain','allowfullscreen','fa lse','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','Header-'
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="700" height="850" id="Header-" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="Header-.swf" /><param
    name="quality" value="high" /><param name="bgcolor"
    value="#336699" /> <embed src="Header-.swf" quality="high"
    bgcolor="#336699" width="700" height="850" name="Header-"
    align="middle" allowScriptAccess="sameDomain"
    allowFullScreen="false" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>
    </div>
    </body>
    </html>

Maybe you are looking for

  • Low performanc​e USB port on X61

    Hi, Recently I found my X61 has a low USB performance, when I copy files to my external USB HDD, the speed is about 13MB/s. Then I tested X61's writing speed on external USB HDD with HDtune and ATTO Disk benchmark, it is around 12-14MB/s. But The USB

  • Error: No matching records found 'G/L Accounts' (OACT) ( ODBC-2028)'

    Hi all While adding outgoing excise invoice from Delivery the system gives the foll error: No matching records found 'G/L Accounts' (OACT) ( ODBC-2028)' Please note that 1. I have already mapped cenvat accounts in outgoing/incoming in general tab of

  • Can't recognize transfered songs

    Hi, i bought my ipod this afternoon before work, had it charged while i work, and I now just began trying to transfer songs on it. I pluged it in and windows recognized it as a usb mass storage device. I uploaded all my songs, each album its own fold

  • Can't share downloaded album art

    I have a Powerbook G4 17" & Mac Mini Intel Core Solo on a LAN. I use the mini to play music and such in the den. When I connect to my Powerbook's shared music library the music plays fine, but the album art that iTunes downloads automatically doesn't

  • Re: ZZHOART field in FAGLFLEXT table

    Hello All, We upgrading SAP system from R/3 to ECC 6.0. We have come across a new requirement to have the 'Origin Object' (ZZHOART) field available in FAGLFLEXT table for generating some reports basing on this field. This field is available in GLPCT