ActionScript 1/2 :: User Authentication Not Working On Site

Oct 29, 2009

Got a site almost complete however the user authentication isn't working. Simply put, I wish my website to reference a PHP file, which is echoing a users authentication level. Via the Actionscript, Flash pushes the user to the frame on the timeline they have the authority to view.

My PHP Code
<?phpecho 'checkLog=999';?>

My AS2 Code - This code is pasted in the first frame of the timeline
appname="mikesapp"loadVariablesNum("newlogin.php", 0, "POST");
//This verifies the users status and forwards them to the portion of the website they are authorized to access.////Auth Level 100 = Regional Access, Auth Level 200 = Franchise Access, Auth Level 300 = Employee Access, Auth Level 400 = Denied Access and Back Button as they do not have the privileges to move forward from there.//

this.onEnterFrame = function () {
if(_root.checkLog == 100){
_root.gotoAndStop("regional");
} if(_root.checkLog == 200){
_root.gotoAndStop("partner");
} if(_root.checkLog == 300){
_root.gotoAndStop("employee");
} if(_root.checkLog == 999){
_root.gotoAndStop("denied"); }}

Because the "checkLog" value is 999, the user should be forwarded to the "denied" label in the timeline however it is not as the site simply loops over and over. I'm sure Flash is accessing the "newlogin.php" file as when I rename it, flash errors stating it cannot locate the file. I have changed it back to the correct name since.

View 11 Replies


Similar Posts:


ActionScript 2.0 :: User Authentication Using PHP

Oct 30, 2009

I'm building a site that is placed behind a client login tool. I simply need my site to verify the users "authentication level" so they are forwarded to the correct "label/frame" on my time line.

I.E. Owners go to the "Owners" label on the time line, Managers go to the "Managers" label on the time line and Employees go to the "Employees" label on the time line.

I know Flash is accessing the PHP file as when I change the name of the PHP file, Flash provides an error. Therefore, I'm assuming it's reaching the file as I'm not getting any compiler/output errors.

My Actionscript

