Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Load Variables From What The User Types In Address Bar



Hi,

I was just surfing and suddenly I found this site... www.youaremyfriend.com

How this site function really surprised me and I really want to learn how I can do the same thing myself. I hope some of you help me

What the site does is that you can put your first and last name before the domain name in the address bar and the flash file will use your enterd first and last name in the playing animation! Try this... www.Jack.Smith.youaremyfriend.com

Have any idea how it works?
Hadi



FlashKit > Flash Help > Flash ActionScript
Posted on: 07-26-2006, 02:12 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Match Variables In A Drop Down Box As User Types?
I have created a drop down with the variables and would like the user to be able to choose from that list or type in the text field. But as the user types in the text field the drop down menu would jump to the nearest matching variable.

Thanks!!!!!!!!!!

Load Variables From Address Bar
i founded out, there is a way to load vars from addressbar like ../movie.swf?user=fphilipe .
i don't know how it works but i know it works. ultrashock uses this in the main page:




<param name=movie value="homepage-new78.swf?initData=Hey+Fphilipe%2C+welcome+back+%21%21%21%0AYour+last+visit+was+on%0A2004-01-19+18%3A32">

does somebody knows how it works???

Load Variables From Address Bar
is there a way to load variables from the address bar?
i mean like "../flash.html?name=BlaBla&email=blabla@bla.com"
it shoulds appear in the flash movie inside the html in dynamicfields.

Load Variables From Address + Username Add
i am trying to make a login for my site and i have the save text files to my server and that takes what ever you put in as your username and save a txt file that is username.txt so if you put in steven as your username it would save steven.txt

Any way i have that working and i need a login but i cannot get it to look somewhere on my server and what ever is in username it will load up that file +".txt" can you help me get it looking in say /members/username add ".txt"

Load Variables Email Address From Text File Anyone?
I have the code below attached to a movieclip which i am attempting to use to call in an email address from a text file. The idea being that the textfile can be altered by a luddite, and the recipient email adress changed in the flash file.... but i'm not doing too well...!

The best i have achieved is undefined email or garbage.

all help greatfully received. thanks.

