Flex :: Automatically Log-Out Users When They Close Their Browser?

Apr 23, 2011

When a user logs in and closes the browser without logging out, I want automatically log out the user in Flex3.

View 3 Replies


Similar Posts:


Php :: Automatically Log-Out Users When They Close Their Browser?

Apr 26, 2011

I'm using PHP as server side language and Flex as Front end. In my application there are different levels of users. According to operator's online status QC assigns some job online. I just want to update user's online/offline status when he closes the browser automatically. Flex calling PHP service but its not getting any response. DB(MySQL) is not getting updated.

View 3 Replies

Flex :: Osx - Cannot Retrieve The Browser URL For Mac OS Users

Jul 20, 2011

I'm developing a very simple flex application on Windows 7 64 Bits.It retrieves the user url and then show it:

public var bm:IBrowserManager;
protected function button1_clickHandler(event:MouseEvent):void{
bm= BrowserManager.getInstance();
bm.init();
Alert.show("Your URL is : " + bm.url);
}

On my Windows 64 Bits machine (Chrome, FF), it works fine and returns the URL.But, when I run my project on a Mac OS X machine (Safari, Chrome, FF) : it shows:

Alert.show(Your URL is : Null);

I think that it cannot retrieve the browser instance or cannot init the browser manager.

View 1 Replies

Actionscript 3 :: Flex TextInput With Default Mobile Skins Automatically Regains Focus On Callout Close?

Feb 20, 2012

I'm working on a simple auto complete function for my Flex mobile app. For that I've got a CalloutButton that triggers a Callout.The Callout holds some lists from which the user can select items. On item select, the callout gets closed (calloutButton.closeDropDown())The very same behavior is done for a TextInput. The user inputs text, the callout opens and according to the entered text, the lists change. Works fine so far. Now, when the user selects an item from any of the lists, the callout closes. Also fine.Now the issue, after the callout is closed, the TextInput automatically regains focus.On a mobile device this is more than disturbing.

I narrowed this behavior down to the mobile TextInput skin spark.skins.mobile.TextInputSkin) since a TextInput without this skin class doesn't show this behavior.Now you might say just use the default skin instead but unfortunately I can't. The default skin has a bug with Android devices that doesn't pass though the enter event. That I could live with since I'n not necessarily dependent on the enter event, however, the spark mobile skin allows be to continue entering text in the TextInput even after the callout has been opened, which is desperately needed as the lists change according to the entered text.I can't provide any code as the problem has been narrowed down to the skinClass, thus should not be in my own code. Believe me, I tried every nice and not so nice method to prevent the TextInput from getting focus again, but nothing worked.

Edit:Below the steps of my application's behaviour. (to be fair, the workflow inside the callout is a little more complex, I'm working with several lists and a SplitViewNavigator here (thus can't use the Flextras autocomplete), but that doesn't affect the TextInput focus issue I'm facing).ter text in TextInputOn key change a Callout with two Lists is opened.The first List receives results according to the entered text from a webserviceUser selects item from listSecond list receives results according to selection from first list from webservice User selects item on second listCallout closes

View 1 Replies

ActionScript 2.0 :: Close Browser By Clicking On Close Button Embedded Swf?

Jul 27, 2009

i want to close browser by clicking on close button embedded swf. I have tried fscommand("quit"), but which is not working on browser.

View 9 Replies

Flex :: Chatroom - Showing Who Is Online And What Happen If The User Close The Web Browser Without Disconnect

Apr 14, 2010

I have developed a simple chat room but how do I go about showing who is online and what happen if the user close the web browser without disconnect, will the user name in the online list be remove immediately? I use mx.messaging.channels.StreamingAMFChannel and set <subscription-timeout-minutes>3</subscription-timeout-minutes>

View 1 Replies

Flex :: PlayBook - Create A File Browser To Allow Users To Load Images From The Local System Into The Application

Mar 24, 2011

I'm developing an application for the Blackberry Playbook using Flash Burrito 4.5 and Flex. I'd like to create a file browser to allow users to load images from the local system into the application. I followed this example [URL] When I click on the Load Image button in the simulator however, the file browser pops up but tells me that "no file was found with the specified filter", even though I don't specify any filter or even if I specify a . filter.

View 2 Replies

ActionScript 3.0 :: Detecting Browser Close Event And Send Data To Database / When User Closes Browser Window

May 24, 2010

Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]