stop();
loadVariablesNum("newlogin.php", 0, "POST");
{
if(_root.checkLog = 100)

[Code].....

This PHP file is stored in the same folder as the FLASH SOURCE files and is pointed to it through it's local address ("newlogin.php", 0, "POST);

View 1 Replies

Media Server :: Can't Add User Name In An Authentication Add-in

Jul 21, 2010

when i enter the following commend users add -u username -p password it returned the following error users: invalid option -- u

View 7 Replies

Flex :: Cakephp User Authentication For Adobe Air App?

Feb 15, 2012

I have a web application developed using flex and cakephp. My client need to make a desktop application of that web application using Adobe Air. The conversion of the flex to Air is done successfully. I the flex application the communication of flex and cakephp is handled using a remotes controller. In air application I have a problem of authenticating the user with cakephp default user authentication

View 2 Replies

Php :: Php Authentication (2) Launch A Flex App Which Knows The User Has Already Been Authenticated

May 30, 2009

Almost everything is in the title : Here's what I'd like to do :A nice html page with a php authentication process (http first then http**s** & so on) Launch a flex app which knows (I don't know how (this is the actual question !)) the user has already been authenticated and display his/her stuff he/she has to do for the day (or whatever...).

Of course if someone try to call directly the flex app I would display an "authentication error" message and then redirect to the authentication page.I'm sorry for my English which is perfectible.I was thinking about the session cookie : first authenticate then ass a variable on the server side, something like :

[Code]...

View 3 Replies

Python :: Flex Application - Custom User Authentication?

Jul 27, 2010

I'm using Google Engine App with Python. I want to add custom user authentication. How is it done, with the best practices? I want custom authentication because the app is built in Flex and I don't want to redirect to an HTML page.

The user value object is like this:
class User(db.Model):
email = db.EmailProperty(required = True, indexed = True)
masked_password = db.StringProperty(required = True)
# maybe more things here

I would like to mask the password, is there some built in function in GAE? Then, how I will remember the current user? Through sessions and cookies? Or what else?

View 2 Replies

Media Server :: Broadcasting From Several Sources With The Possibility User Authentication?

Jan 25, 2010

we would like to purchase Flash Media Interactive Server 3.5 to solve the following problem

1.Broadcast network internet lectures on a paid subscription,with the possibility user authentication.

2. Broadcast video and audio.

3. Broadcasting from several sources (1 camera, 2 camera, TV tuner, etc.)within a single stream with the possibility of the user to choose the viewing source, other sources at this time, you can view the preview.

4. The intended audience for 10 000 users and more. 5. Estimated flow rate of 1 megabit per second.

1. Is it possible for broadcasters to use a single server, or they need more?     What configuration? 2. Does Flash Media Interactive Server 3.5 multicast? 3. How to make the system user authorization? Additional software, plug-ins? 4. How many users can simultaneously connect to the broadcast Flash Media Interactive Server 3.5 and how we calculate the bandwidth and outbound traffic?

View 1 Replies

Flex :: Check Spring Security For User Authentication And Get Roles?

Jul 22, 2009

I'm using Spring, Spring Security, BlazeDS, Flex and spring-flex.I know that I can call channelSet.login() and channelSet.logout() to hook into Spring Security for authentication.channelSet.authenticated apparently only knows about the current Flex session, as it always starts off as false, until you call channelSet.login().hat I want to do: Check from Flex to know if a user is already in a session.

View 3 Replies

Media Server :: Get Authentication Working Again Without Restarting Whole Fms Process?

Feb 23, 2012

I am sometimes (sporadically) facing the problem, that I cannot connect to FMS server with FMLE, using username and password.When I then restart FMS everything is working correct again. A customer discribed that he was not able to reconnect to the fms, as soon as he closed the FMLE without stopping encoding process?I am using the default authentication plug-in in FMS 3.5.6 on a 64-bit Debian.Everything else is working correct, only reconnecting with encoding-software (like FMLE) is not working.Is there any possibility to get the authentication working again, without restarting the whole fms process?

View 8 Replies

Flash :: Working Fine In Local System ... Not Working In The Live Site

Nov 5, 2009

I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]

View 12 Replies

Flash Working Fine In Local System / Not Working In Live Site

Dec 14, 2009

I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...

View 2 Replies

Media Server :: Flash Media Live Encoder Authentication Add-In Not Working?

Mar 30, 2011

I have installed the Authentication Add-In on a FMS 3.5.5 Development version, running Windows 2008 Server.I can easily get to the users.exe command prompt and add users with no problem.BUT, when I open the Flash Media Live Encoder and go to enter a username/password when connecting to the server, I keep getting "User Not Found".I've went back several times using users.exe and tested for my user credentials and it always states that the user is there.

View 1 Replies

Flex :: Windows Authentication Is Not Working In Flex

Feb 2, 2011

We have a situation where a web application within an intranet requires windows authentication. This way employees of the company can login to their desktops and have automatic access to the web application and also be identified automatically without having to login because Windowns Authentication takes care of that. The problem is that we've added a Flex module to the web application. The web application comes up fine and authenticates the user can then navigate to the page where we have the Flex application. Which loads fine. The problem is that the Flex application also needs to communicate with the same server about this user but this communication is not working and is prompting the user for a password. Even if the correct user/pass is entered it fails and the Flex application can't talk to the server which requires Windows authentication.

Our expectations was the since the IE browser housing the flex application was already authenticated that all communication from the Flex app would also carry with it the necessary information to enable it to access the server without authentication.

View 2 Replies

Professional :: User Able To Download A PDF File From Site?

Sep 10, 2010

Another question, how or what do I do to enable a user to download a PDF file?

View 3 Replies

ActionScript 2.0 :: Enable The User To Download A Pdf From Site?

Jan 21, 2009

actionscript 2 code to enable the user to download a pdf from my site?

View 3 Replies

ActionScript 2.0 :: How To Prompt User To Install ActiveX On Visiting Site

Sep 13, 2011

I have a flash site that I maintain very casually (just a hobby). But recently, after a fresh install of Windows on my laptop, I went to my site in IE and nothing would happen - it was just a blank, white page. I have since discovered it was because I needed to install ActiveX on my computer- after having done so, the page now works perfectly in IE. So my question is this: how can I prompt the user to install ActiveX if they haven't already when they go to my site? I made my site in Flash MX 2004 (super old, I know).

View 2 Replies

ActionScript 3.0 :: Building Flash Site That Ends Up With User Input Fields?

Oct 20, 2008

I am a newbe to Flash and I have built a flash file that ends up with user input fields which write data to my 1shoppingcart autoresponder. From 1shoppingcart I got the HTML code to capture my website visitors name, email & phone number.

<form name="form1" method="post" action="[URL]">
<input name="merchantid" type="hidden" id="merchantid" value="111555">
<input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="[URL]">
<input name="copyarresponse" type="hidden" id="copyarresponse" value="1">
<input name="custom" type="hidden" id="custom" value="0">
[Code] .....

When I try to submit the information from my new flash website it does not work and when I did a trace on the application all of my variables seem to be working correctly but not in the same sequence as I had added them to the Actionscript. The only other difference on the trace is at the end of the correct post I get the following fields.
bh_is
bh_fv
bh_fx
bh_iw
bh_ib

View 1 Replies

User Interface - Continuous Flash Music Player While Navigating Site

Jun 16, 2010

I have a site that includes a Flash music player integrated into the layout. I want users to be able to navigate around the site without interrupting the music. I've done plenty of research and thinking and the following are the options I came up with (keeping in mind I want to be as SEO friendly as possible).

AJAX: I set up a version that changes the main content div to whatever nav link they click, thereby not interrupting the Flash player. I set it up in the proper search-engine-friendly manner with direct links and JQuery/Ajax functions. If someone goes to site.com/ and clicks the Contact nav link, it loads what's in the main content div on site.com/contact.php into the main content div and changes the URL bar to site.com/#Contact. The same goes for if they go to site.com/contact.php and click About in the nav, it loads the About content and changes the URL bar to site.com/contact.php#About. Obviously this opens up a whole new can of worms with AJAX and hash navigation/history issues, and I would end up with people possibly linking to things like site.com/contact.php#About (which I think looks terrible and can't be too great for SEO). Store the Flash player vars somewhere and reload them with the page: I'm not sure how to go about this, but I thought about keeping my regular navigation without AJAX and have it so when a user clicks a nav link, before it changes pages it stores the Flash player vars (current song and song position) somewhere, then loads them into Flash when the new page loads. Something with an iframe? Good alternative to a Flash player that will work for this type of application?

