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




Recieving Payment...



Hi,

Just a simple question a friend asked me, and I thought this would be a good place to get an answer... This friend of mine is a Flash developer... but mostly worked for local firms and stuff, He asked me about ways in which you can effectively recieve payment from international clients, who don't deal in your currency, especially when the banks which work in that country don't have branches in yours? Credit cards arn't good for paying biggy sums...

I suggested that corrier services(registered post) might be a solution... but any ideas?

Qasim



FlashKit > Flash Help > Flash General Help
Posted on: 05-26-2003, 06:14 AM


View Complete Forum Thread with Replies

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

ECommerce; Secure Payment; Credit Card Payment ...
Hello,

I would like to implement an ecommerce system on a Flash site.
Knowing nothing about that, I’m coming to you.

I mean I know how to do my ‘shopping cart’ interface (including some PHP scripts, if needed). But what I do not know is about the secure payment and online credit card payment.
I have heard about ‘PayPal’. Is that just an eCommerce account where I have to send the information coming from my Shopping Cart interface ?

For sure I still searching information on the internet by myself, but if some people here have some advices or explanations on how it works, it would be really appreciate.

Cheers.

Payment
I have zero clue on how to set up a credit card and shipping info page(script), if someone has alittle time and patience i could really use the help.

Thank you
Nick

Payment Calculator
I'm wanting to create a payment calculator for my website, www.hyundairocks.com using flash, but I'm not real sure how to go about doing this. (ie. scripting) Can anyone lend any assistance?

Thanks in advance. I have the .fla file available right now.

I have three varibles (Amount - APR - Term) to equal 1 result (Payment)

CC Payment Through Flash
Does anyone have experience of this? We need to make an online payment for something and the vendor has provided us with a link to a Flash applet which will take our CC details.

It's hosted on an http server rather than https.

Is this still secure? It's the first time we've come across this and are slightly wary.

Credit Card Payment
I'm using Flash MX and want to process a credit card payment.

The payment gateway service I'm using is "Authorize.Net"

URL: "https://secure.authorize.net/gateway/transact.dll"

How can I process the payment?

How can I process the payment and return to Flash?

Thanks

Flash Payment Calculator
Looking for a Flash calculator that will calculate your payments for a car. Its an amortization calculator where you enter in the length of the loan, the loan amount and the interest rate and you get a monthly payment.

Anyone seen a flash calc like this? Looking for a freely distributed fla.

Online Payment :: Best Solution ?
so I'm making this site for a client, he wants online payment, a subject I never meddled with before

taking into consideration his company is situated here in Egypt, what is the best option to integrate something that's both easy and secured, and by easy I mean I'm too lazy to learn something new, unless it's totally worth it, also I'd prefer something that you guys use and trust

thank you

Online Payment Processing
Hi All,

I have searched the forums and not found the answer to my question ... so i thought i'd ask it direct.

I am trying to setup payment processing on my site but i don't want to use paypal because my customers have to leave the site to complete payment. I am looking for a way to have the processing stay completely within the flash site and make the process seamless for my customers.

Does anyone out there know how to do this and be able to offer me assistance?

Thanks in advance

Payment Qustion... Opinions
hi,

one guy asked me if i can build him a FLV player like www.proxus.com and i think i can... how much should i charge him for this kind of component ?

tell me your opinions. thanks

Registration And Paypal Payment
Hey all,

My situation: I think I've bitten off more than I can chew.

In the process of making a flash site for a company that organizes city tours coordinated with hockey games (Canucks).

He wants people to be able to register and pay via paypal for a tour, which would then be booked (set in a database).

I have no idea how to do this! I could probably get the registration and booking part down, but how would I use paypal's system:

i.e., a registered user on the site with email abc@123.com could easily pay using paypal with an account email of cba@321.com - and I would have no way of tracking that.

Please help

Thanks

Urgent Flash 5 Payment Calculator
I want to build payment calculator in flash(Morgage calculator) that will not only calculate payments but will also show the end user the amortization schedule for the userdefined time. I also want to be able to have it retabulate the payment if they select extra payments of the principle. I know that this is possible but I have no idea where to start. If anyone can help me I would be very gratefull. thank you. I need to be pointed in the right direction .

