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


Similar Posts:


Android :: Flash - Back Button Unloads Application After Changes CurrentState Of Application AIR?

Sep 20, 2011

I am creating an application. At one view I have three states. If I changes state and than back button pressed it unloads the application.I am developing it in Adobe AIR.

View 1 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

Flex :: Change Value Within Component From Within Main Application?

Jul 19, 2011

So I'm using a custom auto suggest component that I found online at [url]... The background color for the item is set within the following folder[code]...

I use this component from within a component I created called "position.mxml" that is located in a folder named "modules". Is there any way that from the position module, I can change the background color of the autosuggest box?

View 1 Replies

Flex :: Get Component Variables Values Into Main Application?

Mar 27, 2012

i have a component which gets the data selected by the radio button

<mx:itemRenderer >
<fx:Component id="radio">
<mx:RadioButton selected="false" useHandCursor="true" change="item_changeHandler(event)">

[code]......

View 1 Replies

Flex :: Send Parameters From A Component To Main MXML Application

Aug 8, 2011

I would like to send variables or parameters from Component to Main (MXML) Application. Like my component is FileUpload.mxml and would like to forward the uploaded file details from FileUpload.mxml to Main.mxml.

I tried the following procedure :

com:FileUpload id="fp"

to get the reference for the FileUpload component, however, I am unable to get the variables from the FileUpload.mxml file.

View 1 Replies

Flex :: SystemManager.addEventListener Of Sub Application Is Not Working In Main Application?

Mar 31, 2011

i used systemManager.addEventListener in sub application...... it is working well....but when i load sub application into main application through swfloader it doesnot working..

View 1 Replies

Actionscript 3 :: Flex 4 Accessing Public Method In Main Application From Component

Sep 13, 2010

I need to be able to call a method from a component located under the main application in Flex 4. Can anyone tell me please how to do this without using FlexGlobals please?[code]

View 3 Replies

Actionscript :: Calling Function In A Mxml Component From A Main Flex Application

Dec 20, 2010

In my main application I have a viewstack with 3 child views. In the viewstack change handler, I programmatically change the selectedchild property.

I understand that the initialize method for the view is not called every time I change the selectedChild Property. So I tried to invoke the init method programmatically too..