View 4 Replies

Flash Movie To Open New Window When Button Is Pushed Instead Of Taking User Away From Site

Jul 11, 2010

I just want part of my flash movie to open a new window when the button is pushed instead of taking the user away from my site.

View 2 Replies

IDE :: Buttons Not Working On Site?

Dec 5, 2008

I have some buttons in a movie clip, and while they work when previewing flash, they don't work in the browser. I am using geturl on the buttons, and I'm thinking they are not functioning because they are within movie clips.

View 1 Replies

Actionscript 2.0 :: Full Site Not Working

Mar 19, 2012

I am new to flash and my site is not working.it is on URL... HERBALIFE is meant to be on top of the page and it is missing a lot of the text/I published it and the swf does not work. I saved the .fla file and published as .swf

View 3 Replies

ActionScript 3.0 :: RSS Feed Working On Hosted Site Only?

Mar 15, 2009

why is that the news item links on [URL] work

and when the same swf is embedded here, the links do not work? [URL]

how can I go around this?

corssdomain: [URL]

I am using [URL]

View 1 Replies

Flash Player Stopped Working On Web Site?

Aug 10, 2009

Flash player stopped working on web site Friday afternoon August 7th -
 
><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,29,0" height="105" width="803" align="left" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">

[code].....

View 1 Replies

ActionScript 1/2 :: Site Audio Links Not Working?

May 21, 2010

I have  built a site  for a client using AS2 which contains links to streaming mp3s. The audio  loads and runs just fine in Safari but malfuntions/doesn't even play in  other browsers.

Here  is the site in question: [URL].. I'm hoping that one of you lovely gurus out there can help me resolve  this problem. If needed, I can supply the .fla.

View 3 Replies

Professional :: Flash Site Not Working In Some Web Browsers?

Apr 15, 2011

