Sunday, August 8, 2010

getting close!


So the last meeting we had only generated a couple of changes. In fact, there was really only 2 changes, and a couple of "can we see what this would look like?"

Because there were so few changes, and because I had time between jobs, I took the opportunity to rework the page completely from scratch. I did this for a couple of reasons.

first, to better organize the assets in the flash library for the project. for example, originally i had done each bar seperately, so when i needed to change the colors, i had to do each one individually. in the reworked file, all of the bars are the same graphic, just resized to fit the application, so now the color can be changed once for the entire project.

second, through the course of the project, changes made to show what something would look like to a heavy toll on functionality. you can see this if you try to mouseover the submenu pulldowns. the backings are empty, so it stutters because the functions are coded to pull them out on mouse over and retract them on mouse out, so it gets confused. the movement wasn't great to begin with because of the way i had made the individual movie clips.

the progress of recoding the functionality can be seen below. the finished products are located

here (7)
here (8)
here (9)
here (10)
here (11)
here (12)
and
here (13)

see the comments section for the code as it progressed through versions 7-13.

in version 11, the "previous" button in the "exhibitions" submenu is functional.

a note about the code: there is additional code within each movie clip, so if anyone tries to reproduce this, it's not going to function quite right :)

7 comments:

  1. version 7:
    import flash.display.*;
    stop();

    var target_mc;
    var target_mc2 = null;
    var about_info:about_child = new about_child();
    var contact_info:contact_child = new contact_child();
    var link:URLRequest = new URLRequest;

    ab_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    co_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    ex_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    pe_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    bl_btn.addEventListener(MouseEvent.CLICK, openPage);
    fb_btn.addEventListener(MouseEvent.CLICK, openPage);
    fl_btn.addEventListener(MouseEvent.CLICK, openPage);
    tw_btn.addEventListener(MouseEvent.CLICK, openPage);
    loadWindow.addEventListener(Event.ENTER_FRAME, loadContent);

    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    target_mc = ab_mc;
    ex_mc.gotoAndPlay(160);
    pe_mc.gotoAndPlay(140);
    }
    if(e.target == ex_mc)
    {
    target_mc = ex_mc;
    ab_mc.gotoAndPlay(160);
    pe_mc.gotoAndPlay(140);
    }
    if(e.target == pe_mc)
    {
    target_mc = pe_mc;
    ab_mc.gotoAndPlay(160);
    ex_mc.gotoAndPlay(160);
    }
    if(e.target == co_mc)
    {
    target_mc = co_mc;
    ab_mc.gotoAndPlay(160);
    pe_mc.gotoAndPlay(140);
    ex_mc.gotoAndPlay(160);
    }
    target_mc.gotoAndPlay(2);
    }
    function loadContent(e:Event):void
    {
    if(ab_mc.currentFrame == 12)
    {
    loadWindow.removeChildAt(0);
    loadWindow.addChildAt(about_info, 0);
    }
    if(co_mc.currentFrame == 23)
    {
    loadWindow.removeChildAt(0);
    loadWindow.addChildAt(contact_info, 0);
    }
    }
    function openPage(e:MouseEvent):void
    {
    if(e.target == bl_btn)
    link = new URLRequest("http://tag82uwf.wordpress.com/");
    if(e.target == fb_btn)
    link = new URLRequest("http://www.facebook.com/TheArtGalleryUWF");
    if(e.target == fl_btn)
    link = new URLRequest("http://www.flickr.com/photos/tagtheartgalleryuwf/");
    if(e.target == tw_btn)
    link = new URLRequest("http://twitter.com/TAGUWF");
    navigateToURL(link);
    }

    ReplyDelete
  2. version 8:
    import flash.display.*;
    stop();

    var target_mc;
    var target_mc2 = null;
    var about_info:about_child = new about_child();
    var contact_info:contact_child = new contact_child();
    var link:URLRequest = new URLRequest;

    ab_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    co_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    ex_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    pe_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    bl_btn.addEventListener(MouseEvent.CLICK, openPage);
    fb_btn.addEventListener(MouseEvent.CLICK, openPage);
    fl_btn.addEventListener(MouseEvent.CLICK, openPage);
    tw_btn.addEventListener(MouseEvent.CLICK, openPage);
    loadWindow.addEventListener(Event.ENTER_FRAME, loadContent);

    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ab_mc;
    target_mc.gotoAndPlay(2);
    if(ex_mc.currentFrame == 36)
    ex_mc.gotoAndPlay(100);
    else
    ex_mc.gotoAndPlay(136);
    pe_mc.gotoAndPlay(140);
    }
    if(e.target == ex_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ex_mc;
    if(ex_mc.currentFrame == 143)
    target_mc.gotoAndPlay(156);
    else
    target_mc.gotoAndPlay(2);
    ab_mc.gotoAndPlay(160);
    pe_mc.gotoAndPlay(140);
    }
    if(e.target == pe_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = pe_mc;
    ab_mc.gotoAndPlay(160);
    ex_mc.gotoAndPlay(160);
    }
    if(e.target == co_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = co_mc;
    ab_mc.gotoAndPlay(160);
    pe_mc.gotoAndPlay(140);
    ex_mc.gotoAndPlay(160);
    }
    //target_mc.gotoAndPlay(2);
    target_mc.removeEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    }
    function loadContent(e:Event):void
    {
    if(ab_mc.currentFrame == 12)
    {
    loadWindow.removeChildAt(0);
    loadWindow.addChildAt(about_info, 0);
    }
    if(co_mc.currentFrame == 23)
    {
    loadWindow.removeChildAt(0);
    loadWindow.addChildAt(contact_info, 0);
    }
    }
    function openPage(e:MouseEvent):void
    {
    if(e.target == bl_btn)
    link = new URLRequest("http://tag82uwf.wordpress.com/");
    if(e.target == fb_btn)
    link = new URLRequest("http://www.facebook.com/TheArtGalleryUWF");
    if(e.target == fl_btn)
    link = new URLRequest("http://www.flickr.com/photos/tagtheartgalleryuwf/");
    if(e.target == tw_btn)
    link = new URLRequest("http://twitter.com/TAGUWF");
    navigateToURL(link);
    }

    ReplyDelete
  3. import flash.display.*;
    stop();

    var target_mc;
    var target_mc2 = null;
    var about_info:about_child = new about_child();
    var contact_info:contact_child = new contact_child();
    var link:URLRequest = new URLRequest;

    ab_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    co_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    ex_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    pe_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    bl_btn.addEventListener(MouseEvent.CLICK, openPage);
    fb_btn.addEventListener(MouseEvent.CLICK, openPage);
    fl_btn.addEventListener(MouseEvent.CLICK, openPage);
    tw_btn.addEventListener(MouseEvent.CLICK, openPage);
    loadWindow.addEventListener(Event.ENTER_FRAME, loadContent);

    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ab_mc;
    if(ab_mc.currentFrame == 125)
    target_mc.gotoAndPlay(132);
    else
    target_mc.gotoAndPlay(2);
    if(ex_mc.currentFrame == 36)
    ex_mc.gotoAndPlay(100);
    else
    ex_mc.gotoAndPlay(136);
    //pe_mc.gotoAndPlay(140);
    }
    if(e.target == ex_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ex_mc;
    if(ex_mc.currentFrame == 143)
    target_mc.gotoAndPlay(156);
    else
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else
    ab_mc.gotoAndPlay(112);
    //pe_mc.gotoAndPlay(140);
    }
    if(e.target == pe_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = pe_mc;
    ab_mc.gotoAndPlay(160);
    ex_mc.gotoAndPlay(160);
    }
    if(e.target == co_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = co_mc;
    ab_mc.gotoAndPlay(160);
    pe_mc.gotoAndPlay(140);
    ex_mc.gotoAndPlay(160);
    }
    //target_mc.gotoAndPlay(2);
    target_mc.removeEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    }
    function loadContent(e:Event):void
    {
    if(ab_mc.currentFrame == 12)
    {
    loadWindow.removeChildAt(0);
    loadWindow.addChildAt(about_info, 0);
    }
    if(co_mc.currentFrame == 23)
    {
    loadWindow.removeChildAt(0);
    loadWindow.addChildAt(contact_info, 0);
    }
    }
    function openPage(e:MouseEvent):void
    {
    if(e.target == bl_btn)
    link = new URLRequest("http://tag82uwf.wordpress.com/");
    if(e.target == fb_btn)
    link = new URLRequest("http://www.facebook.com/TheArtGalleryUWF");
    if(e.target == fl_btn)
    link = new URLRequest("http://www.flickr.com/photos/tagtheartgalleryuwf/");
    if(e.target == tw_btn)
    link = new URLRequest("http://twitter.com/TAGUWF");
    navigateToURL(link);
    }

    ReplyDelete
  4. version 10(abridged due to posting limits):


    ab_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    co_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    ex_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    pe_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    bl_btn.addEventListener(MouseEvent.CLICK, openPage);
    fb_btn.addEventListener(MouseEvent.CLICK, openPage);
    fl_btn.addEventListener(MouseEvent.CLICK, openPage);
    tw_btn.addEventListener(MouseEvent.CLICK, openPage);
    loadWindow.addEventListener(Event.ENTER_FRAME, loadContent);

    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ab_mc;
    if(ab_mc.currentFrame == 125)
    target_mc.gotoAndPlay(132);
    else
    target_mc.gotoAndPlay(2);
    if(ex_mc.currentFrame == 36)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == ex_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ex_mc;
    if(ex_mc.currentFrame == 143)
    target_mc.gotoAndPlay(156);
    else
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == pe_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = pe_mc;
    if(pe_mc.currentFrame == 134)
    target_mc.gotoAndPlay(141);
    else
    target_mc.gotoAndPlay(14);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 36)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == co_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = co_mc;
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 36)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    }
    target_mc.removeEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    }

    ReplyDelete
  5. version 11(abridged):

    import flash.display.*;
    stop();

    ab_mc.gotoAndPlay(112);
    ex_mc.gotoAndPlay(136);
    pe_mc.gotoAndPlay(111);


    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ab_mc;
    if(ab_mc.currentFrame == 125)
    target_mc.gotoAndPlay(132);
    else
    target_mc.gotoAndPlay(2);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == ex_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ex_mc;
    if(ex_mc.currentFrame == 143)
    target_mc.gotoAndPlay(156);
    else
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == pe_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = pe_mc;
    if(pe_mc.currentFrame == 134)
    target_mc.gotoAndPlay(141);
    else
    target_mc.gotoAndPlay(14);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == co_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = co_mc;
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    }
    target_mc.removeEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    }

    ReplyDelete
  6. import flash.display.*;
    stop();

    ab_mc.gotoAndPlay(112);
    ex_mc.gotoAndPlay(136);
    pe_mc.gotoAndPlay(111);

    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ab_mc;
    if(ab_mc.currentFrame == 125)
    target_mc.gotoAndPlay(132);
    else
    target_mc.gotoAndPlay(2);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == ex_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ex_mc;
    if(ex_mc.currentFrame == 143)
    target_mc.gotoAndPlay(156);
    else
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == pe_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = pe_mc;
    if(pe_mc.currentFrame == 134)
    target_mc.gotoAndPlay(141);
    else
    target_mc.gotoAndPlay(14);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == co_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = co_mc;
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 125)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    }
    target_mc.removeEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    }

    ReplyDelete
  7. version 13:

    function moveRightBars(e:Event):void
    {
    if(e.target == ab_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ab_mc;
    if(ab_mc.currentFrame == 115)
    target_mc.gotoAndPlay(142);
    else
    target_mc.gotoAndPlay(2);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == ex_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = ex_mc;
    if(ex_mc.currentFrame == 143)
    target_mc.gotoAndPlay(156);
    else
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 115)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == pe_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = pe_mc;
    if(pe_mc.currentFrame == 134)
    target_mc.gotoAndPlay(141);
    else
    target_mc.gotoAndPlay(14);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 115)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(co_mc.currentFrame == 23)
    co_mc.gotoAndPlay(100);
    }
    if(e.target == co_mc)
    {
    if(target_mc != null)
    target_mc.addEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    target_mc = co_mc;
    target_mc.gotoAndPlay(2);
    if(ab_mc.currentFrame == 12)
    ab_mc.gotoAndPlay(100);
    else if(ab_mc.currentFrame == 115)
    ab_mc.stop();
    else
    ab_mc.gotoAndPlay(112);
    if(ex_mc.currentFrame == 39)
    ex_mc.gotoAndPlay(100);
    else if(ex_mc.currentFrame == 143)
    ex_mc.stop();
    else
    ex_mc.gotoAndPlay(136);
    if(pe_mc.currentFrame == 24)
    pe_mc.gotoAndPlay(100);
    else if(pe_mc.currentFrame == 134)
    pe_mc.stop();
    else
    pe_mc.gotoAndPlay(111);
    }
    target_mc.removeEventListener(MouseEvent.MOUSE_OVER, moveRightBars);
    }

    ReplyDelete