dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: joejoe2288

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds.

  1. Yea, thats what I meant, you added the...

    Yea, thats what I meant, you added the declaration of the CartItem to the root, so you have to change your reference path to match where the button now resides.
  2. You added the CartItem to the root actions rather...

    You added the CartItem to the root actions rather than the button actions. You need to put
    pages.CarlsB.item = new CartItem in that second piece of code if you want the CartItem object to be...
  3. Replies
    6
    Views
    1,156

    First problem: Sounds like a deep inset issue...

    First problem: Sounds like a deep inset issue with the code, possibly because you call the changeImage function on load, would have to test the code out to figure that one out, I don't have the...
  4. You could store a boolean variable that says if...

    You could store a boolean variable that says if you are in the text box or not, and use an event listener so that when the input box is selected the value is changed in the boolean variable and when...
  5. That is quite odd and I am very sorry, but I know...

    That is quite odd and I am very sorry, but I know little about the changes made in AS3 so my knowledge is limited, as if it wasn't already :P
  6. Probably has to do with the integer conversion...

    Probably has to do with the integer conversion type in Flash, try 310.0-(-303.3)
    I have had the same problem in Java, of course the compiler won't even let me subtract a double from an integer in...
  7. Replies
    17
    Views
    3,124

    No need for the haughty attitude! I was...

    No need for the haughty attitude! I was mistaken... I have been away from Flash for far too long. I guess I just used that syntax as an approach for on the fly behavior, writing and reading an array...
  8. Replies
    17
    Views
    3,124

    Yea but what about referencing dynamically...

    Yea but what about referencing dynamically created movie clips, like ball1, ball2, ball3.... can't exactly store them in an array unless you just wanted to store their references.
  9. Replies
    17
    Views
    3,124

    I know other languages such as Java don't...

    I know other languages such as Java don't incorperate things such as that because it really slows down the compiler for much larger applications, but it would be very disappointing if Adobe removed...
  10. Replies
    17
    Views
    3,124

    Perfectly on topic, and it looks like you got the...

    Perfectly on topic, and it looks like you got the hang of it ;) If you add a loop it it is just multiple definitions of the one you specified. In actuality, you would never need to run the code you...
  11. Replies
    17
    Views
    3,124

    code wasn't too far out, not sure if this will...

    code wasn't too far out, not sure if this will work in AS 3.0 but I used it all the time in 2.0

    for (var i =0;i<POSITIONS;i++){
    public var this["pos"+i]:Point = new Point();
    };
  12. Replies
    2
    Views
    360

    If i remember correctly, you have to import the...

    If i remember correctly, you have to import the class at the start of the .fla with

    import MyClass.as

    then you should be able to call the methods on the objects you create that are the type of...
  13. Replies
    7
    Views
    685

    Can you attach the file so we can take a look?

    Can you attach the file so we can take a look?
  14. Thread: Laggy Page

    by joejoe2288
    Replies
    2
    Views
    516

    it wasn't laggy in safari on the mac, it seems a...

    it wasn't laggy in safari on the mac, it seems a bit more laggy in firefox than IE. I am totally mind boggled as to what it could be because I think my code is pretty concise, as to the onEnterFrame...
  15. Thread: Laggy Page

    by joejoe2288
    Replies
    2
    Views
    516

    Laggy Page

    It seems that my FPS drops when I put my swf onto my server, it ran fine when I was viewing it on my friends MAC but when I view it on my PC it gets really choppy, could it have something to do with...
  16. Replies
    2
    Views
    581

    not what i needed but thanks

    not what i needed but thanks
  17. Replies
    3
    Views
    585

    The best way to do that is to create a movieclip...

    The best way to do that is to create a movieclip and treat it as a button in the actionscripting except when defining the text. just put a dynamic text field inside the movie clip and give each...
  18. Replies
    2
    Views
    454

    When that happens, that means the however many...

    When that happens, that means the however many percent you have to wait is located in the first frame of that movie, I believe for yours it was 11%. A better way to do that is to start loading the...
  19. You are in the wrong forum buddy you need to move...

    You are in the wrong forum buddy you need to move to the scripting and backend forum
  20. Replies
    1
    Views
    1,133

    sure, here is the code and I made an example fla....

    sure, here is the code and I made an example fla.
    There are multiple ways of doing this but this is the first that popped into my head :)



    stop();

    ...
  21. Replies
    2
    Views
    581

    Change Trajectory/Velocity of Ball

    Hey guys, I have created som script I am trying to use for collision detection it is working out alright, the only thing is that I am not too good with vectors yet because I don't take PHY until next...
  22. you don't necessarily need a variable that does...

    you don't necessarily need a variable that does that, you can just have a container movieclip and then reference the clip with an unload movie action then load another swf into it


    ...
  23. Replies
    7
    Views
    277

    try this.onEnterFrame

    try this.onEnterFrame
  24. see where your reference point is in the...

    see where your reference point is in the movieclip, it should be in the upper left of the mc
  25. Replies
    5
    Views
    456

    so basically the actions for that would be really...

    so basically the actions for that would be really simple once you thing about it, all they would have to do is change the _xscale and _yscale of the main movie and that would change the size of the...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center