Back in 1999, I taught myself how to use Flash (it was before Actionscript). I used it to make a funny website called Mirsk-T: [URL]..I also created some basic HTML on the site's front page to determine whether a visitor had Flash version 4 installed. If the person didn't, then the person would see a page with a link to Adobe's download site.
 
Now, it's 12 years later and I haven't used Flash since I created Mirsk-T in 1999. I also haven't done any HTML coding either. But I'm having problems getting Mirsk-T to work with certain browsers. The site works fine with Safari, Internet Explorer 6 and 7, and OmniWeb. However, when I access the site with Firefox or Chrome or Camino, I see the GIF image I created that appears when a visitor doesn't have Flash installed. And I know I have Flash installed on those browsers.
 
I therefore have no idea why the site isn't working with those browsers.
 
A few more details: The Mirsk-T site consists of two different pages. The opening page is at www.mirskt.com (www.mirskt.com/index.html). It consists of a Flash movie that is a song with animated lyrics. Once the song ends, visitors are taken to [URL]..The page with the song is what's not loading in Firefox, Camino and Chrome. If I directly put [URL]..into the browser bar of Firefox, Chrome and Camino, that part of the site works. So, there's something strange going on with the HTML in the page with the song. I'm guessing the HTML I had written back in 1999 for detecting Flash is not working anymore somehow.
 
So, I'm wondering if anyone has any idea why the front page (the Flash movie with the song) isn't working in some browsers. I don't know if I'm skilled enough to be able to change the HTML even if someone here knows what's wrong. But then maybe someone here could do me a favor and quickly fix the index.html file. I'm guessing it would only take a few minutes for someone who knows what he/she is doing.

View 2 Replies

ActionScript 3.0 :: Scrollwheel Not Working When SWF Uploaded To Site

Nov 17, 2009

I have a thumbnail scroller, it's working when I preview it in flash or in IE when the files are not on my server, however when I upload them to my site, the scrollwheel no longer works.

View 1 Replies

ActionScript 3.0 :: Flash Site Button Not Working From A Certain Frame.

Jul 11, 2009

I've got a nearly completed Flash site, but one of the buttons isn't working--sometimes.

It's hard to explain, so here's how you can see the problem. Run the .fla below, wait for the animation to stop, and click the "services" star. Two more stars appear: "design and production" and "editorial." If you click on "design and production" first, everything works fine. You can get to editorial and everywhere else. BUT if you click on "editorial" first (after clicking "services" but before clicking "design and production"), the "design and production" button doesn't work from there (the "editorial" label frames in the "inline_frame" movie clip).

I've got several Actions keyframes in the "inline_frame" movie clip--I don't know if that's kosher or not.

View 1 Replies

ActionScript 2.0 :: MX Cross Site Script - GetUrl Not Working

Oct 26, 2009

I have a very simple button with a GetUrl action. The flash is being embedded via a script, using document.write method. All works as expected when the script is hosted within the webiste. I need to host the script externally though, on a remote website (its a banner script). The problem is that when I embed the movie using the REMOTE javascript file, i.e. [URL], the simple GetUrl does not work at all.

I'm sure this is something related to security or cross site scripting, but I'm equally sure there's a way around this. Affiliate banners use flash to do the very same thing (somehow).

View 3 Replies

ActionScript 3.0 :: Flash Site Button Not Working From A Certain Frame?

Nov 23, 2009

Run the .fla below, wait for the animation to stop, and click the "services" star. Two more stars appear: "design and production" and "editorial." If you click on "design and production" first, everything works fine. You can get to editorial and everywhere else. BUT if you click on "editorial" first (after clicking "services" but before clicking "design and production"), the "design and production" button doesn't work from there (the "editorial" label frames in the "inline_frame" movie clip).I've got several Actions keyframes in the "inline_frame" movie clip--I don't know if that's kosher or not.

View 2 Replies

Flash :: Professional - Slideshow Working On A Portion Of The Site

Feb 4, 2011

I have created two photo slideshows to put on a site I'm working on. One is on the home page and it seems to work fine. The second is on another page. This one is not working for some reason. I published it in the same way I did the first from Flash Professional. When I post the slide show on the home page it works. When I take the slidshow from the homepage and put it on the second it does not work.

View 1 Replies







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