A Flash Developer Resource Site

Search:

Type: Posts; User: dukeufan4

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    1,174

    You could end the loop function with: ...

    You could end the loop function with:

    if(daytxt.text =="0" && hrtxt.text =="0" && mintxt.text =="0" && sectxt.text=="0"){
    removeEventListener(Event.ENTER_FRAME,loop);
    }
  2. Replies
    1
    Views
    2,570

    You could us an if() statement to prevent the car...

    You could us an if() statement to prevent the car from going too far in either direction. Something like this:

    if(mouseX>car_mc.width/2){
    var dx:int = car_mc.x - mouseX;
    car_mc.x-=...
  3. Replies
    6
    Views
    1,957

    Don't know if you are still having trouble with...

    Don't know if you are still having trouble with this, but if you are you can always use Math.abs(angle) to change any negative angle into a positive. Also, if you are trying to convert the angle from...
  4. Replies
    1
    Views
    1,498

    [CS4] If in TextInput Event

    I am sure this is much easier than I am making it, but here goes. I basically have a form asking for dimensions of an item and I would like to highlight the dimension in an image that corresponds to...
  5. Replies
    27
    Views
    4,182

    No problem. Best of luck to you. Also, please...

    No problem. Best of luck to you.

    Also, please mark this thread as resolved via the thread tools above. Thanks.
  6. Replies
    27
    Views
    4,182

    You can put your movie inside your button.

    You can put your movie inside your button.
  7. Replies
    27
    Views
    4,182

    And down1 is a Movie Clip, right?

    And down1 is a Movie Clip, right?
  8. Replies
    27
    Views
    4,182

    Is your down1 movie clip directly inside your...

    Is your down1 movie clip directly inside your Navi movie clip or is it inside your btn1 button?
  9. Replies
    27
    Views
    4,182

    Did you run the debugger?

    Did you run the debugger?
  10. Replies
    27
    Views
    4,182

    also, if it is inside your movie clip, you will...

    also, if it is inside your movie clip, you will have to do my_mc.down1.play(); like you did to the buttons.
  11. Replies
    27
    Views
    4,182

    Try changing gotoAndPlay("down1"); to...

    Try changing gotoAndPlay("down1"); to down1.play();
  12. Replies
    27
    Views
    4,182

    you should have something somewhere that looks...

    you should have something somewhere that looks like this:

    function main1Over(ev:MouseEvent):void{
    //code
    //code
    }

    I would add it right after the function declaration.

    function...
  13. Replies
    27
    Views
    4,182

    Can you insert a trace statement in one of your...

    Can you insert a trace statement in one of your ROLL_OVER functions? Something like trace("Rolled Over");. Just to make sure it is triggering the function.
  14. Replies
    27
    Views
    4,182

    Were you able to find out where the problem is...

    Were you able to find out where the problem is using the Debugger?
  15. Replies
    27
    Views
    4,182

    Well, if you run the built in debugger, it should...

    Well, if you run the built in debugger, it should place an error next to the line that is causing the error. Best of luck to you.
  16. Replies
    27
    Views
    4,182

    I believe that your problem is that the buttons...

    I believe that your problem is that the buttons are inside a movie clip. Try this:
    my_mc.btn1.addEventListener(MouseEvent.ROLL_OVER, main1Over);
    // my_mc being the name of the navigation movie...
  17. Replies
    27
    Views
    4,182

    Is this a button that is provided from Flash (ie...

    Is this a button that is provided from Flash (ie var btn1:Button = new Button();) or is this a button that you have created?

    Also, is all of your code in one .fla/.swf or are you using external...
  18. Replies
    27
    Views
    4,182

    Can you post the actual Compiler Error...

    Can you post the actual Compiler Error Description and Source? That should help us help you.
  19. Replies
    3
    Views
    1,271

    That is in the code I posted. Notice that my...

    That is in the code I posted. Notice that my ParseVdo function does not have an input variable. Since you defined xmlData above outside of any functions, it is accessible from anywhere in your swf....
  20. Replies
    3
    Views
    1,271

    This should work for you. I personally am not a...

    This should work for you. I personally am not a fan of passing an xml into a function via a variable when it is already accessible, but that is just a personal preference. Your problem appears to...
  21. Replies
    7
    Views
    1,192

    Application.swf launches login.swf. login.swf...

    Application.swf launches login.swf. login.swf then passes the username (if name and password are valid) to application.swf into the variable "user". In application.swf there is a maintenance button...
  22. Replies
    7
    Views
    1,192

    Ok, this is my first time creating a custom event...

    Ok, this is my first time creating a custom event and I have SEVERAL quesions about the big words that you just used. First of all, I have created tons of custom classes, but was completely unaware...
  23. Replies
    7
    Views
    1,192

    Well, I am glad it is not something easy that I...

    Well, I am glad it is not something easy that I forgot, but I am still a little stumped. If you could advise I would really appreciate it. To help you undestand exactly what I am doing here, I will...
  24. Replies
    7
    Views
    1,192

    String returned from function

    This is probably an easy question, and I am sure I am just forgetting the answer, but this is driving me NUTS! I have a button that triggers a function that returns a string. How do I trace the...
  25. Replies
    6
    Views
    1,134

    Well, I got your first response this morning and...

    Well, I got your first response this morning and modified my code for you. If you want a little shorter version, here it is. If you don't use it, doesn't really matter to me. I love working on the...
Results 1 to 25 of 85
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center