Retrieve Flash Animation From Db
Hi. I hope someone out there has an answer for me.I develope site with asp technology.How can I retrieve a flash swf movie from a db (access) into an asp page?
THX for your replies
FlashKit > Flash Help > Flash Newbies
Posted on: 10-06-2004, 04:37 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Trying To Retrieve A Variable To Control Animation
Using Flash MX 6
Both files are attached.
Thanks in advance for any help you can provide.
I have a .txt file with "&data=56" as my var.
I want to retrieve the variable and place it inside
a dynamic text box. "editbox"
The text box is part of a movie clip. "needleMC"
When the value 56 is retrieved and placed inside the editbox, it is also relayed to another dynamic text box (inside the same MC) to show speed. "speedBox"
The script works inside the Scene or _root no problem, but when I placed it inside a Movie Clip it stopped working???
Not sure what went wrong?
Also, would you happen to know if the Movie Clip could constantly check the "data.txt" file for changes and then update?
Thanks,
--Steve
Retrieve Data From SQL To Flash
Using Flash CS3 I need a search to go and find a licence plate and retrieve the data connected with that plate to back to Flash,
Data Base: in MYSQL (database name= cars / Table name= GPS
ID | Licence Plate | Brand | Year | Color |
How can connect, and run the query using PHP and send the results back to flash ??????
I will really appreciate your help whit this issue.
Best Regards
Gian
PHP Variable Retrieve To Flash
Hi all, I am new to as3 and in need of some help!
in the pass as2 can retrieve $name variable from php but it seems to be different on the as3. Please guide me along! thanks!
as3
----
package {
import flash.display.MovieClip;
import flash.events.*;
import flash.net.*;
public class Main extends MovieClip {
public function Main() {
//Set up variables to send
var myVars:URLVariables = new URLVariables();
myVars.firstName = "name";
myVars.lastName = "surname";
myVars.email = "x@zzz.com";
//Set up data request
var myRequest:URLRequest = new URLRequest("http://localhost/highscore/read.php");
myRequest.method = URLRequestMethod.POST;
myRequest.data = myVars;
//Attach data request to the URLLoader
var myLoader:URLLoader = new URLLoader(myRequest);
myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
//Listen for response from server
myLoader.addEventListener(Event.COMPLETE, responseHandler);
//Initialize data transfer
myLoader.load(myRequest);
//Handle response from server
function responseHandler(e:Event):void {
trace (e.target.data.myReturnData);
}
}
}
}
php
----
<?PHP
$firstName = $_POST['firstName'];
$lastName = $_POST['lastName'];
$email = $_POST['email'];
echo "myReturnData=" . urlencode($firstName) . " " . urlencode($lastName) . "! His email is: " . urlencode($email);
?>
Thanks!
Set/retrieve Cookie To Text Box From Flash?
heya
i have a text box that i allow the user to type something in and then hit a "set cookie" button to set the entered text as a cookie in the browser. then i have a "retrieve cookie" button that i want to display in the text box whatever the set cookie was. anyone have any ideas on how to do this or where i can find out how? thaks for your help!
Urgent--- How To Retrieve String From JSP To Flash
i am doing some Hall of fame for the flash game.how does flash retrieve value for JSP. As i use jsp to retrieve database value and i wan it to pass it to flash. what are the code required in JSP and Flash?
Cannot someone help??
Very Urgent...
Thanks in advance.
Retrieve Things From Database To Flash Via Asp?
Hello, I have flashpage to retrieve the information for asp page.
Now I can show the things from database on the asp page like
&imageF=004&galleryimageF=2.jpg&fronts_text=hello, dear&frontsx=432&frontsy=76.5&fronts_color=1671168 0&fronts_font=Arial Black&frontsscalex=161.051&frontsscaley=161.051&
How should I record them to show the things on the flash page then?
I knew myData=new LoadVars();
myData.source="cart.asp"
myData.onload=function() {
.....
}
Then what should I write inside{} to make all the things shown. Or is it unessary to put all the things inside() to get them load? how should I do?
imageF and galleryimageF are two images' names. they are located at image/ on the server folder. Fronts_text is the content of the textfield. frontsx and frontsy is the _x and _y of the textfield.fronts_color is the color of the text and fronts_font is the font face of the text. frontsscalex and frontsscaley are the x, y scale of the text
Thanks very much in advance!
Flash Caching My Data Retrieve
Hello.
I have a Flash file that calls every certain time to check data from a MySQL table in order to update the display in the flash movie.
The problem is that Flash always shows the old data...is caching them...
The only solution i have at this moment is to erase temporary files at the browser....
Anyone has a good solution for this???
(This is the actionascript code i put in the update frame) :
data=new LoadVars();
data.onLoad=function(success){
if(success){
for(j=1; j<36; j++){
if (this["status"+j]==1){
table["mode"+j]=1;
} else {
table["mode"+j]=0;
}
}
gotoAndStop("showdata");
}
}
data.load("get_data.php");
stop();
How To Retrieve Variable From Url Of Page (flash)
Hi everybody !!!
I'm trying to retrieve a variable from the url in a asp page so when i click on the flash button in that same page it passes the variable to the second page...
Anyone please ???
Thank's in advance
Hugo
Retrieve Data From Databases For Combo Box In Flash
Dears,
Now I have to build a Combo Box in Flash so that users
can select data from a pop-up list (that would be an
array). The contents of this array should come from a
database.
I have the idea:
First, I have to yield data from the database and then
store them in the array within a (.jsp) file.
Second, Flash then retrieve data from the (.jsp) file.
I have the concept to make combo box in flash.
My questions are:
(1) Can Flash read data from (.jsp) file instead of read data from a text file?
(2) if yes, how to make the (.fla) file retrieve data from the database?
Actually, I have to thank Gareth's suggestions.
Anyone can give me some more suggestions?
Thank you.
adawwm
How Can I Retrieve Server-side Code To Flash
hello guys, im just to buil my data driven application im still newbie.. can anyone help with get var from php code to flash.. Im using LoadVars here is my code..
var lvFile:LoadVars = new LoadVars();
lvFile.load = function(bSuccess:Boolean){
if (bSuccess){
trace(lvFile.name1);
trace("loaded");
}
else{
trace("not loaded!!!!");
}
}
lvFile.load("http://localhost/web/final_website/Flash/test.php");
and here is my php code..
<?php
$name1 = "Its me!";
echo $name1;
?>
Im having undefined in my output panel in flash.. Can anyone help how to do it right? thanks guys for the help...
Flash Buttons To Retrieve Html Pages (please Help)
Hi everyone. I’m a first time poster and a beginner with Actionscript. The issue I am having is I am making flash buttons to replace my html buttons, yet I'm having trouble getting the buttons to link to the pages they should retrieve when clicked on. All files are on the server. This is the code I found on the internet that I'm trying to work with but it’s not working out
btn_home.onPress = function () {
getFile (index.html);
}
btn_resources.onPress = function () {
getFile (resources.html);
}
btn_contact_us.onPress = function () {
getFile (contact_us.html);
}
What should happen is by clicking on the 'btn_contact_us' (instance name) button, the site goes to the 'contact_us.html page.
If you can tell me what the correct script would be to get this to work, I would appreciate it. Also a brief description on the codes function would be appreciated so I will understand it better and learn from it. I apologize if this has been posted before. I did a search and could not find anything that could help with my problem.
Retrieve Data From MySQL And Show In Flash
Hi.
Before I start, I will say that I have searched these forums, Flash Kit and Google, but every tutorial I get is really complicated. I have done this before, but cannot remember how.
I have a database, and I just want flash to connect up to it and retrieve 4 values [id, date, venue & city]. I then want these shown in a flash movie. There is more than 1 record in the DB, but I will be limiting the results to 1 that is = or > than todays date.
Can anyone tell me how to do this, or point me somewhere that will.
I do not need the flash movie to insert info to the datbase.
Thanks
Günter
Dynamically Retrieve Album Cover For Mp3 Loaded Into Flash
i know there is a way to do this, but i'm not sure where to start. it has something to do with amazon.com and their database of album art.
basically i want an mp3 file to display its corresponding album art.
has anyone done this before?
How To Retrieve The Selected Text From TextField In Flash MX Using Actionscript
I need to be able to get the text selected by user after clicking a dynamic scrolling textfield.
I am very disappointed to find no method that returns the selected text when there is a property of textField to make it selectable.
I am using Flash MX. Let me know if this is possible in newer versions if not in MX.
Thanks
Edited: 04/27/2007 at 02:19:30 PM by dotnetuser
PROBLEM: Retrieve Values From ASP, Then STORE Them As Global Variables In Flash
Hi,
I'm trying to retrieve some values from an ASP page, then store these values as global variables in Flash. I cannot get this to work.
ASP:
Code:
<*%@ Language=VBScript %>
<*%
Response.Write "&baseURL=http://www.someURL.com"
*%>
This works in Flash:
Code:
fileNames = new LoadVars();
fileNames.load("getFileNames_test.asp");
fileNames.onLoad = function(success) {
if (success) {
_root.baseURL = fileNames.baseURL;
trace(_root.baseURL);
}
}
This DOES NOT work in FLash:
Code:
fileNames = new LoadVars();
fileNames.load("getFileNames.asp");
fileNames.onLoad = function(success) {
if (success) {
_root.baseURL = fileNames.baseURL;
}
}
trace(_root.baseURL);
I need to set the variables OUTSIDE of the function. Why does it not do this? I thought that one uses var to temporarily declare a variable in a function but I'm not using var.
HELP PLEASE. THANKS.
Need To Retrieve Site URL (http Referrer) Of The Site My Flash Player Is Placed On
Hello All,
I am trying to implement a custom flash player where my embedded source code (<OBJECT></OBJECT>) can be placed on various websites. I would like to gather some information of the users who are using my flash player on their site. I wrote the following code inside the flash player to gather the site URL (http referrer) so I can send this piece of information back to my server.
javascript: if(null != document.all) {
window.document['adbVcmAd'].Movie += ('&site_url='+encodeURIComponent(document.URL));
}
else {
window.document['adbVcmAd'].setAttribute('src', window.document['adbVcmAd'].getAttribute('src')+'&site_url='+encodeURIComponent(document.URL));
}
void(0);
var sl = _root.site_url;
I am able to get the site URL in IE, but I cannot get the site URL from users using Fire Fox.
If anyone has any ideas, please post a reply or send me an email.
Much Appreciated!
Edited: 01/24/2008 at 02:48:16 PM by Flasher37
Retrieve The Fla?
I was working on a flash thing for a friend and suddenly flash closed, I hadnt saves scince some time so most of the work i did dissapeared, but alot more of it was in the swf file, is there a way i can get it back by doing anything to the swf one?
How To Retrieve This Value?
Hi everyone !
Can someone tell me why I can get the value from my text field when the enter key is pressed? I guess I don't use the right statement to get the value.
Code:
mc_new_mess = new Object();
mc_new_mess.onKeyDown = function() {
if (Key.getCode() == Key.ENTER) {
test_var = "xxxxxxxxx" // outputs xxxxxxxxx in the other field
test_var = this.ins_new_mess.text;// outputs nothing in the other field
test_var = ins_new_mess.text;// outputs nothing in the other field
test_var = mc_new_mess.ins_new_mess.text;// outputs nothing in the other field
} else {
}
}
Key.addListener(mc_new_mess);
Retrieve Url From Txt
Well,
I've read a few topics about my problem: http://www.kirupaforum.com/forums/sh...hlight=txt+url
BUT It doesn't work for me:
What I want: my mc (infoxtra) has a few dynamic textfields and another mc (called 'visit')
----
MC infoxtra
+ dynamictextfield 'titel'
+ dynamictextfield 'categorie'
+ dynamictextfield 'info'
+ mc 'visit'
----
AS1 on mc infoxtra:
Code:
loadText = new loadVars();
loadText.load(freakingtest);
loadText.onLoad = function(success) {
if (success) {
titel.html = true;
titel.htmlText = this.titel;
categorie.html = true;
categorie.htmlText = this.categorie;
info.html = true;
info.htmlText = this.info;
visit.onRelease = function() {
getURL("loadText.url");
};
}
};
stop();
AS1 on the frame where 'infoxtra' is placed:
freakingtest="web.txt"
The first AS1 is static in my site. the second AS1 isn't .... or in other words: I want to load different txt files into infoxtra.
Problem 1:
I'm not getting my url.... what goes wrong
Problem 2:
I can't seem to reach freakingtest.... at least flash can't...
(if I change freakingtest for "web.txt" it works ofcourse.)
Anybody: tips // other AS1 // anything would be greatly appreciated!!
Retrieve The URL From Swf.
I am having problems with the _url property
I need to retrieve the url from where my swf is located and not the url for the swf.
How can i do this?
The prob is that i have a swf that will do this job in a url: http://www.beedigital.net/testes.html
When getting the _url property on it it always traces http://www.beedigital.net/mySwf.swf
and not
http://www.beedigital.net/testes.html
How can i make it trace the url that is in the browser and not the url for the swf?
Thnks.
How Can I Retrieve A Swf's Name?
Hello everybodys !
This question is probably more theoretical than practical, though there may be uses for figuring out how to do this.
If I set up a small dynamic text box (var 'disp') on the main stage and then script on a movieclip: onClipEvent(enterFrame){_root.disp = this._name} I will get the name of the movieClip, correct?
I have been trying to get a swf to state what it's name is, ie: if a swf called movie1.swf is playing, how can you extract that data? I tried scripting on a movieClip: onClipEvent(enterFrame){_root.disp = _root._name}, but nothing happened of course lol. Maybe it is not possible to do this.
Thanx in advance for any insights anyone might have on this
Retrieve Url From Txt
Well,
I've read a few topics about my problem: http://www.kirupaforum.com/forums/sh...hlight=txt+url
BUT It doesn't work for me:
What I want: my mc (infoxtra) has a few dynamic textfields and another mc (called 'visit')
----
MC infoxtra
+ dynamictextfield 'titel'
+ dynamictextfield 'categorie'
+ dynamictextfield 'info'
+ mc 'visit'
----
AS1 on mc infoxtra:
Code:
loadText = new loadVars();
loadText.load(freakingtest);
loadText.onLoad = function(success) {
if (success) {
titel.html = true;
titel.htmlText = this.titel;
categorie.html = true;
categorie.htmlText = this.categorie;
info.html = true;
info.htmlText = this.info;
visit.onRelease = function() {
getURL("loadText.url");
};
}
};
stop();
AS1 on the frame where 'infoxtra' is placed:
freakingtest="web.txt"
The first AS1 is static in my site. the second AS1 isn't .... or in other words: I want to load different txt files into infoxtra.
Problem 1:
I'm not getting my url.... what goes wrong
Problem 2:
I can't seem to reach freakingtest.... at least flash can't...
(if I change freakingtest for "web.txt" it works ofcourse.)
Anybody: tips // other AS1 // anything would be greatly appreciated!!
How To Retrieve This Value?
Hi everyone ! :)
Can someone tell me why I can get the value from my text field when the enter key is pressed? I guess I don't use the right statement to get the value.
mc_new_mess = new Object();
mc_new_mess.onKeyDown = function() {
if (Key.getCode() == Key.ENTER) {
test_var = "xxxxxxxxx" // outputs xxxxxxxxx in the other field
test_var = this.ins_new_mess.text; // outputs nothing in the other field
test_var = ins_new_mess.text; // outputs nothing in the other field
test_var = mc_new_mess.ins_new_mess.text; // outputs nothing in the other field
} else {
}
}
Key.addListener(mc_new_mess);
How To Retrieve A Jpg?
Ok this is exactly how i did it.
I created a button and put a keyframe in the over state and changed the color.
I then imported my .jpg file into my library and created a folder called image.
I then created a second layer and put in an "invisible movie clip" and named it "img_loader" i went to edit in place mode and brought the .jpg to the stage
I then wrote the action script to the button as follows
on (release) {
loadMovie("image/name_of_pic.jpg", "img_loader");
}
The script is correct but when I go to run the movie to get the .jpg nothing happens?
What am i missing? I cannot see any of my pics, second question once I am able to get a pick or any URL, how do i make it available to click the pic itself so I can see a larger view of it?
Retrieve The URL From Swf.
I am having problems with the _url property
I need to retrieve the url from where my swf is located and not the url for the swf.
How can i do this?
The prob is that i have a swf that will do this job in a url: http://www.beedigital.net/testes.html
When getting the _url property on it it always traces http://www.beedigital.net/mySwf.swf
and not
http://www.beedigital.net/testes.html
How can i make it trace the url that is in the browser and not the url for the swf?
Thnks.
Retrieve File From Dir
is it possible to give a loadMovie command and jusr specify a directory to look in? and let the script load an swf movie?
Retrieve Instance Name
How can I retrieve the instance name of an object? For example, how do I retrieve into a variable, the instance name of the MC I am clicking?
Thanks in advance
shoul be
myvar = this.instancename ? or something like that?
About Retrieve Data From PHP
Hope it is not Off Topic. I am a database newbie, would like to ask a question on retrieving data.
Let's say I have a column "Name" (rs["Name"]) in database. I want to use Flash to load this column of data. How can I write the php ECHO statement so that it can be easily recognised by Flash?
eg.
Name
-----
May
-----
Jane
-----
Patrick
-----
....
Eric
-----
Shall i write it likes: echo name=May&Jane&Patrick&....
Thanks
Retrieve Variable
i have a text entry fieldd "entry" and a display field "display" wich i want populted with the text from the entry field once i click my button...how do i retrieve and redirect this text.
thanks
How To Retrieve A Picture Name
I have a clip with 4 frames. Each frame has a picture and some buttons.
How can I use actionscript to retrieve the name of the picture in each of the 4 frames?
I know how to do it manually, in library. But I need to document that this clip is showing the pictures I say it is showing, and so I need a programmable way to do it! (I am presenting the case of one clip, but in fact I have to check 20 or more clips)
I know flash has the info, I did not see anything in all my actionscript books to suggest that this information can be retrieved by an actionscript command. Any one knows or has a suggestion to go around this?
For (i=1;i<=#..... Can I Use To Retrieve Properties?
I've used 'for (i=1;i<=#;i++)' in the past with great success, but only to apply the same property to every mc that contains ' i ', for example:
setProperty("mc" + i, _visible, false);
Now I want to use ' i ' to retrieve a property from each mc and store them in their own variable so that I can use that variable in a formula.
PHP Code:
for (i=1;i<=8;i++){
Locators = ("PT1Browse" + i + "locator");
LocatorsXpos = how can I retrieve the X position of each of the 8 mc's, and store them as variables to use in a formula ??
trace(Locators._x); // doesn't work
trace(PT1Browse1locator._x); // works fine
trace(PT1Browse2locator._x);
}
Thanks for your time!
Retrieve JS Variables
Hey,
Does anyone know a way to get the value of a variable stored within a javascript function via as?
example: (have flash get the value of xid)
<script language="javascript">
function set_id_number(user_id) {
xid = user_id;
}
</script>
Thanks!
Retrieve All Vars In An Mc
does anyone know how to transfer all variables in an mc (i used loadVariables...why it cant use an Object!! beats me...) to another mc or object, etc...?
i tried using the method in Flash help...
Code:
mc.onData = function() {
for(var i in this) {
trace(">> " + i + ": " + this[i]);
}
}
this didnt work at all....all i got was ">> onData: [type Function]"
all im trying to do is store variables outputed from a php file in an Object instead of a movieclip
Is There Way To Retrieve The Value Of A Timer?
Reason I ask is I made a progress bar, and I want the width of that bar to be equal to the value of the timer.
For instance:
ActionScript Code:
var myTimer:Timer = new Timer(100,0);
myTimer.start();
progressBar.width=myTimer.value;
I know value is not a property of the Timer class, but just wanted to give an idea of what I'm looking for. When the timer is at 67, I want my progress bar's width to be at 67, etc...
I know a work around this, but I'm not looking to make an extra timer, I was hoping it could be done without doing:
ActionScript Code:
var progressBarTimer:Timer=new Timer(1,100);
progressBarTimer.start();
progressBarTimer.addEventListener(TimerEvent.TIMER, updateProgressBar);
function updateProgressBar(e:Event):void{
progressBar.width++;
}
So as you can see, I do know a way around it, I would just rather not have the extra memory usage of a second timer. Any ideas?
Password Retrieve Help
Okay heres what i have:
this.loadVariables("http://jagx.pimpsofpain.com/extras/gbot.txt");
var securenum = hex_md5("painpimp");
what that is doing is going to http://jagx.pimpsofpain.com/extras/gbot.txt and retrieving the securecode then it changes it to the password painpimp
recentely the securecode has been changed
I need to convert the secure code into the new password
The secure code is 17.6356931450224
can someone tell me how to convert that to a password. I suppose the hex_md5 has something to do with it.
thanks for the help guys!
How Do I Retrieve This Variable?
Hey,
Ok using a simple form as I want to test out things before implementing them into my website. Anyway, just wondered how I retrieve the variables from flash mx components to send to my PHP form?
I have attached the file, not quite sure what I am missing? I've used the getValue function but still not showing it on my php script which is the following:
PHP Code:
<?php
$to = "me@me.com";
$msg = "$name has requested the following: $listbox.
";
$msg .= "Their email address is $email.
";
if ($tickbox) {
$msg .= "They wish to be contacted about future promotions.
";
}
$subject = "Website: ".$listbox;
mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");
?>
Cheers,
Chris
Cant Retrieve Numberstepper Value
it seems im unable to retain the NumberStepper value... if a user selects say 10, and clicks next, in my text box it should display 10.. well it displays undefined.
my_txt.text = my_nstep.value;
i have a listener to display the value in the output panel, and it works just fine.. however, once you hit next to go to the send frame, it wont display the value.
How Do I Retrieve This Variable?
Hey,
Ok using a simple form as I want to test out things before implementing them into my website. Anyway, just wondered how I retrieve the variables from flash mx components to send to my PHP form?
I have attached the file, not quite sure what I am missing? I've used the getValue function but still not showing it on my php script which is the following:
PHP Code:
<?php
$to = "me@me.com";
$msg = "$name has requested the following: $listbox.
";
$msg .= "Their email address is $email.
";
if ($tickbox) {
$msg .= "They wish to be contacted about future promotions.
";
}
$subject = "Website: ".$listbox;
mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");
?>
Cheers,
Chris
[FMX] XML Retrieve And Write...
Hello,
I'm working on a project with settings in a cinfig.xml file. Here are links to
html files and images. I want to apply a sort of CMS to this and I made a form in Flash that retrives all variables that I want in the correct way.
But the question is:
Can I retrieve my variables in my Flash form, change and modify, then send them back where they came from in the xml file ????
So not to generate a whole new xml file by PHP. So the way I retrived my varibales I want after changes these to overwrite the existing with the new variables....
Can anyone give me an example or good hint how or IF it is possible,
friendly regards
Retrieve SWF Information
So many threads have been made about saving a users SWF or outputting a screenshot of the SWF. I've been researching this for a long time now and have came up with good solutions just not for me in this case due to server incapability, budget, resources at work etc.
So my question now is, what if you saved the SWF file's information on the server ( or possbile users computer ).
For example if I have a Flash file that allows you to pick an image out of 30 let's say ( of course this would all be dynamic ), and some text that the user was able to type in them selves, would there be a way to store that information without using a database (or data source for that matter ) and let's say email that client a SWF file with the image they have chosen along with that text.
Basically I don't want to do anything server side if possible. ( Of course the email would be server side ).
Any ideas?
How Do I Retrieve My Data From My Xml
i've trying to retrieve data from my xml file using an "on release" handler attached to a button but with no luck. what i actually want to do is create 30 buttons in flash (10 x 3) using thumbnails, then at the click of each, data will be extracted from the xml (texts and pix) and load it into specified textfields and a movieclip. please help me because i don't know how to achieve this. All the tutorials i've seen places their code on a frame and infact, the code is used to generate the buttons and associated actions.
pls i'll be grateful if you can help me !!!!! also if there are any resources i can use to improve my xml/flash knoeledge, i'll be glad
CheckBox Value Retrieve In ASP
hello there, how could i retrieve the checkBox value in the ASP?
how can i tell my form to send variables to form.asp without getting the URL in a blank page...
thanks so much
cheers
[Q] Retrieve A Value From A Class
dear all
i have create a simple class ABC
Code:
package {
class ABC extends MovieClip {
private var _id:Number;
public function ABC() {
this._id = 0;
}
public function setID(in_id:Number):void {
this._id = in_id;
}
public function getID():Number {
return this._id;
}
}
}
and a loop for assigning the ID
Code:
for (var i=0; i<10; i++) {
var a:ABC = new ABC();
a.name = "a" + i;
a.setID(i);
addChild(a);
}
what is the syntax, if i would like to retrieve the 3rd ID (that is MovieClip "a2")
a2.getID(); // seems not working
MovieClip(root).a2.getID(); // not working as well
THANKS ~~
How Do I Retrieve This Variable?
Hey,
Ok using a simple form as I want to test out things before implementing them into my website. Anyway, just wondered how I retrieve the variables from flash mx components to send to my PHP form?
I have attached the file, not quite sure what I am missing? I've used the getValue function but still not showing it on my php script which is the following:
PHP Code:
<?php
$to = "me@me.com";
$msg = "$name has requested the following: $listbox.
";
$msg .= "Their email address is $email.
";
if ($tickbox) {
$msg .= "They wish to be contacted about future promotions.
";
}
$subject = "Website: ".$listbox;
mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");
?>
Cheers,
Chris
|