view1.mxml
<fx:Script>
<![CDATA[

[Code].....

View 2 Replies

Flex :: Interaction Between Main Flex Application And Component?

Apr 30, 2010

I made a login component for my flex 4 application, and i load this component from my main flex application with:

<ns1:Login id="page_login" visible="true"></ns1:Login>

Now i want to change the visibility from true to false, from the login component.

View 1 Replies

Php :: Load A Sub-application From A Main Application In Flex?

Jan 19, 2010

I've created a client with login acces in Flex. After the succesful login i have to show a table based on a mySQL server. The database is composed by some tables, and I have created 6 flex mxml components with each own scripts for each of those tables. How can i load sub-applications, for example with a PopUpButton or a TabBar in the main application?

View 1 Replies

Actionscript 3 :: Getting Back Data To Main Application

Oct 26, 2011

I have created a spark titlewindow (using mxml component) which there I select some stuff and want it to get back to the Main application variables.For example, in the main application I have a var name currMaxPlayers:int and in the TitleWindows I have created a form which you can choose number of players, when selecting the number and then pressing submit button, I want the number that was selected to get back into the currMaxPlayers var in the MainApplication.I have followed the instructions here url... with no success.

View 1 Replies

Actionscript 3 :: Make Flash Builder Component Affect Main Application?

Feb 7, 2011

I have my main application, which contains several instances of a component that create a grid of photos belonging to a certain category. (the grids, and the photos are created dynamically with a loop).

I'd like to be able to click a photo to run a function that loads the large version of the photo into a separate element that is contained in the main application. So I created a Photo component in my main application, but how, using actionscript, do I change the 'currentphoto' variable in my main application from inside the tileview component?

Alternately I could put the function in the main application (probably more logical in the long run), but how would I call it from the child component?

View 1 Replies

ActionScript 3.0 :: Back Button Functionality In Desktop Application

Mar 1, 2012

I need a back button functionality in my Desktop application in flash, in my app there is lots of page including home page, I am able to go back at one level but how can I do this at number of level, What logic I should implement to maintain the back page at number of level.

View 2 Replies

ActionScript 3.0 :: Add A Back Button Once Click A Main Menu Button?

Apr 9, 2008

I'm trying to add a back button once I click a main menu button then remove the back button once it is pressed. I get the title error.

[Code]...

View 6 Replies

Call A CGI Script In FLEX 3 And Display The Result Back In Flex Application?

Nov 14, 2011

How can i call a CGI script in flex 3? Also how can i retrieve the result of exection of that cgi script?

For example, lets say my CGI script(hello.cgi) just display "hello world". How can i call this script from flex 3 and then retrieve the result, i.e. hello world , so that it can be displayed on my flex application.

View 1 Replies

Flex :: Implement A Simple Chat Application In Adobe With Php As Back-end?

Mar 10, 2011

I am trying to implement a simple chat application in adobe flex 3 with php as back-end. I have found few frameworks on net, AMFPHP and WebOrb. But I see that both these frameworks do a polling to the server at regular intervals.

View 4 Replies

Flex :: Passing Object To Save Back To Server Freezes Application

Jan 24, 2012

I have a NavigatorContent which is displayed when the user selects an item in a DataGrid. This NavigatorContent contains a form and an accordion displaying the related objects.

When the user presses the Save button in the NavigatorContent the form and the children should be saved to the database by calling the server through BlazeDS:

saveObjectToDB()
{
//Map the form values to the object
object.field1 = object_field1.text;

[Code]....

The object that i pass to the accordion children is public and [Bindable] in the NavigatorContent and in the accordion children and is initially passed from the main DataGrid. May this be a problem relating to this issue?

View 1 Replies

Add Scroller In Main Application/Windows Of Flex?

Jun 21, 2010

I am new to Flex. I am trying to add a scroller in my main application/windows. Is that possible? I found out it is possible to add scoller bars in DataGrid, like horizontalScrollPolicy="on". How to implement it in containers like Group,Panel and etc?

View 2 Replies

Flex :: Get Variable From ItemRenderer To Main Application?

Jun 22, 2011

I have a List with TextInput as item renderer. I want to get the value entered in the TextInput (form the TextInputItemRenderer) and pass it the main application to do some checks(upon tapping enter on the textInput -- see code below).

I know that we can do it thru dispatching event but I still don't understand how to pass a variable from the ItemRenderer to the main app.

<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"

[Code]....

View 1 Replies

ActionScript 3 :: How To Use Skin From Main Application In Flex

Feb 11, 2012

I have an application with a SWF loader. From the loaded SWF file, I'm accessing public variables from the main application with this:
[Bindable] public var global:Object = FlexGlobals.topLevelApplication;
Alert.show(global.myvar);
This all works perfect. I have a MXML skin file (for buttons) in a directory called 'skins' in the main application. Is it possible to use this skin in the child applications?

I've already tried this, unfortunately not working:
[Bindable] public var global:Object = FlexGlobals.topLevelApplication;
<s:Button label="My Text" skinClass="{global.skins.menuButtons}" />
And this, but then it can't compile anymore:
[Bindable] public var global:Object = FlexGlobals.topLevelApplication;
<s:Button label="Button 1" skinClass="global.skins.menuButtons" />
<s:Button label="Button 2" skinClass="FlexGlobals.topLevelApplication.skins.menuButtons" />
Is it possible what I want in another way or do I have to copy the skin to the all the projects where I want to use the skin?

View 1 Replies

Getting The Static Session Time After Quit The Application, Or Click A Button?

Sep 18, 2007

Below I have a counter program. the counter starts running once i open the swf file. Now I need to place a button where i can get the static session time like say 00:01:50 in a text box telling " You have been logged for+time+time. I dont have any idea how i can get the locked timer. The timer goes on running. I want the static time to be displayed when i click on the exit button too. Because exit button opens a page where this time will be displayed, so the user knows how long he has spent on my swf.

Code:
//initial variables
var timing:Boolean = false;

[code].....

View 1 Replies

Flex :: Different Uses Of Component And Module In Application?

Jun 9, 2010

purpose of component and module of flex app

View 1 Replies

IDE :: Flex Application As Custom UI Component

Dec 22, 2009

I'm making a UI for a component in Flash. I wanted to use Flex and have had no luck getting the onUpdate exernalInterface call to fire properly. I'm referencing the functionality described here: [URL]. First off, I can't embed the SWF in the FLA. It just won't start the Flex SWF. Even using the external swf, it seems that the onUpdate function is either called too early or not at all. Here's what I've tried:

Tying the externalInterfce declaration to the initialize, preinitialize, applicationComplete, and creationComplete events. Sub-classing my application and putting the externalInterface in the constructor. Neither of these options work. When I create a basic AS3 project in Eclipse and put the externalInferface in the constructor, it works as expected.

View 1 Replies

Flex :: Load My Own Custom Component Into An AIR Application?

Jul 23, 2009

I created separate own canvas component for Home page, Contact page, Rules page etc.In my main application it has link button like Home,Contact,Rules in application controller(child state) . [code]...

View 1 Replies

Flex :: What Component To Extend For Drawing Application

Jul 28, 2009

I wonder which component to extend in Flex 3 in order to make a drawing stage.

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 :: 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

Actionscript 3 :: Using External Xml Data In A Flex Application Without Compiling The Source Into The Application?

Jul 15, 2011

I want to read xml data to a mxml application from a xml file on my filesystem. The example I found was for AIR,link2, link3. But I want to target the Flash Player runtime. If I use the the tag, I can do it; however the xml compiles into my swf. How can I retain the xml file in my release build?

View 2 Replies







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