View 6 Replies

ActionScript 2.0 :: Any Way To Refresh Users Browser?

Jan 4, 2008

Is there a way to refresh the users browser using actionscript 2? I am showing some sensitive material that requires an NDA from the viewer. the material is in the form of .flv movies that are embedded in my flash site. After we allow people to watch the movies I go to our servers and delete the .flv files. however some web browsers keep this in their cache, like IE. So basically I want o know if there is a script I can use that will refresh the viewers browser after we view it and after I delete the .flv files causing the .flv files to no longer be in their cache.

View 1 Replies

ActionScript 2.0 :: Refresh The Users Browser?

Apr 11, 2010

is there a way to refresh the users browser using actionscript 2? my reason for this is... i am showing some sensitive material that requires an NDA from the viewer. the material is in the form of .flv movies that are embedded in my flash site. after we allow people to watch the movies i go to our servers and delete the .flv files. however some web browsers keep this in their cache, like IE. So basically i want o know if there is a script i can use that will refresh the viewers browser after we view it and after i delete the .flv files causing the .flv files to no longer be in their cache.

View 3 Replies

AS2 :: Close Browser Window With It?

Apr 1, 2010

I'm currently working with a flash movie that opens up an IE browser to an external link.Since I'm working with a presentation that plays automatically after a few seconds and keeps loading new IE browsers with different links, I was wondering if there was a way with AS2, i can have flash close the IE window it opened?

View 1 Replies

ActionScript 2.0 :: Close Browser Without Confirmation?

Mar 11, 2003

When I use the code below:

[code]...

I get a "This Page you are viewing is trying to close. Do you want to allow it to close?" with a Yes and No buttons.Is there another way to do it without the confirmation? If you want to see it, click on the "Exit" on the following link: [url]

View 4 Replies

ActionScript 2.0 :: Close A Browser Window?

Mar 6, 2008

Quick question is it possible for perhaps actionscipt and javascript to work together to close a browser window? So when they click exit within flash it unloads the move and closes the browser window it is in?

I've already got the movie unloading it is just the html window.

View 6 Replies

ActionScript 3.0 :: Close Browser Button No Pop Up Window?

Feb 7, 2008

I am wondering if you can do a close button in a Flash movie if you do not launch the page via a pop up window?

If so, how do you do this?

View 3 Replies

ActionScript 3.0 :: Close Browser Window From Flash?

Mar 11, 2010

I simply want to close the browser window from Flash. The browser window may or may not be a popUp window.

This is what I have, but it is not working:

ActionScript Code:
public function closeBrowser(e:MouseEvent):void {
var req:URLRequest = new URLRequest("javascript:window.opener='x';window.close();");
navigateToURL (req);
}

View 7 Replies

ActionScript 2.0 :: Close A Browser Without Being Connected To The Internet

Nov 3, 2010

I am working on a secure network in which the computers have and will never touch the internet (yes, its sad). I am putting together a series of documents in Flash while using AS2. With the system we are using they have to be embedded into a HTML page so the old fscommand is out. Also without being connected to the internet or opening these documents w/ javascript good ol' getURL("javascript:window.close()") will not work either.

View 0 Replies

Actionscript 3.0 :: Command To Close Browser Window?

Jul 22, 2009

close w browser window from within the movie, on a button click. I have read zillions of posts and threads, including old stuff dating since 2000 and nothing seems to work.

Code: Select allgetURL("javascript:CloseWindow();");

and tried to "translate" to AS3, doesn't work. Tried to use fscommand "quit", but just got totally lost. The best I did is being able to close SWF when it plays alone, but it doesn't work when it is embedded in HTML.....

View 6 Replies

ActionScript 3.0 :: Close The Browser Window By Fl Button

Aug 24, 2009

I have my game in a browser window (incredible !). I put a red cross in top of my game and want that it close the window. I'm using the following code :

[Code]...

