# Flash PHP Cell Phone Messenger \[exp\]

**URL:** <https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378>\
**Category:** design\
**Created:** [July 12, 2004, 8:08pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378 "2004-07-12T20:08:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 8:08pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/1 "2004-07-12T20:08:00Z")

</div>

I was curious if I can send message’s to my cell phone from a flash form, and well yup you can, and it’s really easy too.

In my case my cell phone’s email address is [mynumber@mobile.att.net](mailto:mynumber@mobile.att.net).

So all you have to do is push the Flash variables to the php page and send them to that email address.

[Here’s the URL](http://digitalosophy.com/cell)

[Here’s the source files](http://www.digitalosophy.com/Kirupa_Files/Flash/message_cell_phone/message_cell_phone.zip)

BTW: I did this real quick so it is in no way anything great, I just figured some people may want to use this 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 8:22pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/2 "2004-07-12T20:22:37Z")

</div>

super cool… thanks for the links…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 9:20pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/3 "2004-07-12T21:20:36Z")

</div>

Thanks and no problem.

I got your message, if you have AT&T the email address comes included. Not many people I know seem to know about it, and it’s free.

I also know it works for the GSM netwrok because I just switched plans.

I don’t know if this will work for verizon or sprint, it would be cool if someone could test it for me 🙂

Edit: Oh and your email address is  
[yournumber@mobile.att.net](mailto:yournumber@mobile.att.net)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 10:53pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/4 "2004-07-12T22:53:44Z")

</div>

let’s see if my server surports this!!! This would be an awesome addon to my site 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 10:56pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/5 "2004-07-12T22:56:19Z")

</div>

thanks digital… i was wondering, could you offer the \*.FLA file backsaved to a Flash MX format?? i would be appreciate it, if possible…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 11:07pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/6 "2004-07-12T23:07:22Z")

</div>

@Majeye:

What stinks is since I used the Button Component this won’t work for Flash MX like it is now.

So what I’m going to do is post the MX version of the .FLA so you have it set up and try to go over briefly how to mod it to work for MX, which you probably already know.

[http://digitalosophy.com/Kirupa\_Files/Flash/message\_cell\_phone/indexMX.fla](http://digitalosophy.com/Kirupa_Files/Flash/message_cell_phone/indexMX.fla)

```auto

myButtonListener = new Object();
myButtonListener.click = function (){
	if(!userName.length){
		userName.text = "Enter Name";
	}
	if(!userMessage.length){
		userMessage.text = "Enter Message";
	}else{
		trace("thank you");
		trace (userName.text+ userEmail.text + userMessage.text);
		loadVariablesNum("processForm.php",0,"POST");
		gotoAndStop(10);
	}
} 
mySubmitButton.addEventListener("click", myButtonListener);

```

All I did was use an EventListener instead of using a button. So just replace the

```auto

myButtonListener = new Object();
myButtonListener.click = function (){

```

with something like

```auto

myButton.onRelease = function(){
if(!userName.length){
		userName.text = "Enter Name";
	}
	if(!userMessage.length){
		userMessage.text = "Enter Message";
	}else{
		trace("thank you");
		trace (userName.text+ userEmail.text + userMessage.text);
		loadVariablesNum("processForm.php",0,"POST");
		gotoAndStop(10);
	}
} 

```

That should be it. If not let me know. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 11:23pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/7 "2004-07-12T23:23:08Z")

</div>

sweet… thanks for the timely response… you rock the casbah!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 12, 2004, 11:24pm UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/8 "2004-07-12T23:24:39Z")

</div>

:lol: no problemo

edit: silly me man, I think if you just import the button component in MX it will work.

:lol: I forgot MX has components.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 13, 2004, 12:02am UTC](https://forum.kirupa.com/t/flash-php-cell-phone-messenger-exp/57378/9 "2004-07-13T00:02:42Z")

</div>

Oh wow, someone already did this here! I was in the making of creating one for my cellphone but I just been so busy at work designing, I don’t even want to open PS or flash. I think imma start on this tonight.
