Open a new window, draw boxes in the window, and communicate between the two windows

I'm going to research this, but figured I'd jump start here in case someone can give me a quick link or point me in the right direction on how to do this while I'm looking.  This is an area of Flex I haven't hit on yet.
Basically I need to have my flex app (AIR Application) open a new window, allow the user to draw a box on that new window, and then pass the info of the box (X and Y, Width and Height) back to the main window.
I've never done any of that and am going to try to find out how, but if someone could point me here before I find it online, that would help a great deal, kind of in a time crunch.... thanks.

You can open the new window as a TitleWindow popup. You can pass info back to the main app using mx.core.Application.application.
In main app:
public var windowInfo:Object;
In popup:
import mx.core.Application.application;
private var app:Object = mx.core.Application.application;
app.windowInfo.x = this.x;
app.windowInfo.y = this.y;
app.windowInfo.otherOne = this.otherProp;
Looking ahead, it is best to pass information between the main app and components using custom components. Below systemManager, popups and the main app are in different display lists, so add event listeners for custom events to systemManager. My Flex Cookbook post on custom events shows this:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=11246
http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_12.html
If this post answers your question or helps, please mark it as such.

Similar Messages

  • I get this message box when I click on a link (in a document or email)"firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

    if Firefox is already running and click on any link in Word, Excel, Outlook, etc. A message box pops up and I have to hit OK to close it.
    "firefox is already running, but not reponding. To open a new window, you must first close the existing firefox process, or restart your system"

  • Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Update firefox, it asked me to update flash, I tried to update flash but it said I had to close firefox. A box came up and said the Flash install would continue when I closed firefox. I closed all firefox windows and no update of flash occurred. I tried relaunching firefox but got the "Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." message. I rebooted the system, no improvement. I tried to run firefox as administrator and got the same message. Either I find a fix or I won't be able to use firefox and will have to go back to ie.

    -> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • I deleted the profile and firefox4 and then downloaded firefox4 again. But when i click firefox it says Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process,or restart your system.HELP!

    somehow i couldn't get rid of one website called www.searchqu.com/405 set as my homepage... I tried all solutions given to change the homepage but whenever i restarted firefox that homepage used to come automatically.. So, I deleted the profile (even from recycle bin!!) and deleted the firefox and downloaded it again hoping to get my problems fixed (which didn't happen!) because i'm getting dialog box saying- Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    You don't say which operating system you have installed?
    Assuming it's Windows, right click a blank part of the Windows Taskbar and go to Task Manager. Then click the ''Processes ''tab, find '''firefox.exe''' and then right click it and choose '''End Process'''.

  • Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. How do I fix this? I am ready to go back to internet explorer!

    Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
    This box appears and then firefox quits...never opens.
    I have uninstalled, and loaded firefox 5 times and never got it to run.

    See [[Firefox is already running but is not responding|Firefox is already running but is not responding]].

  • When I open a new window, The redesigned taskbar doesn't render properly

    If a link is set to automatically opens in a new window, then the Firefox button/Tab bar don't render correctly.
    [http://i23.photobucket.com/albums/b395/Jblsurfer/firefoxproblem.jpg This is a screenshot of my problem. See inside the orange box]

    It is the default action in Firefox to open a new window with the home page(s).
    A possibility to avoid that is a bookmarks (e.g. on the Bookmarks Toolbar) with the location set to about:blank and use Shift + left-click to open a blank window or set the Home page to about:blank and use a bookmark to open the home page.

  • Is there a way to open a new window from the "Go" menu in Mavericks?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?
    First, as others have already stated.....make sure the checkbox is deselected for "open folders in tabs instead of windows" in Finder Preferences.
    If you're like me and don't like tabs very much, there is a way to make folders always open in windows with a simple click (I'm using Mavericks 10.9.5).  Go to a root folder (for example, the Documents Folder), open it, and select View > Hide Toolbar, then all folders within that root folder will open in a new window.
    As an alternative method, any folder can be opened in a new window by holding down either Command Key while clicking the folder. But sooner or later you will forget to hold down that key, and then clicking on a folder will open in a tab (which will automatically resize the window and cause much aggravation).
    The Hide Toolbar trick will also work with any folder present on the Desktop. It will make all folders inside that folder open in new windows.
    To make the Applications Folder open in a new window when opening it from the menu bar at the top of the screen, you will have to open the main hard drive folder and use the Hide Toolbar trick. This will cause all folders inside it to open in new windows.
    Hope this helps.

  • When I click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system" and I've tried to shut down and restart my computer but it keeps

    when i click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." and I've tried to shut down and restart my computer but it keeps showing the same message. I've even uninstalled Firefox and then reinstalled in the hopes that the problem would be solved but it this message is still popping up. What can I do to solve this problem?
    == This happened ==
    Just once or twice
    == I was on facebook trying to upload pictures yesterday. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)

    Do you have a profile lock file in your profile folder? If so, delete it and see if TB runs properly:
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file

  • When I click on an email link it opens in the email window instead of opening a new window, how to get it to open a new window instead

    It's Comcast email, most links are to articles from the Wall Street Journal. Lately an email from Charles Schwab broker with a link to a pdf file has been doing the same. When I click on the link, it opens within the email frame, which is about 1/3 filled up with the toolbar, mailboxes, headings etc. If it opens with 2 bars on the right side to move down, I can see the whole article, but often it opens with only one bar on the right side which will not let me get all the way to the end of the page.
    It's been happening for several weeks. I got a new computer and it's still happening. Comcast sounds like they've never heard of it. Most recently happened today. I tried the same email link with IE and it opened a new window.

    Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.

  • If Firefox is set as the default browser, and any application attempts to open a new window, this fails and I get the error "Firefox is already running..."

    Here is what I am running:
    Microsoft Windows 7, Service Pack 1, Fully updated to 4/10/2012
    Fresh Install of Firefox 11. No add-ons enabled as a result of troubleshooting.
    I am a user with administrator rights
    UAS is disabled.
    To begin, this has been going on Since Firefox 10 or so. A few months now.
    I am able to open Firefox. My add-ons worked (ABP, Flashblock, ABP Element Hiding Helper, IETAB2, Downthemall, Greasemonkey, 4chan extension) had no problems. Firefox is set and has been set for the last two years as my default web browser.
    However Since approximately Firefox 10 or so, maybe before that, If I have a Firefox session open, and any other application attempts to open a session in a new window, I get the Firefox is already running, but not responding error."
    I attempted to follow troubleshooting advice already posted (look for parent.lock files left behind [none present], multiple sessionstore.js files [none present], create a new user profile, attempted to clear out the "read-only" permission in windows 7, however as soon as it is cleared, the read only permission returns.)
    As a last resort, I deleted the Firefox folder, the %APPDATA%/Mozilla directory in its entirety, then utilized CCleaner to remove any and all references to Firefox in the windows registry, then did a full re-install, no extensions installed right now.
    I checked preferences and have the option "open new windows in a new tab" checked off. The problem persists regardless if this option is checked on or off. This problem persists in or out of safe mode, even with the brand new install.
    Test Cases:
    All cases:
    Firefox is selected as the default browser for windows 7
    Case 1: Open a firefox session. Utilize any other program that attempts to open a link to their website in a new browser window or new browser session. Experience "Firefox is already running" error
    Case 2: Open a firefox session. Right click on Firefox on the task bar. Select "open in new window". Experience "Firefox is already running" error
    Case 3: Open a firefox session. Select the Firefox Menu > New tab > New Window. A new window will actually open.
    This is the only method of opening a new window in the same browser session or profile that actually works on my system. Attempting to open a browser session from the task bar "open new window dialog" or opening a new window while a current window/session is running will not open firefox in a new window or a new tab in the current session. The "Firefox is already running, but is not responding" error will occur every time.

    Cor-el's suggestion resolved my problem. Apparently the MOZ_NO_REMOTE variable was set to 1 on my system variables. I never made it, and really have no idea how it got there, but deleting this variable and restarting firefox has resolved the issue. Thanks Cor-el!
    Marking case: Solved
    Solution: Verify the MOZ_NO_REMOTE variable is NOT set to 1. This can be achieved by simply deleting this variable.

  • Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything.

    Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • Firefox is OPEN and working fine, but when I click a link in Thunderbird I get 'Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.'

    If I click a link on my desktop or in any other program (while Firefox is open and running), I get this message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." There's about a billion links for this if you Google it, but they all say that Firefox wasn't shut down properly. (OK, maybe not ALL of them, but if the needle is in that haystack, I haven't yet found it.) That's not the issue in my case since I haven't shut FF down at all.
    == This happened ==
    Every time Firefox opened
    == IDK

    This began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote

  • Using Firefox 5 in Windows 7, once I have Firefox open, I can no longer open a new window using the start button. How do I fix?

    As I stated, I have Windows 7 on my laptop and have installed Firefox 5. I sometimes like to have multiple windows of the browser open. But, unlike any previous version of Firefox, now when I have the browser open, when I try to open a new window using the Start menu, it will not open one. I have to use Ctrl+N. Why did this change?
    This may seem insignificant but it really hampers my work flow. For one, with other applications, Shift+N is what opens a new window. For two, I've been doing with with my browsers for years now and it's like second nature for me - having to remember that in Firefox it's Ctrl+N is a pain in my tuccus.
    Firefox is my go to browser and I would like it to stay that way. Please find the solution for me! I have tried looking using Tools, Options, as well as looking at my start menu and taskbar options, and no dice.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions 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.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • When I open a new window in FFox7, how can I make it automatically appear exactly on top of the previous window -- not resized, not shifted, but directly on top?

    I used to set Firefox to full screen; but my new monitor is too big to do that. So I sized the Firefox window to the size I want, and I carefully centered it (using a tape measure to get it as close to dead center as possible).
    But everytime I open a new window, it appears shifted slightly to the right (I think that's called cascading, but I'm not sure). While some might like this feature, I prefer it open exactly on top of the previous window; and it's a pain to have to shift the new window manually every time I open one.
    How do I set Firefox to open new windows right on top of the parent window (and the same size), covering it up completely?
    Thanks,
    Dafydd abHugh

    Well, then isn't there some way to induce Firefox to give Windows parameters that make it open the fershlugginer window in the *same* position, instead of an offset position?
    Dafydd

  • When I use the shortcut to open a new window in safari (command N), I get a 404 error message from Google. How do I change where 'Command N' routes to?

    When I use the shortcut to open a new window in safari (command N) on my Macbook Pro, I get a 404 error message from Google. How do I change where 'Command N' routes to? 

    It's not necessary to change the Command N keystroke..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

Maybe you are looking for