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

Similar Messages

  • Emil link in a flash movie

    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.

  • Linking for a flash movie

    I am using the Adobe work around for the "click to activate"
    issue, and the flash movie that I want to launch is going to be
    launched from a link.
    here is what I have:
    javascript:
    function demo()
    document.write('<object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    height="200">\n');
    document.write('<param name="movie" value="demo.swf"
    />\n');
    document.write('<param name="quality" value="high"
    />\n');
    document.write('<embed
    type="application/x-shockwave-flash" src="demo.swf"
    height="200"></embed>\n');
    document.write('</object>\n');
    and the link looks like this:
    <a href="javascript:demo()" target="_blank">View Demo
    here</a>
    what am I doing wrong? the window launchs, but the movie
    won't play
    I need help with this immediately as it has to go live this
    afternoon!!!!!

    Can you show us what you have tried? Which version of Flash
    are you using? Which version of Actionscript?

  • 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");

  • Adding link to Flash movie to HTML Help

    I have to output the same help in both CHM and WebHelp, and I
    have to include a Flash movie (SWF) in both versions. The only way
    I've found to get a link to the Flash movie to work in the compiled
    CHM is to add all the Flash files to the project as "baggage" and
    then insert the link. Compiled CHM then includes the Flash files.
    Is this the recommended approach? Is there an easier way?
    Thanks,
    mel

    Hi mel and welcome to our community
    Indeed, adding to baggage will not hurt a thing and is
    recommended. I recently published a second article dealing with
    Flash content and RoboHelp that you may find useful. You may view
    it by
    clicking
    here
    Cheers... Rick

  • Urgent! HTML table cell - Flash movie display browser dependent

    Hi all,
    I wonder if anyone has experienced the same problem i have
    (note, Windows XP, Dreamweaver 4).
    Consider the (rough) HTML code attached: A simple HTML table
    of one column and two rows is constructed to hold an image banner
    link and a Flash movie banner link in each cell consecutively.
    The Flash movie works normally when the HTML page is viewed
    in IE and Opera, until that is, it is placed inside a table cell.
    Inside the cell the flash movie seems to disappear, though i
    suspect it collapses to an image 1 pixel in height, as this can
    just about be seen using Opera.
    Is there something that I am missing? The code of course
    seems correct to me - perhaps there is a browser setting i am
    missing?
    Any help apprceiated - as i need to implement this code ..
    Daz

    Hi Alan,
    Dont think that was the problem (percentages used to scale to
    users browser?) ... though you did set me thinking!
    Was tired before, so only just remembered that when i was
    experimenting with setting the Table Properties the image was
    actually occasionally visible!!
    Short version: When formatting a cell containing a Flash
    animation dont leave the H field blank or use % (even though you're
    suppose to be able to!), use pixels instead - otherwise the Flash
    image collapses/disappears. Blank and % are fine everywhere else
    (I did type a long answer before, but it got eaten by the
    forum monster
    Someone/i will probably figure out
    why this is so or maybe i've just rediscovered the wheel
    here - but thats not really important now - because my Flash
    animation now renders similarly across IE, Opera and FireFox !!
    So thanks for your help!
    Daren

  • How do I center my flash movie in dreamweaver

    Hi!!
    I currently have a behavior assigned to a slice I made in
    imageready. In dreamweaver I assigned a pop up browser
    window to it...it will be a link to a flash movie(.swf) I
    made, but I don't know how to alter the code to make the browser
    window centered on the screen!! Right now it opens on the top of
    the screen.
    Any help will be greatly appreciated.
    thanks in advance!!

    Thanks Gorka,
    I looked it up and found this useful summary:
    http://probertson.com/articles/2006/12/14/deep-linking-flash-application-states/
    However, I'm now trying to figure out how write the flahs
    vars so it can see what section / folder the page is in so that the
    swf knows to play the same frames for both
    swinsidelodge-hotel.co.uk/pages/hotel/awards.php and
    swinsidelodge-hotel.co.uk/pages/hotel/guest-comments.php. So
    basically it doesn't look at the last bit of the url but the first
    bit... I would like the flash vars to be dynamic so that when the
    client adds a new subpage in one of the sections the swf will still
    know which frames to play.
    Any suggestions?
    Thanks,
    Konrad

  • Cannot watch flash movie on IE

    Greetings Everybody!
    Here I have a question about my flash in IE. When I tried to
    open an online link embedded with flash movie, I can not see any of
    them. I am quite sure flash player 9 was installed properly. Just
    want to know whether there is any other settings(flash/IE?) to be
    modified?
    Below is an example:
    http://www.macromedia.com/software/flash/about/
    I can right click movie, but the "movie not loaded" is grey
    and only "About Adobe Flash player 9" is valid.

    Welcome to the Apple Community.
    Did you look in the video app.

  • DW CS4: How to play a Flash Movie in a NEW window after clicking a link or a button on a page?

    Hi, using Adobe Dreamweaver CS4, I would like to have a link or a button on a webpage that when clicked will play a Flash Movie in a new window.
    Using the 'Insert Panel' > Media: FLV I managed to insert the .flv file on the page, but the movie plays 'in line' instead of in a new window. So far I can't find any 'Properties' or settings to change this behaviour. E.g. like Target _blank for opening e.g. a .pdf in a new Window.
    > Please help.
    Thank you!

    Try using one of the popular javascript methods for this. I use shadowbox and you can find examples, info and a download here: http://www.shadowbox-js.com

  • 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!

  • 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]");
    }

  • I received a link to a iTune movie trailer in an email.  I clicked on watch now and then play.  I was told I need to download Quick Time, but when I clicked on download, I was told that QT is built into Mac OSX.  My MacBook has OSX Yosemite.

    I received a link to a iTune movie trailer in an email.  I clicked on "watch now" and then "play".  I was told I need to download Quick Time, but when I clicked on download, I was told that QT is built into Mac OSX.  How do I get QT to work?

    When I hit the play icon the little arrow thing goes all the way over to the end of the file and doesn't play at all.  What gives?
    Is this a minimum information puzzle? It is difficult to diagnose a problem long distance when you provide little or no information regarding what actions you are actually taking to export the data or which version of iPhoto you are using. Based on your latest description of how it doesn't work, my best guess is that you are exporting a single frame from your video clip rather than the "Original" file. This is easily checked by opening the file in QT and simply pressing the left/right arrow keys. If the file only contains a single frame, then your export work flow is at fault. Please select the "File > Original" (or similar) option in the export menu to export the entire file in whatever version of iPhoto you are using..

  • 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

  • Link flash movies to text

    I am trying to linking each FLV movie imported into the Library to a word on my Samples page.  Ex. Wedding linked to a wedding clip, School play linked to a school play clip.  Unfortunately, the add interaction button only allows me to select the first movie that was brought into the Samples page.
    How can I link multiple movies to one flash movie player?

    http://www.webdesigndev.com/flash/flash-catalyst-tutorial-101-creating-an-interactive-vide o-gallery-quickly-without-writing-any-code
    The link above shows how to link artwork to specific FLV videos.   It seems a little more difficult using only words.

  • Flash movie display issues in IE

    Hi Everyone!
    This message is a cross-post and I apologize, but there seems
    to be more traffic in this forum and I really could use some input
    on my question. Here goes:
    I'm new to this forum, but have a little experience with
    Flash. I'm building a site, mixing flash with css and html on a
    webpage (obviously). When I test the pages in Internet Explorer,
    the display jumps around quite a bit when I navigate between web
    pages (looks fine when clicking through frames in the movies). This
    is the first time I've ever seen this (in the few times I've built
    flash-heavy sites) and this display issue doesn't happen in
    Firefox, Opera or even old Netscape. Unfortunately - most of the
    world is using IE, so I need a little help.
    I thought perhaps the Flash Satay solution might be the
    answer, but I'm not a handy programmer so before I go mucking
    around with it, I thought I'd get some thoughts from other flash
    users...
    Here's the link: mustardseedwoodworking.com/testing The pages
    in question (and the only ones that are working, really) are the
    home page, the about page, and then galleries one and two.
    (Oh finally, I'm viewing these pages both locally, on my
    computer and online after being uploaded. I have cable internet
    access. I realize Gallery 2 loads a bit more slowly than Gallery 1,
    but the primary reason I'm using flash to display the tables is
    because I want large, high rez photos. )
    Thanks in advance!
    Michelle

    Did you upload the Scripts folder that DW places in the root
    of your site?
    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
    ==================
    "Dunk11" <[email protected]> wrote in
    message
    news:eavmev$olm$[email protected]..
    >I need some help getting Internet Explorer to show my
    flash movie.
    >Everything
    > looks fine in FireFox, but when I test it in IE my
    movies will not load.
    > I can
    > however go directly to the .swf file in IE and it will
    load. But when I
    > try to
    > view in on the actual webpage it will not. Here is the
    link
    >
    http://www.duncanandthompson.com/test/test.htm
    > Thanks
    >

Maybe you are looking for

  • IP Profile stuck at 2 mbps

    seen lots of comments re this. Here are my details 1. Product name: BT Home Hub 2. Serial number: +058720+1112042268 3. Firmware version: Software version 4.7.5.1.83.8.94.1.37 (Type A) Last updated 25/05/14 4. Board version: BT Home Hub 3.0A 5. ADSL

  • HD constantly needs repair

    If I were to run VERIFY DISK every day on my MacBook I would get the same results: files differ by one file and folders differ by one folder...requiring a REPAIR DISK. This is getting old...how can I determine which file is the culprit here? I obviou

  • Getting Music off of Ipod Touch

    My computer crashed and the hard drive had to be replaced. I foolishly didn't have any of my music backed up. I have all my music and movies still on my Ipod Touch. Is there any way I can get my music off my Ipod, and onto a external drive, so that w

  • Which version of Windows XP (SP1, SP2, SP3?) can I install on Mac Pro 2011 using Boot camp

    I am planning to install Microsoft XP on my Mac Pro 2011 using boot-camp. Since there are multiple versions available (Home, Professional, Pro with SP1, SP2, and SP3's etc-) I am finding hard to decide which one is the tested and best available optio

  • Can we please get more Real Housewives?

    Can we please get more Real Housewives? There have been several shows on television already that have not been on the iTunes store, including Season 5 "The Real Housewives of New Jersey" and season 3 of "The Real Housewives of Miami." I work writing