A Flash Developer Resource Site

Search:

Type: Posts; User: Mr Wabbit

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,637

    Heya sorry I not replied to your post sooner....

    Heya sorry I not replied to your post sooner.
    Just been a little busy.

    Your method seems to mean you are manually setting each movieclip a drag function

    You want to use a loop.
    I have a bit...
  2. AS 2 From your other posts you said you had all the...

    From your other posts you said you had all the movieclips on another layer.
    Give each item an instance name of Bn where n is a number ie, B1, B2, B3

    You have a total of 6 items boxed, in your...
  3. The most likely reason is a path issue. Make...

    The most likely reason is a path issue.

    Make sure the actions are on Frame 1 and cover all frames on the root timeline.
    This will make sure the same var is used across all the frames.
    Also when...
  4. If on another layer then you can remove the CD....

    If on another layer then you can remove the CD.
    So you get:



    onEnterFrame = function (){
    AE._rotation += CD.spinSpeed;
    }
  5. This would go on the root timeline actions. ...

    This would go on the root timeline actions.

    OnEnterFrame is placed on frames
    onClipEvent is place on mc's

    You also want to makes sure the path is correct, as mentioned above, if AE is inside...
  6. You already have the mouse control set up all you...

    You already have the mouse control set up all you need to do is set it to rotate constently at the speed of the world, which is controlled via the spinSpeed varible.
    You currently have the spinSpeed...
  7. AS 2 The easiest way would be to use the ._name...

    The easiest way would be to use the ._name function.
    The issue with this is it will call what ever the rollover is set on which would be the holding mc in 99% of cases.
    Creating a rollover for each...
  8. Replies
    3
    Views
    2,640

    AS 2 There is a few methods. - Guessing you wish to...

    There is a few methods. - Guessing you wish to keep the list component and xml for the choice.
    Your request seems to be asking 2 different items.
    One - is having items on different frames
    Two - is...
  9. Flash8 I've not experienced this myself, though I have...

    I've not experienced this myself, though I have just done some testing, and have found this to be true.
    I have done some research into the matter, the issue doesnt appear to just be with the...
  10. Replies
    3
    Views
    2,640

    AS 2 Complete Remake

    Okay I have looked at your code, and your right about a re-hash :P

    I have completely re-written your code.
    I have kept your variable names though, as well as the list instance name.
    Please read...
  11. Gunna guess you have a newer version of flash to...

    Gunna guess you have a newer version of flash to me as mine cant open it, on CS3.

    Doubt this is of much help though worth a shot:
    a) make sure whitespace is ignored, basic though sometimes...
  12. AS 2 I don't understand what you wish to achieve to be...

    I don't understand what you wish to achieve to be honest.
    You say you want to display information on a mouseover

    But your code, has nothing to do with displaying information.

    So my question...
  13. When using the attachMovie function you want to...

    When using the attachMovie function you want to use removeMovieClip.

    So.

    me=_root.attachMovie("mcBall2","b"+cur,cur); //Your current attachment type

    me=delete...
  14. Replies
    1
    Views
    1,194

    I cannot speak for KoolMoves, as never heard of...

    I cannot speak for KoolMoves, as never heard of let alone used, but if its any help the as2 method would be.
    Test 1 being the Car
    Test 2 being a holder for where the image is being called in


    ...
  15. Replies
    3
    Views
    1,480

    Flash8 1> If you are getting 1010 you var is set wrong....

    1> If you are getting 1010 you var is set wrong.
    You will have

    var exp = "10";

    You want

    var exp = 10;

    The "" means it processes the var as a string so you are asking it to add 10 to the...
  16. Replies
    6
    Views
    2,069

    Flash8 Looks good depends if he is referring to real day...

    Looks good depends if he is referring to real day of the month or just from a var of his own.
    One warning RaynbowzRule.
    If you are basing off the real day in the month, the functions run off your...
  17. Replies
    0
    Views
    1,749

    [CS3][AS2] Png transparency Hittest

    Now where to start.
    I have an image which using transparency level 1% and 0%.
    I need to create a hitTest in which the character hitTests against either the 0 or 1% alpha channel.

    The images are...
  18. Replies
    6
    Views
    2,069

    Flash8 Personally I wouldnt do it as an onClipEvent....

    Personally I wouldnt do it as an onClipEvent.
    the var day Im guessing is on the main timeline

    I would do:


    MC.onEnterFrame = function (){
    if (day < 15) {
    MC.gotoAndStop(1);
    } else if...
  19. try using the math.round function for it so ...

    try using the math.round function for it so

    ttotal=(Math.round(stotal*100))/100;

    I think that should work
  20. Replies
    2
    Views
    1,528

    Wow I need to sleep its way to early, urm I think...

    Wow I need to sleep its way to early, urm I think I know your need, try an inelastic collision in 2 dimensions.
    If you get stuck gimme a message and I will give you a hand, anyway 6am = bed.
  21. Replies
    1
    Views
    582

    I dont thing this is possible using AS2 alone....

    I dont thing this is possible using AS2 alone.
    As3 has a load and save option for other format files and may be possible there there are ways round though.
    The following site has a download...
  22. Ok for the 2DP you need the following instead ...

    Ok for the 2DP you need the following instead

    ttotal=int((stotal)*100)/100;
    where the 2 100's are states the dp lenght so if both are 10 its 1dp, and if both are 1000 its 3dp, this replaces the...
  23. Ok fixed the bug and added a function for...

    Ok fixed the bug and added a function for rounding for you.

    This will round to a whole number, rename the dynmamic text var to ttotal, everything else stays as stotal.


    onEnterFrame =...
  24. Drag and drop tutorials are everywhere. I made...

    Drag and drop tutorials are everywhere.

    I made this in when I was learning It was currupt but I have managed to restore most of it and saved in CS4.
    http://www.hobo-town.com/fla/dd1.fla.zip

    If...
  25. Replies
    3
    Views
    852

    Something more like this but this is buggy with...

    Something more like this but this is buggy with your buttons sometimes, not entirely sure, not really looked much at the file.

    stop();

    stotal=0;
    a1a=false;
    a1b=false;

    q1a.onRelease =...
Results 1 to 25 of 215
Page 1 of 9 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center