flash rollover buttons not working in ie

Out of context: Reply #15

  • Started
  • Last post
  • 19 Responses
  • forbes0

    here u go dude

    import caurina.transitions.*;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;

    var req:URLRequest = new URLRequest("http://www.zirkuscre...

    see.alpha = 0;

    addEventListener(Event.ENTER_FRA... fadeIn);

    function fadeIn(e:Event):void {
    Tweener.addTween(see, {alpha:1, time:0.7, transition:"linear"});
    }

    butt.addEventListener(MouseEvent... butt_ROLLOVER);

    function butt_ROLLOVER(e:MouseEvent):void
    {
    if(alphaSlide.width == 278.9) {
    Tweener.addTween(alphaSlide, {width:210, time:0.3, transition:"linear"});
    Tweener.addTween(back, {_saturation: 10, time: 0.3, transition:"linear"});
    Tweener.addTween(roundArrow, {rotation: -180, x: 210, time:0.3, transition:"linear"});

    butt.addEventListener(MouseEvent... butt_ROLLOUT);
    }
    }

    function butt_ROLLOUT(e:MouseEvent):void
    {
    if(alphaSlide.width == 210) {
    Tweener.addTween(alphaSlide, {width:278.9, time:0.8, transition:"easeOutBounce"});
    Tweener.addTween(back, {_saturation: 100, time: 0.3, transition:"linear"});
    butt.addEventListener(MouseEvent... butt_ROLLOVER);
    Tweener.addTween(roundArrow, {rotation: 0, x: 275, time:0.8, transition:"easeOutBounce"});
    }
    }

    butt.addEventListener(MouseEvent... butt_CLICK);

    function butt_CLICK(e:MouseEvent):void {

    navigateToURL(req, '_self');

    }

View thread