Question about child "windows"

Hello Everyone,
First, I want to thank everyone who's so graciously taken
their time to answer my previous questions. Because of you, I am
well on my way to developing my very first real world Flex
application. I am consistently astounded at how helpful this
community is and am very thankful to have you all here.
Now, I do have one question about some code that works on the
example but not in real life. I am trying to open a popup window
from a class named composeScreen. In my CDATA section, I have the
following code:
function showWindow(modal) {
var popup = mx.managers.PopUpManager.createPopUp(this,
composeNewMessage, modal, {deferred: true});
Yet, when I save the program, Flex Builder tells me:
"Access of undefined property mx"
Any idea why this is happening?
I've even tried importing the mx.managers.popUpManager class
and it makes no difference.
Please help! This is driving me nuts!
Thanks in Advance,
Anthony

Hi Anthony,
You will have to use popup manager class for this.Here is the
code to give you a lil bit of direction. Call init() function in
the initilize event of the <mx: application> tag
import mx.managers.PopUpManager;
private function init():void{
myWindow = PopUpManager.createPopUp(this, MyWindow, false);
myWindow.visible = false;
myWindow.x = 200;
myWindow.y = 200;
myWindow.height = 100;
private function showWindow():void{
myWindow.visible = true;
myWindow.expand.play();
<mx:Button id="btn" label="click me"
click="showWindow()"/>
When you click on the button your child window must pop
up.

Similar Messages

  • Question about Setting Window Title/the use of AVWindowSetTitle()

    Hi everyone,
    I have a question about setting the title of the window in which the Acrobat viewer normally opens a PDF file.  The documentation states that AVWindowSetTitle() cannot be used in this case.  However, using it has worked with versions of Acrobat/Reader up until and including version 8.
    Everything breaks down starting with Acrobat 9.
    According to the documentation I am supposed to do the following: "To set the title of a window in which the Acrobat viewer opens a PDF file, you must replace AVDocOpenFromASFileWithParams() and pass the window title in tempTitle."
    Unfortunately, there are 2 problems I have with this approach:
         I do need to be able to change the document title on document Save, not only on document Open
         I do not know what AVDocOpenFromASFileWithParams() implementation has to look like if I have to replace it using HFTReplaceEntry().
    Is there a sample customized implementation of AVDocOpenFromASFileWithParams() somewhere that I could take a look at?
    Is there a way to change a document Title inside Acrobat/Reader window after a Save operation?
    Thanks a million,
      Lana2010K

         I am sorry.  I don't know how you tested this and came to conclusion that this works correctly in Acrobat X.
         I just tested our Acrobat plug-in with a trial version of Acrobat X and this did not work.
         When we open a file in Acrobat (doing it ourselves in the plug-in by adding another specialized open) we set the window title to something different from the default file name.  Then if a file gets edited and saved (File->Save), the window title gets reset to the file name. In the PDDocDidSave callback we call AVWindowSetTitle() to set it back to a more descriptive window title we need.  This has worked up until and including Acrobat 8, but does not work in either version 9.0 or 10.0.
         Also, I just modified the plug-in code to always change the Window Title of every document (even if opened through native File->Open) on document Save.  It does not work.
         Please help,
              Lana2010K

  • Question about CS3 & Windows 7...

    I'm actually asking for a friend. They have CS3 Master Collection and they are running Windows XP SP3. They want to upgrade their system to a Windows 7, but they don't want to be out of the Adobe products either, especially after the price they paid for them. They will eventually be upgrading to CS 5.5 by the end of 2012.
    However, the friend has heard mixed feedback about it. Some people who have installed it on their Win7 system said it WORKED, but it made their system performance DRAG. Other people have said that it WILL NOT install... it gives errors and will not activate.
    Has anyone successfully installed Photoshop CS3/CS3 Master Collection on a Windows 7 system? Will my friend need to run the programs in 'Compatibility for Windows XP' mode?
    Thanks for any info you can provide!

    I have been looking now for several weeks, months even for some resolve to the known issues. There are posts about the pdf printer that does not work in windows 7 on the adobe's tech site.. I just wanted geminigirl6879 to know that they may run into issues. Forums are for that reason and the idea that you want to sensor replies to the ligitmate question a user may have really defeats the purpose. I have called Tech Support on my issues, posted on forums and scoured the internet, all i can find is that Adobe does not support windows 7 and cs3. Not only that, the posts i read about CS5.5 on widows 7 concerns me about adobe and their attitude to us smaller users.

  • Question about use Windows Installer SDK

    Hi,
    I want to Use C# code to read .MSP file and get inside file list. Such as: you can get a hotfix from here
    https://support.microsoft.com/en-us/kb/3000847 and after extract the exe you can get a .MSP file. And 3 DLL files are including in the .MSP file.
    What I want is Use C# code to read the .MSP file and get the 3 DLL file name. Here is how to read it with C++:
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa816375%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    But I don't konw about C++, So I'm trying use C# code to call Windows SDK. And I import the Windows SDK code into C# like below:
    [DllImport("msi",
    CharSet = CharSet.Auto)]
    internal
    static
    extern
    uint MsiGetPatchFileList(string
    szProductCode, string szPatchList,
    out
    uint cFiles,
    out
    IntPtr phFileRecords);
    My question is that: How to get the parameter information, such as
    szProductCode. How to read the file information from phFileRecords in C# code?
    Best regards,
    Glen Qu (Fareast\v-zuqu)

    Hi,
    I want to Use C# code to read .MSP file and get inside file list. Such as: you can get a hotfix from here
    https://support.microsoft.com/en-us/kb/3000847 and after extract the exe you can get a .MSP file. And 3 DLL files are including in the .MSP file.
    What I want is Use C# code to read the .MSP file and get the 3 DLL file name. Here is how to read it with C++:
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa816375%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    But I don't konw about C++, So I'm trying use C# code to call Windows SDK. And I import the Windows SDK code into C# like below:
    [DllImport("msi",
    CharSet = CharSet.Auto)]
    internal
    static
    extern
    uint MsiGetPatchFileList(string
    szProductCode, string szPatchList,
    out
    uint cFiles,
    out
    IntPtr phFileRecords);
    My question is that: How to get the parameter information, such as
    szProductCode. How to read the file information from phFileRecords in C# code?
    Best regards,
    Glen Qu (Fareast\v-zuqu)
    Hello,
    For MSI APIs, you could refer to
    Installer Function Reference
    It has helped us separate them to multiple parts. Like for getting product code, we could refer to
    Product Query Functions part, like the
    MsiGetProductProperty .
    For getting file information, then refer to File Query Functions
    part.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Newbie Questions About Installing Windows with Boot Camp

    The only reason I want to use Windows is to be able to download games from the internet that are not made for Mac only for PC and I have a few questions:
    1. Doing all this installation will anything made for PC work?
    2. I only have Windows XP will that work? And then do all the SP updates after it's installed?
    3. If I have to use Windows XP SP2 is this one a good one to buy?
    http://www.cdsfu.com/index.php?categoryID=87
    4. After everything is installed do I have to use an anti-virus?
    I want to thank you for your help as you can see I really am a newbie.
    Karen

    Hi Karen and welcome to Discussions,
    The only reason I want to use Windows is to be able to download games from the internet that are not made for Mac only for PC and I have a few questions:
    1. Doing all this installation will anything made for PC work?
    Nearly anything. There are some Windows programs using hardware dongles that don't run.
    2. I only have Windows XP will that work? And then do all the SP updates after it's installed?
    You need a Windows XP CD with at least Service Pack 2 (SP2) incorporated.
    3. If I have to use Windows XP SP2 is this one a good one to buy?
    http://www.cdsfu.com/index.php?categoryID=87
    another user round here had already asked about that website.
    Three things about this offer are, at least to me, very suspicious:
    "Microsoft Windows XP Professional Edition With SP2, Full Version on CDR"
    Microsoft never has used CD-R disc (CD-Recordable) for Windows
    "software that does NOT include any COA label or a sticker from the manufacturer"
    There always has to be a sticker, that one puts on the computer on which the Windows license is installed and a COA label as well.
    "VOLUME LICENSE INCLUDED"
    A volume license, from my understanding, was only sold to companys, who install Windows on a larger scale (hundreds of computers) and for that purpose are given only one license-key for all installations.
    Usually this is known as a'corporate license'.
    All in all, I would personally stay away from this offer. It simply doesn't sound legal to me.
    4. After everything is installed do I have to use an anti-virus?
    When running Windows a decent Anti-Virus software is a must.
    I want to thank you for your help as you can see I really am a newbie.
    You're welcome anytime. Hope it helps.
    Karen
    Regards
    Stefan

  • New to Apple, questions about using Windows, and other things

    Hello all,
    Today is my first day as an Apple owner. It's funny because I'm also a MCSE, MCSA, and MCP.
    I purchased a 24" iMac, 2.8GHz, 4GB RAM, and 1TB Hard Drive.
    I want to use Windows on my Mac so that I don't have to keep switching over to my PC. My main reason for using Windows is so that I can continue to enjoy my PC Games... mostly racing and D&D games.
    So my question is... how does Windows run on bootcamp? Can I still use all of my USB controllers (like my steering wheels, joysticks, etc?)
    I really havent even turned on my iMac... been too amazed at just looking at it for the first day (and also rearranging my home office).
    I really just want to know from those of you who have PCs AND Macs, if you still find yourself having to go back to your PC because of incompatibilities or performance issues on the iMac?

    Using BootCamp, your Windows experience is no different than if running it on a similarly configured PC. If you went with a VM running under Mac OS X (like VMWare or Parallels), there are a number of differences. However, using BootCamp you have a Mac-branded PC.
    I'd point out that people have been dual-booting operating systems in this fashion for decades. Windows has no obvious in-built support for doing so, but other operating systems (like Linux, FreeBSD, etc.) have always very clearly and explicitly supported dual-booting (on Macs and regular PCs) from the get go.

  • Questions about Installing Windows 7 ultimate 64 bit on Mac Pro

    Hi, I have an early 2009 Quad Core Mac Pro which is running Snow Leopard. I have 4 internal drives in my Mac Pro. Does WIndows 7 have to be installed on the same drive I have Snow Leopard installed or can it be on any of my drives. My boot drive has 215 gb of free space. 2 of them have 100gb of free space and my 2 tb drive has 40 gb of free space. To install Windows 7, do I have to partition one of my drives which would mean erasing all my data? How much free space do I need for windows 7 and programs, etc? Would Windows 7 ultimate 64 bit work? Any info is greatly appreciated

    Read the link ""The hatter"" gave you and read the "FAQ's", it will answer quite a few of your questions. Read the Installation manual a few times to familiarize yourself with it before you start and it will make it a lot easier when the time comes.
    Windows will be little bit quicker on the Mac-Boot disk only because of your SSD drive. It's rare, but you leave yourself open for problems if anything gets buggered up with both OS's on the same drive. You could lose the Mac side also. You have the chance to save yourself one less problem with it being on a separate drive.
    You can install Windows on "any" INternal drive with Boot Camp. Windows can only be installed in the #1 slot on a MacPro if there are any other drives in it. (You can put it in any slot after it's been installed.) And Windows can't be installed on an EXternal drive from a Mac.
    Your best bet would be either put one of the internal drives into an external HD enclosure ($15/$20) and replacing it with another blank HD and just splitting it into two partitions or try to free up more space on one of the other drives so you have more room.
    Or like ""The hatter""mentioned.
    """You could put OS X HD in lower optical drive bay and put in a drive just for Windows."""
    The only problem with making room on an already full drive is that some times some invisible "root" files will be left behind and Boot Camp CAN'T move it and you could get a generic "Can't Install, Files in the way" type error. So you would have to Backup, erase, reinstall to clean it up that way.
    It's not so much installing Windows without Boot Camp, but you need BootCamp in order to use the "Start-up Disk" preferences. The Finder can't see the Windows install with out it. No big deal if you want to use the "Option" Key every time to reboot. Boot Camp Also has a couple of preferences like the F-Keys, etc, that you may need to use. It Could be a bigger headache. Boot Camp just makes it A LOT easier for the -non- geeks.

  • Question about Using Windows in the MacBook

    Hello Everybody!! I want to buy a MacBook, due to the fact that my Gateway PC is kind of outdated by now, but I will also install Windows 7 on it.
    I also read that the MacBook camera is not compatible with Windows Live Messenger, so my question is:
    If I install Windows 7 on the Macbook, Will I be able to use the Camera when using Windows? Would I have to install Any drivers...
    PLease Help! I'm new to The Macs (even though I have a couple of iPods an a iPhone 4)
    Thanks!

    Actually the newest version of parallels allows you
    to play games with 3D acceleration,
    There are games that play under windows in BootCamp that will still not play under windows in Parallels. I have a Windows Game Pirates that uses a play disk. It works perfectly under Bootcamp but will not work under Paralells. It has problems reading the game disk while in Paralells.
    Mort

  • Question about installing windows in macbook

    i've heard about a lot of things, something about os x, paralle, bootcamp...
    wt are those? do i need to install ALL of those things? are those expensive stuff??
    the main point of me installing windows is so that my kids can play their PC game, which is the best?

    Actually the newest version of parallels allows you
    to play games with 3D acceleration,
    There are games that play under windows in BootCamp that will still not play under windows in Parallels. I have a Windows Game Pirates that uses a play disk. It works perfectly under Bootcamp but will not work under Paralells. It has problems reading the game disk while in Paralells.
    Mort

  • Question about bootcamping windows 7

    Hello everyone, i just received my macbook pro 13 inch (specs aren't important for my question) I am getting ready to do the whole boot-camp thing (please forgive any ignorance on my part, this is my first mac) i want Windows 7- home and student edition... now my question to you all is --- Which CD do i need to purchase? there is the 'upgrade' version, the 'full' version, etc. if i even need to buy/obtain a disk, which do i need? and is there a difference in performance, or what all you can do between the different versions? etc. PLEASE HELP! Thank you for your time!! :P

    Hmm.. i see, so what are all my options then? (preferably the cheapest way...) to get windows 7 - home and student edition as my windows OS for bootcamp? what would i have to do/buy to just use the upgrade instead of the Full $200 version? the reason i want to know obviously is because, i already have Windows XP disks and maybe another older one from previous computer purchases, and the upgrade version is around $90 or so, and full is $200 like i said.. just trying to save some money, suggestions are welcomed! Thank you for your efforts Kappy, i am grateful.

  • Question about adding Windows 2012 R2 Domain Controller, into a native Windows 2008 R2 single forest domain

    I current have a two server domain, both Windows 2008 R2 and fully updated.   The two servers are on subnet 10.0.1.0 /24
    - Windows 2008 R2 Server A: 10.0.1.1 (DC, GC, FSMO, DNS)
    - Windows 2008 R2 Server B: 10.0.1.2 (DC, GC)
    AD Domain: COMPANY.LOCAL
    I have a second connected subnet, 192.168.1.0 /24) which is routed to the 10.0.1.0/24 subnet and I would like to install a Windows 2012 R2 server onto a server on that subnet and make it a domain controller with AD-Integrated DNS and DHCP for the 192.168.1.0
    /24 subnet.
    - Windows 2012 R2 Server C: 192.168.1.1
    What are the proper progression steps, in order to bring up the Windows 2012 R2 server and then add it to my COMPANY.LOCAL domain and then promote it do a DC/GC/AD-Integrated DNS server?   Are they anything like the following:
    1. Install Windows 2012 R2 server (Server C)
    2. Point Windows 2012 R2 server DNS servers at Server's A and B
    3. Perform AD prep to extend AD schema to support Windows 2012 R2 domain controllers
    4. Promote Windows 2012 R2 server to domain controller (install local DNS service on Server C, during this step)
    * Question:  Will Windows automatically create a DNS zone for the Windows 2012 R2 subnet (192.168.1.0/24) AND also include the DNS zone from the previous Windows 2008 R2 domain (10.0.1.0 /24)?  Or will I need to add the 10.0.1.0 /24 zone to the DNS
    server on Server C, even though the DNS from the Windows 2008 R2 domain is AD integrated?

    Hi,
    Regarding the issue here, please take a look into below articles:
    System Requirements and Installation Information for Windows Server 2012 R2
    http://technet.microsoft.com/en-us/library/dn303418.aspx
    Release Notes: Important Issues in Windows Server 2012 R2
    http://technet.microsoft.com/en-us/library/dn387077.aspx
    Install a Replica Windows Server 2012 Domain Controller in an Existing Domain (Level 200)
    http://technet.microsoft.com/en-us/library/jj574134.aspx
    Here is an example for promoting Windows Server 2012 to a DC, see:
    Step-by-Step Guide for Setting Up A Windows Server 2012 Domain Controller
    http://social.technet.microsoft.com/wiki/contents/articles/12370.step-by-step-guide-for-setting-up-a-windows-server-2012-domain-controller.aspx
    As the server is promoted to a DC, DNS Zones will be replicated and synchronized to it automatically whenever the new one is added to an AD DS domain,  bascially there is no special need to add zones,  for more information, please see:
    Understanding Active Directory Domain Services Integration
    http://technet.microsoft.com/en-us/library/cc726034.aspx
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Question about the "Windows and Arch Dual Boot" wiki

    I've been reading this wiki http://wiki.archlinux.org/index.php/Win … _Dual_Boot to get a better understanding of what I need to do to install Arch along side of my XP installation and there's one point that I don't understand. Here it is
    It is important to note that there is a 1024 cylinder limit with some older BIOSs. This means that the BIOS cannot access things beyond the 1024th cylinder (about 8.5GB), so the /boot partition should be in the first 8.5GB (space before Windows partition).
    How does one go about getting the /boot partition created during the installation of Arch to install in the first 8.5g? I have installed Arch in Virtualbox twice so far just so that I'm familiar with the procedure and I can't see anything in the installation where I can do this.
    There's one other item that is not clear to me as I've seen conflicting information on it. If I do create a seperate "/boot" partition for Arch, do I need to make it "bootable"during the installation? At this point I don't think that I do.
    My understanding of installing to be able to dual boot is that I only need to install Grub to "Sda" and of course edit the grub menu to add the information needed for XP. Is this enough?
    Thanks for any help.

    Yes, you install grub to sda (master boot record), and add the entry for Windows. In the step where you partition the harddrive, you can choose where to create it. Actually it may not be that much of a problem anymore, my boot is on the third partition, after ~15 GB. You can forget about the bootable flag when using grub, it does not care.

  • Two question about ususing windows via bootcamp?

    1.Will windows mode be vurnerable to viruses?
    2. If i did get a virus while in windows mode, then rebooted in os x mode, will it be affected as well?

    There aren't any known viruses for OS X (see Thomas Reed's Mac Malware Guide) but if you recieve and forward, for example, an email message with a Windows virus, a Windows user can get 'infected' - but you needn't worry about your Mac partition much.
    Clinton

  • A Question About Resizing Windows

    I'm a bit new to Mac so please excuse me if my question is a no-brainer. When I open a window in OS X, such as opening the applications folder, the window is always a little too narrow so I stretch it out a bit so that all my app icons are not cut off. However, upon opening it again I find that it has reverted back to its original size and I must resize it once again. This happens with Safari, Firefox, and a few other windows as well. Is there a way on the Mac to set the size and shape that a window will open up to and save it so I don't have to go around resizing everything? Thanks.

    Hi -
    Try minimizing the window (click the little '-' symbol in the upper left window corner) then when it drops into your dock, click on it again and it should open to where you initially minimized it from. Whenever you open a new window it should now open to this preferred size.
    Hope that works.

  • Question about the Windows XP Pro downgrade

    I have been at an endless debate with myself when shopping for a new notebook.  I will either purchase a Macbook, or a Thinkpad T400.  First of all, I would like anyone's input on the Thinkpads in general, or on this model of anyone owns one.  My primary motivation to get a PC is the fact that Macbooks (I don't have enough $$$ for a Pro) do not have a standalone graphics card.  The major dissapointment I find with the Thinkpads is that I cannot simply select "Windows Xp Professional" as my OS.  I see the option to buy Vista Ultimate with a downgrade CD for XP Pro, but I am skeptical.  My real question is, does the "downgrade" CD give me an authentic version of XP professional, or does it still carry the characteristics of Vista (resource hog) and is just simply rearranged to appear like Windows XP?  Thanks for the input.
    Solved!
    Go to Solution.

    thetoolhead, welcome to the forum,
    with the downgrade cds you get a full blown version of XP complete with all necessary drivers and Lenovo TVTs. As the XP is created with a Volume Licence there is no need for activation.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

Maybe you are looking for

  • Slideshows on external monitor

    Probably silly question, hopefully simple answer... I was trying to create a quick slideshow on my Macbook Pro with a digital projector connected. What I was expecting was to create the slideshow on the laptop screen (so the audience couldn't see the

  • How can I set my "attach file" system to always show the date and offer to resort?

    When I want to attach a file to an email, or save it for that matter, I have to turn on Details instead of List in the View Menu. How can I set Thunderbird to have Details on as my default. Thanks!

  • Subcontracting - outbound delivery by ME2O for Multiple batch of 1MTR

    **Dear Expert** **Subcontracting -we want to send One material to Vendor for processing but this material having Multiple batches,In T-code ME2O  we can enter only one Batch while creating delivery.** **If we want to create Delivery  for multiple bat

  • How do I edit a movie in less than 10 sec blocks?????

    The title says it all. No instructions. No help. No, nothing. I've found a way to edit a movie but I can't even do it by 1 sec!! WHAT A JOKE. Even my relatively cheap camera can do this simple task by the second, (unfortunately, the video I want to e

  • Safari gmail support gets worse every revision

    gmail is rapidly becoming the email program of choice for many people. i find it incredibly arrogant of the safari development team that existing issues are not only blatantly ignored, but the behaviour of the browser is actually getting worse with e