Help With Action Script With Payment Offer
Hey ya all,

I am not sure if I am allowed to offer this so sorry if I am not but I am having problems upgrading my flash action script for some message boards I made to flash player 7 (see http://www.rabidlemming.com/Forum/Flash.html) as it’s beyond my expertise. What I want to do is offer to pay some one (via pay pal) to help me fix the problem. You see the message boards flash action script was designed for flash play 6. Now I want to update the action script so it will work in flash player 7 so I can load images into the message boards. I done the php part of it (which the message boards use as the backend script) but am at a loss as to why the action script won’t work properly in flash play 7. If any one is interested in helping me and earning a bit whilst their at it, please contact me on msn or e-mail at : lemming29@hotmail.com (is also my msn contact name). Amount of payment to be arranged. A very good knowledge of action script is required.

Cheers

Help With Action Script With Payment Offer
Hey ya all,

I am not sure if I am allowed to offer this so sorry if I am not but I am having problems upgrading my flash action script for some message boards I made to flash player 7 (see http://www.rabidlemming.com/Forum/Flash.html) as it’s beyond my expertise. What I want to do is offer to pay some one (via pay pal) to help me fix the problem. You see the message boards flash action script was designed for flash play 6. Now I want to update the action script so it will work in flash player 7 so I can load images into the message boards. I done the php part of it (which the message boards use as the backend script) but am at a loss as to why the action script won’t work properly in flash play 7. If any one is interested in helping me and earning a bit whilst their at it, please contact me on msn or e-mail at : lemming29@hotmail.com (is also my msn contact name). Amount of payment to be arranged. A very good knowledge of action script is required.

Cheers

Need Somebody To Do FLASH For My Website (paypal Payment)
Hello, I'm looking for a flash design for the HOME page of our website. http://www.braidsbybreslin.com

If you look to the right where my wifes pic is I need a fairly large flash to go there promoting our upcoming DVD. We will be selling the DVD for 29.95$ and it will show people how to do cornrows, microbraids, kinky twists, and weaves. I don't know anything about flash but I know that I can't spend more than 200.00$ for this. If anybody is interested you can email me or get me on IM. Thanks, Ricky

Loading Vars Into Payment Gateway XML/PHP
I have an order form and want 2 of the users input values to show up in the textboxes on the payment form.

dynamic textbox, variable: customer_name
dynamic textbox, variable: total_price

The php script is attached and the linkage areas markes in red, the amount and customer name.

Is someone able to paste the Actionscript for loading and sending the variables to the php form and then loading up that payment php form in a NEW window for the customer to enter the remaining details. And to also customise the php script to allow the price and customer name variables to be shown in their appropriate textboxes.


Another issue is this error..

PHP Code:




Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (-1208969848)

Fatal error: Maximum execution time of 180 seconds exceeded in payment.php on line 382







Thanks!!

Flash And Payment Gateway Integration
I'm trying to look into integrating a flash shopping cart/full flash site, with a payment gateway like Authorize.net.

anyone have any experience doing this? I've been looking at the authorize.net documentation...

is it possible to interact with the gateway without any server-side code?

any snags or advice i should know about (especially concerning authorize.net)?

I don't need any code samples or anything, but if anyone can comment on feasability, potential problems, etc. that would be great!

thanks in advance!

Recieving PDF's From PHP
Hello, I want to instruct a server-side PHP script to generate a dynamic PDF using variables I submit from Flash.
I then want to download that PDF back into my Flash application.
Can I use "Loader" or "URLLoader" ?
If so, how do I structure my code to render the PDF within Flash when it comes back from PHP ?
...or do I have to use Flash Remoting or other means to achieve my goal ?

Thanks for any help.






























Edited: 10/09/2008 at 06:29:58 PM by phil1943

Needed: Flash Intro For A Movie: $100 Payment...
I am currently editing a film and need an opening sequence for my production company.

The logo for my production company has already been created - but I need an opening sequence which will produce this logo in an interesting manner...

For any flash guru this should be a fairly simple task... as I'm not looking for anything too complex...

I don't have a complete vision of what i want to have happen, but I know it want something similar to like people or an object walking or moving, then morphing into my logo... thats just one idea...

I work only through AIM - so you must have AIM so I can keep in contact with you through the project...

Please either instant message me or email me a couple works in your portfolio - i will contact you with more details when i have chosen a suitable designer...

aaronsmagic@attbi.com

Thanks!

Aaron Levie

Payment Processing Service On By Bookstore's Website
I want the users to be able to register, enter ther credit card number and purchase stuff thorugh my website. I know that for user registration I can use some sort of database. For the payment services I probably need some links to the second party website.

Could you give me a general idea of how such things are being done. How do you implement user's database, shopping cart, and payment system.

Thank You.

[advice] Flash & Online Payment Services
Ok guys, i got a project were i have to develop a flash website that will allow the user to design the product, using different parameters. Then, based on his selection a code and price will be calculated. So far no problem. But the client wants to allow the user to buy that online using his credit card. Not a shopping cart but just a 'buy' button.

The problem is that, all the companies i checked that offer this service, like Paypal for example, force you to pre-set the price and product type when you register. And also require that the customer has a membership with them.

What i want is to charge the customer with the price that he got when he designed his product with the flash site.

Is this possible in any way, or do you have any other ideas on how to do this work?

I hope i was clear enough Thanks

Recieving Data From Web..
How can you hold the flash movie until the data is transferred form the server..

eg:

i use php+mysql to create a txt in return to flash..

but the result might come late to flash..

so how should i delay the flash..

thanx..

Recieving A Parameter From Php
Hi.
I hate to ask this question, but don't have a clue what to do really.

I want to recieve a parameter sendt from php and test it in an if/else-statement.

This is how I send the parameter:
value="calendar.swf?d=<?php echo $date; ?>"

Can anyone help me. And explain in the easiest way?

Sending And Recieving
ok this is easy stuff but i cant figure it out

im replicating xanga comments.
so basically i wanna be able to type in a text field, send it to a server text document, and then display whats in there later on in the flash document.

i already found a way to display info from the text document, set each dynamic field with a variable then in the text document each line is

&dyn_txt=whatever the text is

and that works for me, i just need to know how to get flash to send info to a text document in that format above.

Not Recieving PHP Variables
I found a tutorial on how to pass PHP variables to flash through the use of query strings. I followed the tutorial exactly but my code doesn't work. Flash keeps giving me an error that it can't detect the PHP variable. But when I ran the sample from the tutorial it works just fine. My code is identical to the sample only difference being different variable names. Attached below is a segment of my code. Could anyone please tell me what I'm doing wrong?

watch.php
Code:

<?php
$v = $_GET['v'];
?>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="phpTest1" align="middle">
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="allowFullScreen" value="false" />
   <param name="movie" value="phpTest1.swf<?php echo ("?v=$v"); ?>" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />   <embed src="phpTest1.swf<?php echo ("?v=$v"); ?>" quality="high" bgcolor="#000000" width="550" height="400" name="phpTest1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
   </object>


Error Message:


Thanks in advance.

Components Not Recieving AS
Im not entirly sure how to ask this but ill attempt

Ive got an intro with a preloader. Real basic nothing special.
Im trying to add a input field UI component. Nothing special as well
In my AS i typed this

textbox.text = "WORK!!!!";

and it didnt even show my text.
to delve further into the confusion. I straight up wrote text in the input field properties and nothing showed up.
Im totaly stumped.
help!

Recieving Variables From Php And Database
Hello and ta in advance.

I use Flash MX...
My problem is that I'm trying to call variables from php into flash. Moreover I'm trying to call a series of titles into an array and split these titles into individual variables. these variables/titles then need to be clickable in order for flash to call up the relevant text that is associated with this variable/title. However, I can only get this part working. The code below throws out a list of numbers only - I cannot seem to get the titles into my text box. Below is the code I'm using and below that is all the variables that appear in my output window.

Any help would be appreciated as my scriptuing abilities are week and this is driving me nuts...


myTitles = new LoadVars();
myTitles.onLoad = function(){
//Convert Flash string to number
this.tEntries = Number(this.tEntries);
this.idData = [];
var i, tmp;
for (i=0; i<this.tEntries; i++) {
tmp = this["entry"+i].split("|");
this.idData[i] = {id:tmp[0], title:tmp[1]};
delete(this["entry"+i]);
}//End for loop
}//End function

myTitles.link = "http://www.mediaminx.com/seafuture/casestudies_flashlinks2.php";
myTitles.load(myTitles.link);

myTitles.display = function () {
var i, tmp;
tmp = ""; //Start with empty temp variable
for (i=0; i<this.tEntries; i++) {
//Keep adding to temp variable
tmp += i+1;
tmp += ". <ahref="asFunction:_level0.myTitles.clickLink,"+t his.idData[i].id+"">";
tmp += this.idData[i].title + "</a>
";
}//End for loop

//Display it in the text field
//Presuming textfield path is _level0.txtDisplay
//This should display as:
// 1. Hello World
// 2. Another Title
// 3. Next Title etc.
_level0.txtDisplay = tmp;
}//End function
myTitles.clickLink = function (id) {
trace("You clicked on " + id);
//Can use like this
//getURL("yourSite.com/someScript.php?id="+id+"&");
}//End function
myTitles.onLoad = function(){
//All actions as before AND ADD this to
//Display the data in the text field
this.display();
}//End function
stop();


Here are the output window variables

Level #0:
Variable _level0.$version = "WIN 6,0,21,0"
Variable _level0.txtDisplay = "1. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
2. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
3. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
4. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
5. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
6. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
7. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
8. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
9. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
10. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
11. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
12. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
13. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
14. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
15. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
16. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
17. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
18. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
19. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
20. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
21. <ahref="asFunction:_level0.myTitles.clickLink,"> </a>
"
Variable _level0.myTitles = [object #1, class 'LoadVars'] {
onLoad:[function 'onLoad'],
link:"http://www.mediaminx.com/seafuture/casestudies_flashlinks2.php",
display:[function 'display'],
clickLink:[function 'clickLink'],
entry0:"31|test",
entry1:"29|Hello Friend",
entry2:"22|asdgasdga",
entry3:"21|Recruitment Contacts",
entry4:"17|UK Superstars",
entry5:"16|German Superstars",
entry6:"15|Rock groups",
entry7:"14|Radio Stations",
entry8:"13|Telephone Networks",
entry9:"12|Computer Brands",
entry10:"11|Top Babes",
entry11:"10|Golf Stats!!!!!!!!",
entry12:"9|World Cup Qualifiers",
entry13:"8|England Squad",
entry14:"7|Alphabet",
entry15:"6|Europe",
entry16:"5|Premiership",
entry17:"4|The works of William Shakespeare",
entry18:"3|asfffffff",
entry19:"2|Second Case Study",
entry20:"1|First Case Study",
tEntries:"21"
}
Edit Text: Target="_level0.instance1"
variable = "txtDisplay",
text = "1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21. ",
htmlText = "<TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">1. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">2. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">3. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">4. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">5. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">6. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">7. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">8. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">9. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">10. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">11. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">12. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">13. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">14. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">15. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">16. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">17. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">18. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">19. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">20. </FONT></P></TEXTFORMAT><TEXTFORMAT LEFTMARGIN="2" RIGHTMARGIN="2" INDENT="2" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Courier New" SIZE="16" COLOR="#330099">21. </FONT></P></TEXTFORMAT>",
html = true, textWidth = 54, textHeight = 419, maxChars = null,
borderColor = 0x000000, backgroundColor = 0xFFFFFF, textColor = 0x330099, border = true,
background = true, wordWrap = true, password = false, multiline = true,
selectable = false, scroll = 1, hscroll = 0, maxscroll = 11,
maxhscroll = 0, bottomScroll = 11,
type = "dynamic",
embedFonts = false, restrict = null, length = 115, tabIndex = undefined,
autoSize = "none",
condenseWhite = false





ta

Recieving Commands From Toolbook
I'm trying to reset my flash movie from inside toolbook by sending a variable to flash. I could have two problems: either flash doesn't understand toolbook or my actionscript is just wrong. How should I recieve a the command from toolbook? I've tried alot of different things. would someone be so kind to enlighten me?
thanks
Sean

Having Trouble Recieving Variables From PHP
I wrote this code in an attempt to recieve variables from a PHP page:


Code:
disp = new LoadVars();
rec = new LoadVars();
disp.sendAndLoad("<My site here>", rec, "POST");
trace(rec.name0);

stop();
The code above traces "undefined", though.
I made a PHP code that will grab names and scores from a database and display them like this:


&name0=Scorpion&score0=251261&name1=4444444444&sco re1=9

Why doesn't this work? Thanks.

XMLSocket Not Recieving Data
I had a small chat app written in AS2 and am now changing over to AS3.
I can get the XMLSocket to connect to the chat server (written in Java) but I can't get any messages back to the swf chat client.

code for the flash client:

Code:
var chatSocket = new XMLSocket();
chatSocket.connect("localhost", 6000);
chatSocket.addEventListener(Event.CONNECT,connected);
chatSocket.addEventListener(Event.CLOSE,closeConn
chatSocket.addEventListener(IOErrorEvent.IO_ERROR,errorConn);
chatSocket.addEventListener(DataEvent.DATA,data_sock);

function data_sock(dt_event:DataEvent):void
{
trace("mess in");
chatarea.text +=dt_event.data;
}
function connected(evnt:Event):void
{
sendMess("T:mmm:liv");
chatarea.text = "";
chatarea.text ="Welcome to The Last Minute Tutor Live 1-on-1" + "
";
}
function closeConn(evnt:Event):void
{
chatarea.text ="The connection has been lost";
}
function errorConn(evnt:Event):void
{
chatarea.text ="There was a network error. Please contact the site admin";
}

function sendMess(mess):void
{
if(mess != null || mess != "")
{
chatSocket.send(mess+"
");
}
}
Not even the trace will show up.

And here's a little bit of code on the server end:

Code:

cs.outgoing = new PrintStream(cs.connection.getOutputStream(),true);
....
....
//inside of cs Object
public void send(String mess)
{
outgoing.print(mess + "
");
}
I tried ending the string with "
" and even null value "" and still nothing.
I know the send method itself is working and as I stated before I can send many messages to the chat server....I just can't get anything back.
Anyone have an idea of what might be going wrong here?
Thanks in advance.

Php Not Recieving Variable From Nested Mc
Im opening an external "emailer" swf into a blank mc in the "main" swf. For some reason the emailer cant get the variables to the php script. When the emailer swf is just sitting in an html page it works fine. here is the code i have on the send button


ActionScript Code:
on (release) {
        if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
        EmailStatus = "Please enter a valid E-mail address";
    }
   
    else if (!ToEmail.length || ToEmail.indexOf("@") == -1 || ToEmail.indexOf(".") == -1) {
        EmailStatus = "Please enter a valid E-mail address that you are sending this to";
    }

    else if (!ToName.length) {
        EmailStatus = "Please Enter the name of how you are sending this to";
    }

    else if (!FirstName.length) {
        EmailStatus = "Please Enter your name before Sending";
    }

    else if (!ToComments.length) {
        EmailStatus = "Please enter some text in you message";
    }
   
    else {
        loadVariablesNum ("snowMailPHP.php", "0", "Post");
        EmailStatus = "Sending... one Moment .. or two.. sometimes it's faster then other times";
           
}
}

the php file is sitting in the same directory as both the main and nested swf. and my php file


Code:
<?
$ToEmail = "myemail@mysite.co.nz";

##$ToName = "Jeff";
$ToSubject = "Mail from site";

$EmailBody = "Sent By: $FirstName
Senders Email: $Email
Senders Company: $Company

Message Sent:
$ToComments

Sender Heard About Site From: $HearAbout
";

$EmailFooter="
This message was sent by: $FirstName from $REMOTE_ADDR If you feel that you recieved this e-mail by accident please contact us at www.mysite.com";

$Message = $EmailBody.$EmailFooter;

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


Print "_root.Mail.EmailStatus=Complete - Your mail has been sent";

?>
There must be some path issue with the input text variables??? do they need to be global? and how do i go about that?

Recieving Form Results
hi, i do design for a mortgage company and there paying to do their site which includes an online-application and a few amiterization calculators.i was wondering if you guys new the getmail action for flash, you knew of any flash calculator tutorials? Thanks for you time and help.

Recieving Component Data With Php
hello all,
i just got my mail form to send me the data to me via php and now am wondering how i get components to send me their data. I think this is a simple question yet couldnt find threads or tutorials on the web.

help is much appriatiated

Recieving Form Results
hi, i do design for a mortgage company and there paying to do their site which includes an online-application and a few amiterization calculators.i was wondering if you guys new the getmail action for flash, you knew of any flash calculator tutorials? Thanks for you time and help.

Recieving Component Data With Php
hello all,
i just got my mail form to send me the data to me via php and now am wondering how i get components to send me their data. I think this is a simple question yet couldnt find threads or tutorials on the web.

help is much appriatiated

Sending And Recieving Data
i would like to make a text field that will load from a .txt file dynamically. updating onLoad or something like that.

i would like to be able to send text from an input field in the flash file to the .txt file which will then update onLoad to the dynamic text field in the flash movie

in essence like a very simple chat.

any suggestions on how to do this or who might know, where i might learn

thanks very much

Passing And Recieving Url Strings
Hi, I have an swf that you can customize a character. I want the viewer to be able to customize the character. Then they can send a url link to there friends. It will take them to another website that will rebuild the character the way it was customized.

How can this be done. Can you send a url string out thur flash that holds the variables and then build a webpage that reads the url string and imports the variables into it so it can rebuild the character.

Please help

Send/Recieving Variables From PHP Script.
Ok, I know how you send variables to a php script, and I know how to load variables from a txt file, but how do I send my variables to a script, have it process, then load them back in to the movie?

I'm trying to develop a site with a php/mysql backend and I can't figure out how to load the info back in to the script. Can someone hook me up?
Peace,

Probs Text Recieving Mail From Php (é È Ö)
I got myself a mailform that's working very fine. Only now I'm making a frensh version (client). So I have a lot off acents like é è ö,.. like for example in my php file I have prénom. When recieving the mail I get Pr?nom. How solve this. Need help urgent.

It's only text in the php that gives me a wrong output in my mail.

Grtz

Recieving Variables From A Php Script Using Loadvars
Hi I am trying to recieve variables from a php script but the variables have extra info included such as html tags & blank lines. My php code is as follows.

************************************************************
<?php

$temp = "just testing";
echo "&temp=".$temp;

?>

************************************************************

The Action script code I use to recieve the variables is as follows.


************************************************************
lvdata = new LoadVars();

lvdata.onLoad = function(success):Void{
    if (success){
    txtdata.text = lvdata.temp;
    trace(lvdata.temp);
    trace ("loaded Successfully");
    }
    else{
    trace ("variable loading error");    
    }
}

button1.onRelease = function():Void{
lvdata.load("http://localhost/imagine/test.php");

}

************************************************************

I can recieve and and load the variables ok but a litte extra gets added to the variable.  Below is the output that I get when traceing the temp variable.  AS you can see I get the variable data which is fine but I also get a few blank lines after that and the ending Body and html tags.  I am using flash 8.  Thanks in advance.

***********************************************************
just testing






</body>

</html>
************************************************************





Starting And Recieving Timer From A Mc Begin
start1 = getTimer();
elapsed1 = getTimer();

how can i make elapsed1 wait 6 secconds from start1 on a 1 frame animation?

When the MC Loads I need the mc to wait 6 secconds then nextFrame();

So far all i have been able to do is get it to wait 6 secconds from the start of the movie not the mc...

any help much apreciated

Loading/Carrying/Sending/Recieving Variable
Hello,
I am curious, how do you carry over variable from one movieclip to another movieclip. If you want a movie clip to allow a user to enter in, lets say, their name and press a button called "Enter Site". How would I, when a new page/movieclip loads, carry over that variable so that it could read "Hello, 'varname', Welcome to this site!"

Flash-recieving Form Results In Email
does anyone out there know how to get flash mx form results sent to an email adress? Ive searched the web pretty extensivley and couldnt find anything

Flash W/ ASP Sample Recieving Data Code Anyone?
So I'm trying to do an asp login w/ cookies. I can't recieve any data from asp to flash. Can anyone give me sample source and code? Just a basic hello world displaying on the screen would work for me.

LoadClip() Not Recieving Query String Parameters
I'm currently trying to figure out a way for a user to select their own variety of SWF files from a list for customization. This data is saved in a database and when the SWF is loaded it grabs an XML page which tells the SWF container which clips to load. My co-worker found something useful that grabs the location of the SWF and loads it in the container using the MovieClipLoader's loadClip() function. So that works fine as it grabs each little file, it plays, and then another plays right after.

However, some of the files have custom data I would like to place inside the child SWF files. There are variables saved in the files and if I load it up as movie01.swf?param1=TEST it works fine. However if I grab that as the location of the file and use the loadClip() function the query string parameters are not loaded.

Here are the simple functions used to call the SWF file into the container:


Code:
function firstmovie(){
my_loader.loadClip(movie[k], movieholder);
faderIn();
}

function nextmovie(){
k++;
if(k > total-1){
k=0;
faderIn();
my_loader.loadClip(movie[k], movieholder);
}
faderIn();
myloader.loadClip(movie[k], movieholder);
}
That is only some of the AS to give you an idea of what's going on when the SWFs are loaded. movie[k] is just an array of the strings retrieved from the generated XML file. Like I said, it understands which movies to load but the query strings are not read. Should I try to pass these variables a different way or is there a way I can use the loadClip() function still and pass these variables?

If anyone needs any more information about what I'm trying to achieve or a viewing of more code (AS/XML structure/HTML) let me know.

Thanks in advance for any input.

- Mitch

Rollover Movieclip Recieving Click Event.
I have a movieclip that constantly changes it's shape and has a rollover event for a popup. But due to the rollover event, I can't click anywhere underneath it, because it receives the click event (i have no onRelease function for it).

Is there any code that can ignore the clicking events and keep the rollover event? Or do I have to write a custom function that calculates the actual position.

Basically, it inherited all mouse properties, and I just want a rollover property.

Flash-recieving Form Results In Email
does anyone out there know how to get flash mx form results sent to an email adress? Ive searched the web pretty extensivley and couldnt find anything

Recieving Database Variable, Works In Text Box But Thats It?
SHORT VERSION: Howcome a variable from loadVariablesNum gets loaded into a text box correctly, and can be referenced when I do getURL("url"+var) but I can't reference it at the beginning of the movie, or any other movie clips it seems?

LONG VERSION: I have a variabe fID, and in the first frame of my main stage the value (a number) of fID is retrieved from the database. I have a dynamic text box, for which I used the variable "_root.fID". When I load this up, it displays fID's value just fine.

The actions frame of my main stage has:

for (i=0; i<15; i++) {
sendvariable = i;
loadVariablesNum("thumbFind.cfm", 0, POST");
this["clip"+i].child.loadMovie("../interface/thumbs/"+_root.fID+".jpg");

}

Before you diagnose the problem, let me say that when I replace the +_root.fID+ with its correct value, say 12345, in the form of +12345+, it works fine. Meaning the value of _root.fID just isn't showing up where it should. It DOES show up in the text box though. Any help?

AS2: Sending URL String, And Recieving In Flash On Seperate Page
i'm trying to send some data from a list component to another web page, and have flash collect it and take you to an appropriate frame... this is what i'm using to send the data
getURL("

MM Window Component Depth Issue? Buttons Below Recieving Events
Im having a weird issue. Im using the MM window component, I have a series of buttons under the window, not in it, but under/behind it.. for some reason i can click through the window on the buttons below the window... directly through the window. And If i have my mouse on the window but there is a button behind the window i see the little hand cursor....? I thought the window was supposed to get exclusive focus why is it that when buttons are underneath it the buttons can still recieve events?!

Please help!

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