View 1 Replies

ActionScript 3.0 :: Close The Browser From The Flash Window?

Jun 10, 2011

how to close the browser from the flash window?

View 1 Replies

ActionScript 3.0 :: Close Browser Window From Within Flash?

Mar 18, 2010

I'm trying to simply close a Browser window from within flash... code below:

Code:
closeButton_mc.addEventListener(MouseEvent.MOUSE_UP,closeWindow);
//
function closeWindow(p_evt:MouseEvent){[code]....

When the button is clicked, the code seems to open a new browser window then close it immediately, looks like a flicker on the screen.

View 5 Replies

Java :: Enable Intranet Users To Take Screenshot Of The Current Page Via The Browser?

May 22, 2011

Is it possible to create a screenshot from the current page the user is on? (It's for an Intranet enviroment).

I know this is not possible with JavaScript alone, but is it possible with Flash or maybe an Java applet?

I have been searching around but I couldn't find anything.

View 3 Replies

ActionScript 3.0 :: Make Flash Website Full Screen Inside Users Browser

Feb 20, 2010

im trying to make my flash website full screen inside the users browser, is there any way of doing this to the flash file inside the index file? Ive found it hard to find this info online as i dont mean properly full screen, just full screen inside the browser.

View 3 Replies

ActionScript 2.0 :: Close Browser Window On Clicking SWF Quit Button

Mar 2, 2009

Any suitable script that will close the browser on clicking a swf quit button as the fscommand below does not work.
close_btn.onRelease = function(){
fscommand("quit");
}
This is for a Moodle application where the swf is opened in a new browser window and it would be cool to close it with the swf quit button.

View 1 Replies

ActionScript 2.0 :: Eliminating Prompt, When Using Command To Close A Browser Window

Nov 20, 2003

I am using this command to close a window in flash ms 2004:

Code:
MyButton.onRelease = function ()
{
getURL("javascript:window.close();");
}

But when , I click the button that executes this command, it prompts a window asking me if I'm sure I want to close the browser. How can I eleminate this prompt?

View 1 Replies

ActionScript 2.0 :: Eliminating Prompt When Using Command To Close A Browser Window

Nov 20, 2003

I am using this command to close a window in flash ms 2004:[code]But when , I click the button that executes this command, it prompts a window asking me if I'm sure I want to close the browser. How can I eleminate this prompt?

View 1 Replies

Flash :: Automatically Resize In Browser?

Aug 17, 2011

I'm pretty new to Flash  but working it out. Just one question: how does one make it so the Flash animation automatically resizes depending on the resolution  of the user's screen? I made a site with a Flash video that looks perfect on my screen, but when my friend with a different resolution goes to it, evertyhing is out of whack..

View 3 Replies

ActionScript 3.0 :: How To Automatically Clean Browser Cache

Aug 23, 2010

Is there a way to set up a method to clean browser cache every time user visit your website?

View 5 Replies

ActionScript 2.0 :: Browser Window Resizes Automatically ?

May 28, 2002

how to make the browser window resizes automatically by clicking on a button in a flash movie [URL]

View 1 Replies

Flash MovieClip To Automatically Go Full Browser In Chrome?

Aug 12, 2011

I want my SWF to fill the browser window, but it's not working in Chrome/FireFox unless the user manually resizes the browser. I'm using Adobe's default, generated html + swfobject.js to show my SWF. In the html, I replaced all flashcontent heights and widths with 100%. Unfortunately, in Chrome when you first open the page the Flash MovieClip doesn't fill the browser and instead retains it's default height and width.

If the user resizes the browser window, everything works fine. Is there a javascript trick or something I can do to make the Flash think it's being resized? I never want scrollbars to appear. I want my application to scale and fill the browser window perfectly -- I want it to get really small if the browser is small and really big if the browser is big. Basically, I want my app to run like a normal Windows app, such as Visual Studio, but in a browser.

View 2 Replies

ActionScript 2.0 :: Clearing Cache Automatically When Browser Closed

Aug 26, 2005

Is there any way to clear a flash file and html file from cache as soon as the browser is closed? I hate having to clear my cache everytime!

View 1 Replies







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