ActionScript 3.0 :: Get The Current Logged In Username From Windows And Put It Into A Var
Jun 15, 2010how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
View 13 Replieshow to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
View 13 RepliesI am making a small game in flash, I would like to track scores but I cant figure out how to call the current username from joomla using actionscript. (creating the game in flex3)
View 1 Repliesi try to write a code for link to url in current windows...and i find it but it doesn't work..
View 2 RepliesI have a website that was created with flash 8 AS 2.0 [URL] we want user to register to be able to view some of the pages like pictures and such. it all works fine but i don't know how to keep them logged in in the session. When they leave the page they they logged in to and try to go back to it it asked them to log in again. I don't want them to do that i want the action script to keep the session logged in.
View 1 RepliesI just started checking out using actionscript and facebook API documentation. I was wondering how I could display a facebook users name and profile picture in my SWF so when the user visits my site it shows their info (they will already be logged in)?
View 1 RepliesI am trying to secure my Flex application within my Java web application. Currently my Java web application, handles logging and managing user accounts and the like. I was wondering if there is a way to essentially share that user credentials with the Flash movie in a secure mechanism? For instance, if you log in, we want you to be able to save items in the Flex application for that user, only if that user is logged in of course. I'm running Tomcat 5.5, Java 6 doing portlet development inside a Vignette Portal. All data communication is via Blaze DS. In our environment, we have data services and the portal handles logins, user management and the like. Currently we are simply passing down the username to the flash movie, which I don't feel is very secure.
View 2 Repliesgetting the list of the users currently connected to a BlazeDS server? Is there any built-in mechanism of knowing this? or do I have to implement some kind of server side logic every time a user access my Flex application and store all logged in users details somewhere and retrieve them later?
View 1 RepliesI want to check if a user is logged using sendandload from flash to php. This is code I'm using
Code:
var obj:Object = new Object();
function getLoggedStatus() {
//Impelement XML SendAndLoad/////
varSender = new LoadVars();
varReceiver = new LoadVars();
[Code] .....
When I test the code
trace("returning "+this.islogged); which is inside the onload function traces after trace(logStatus.islogged); which is inside onRelease of the button. So logStatus is undefined. How can I eliminate this.
I want to make a game where a user logs in. Once the user logs in, they have access to a database (let's just say a database of weapons). They could choose a certain amount of "weapons" and every time they log in, they still have the same weapons, regardless of cookies, because the "weapons" are linked to their username. Then the users could use their weapons to battle other users. Also, the user's username keeps track of their wins and losses. I have newb to basic flash knowledge (I took an animations class); I could animate, make buttons, websites, etc. Does anyone have some insight that could point me in the right direction?
View 2 RepliesHere's the battle plan:
User logs into website.
User clicks the Play button and a new window opens with the flash game in it.
If the user is logged into website, have the flash game load. Otherwise ask him for credentials.
Is this type of interconnectivity possible? Can I give a flash object (.swf) something to use?
How are you able to grab the Window NT Logged User Name using Flex/Actionscript. I have worked with attaining these credentials in ASP.NET, but I am new to the realm of Flex and need some assistance
ASP.NET code looks as follows Getting the User Name : using three ways we can get the User Name using C#
[Code]...
I have implemented the login capability to my application using Flex(Blazeds)channelset login. But there is a strange problem, after about 2 minutes of inactivity if I try to perform any operation I see that my channelset has been been forcefully logged out Is there some configuration which I need to do in order to prevent this from happening. I tried adding this in my web.xml, so that the session persists but it didnt help my cause.
<session-config>
<session-timeout>10</session-timeout>
</session-config>
I have tried installing and unistalling the Adobe Flash Player several times to get it to work, but it is not helping. It won't work when I am logged into my facebook account.
View 1 RepliesI'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
[Code]...
I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr
Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center
[code].....
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
View 1 Repliesi setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.
View 1 RepliesI have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
View 1 RepliesI want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
View 1 Repliesdoes anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
View 1 Repliestrying to get the name of the user in Flash (not FLEX) without the PHP. Currently I have the session, the uid. But from here could not move forward towards getting the name.
var fbook:Facebook;
var api_key:String="xxxx";
var secret_key:String="xxxxx";
[code].....
I need to display a Username in a Flash Banner in my website. The Site is PHP and the header is made in Flash. My requirement is that, when a user Logs in, his name should be displayed in the Top of the site (in the Flash banner here) like "Welcome User". Is it possible ? I have the PHP file which displays username. All I need is that to merge it to the flash banner (through actionscript, isnt it ?)
View 1 RepliesI am just learning AS. I am trying to make a username and password box that will return a welcome message if the two text fields are entered correctly and a "Sorry Charlie" message if they are not.
I am using an If-Else statement. If I have the Else part commented out, I am able to enter text into the two text fields and get a welcome message. With the else statement though, I am not able to finish entering text in the second text field before the "Sorry Charlie" message appears.
[Code]...
i have a problem while username and password validation.i retrieved data (username and password)from an xml doc using http service but the problem is that i have to verify the username and password entered by he user with the username and password of the xml doc...
my xml doc is as follows:
<employees>
<employee>[code]....
I am trying to get the facebook username set to a flashvars and then pass it to a swf, like so:
var flashvars = {
AppID: "my_id",
Name: "" };
function init() {
[Code] .....
but the Name flashvars is showing up blank, is there another way to do this?
I'm using Flash CS4 Professional, and I'm using AS2 because I think it's a lot less complicated than AS3.I've found a few things on the internet that but I'm wondering if someone could just clear this up for me straight away.I have an input text field with instance name "username", and another named "pass". I then have a login button which has the action play();Once username and password have been filled out and the button is pressed, it plays until frame 3. Frame 3 only has the stop(); action in it for now. Here's what I need the rest of the actions to be:I want it to check the username and password against a text file. The text file reads:username=tylerngataki&pass=12345I then want an if/else operation like:
If (condition) {
statement
} else {
[code]....
I've been working with this tutorial:[URL] Using AS1, I've been able to extract a variable from a SWF, e.g. the SWF has a querystring associated with it, in the HTML of the web page on which it is embedded:
Code:
<param name="movie" value="loaderInfoExample.swf?userName=TestUser" />
<embed src="loaderInfoExample.swf?userName=TestUser" ....
It's easy to get the variable into AS1 - it's just there, without doing anything. I've tried to do the same in AS2, but I can't get it to work, using Permadi's page. All I want to do is to get the value of the 'userName' var from the SWF Querystring, into a variable in the SWF. The example on the Permadi page didn't work - I may have been doing something very wrong of course.