I have a Adobe Air app (AS3, not Flex) that has 2 windows. When I click away from them onto another desktop program, I get an "Deactivate" Event (as you would expect).When I click on say Window#1 I get an "Activate" Event (as you would expect).But when I go from Window#1 to Window#2, I get nothing. And I believe this is because the Air application is still the active program, Just a Different Window.
But I have the need to know when I go from 1 window to another.The horrible solutions I have come up with so far is to have an onEnterFrame and check if the current window is the active window. But I would much prefer to do it a much better way that such a hack.I have gone though Stage, NativeApplication and Native Window Events and none of them do what I need. Can anyone point me to another Event I may have overlooked?
I'm developing a multi monitor fullscreen application with Adobe Air 2.6. I can create a window for every monitor, and put those windows to fullscreen. theWindow.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; The problem comes when interacting with those windows. If I click the window on the main monitor (the one with the dock and menu bar) no problem, but when I click any other window the system menu bar becomes visible. I've tried resizing the main window to match the monitor size and moving it to a negative coordinate but it always stays behind the bar. Is it possible to do this in Air?
I'm trying to add an event listener to a window that pops up (to the whole window) that will close that window when clicked on. Basically it's your typical about window that would be found in any program by hitting help, then about this program. I am using no chrome on it so I'd like to just be able to click it and have it close.
On a less important note I'd like to center the window on the stage when it pops up. Right now I'm just using the x and w properties to get it close to center on my monitor but obviously that won't work for everyone. Below is the code I've tried. No luck whatsoever. Window pops up but stays up if I click it. Any help as always would be AMAZING!
How do I load an external swf into an external window? I'm using the following code, it works if i add the swf to the original window's stage but not if i add it to the new window's stage.
my application launches with the stage size of 1000 x 500, 2:1 aspect ratio. the native window has system chrome, which will always be a little taller by a few pixels.how is it possible to only permit a native window to resize proportionately in order to always maintain the 2:1 aspect ratio of the stage?[code]
I have a Native Window in Flex AIR. Let's say the window doesn't have a focus. It is inactive. Is it possible to find out when mouse is over such window? The window is always in front. I heard that it is possible by checking stage.mouseX in ENTER FRAME handler.
In my Flex (Flash Builder 4) Air application, I have a spark window and have set the close="" event handler (also tried the 'closing' event) to a method that pops up an alert confirming if they want to close the window. This worked fine in my normal browser based app as a TitleWindow, but now that it's an Air app with a native spark window, it's not working. I never see the alert dialog, and if I debug trace, it does in fact go in to my close handler method, but visually I can see the window is already gone from the screen. In an AIR application, how do you add a confirmation dialog for when they click the "x" to close the window?
I have 2 swfs loaded that use a local connection to communicate, they work fine when loaded on the same window but when I load them on separate windows it gives me the following error.
ActionScript Code: Main Thread (Suspended: SecurityError: Error #2070: Security sandbox violation: caller file:///C:%5CUsers%5CSiggy2xc%5CAdobe%20Flash%20Builder%204.5%5CMass%20Media%20CG%5Cbin-debug%5Cswf%5Canimation%5CTest.swfcontrol cannot access Stage owned by app:/Mass_Media_CG.swf.)
If I declare a window this way, and then call this.open(false);, the window will quickly open and then hide, and then be reshown when I actually display it, I want to do this to be able to load content and fit the window to that size before showing it.
I'm using a WebView to display a web page which contains some Flash content which basically works pretty well. The big problem is, that the Flash content seems not to consider the WebView's boundings: The Flash content is displayed even if the WebView is too small to show the complete page and the Flash content is not inside the WebView's boundings. Moreover this Flash content overlays other (native) layout elements that are displayed next to the WebView.To me, it seems, that the Flash content is rendered in (special) z-Layer, that overlays all other layout elements.
Tested with: Android 2.2 and Flash 10.1.Is this a known bug in Adobes Flash player 10.1?
I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?
It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.
I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.
I am building a portfolio site, and I want my content to occupy all the browser window.
Like this site: http://********theglass.com/ [URL]
I know GAIA have the ability to do this but I don't know how to use it, and the more I look to it, the more I think it will be overkill to use on my project.
I want my background to occupy 100% of the browser window and have the content to be centered.
Is there a much simpler way to do that without having to do it in a framework?
I am using AIR, and i am creating a new window and then adding a MovieClip there. The problem is that te movie clip appears really oversized. Originally the movie clip is 500x300, so In order to put it into the new window, i set the new window to 500x300, but when i add the MovieClip inside it i have to reduce the movieClip to 100x60 to fit.[code]
I have a site i've done for a client and I wand the content to remain in the center of the window no matter the size of the window, I know it's probably something simple in the actionscripting but I'm still a bit new to this whole Flash thing seeing how everything I know about flash I've taught myselfthe content that pops up when you click one of the menu buttons needs to remain at the center of the page/window at all times.
Is there a way (using flash) to grab the raw html from another browser frame? I'd like the following sequence:
Launch my window from [URL]...Launch window from another site [URL]..which has content I want to grab.Let my window grab the raw html content from the other window.
I doubt this is possible because it could be used for dastardly purpii, but just wanted to check.
I'm creating windows in a Flex application (AIR) using the mx:Window component. I'd like the window to be automatically sized to its content (because it will be dynamic), in the same way that an mx:Panel or mx:Box would be.I've customized components before, so I'm somewhat familiar with the UIComponent lifecycle, but I'm not quite sure how best to do the logic for auto-sizing a container.If it makes it easier, I'm not expecting that the window auto-size to its content at any time, thought that would be a bonus!
I am building a portfolio site, and I want my content to occupy all the browser window. [URL] I know GAIA have the ability to do this but I don't know how to use it, and the more I look to it, the more I think it will be overkill to use on my project. I want my background to occupy 100% of the browser window and have the content to be centered. Is there a much simpler way to do that without having to do it in a framework?
How do I centre my Flash content horizontally in the browser window? In the Publish Settings I see there are options to align the HTML to Default, Left, Right, Top and Bottom, but no Center. Is there a setting somewhere else? Do I need to write some ActionScript to do this? (If so, what?)
I'm building an as3 only web application and want to be able to include external html content within a flash 'window'. In AIR there is the flash.html.HTMLLoader class which makes this possible.
Can anyone point to an example of this being done in a flash as opposed to AIR application?
I am creating a flash movie that needs to be wider then the space available in the html. The html has about a 300 pixel space where I can a flash "launcher" movie (with a html menu bar beside it) and I would like to open a 600 pixel flash movie above everything else on the page (html menu bar and all) but not using a traditional popup window or browser window of any kind (so there will be no issue with popup blockers).
There are banner ads that put junk over top of html content
I have a flex Air program that loads external content with the HTMLLoader.Now for some reason whenever I load a page that has any flash content a blank system window pops up outside of my program. It's completely blank, all white with min, max and close buttons.If I close it any flash content I loaded stops working. For the life of my I can't figure out what's happening and there's no messages in the console and no title for the window.
private var webPage:HTMLLoader; private function registerEvents():void {
Here's what I'd like to know: is it possible to run a SWF in a browser (as a kiosk), then have a separate browser window load on top of the SWF so it looks like it's part of the SWF?
I'm working on a native Objective-C iOS app and I'm wondering if it is possible to embed an animation created in Flash into my app. The animation doesn't have to be interactive, all I need is a couple of animated screens (intro screen, loading screen). Is this posible?
I'm on to designing my 3rd app. I have two already in the Android and Apple stores. Fairly simple ideas these were. Now, I've come across a bit of a challenge. I want to design an app that contains a database of text files, many also containing pictures. I'd like to have it where you can view these files on, lets say, the iPad, and then print them wirelessly, or send them to yourself in an email, so they can be printed elsewhere.
I have considered just creating an ebook and selling that on the store, but I don't think apple allows you to print from these books. Has to be in PDF, and having an app would be a much better way of distributing and updating it. My idea is creating something quite siimilar to how Apples 'Pages' works, just without any editing capabilities. Select document and print. Sounds simple enough but I can't find any code or tutorials to help me out with this. What I want to know is... can I add a button, that will open up and use the printing options built into iOS? Is this possible to do in Flash with AS3 or would I need to learn how to use Flash Builder and Flex? Could it possibly be done in InDesign?