Button swap image in holder movieclip

Hello
I know this might seem like a silly question, but I'm
struggling to find any help in tutorials already. what I'm trying
to do is have a row of buttons that when clicked change the image
held within a holder movieclip. I have a button with instance name
"adept" and a holder movieclip with instance name "holder". this is
the code i have so far, i have barely started:
adept.addEventListener(MouseEvent.CLICK, Click);
function Click(event:MouseEvent):void {
eventNotice.text = "MOUSE CLICKED";
// code here to change contents of holder movieclip
I literally don't know where to start, and the idea is to
have about 6 buttons relating to 6 different images that when
pressed, change the image within the holder movieclip to the one
relevant to the button pressed.
any help right now would be greatly appreciated.
Many thanks

not to worry, i have cheated slightly by saving all the
images needed in separate keyframes in the holder movieclip
timeline and the buttons now tell the movieclip to switch to each
the frame containing the relevant image. thanks anyway :)

Similar Messages

  • Swap images while rolling over popup menu

    Hello,
    I've been playing with fireworks CS5 for some days now and made a first attempt on a website.
    So far, i've made a navigation bar with two states in order to be able to add a simple roll over behavior, e.g. darkening text on rollover. I also have been able to make a dropdown menu (popup) via slices.
    Then I decided to swap images when on nav bar headings. So far, so good.
    When I did a preview in my browser, it appeared that as soon as I was leaving the nav bar, the image swapped back to the old setting. Perfect.
    But when I did a mouse over on one of the dropdown menu's of the navigation bar, the image swapped back as well.. I've been trying, but didnt manage to find out how to fix this.
    So, is there anyone here that knows if it is possible, and if so, how to keep images swapped to a second stage as long as the mouse is on the dropdown menu, but swaps back to the original state when leaving the dropdown and/or the navigation bar.
    Thanks in advance,

    Hi Bryan,
    It may be possible to cheat and put this onto the button:
    the option that you want is called TITLE.
    if you set one of the other parameters (e.g. the label)
    to be:
    LABEL_TEXT" TITLE="TITLE_TEXT
    basically when it adds the text onto the form it will wrap it in "
    If it doesn't strip out the " from your text you should get your extra parameter.
    it may slip past the portal checking.
    I can't test it as I only have WebDB, but I have done something similar with javascript in WebDB.
    good luck
    Michael

  • Two Swap Image Behaviors - Only One Swap Image Restore Works

    How come?
    I have a button image with a two swap image behaviors applied to it - a rollover for the OVER state and one behavior for a disjointed or "remote" rollover effect.
    Both rollover effects work fine, but the disjointed or remote rollover effect does not return the button to it's original state.  (I've determined this by removing the second or remote swap image behavior and testing it.)
    Why doesn't this work?
    All scripts are contained within the HTML page itself; no linked scripts are used.
    Thanks!

    Page code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>index</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <style type="text/css">
    <!--
    body {
    background-image: url(images/screens_back.gif);
    -->
    </style></head>
    <body bgcolor="#FFFFFF" onLoad="MM_preloadImages('images/navigation_2_over-05.gif','images/navigation_2_over-06.g if','images/navigation_2_over-07.gif','images/navigation_over-08.gif','images/navigation_o ver-09.gif','images/navigation_over-10.gif','images/team.gif','images/forms.gif','images/e xport.gif','images/consulting.gif','images/programming.gif','images/contact.gif')">
    <table width="792" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
    <tr>
      <td width="792" height="126" colspan="2">
       <img id="index" src="images/index.gif" width="792" height="126" alt="" /></td>
    </tr>
    <tr>
      <td width="792" height="34" colspan="2">
    <table id="Table_01" width="792" height="34" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="34" height="34">
       <img src="images\navigation_2.gif" width="34" height="34" alt="" /></td>
      <td width="426" height="34">
       <img src="images\navigation_2-02.gif" width="426" height="34" alt="" /></td>
      <td width="105" height="34" id="title">
       <img src="images\blank.gif" alt="" name="blank" width="105" height="34" id="blank" /></td>
      <td width="5" height="34">
       <img src="images\navigation_2-04.gif" width="5" height="34" alt="" /></td>
      <td width="36" height="34">
       <img src="images\navigation_2-05.gif" alt="" width="36" height="34" id="Image1" onMouseOver="MM_swapImage('Image1','','images/navigation_2_over-05.gif',1);MM_swapImage(' blank','','images/team.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
      <td width="32" height="34">
       <img src="images\navigation_2-06.gif" alt="" width="32" height="34" id="Image2" onMouseOver="MM_swapImage('Image2','','images/navigation_2_over-06.gif',1);MM_swapImage(' blank','','images/forms.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
      <td width="31" height="34">
       <img src="images\navigation_2-07.gif" alt="" width="31" height="34" id="Image3" onMouseOver="MM_swapImage('Image3','','images/navigation_2_over-07.gif',1);MM_swapImage(' blank','','images/export.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
      <td width="33" height="34">
       <img src="images\navigation_2-08.gif" alt="" width="33" height="34" id="Image4" onMouseOver="MM_swapImage('Image4','','images/navigation_over-08.gif',1);MM_swapImage('bl ank','','images/consulting.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
      <td width="31" height="34">
       <img src="images\navigation_2-09.gif" alt="" width="31" height="34" id="Image5" onMouseOver="MM_swapImage('Image5','','images/navigation_over-09.gif',1);MM_swapImage('bl ank','','images/programming.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
      <td width="42" height="34">
       <img src="images\navigation_2-10.gif" alt="" width="42" height="34" id="Image6" onMouseOver="MM_swapImage('Image6','','images/navigation_over-10.gif',1);MM_swapImage('bl ank','','images/contact.gif',1)" onMouseOut="MM_swapImgRestore()" /></td>
      <td width="17" height="34">
       <img src="images\navigation_2-11.gif" width="17" height="34" alt="" /></td>
    </tr>
    </table>
    td>
    </tr>
    <tr>
      <td width="410" height="352">
       <img id="index003" src="images/index-03.gif" width="410" height="352" alt="" /></td>
      <td width="382" height="352">
       <img id="index004" src="images/index-04.gif" width="382" height="352" alt="" /></td>
    </tr>
    <tr>
      <td width="792" height="29" colspan="2">
       <img id="index005" src="images/index-05.gif" width="792" height="29" alt="" /></td>
    </tr>
    </table>
    </body>
    </html>
    I can't publish the page and images until later tonight.
    Thanks, as always.

  • Swap Image not working Except in IE

    I am working on a class project, and we've just learned how
    to do "swap image" on rollover. It's working beautifully when in
    IE, but in Firefox it's not working at all and in Opera it's
    working strangely (only when on the "edges" of the flash text not
    when rolling over the flash text) Any ideas as to the problem? The
    flash text rollover works (changes colors), but the "bubbles" are
    supposed to swap images. BTW, I thought it might be a setting in my
    browser disabling something, but the swap image on classmates'
    sites show up fine.
    http://198.86.244.3/drsimpson/WEB140/drsimpsongallery/
    Thanks

    I can't see what is the problem. :-(
    Try replacing your flash buttons with plain gif images, it
    works the same way and you will have much less code on your page. I
    don't think the problem is there but you can always try.

  • Swap images in content holders

    How does one go about swapping out a default image within in the content holder for header?
    I actually downloaded the default '[email protected]' from the preview site, and replaced their image with my own logo in Photoshop, being careful to keep the same size, format, and name, only to be unable to find the respective images folder anywhere on the site to replace the original logo with my replacement logo (I went through all the file via ftp and NO 'img' or 'images' directory was to be found).
    In being so stingy with the so-called site integrity, the designers have made it difficult (next to impossible) to customize their web site, so doesn't that defeat the purpose of Business Catalyst?
    I have forgotten the name of the BC site I imported for this, latest (and probably LAST) attempt to work with BC to come up with a site I can actually use, but it had to do with students, and  used a large black div for the header - it's the 'cultivate' logo that I am trying to replace with my own logo.
    How do I access the actual contents of the default content holders for the header to replace their logo with my logo?

    Hi I¹m also a little disappointed but, try to use firebug in firefox, it
    shows you where all the code,  css and images are stored.
    Hope this will help.
    Regards Carla
    Van:  HWurst <[email protected]>
    Beantwoorden - Aan:
    <[email protected]>
    Datum:  dinsdag 3 juni 2014 08:01
    Aan:  Carla Leliveld <[email protected]>
    Onderwerp:   swap images in content holders
    swap images in content holders
    created by HWurst <https://forums.adobe.com/people/HWurst>  in Content
    Management and Modules - View the full discussion
    <https://forums.adobe.com/message/6429602#6429602>
    How does one go about swapping out a default image within in the content
    holder for header? I actually downloaded the default '[email protected]' from the
    preview site, and replaced their image with my own logo in Photoshop, being
    careful to keep the same size, format, and name, only to be unable to find
    the respective images folder anywhere on the site to replace the original
    logo with my replacement logo (I went through all the file via ftp and NO
    'img' or 'images' directory was to be found).  In being so stingy with the
    so-called site integrity, the designers have made it difficult (next to
    impossible) to customize their web site, so doesn't that defeat the purpose
    of Business Catalyst?  I have forgotten the name of the BC site I imported
    for this, latest (and probably LAST) attempt to work with BC to come up with
    a site I can actually use, but it had to do with students, and  used a large
    black div for the header - it's the 'cultivate' logo that I am trying to
    replace with my own logo.  How do I access the actual contents of the
    default content holders for the header to replace their logo with my logo?
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in the
    forum to embed the image at https://forums.adobe.com/message/6429602#6429602
    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:
    To unsubscribe from this
    thread, please visit the message page at
    . In the Actions box on
    the right, click the Stop Email Notifications link. Start a new discussion
    in Content Management and Modules by email
    <mailto:discussions-community-business_catalyst-content_management_and_modul
    [email protected]>  or at Adobe Community
    <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=
    14&container=4733>  For more information about maintaining your forum email
    notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Swap image from down state

    How do I return the down state of an image to the up state
    onClick? I tried Swap Image Restore, that doesn't work. I want a
    button that contains two states, an up and a down state. When you
    click on the image in the up state, it goes to the down state. When
    you click on the image in the down state, it goes to the up state.
    Any help ideas, help, advice, or simple hellos would be greatly
    appreciated. Thanks!

    Rob,
    I've done some research on this and from what I have
    gathered, it isn't possible to do in the method we've been trying
    to do. I have found a way to accomplish my goal though. I haven't
    written the script yet, but it's a pretty simple idea, definitely
    beginner level javascript.
    For the onClick in the img tag, you have it refer to a js
    function that adds 1 the value of a variable. So if you click the
    button once the value of your variable would change from 0 to 1.
    When this button is clicked again, the value would change to 2. But
    you then include a line that say something to the effect of if x
    > 1, x = 0. Basically on each click of the button, the value
    would change to either 0 or 1. Now judging off that value is where
    you define the source for the image.
    Like I said, I haven't written the script yet, I have more
    important things to tend to on the project I'm working on right
    now, but when I do write it, I'll try to remember to post it
    here.

  • Swap Image Restore Confusion

    In a nutshell, I have three buttons - each button has a
    rollover effect AND should also trigger a swap image. When you move
    off the button the rollover returns, but the picture stays the
    same. What am I doing wrong?
    On this one the button rolls over correctly and the image
    changes, but does not return to the text image on t mouse out.
    http://www.fischerexcavating.com/index_new.htm
    This one the button does NOT roll over but the image swaps
    out correctly.
    http://www.fischerexcavating.com/index_new2.htm
    I can not for the life of me get these to work TOGETHER!
    <td width="214"><a href="/Excavating/about.htm"
    onMouseOut="MM_swapImgRestore()"
    onMouseOver="MM_swapImage('Excavate','','/images/Home_Excavate_Over.gif',1)">
    <img src="/images/Home_Excavate_On.gif" alt="Excavate"
    name="Excavate" width="214"
    height="60" border="0"
    onMouseOver="MM_swapImage('PicHome','','/images/Home_Pic_Excavate.gif',1)"
    onMouseOut="MM_swapImgRestore()"></a></td>
    <td width="392" rowspan="3"><img
    src="/images/Home_Text.gif"
    name="PicHome" width="388" height="215"
    id="PicHome"></td>
    <td width="214"><a href="/Excavating/about.htm"
    onMouseOut="MM_swapImgRestore()"
    onMouseOver="MM_swapImage('Excavate','','/images/Home_Excavate_Over.gif',1);
    MM_swapImage('PicHome','','/images/Home_Pic_Excavate.gif',1)">
    <img src="/images/Home_Excavate_On.gif" alt="Excavate"
    name="Excavate" width="214"
    height="60" border="0"></a></td>
    <td width="392" rowspan="3"><img
    src="/images/Home_Text.gif"
    name="PicHome" width="388" height="215"
    id="PicHome"></td>
    Thank you in advance!

    Remove everything you have.
    Select the button and apply an image swap. In the list of
    images, select
    the first one you want to swap out, and browse to and select
    the one to roll
    in. Then in that same list of images, select the next one you
    want to swap
    out, and repeat. Do this as long as you still have images you
    want to swap.
    Only then would you click OK and close the behavior dialog
    panel. This will
    give you -
    <td width="214"><a href="/Excavating/about.htm"
    onMouseOut="MM_swapImgRestore()"
    onMouseOver="MM_swapImage('Excavate','','/images/Home_Excavate_Over.gif','','PicHome','', '/images/Home_Pic_Excavate.gif',1)">
    <img src="/images/Home_Excavate_On.gif" alt="Excavate"
    name="Excavate"width="214" height="60"
    border="0"></a></td> <td
    width="392" rowspan="3"><img
    src="/images/Home_Text.gif" name="PicHome"
    width="388" height="215" id="PicHome"></td>
    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
    ==================
    "KimBellee" <[email protected]> wrote in
    message
    news:[email protected]...
    > In a nutshell, I have three buttons - each button has a
    rollover effect
    > AND
    > should also trigger a swap image. When you move off the
    button the
    > rollover
    > returns, but the picture stays the same. What am I doing
    wrong?
    >
    > On this one the button rolls over correctly and the
    image changes, but
    > does
    > not return to the text image on t mouse out.
    >
    >
    http://www.fischerexcavating.com/index_new.htm
    >
    > This one the button does NOT roll over but the image
    swaps out correctly.
    >
    >
    http://www.fischerexcavating.com/index_new2.htm
    >
    > I can not for the life of me get these to work TOGETHER!
    >
    > <td width="214"><a href="/Excavating/about.htm"
    > onMouseOut="MM_swapImgRestore()"
    >
    onMouseOver="MM_swapImage('Excavate','','/images/Home_Excavate_Over.gif',1)">
    >
    > <img src="/images/Home_Excavate_On.gif"
    alt="Excavate" name="Excavate"
    > width="214"
    > height="60" border="0"
    >
    onMouseOver="MM_swapImage('PicHome','','/images/Home_Pic_Excavate.gif',1)"
    >
    onMouseOut="MM_swapImgRestore()"></a></td>
    >
    > <td width="392" rowspan="3"><img
    src="/images/Home_Text.gif"
    > name="PicHome" width="388" height="215"
    id="PicHome"></td>
    >
    >
    >
    > <td width="214"><a href="/Excavating/about.htm"
    > onMouseOut="MM_swapImgRestore()"
    >
    onMouseOver="MM_swapImage('Excavate','','/images/Home_Excavate_Over.gif',1);
    >
    MM_swapImage('PicHome','','/images/Home_Pic_Excavate.gif',1)">
    >
    > <img src="/images/Home_Excavate_On.gif"
    alt="Excavate" name="Excavate"
    > width="214"
    > height="60" border="0"></a></td>
    >
    >
    > <td width="392" rowspan="3"><img
    src="/images/Home_Text.gif"
    > name="PicHome" width="388" height="215"
    id="PicHome"></td>
    >
    > Thank you in advance!
    >
    >
    >

  • Have a MacBook Pro running Lion and an IMac running Snow Leopard. Want to Back up both images and restore on opposite machine. Essentially swapping images between hard drives. Is this possible and any "gotcha's" to look for? Thanks

    Have a MacBook Pro running Lion (10.7.9) and an IMac running Snow Leopard (10.6.8). Want to Back up both images and restore on opposite machines. Essentially swapping images between hard drives. Is this possible and any "gotcha's" to look for? Thanks

    If the MBP came with Lion, it most likely won't boot with SL. Easiest thing to do is create a bootable backup/clone of each to an ext HD, partitioned to hold each on a separate volume, ensure that the original machines can boot with their respective clones, and finally, try booting the other machine with the other clone. Images are useless since you can't boot with them to test them out.

  • Swap Images

    I've done this before but the grey matter has gone a little
    foggy.
    I have several "buttons" (jpegs) to which I wish to apply
    behaviors, swap image. The jpegs are already situated on my page.
    When I select swap image a dialog box appears that is indeed titled
    Swap Images, however, beside the Images: are a list - unnamed
    <img>. Shouldn't that list be populated with the image names?
    If so, how do I get them to display?
    Thanks - David Bird

    The "alt name" has nothing to do with the name of each image.
    It's an alternate info for accessibility purposes, that is,
    for example,
    for people who navigate the web with images disabled.
    You must give each image a name, which you can do in the
    Property Inspector, below the "Image, 2K" message.
    Paulo Almeida
    "SwampeastMO" <[email protected]> wrote in
    message
    news:fmgdto$83c$[email protected]..
    > Humm... I've given each image an "alt name" as evidenced
    in the property
    > info
    > at the bottom of the DW page. None of the "alt names"
    show up in the
    > Images:
    > Have I missed something? (obviously)
    >
    > Thanks - David Bird
    >
    >

  • Help using swap images to swap 2 separate images

    I am trying to use swap images to swap two separate images on
    the same page but I can't get it to work. Here is the code for one
    image, rotator. I also have a second image,rotatorB that I want to
    swap different images with. I think I need two separate codes but
    do not know how to do it.
    Thank You

    Sorry, I don't know enough about how fireworks functions - but overall, I think it's always best to create the slices in a program like fireworks, (or image ready, etc), and then build the actual page in Dreamweaver (or other web software). It's kind of like how Photoshop used to let you create the slices, then export the entire photoshop file as an html page - it would create a very basic page with multiple nested tables that were nothing but trouble...
    For what it's worth - Dreamweaver makes it fairly easy to do - once you're familiar it should only take a few minutes to accomplish (once you have all of the pieces saved to the images folder).
    Fireworks isn't a web-creation software - it's function is to optimize images for the web, and slice up graphics (from what I know about it, anyway...)
    **Also, on a side note - there are many disadvantages to creating buttons with graphics - number one reason is down the road when a client wants to add or modify the buttons, they will need the original photoshop file - and the fonts loaded in order to accomplish... then need to save out both the on and off state for each. I've been there, and they find it very annoying (known to lose customers because of it). Secondly, search engines and Handicap accessible software can't read graphics - even if you apply "alt tags", it's not as good as having a text link. If possible, it's best to use text for the links (and creating the rollover effects with stylesheets - there are tons of examples: http://search.live.com/results.aspx?q=css+rollover&form=MS8TDF&pc=MS8TDF&src=IE-SearchBox
    Hope that helps
    Jesse

  • Swap images that will work like frames

    Hello All,
    I am hoping that someone might be able to point me in the
    right direction here.
    I am constructing a site entirely in Fireworks and would like
    the buttons that I've created to swap images once they are in down
    state instead of swapping by mouse over. I have seen it done on
    another page and would love to know how to do it. If anyone knows
    please leave me a reply.
    Thank You!

    You would do this in Dreamweaver not Fireworks.
    But I'm not entirely sure what "THIS" is! Can you say more
    about what you
    want to accomplish?
    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
    ==================
    "brettmdesign" <[email protected]> wrote in
    message
    news:g5nbcf$cuc$[email protected]..
    > Hello All,
    > I am hoping that someone might be able to point me in
    the right direction
    > here.
    > I am constructing a site entirely in Fireworks and would
    like the buttons
    > that
    > I've created to swap images once they are in down state
    instead of
    > swapping by
    > mouse over. I have seen it done on another page and
    would love to know how
    > to
    > do it. If anyone knows please leave me a reply.
    > Thank You!
    >

  • Swap Images and URLs at the Same Time

    I would like to not only to swap images when one rolls over a thum image, but at the same time I would like to have a link swapped in the new image.  I am using behaviors to swap multiple images on a page.   So to be clear I have several thums that one can roll over.   When a thum is rolled over with the mouse a large image is swaped  in a different location on the page.   I would like to be able to attach a unique link to a URL to each of these new large images when they are swapped.

    The link below will take you to a life page. In this example, the changing 
    text below the large changing image is in fact an image that is swaped out 
    as one moves the mouse over a thum on the right side of this page. This 
    changing text image will have an "Add to Cart" button. The button could be 
    part of the text or perhaps yet another image that changes as one moves 
    over the thums on the right. Here is where I need the help. As one clicks 
    on this text image that is changing (or changing button) I would like to 
    have a link associated with this image that will add the customors choice 
    of pillows to their cart. Need help with how to associate a unique link to 
    unique URLs with this changing text image.
    Life page: http://katetroyer.com/Pillows.html

  • IE Windows randomly fails to show  swapped images preloaded

    if you look at this page in IE6 Windows (did not test in
    IE5):
    http://ever-together.com/site/product_detail.php
    and use the little numbers or next-previous arrows to swap
    the main image, randomly (it seems), the
    image will just not show up.
    Since it seems random, you might have to try several times
    before an image does not show.
    Even an image that has showed before, sometimes does not show
    if you just click on its corresponding
    number again.
    The images are preloaded using <body
    onLoad="MM_PreLoadImages()">
    The javascript code to swap the images is different on the
    numbers, which use MM_setTextOfLayer and
    on the previous-next arrows, which use a custom script, but
    both randomly fail to display the images
    in IE6, so I assume it is an IE bug?
    Anybody encountered this problem before?
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    <a href="#" onClick="...;return false;">
    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
    ==================
    "(_seb_)" <[email protected]> wrote in message
    news:e3tolh$4i$[email protected]..
    > (_seb_) wrote:
    >> if you look at this page in IE6 Windows (did not
    test in IE5):
    >>
    >>
    http://ever-together.com/site/product_detail.php
    >>
    >> and use the little numbers or next-previous arrows
    to swap the main
    >> image, randomly (it seems), the image will just not
    show up.
    >> Since it seems random, you might have to try several
    times before an
    >> image does not show.
    >> Even an image that has showed before, sometimes does
    not show if you just
    >> click on its corresponding number again.
    >>
    >> The images are preloaded using <body
    onLoad="MM_PreLoadImages()">
    >>
    >> The javascript code to swap the images is different
    on the numbers, which
    >> use MM_setTextOfLayer and on the previous-next
    arrows, which use a custom
    >> script, but both randomly fail to display the images
    in IE6, so I assume
    >> it is an IE bug?
    >>
    >> Anybody encountered this problem before?
    >>
    >>
    >
    > ok I just remember I had the same problem before and
    "solved" it by using
    > <a href="#" onClick="...">
    > instead of
    > <a href="javascript:;" onClick="...">
    > The later does NOT swap images in IE, the former does.
    > Why, I am still wondering.
    > And I would like it to work with "javascript:;", so that
    on smaller
    > screens my page is not going to jump back to the top
    each time the buttons
    > are pressed...
    >
    > Anybody knows a real solution?
    >
    >
    >
    > --
    > seb ( [email protected])
    >
    http://webtrans1.com | high-end web
    design
    > Downloads: Slide Show, Directory Browser, Mailing List

  • How can I Change Asset names for swapped images in duplicated symbols?

    I have what seems to be a bug in edge animate cc2014 in following circumstances:
    1. Duplicate a symbol
    2. Drag duplicate symbol onto stage.4
    3. Rename symbol
    4. Click to edit symbol
    5. Select an image inside the symbol
    6. In properties panel change path to swap the image to be used in this instance of the  duplicated symbol ( I need to reuse this symbol many times and not being able to change asset names is a real problem!).
    7. The names for the asset in both the timeline and the elements were auto generated at the time of duplication when try to change the names they revert back to the auto generated  names.
    How can I overcome this problem which is clearly a bug or a poorly thought through bit of programming by an otherwise highly competent adobe edge animate tesm
    Thank in advance
    David.

    Again, incorrect. It's not about how I can address a specific symbol with code - no problems there - it's what the composition loads into the symbol. Try it with some complex component or sub- symbols.
    Work-Around for using Duplicated and Revised symbols (symbol variants) in the SAME document. Solution.
    Tedious, but easy. Low risk. Edge Animate 2014.1.1
    When you duplicate a symbol comprised of symbols itself ("sub-symbols"), only the outermost symbol gets a unique name, not it's component inner symbols. Upon import of additional variants, a unique name is created in the Library/Symbols panel for the inner symbols, yet the references in the outer symbol can't update to use those unique inner-symbol names. Therefore, the composition loads the symbol with the matching name. This will be the first variant to be imported.
    Make the Duplicate
    Duplicate the symbol in the Library/Symbol Panel. Rename. Export.
    Prepping the Symbol
    Open a new document, import and place the new symbol.
    Select the asset to be switched/replaced. Make the switch in the property panel. Properties/Images/Swap button. (I revised my base or source symbol to have different colored background images. This is how I created 4 color variants.)
    Save the new document, of course. "Example1.an"
    Export the revised symbol from the Library/Symbol Panel for safe keeping.
    Return to Example1.an
    Elements Panel: Work through the nested symbols, adding a preceding identifier to all symbols in the heirarchy.
    *KEEP IT SIMPLE so you can easily and quickly move through the .js files in the following steps.*
    Save Example1.an.
    Library/Symbols Panel: Go down the list, renaming all the symbols with the same preceding identifier as was used in the Elements Panel. *I advise to stay parallel with the Elements panel. Change as little as possible.*
    Disregard any odd appearance you may see on the stage for now.
    Save Example1.an
    Revising the Code
    In Edge Code, also part of the Creative Cloud suite, or any code editor, open the two .js files for "Example1.an." found in the same folder...Edge.js and ...EdgeActions.js
    ...Edge.js
    find  "symbolName" - prepend with the identifier whatever is not already prepended.
    at the same time, look for "id" nearby - prepend with the identifier whatever is not already prepended.
    Save
    ...EdgeActions.js
    First read the grey comments about not degrading the //Edge Comments.
    Search the document for "//Edge symbol" - prepend whatever is not already prepended.
    Carefully check all the orange text, prepending the symbol names you find. This same code can be seen in your Code Panel with the "Full Code" button.
    Save
    Return to Edge Animate
    When prompted to Reload, say yes.
    Save Example1.an
    EXPORT your new top level symbol - now a fully separated asset.Now you have created a fully unique symbol, which can be used in conjunction with other variants in the same document.
    Import your new, unique symbol variant it into your real document.
    This is the solution if your Symptoms are:
    I duplicated symbols to make different variations, but now I can't use the duplicated symbol variants together.
    When I try to swap images in a duplicated symbol, it succeeds when used alone, but reverts when used with the original symbol.
    My duplicated symbol works properly alone, but not when it is used with the original symbol.
    My symbol seems to revert to the original source symbol.

  • Swap Image Behavior with Text

    I am trying to figure something out but can't seem to find
    it. I'm sure it must be pretty simple, but I'm stumped. Basically,
    I have a main image and a few thumbnail images below it. I've
    attached the Swap Image behavior to each thumb to change the main
    image to a different photo and then changed the onMouseOver to
    onClick.
    The problem is I want to also have some photo text or caption
    below the main image to change. Does anyone know how to do this
    with more or less stock DW behaviors? Or if not, how to do it in
    the most efficient way possible?
    Thanks in advance.
    -Bill

    You could always embed the caption information in the image,
    you know? That
    would be the simplest way. Is that possible?
    Alternatively you could create a series of stacked
    containers, each hidden,
    in the location where you want your captions. Then you would
    make your
    onclick event do both the image swap and the Show/Hide on the
    associated
    caption container (*and* a hide on all the rest of the
    caption containers).
    This can be pretty tedious when there are lots of images, and
    you are using
    only the DW User interface (as opposed to Code view). It will
    also take you
    into the realm of positioned elements (probably) which can be
    troublesome
    themselves.
    Finally, if this is all too much for you, there are EXCELLENT
    alternatives
    over at projectseven ($) for doing something like this right
    out of the box.
    http://www.projectseven.com/
    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
    ==================
    "captcashew" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am trying to figure something out but can't seem to
    find it. I'm sure it
    >must
    > be pretty simple, but I'm stumped. Basically, I have a
    main image and a
    > few
    > thumbnail images below it. I've attached the Swap Image
    behavior to each
    > thumb
    > to change the main image to a different photo and then
    changed the
    > onMouseOver
    > to onClick.
    >
    > The problem is I want to also have some photo text or
    caption below the
    > main
    > image to change. Does anyone know how to do this with
    more or less stock
    > DW
    > behaviors? Or if not, how to do it in the most efficient
    way possible?
    >
    > Thanks in advance.
    >
    > -Bill
    >
    > <p><img src="images/215-suite-2.jpg" alt="Main
    Photo" name="mainImage"
    > width="300" height="225" id="mainImage" /></p>
    > <p> </p>
    > <p> </p>
    > <p><img src="images/215-suite-2.jpg"
    alt="Thumbnail Photo 1"
    > name="thumb1"
    > width="100" height="75" id="thumb1"
    >
    onclick="MM_swapImage('mainImage','','images/215-suite-2.jpg',1)"
    />
    > <img src="images/renovations_02-after.jpg"
    alt="Thumbnail Photo 2"
    > name="thumb2" width="100" height="75" id="thumb2"
    >
    onclick="MM_swapImage('mainImage','','images/renovations_02-after.jpg',1)"
    > />
    > <img src="images/renovations_03-after.jpg"
    alt="Thumbnail Photo 3"
    > name="thumb3" width="100" height="75" id="thumb3"
    >
    onclick="MM_swapImage('mainImage','','images/renovations_03-after.jpg',1)"
    > /></p>
    >

Maybe you are looking for

  • How to undo boot camp, wont boot from install disk in dvd drive

    A few months ago I went through trying out boot camp and parallels. Now, I think something is messed up. I dont need either right now, so I just want to wipe out the whole system, repartition the drive, and restore to a blank new install of os x 10.5

  • Switch step is not processsing 2nd Branch in BPM !!

    Hi Guys, One BPM question please. I have got one BPM scenario as follows. One XML is splitting into 2 messages. First Target message has got 'n' number of messages and 2nd Target messages has got 'n' number as well. I need to process these two target

  • Deleting Old iTunes files w/ lost file locations

    Does anyone know of a quick efficient way to take you entire iTunes library, identify which song files "original file location cannot be found", and then remove them. I attempted to restore my library from a iPod I backed up, but no dice. Now I'm lef

  • Putting an array in memory and flush it afterwards

    Hello, I ' m busy making an EDF file viewer, and now I want to see the data on different tabs, let's say tab 1 is a Time graph with al the channels, tab 2 are different XY graphs etc.. I have made 3 buttons outside the tab control: Previous, Stepsize

  • ORA-07445: exception encountered: core dump ACCESS_VIOLATION

    Hi, I am getting random errors on Xe developing applications. This is from the trc file; *** ACTION NAME:(PAGE 4150) 2009-05-08 11:11:42.968 *** MODULE NAME:(APEX:APPLICATION 4000) 2009-05-08 11:11:42.968 *** SERVICE NAME:(SYS$USERS) 2009-05-08 11:11