A Flash Developer Resource Site

Search:

Type: Posts; User: Ziggwies

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    1,264

    In CS4 in the "Tool bar" it's under the "Free...

    In CS4 in the "Tool bar" it's under the "Free Transform Tool".



    It should allow that.
  2. Replies
    3
    Views
    1,264

    One way is to first create the animation without...

    One way is to first create the animation without any distortion like the one in the example (top right corner).

    Then use the "inbuilt" 3D rotation and translation tool to distort the animation.
    ...
  3. aaa needs to be a string type since the toFixed...

    aaa needs to be a string type since the toFixed method returns a string.
  4. Replies
    2
    Views
    2,325

    In the "Timeline" look for the "two purple boxes"...

    In the "Timeline" look for the "two purple boxes" icon where one box is in front of another. That's the "Edit Multiple Frames" feature.
  5. Interesting since it's working from my end. I...

    Interesting since it's working from my end.

    I noticed you are using beginDrag and endDrag instead of startDrag and stopDrag.



    I'm assuming the object you are dragging is a symbol. So you...
  6. Oops I forgot to account for the actual space of...

    Oops I forgot to account for the actual space of the object.

    Try this code instead...



    var left:Number = 10 + MC_Login._width/2;
    var top:Number = 10 + MC_Login._height/2;
    var...
  7. Seems like you are using AS2. The link I...

    Seems like you are using AS2.

    The link I provided is AS3 so most likely it won't work if you tried it.

    Your code for startDrag should look something like this...
    startDrag(true, 10, 10,...
  8. Here is a source example...

    Here is a source example for and rectangular and circular boundaries.
  9. Replies
    1
    Views
    375

    Try using MouseEvent.MOUSE_OUT You can add...

    Try using MouseEvent.MOUSE_OUT

    You can add your scene name into the gotoAndPlay call. Like so gotoAndPlay(1, "scene 1");
  10. Replies
    4
    Views
    699

    You can simplify it to one function if "canada"...

    You can simplify it to one function if "canada" and "australia" happen to be movieclips.



    function clickFunction(evt:MouseEvent):void {
    MovieClip(parent).gotoAndPlay(evt.target.gotoFrame);
    }...
  11. Replies
    4
    Views
    3,991

    Double check that "myMc" is a movie clip rather...

    Double check that "myMc" is a movie clip rather than a button.

    Also remove the space between the "e" and "r".


    myMc.addEventListener(MouseEvent.ROLL_OVER,myMcOve r);
  12. Replies
    2
    Views
    772

    A bit off topic, but here is a quick tip for...

    A bit off topic, but here is a quick tip for random color...



    var myColor:ColorTransform = logo_mc.transform.colorTransform;
    myColor.color = Math.random() * 0xffffff;...
  13. Replies
    5
    Views
    691

    One way is to put the mcs in an array. Then use a...

    One way is to put the mcs in an array. Then use a for loop to go through the array and assign the properties.
  14. Thread: If???

    by Ziggwies
    Replies
    6
    Views
    917

    MX04 You'll need to define both doDrag and endDrag...

    You'll need to define both doDrag and endDrag function as like dawsonk's code.
  15. Thread: If???

    by Ziggwies
    Replies
    6
    Views
    917

    MX04 Try out dawsonk's code.

    Try out dawsonk's code.
  16. Thread: If???

    by Ziggwies
    Replies
    6
    Views
    917

    MX04 Try this... if(left_mc.hitTest(box01_mc)...

    Try this...



    if(left_mc.hitTest(box01_mc) &&
    left_mc.hitTest(box02_mc) &&
    left_mc.hitTest(box03_mc) &&

    right_mc.hitTest(box04_mc) &&
    right_mc.hitTest(box05_mc) &&
  17. Replies
    1
    Views
    752

    Try using MouseEvent.MOUSE_MOVE. You can access...

    Try using MouseEvent.MOUSE_MOVE. You can access the current mouse position using mouseX and mouseY.
  18. Replies
    3
    Views
    1,557

    I created something similar a few months back. ...

    I created something similar a few months back.

    Here is the source. Hopefully it'll be useful.
  19. Thread: wave effect

    by Ziggwies
    Replies
    1
    Views
    701

    You can achieve that effect through drawing,...

    You can achieve that effect through drawing, tweening or even code.

    I actually created something similar using code a few months back. Here is the source if you're interested.
  20. Replies
    3
    Views
    896

    Not sure, but you could try adding a new scene in...

    Not sure, but you could try adding a new scene in front.
  21. Replies
    10
    Views
    2,730

    For AS2 try this... on(rollOver){...

    For AS2 try this...



    on(rollOver){
    _root.portfolio.play();
    this.swapDepths(getNextHighestDepth());
    }
  22. Replies
    5
    Views
    1,249

    Use if instead of else if. Like so... ...

    Use if instead of else if.

    Like so...



    stop();

    trigger.onRelease = function() {
    if(input.text == "1234") {
  23. Replies
    5
    Views
    1,249

    Assuming input is the name of your textfield. ...

    Assuming input is the name of your textfield.

    Try this code...



    stop();

    trigger.onRelease = function() {
    if(input.text == "1234") {
  24. Replies
    10
    Views
    2,730

    AS2 use swapDepths() AS3 use addChild()

    AS2 use swapDepths()

    AS3 use addChild()
  25. Replies
    3
    Views
    896

    Here is a preloader example...

    Here is a preloader example.
Results 1 to 25 of 113
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center