Email Linking in Flash

I have a button, but I want it to work in effect like a
mailto link you would have in html.
Please help because I tried getURL as well as
symbol3.onRelease = function() {
and it errors out on both and neither work.

I am using a template, on (release){getURL
("mailto:[email protected]");} is the code I want to change BUT how do
I get there to change it? I have highlighted the email button, gone
to edit selected and I see all the boxes for the button but when I
go to actions, components, behaviors I cannot fine the code (on
(release){getURL("mailto:[email protected]");} to edit it -- WHERE IS
IT!
SueSue

Similar Messages

  • 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 Flash CS5 and how to bold typeface...

    Hi, total flash newbie here with a few questions:
    1.) I'm trying to put an email hyperlink in part of my text, but I can't seem to figure out how to do it. I tried the code snippets, click to go to web page but instead of an URL I typed "mailto:[email protected]" but when I tested it, nothing happened.
    2.) How do I link to the other pages from within the website that I'm working on? Again, I'm a total newbie and I'm only familar with Dreamweaver.
    3.) Lastly, how do I bold the typeface??? The text tool properties do not show any bold, italic, or underline icons, and the hotkey to bold is the break apart command.
    4.) When I test my movie, how come I can't scroll down and see the footer area of the SWF??
    If there's someone on these forums that could help me with these problems, it would be greatly appreciated.
    Thanks!

    TO create a hypper link for a text u can assign text as html text to the text field
    tf.htmlText="<a href=\"http://www.adobe.com\">adobe</a>";
    this code assigns the opens up adobe.com on clicking on text 'adobe' which in assigned to tf
    TO create a bold interface click on the test fiels in the properties panel u will see 'B" button clickinng on which the txt is bold
    IN AS u can set bold as below
    import flash.text.TextFormat;
    import flash.text.TextField;
    var tf = new TextField();
    var tff:TextFormat = new TextFormat();
    tff.size=30;
    tff.bold = true;
    tf.defaultTextFormat=tff;
    tf.htmlText="<a href=\"http://www.adobe.com\">ADOBE</a>";
    addChild(tf);
    for mail:
    <a href=\"mailto:[email protected]?subject=Feedback\">click here </a>
    if set as button
    on (release) {
             getURL("mailto:[email protected]?subject=Feedback");

  • URL, email links in Flash swf files shows up in search engine

    Hi, can you please help? I post this problem a while ago.
    My problem is: I developed a website in Flash 8 on the Mac.
    The Flash swf file is displayed via Dreamweaver doc. When I do a
    search and, when the site is found in Google, all the links used in
    the Flash swf file appears in the snippets below the main title. I
    would like to know where I'm going wrong, and how can I prevent
    Google from displaying the URL and email details.
    Do I need to use a preloaded, or do I need to put the Flash
    swf movie file in a table in Dreamwever.
    Many thanks,
    Blue_Mac

    >I don't know how this is happening then. Search engine
    spiders don't
    >read through compiled files like Flash.
    Thanks, this is reassuring. Although it seems to have done
    just that.
    The following action script is where the details are coming
    from. I've used the name 'whatever" as an example. I don't mind the
    URLs on view as much as I mind my email address because of security
    issues.
    on (release) {
    //Goto Webpage Behavior
    getURL("mailto:[email protected]","_blank");
    //End Behavior
    I'll check my files again to see if I've miss anything out -
    I have done this so many times already.
    Regards,
    Blue_Mac

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

  • How do i link a flash file to a web site in dreamweaver 8

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0059_01C7A541.7942B2A0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Hi
    How do i link a flash file to a web site in dreamweaver 8
    Thanks
    ------=_NextPart_000_0059_01C7A541.7942B2A0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6000.16448"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial
    size=3D2>Hi</FONT><FONT face=3DArial =
    size=3D2></FONT></DIV>
    <DIV><FONT size=3D1>
    <P><FONT size=3D3>How do i link a flash file to a
    web site in =
    dreamweaver=20
    8</FONT></P>
    <P> </P>
    <P><FONT face=3DArial =
    size=3D2>Thanks</FONT></P></FONT></DIV></BODY></HTML>
    ------=_NextPart_000_0059_01C7A541.7942B2A0--

    In Flash. There is no way to apply an HTML link to a swf
    file.
    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
    ==================
    "Dave" <[email protected]> wrote in message
    news:f3s8f0$cla$[email protected]..
    Hi
    How do i link a flash file to a web site in dreamweaver 8
    Thanks

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

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

    You 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?

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

  • Just bot to conver to Word.  All I get is invite to purchase again.  email links DO NOT WORK!

    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

  • Properly Linking a Flash Animation to a URL

    Hi Folks,
    I'm Running CS4, AS3. Thanks in advance for taking a look at this.
    I was asked to link a Flash banner ad to a URL. To accomplish this, I created a new layer with one keyframe in frame 1, which spans the whole animation. In this layer I entered the ActionScript in REFERENCE 1. It works fine in several browsers, including IE8, FF3.6, and Chrome, and works for the customer. Then....
    Their webmaster emailed back saying that he "did not see any links in the new banner." I'm not sure what this means, and if he actually tested the code.
    They sent me an example from a previous developer, which is REFERENCE 2.
    I compared it to what I published--which was generated by the CS4 "Publish" option. This is REFERENCE 3.
    Did I do something wrong? Everything works in all my tests, and they work for the customer.
    It looks like they're missing a lot of information from the header. It is much smaller than the header that CS4 generates. They also have a link under the <!--url's used in the movie--> comment. Could this affect the performance? To my knowledge, this is obsolete. Perhaps they used an older version of Flash?
    tyvm!
    REFERENCE 1: ACTIONSCRIPT TO MAKE BANNER A LINK.
    stage.addEventListener(
      MouseEvent.CLICK,
      function(evt:MouseEvent):void
      var url:String = "http://www.URL.com/";
      var window:String = "_blank";
      var request:URLRequest = new URLRequest(url);
      try
          navigateToURL(request,window);
        catch (e:Error)
          trace("Page unavailable. Please refresh this page to try again.");
    REFERENCE 2: EXAMPLE SENT FROM WEBMASTER
    (NOTE VERY SMALL HEADER)
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>148x300_af</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <a href="http://www.URL.com/"></a>
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
        if (AC_FL_RunContent == 0) {
            alert("This page requires AC_RunActiveContent.js.");
        } else {
            AC_FL_RunContent(
                'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                'width', '148',
                'height', '300',
                'src', '148x300_af',
                'quality', 'high',
                'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                'align', 'middle',
                'play', 'true',
                'loop', 'true',
                'scale', 'showall',
                'wmode', 'window',
                'devicefont', 'false',
                'id', '148x300_af',
                'bgcolor', '#ffffff',
                'name', '148x300_af',
                'menu', 'true',
                'allowFullScreen', 'false',
                'allowScriptAccess','sameDomain',
                'movie', '148x300_af',
                'salign', ''
                ); //end AC code
    </script>
    <noscript>
        <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="148" height="300" id="148x300_af" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="148x300_af.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />    <embed src="148x300_af.swf" quality="high" bgcolor="#ffffff" width="148" height="300" name="148x300_af" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    REFERENCE 3: MY PUBLISHED HTML
    (NOTE MUCH LONGER AND MORE ROBUST HEAD)
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>1.3.1a</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
        var version;
        var axo;
        var e;
        // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
        try {
            // version will be set for 7.X or greater players
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
            version = axo.GetVariable("$version");
        } catch (e) {
        if (!version)
            try {
                // version will be set for 6.X players only
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                // installed player is some revision of 6.0
                // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                // so we have to be careful.
                // default to the first public version
                version = "WIN 6,0,21,0";
                // throws if AllowScripAccess does not exist (introduced in 6.0r47)       
                axo.AllowScriptAccess = "always";
                // safe to call for 6.0r47 or greater
                version = axo.GetVariable("$version");
            } catch (e) {
        if (!version)
            try {
                // version will be set for 4.X or 5.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                version = axo.GetVariable("$version");
            } catch (e) {
        if (!version)
            try {
                // version will be set for 3.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                version = "WIN 3,0,18,0";
            } catch (e) {
        if (!version)
            try {
                // version will be set for 2.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                version = "WIN 2,0,0,11";
            } catch (e) {
                version = -1;
        return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
        // NS/Opera version >= 3 check for Flash plugin in plugin array
        var flashVer = -1;
        if (navigator.plugins != null && navigator.plugins.length > 0) {
            if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                var descArray = flashDescription.split(" ");
                var tempArrayMajor = descArray[2].split(".");           
                var versionMajor = tempArrayMajor[0];
                var versionMinor = tempArrayMajor[1];
                var versionRevision = descArray[3];
                if (versionRevision == "") {
                    versionRevision = descArray[4];
                if (versionRevision[0] == "d") {
                    versionRevision = versionRevision.substring(1);
                } else if (versionRevision[0] == "r") {
                    versionRevision = versionRevision.substring(1);
                    if (versionRevision.indexOf("d") > 0) {
                        versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
        // MSN/WebTV 2.6 supports Flash 4
        else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
        // WebTV 2.5 supports Flash 3
        else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
        // older WebTV supports Flash 2
        else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
        else if ( isIE && isWin && !isOpera ) {
            flashVer = ControlVersion();
        return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
        versionStr = GetSwfVer();
        if (versionStr == -1 ) {
            return false;
        } else if (versionStr != 0) {
            if(isIE && isWin && !isOpera) {
                // Given "WIN 2,0,0,11"
                tempArray         = versionStr.split(" ");     // ["WIN", "2,0,0,11"]
                tempString        = tempArray[1];            // "2,0,0,11"
                versionArray      = tempString.split(",");    // ['2', '0', '0', '11']
            } else {
                versionArray      = versionStr.split(".");
            var versionMajor      = versionArray[0];
            var versionMinor      = versionArray[1];
            var versionRevision   = versionArray[2];
                // is the major.revision >= requested major.revision AND the minor version >= requested minor
            if (versionMajor > parseFloat(reqMajorVer)) {
                return true;
            } else if (versionMajor == parseFloat(reqMajorVer)) {
                if (versionMinor > parseFloat(reqMinorVer))
                    return true;
                else if (versionMinor == parseFloat(reqMinorVer)) {
                    if (versionRevision >= parseFloat(reqRevision))
                        return true;
            return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();   
        switch (currArg){   
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":   
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
            'width', '728',
            'height', '90',
            'src', '1.3.1a',
            'quality', 'high',
            'pluginspage', 'http://www.adobe.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'window',
            'devicefont', 'false',
            'id', '1.3.1a',
            'bgcolor', '#ffffff',
            'name', '1.3.1a',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', '1.3.1a',
            'salign', ''
            ); //end AC code
    </script>
    <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="728" height="90" id="aperio1.3.1a" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="aperio1.3.1a.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />    <embed src="1.3.1a.swf" quality="high" bgcolor="#ffffff" width="728" height="90" name="1.3.1a" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>

    You should check with whoever made the comment regarding the links -- it's not clear though it may refer to the difference between these lines in 2 and 3.
    2)
    <!--url's used in the movie-->
    <a href="http://www.URL.com/"></a>
    3)
    <!--url's used in the movie-->
    So you may just need to add some link after that line to appease them? So asking is your best means to resolution for that.
    As far as your mention of a more robust head section goes, there is probably no difference between the two--they both use the AC_FL_RunContent coding to embed the Flash file.   The REF3 head section just contains all of the javascript code that is in the file they are linking in the following line...
    <script src="AC_RunActiveContent.js" language="javascript"></script>

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

  • Links on Flash Files

    Is there anyway to add links to flash files in Dreamweaver.
    For example - I created a flash file that tranistions through a few
    different images. I placed it on my home page in Dreamweaver and I
    want people to be able to click the flash animation and go to
    another page within my site. Is there anyway to do this within
    Dreamweaver or do I have to place a url link in my Flash
    file?

    Yeah. I see now.
    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
    ==================
    "*mista*" <[email protected]> wrote in
    message
    news:emcht7$6gk$[email protected]..
    >>>It's a big button file the size of the page? With
    a link on it?
    > >>Why not send them back to the parent FLA file
    and have them add the link
    > >>there?
    > Thats what I said too ... or meant to say ...
    > open the parent .fla file, put in a button spanning the
    entire width and
    > height, button having only a "Hit Area" so its
    transparent .... and so
    > on..
    > I guess when I said make a button in flash, it was
    construed as making a
    > flash
    > button ...
    >

Maybe you are looking for