Email link in CS4 Flash
I am a newbie when it comes to flash and I have done a few tutorials. I am now working on my own personal site but I have come across a problem. Im basically duplicating the tutorial and have done so to a T. But on a comments/questions form that i have created to email me, I get a blank window in Internet Explorer when it brings up the email client. This does not occur in firefox however. If anyone could help it would be much appreciated.
Thanks so much.
Submit_btn.addEventListener(MouseEvent.CLICK, sendData);
function sendData(evtObj:MouseEvent):void{
trace (name_txt.text);
trace (email_txt.text);
trace (message_txt.text);
var theEmail:URLRequest = new URLRequest("MailTo:[email protected]?from="+email_txt.text+"&subject=From Website&body="+message_txt.text+" from:"+name_txt.text);
navigateToURL(theEmail);
The only thing I can think of offering is to say to try to include a window parameter in the function call to see if that has any effect...
navigateToURL(url, "_self");
Similar Messages
-
Auto fill subject with an Email link in CS4 Bridge flash web gallery
Is there a way to autofill the subject line of the email link in the CS4 Bridge flab web galleries? I can do it if I use the html gallery, but I prefer the look of the flash galleries.
If I open the "group.xml" file I see code for me email link, exp.: <contactEmail>maillto:[email protected]</contactEmail>
I tried adding the "?subject=My Subject" like I would on an html file but that didn't work. I was hoping for some suggestions.
Thanks!I want it to work on the click of a mouse: when I run or test the page the email comes up immediately. Here is what I have so far:
navigateToURL(new URLRequest("mailto:mailto:[email protected]?subject=yoursubject&body=your message"));
/* Mouse Click Event
Clicking on the specified symbol instance executes a function in which you can add your own custom code.
Instructions:
1. Add your custom code on a new line after the line that says "// Start your custom code" below.
The code will execute when the symbol instance is clicked.
button_3.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_6);
function fl_MouseClickHandler_6(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("Mouse clicked");
// End your custom code
So how do I get the email to open ONLY when the mouse clicks on the link??
Sue
Susan Blair Cheatham
Su-Jobi Web Design
mailto:[email protected]
Cell: 706 949-6035
Thank you for choosing Su-Jobi Web Design
We appreciate your trust! -
Email link through a flash movie
I made a website in flash so I want to put my email address
there also so if they want to contact me they can just click on it
and the default email app will open up. I know how to do that in
Dreamweaver (it's that mailto: command) so how do you do it in
flash? I know a little bit of AS3.Nora9,
You first need to create a URLRequest and then navigate to
that request. Try the following code:
Hope this is what you wanted...
-john -
How to make email link with a button with AC2 in flash cs3?
How to make email link with a button with AC2 in flash cs3?
I wrote this, but it does not work:
btn_emailinfo.on (release) {
getURL("mailto:"[email protected]");
}I am guessing you put that on a frame?
If so, the syntax is as follows:
btn_emailinfo.onRelease = function(){
getURL("mailto:[email protected]");
Though, if you are placing it directly on the button itself,
the syntax is:
on(release){
getURL("mailto:[email protected]");
} -
Email link colour & flash text
anyway to change an email link for the blue colour??
cheers guys
oh and has anyone got the html code to have flash text always
active on a pc, did have it once but cant find it, would this do
the trick..
<script type="text/javascript"
src="fixit.js"></script>
so it activates flash on opening the page, so text dusnt have
to be clicked to activate.On 12 May 2007 in macromedia.dreamweaver, graphicmoore wrote:
> anyway to change an email link for the blue colour??
Same way as you do with any other link: with CSS.
http://projectseven.com/tutorials/css/pseudoclasses/
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php -
EMail Link in SWF exported from InD CS5 does not work
I'm trying to find a definitive answer on this. I have designed an interactive document in InD CS5 that has buttons and hyperlinks. When exported to SWF everything works except my e-mail hyperlink. It works fine in InDesign's preview pane. I've uploaded the file to my webserver for testing, the problem still occurs.
I found one post in another forum that quoted an Adobe InD developer stating that as of CS4 email links were not exported. However, I've not been able to find any mention of whether this works in CS5 or not.
Does anybody know for sure whether or not email links work in SWF files exported from CS5?Sorry, no offense was intended. I had found references to problems with CS4, but nothing about CS5, and said as much in my post -- was frustrated that I had spent a long time looking and hadn't found any responses yet.
You mentioned using buttons rather than hyperlinks, and that worked for me -- but it might have just been a problem with my browser not properly reloading the flash file, too -- as I mentioned in my response.
But in any case, THANK YOU FOR YOUR SUGGESTION! -
Swf files and email links in dreamweaver
Good evening everyone,
Need some help please
I have a button (swf) made in Flash and brought into Dreamweaver to act as an email link when clicked.
When testing, an extra browser window named "untitled" comes up behind the main email window which
pops up fine. I can't figure out where the extra blank "untitled" window is coming from.
swf was made in cs4 with as3 and imported into Dreamweaver cs4.
The following is the code used for the swf file.
var emailLink:URLRequest = new URLRequest("mailto:[email protected]");
email_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(MouseEvent):void
navigateToURL(emailLink);
Thanks in advance,
[email protected]The extra browser window will not appear when you run the file live on a server. It is just one of the quirks with local Flash testing.
-
this is frustrating i have a flash movie that is ready to
deploy but can't get the reply email link to function can anyone
help?hi did that several times clicked the link button tested 20
to 30 times no luck. it is easy to do in visual studio, dreamweaver
4 through 8 and my version is pro, and even swish but CANNOT DO IT
IN FLASH 8 PRO! maybe i'm making it harder than it is i don't know
i tryed the simple in properties and then a html in the code
sampling maybe i'm missing a string i am not seeing. -
How to create a keyboard shortcut in firefox for email link
I would like to create a keyboard shortcut for firefox for the EMail Link menu item. I specified shift-Command-S as the keyboard shortcut. When I hit the key sequence the File on the menubar flashes but the Email Link window never opens. Does anyone have a clue as to what I need to do to get this to work or is there a reason it doesn't work. I do use Outlook for my mail client. That shouldn't be a problem because when I manually select EMail Link from the File menu Outlook is properly used.
thanks for your help
johnYou need automator to create services, as detailed in http://discussions.apple.com/thread.jspa?threadID=2241804 a four-parter by Sal Saghoian on *Automation in Snow Leopard*
This, describes old and new automator—services stuff:
http://www.reynoldsftw.com/2009/08/automator-and-finder-interactions-in-os-x-10- 6/
Alternatively, just save the script
*+tell application "Firefox" to activate+*
as an app, put it on the Dock, and click it to activate it. However, seems simpler just to put the FF icon on the Dock and a single click launches it. Why would you want a service or AS to do the same thing? -
Attaching a link to a Flash video
I made a flash video and I would like it to be a link to
another site. Is this possible if so how would l go about doing
this? I search these forums all morning and found nothing related
to the topic. I tried the following and had no success:
1. Right click on image Edit tag, events, then OnbllClick
insert web address.
2. Under insert tab I tried HTML, head tag, , link.
3. Under modify make link.
All 3 of those had no luck I also tried a few other things.
Got know where
I am wondering if I was suppose to add then link maybe in
Flash or After Effects?
Does anyone happen to know how to go about attaching a link
to a flash video?
All of a sudden I also been having trouble with opening up
the page in Explorer and its asking me to save the file as
dwt.template which its already save as. When I open it does the
same thing again. I didn't have this problem until today. Other
then this it was able to preview it in explorer. Firefox works fine
Thanks for you replys,
RobertYes, and you would lose. First of all, you didn't read my
post because I
did not say you couldn't put a link IN Flash. I said that you
cannot use
HTML to put a link on a Flash object. And secondly you are
missing the crux
of the help files, as explained by Alan.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"robert2562000" <[email protected]> wrote in
message
news:g5dtkr$op1$[email protected]..
> Would you like to make a bet on that? Have you looked at
the help file in
> dreamweaver lately and see what a flash file is capable
of doing? So don't
> tell
> me that you can't modify and add links to a SWF file. I
did the research
> look
> below. Although its template format it still allows you
do add a link to a
> SWF
> file. Shows what you know.
>
> The Flash template files (.swt) These files enable you
to modify and
> replace
> information in a Flash SWF file. The files are used in
the Flash button
> object,
> which lets you modify the template with your own text or
links, to create
> a
> custom SWF to insert in your document. In Dreamweaver,
these template
> files can
> be found in the Dreamweaver/Configuration/Flash
Objects/Flash Buttons and
> Flash
> Text folders.
>
>
> -
Hi, My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress iss: http://lisbondreamwalk.li.funpic.org This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */ send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void { if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URL var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress); thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = ""; } }
HThank you Kglad, I am going to see if I can make it work. I will let you know!
Date: Thu, 13 Oct 2011 08:55:05 -0600
From: [email protected]
To: [email protected]
Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
created by kglad in Action Script 3 - View the full discussion
you missed part of the tutorial (or the tutorial is incomplete): send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{ if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
}} var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Action Script 3 by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Email link in a dynamic text field
I have a paragraph of scrollable dynamic text. I need to add
an email link to one of the sentences. Is this possible? I can't
make the line a button in the dynamic text paragraph. Can anyone
help please.information about the asfunction() is in the flash help
files: actionscript 2.0 language reference/index/asfunction. -
HOW DO I GET STARTED? I JUST BOUGHT TO CONVERT PDF TO WORD. ALL I GET IS INVITE TO PURCHASE AGAIN. EMAIL LINKS DO NOT WORK!
Reply from Keygames.
Hi David,
It is a problem with the website. We are working on a solution.
Best is to go to http://spele.nl for the time being.
Best regards,
Lorenzo
Date: Sun, 17 Nov 2013 01:43:55 -0800
From: [email protected]
To: [email protected]
Subject: Unable to play flash games. All I get is a white box. Does anyone have a solution?
Re: Unable to play flash games. All I get is a white box. Does anyone have a solution?
created by Pat Willener in Installing Flash Player - View the full discussion -
Email Link inside a Scrollpane
So i have a scrollpane with a movieclip in it. Inside the movieclip i put static text that says "Email Eric" and linked it with mailto:[email protected] but when i test the movie it won't work. So basically i need to know how to link an email to something inside a scrollpane. Any help would be much appreciated. Thanks for your time in advance. I know someone will come thru for me. They always do!
ok....so i made a whole new flash document to make sure i wasnt doing anything wrong
scrollpane instance name = ericScroll
movie clip that scrolls thru scrollpane = content
so i laid out all my stuff going to be a in the movieclip scroll and then put text and made it a movieclip and it's instance name is = email
then i selected all my info including email link and other item to be content and made it all a movieclip(content)
i have 2 layers
site & actions
first frame i made a button the goes to frame 17 where my scrollPane lies. on that frame in my actions i have this code
scrollPane.setStyle("borderStyle","none");
scrollPane.drawFocus = false;
ericScroll.spContentHolder.email.onRelease = function() {
trace("A");
getURL("mailto:[email protected]");
s then when i test movie i click the button that takes me to the scrollpane ....scroll down....press the button and nothing -
HOW CAN PUT A LINK ON A FLASH ANIMATION
I NEED TO PUT A LINK IN A FLASH ANIMATION, I CREATE THE
ANIMATION IN FLASH.
AND I INSERT THIS ANIMATION ON DREAMWEBER, BUT.. I CAN'T
INSERT A LINK IN THAT ANIMATION
(NOT NEED AN URL) I NEED A SIMPLE LINK FOR EXAMPLE:< A
HREF="HELLO.HTM"></A>
THANKSYou cannot put an HTML link on a Flash object. You would have
to do that in
Flash.
By the way, your keyboard is stuck in caps.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"YAMAZAKY17" <[email protected]> wrote in
message
news:f44ig7$l8b$[email protected]..
>I NEED TO PUT A LINK IN A FLASH ANIMATION, I CREATE THE
ANIMATION IN FLASH.
> AND I INSERT THIS ANIMATION ON DREAMWEBER, BUT.. I CAN'T
INSERT A LINK IN
> THAT
> ANIMATION
> (NOT NEED AN URL) I NEED A SIMPLE LINK FOR EXAMPLE:<
A
> HREF="HELLO.HTM"></A>
> THANKS
>
Maybe you are looking for
-
Hi i bought the itunes music credit, and when tried to redeem it asked for my ID, i have put the details, then it asked for the security questions answers, which i can not remember. when i try to reset, the email get sent to un unknown email address
-
I run a book review blog, and while I don't usually review e-books, I've noticed that most of my review requests (from authors or independent publishers) are offering digital only. In the past I've used free programs such as Kindle for PC and Adobe D
-
?letterboxing issue.. probably a newbie question, sorry
Sorry if this has been discussed before. Very new to macs (former PC user) I have a MacMini with 10.4.xx (cant remember the next #) with 2g ram and intel processor. Making a slideshow in IMovie and buring in IDVD. I have made two different slideshows
-
Can I make a url link from my logo in web gallery?
I'm in LR 1. I have a logo in the upper left in web gallery. Can I make a url link? Pity that clients can see the logo but cannot link to the url. thanks.
-
In Back ground job more then 254 char it is avoiding .
Hi All, when am doing background job of program (ALV Report), this program having more the 254 characters in one line it is truncating the values after 254th character onwards. it is display perfectly when am runing in foreground. only problem when a