ActionScript 3.0 :: Alternative For NativeWindow Class For Flex Web Application?

Jun 13, 2011

I have to convert an Air application to the web application.I created a web project and I copied all classes to that project +main.mxml.now the problem that i have is the nativeWindow is just work in

[Code]...

View 1 Replies


Similar Posts:


Flex - Application.application.nativeWindow.activate() On Windows?

Dec 8, 2009

I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.

Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.

I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.

View 1 Replies

Flex :: Keep A Nativewindow On Top?

Jul 6, 2009

I need to keep a NativeWindow I am creating on top of the main window of the application. Currently I am using alwaysInFront = true, which is not limited to the windows in the application. I can successfully synchronize the minimize/restore/move/resize actions, so the top window behaves appropriately in those cases. Even though using this option has the drawback that if I alt-tab to other application the window goes on top of the other application.

Because of the above I am trying to get it to work without using the alwaysInFront. I have tried using orderInFrontOf and orderToFront, which gets it in place but when I click an area in the main window the top one becomes hidden i.e. air makes it the top one. I have tried capturing activate/deactivate events but it only happens on the first click, so on the second click the top window becomes hidden again. I also tried making the top window active when the main one becomes active, but that causes the main one to loose focus and I can't click on anything. I am doing this to improve the behavior of a HTMLOverlay I am using - see [URL]

View 3 Replies

Flex :: TitleWindow (or NativeWindow) Skinned As A Fancybox?

Apr 11, 2011

The customer I am working for wants to display popup in an AIR application (designed in Flex 4).I will therefore use TitleWindow and PopupManager for this (or NativeWindow could be an option too).
Pretty basic, I can handle this.

Trouble is, this customer would like this popup to be looking as a Fancybox, that is, with the close button, slightly out of the popup.

View 1 Replies

Flex :: Flex Air Window (NativeWindow) Be Modal?

Jul 13, 2010

Can a Flax Air Window (NativeWindow) be modal? how?

View 2 Replies

Flex :: Use A Class Code In Mmxl Application?

May 9, 2011

How i can use this code in mxml application,as we know we can not use public class in mx script so what are the way to do that as you can see .mx_internal,i am getting error on that saying'define object before dot' as i remove mx_internal and tried using import mx.binding.mx_internal and use namespace mx_internal application not desplaying anything

