PDA

View Full Version : Mailto 'Flash variable' subject?!?!



nizamm
November 7th, 2003, 07:13 PM
That's right!! A normal subject for a mailto would simply go...
mailto:me@somewhere.com?subject=bla bla...

But the problem here, is that I want to send a variable to the subject line...how do i do it? It's really URGENT !!!

eyezberg
November 8th, 2003, 02:24 PM
From Flash? In Flash? PHP?
Mind explaining? What variable?....

nizamm
November 8th, 2003, 04:54 PM
Chill!! Take it easy...If I knew all that, I would've mentioned it...

It's simply Flash...no PHP...as in when a button is pressed I want to add the text that's held in a normal 'var message'....I think it's got something to do with string concatenation...but what's the syntax?!

Basically I want to put the name of the button clicked in the email subject....and it's not a dumb thing to do and don't ask why....

eyezberg
November 8th, 2003, 06:39 PM
Chill!! Take it easy...
...and it's not a dumb thing to do and don't ask why....

am I gonna answer or just ignore impatient youth..

Well, this time it'll be ok, next time not. YOU said 'It's really URGENT !!!' , so better explain exactly what you need..

button.onRelease = function(){
subjectText = this._name;
getURL("mailto:me@somewhere.com?subject="+subjectText);
}

If it doesn't work, don't ask again.

DDD
November 9th, 2003, 01:42 PM
yeah dont be an arse. I was not going to answer your question....glad eyez was nice enough to.

nizamm
November 9th, 2003, 05:46 PM
GUYS GUYS!! PEACE !! GOT THE WRONG PICTURE!! I SURRENDER...
I didn't mean to say 'don't ask why' coz you did, eyezberg....I was completely referring to the very dumb idea I myself had on using the instance name for the email subject....I was just making it a generic statement for anyone not to ask why coz I felt a lil dumb coming up with such an idea...I never had any thought of offense to anyone.....it's a complete misunderstanding.....sorry for the misconception.....peace guys...I'm a newbie here...so it'll take time for me to get used to the place yeah?!

DDD
November 10th, 2003, 12:20 AM
cool man...my apologies. Be a lil careful with your wording.