In Progress

Action script expansion of password area code

I have built a small password area using Flash and basic action script (attached). Right now there is a login and password which directs the user to a SINGLE URL. I need to set a new parameter DEFINING FIVE separate URLs to direct people who log in. The current Flash is drawing from an XML defining each user in a single line of code as follows:

<user email ="bknijnenburg" password="elc42961" endMonth="01" endDate="01" endYear="2055"/>

I need one more parameter in there that gives each user a number - 1 through 5 - which will re-direct them to one of 5 pages.

This is the current code on the "submit" button:

on (release) {

lighting_members_xml = new XML();

[url removed, login to view] = true;

[url removed, login to view]('[url removed, login to view]');

[url removed, login to view] = function(success) {

if (success) {

var userString = [url removed, login to view];

while (userString != null) {

emailXML = ([url removed, login to view]);

passwordXML = ([url removed, login to view]);

endMonthXML = ([url removed, login to view]);

endDateXML = ([url removed, login to view]);

endYearXML = ([url removed, login to view]);

if ((emailBM == emailXML) & (passwordBM == passwordXML)) {

var todaysDate:Date = new Date();

UTCmonth = (([url removed, login to view]()+1));

UTCdate = ([url removed, login to view]());

UTCyear = ([url removed, login to view]());

if ((UTCyear<endYearXML) || (UTCyear == endYearXML & UTCmonth<endMonthXML) || (UTCyear == endYearXML & UTCmonth == endMonthXML & UTCdate<=endDateXML)) {

getURL("members1234/[url removed, login to view]");

timesUp = false;

userString = null;

} else {

timesUp = true;

userString = null;

}

} else {

userString = [url removed, login to view];

}

}

}

if ((userString == null) & (timesUp == true)) {

gotoAndStop("expired");

} else if ((userString == null) & (timesUp == false)) {

gotoAndStop("first frame");

} else {

gotoAndStop("try again");

emailBM = "";

passwordBM = "";

[url removed, login to view] = true;

}

};

//end of if(success) function

}

//end of [url removed, login to view]

It should be V ERY simple to do this - please only respond if you UNDERSTAND this code and KNOW how to build in this aspect.

Many thanks! Fiona

Skills: ActionScript, Adobe Flash, XML

See more: password please, html 5 basic code, how to null a script, defining you, single line, null, new expansion, build a action, action script, expansion, login using xml, html attributes, script load, script action, html xml login, script email html, html script onload, single line drawing, function drawing, action script flash, need password login, null flash script, login password url script, simple url script, flash login script

About the Employer:
( 30 reviews ) the hague, Netherlands

Project ID: #1102084

Awarded to:

phpthebest

Hi ,I finished your project ,check PM

$30 USD in 0 days
(105 Reviews)
5.9

6 freelancers are bidding on average $30 for this job

vinceas3

Ready to begin when you are :)

$30 USD in 0 days
(20 Reviews)
5.2
Desert50

Check please PM

$30 USD in 0 days
(28 Reviews)
4.9
kayoub5

see PM thanks

$30 USD in 0 days
(5 Reviews)
4.2
rosepixel

Check PMB Please.

$30 USD in 0 days
(0 Reviews)
0.0
multimediacoder

Hi, We are the team of developers having strong experiences in Interactive web development in PHP, Flash AS 3.0,2.0,1.0 and Flex, Game Development and Designing. would like to work on this [url removed, login to view] deliver this More

$30 USD in 0 days
(0 Reviews)
0.0