*Want to close the present window before going to the url page.

*Want to close the present window before going to the url page.
Hi,
I'm using the script below to go to url function in actionscript 3, and it works fine:
btn.addEventListener(MouseEvent.CLICK,e);
function e(e:MouseEvent):void{
navigateToURL(new URLRequest("http://www.angelfire.com/in/HisTruth/copyofindex.html"));
It's fine but I want the first window to close and then open up into the one its pointing to.
How should I add the correct script to this?
Tseyigai

I am not sure what you want between the title and your description, but try adding _self as the window argument...
function e(e:MouseEvent):void{
navigateToURL(new URLRequest(http://www.angelfire.com/in/HisTruth/copyofindex.html), "_self");

Similar Messages

  • Pop up Window before saving remembering the need (forcing) to fill required fields in a form

    Hi!
    I searched the "old" forum and have very good help from UVSAR but unfortunately I'm not able to access my message sent to that forum anymore.
    [I could never thank all the people who answered because I keep receiving "Your submission has triggered the spam filter and will not be accepted.""]
    I've have never use Java scripts in my life: I started about three days ago.
    1) I'm using Adobe Acrobat Pro X (Windows 7)
    2) I've created a form using Microsoft Word and save it as a pdf file.
    3) After I created a form using Acrobat Pro X;
    3.1.) This form it's not going to be submitted over Internet. It will be send by e-mail to some persons. They will receive it, fill in the form and send it back to me via e-mail. Note: I will save it with extended rights in order to allow to be read with acrobat reader (I'm the only one of the group having Professional edition).
    4) In that form I've created some text fields (for now it's just what I need - no radio buttons, dropdown
    menus, and so...)
    5) Choosed Properties and marked 7 fields as "required";
    6) Used a script I found in here: http://forums.adobe.com/thread/784322 (thank you for the authors of the thread)
    if (!event.target.valueAsString) {
    app.alert("My text My text", 3);
    7) This script allows me to remember people to fill that 7 specific fields (when using mouse or tab).
    8) So... What I really need? Here are the reasons for my request for help:
    8.1.) When people use the Acrobat Reader Save button (not a button I created inside the form) it will pop up an alert message. Users will receive a pop up window telling them they need to fill those fields before saving the form and send it back to me. Can someone share a script, please? Thanks in advance.
    8.2.) Is there a way to colorize the fileds that need to be filled? Again I only learned where to insert a java script yestaerday sou I'm not able to write one. I'm sorry for my newbie questions.
    8.3.) Last question: In one of the fields there will be an e-mail address. On the end of the form I want to create a button like "Send by e-mail" and When someone press that button the e-mail will be sent to the address that was written in the earlier specific field. How can I do this (link a button to an e-mail address in a specific field)? Can someone help me with a script or ideas? Hope I was clear.
    8.1.) UVSAR sent me the following code that works fine untill I save the document for the first time. Affter that he never shows me pop up window again.
    var isFilled = true;
    for (var i=0;i < this.numFields;i++){
    var f = this.getNthFieldName(i);
    if (this.getField(f).required && !this.getField(f).valueAsString) isFilled = false;
    if (!isFilled) app.alert("You must complete all the required fields");
    8.3.) With the help of UVSAR I used:
    var mailto = this.getField('emaddr').valueAsString;
    if (mailto!='') this.mailForm({ bUI:true, cTo:mailto, cSubject:"This is the subject", cMsg: "This is the body of
    the mail." });
    else app.alert("Cannot submit form until the email address field is completed");
    but gives me an error (Note: I named the filed with e-mail "emaddr")
    Once again Thank you so very very much to all the kind people who take their time to share knowledge...
    I'm not a native speaker, sorry for some errors
    Best regards
    AC

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Bookmarks opens in a window 2/3's the size of my screen since the latest update. Now the first bookmark I scroll over covers the whole window instead of too the side and I can't close it without closing the bookmarks window

    I kept getting a reminder I had a Firefox update I needed to install. I did last night but never opened Firefox again till this morning. Now when I click on bookmarks for the drop down it opens a window almost 2/3's the size of my screen instead of the narrow window it has in the past. Now as soon as I move my mouse over or close to any bookmark it opens up that bookmark in the window and I can't access the bookmark I want. I have to close the whole window and then be very careful as I move my mouse to the correct bookmark. In the past with the narrow window it opened the bookmarks to the side and only after you clicked on them. I have tried to resize the window but can't find any option to do so. Also couldn't find an option that would let me change it so a bookmark had to be clicked on. If this can't be changed I will be removing Firefox. This is too inconvenient for me.

    Take it to your local Apple Store or AASP, it's covered by a 1 year hardware warranty. If you have AppleCare then give them a call but I'm pretty sure they will advise the same. If you have not purchased AppleCare yet please do, this will extend the warranty to 3 years however it MUST be purchased within the first  year of ownership. Let it go 366 days and you are out of luck. AppleCare will also include telephone support too.
    Good luck.

  • I want to edit properties of the interface windows opened while "Open File", "Save Page As" and interface opened during Downloading of any file.

    I am doing a small project on dedicated web client where in user automatically logs in non-root user and Firefox automatically starts.
    I am using Fedora 14 kernel 2.6.35.12-88.fc14.i686 and Firefox 3.6.16.
    I have installed only Gnome in my computer with no Nautilus or other file browser on it.
    I want to edit properties of the interface windows opened while "Open File", "Save Page As" and interface opened during Downloading of any file.
    Please guide me for this.

    First, I sent an email to the author of PhotoME to inform him of the serious issues his addon caused with Firefox latest versions.
    Now, for those of you who do not have the PhotoME addon and yet experience the same problem that I had and that I described above, I suggest the following strategy.
    As PhotoME did cause these problems with Firefox latest versions, I am pretty covinved other addons probably might cause these problems too. Therefore, adopt the following method.
    Test one addon at a time to see if this particular addon is behind your Firefox issues like the ones I had.
    So, disable one addon only at a time. Then close your Firefox and restart it from scratch and see if you still have your Firefox problems. You must restart the Firefox browser from scratch. If you still have these Firefox problems, re-enable the disabled addon, restart your Firefox (again!) and repeat the same method for every single addon that you have.
    Try to be selective by choosing first addons that are more likely to cause your Firefox problems such as not very well-known or not very popular addons (like it was the case for the PhotoME addon).
    If this method works or if it does not work, report it on this web page so that others can be helped with your comments.
    I hope this method will help you because I was really upset that I had these Firefox problems and I first thought it was the fault of Firefox, only to discover later that this PhotoME addon was the culprit and had caused me such upset.

  • HT1212 my ipad is disabled permantly and i dont want to loose my pictures i keep going through the 5 steps and each time it says "itunes cannot connect to ipad because it is locked with a passcode" WHAT DO I DO PLEASE HELP ME. thank you. sorry about spell

    my ipad is disabled permantly and i dont want to loose my pictures i keep going through the 5 steps and each time it says "itunes cannot connect to ipad because it is locked with a passcode" WHAT DO I DO PLEASE HELP ME. thank you. sorry about spelling.

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. If you did not do step 4 properly, start all over again.

  • I have a page with multiple quicktime players on it, and want to close all other players when any of the players is started.

    I have a page with multiple quicktime players on it, and want to close all other players when any of the players is started.
    <div id="mp3-player" style="display:none;height:15px !important;float:left;margin:0px 0 15px 0px; width:270px !important;">
                           <div style="height:15px !important;width:270px !important;">
                               <embed src='http://209.15.205.3/~cityval2/MP3/352681.mp3' width="270px" height="15px" AUTOPLAY=false CONTROLLER=true LOOP=false PLUGINSPAGE="http://www.apple.com/quicktime/" />
                            </div>
                        </div>

    One key point.
    1. Migration within  the same forest ; we can say operation is cut & paste (Source account wil be not present)
    2. Migration between the forest ; we can say operation is copy  & paste ( Source account will be present)
    Also find some ADMT cool stuffs.
    ADMT Series – 1. Preparing Active Directory
    ADMT Series – 2. Preparing the ADMT Machine
    ADMT Series – 3. SID History
    ADMT Series – 4. Password Export Server
    ADMT Series – 5. Machine Preparation
    ADMT Series – 6. Service Account Migration Wizard
    ADMT Series – 7. Group Account Migration Wizard
    ADMT Series – 8. User Account Migration Wizard
    ADMT Series – 9. Merging Users with a Different sAMAccountName
    ADMT Series – 10. Security Translation Wizard – Local Profiles
    ADMT Series – 11. Computer Migration Wizard
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
    LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • I was running Lightroom 3.6 with the OS Windows XP (Sp3). The whole system crashed, I am unable to recover the serial number. I then upgraded my OS to Windows 7 (x64) and down loaded Lightroom 4.4, I wanted to buy a licence so I then upgraded to Lightroom

    I was running Lightroom 3.6 with the OS Windows XP (Sp3). The whole system crashed, I am unable to recover the serial number. I then upgraded my OS to Windows 7 (x64) and down loaded Lightroom 4.4, I wanted to buy a licence so I then upgraded to Lightroom 5, now when I try to register I am asked for the original licence/serial number. Where do I go from here??????

    If you upgraded from 3.6 to 5 (you didn't indicate buying 4.4) then you will need the serial number from 3.6 in order to be able to use 5.  If you did not keep a record of it there is a chance it might be available thru your Adobe account online, but if not, there is likely not much you can do except to return the upgrade and purchase a full version.  Try contacting support using chat and explain your situation to see if they can help.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    If you did purchase 4.4 then that should be sufficient to use to activate 5.
    I can never be sure what goes on with Lightroom, and the Adobe site (even when it works properly) makes finding information about products difficult these days so I am at a loss to confirm anything I say.

  • Want to close internet explorer window on exit form (10g)

    i am using oracle 10g forms, want to close internet explorer window when exit form automatically.
    Have alread tried calling html page at exit form and using closing window script for this, but didn't work.
    Please help and describe in detail how to debuge and test every thing is ok
    Aslam

    Hi Aslam
    Try following the instructions here
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:3767372347328447221::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,201481.1,1,0,1,helvetica
    Worked a treat for me.
    paul

  • When I try to click on links or move about the internet, the computer freezes and I see a little whirligig. Then it takes a few seconds before going to the item I clicked

    when I try to click on links or move about the internet, the screen freezes and I see a little whirligig. Then it takes a few seconds before the whirlygig becomes the pointer again and going to the item I clicked. Why is the screen freezing?

    Reset Safari.
    Click Safari in the menu bar.
    From the drop down select "Reset Safari".
    Click "Reset".
    Empty Caches
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    Develop menu will appear in the Safari menu bar.
    Click Develop and select "Empty Caches" from the dropdown.
    Turn off Extensions if any, and launch Safari.
    Safari > Preferences > Extensions

  • I used to be able to copy or drag and drop links from the address window. Now with the update, only the address is copied or dragged not the link. (Says something about not giving site information). I want to be able to drag and drop or copy links.

    Question
    I used to be able to copy or drag and drop links from the address window. Now with the update, only the address is copied or dragged not the link. (Says something about not giving site information). I want to be able to drag and drop or copy links.

    To be more precise, you can setup a JComponent or JPanel on top of your JavaFX nodes that has a TransferHandler that can convert the (AWT/Swing) images dragged to the app to JavaFX image and then insert it into the underlying node.
    As for the file chooser itselft: ListView and the JavaFX composer can allow you to create one quite easily. TreeView can aslso be used to a lesser extend (still a big buggy). For both of these, there are small bugs in the Cell API that may (or may not) prevent from displaying a proper thumbnail in the cells.
    You can also use a regular JFileChooser if you do not mind the dialog box having a different LnF from the rest of your application.

  • HT5262 The information in my iPhone is now corrupt.  The calendar is scrambled. I cannot send any text messages.  My storage is almost full.  Should I backup the scrambled information to my  laptop before going to the Genius Bar?

    My iPhone 5 storage is almost full.  My calendar is scrambled.  I cannot receive text messages or voice mail.  Gmail and safari blinks out. The phone will not allow me to delete information.  Should I try to back up to my laptop before going to the Genius Bar?

    Unless you have recently restored the device from a backup it might be best, if possible, to try to back up to a different computer, otherwise yes backup anyway. There is normally only one rolling backup for each device until the backup is used to restore. Backing up to multiple machines would give you a chance to restore the current state, or your most recent backup if that fails.
    tt2

  • Need to copy the present address as permanent in the core HR address form a

    Hi All,
    Is there any way werein we can copy the present address as permanent in the core HR address form and also in in the selfservice applications?
    Thanks
    Rakesh

    tbd wrote:
    Use the POINTER Luke Nathan!
    Seriously, the Pointer is the right method.
    Other things to check: If the DLL wants a Zero-terminated string/buffer, you may have to add a zero-byte to the end of the input [U8] array.  Make sure Length is wired and equals the input array-length.  I'm guessing Length should be passed by Value!(?)  Also, if reading-back a string (or array) then you'll (probably) have to pass-in a string/array at least as big as the result is supposed to be (just fill it with zeros.)
    And if it still doesn't work, we're still missing something simple (like an incorrect datatype or calling-convention or broken DLL? .)
    ... and, thank you for backing me up, TonP!  
    Message Edited by tbd on 01-12-2007 12:47 AM
    Since the DLL function also wants the buffer length I doubt that it is expecting a zero termination character. But who knows! Maybe the OP misunderstands the function documentation (has he read that at all?).
    If you really need zero termination you can do that yourself or just pass the string as string and configure the Call Library Node parameter to be a String too and use the C style String pointer type there. LabVIEW will take care to append a zero byte before passing the string pointer and if you also wire the output side of that parameter copy the contents from that pointer back into a string handle up to the first zero byte. It is obvious from this that a string buffer is not the right thing to pass to a CLN in LabVIEW if that buffer can legally contain zero bytes too. 
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • HT5096 where is the administrator window when I drag the folder "Backups.backupdb" from the old hard drive on the new one?

    where is the administrator window when I drag the folder "Backups.backupdb" from the old hard drive on the new one? At the moment when I try to do it, the window that appear doesn't allow me to continue. it only says "the volume has the wrong case sensitivity". thanks

    Although the documentation says you can copy Time Machine backups in the Finder, it's very slow and sometimes doesn't work at all.
    Launch Disk Utility, open the built-in help, and search for the term "Duplicate." Follow the instructions. All existing data on the destination volume will be erased. That shouldn't be a problem, because you don't want to mix backup and non-backup data on the same drive anyway. Turn Time Machine OFF in its preference pane while copying the volume.

  • How do I continually loop frames with a 20 second pause in each frame from the same scene without going to the next scene?

    How do I continually loop frames with a 20 second pause in each frame from the same scene without going to the next scene? There are buttons for the other scenes in these frames. The below works well until I am at the last frame in scene one, then it goes to the next scene and plays. How can I make scene one a continually loop.
    stop();
    var timer:Timer = new Timer(20000,0);//<--
    timer.addEventListener(TimerEvent.TIMER, timerHandler);
    timer.start();
    function timerHandler(event:TimerEvent):void {
        this.nextFrame();
        //or if you want to jump e.g 5 frames
        this.gotoAndStop(this.currentFrame+5);
    Thank you for any help.

    For this code to work, you need to empty the first frame and place all the photos a frame ahead. Then, place this code on the first frame. DONE!
    If you need more help, I'll try to answer it the fastest I can.
    Oh, and I could actualy make your photos fade out and fade in as they rotate from frame to frame, it would be awesome. Just tell me if you want me to do it. Good luck
    import flash.display.Scene;
    import flash.events.TimerEvent;
    stop();
    var timer:Timer = new Timer(2000,0);
    timer.addEventListener(TimerEvent.TIMER, timerHandler);
    timer.start();
    function timerHandler(event:TimerEvent):void {
    if (this.currentScene.name == "Scene 1") {
      if (this.currentFrame != this.currentScene.numFrames) {
       this.nextFrame();
      } else {
       this.gotoAndStop(2);
    nextFrame();

  • I record some information to some slides but the presentation doesn't start from the 1st one but from the one I started the recording. What should I do?

    I record some information to some slides but the presentation doesn't start from the 1st one but from the one I started the recording. What should I do?
    Also, can I use music as backround to some of the slides, not to all of them as I'd like to play videos on the others?

    I have reinstalled the drivers. I watched it install the realtec and cirrus drivers. Hovering the mouse over the speaker icon says 'speakers: HP'. They are actually 'Creative'. 'Properties' indicates 'IDT High Definition CODEC' and 'This device is working correctly'.
    Driver details gives 'c:\Windows\system32\drivers\dmk.sys'.
    There is still no sound, although the little level meter on the control shows a green bar rising and falling.
    Obviously, it thinks it's working, but there's no connection to the speakers. They're not muted, either. I checked that too.
    Any other ideas?
    Thanks.

Maybe you are looking for

  • Inventorized Excise duty

    Dear Experts, i am facing following problem during part 2 posting of excise invoice - Material is assigned with Chapter ID The material cenvat determination has been maintained Excise tax rates have also been maintained System has loaded Excise duty

  • Flex Photoshop Panel won't read local XML file

    I've created a panel for Photoshop which reads an XML file to populate some controls. When run from Flash Builder 4 through the web browser it works just fine, but when run from within Photoshop the XML file is not being read. Uploading the XML file

  • COMMIT problem in TopLink, Struts, JSP and ADF Databinding sample

    In the sample Developing a J2EE Application using TopLink, Struts, JSP and ADF Databinding, I followed all the steps to build a department browse page and a edit page. But when I get to Step number 23 in "Create a JSP to Edit Departments" I have a pr

  • Suggestions for current ANE development instructions

    Any recommended links for instructions on building ANEs ( android in particular )? I am looking for current tutorials if available. I was last looking at this this one by Mark Hood: http://www.adobe.com/devnet/air/articles/ane-android-devices.html bu

  • User access only to a specific page

    I have create a page group with others pages. I create a user who want to have management rights only to a specific page of the portal, and anywhere else How can i give access only to a specific page? thanks