New Air Window - Access to a var in the root Window

Hi,
i have a main application and i open a new air window from
this main application. How can i access from the new air window a
variable in the main application?
the variabel in the main application is in a sandbox.
i use adobe air 1.5 + html + javascript.
best regards.
BjT

Hi,
There might be another easier way, but this is what came to
my mind first:
Take a look at
http://livedocs.adobe.com/labs/air/1/jslr/flash/desktop/NativeApplication.html
which has an openedWindows and activeWindows property.Figure out
the native window you have to access, get to its htmlLoader
property. HTMLLoader has a window property that gives you access to
the entire DOM.
URLS:
http://livedocs.adobe.com/labs/air/1/jslr/flash/display/NativeWindow.html
http://livedocs.adobe.com/labs/air/1/aslr/flash/html/HTMLLoader.html#window

Similar Messages

  • All of a sudden our fairly new Air's memory is almost full. The disk utility lists almost 50 GB as "Other". What has happened to our memory?

    All of a sudden our fairly new Air's memory is almost full. The disk utility lists almost 50 GB as "Other". What has happened to our memory? I am new to Apple products.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    When it comes to clearing space on a drive, you have to decide how much to clear.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data.
    Although you may be told by other contributors to this site that you should keep some fixed percentage (such as 10% or 15%) of the space on the boot drive available, that advice has no basis in fact as far as I can tell. The amount of available space you need depends on your usage pattern. I don't know how much you should have, and I don't make recommendations based on what I don't know. It should certainly be more than 9 GB.
    If your data collection is growing quickly, then, depending on the size of the startup volume, you may need more than 10% available space in order to avoid the risk of filling it up, which can lead to a boot failure. If your data is relatively static, you may need less than 10%. I've seen no evidence that there's a loss of performance when available space falls below any threshold higher than the one Apple recommends. Available storage space that you'll never use is wasted space.
    If you're using Time Machine to back up a portable Mac, some of the available space will be used to make local snapshots, which are backup copies of files you've recently deleted. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as "Backups." The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself.
    About local snapshots
    Use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Triple-click the line of text below to select it, then drag or copy — do not type — into the Terminal window:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Press return. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • Value does not fall within the expected range in my itemupdated eventreceiver while accessing a splist column on the root site collection

    hi,
     I am performing the below operations:
    1) Itemupdated event handler when a document is uploaded into the document library
    2) Now amreading another list which is in the root  site level so, i used spsite, spweb again and accessed that splist and trying to read single line of text column and user or group column.
    Now when i am reading this, i am getting the error "Value does not fall within the expected range".
    I went to resource throttling under central admin -->my current web appln and changed that value to 20  from 8
    even after performing the above, i am getting the same error.
    pls help anyone has faced this issue before.
    Accessing a splist which is under root site collection within the itemupdated eventreceiver is allowed in SP ?

    hello sir,
     as per my requirement i have to access a  splist which is residing in the ROOT SITE COLLECTION OF THIS WEB APPLICATION. the event receiver i have written is residing in one of the few document libraries within the sub site. there are hundreds
    of sub sites exist in this site collection. I need to access the root site collection within the itemevent receiver and access thatperson column from that splist. why i ahve kept this list at the root site collection level [
    http://server1:2020/ ] , because this  splist is the UI for customer's sp admin for performing  weekly tasks. like adding few items in the splist and my event receiver fires and check this column- person /group
    column ]  and apply permissions on the  document.
    so my doubt is it possible to access the root site collection from my event receiver code.
    spweb from properties web is just the subsite url and not the site collection. i want to get the root sitec ollection url's splist.
    also am already running this code under runwithelevatedprivileges.

  • New Air Book

    Hi, will the new air book with added processor work with the final cut software? thanks

    Sort of. It has the same problem as the MacBooks, CPU integrated graphics, no separate graphics processor. Also no FireWire port so you're very limited in what formats can be effectively sustained on this computer.

  • Accessing files outside the root of the site.

    Hi All
    On my web host space I have access to a directory outside the
    root of the
    website i.e. "private"
    I want to store files there for download after users have
    purchased them.
    I want to put them here to stop people ripping the files off
    by guessing the
    link or useing a website copier.
    What I plan to do is send a link to the user via email, this
    link will then
    go to a download page which records the user has accessed the
    file and then
    have the page automatically download the file.
    I can do this no problem if I have the files in a directory
    under the root
    of the site but how can I link to the files outside the root?
    TIA
    Bren
    Why do I climb mountains? Simple! because they are there
    www.3peakschallenge.co.uk

    Sorry forgot to mention I am using ASP VB
    Cheers
    Bren
    "Bren" <[email protected]> wrote in message
    news:ejgd9n$427$[email protected]..
    > Hi All
    >
    > On my web host space I have access to a directory
    outside the root of the
    > website i.e. "private"
    > I want to store files there for download after users
    have purchased them.
    > I want to put them here to stop people ripping the files
    off by guessing
    > the link or useing a website copier.
    > What I plan to do is send a link to the user via email,
    this link will
    > then go to a download page which records the user has
    accessed the file
    > and then have the page automatically download the file.
    > I can do this no problem if I have the files in a
    directory under the root
    > of the site but how can I link to the files outside the
    root?
    >
    > TIA
    > Bren
    > --
    > Why do I climb mountains? Simple! because they are there
    > www.3peakschallenge.co.uk
    >

  • Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdow

    Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdowCan't

    There are some keyboard commands (shortcuts) you can use instead of having to go to the Apple menu -
    Control-Eject          This brings up the Restart-Sleep-Cancel-Shutdown window.
    Command-Option-Eject          This puts the machine to sleep.
    Command-Control-Eject          This closes all apps and restarts the machine.
    Command-Option-Control-Eject          This closes all apps and shuts the machine down.

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
    Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
    Best regards,
    Arkady.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • I upgraded to OS Yosemite on my MacBook Air...and I cannot upgrade the Adobe Flash download that Adobe keeps asking me to download. I get the screen and when I click on the icon it just creates a new window but not download. Thoughts?

    I upgraded to OS Yosemite on my MacBook Air...and I cannot upgrade the Adobe Flash download that Adobe keeps asking me to download. I get the screen and when I click on the icon it just creates a new window but not download. Thoughts?

    I just tried the link and it is just fine. If the GateKeeper pops up then open Security & Privacy preferences, click on the General tab, set the last radio button to Anywhere.

  • HT1527 I have windows 8.1 and cannot access itunes store even creating a new apple id. With other users on the same computer I can access itunes store. How can I solve this?

    I have windows 8.1 and cannot access itunes store even creating a new apple id. With other users on the same computer I can access itunes store. How can I solve this?

    i had the same problem before using a fresh install of Windows 8.1.  I have resolved this issue by running the program compatibility wizard.  This I did by right-clicking on the iTunes icon in the desktop, selecting Troubleshoot compatibility, waited for it to detect compatibility issues and when presented with the following options: 1.) Try recommended settings; 2.) Troubleshoot program, I chose the latter.  When asked what problems I noticed, I checked the following: "The program worked in earlier versions of Windows but won't install or run" and "The program requires additional permission"
    After that, it tired to resolve the issue, and provided the necessary settings to run iTunes.  Now it's running flawlessly.  I have Avast anti-virus installed though.
    HTH!

  • How To open a PDF in New Native Window in Air

    Hi All,
    I have a Air application.I want to open an pdf located in desktop in new native window.
    Thanks,
    Amol.

    There is no easy way to implement this. Its better to instruct users the shortcut to open the link in new window.
    --Cheers

  • How can i add and configure a new AIR-LAP1142N-E-K9 Access Point to a AIR-WLC4402-12-K9 WLAN controller

    How can i add and configure a new AIR-LAP1142N-E-K9 Access Point to a AIR-WLC4402-12-K9 WLAN controller

    Thanks alot, that helped me .....
    what about option 43..i am using one wlc and the switch where wlac and APs are connected is playing the role of dhcp server used by APs as there is a dhcp pool configured.  please advise. will the command be
    option 43 hex (f104xxxxxxxxxxxx)  f104 adding to it the management ip address of the wlac in hexadecimal.
    if the ip address is 192.168.10.5  then the command will be
    option 43 hex f104c0a80a05
    please correct me if i am wrong!!!!

  • Hi, I have a new laptop (Windows 8) and now can't access any part of my itunes account, can anybody help?

    Hi, I have a new laptop (Windows 8) and now can't access any part of my itunes account, can anybody help?

    forgot to add am so un technical too !!! so any help massively grateful !

  • AIR/Windows 7 Onscreen Keyboard

    Hi
    Any reason why the onscreen keyboard would stop working when a TextInput is being focused?
    * AIR 2.03
    * Flex SDK 3.4
    * j3500 Motion Computing tablet (http://www.motioncomputing.com.au/products/tablet_pc_J35.asp)
    The onscreen keyboard is the default version that comes with windows 7 Professional...The interesting thing is we did not have this issue in the AIR app in the past up until the our latest app update.
    There are no definatley no programmical modifications to the default focus behaviour of any text editable fields or anything that would interrupt the default behaviour of the flash/air integration with the onscreen keyboard and the operating system....it should be transparent AIR/Windows 7 function and totally out of our hands...
    The soft keyboard will still enter text into input fields, however the keyboard needs to be manually opened. The standard behaviour was...when the wacom pen tapped into a text input, a keyboard icon would appear next to the input and open the keyboard over the AIR app, now that does not work..
    We are really at a lose with this issue and need to know which direction to look into. The tablet has all windows and motion computing specific updates applied to it...and can be replicated on other tablets etc..
    We have not tried linux or mac installations troubleshooting because do not have direct access.
    Any ideas much appreciated.

    I am havin the sam eissue as you can tell I have set al setings to fast..and still it skips keys randomly. I have reinstalled drivers and what else can I do? This keyboard came with bundle HP Pavilion s5310f. I need a fix for this issue. I type for a living and this is unacceptble sppeed and tuypps...shew. Any info, help, or new keyboard appreciatd...thisis no working

  • Conditionally opening a new browser window from a JSP page

    When the user clicks on a button in my JSP page, I'd like to launch a new browser and display certain things in that browser window while leaving the original browser window open. The new browser should only be displayed if certain conditions are met.
    My thought was to invoke a javascript method in 'onLoad' which would determine if the new window needs to be launched.
    This is kinda what my page looks like:
    <jsp:root version="1.2" ................>
        <jsp:directive.page import="java.util.*, com.test.Configuration" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
         <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow();">     
         </ui:body>
       </f:view>
       <script type="text/javascript">
            function launchWindow(){
             if (Configuration.openWindow()) {
              window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
        </script>     
    </jsp:root>
    My problem is that the call to "Configuration.openWindow()" does not resolve correctly. If I remove that call and simply make a call to "window.open()" all works. But once I put the condition in, nothing happens. I do not see an exception in my browser window but a new browser window does not open.
    Is my syntax correct. Can I make a call to the static method 'openWindow()' in my class 'Configuration.java'.
    I posted this same query on the JSF forum but received now replies. My question is more suited to the JSP forum and hence I'm posting this question here.
    thanks,
    tsc

    I have made some changes so that I do not directly access the 'Configuration' class in my javascript.
    I have a hidden field on my form and when the user clicks the button, in my back bean, I set a value for the hidden field. In the javascript function 'launchWindow()' I check if a value has been set for the hidden field and if yes, I open a new window.
    <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow(document.forms[0]);">
    <h:inputText id="hiddenField" value="#{formBean.hiddenValue}" />
    <script type="text/javascript">
            function launchWindow(form){
                alert("in lw");
                var test = form["form1:hiddenField"].value;
                alert("got test");
                if (test !=  "")
                    window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
                alert ("done test");
    </script>When my page is first loaded, the launchWindow() is called and all the alerts popup as expected.
    When I click on the button (the back bean sets the value on the hidden field), my page is reloaded but this time its blank.
    Any ideas as to why this maybe the case?
    thanks,
    tsc

  • Trouble getting "back to my mac" to work on new Air - and really need this functionality

    This is sort of one of those "asked and answered" threads, but I wanted to share my solution. I love being able to see my other computers remotely. I don't think Apple sells the functionality of remote desktop enough. I have a laptop and I also run to mini servers, one at work, and one at home. When I first got "back to my mac" working with my Apple ID on all three computers I thought I had died and went to heaven. With fast internet access this is really incredible - able to move files back and forth and see different things - even run things like media encoding on another computer so my laptop is not slowed down.
    But when I bought a new Air a couple of weeks ago I ran into a problem. I had done everything right. Each computer allows login with my Apple ID and all the sharing was turned on properly - remember, I was doing this with my previous Macbook Pro just fine.
    But everytime I would click on the remote computer in finder, finder would just quit and restart. Weird. Crash and then restart of finder.
    So I've been fighting with it.
    Then I discovered I could click on "All" in the sidebar (to see all networked computers and servers). Then if I right-clicked on the server that showed up in the list in the main window of "All" I could choose a "connect as" and get it to work. Now it works regardless even if I double-click right on the icon of the remote server in the sidebar.
    If you followed all of that, it could help you. If you're not using this "remote desktop feature, you should.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for

  • Open dialog box prefs for geany and gnumeric

    I did a reinstall so that /usr/ would no longer have its own partition.   Rearranging the partitions was just going to take too long. I use geany and gnumeric.  File -> Open, in either program, brings up the open dialog box.  It is titled Select a fi

  • Labview IMAQ VI for capturing images and saving with incremental file names

    Hello, I am using LabView 7.1(IMAQ) to capture images with NI's PCI 1426 card, and a JAI CV-M2 camera. Now, with the example VI's like LL Grab, or LL Sequence, or Snap and Save to File.vi, I can capture the images. But what I actually want is to capt

  • Function Security Reports

    Is there a way that I can run the Function Security Menu report in Oracle 11i for all responsibilities at the same time? I need to provide this information for an audit of user responsibilities and I need this report for each active responsibility (I

  • Form question: lock in preferences?

    I created my form on my Mac and sent it to a colleague using a PC. When she opened it, her preferences were applied. Is there a way that I can lock in my preferences? For example, I don't want required fields outlined.

  • EAS7.1 aso dimension property change using rule file.

    I have a outline having 1 dimension "Terms" as a account type and data storage as "data store".Now i am trying to load members using rule file. Outline: ABC (Active Alias Table: Default) Scenario Stored <2> Currency Stored Terms Accounts Now i have c