___________________________________
on (rollOver) {
this.gotoAndPlay(2);
}
on (release) {
loadText = function(){
loadText = new LoadVars();
loadText.load("email.txt");
loadText.onLoad = function() {
emailAddress = this.eAddress;
}
}
submit.onRelease = function(){
getURL("mailto:"+emailAddress);
}
}
on (rollout) {
this.gotoAndPlay(1);

User Types Input For Solution
I have a user submission game, where the user types letters into text fields. The code below checks to see if the user is correct. The letters have to be typed into the correct input text field. If everything is correct, then a movieclip gets played which takes the user to the special solution screen.

This worked with a test where I had only one short word, but now that I have serveral words, it will work if all of the correct letters are present, regardless of their order. I figured the code below was specific enough, that it mandated the correct input fields to have the correct letters typed into to them. Below this code I will paste one input field code - so you can see that also.

How can I enforce that the correct response is given in order to advance the user?

Thank you very much for reading.


Code:
stop();
this.onEnterFrame = function() {
if (letrAOne == "A" || letrAOne == "a" && letrATwo == "A" ||
letrATwo == "a" && letrDOne == "D" || letrDOne == "d" && letrDTwo
== "D" || letrDTwo == "d" && letrEOne == "E" || letrEOne == "e" &&
letrETwo == "E" || letrETwo == "e" && letrEThree == "E" || letrEThree
== "e" && letrEFour == "E" || letrEFour == "e" && letrLOne == "L" ||
letrLOne == "l" && letrLTwo == "L" || letrLTwo == "l" && letrLThree
== "L" || letrLThree == "l" && letrTOne == "T" || letrTOne == "t" &&
letrLTwo == "T" || letrTTwo == "t" && letrNOne == "N" || letrNOne
== "n" && letrNTwo == "N" || letrNTwo == "n" && letrM == "M" ||
letrM == "m" && letrS == "S" || letrS == "s" && letrO == "O" || letrO
== "o") {
_root.matcher.gotoAndPlay(2);
delete this.onEnterFrame;
}
}

Code:
letrAOne = inputAOne;
if (letrAOne == "A" || letrAOne == "a") {
_root.letterAOne.gotoAndPlay(2);
answer = "Right" ;
} else {
answer = "Wrong" ;
}

Returing User Types From Interfaces ?
Hey .. I have a an interface definition as follows:

Code:
interface com.aftercad.RealWorld.ICommand {
public function serialize( Void ):String;
public function deserialize( nameVal:Array ):Void;
};
in my ICommand.as file.

I then have another file IReceiver.as .. that looks like this

Code:
import com.aftercad.RealWorld.ICommand;

interface com.aftercad.RealWorld.IReceiver {
public function getName( Void ):String;
public function getReceiveCommand( Void ):ICommand;
public function execute( receiver:Object ):Void;
};
The problem is in
public function getReceiveCommand( Void ):ICommand;

where it gives the error:
The class or interface 'com.aftercad.RealWorld.ICommand' could not be loaded.
public function getReceiveCommand( Void ):ICommand;

I can not seem to return any User class.. other then "IReceiver"

I am new to AS ... and this might be a simple syntax problem... but i have had little luck tracking down the answer.

Thanks in advance.

User Types Input For Solution
I have a user submission game, where the user types letters into text fields. The code below checks to see if the user is correct. The letters have to be typed into the correct input text field. If everything is correct, then a movieclip gets played which takes the user to the special solution screen.

This worked with a test where I had only one short word, but now that I have serveral words, it will work if all of the correct letters are present, regardless of their order. I figured the code below was specific enough, that it mandated the correct input fields to have the correct letters typed into to them. Below this code I will paste one input field code - so you can see that also.

How can I enforce that the correct response is given in order to advance the user?

Thank you very much for reading.


Code:
stop();
this.onEnterFrame = function() {
if (letrAOne == "A" || letrAOne == "a" && letrATwo == "A" ||
letrATwo == "a" && letrDOne == "D" || letrDOne == "d" && letrDTwo
== "D" || letrDTwo == "d" && letrEOne == "E" || letrEOne == "e" &&
letrETwo == "E" || letrETwo == "e" && letrEThree == "E" || letrEThree
== "e" && letrEFour == "E" || letrEFour == "e" && letrLOne == "L" ||
letrLOne == "l" && letrLTwo == "L" || letrLTwo == "l" && letrLThree
== "L" || letrLThree == "l" && letrTOne == "T" || letrTOne == "t" &&
letrLTwo == "T" || letrTTwo == "t" && letrNOne == "N" || letrNOne
== "n" && letrNTwo == "N" || letrNTwo == "n" && letrM == "M" ||
letrM == "m" && letrS == "S" || letrS == "s" && letrO == "O" || letrO
== "o") {
_root.matcher.gotoAndPlay(2);
delete this.onEnterFrame;
}
}

Code:
letrAOne = inputAOne;
if (letrAOne == "A" || letrAOne == "a") {
_root.letterAOne.gotoAndPlay(2);
answer = "Right" ;
} else {
answer = "Wrong" ;
}

Sound When User Types In Input Box
Is it possible somehow to have a sound play when a user begins to type in an input box?
Like a sound (maybe a sketching sound) would start when user begins to type, then it would stop when they stop typing.

Expand An Input Text Box As User Types
Is it possible to expand an input text box as a user inputs text? Meaning the border of the input box will follow the width of their text, all their "returns", etc.

Go To Frame? Load Xml/txt? Using User Inputs/variables
(flash mx)

first, i want to make a jump to page utility in the thingie im making. its made to look like a notebook. each chapter is a scene and each "page" has a page number, but these do not correspond to the frame numbers.

if i put labels on each frame to correspond to the page numbers, can i get the users to input a page number to a text field and then bring them to that page, using the frame label? and the action script on the button would be something like ...

code: on(release){
gotoAndPlay(user_input_page#);
}

only, of course, that doesnt work. how do i get my idea to work?

second, i want to be able to make a sort of dynamic exercise part where the answers come from an xml or text file, using only one set of text fields for the user inputs. could i do something like ...

code: // first frame
i=1;

// 2nd frame, user inputs answers
// button
on(release){play();}

// 3rd frame, check inputs
file = "key" + i + ".txt";
loadVariablesNum(file);
if (input1 == key1){
// increment i for next file
i++;
// go back to 2nd frame for next question
gotoAndPlay(2);
}

or should i just use xml and make one node for each question? hm ... i should try that ... darn. but please, suggest me something ...

i used to think i knew flash ... now i feel so newbie ... sigh

Change Text Size As User Types More Characters
I am trying to allow a user to type in their own text, then change the color and font. BUT, the problem is I need the text to auto resize as they type in more characters. So if the had only a few letters it would show rather large characters, but if they typed in several letters the text would start getting smaller to fit in the boundries I specify... Please! Please! Help me, I am so close to getting the project done.

I have attached my working file...

Get IP Address Of User?
Anybody know of a way to get the IP Address of a SWF's user? Almost every solution I've seen involves some kind of special install, ie SSI or java.net... I need a solution that works on a plain vanilla IIS webserver.

If there's no way in Flash, I'd settle for a javascript method, so I could then just pass it into Flash in some way. Gracias!

Location Of User, Using IP Address ?
Does any one have any clue at all on how to get the location of a user that is using the site, maybe using php, and outputting it into a flash movie??

Need help on this one guys!

Contact Form With User Id Instead Of Email Address?
Hello again,
I'm trying to build a contact form and instead of entering email address, i want the user to enter its user id and I will include the @domain.com on actionscript on the form and on its php.
Something like this:
User id:"________" (enter by user) @ domain.com (@domain.com will be already on the form)
so all the user has to do is enter its user id.
this user id will pick up the rest which will be the @domain.com and that would be an email send.
Has anyone done that before?... any help please!


ActionScript Code:
on (release) {  if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {  EmailStatus = "Please enter a valid COMPANY E-mail address"; }    else if (!ToComments.length) {  EmailStatus = "Please enter your message"; }   else {  loadVariablesNum ("MailPHP.php", "0", "Post");        gotoAndPlay(10); }}


and this is what i have on my php file

PHP Code:



<?$ToEmail = "email@domain.com";$ToSubject = "Training Orientation Feedback";$EmailBody = "Sent By: $FirstName
Senders Email: $Email

Message Sent:
$ToComments
";mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From: ".$FirstName." <".$Email.">");?>




my input text variable is called Email

thanks for the help.

Listing Variables And Their Types
OK Sure I'll get some grief for this.. but..

Is there anyway for AS3 to list all the variables used and their types (and possibly current values) at runtime? like in a trace?

Sending Multiple Types Of Variables To A Function
Hello Community!

I know that it is possible to feed more than one variable to a function -- even if the variables are of different types (the attached code works if I take away all references to the MouseEvent; that is, if I only pass the a, b, and c variables to the function). My question is, can I make this work when I also want to pass a MouseEvent variable to the function as well? In other words, is it possible to place something in the spot where I have the "???" that satisfies the functions demand for an answer to the MouseEvent? I have tried "null", "void", and "undefined" but these do not work.

Any input would be appreciated.

-john







Attach Code

var a:String = "a";
var b:uint = 3;
var c:Array = new Array("apples", "oranges", "kiwi");
function moreThanOneVar(a:String, b:uint, c:Array, me:MouseEvent):void {
trace(a);
trace(b);
trace(c);
trace(me.currentTarget.name);
};
moreThanOneVar(a, b, c, ???);
this.myButton.addEventListener(MouseEvent.CLICK, moreThanOneVar);

Load Other Text File Types Into A Movie
I think I know the answer to this anyway, but it's doesn't harm trying.

I am aware that it is possible to load text from a text file into a Flash movie, but can word documents be used to load into text into a Flash movie? I think not because Flash will not be able to recognise the formatting used by Word, whereas text files have no formatting.

Could you confirm this for me.

Thanks

Steve

Variables From Address Bar
How would I set a variable in my flash movie from the address bar if possible. Like say I made a flash that said "Hey " + name and someone would send their friend a linnk that specified mike as the name , then the flash would say "Hey mike" in a dynamic text.

Variables & Address
Attached is the file with the code applied. I'm trying to get each menu item to open a new window with the website listed in sitelist. Can anyone tell me why it keeps opening a blank page that says "about blank" in the title bar and the address bar?
Thanks

ActionScript Code:
Movieclip.prototype.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {    getURL("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('"+url+"','"+winName+"','"+"width="+w+",height="+h+",toolbar="+toolbar+",location="+location+",directories="+directories+",status="+status+",menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",top='+((screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"')}else{myWin.focus();};void(0);");};var menuItems = [                  "Wizard of the Coast",                 "Realms Quest LARP",                 "Midland LARP",                 "Adventure Seekers",                 "Zephn Photography",                 "Taco Bell"];var siteList = ["http://www.wizards.com",                 "http://www.realmsquest.org",                 "http://www.adventuresinmmidland.org",                 "http://www.adventureseekersofdoom.20m.com",                  "http://www.zephn.com",                  "http://www.tacobell.com"];for (i=0; i<menuItems.length; i++) {mc = container.dynamicButton.duplicateMovieClip("button"+i, i);mc.menuLabel.text = menuItems[i];mc._y = i*(mc._height-1);mc.siteToLoad = siteList[i];mc.actualButton.onPress = function() {    address = siteToLoad;    target_winName = "TRPA";    width = 780;    height = 640;    toolbar = 1;    location = 1;    directories = 1;    status = 1;    menubar = 1;    scrollbars = 1;    resizable = 1;    //sends data back to the function    openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);};}

Variables In Loadmovie Address?
Hello peeps,
Is it possible to set a variable to act as the folder name for use in specifying the path for a loadmovie operation?
To make things clearer, here's what I'm doing...

I have collections of images I want to load (01.swf, 02.swf, 03.swf etc) each placed in seperate folders by artist name.
To simplyfy things, I want to load the swfs using a variable that is set at the root level to specify the folder in which they're placed, kinda like this...

(set at root level)

ArtistName = johnsmith

(then load corresponding swfs)

loadMovieNum(ArtistName + "" + "01.swf", 5);

I've tried loads of different permutations but to no avail. Does anyone know if this is possible or not???

Cheers

Loading Variables In The Address Bar
Hi, I want that when I press some button in my flash, its send the variables from the flash on the Address Bar of the html of this same flash. So, my flash can't be reloaded, the page cannot be refreshed.

Can I do this only with JAVASCRIPT???
Thanks.

Hiding Variables In Address Bar
Hello everyone.

I am developing a flash game but have hit a brick wall every since. Once my game completes, I store the user's score in a variable. From there, I use the 'Get' method to pass this variable to an asp page. My problem is that the variable appears in the query string of the address bar of the asp page. I would like to hide it for security reasons. Any idea?

[F8] Variables From Actual Address
Hi everyone, I'm making some flash headers for a site that need to be dynamic. Is there a way I can update dynamic text in my flash files by reading the actual url of the page its embedded in?

the url will take the form of "...header.swf?header=Puzzle" I would need to retrieve the 'Puzzle' bit.

I've read around and lots of answers to this involve editing the html of the page, since the pages themselves are dynamically created this might not be possible so I really could do with a solution that literally just reads the address. Is this possible?

thanks in advance

Variables From Address Bar To Flash
I would like to make a website in which I can pass variables from the Address Bar to the Flash movie such as the website http://www.forces.ca/

My website is http://www.294air.org/

What is the best way to pass variables the same way they are passed with the forces site?

Regards, The Honorable, Sven Arsenault

Please Help Me With Passed Variables In GetURL Address
Hello, I haven't asked anything here in a looong time so I hope you'll be kind with me because I really don't know how to go about this...

I am building a multi-lingual PHP website with Flash menus.

I know how to DISPLAY a variable within a Flash movie that is passed to the movie in the url (ie "movie.swf?var=value" or "movie.swf?var=$phpvar") but I don't know how to use that variable... In other words, if I wanted to DISPLAY that particular variable within Flash MX I would simply create a text dynamic field and enter the name of the variable (var) in the Var property field of the dynamic text field. When loaded the movie will display the word "value" in the first example or whatever is stored in the $phpvar variable.
My problem is: how do I use the variable's value in an URL???

Here is my situation. When on an english page I am calling my movie like this:

movie.swf?l=en

This should tell my menu to change all the menu's link to english links, which would mean adding ?l=en after all of them.

So now I am in Flash MX and I have to create link with getURL.
What is the value of the URL field? How to I use the variable I sent to my movie within that field? That is my question basically...

I know that in PHP I would simply do this:
echo '<a href="link.php?l='.$l.'">link</a>';
but how do I do it in Flash???

I hope somebody is nice enough to give me the solution!

Sending Variables To An Email Address
Hi all,

What's the best way to send variables to an email address? I'm trying to avoid an email client from opening up on the host machine...

Is it possible? - or do I need to send to a backend script that then forwards on to an email address?

Thanks...

SS

How Do I Pass The Address Of Variables To Functions?
Hi All,

Im new to Flash MX and ActionScript but have some experience with C/C++. What i'm wondering about is:

How do i pass the address of a variable to a function, say add 10 to it, then retain this value outside the functions scope?

In C I would write:


Code:
int x = 10;

void addTen( int *x )
{
*x += 10;
}

addTen( &x );


Is there an ActionScript eqivalent?

Cheers all.

Dave.

Variables From Flash To The Url Address In Realtime
Any one know how to (or if it is possible) to send variables from flash to the url address bar in realtime ?

How To Load A Mc From Explorer Address Bar?
Hi

I saw some site that from adress bar ex. www.dmian.com?link=graphics loads the section or a mc in flash with name graphics


How is this possilbe or done!??


THnx a lot

Sendind Variables Into Flash From A PHP Page Or The Address Line
I need to load up a flash movie, and the variable has to be thrown into flash somehow.

I'm making a backend, where there is a map. The user can drag a dot on the map and when they click update, it will add the xy co-ordinates to a database. I've got that all sorted, BUT I need to pass the id number of the location into the flash movie, so that when it "updates" the database, it knows which database entry to change.

Hope this makes sense and that someone can help me.


Cheers,
Benners.

Absolute Address In Load Movie
sorry for the newbie question, using MX on mac 10.2.6

How do I do an absolute address. Say the file is "menu.swf", and the folder it is in is "source" and I am using the load movie command:

loadMovieNum("menu.swf", 5);

And the file that is loading it is "top.swf" and it resides just outside the "source" folder in the "all" folder.

all (folder)
top.swf
source (folder)
menu.swf

I just don't know what the correct labeling/mark would be ( / , _ " ) etc...

what would be the full load movie command for this example.

thanks in advance for this simple question.

[F8] AS2 Load A Variable Via IP Address Link?
Hi All

I'm currently having a problem with loadVariables.
Is it possible to load a variable in a text file into flash player via the IP address to the text file?

i.e.: loadVariables ("\172.17.62.5animation$FSCOMMANDkey.txt", this);
The above code does not work

================================================== ==============
What I'm trying to do:
I have developed Flash projects for a client Company that are run via flash exe's.
These projects sit on a network server. This company is now concerned about the security of these projects.
If someone should copy the files off the server they should not play.
I thought of a solution that has a text file on the server with a variable that is loaded into the player at runtime. The link to this txt should be absolute, so if the folder is copied off the server and taken off site the flash player will no longer be able to find the network folder with the text file.

Does this required php, asp etc?
Or is there another way to load a variable into flash player from a IP addressed folder?

================================================== ==============

PATH on server:
\172.17.62.5animation$FSCOMMAND


Txt file text is:
&Keylock=786


The code in my flash file:

loadVariables ("key.txt", this); //load the Keylock variable into flash

trace(Keylock);//trace "786"

KeyDisplay=Keylock//Dynamic textbox to show 786 on screen

LockVar = parseInt(Keylock);//Set LockVar variable to Keylock value and convert 786 string to int

trace("Lock = "+LockVar);
//


if (LockVar == 786) {//if statement checks value and sends the playhead accordingly
gotoAndStop("Menu", 1);
} else if (LockVar != 786) {
gotoAndStop(20);
}


Thanks for your time and assistance it is appreciated
-Aslam

Load A Variable Via IP Address Link?
Hi All

I'm currently having a problem with loadVariables.
Is it possible to load a variable in a text file into flash player via the IP address to the text file?

i.e.: loadVariables ("\172.17.62.5animation$FSCOMMANDkey.txt", this);
The above code does not work

================================================== ==============
What I'm trying to do:
I have developed Flash projects for a client Company that are run via flash exe's.
These projects sit on a network server. This company is now concerned about the security of these projects.
If someone should copy the files off the server they should not play.
I thought of a solution that has a text file on the server with a variable that is loaded into the player at runtime. The link to this txt should be absolute, so if the folder is copied off the server and taken off site the flash player will no longer be able to find the network folder with the text file.

Does this required php, asp etc?
Or is there another way to load a variable into flash player from a IP addressed folder?

================================================== ==============

PATH on server:
\172.17.62.5animation$FSCOMMAND


Txt file text is:
&Keylock=786


The code in my flash file:

loadVariables ("key.txt", this); //load the Keylock variable into flash

trace(Keylock);//trace "786"

KeyDisplay=Keylock//Dynamic textbox to show 786 on screen

LockVar = parseInt(Keylock);//Set LockVar variable to Keylock value and convert 786 string to int

trace("Lock = "+LockVar);
//


if (LockVar == 786) {//if statement checks value and sends the playhead accordingly
gotoAndStop("Menu", 1);
} else if (LockVar != 786) {
gotoAndStop(20);
}


Thanks for your time and assistance it is appreciated
-Aslam

Load Movie Based On Explorer Address?
Hi!

I've got a question for all of you FLASH-masters out there.

I'm currently working on a website, based on ASP and a database. It loads the content on the page from a database.

Now to the problem. I've got a flash menu/image viewer at the top of the page. ( ex. When I klick on "About" the menu/movie clip shows an "About" image). The problem is that the website is based on only ONE page (default.asp) So, whenever I klick on a link, let's say "About" the page reloads and the About page is shown, BUT! the flash menu/movie is reloaded and moves back to the start of the timeline ( In this case the "welcome" image).

My question is: Is there a way to tell what part of the movie clip to be shown based on the explorer address, or is there another way around this problem?

I don't want to use frames on my website because then the scroller is "miss placed".

I hope I have explaind my problem fairly well, so you all can understan what the h*ll I'm talking about.

Thank you!

HOW TO : Load Email Address From A .txt File For A Mailto Button
I have been trying to do this for a while and have fallen on my face.
I can't get my head around loadvars..... can't spot similar anywhere on the board, so here goes....

i wish to have a button which on release loads an email address from a text file, then sends using on(release); "mailto:email@email.com"

So that the recipient can be altered in a text file by changing the variable there, not in the flash file.

any ideas how i do that !?!

thanks very much for any hints in advance.... C

User Defined Variables
help?

i was wonderin: is there a way to make a flash movie where the user defines the text variables? I am using flash 5, and think this will be a REALLY simple thing 2 do, but im a newbie

any help will be greatly appreciated

User Defined Variables
How can I have the user define a global variable via an input/ dynamic box?

Help With Variables From User Input
I'm creating a simple flash movie that will allow me to setup an aim away message from the desktop or merely a web page, the code used is as follows:
aim:goaway?message=Message+Here+Go+to+aimisland.co m
As you can see there is a + after every word and the text is after Message+.
I need to know how to get text which is entered into a text box to be inserted into the above code to complete the link. Thanks in advance

User Defined Variables
How can I have the user define a global variable via an input/ dynamic box?

Help With Variables From User Input
I'm creating a simple flash movie that will allow me to setup an aim away message from the desktop or merely a web page, the code used is as follows:
aim:goaway?message=Message+Here+Go+to+aimisland.co m
As you can see there is a + after every word and the text is after Message+.
I need to know how to get text which is entered into a text box to be inserted into the above code to complete the link. Thanks in advance

User Interface To Change Variables...?
Attatched is the concept
I need someone to help me wrap my head around this...
take a look at the attached... and the code on each of the for buttons...
each triggers a circle to light up with a certain colour...

I need the user to be able to use some sort of interface to change which circles light up.. and with what colour for each button...

any ideas?

thanks in advance

User Interface To Change Variables?
I'm working on a little project and I need some advice on how to make it easily updated by a user.

A simple example would be with:
I have 10 circles, these circles will be each assigned a specific number value and independantly they will also be assigned a colour, as well as a text variable.

so by default the 10 circles are empty of colour,
there would be a menu of numbers to press... click a number (ex: 3) all the circles with the number 3 assigned would light up, with the colour each individual circle was assigned.
When you roll over a colored circle, its specific text variable would appear in a text box somewhere on screen.

Choose another number, and they would be cleared, and the new circles would light up.

Now this is easily done with actionscript.. but this is where I am lost:

How do I create a UI where the user would be able to go in and change any of the variables for any specific circle, so to be able to change the colour, text variable etc.

If thats not complicated enough... I also need to to be able to assign more than one number to each circle.

So again, if I click the 3, a certain circle would light up red, it would have a text variable assigned. Then if I clicked 5 that same citrcle would then change to blue, and the text variable would change as well.


Hopefully this is clear enough for someone to point me in the right direction...
I can create a working example with no edit features if someone needs a visual example, but i'll have to do that when I get home later tongiht..

Thank you in advance.
J.

Inserting User Variables (name, Age, Etc) Into An Xml File
Hi! I am building a game prototype in flash and have a lot of user variables that I need to store for later use. Variables like name, age, grade, zipcode, radio button selections, etc.

I had originally figured that I would accomplish this with PHP and MySQL but was wondering...can I just do this with an XML file?

Here is the game process...user starts game. Enters name, age, grade, zipcode which needs to create a new "record". Then when they answer questions via radio buttons or typing text in, that information would need to be stored with that record.

Is this feasible in XML? Is it easier to just go the PHP/MySQL route?

Thanks,
aswhitehead

Variables To Store User Inputs
Hi

As part of a piece of coursework I have to make an interactive application. I am creating it for a teacher and they want a quiz on three different modules.

I know flash has quiz templates. If I have three quizzes on each module and the user inputs their score for each module, how can Flash take the value from each score input and give a total at the end of the whole application.

Also, is their a way so the users final score can then be stored or can be sent in an email to the teacher?

If someone can think of a better way of solving this issue and ideas are welcome.

Many thanks

Dave

"this" Keyword Not Working To Address Local Variables In Mc
I have like 10 grasshopper movie clips. Each one has its own set of variables.

I need to attach to each mc at different times

onClipEvent (enterFrame) {
this.gotoAndPlay("loop2");
}


Where "loop2" is a certain frame inside the clip.

The problem is that none of the grasshoppers are obeying!! Mutiny! How do I solve this probelem?

How Do I Make A Little Picture Come Up Next To The Address In The Address Bar?
Please can someone tell me how to get a picture coming up next to the address bar in Internet Explorer.

I am designing a website for a company and they really want me to do this!

E.G. Dogpile.com
or flashkit.com has a little F

Pleasee Help!!!

Sending Variables To Server Without User Interference
I need a method of uploading variables from a flash app to the server in some way that the user can't change them. Is there some sort of encryption that flash has that I would be able to decode with php?

Or better yet, is there a way of converting the string variables to binary/numerical? If so, then I could simply apply a math function to the numerical variables and then reverse the function and convert the variables back to strings in php once the server receives them.

Thanks!

Session Variables For User Account Info?
Hello All,
I have a quick question...
Would I use session variables to keep track of user info for them to edit account info? Users login to edit their specific info (ie. address, hardware used, contact info...), then, on submit, the data will populate a SQL database.  Not quite sure what method is best and also most secure. Thank you for your help in advance.  Thank you.
Terry

Copyright © 2005-08 www.BigResource.com, All rights reserved