Jump to content
Search Community

anarchy

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by anarchy

  1. i wasnt implying you do it for me

    ......... i'm new to AS2 and still very much at a foundation level cos i am designer so just was asking if someone could give me a bit of direction as to what i should be looking for (classes or something that i need to call) because this sample was obviosuly someone elses code.

  2. Hi

     

    I'm am told that if i convert a certain of code to GS then the performance issues will be alot better and wont lag so much but the problem is i have got a clue where to start. Could someone help please

     

    #include "mc_tween2.as"

    stop();

     

    var mouse:Object = new Object();

    mouse.onMouseMove = mouse.onEnterFrame=function () {

    fallow();

    var Mypic:Number = 1;

    /*var Mypic 1 for see all Image*/

    var S:Number = 5;

    var Xpos:Number = 990;

    var Ypos:Number = 650;

    var pos:Number = 0;

    var T:String = "easeoutexpo";

    mc_Image.hitTest == true;

    mc_Image.setMask(mask);

    mc_Image.alphaTo(100, S, T);

    if (_xmouse>=pos && _xmouse<=Xpos && _ymouse>=pos && _ymouse<=Ypos) {

    mc_Image._x = mc_Image.tween("_x", (-_xmouse*(mc_Image._width-Xpos)/Xpos)*Mypic, S, T);

    mc_Image._y = mc_Image.tween("_y", (-_ymouse*(mc_Image._height-Ypos)/Ypos)*Mypic, S, T);

    updateAfterEvent;

    }

    };

     

     

    Mouse.addListener(mouse);

    this.onEnterFrame = function() {

    bar.loader.xScaleTo(0, 2, T);

    bar.Tooltiploader.xScaleTo(0, 2, T);

    bar.Tooltiploader.xSlideTo(0, 2, T);

    bar.Tooltiploader.alphaTo(0, 2, T);

    bar.behind.alphaTo(0, 2, T);

    };

    mc_Image.alphaTo(0, S, T);

     

     

     

     

    much appreciated for any help

    Luke

  3. thanks GS

     

    i havent tried this yet but made a fair bit of sense so will do it tomorrow and let u know how i get on.

    As you can see i've only just started using AS to an intermediate level and although i think GS is amazing i still have sooooo much to learn just in terms of AS2. but hopefully if i can catch on well i will be in a position to upgrade (maybe even to premium) and take full avantage

  4. i am having a massive issue with GS which i cant figure out for the life of me why it is happening

     

    Basically i am telling a button that once click - to move itself to a x/y position.

    It also has rollover/outs

     

    But once it gets clicked the mc moves slightly and then stops - so it doesnt complete its animation.

    It looks like theres some sort of confliction between the rollovers and on onReleases

     

    anyone come across this problem?

  5. Hi Again

     

    Trying to use the oncompletefunction but not sure if i'm actually doing it right

     

    basically i am wanting the object to move then when its finished moving - alpha to 100%

    TweenLite.to(_root.btn_work, 2, {_x:328, _y:328, paused:true, onComplete:myFunction, autoAlpha:100, ease:Expo.easeInOut});

     

    would appreciate if you could help me cos really just finding my feet with AS2

     

    Thanks

    Luke

  6. for some reason i cant get GS to work on vista and it comes up with a load of error messages

     

    The name of this class, 'gs.utils.tween.TweenInfo', conflicts with the name of another class that was loaded, 'gs.utils.tween.TweenInfo'.

    The name of this class, 'gs.plugins.TweenPlugin', conflicts with the name of another class that was loaded, 'gs.plugins.TweenPlugin'.

    The name of this class, 'gs.plugins.TintPlugin', conflicts with the name of another class that was loaded, 'gs.plugins.TintPlugin'.

    The name of this class, 'gs.plugins.RemoveTintPlugin', conflicts with the name of another class that was loaded, 'gs.plugins.RemoveTintPlugin'.

     

    and about another 15 more along the same lines as this

     

    can anyone help ?

    thanks

×
×
  • Create New...