package components
{
import flash.events.*;
import flash.utils.*;[code].....

View 1 Replies

Actionscript 3 :: Change The 'Default Application' Class In Flex Builder 3?

Jul 26, 2009

When creating an Actionscript Project in Flex builder 3 an application class is automatically created and dropped in the root of your source folder. In my case my source folder is called src/.Is it possible to change the default application class to a class which is not directly in the root of the src folder? It seems when right-clicking on class files which are in sub packages the 'Set as Default Application' option is not selectable.Is this done on purpose by Adobe to enforce all pure AS projects to have their application class residing in the top-most package?

View 3 Replies

Flex :: Passing Data From Custom Class To Main Application?

Aug 4, 2011

Im a complete beginner in Flex programming. I have an application with a main .mxml file, and a certain class Foo that I call from the .mxml. In Foo, I make a URLRequest and listen for the Complete event. Then I found myself with the returned data in a Foo function, but I have no idea how to communicate it to the .mxml part of the application ! I looked into ArrayCollections but I can't seem to understand how they work. Isn't there a way to modify, from inside the class, a variable with a global scope ?

View 5 Replies

Flex :: Access A Remote Java Class (on Spring/BlazeDS) From The Cairngorm Application?

Nov 5, 2009

I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong

[Code]...

View 2 Replies

Flex :: Alternative (free) IDE For It?

Jun 27, 2009

I am an Adobe Flex developer and I am sick of Eclipse. Is there an alternative (free) IDE for Flex? I am aware of Tofino, but I can't get that to work on my MSVS Express editions, and I don't want to buy the whole thing.

View 5 Replies

Flex :: Get Good Alternative IDE?

Mar 24, 2011

Good alternative Flex IDE? I am interested in free editions mostly but I will also take under consideration the paid ones.

View 2 Replies

Flex :: Free Alternative For BlazeDS?

Sep 28, 2010

Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better.

View 3 Replies

Flex :: Alternative Behaviour Of && Operator

Mar 9, 2011

I've faced such situation. I've used to program in C#, and such code:

[Code]...

was asking both, condition1 and condition2 to be true (the case when they both are giving false and the end-result is true, could be achieved in other way). In Flex, same code would perform "some actions" if the both conditions are false. I just was wondering if is there any chance to make it break after finding first false in a queue, or I have no choice and should write nested if's?

View 2 Replies

Flex :: Simple RichTextEditor Alternative For It?

Apr 20, 2011

Does anyone know a good alternative to the RichTextEditor component in flex?

View 2 Replies

Actionscript 3 :: Alternative For Flash Only (not Flex)?

Dec 22, 2011

Ok we all know that you can embed assets with Flex using the [embed] code.

But is there anyway to achieve something similar to this when working with only Flash?

For example:I need to create a class (that contains certain assets) that needs to be used in the Flash IDE, but I don't want to have to drop all the assets into the library for every Flash file that happens to use the class.

View 2 Replies

Flex :: Flash Media Server Alternative?

Jul 26, 2010

I am not advanced yet, but i know what exactly i am looking for and want to do. After doing Air/Flex i came to a stage i need "Flash Media Server Xversion"

Question: Is there any Open/Free Linux based alternative for this "Flash Media Server"? By google i came to this, is it also possible to use as alternative 1. http://osflash.org/red5[URL]..

View 1 Replies

Flex :: Spark DataGrid Alternative Row Color Changes?

Nov 19, 2011

How to Set alternat Row Color In Flex 4.5 MobileApplication For Spark Data Grid. The Main Problem Of SparkDataGrid in Mobile Application not Allowed to Add Skin.

View 2 Replies

ActionScript 3.0 :: Alternative To MediaDisplay - "training" In A School Class?

May 26, 2009

Since I'm looking into Actionscript 3 for the first time, and only had basic "training" in a school class, where we used AS2;
 
My question is: Where did the MediaDisplay Component go and what are the alternatives to have something similar to it?

View 3 Replies

Actionscript 3 :: Access Variables In Main Application Class From Instantiated Class?

Apr 8, 2010

I have a initApp.as which instantiates a class which needs to access the "currentState" property and the States array as well. However we cannot get this to work as we cannot see how we can access this information.

Within initApp.as currentState is accessed via "this.currentState". This does not work in the class which is instatiated within initApp.as. The following error is thrown:

"Access of undefined property currentState."

View 1 Replies

Flash :: AIR - NativeWindow Pop-up Box?

Sep 1, 2011

In my AIR application, when a user creates a new project I want a pop-up box to appear where they can enter their project's name in. I understand how this is doable by making my own type of pop-up box, but is there a way to do this using NativeWindows? That is, can I make a window using the system chrome appear which contains a text field and a butto

View 1 Replies

ActionScript 3.0 :: NativeWindow Is Not Showing

Aug 30, 2009

I have read all there is to read about windows/ native windows in air.

In addition to the main auto-added window, I am creating and (trying to) open two windows when the app starts. It works fine when I test it in flash CS4, but when i publish/install and run it, the windows added through code do not appear.[code]...

View 1 Replies

Actionscript 3 :: AIR - How To Skin NativeWindow

Dec 22, 2011

On my air application I'd like to create chromless nativewindow but I don't find how to do that.Indeed, I success with window but with this component type each window appear on Wndows taskbar, so I must found how to do the same (skin, maximise, reduce, move...) with another component.

View 1 Replies

ActionScript 3.0 :: Centering The Stage In A NativeWindow?

Aug 4, 2011

I'm having trouble with the positioning of objects within the NativeWindow. So my code below creates a NativeWindow, and then draws a rectangle and adds it to the stage of the NativeWindow. I can't seem to have the rectangle centered in the window. I've tryed playing with the stage scale mode, and align properties. By default the align should be center, but it doesn't appear to be the case. The rectangle seems to be drawn from somewhere between the center and top left of the window. I've also drawn a rectangle onto the main app window using identical code.

Code:

import flash.display.NativeWindowInitOptions;
import flash.display.NativeWindow;
var NWIO = new NativeWindowInitOptions();

[code]....

Left window is the main app, and the right window is the NativeWindow.

View 5 Replies

Actionscript 3 :: Can't Resize Content To Fit A New NativeWindow In AIR

Dec 20, 2010

I'm trying to make a popup window class which will get a content DisaplyObject, and popup and display it in itself, but I'm cracking my head with matching the size of the content to the window or vise versa... I think that maybe the window is not display all of the stage or something ?[code]...

View 1 Replies

Windows :: Get The NativeWindow Minimized Event?

Dec 31, 2011

When working with NativeWindow's in AIR, can you get an event everytime the window is minimized / unminimized? I tried hooking up with DisplayStateChanged but its not firing when the window is minimized. you know how to get such an event?

[Code]...

View 2 Replies

Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

Oct 8, 2010

I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?

View 1 Replies

Actionscript 3 :: Resizing Container On Resize Of Application Window In Adobe Flex/AIR Application?

Mar 4, 2011

I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.

View 3 Replies

Flex :: Come Back In Main Application On Click Of Logout Button Which Is In Application's Component?

Aug 4, 2011

How I will be back in Login Page after click of logout which is in application's component.

Project.mxml

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"

[Code]....

View 2 Replies

Flex :: Delete Application Storage Directory Instance / Data When Uninstalling Any Air Application?

Dec 22, 2011

how can i delete storage directory instances or folder while uninstalling any air application. In my application when i first time run my application, application copy some data from application directory to application storage directory. now i want to delete all data and application directory folder also while uninstalling application.

I am doing that because when i launch any update then application is accessing old data which conflict with my application new features.

View 1 Replies

Flex :: Gui - Switch Between Different Applications(mxml File With Application As The Root Tag) In A Big Application?

May 16, 2010

I'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another?BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved