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>

Similar Messages

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

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

  • How to link flash animations in dreamweaver 8

    Hey everyone i have been trying to learn dreamweaver 8, flash
    8, and others in a short time. My question is,
    I am trying to create a website in dreamweaver 8 but i am
    having trouble making a link to another page of the site out of the
    flash animation once it's done. I can't find a option for that
    anywhere, I was able to link the table in which the animation sits
    but it does nothing. For now i just have the word ENTER below the
    animation so the rest of the site can be viewed.
    here's the link to the site where the animation first page is
    www.fatcatzcreative.com
    I have spent days trying to figure this out and being the
    typical man i have finally broken down and am askin for help.
    Thanks in advance to all.

    HTML cannot link Flash.
    If you want links in Flash, you will have to edit the Flash
    file's
    actionscript and add the links there.
    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
    ==================
    "crayzboost" <[email protected]> wrote in
    message
    news:ekkfm4$2rl$[email protected]..
    > Hey everyone i have been trying to learn dreamweaver 8,
    flash 8, and
    > others in
    > a short time. My question is,
    >
    > I am trying to create a website in dreamweaver 8 but i
    am having trouble
    > making a link to another page of the site out of the
    flash animation once
    > it's
    > done. I can't find a option for that anywhere, I was
    able to link the
    > table in
    > which the animation sits but it does nothing. For now i
    just have the word
    > ENTER below the animation so the rest of the site can be
    viewed.
    >
    > here's the link to the site where the animation first
    page is
    > www.fatcatzcreative.com
    >
    > I have spent days trying to figure this out and being
    the typical man i
    > have
    > finally broken down and am askin for help.
    >
    > Thanks in advance to all.
    >

  • Add a link to page option with flash animations??

    Hello, I see that you have an option for images if you insert an image, you have a link to html page option
    But if you insert a flash animation , there is no link option?
    as some research i have found that I have to do it i flash itself.
    Why did you not create a link option for flash animations? as you have with images, a link option would be great for flash animations also
    Is there a code I can do in dreamweaver to link flash animations to a page.
    thanks, I dont know why dreamweaver flash animations does not have a link option? please put it in next release
    thanks

    flash animations not visible on phone devices ? i see flash animations fine from my phone
    Don't know what phone you use or if what you're seeing is actually Flash, but Apple iDevices don't support Flash.  Never have and never will.
         http://www.apple.com/hotnews/thoughts-on-flash/
    Adobe has stopped further Flash development for mobile devices in favor of HTML5, CSS3 & JavaScript.  See Adobe Edge Preview. 
         http://labs.adobe.com/technologies/edge/
    Finally, from where I sit, Flash is a fading web technology.  But if it floats your boat, feel free to make a feature request.
         Adobe Feature Request Form
         https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Good luck with your project!
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Making a flash animation into link

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3271770931_3721276
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi all
    Could someone tell me how to make a animation placed into
    Dreamweaver
    clickable? I just need a simple link to another page but I
    can¹t find where
    to link anything in. Is it a parameter that I need to set up?
    Thanks
    --B_3271770931_3721276
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Making a flash animation into link</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi al=
    l<BR>
    Could someone tell me how to make a animation placed into
    Dreamweaver click=
    able? I just need a simple link to another page but I
    can&#8217;t find where=
    to link anything in. Is it a parameter that I need to set
    up?<BR>
    <BR>
    Thanks</SPAN></FONT>
    </BODY>
    </HTML>
    --B_3271770931_3721276--

    Thanks Urami
    Nice and simple, thanks very much
    Gaz
    On 5/9/07 12:29 am, in article
    fbkpp1$juf$[email protected], "urami_"
    <[email protected]> wrote:
    >
    >
    > Garry Bradley wrote:
    >> Hi all
    >> Could someone tell me how to make a animation placed
    into Dreamweaver
    >> clickable? I just need a simple link to another page
    but I can¹t find where
    >> to link anything in. Is it a parameter that I need
    to set up?
    >
    > You need to make that within flash movie.
    > You could use big invisible button on top of your entire
    content
    > or simple apply onMouseDown event to the timeline which
    will make
    > the whole stage clickable, follow by getURL action.
    >

  • Get border when resizing flash anim in dreamweaver

    Hello, I'm needing some help , I'm not sure weather its something i'm doing in dreamweaver or weather I need to export the flash anim with the document properties just a little bit smaller than the flash anim when exporting when in theory shouldn't have to do?
    the problem I'm having is I export a flash anim out of flash I make sure the document properties and the flash anim line up so theres no visible boarder when exiting.
    when I'm at the button stage and drag onto the stage to be able to export, ( sometimes I find that the flash border - say if my anim is 220 by 185 . when i click on it (dragged button with movie inside from libarary to stage)
    the stage - as I am told I can't export a flash anim with an alpha white off the flash stage I have to make the stage the same size as the button -
    So i make the stage size 220 by 185 when I'm dragging the button to line up to the stage I find sometimes its off?
    Is there a better way to export a flash anim as it is without having to change stage properties then dragging the button to fit the stage then get url options ect.
    anyways. I am finding that I am having to make the stage size (in flash ) a few extra pixels smaller than the box button 220 by 185 so what i'm doing is making the stage say 218 by 183 to then draggin the button inbetween the lines on the doccument border in flash. then exporting.
    I find if i Don't do this sometimes in dreamweaver, when I open dreamweaver instert app div then import swf into the app dif then resize the swf I get a boarder.
    But even then I find sometimes if i do an app div then insert media swf and resize the swf i get a border, say if i make the boarder properties in flash red.
    sometimes I get a red boarder.
    but on other pages say i have a about page I resized it its fine then on another page import app dive then impor the exact same swf file resize it it suddenly gets a boarder (i'm testing using red backround in flash when exporting as a movie.
    why do sometimes I get a boarder around swf in an app div when importing into dreamweaver.
    thanks kindly

    I read this twice and still don't quite know what you're asking.  Flash questions are best posted in the Flash forum.
    Animations used in Web pages should be sized appropriately before you bring them into Dreamweaver.   Same goes for static images.  If you need a 200px wide banner, design it at 200px wide.
    As for APDivs, honestly don't know why you would need one. A regular CSS division (no positioning) is all that's required for 98% of layouts.   http://apptools.com/examples/pagelayout101.php
    For answers to layout questions, we need a link to your test page.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to finish flash movie before loading url

    I'm pretty new at web design but I've picked up Flash through some  tutorials.  I'm a bit stuck on how to do the following:
    When you click on one of my home page buttons I want my flash animation  movie to finish THEN link to url.
    I tried adding an eventListener for the tween to 'finish' and then added  a link to url to the button but it either linked immediately or the  movie finished and didn't link at all.
    Here is an example of the code for the button and animation:
    rentals_btn.addEventListener(MouseEvent.CLICK, rentalsClick);
    function rentalsClick(e:MouseEvent):void {
    trace("rentalsClick");
    var myxTween:Tween=new  Tween(Truck_mc,"x",Regular.easeInOut,Truck_mc.x,-378,4,true);
    var myyTween:Tween=new  Tween(Truck_mc,"y",Regular.easeInOut,Truck_mc.y,0,4,true);
    after this x, y, animation finishes I wish for the button to link to my  rentals page url. In all of the sections to my site, I want to be able  to link to separately so I didn't design the flash to animate to each  section.  I want it to link to the url.
    Any help would be really appreciated.

    Your attempt to listen for the end of the tween would have been th correct approach, so maybe your coding of it is off...
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    rentals_btn.addEventListener(MouseEvent.CLICK, rentalsClick);
    var myxTween:Tween;
    var myyTween:Tween;
    function rentalsClick(e:MouseEvent):void {
         trace("rentalsClick");
         myxTween = new  Tween(Truck_mc,"x",Regular.easeInOut,Truck_mc.x,-378,4,true);
         myyTween = new  Tween(Truck_mc,"y",Regular.easeInOut,Truck_mc.y,0,4,true);
         myyTween.addEventListener(TweenEvent.MOTION_FINISH, moveOn);
    function moveOn(TweenEvent):void {
         myyTween.removeEventListener(TweenEvent.MOTION_FINISH, moveOn);
         navigateToURL(...etc);

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

  • Flash animation consume 90-95% memory usage

    Hi,
    http://ww3.virtualvox.com/jyoti/option1/
    please check the url above.....
    i have used the dropdown menu in "About Us" and "Product"
    links...
    and the effect of dropdown menu is being very slow......bcoz
    of middle flash....
    when i removed the flash the dropdown menu working fine...
    bcoz the middle flash animation consume upto 90-95% of memory
    usage of PC...
    middle animation is very simple nothing extra ordinary in
    that animation....
    than why it consume full memory .... and why that JS menu
    being slow....to open
    please give me some suggetion for flash animation so that it
    doesn;t consume full memory and JS menu working smoothly
    Thanks

    You are making your life miserable by bouncing your database every now and again. Rather then analyzing your SGA and other things to look out for performance bottelneck, you prefer to bounce your database to, which seems to be temporary solution. Since I don't have enough information to offer suggestions,
    I would ask you run a statspack report for no more then 20 minutes when you feel the performnce at it's worst and analyze it for perfromnce bottelnecks.
    hare krishna
    Alok

  • How to show Flash animation

    (Web Logic 6.1.4)
    On my WL server in "web.xml" configuration file of my web-application I have
    correctly defined the MIME-type for shockwave flash animations and I can see
    it if I open it directly (direct link on .SWF file). But I'd like to have
    the classic and proper approach showing SWF file inside HTM file using
    OBJECT/EMBED tags. I created HTM file with OBJECT/EMBED tags and I can see
    my flash animation in it if I run this page directly by IE but if I put this
    HTM file on server and try to see it served by WL server it does not work!
    How to solve this issue?
    Stjepan Brbot

    Well thanks Ned, I do apologize for the shortness of the post, i was in a bit of a rush. I also assumed this would be easy to infer as its quite simple.
    The flash animation can be seen here - http://www.blakecorp.com. it shows three blocks which move around a bit.
    The user should be able to click on a block and this should lead to a url.
    I have tried various geturl combos on various events all over the code and nothing works.
    I am not a flash guru so apologies if I cant give you a design of this as I did not write it.
    I think the problem is that the images etc are not buttons but I am struggling to find a way to make this work.
    This is probably 10 minutes work for a flash programmer
    Any help appreciated.
    Thanks

  • How do I make multiple buttons in my flash animation?

    I am new to flash, and I have no training in it whatsoever. I
    created a flash animation with flash CS3 for my photography
    website, and I want to link each of the images to different
    galleries on my site. When I created my first button it worked
    fine, but when I try to create actions to link more than one image
    as a button, keep getting an error that says "1021: Duplicate
    function definition." How do I make each image as a separate
    button?
    I used the video of this tutorial as my guide to learn how to
    create a button:
    http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html
    Also, when I run the animation to test it, it loops, and I
    don't want it to loop. How do I stop it from looping?

    I used the method shown in the tutorial I mentioned to create
    it (created a new layer for the button, selected the area of the
    image for the button,used modify -> convert to symbol
    -> button, I edited it so it was an invisible button by
    moving it to the hit frame, gave the selected area an instance name
    of Hizumi_btn, inserted a new layer for actions and added the code
    I have attached to this post.
    I assumed that I would just need to repeat this procedure for
    each of the other images in my animation, but when I did that I
    received the error.
    I greatly appreciate any help you can give me.
    Thanks for the information on how to stop the animation.
    Here is the code I used to create my first button.

  • How to remove the button "play" and "stop" in that flash animation?

    The animation is this one ...
    http://adf.ly/OTGyh
    Hello, I made a simple flash animation of a character talking ... The only problem is that this animation has the button "play" and "stop" and I do not want it ...
    I want so carry out the main character speak the message and stop yourself automatically without user intervention to push any buttons ...
    I have the animation code, how do I get this code to the buttons and start the animation so load the page?
    Ah, and how to put the link to a page by clicking on this open a flash site?

    How to do it step-by-step? Because i'm beginner in FLash and that things of animation, codes, functions...
    And I create that simple animation in other program, not using the Adobe Flash, but I think can be edited that file animation in Flash because I have the files ".swf" and ".flv"...
    I don't know how to do it in Adobe Flash CS3, but I have that program installed in my pc, then can you talk me what to do it?
    Sorry my bad english, i'm from Brazil.
    That is the folder contains the files:
    https://dl.dropboxusercontent.com/u/11826717/off/laranja/files_animation.jpg
    That is the Download the files of that folder if you want see better:
    https://dl.dropboxusercontent.com/u/11826717/off/laranja/laranja.rar

  • Making a Link in Flash Professional 8

    Hey,
    I'm wondering how to make a link in Flash Professional 8, any tutorials around?

    Linking to a web page and linking to another section of the same Flash file involves different code.  I'll show you examples of both wrt using a button for the interactive control.
    In this case the button is assigned an instance name of linkBtn (it's assign in the properties panel).  The code I show is placed on a frame that is the same as the button (different layers for good housekeeping).
    Link to web page:
    linkButton.onRelease = function(){
         getURL("http://www.yoursite.com/page.html");
    Link to section (section starts on a frame having a label... "section1"):
    linkButton.onRelease = function(){
         gotoAndStop("section1");
    OR
    linkButton.onRelease = function(){
         gotoAndPlay("section1");
    The difference between the two for the section link would depend on whether section1 is an animated timeline piece that would play when you get there or a self-contained movieclip that has controls of its own.

  • A link from my animation is locked inside the dimensions of the original animation.  the link should

    Thank you sincerly for any help in advance.
    A link from my animation is locked inside the dimensions of the original animation.  the link should go to new url but opens in i frame instead, scroll-able, within the dimensions of the beginning edge animation from which it linked.
    Here is the landing page edge asset and the link is the center pulsing sand grain:
    http://kkz321.businesscatalyst.com/index.html
    Here is the actions javascript file from the animation.  I'm not sure if it's the source. 
    "landing_hourglass_3_edgeActions.js"
    (function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
    //Edge symbol: 'stage'
    (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_landing_sand_grain}", "click",function(sym,e){window.open("http://kkz321.businesscatalyst.com/welcome.html","_self");});
    //Edge binding end
    Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){$ ("#Stage").css("margin","auto")});
    //Edge binding end
    })("stage");
    //Edge symbol end:'stage'
    })(jQuery,AdobeEdge,"EDGE-landing_hourglass_3");
    Here is snippet of CSS from main css page:
    #EdgeIDlanding_hourglass_3 {
              margin-right: auto;
              margin-bottom: auto;
              margin-top: 5%;
    Here is snippet of HTML from main START INDEX page:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Kinetik Artz  Work By Michael Schmidt</title>
    <link href="/Stylesheets/main.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <object id="EdgeIDlanding_hourglass_3" type="text/html" width="222" height="454" data-dw-widget="Edge" data="edgeanimate_assets/landing_hourglass_3/Assets/landing_hourglass_3.html">
    </object>
    </body>
    </html>
    Thank you very much for any help

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Kinetik Artz  Work By Michael Schmidt</title>
    <link href="/Stylesheets/main.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <object id="EdgeIDlanding_hourglass_3" type="text/html" width="222" height="454" data-dw-widget="Edge" data="edgeanimate_assets/landing_hourglass_3/Assets/landing_hourglass _3.html">
    </object>
    </body>
    </html>
    remove the width and height out of the html object ( width="222" height="454" )
    that would probably solve it
    or change it to the pages width and height

  • Broken Links inside FLash

    I notived that the links inside my flash header do not work
    on this page as well as other pages inside this directory. The
    links do work in the root directory. Does someone know how to fix
    this problem I am having? Here is the link:
    http://www.school-psychologist.com/nick/worshipping/creative.html
    The action script URL setting is index.html, about.html, etc.
    For some reason when you click the following link, the flash header
    sends the user to
    http://www.school-psychologist.com/nick/worshipping/index.html
    instead of
    http://www.school-psychologist.com/nick/index.html
    Thanks a bunch!!

    impossible to say other then your code is wrong - always
    always always copy/paste the code in
    question or we have nothing to go by - but flash simply does
    not replace urls with other urls - you
    must have the wrong code on the wrong button and missed
    something simple.
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Mike Splat wrote:
    >
    >
    > I notived that the links inside my flash header do not
    work on this page as
    > well as other pages inside this directory. The links do
    work in the root
    > directory. Does someone know how to fix this problem I
    am having? Here is the
    > link:
    >
    >
    http://www.school-psychologist.com/nick/worshipping/creative.html
    >
    > The action script URL setting is index.html, about.html,
    etc. For some reason
    > when you click the following link, the flash header
    sends the user to
    >
    http://www.school-psychologist.com/nick/worshipping/index.html
    instead of
    >
    http://www.school-psychologist.com/nick/index.html
    >
    > Thanks a bunch!!
    >

Maybe you are looking for

  • Error while configuring kodo to lookup a datasource

    We had a working application using EEPersistenceManagerFactory I changed the kodo.properties to lookup a non XA JDBC datasource. After that the application is working fine (it creates ,updates,deletes,finds record in the DB) but SystemOut.log has the

  • Bapi for vl01no create outbound delivery without order reference

    Hi Guru's, i need help, I'm looking for BAPI VL01NO Any suggestions? Thanks for everything Edited by: GaBo_s Gabo on Sep 22, 2009 8:48 PM

  • Question about entries in 3KEH table

    Hello gurus, I would like to ask you 1 thing, there are more than 4000 entries in table 3KEH but nowm the customer asked me to enter only range fromm 1000000000 to 2999999999. Which means I need to delete all the entries and then place this range, Bu

  • How to find the machine name

    How to find the machine name from which the table is created ? Yogesh

  • ITunes album art screen saver

    Hi, recently when I use my iTunes album art work as a screen saver the albums have a purple tint to them. It hasn't always been like that so if anyone could help it would be greatly appreciated.