How do I make Button Open new window in flash?

Hi every one,
i have this modelling site im working on, and when you click
on photo i want to open a new window with the girls profile in it.
but i dont want a new IE window, just a little flash movie, i tried
"on (release) {
//load Movie Behavior
if(this == Number(this)){
loadMovieNum("TWtester.swf",this);
} else {
this.loadMovie("TWtester.swf");
//End Behavior"
and it goes to that swf file, but its not in NEW window? does
this make sense to any one?

this is the as3 forum. you're using as2.
and you need to clarify your terms. a new window means a new
browser window. if you want to load your swf in the current window,
load it into a target movieclip or _level.

Similar Messages

  • When I'm online how do I make my (open new tab) show in bar.

    When I'm online how do I make my (open new tab) show in bar. What do I adjust in my settings?

    I just have these 3 blue dots on the right of the bar.

  • How to stop Finder from opening new windows to view contents of folders.

    I have 2 folders on my desktop, called "Home" and "Work." Both are aliases to files stored in user/documents on my HD. Both contain many folders within folders within folders and, ultimately, documents. When I double click on the "Home" desktop alias, a finder window opens showing contents. When I click on any folder within that window, it does what I want it to...switches to the contents of that folder (within same window, without opening a new one.) This works for everything in that folder.
    When I double click on a folder within the "Work" folder, however, it opens a new window at every level. By the time I get to the document I want, I may have 5 or 6 windows open, which I then have to manually close.
    I have gone into Finder/Preferences/General and the "Always open new window" box is NOT checked. Any one know why it would still be doing this? (No new applications are opening when I click on the folders, just a new finder window.) And why would it do it for one desktop folder and not the other?
    I looked through discussions till my head spun and only saw the Finder/Preferences fix, so I'm hoping there's another fix, like a preference file somewhere that I just need to trash. Any help would be appreciated.
    Powerbook G4   Mac OS X (10.3.9)  

    I don't know if this is the problem, but for windows in "Icon" or "List" view that are set so that the "Toolbar" is not showing, a folder opened within that window will tend to open a new window. This is just a difference in behaviour between the two modes. To show / hide the toolbar, try clicking the elongated button in the upper right corner, in the "titlebar" of the window, or choose "Show Toolbar" / "Hide Toolbar" from the "View" menu.
    Additionally, a workaround might be to switch to "Column" view ("View" > "as Columns" ⌘3), since opening a folder within a window in "Column" view does not appear to spawn a new window, even with the "Toolbar" hidden. Another option might be to hold down the "option" key while opening the folder - this causes the previous window to close as the new window is opened.

  • Firefox homepage button opens new window instead of new tab

    When I hit the homepage button on the Firefox toolbar, it now opens a whole new window instead of a new tab. It used to work until I upgraded to Firefox 9. Any suggestions as to how to fix this?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When I click on link it opens a word document instead of a web page. How do I make it open browser window instead.

    Please give detailed instruction on hat settings I hav to change I make it open to a website instead of a word document file when i click on a link

    Do you mean that you see the HTML code instead of a rendered page?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Button- opens new window- updates original window

    I have been going crazy with this one. I have created a row of jlabels based upon data in an object. at the end of the row is an edit button that opens a new window to edit the data. in the new window is a submit button. every thing almost works how i want it to. the data is updated but is not showing up again unless hit the edit button again (I think that the thread is just not finishing but it could be a logic error: I have an action listener nested in an action listener). I tried moving data update calls to inside the action performed area of submit edit but that only slowed label updating further. any ideas would be great.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.util.*;
    import java.math.*;
    class Bill {
         String VendorName = new String();                    //ACTUAL DATA
         String DueDate = new String();
         String Comment = new String();
         String Amount = new String();
         JLabel vendorNamedLabel = new JLabel();                    //LABELS THAT SHOW DATA
         JLabel dueDatedLabel = new JLabel();
         JLabel commentedLabel = new JLabel();
         JLabel amountedLabel = new JLabel();
         JButton edit = new JButton("edit");
         JTextField vendorNameField = new JTextField(15);          //TEXTFIELDS FOR EDITING DATA
         JTextField dueDateField = new JTextField(15);
         JTextField commentField = new JTextField(15);
         JTextField amountField = new JTextField(15);
         JButton submitButton = new JButton("Submit");
         JLabel vendorNameLabel = new JLabel("Vendor Name");          //LABELS FOR TEXTFIELDS
         JLabel dueDateLabel = new JLabel("Due Date");
         JLabel commentLabel = new JLabel("Comments");
         JLabel amountLabel = new JLabel("Amount Due");
         public Bill() {}
         public Bill(Vendor vendor, String dueDate, String comment, String amount) {          
              VendorName = vendor.getName();                    //VENDOR HAS A STRING ACCESSED BY GETNAME
              DueDate = dueDate;
              Comment = comment;
              Amount = amount;
         /**CREATES A SINGLE ROW OF JLABELS THAT SHOW BILL DATA FOLLOWED BY AN EDIT BUTTON*/
         public Container showBill(Container container) {
              /**CREATING THE GUI COMPONENTS*/
              vendorNamedLabel.setText(VendorName);
              dueDatedLabel.setText(DueDate);
              commentedLabel.setText(Comment);
              amountedLabel.setText(Amount);
              /**SETTING UP THE CONTAINER*/
              //LAYOUT
              GridBagLayout layout = new GridBagLayout();
              GridBagConstraints c = new GridBagConstraints();
              container.setLayout(layout);
              //SHARED CONSTRAINTS
              c.fill = GridBagConstraints.BOTH;
              c.gridy = 0;
              c.weighty = 1.0;
              c.weightx = 1.0;
              //ADDING COMPONENTS WITH INDIVIDUAL CONSTAINTS
              c.gridx = 0;
              container.add(vendorNamedLabel, c);
              c.gridx = 1;
              container.add(dueDatedLabel, c);
              c.gridx = 2;
              container.add(commentedLabel, c);
              c.gridx = 3;
              container.add(amountedLabel, c);
              c.gridx = 4;
              container.add(edit, c);
              edit.addActionListener(new EditBill(VendorName, DueDate, Comment, Amount));
              return container;
         /**CREATES A JFRAME THAT HAS TEXTFIELDS WITH LABELS WITH A SUBMIT BUTTON*/
         class EditBill implements ActionListener {
              JFrame frame = new JFrame();
              JPanel panel = new JPanel();
              public EditBill (String vendorName, String dueDate, String comment, String amount) {
                   vendorNameField.setHorizontalAlignment(JTextField.RIGHT);//SUPPLIES CURRENT NAME
                   vendorNameField.setText(vendorName);
                   dueDateField.setHorizontalAlignment(JTextField.RIGHT);//SUPPLIES CURRENT DATE
                   dueDateField.setText(dueDate);
                   commentField.setHorizontalAlignment(JTextField.RIGHT);//SUPPLIES CURRENT COMMENT
                   commentField.setText(comment);
                   amountField.setHorizontalAlignment(JTextField.RIGHT);//SUPPLIES CURRENT AMOUNT
                   amountField.setText(amount);
              public void actionPerformed(ActionEvent e) {
                   /**LAYING OUT THE COMPONENTS*/
                   frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                   //BORDER
                   Border border = BorderFactory.createTitledBorder("Bill Information Editor");
                   panel.setBorder(border);
                   //SETTING UP LAYOUT
                   GridBagLayout layout = new GridBagLayout();
                   GridBagConstraints c = new GridBagConstraints();
                   panel.setLayout(layout);
                   //SIMILAR CONSTRAINTS
                   c.insets = new Insets(2, 2, 2, 2);
                   c.fill = GridBagConstraints.BOTH;
                   c.weighty = 1.0;
                   //ADDING COMPONENTS WITH INDIVIDUAL CONSTRAINTS
                   c.gridy = 0;                         //ROW ONE
                   c.gridx = 0;                         //NAME
                   c.weightx = 0.4;
                   panel.add(vendorNameLabel, c);
                   c.gridx = 1;
                   c.weightx = 0.6;
                   panel.add(vendorNameField, c);
                   c.gridx = 2;                         //DUE DATE
                   c.weightx = 0.4;
                   panel.add(dueDateLabel, c);
                   c.gridx = 3;
                   c.weightx = 0.6;
                   panel.add(dueDateField, c);
                   c.gridy = 1;                         //ROW TWO
                   c.gridx = 0;                         //COMMENT
                   c.weightx = 0.4;
                   panel.add(commentLabel, c);
                   c.gridx = 1;
                   c.weightx = 0.6;
                   panel.add(commentField, c);
                   c.gridx = 2;                         //AMOUNT
                   c.weightx = 0.4;
                   panel.add(amountLabel, c);
                   c.gridx = 3;
                   c.weightx = 0.6;
                   panel.add(amountField, c);
                   c.gridx = 0;
                   c.gridy = 2;
                   c.gridwidth = 4;
                   c.fill = GridBagConstraints.NONE;
                   panel.add(submitButton, c);               //SUBMIT BUTTON
                   submitButton.addActionListener(new SubmitEdit(     vendorNameField.getText(),
                                                 dueDateField.getText(),
                                                 commentField.getText(),
                                                 amountField.getText()
                                         );          //SENDS INFORMATION FOR ACTION
                   frame.add(panel);
                   frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                   frame.pack();
                   frame.setVisible(true);
              /**SUBMITS THE INFORMATION TO THE PROPER OBJECTS*/
              class SubmitEdit implements ActionListener {
                   /**UPDATES BILL TO USER INPUT DATA RETREIVED FROM THE BILLEDIT FRAME*/
                   public SubmitEdit (String vendorName, String dueDate, String comment, String amount) {
                        VendorName = vendorName;
                        vendorNamedLabel.setText(VendorName);
                        DueDate = dueDate;
                        dueDatedLabel.setText(DueDate);
                        Comment = comment;
                        commentedLabel.setText(Comment);
                        Amount = amount;
                        amountedLabel.setText(Amount);
                   public void actionPerformed(ActionEvent e) {
                        frame.dispose();
    /**TEST CODE FOR THE BILL, EDITBILL, SUBMITEDIT CLASS*/
    class BillTest {
         public static void createAndShowGUI() {
              Vendor vendor = new Vendor( "AT&T", "800.585.7928", "81773296563228",
                   "PO Box 630047", "Dallas", "Texas", "75263-0047",
                   "Telephone", "lily1830", "password");
              Bill bill = new Bill(vendor, "09.07.2006", "September Bill", "192.07");
              JFrame frame = new JFrame("Simple display of bill info");
                   JFrame.setDefaultLookAndFeelDecorated(true);
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel = new JPanel();
                   bill.showBill(panel);
                   frame.add(panel);
              frame.pack();
              frame.setVisible(true);
         public static void main (String[] args) {
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
    }

    hey zadok, I'll send the other 5 dukes to any response from you to this question and I won't harp on any answer. I am new to programming and have been studying for about 6-9 months on my own. This is really my first complete program that I am working on. I have read that getters and setter undermine the object oriented approach as per:
    Why getter and setter methods are evil written by Allen Holub at javaworld.com
    http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html
    am i overreading into it when I try to contain the problem into an object so that i don't have to write about a dozen getters and setters.

  • How to get a button open in window?

    i have been trying to develop a new website for about a
    little more than a week..but as im still i beginner it goes very
    slowly forwards..I have now managed to finish both a banner and a
    menu with all the required buttons in it..
    but here i got stuck again..
    this is how the page looks like right now - a banner on the
    top and a menu to the left, and an empty space to the right of the
    menu
    |
    |
    what i wan't is that when you click one of the buttons the
    page they are linked to should open in that empty space (which
    probably should be filled with an object of some kind..haven't
    found out what...)
    i have seen this be done on a lot of different pages..but how
    can i make it?
    thanks

    If in flash
    use create empty movieclip and place it in top right corner
    of empty area
    name it "loader"
    then on button use this script
    on(press)
    loader.loadMovie("path of swf");
    path to swf // this will be a swf file containing ur stuff
    if html use frames

  • Iview - back button opens new window

    hi,
    i have an standard-iview in the portal (ESS-travelmanagement).
    when i push the 'back' button in portal OR the 'leave' button from a step in the iview a NEW windows opens. but i don't want that, i want to stay on the same window.
    any ideas how to do this ? i have this behaviour only on this one iview.
    reg, Martin

    Hi Martin,
    It looks like the check WorkProtect Popup feature is configured on your portal, that allows us to choose our actions when we are trying to navigate from unsaved object.
    By default the mode is set to 1: When you open object for editing, edit the object and navigate to another entry point without saving a new window will open with the new navigated entry point and the original window will stay with the edited object.
    To change the default setting or more information please attend to SAP Note 734861 - WorkProtect Mode - Global Settings
    The end user can also personalize the WorkProtect mode for his login:
    Click on the personalize link in the right up corner of the portal. Navigate to WorkProtect mode tab. Change to mode - open page in same window.
    Save changes & Close this window.
    Log-off from the portal, re-login and check if the changes are effective.
    Hope this helps.
    Regards,
    Anagha

  • Every time I click on a link to open it in a new window, the new window is tiny and I have to resize it every time, does anyone know how I can stop it opening new windows so small?

    I am using firefox 8.0.1 this only happens when I click a link that is automatically set to open in a new window, or when I choose to open a link in a new window. Firefox never remembers what I resize that window too.

    I believe this is a duplicate of an existing question, which has answers: https://support.mozilla.com/en-US/questions/749313
    Thanks,
    Dave

  • Mavericks Finder - how default to "double click opens new window"?

    I am old and set in my ways.  I like having the Finder open a new window when I double click a folder.  Since 1984 I've arranged Finder windows in positions and sizes that suit me and I have never seen any reason to change.
    In Mavericks however there does not seem to be a way to default to, "double click opens new Finder window".  My choices under Finder preferences are, open in the same window; or open in a tab.  I don't care for either.
    Does anyone know of a way to restore the traditional Finder behavior in Mavericks?  Thanks in advance.

    There is a great deal of logic behind this change actually
    And youll find me the LAST PERSON to complain about Mavericks really,......
    not ONLY is it FREE,.......its made my new Air just blazing fast
    My boot time now is 8 SECONDS (my goodness)
    Switching APPS is ultra-fast.........even on my Air, Photoshop opens up LIGHTNING FAST,.....just mind numbingly FAST!
    Thank You to Apple, MAVERICKS IS AWESOME!!!! I REALLY LOVE IT!!!

  • How do I make the "Open new tab" button positioned at the end of the tab strip, on the right, next to the last open tab, just as the standard Firefox should be.

    My "Open a new tab" button (the +) does not appear at the end of the tab strip, it does not look like it is given in all photos here in the support page. It did not look like this before either. Now I have it at the most left end i.e. before the tabs begin. I can move it to the most right, but it sticks there. I want it to be attached to the last open tab, as it used to be, and as is shown in example Firefox photos.
    Could be useful if I sent you a print screen, but I don't see an attachment option here.
    Thanks!

    See https://bugzilla.mozilla.org/show_bug.cgi?id=574833 - Installing Persona theme completely covers the caption buttons

  • In EP7 Ess, how to remove "open new window" for ESS areapage

    Hi all:
       In ESS areapage, there is some tabs for click. When I click it, it open a new window. But I want the content display inside the same content page. These are all standard areapage and worksets.
       How can I reset the "open new window" ?
       My EP version is EP 7 sp9

    You can set the workprotect mode on a global level so its used for every user.
    Systemadministration -> Systemconfiguration -> Service Configuration -> Applications -> com.sap.portal.epcf.loader -> Services -> epcfloader. Set the "workprotect.mode.default". After you have saved the entry. ricght click on com.sap.portal.epcf.loader in the tree menu and choose "administrate". Click on "restart".
    Markus

  • Button on page opens new window, session times out in old window

    Hi,
    I've created a custom page and added a button through personalizations in Oracle that opens the new custom page in a new window. When this happens, though, the original window throws the following error when a user attempts to use any functionality in that page:
    Error: Cannot Display Page
    You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).
    More specifically, the new button has been added to a LOV page in Oracle. Navigation would be: Create timecards page, click on Task LOV button (this opens new window for Task LOV), new button is on this Task LOV page. The new button then opens the custom page, and when the user returns to the Task LOV page to select a task they receive the error.
    How do I prevent this error when the new custom page opens from the button?
    Thanks in advance for your help,
    Suzanne

    I have an update to this issue:
    I found that adding the value &retainAM=Y to the button URL for my custom page resolves the issue of the time-out in the Task LOV page. However, when I make the task selection in the LOV page and return to the main create timecard page, I find that the session has timed out on that page.
    Any suggestions?
    Thanks,
    Suzanne

  • How to open new window and generate oracle report from apex

    Hi,
    I had created an application that generates PDF files using Oracle Reports, following this Guide.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    And I followed 'Advanced Technique', so that users can't generate PDF file by changing URL and parameters. This is done for security reasons.
    But in this tutorial, when 'Go' button is pressed, the PDF file is displayed on the same window of apex application. If so, user might close the window by mistake. In order to avoid this, another window have to be opened.
    So, I put this code in the BRANCH - URL Target. (Note that this is not in Optional URL Redirect in the button property, but the branch which is called by the button.)
    javascript:popupURL('&REPORTS_URL.quotation&P2100_REP_JOB_ID.')
    But if the button is pressed, I get this error.
    ERR-1777: Page 2100 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    If I put the code 'javascritpt ....' in the Optional URL Redirect, another window opens successfully, but the Process to generate report job is not executed.
    Does anyone know how to open new window from the Branch in this case?

    G'day Shohei,
    Try putting your javascript into your plsql process using the htp.p(); procedure.
    For example, something along these lines should do it:
    BEGIN
    -- Your other process code goes here...
    htp.p('<script type="javascript/text">');
    htp.p('popupURL("&REPORTS_URL.quotation&P2100_REP_JOB_ID.")');
    htp.p('</script>');
    END;
    What happens is the javascript is browser based whereas your plsql process is server based and so if you put the javascript into your button item Optional URL Redirect it is executed prior to getting to the page plsql process and therefore it will never execute the process. When you have it in your branch which normally follows the processes, control has been handed to the server and the javascript cannot be executed and so your page throws the error "Page 2100 provided no page to branch to"... By "seeding" the plsql process with the embedded javascript in the htp.p() procedure you can achieve the desired result. You could also have it as a separate process also as long as it is sequenced correctly to follow your other process.
    HTH
    Cheers,
    Mike

  • How do i make webpages open with a new tab everytime

    I'm sure this is a goofy question but how do I make FF open webpages in a new window or tab when I click on a bookmark?
    I know I can right click and do it manually but is there a way to make a favorite open in a new tab when I click on it?
    Thanks,
    Dean

    See:
    * https://addons.mozilla.org/en-US/firefox/addon/new-tab-homepage/

Maybe you are looking for

  • HELP disability to update iPod!

    So I clicked "Update iPod" , but then a popup showed, and said " The iPod cannot be updated. The disk could not be read from or written to. " How am I supposed to fix that?! Please help! Thank you so much

  • What causes pillarboxing to occur part way through a movie?

    On very few occasions, my canon optura generated video when being imported to iMovie will have a series of clips, pillarbox. The overwhelming majority of all my movies and their clips never pillarbox. I have the camera defaulting to 16:9 and iMovie i

  • Query a query

    I am having a nightmare with this query. I am trying to use the results from 1 query and then use it in the second but it will only give me 1 result when the it should give me 5.  The first query returns 5 ids so the second should give me the same <c

  • Where is the Personal Hotspot option on iPad 3rd generation

    Dear all, I have an iPad 3rd generation 64GB (Wifi+Cellular). It seems that the Personal Hotspot option is not existed!! Note: My iPhone 4S is on the same cellular data plan (unlimited) with the same carrier provider and I am able to use & share the

  • Logged after two attempts

    Hi Well, maybe the subject is not precisely formed, so I explain my problem in details. I have an JSF application (created in Creator 2) where I have several page fragments e.g. top-menu, right-menu. Now, in page fragment top-menu I have login form a