A Flash Developer Resource Site

Search:

Type: Posts; User: cresquin

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. correct.

    correct.
  2. Replies
    2
    Views
    509

    are you using an instance of the Ball class?

    are you using an instance of the Ball class?
  3. 1. no code should ever go on the mc. That is a...

    1. no code should ever go on the mc. That is a depricated method of coding AS. Again all script goes on the frame (or a custom class) all of the time.

    2. Arrays are really cool, you can use them...
  4. button.enabled = false;

    button.enabled = false;
  5. Replies
    5
    Views
    768

    There is no way to keep it from triggering the...

    There is no way to keep it from triggering the firefox thing, this is in-fact a feature and security measure. Imagine me making a script that opened a new window on Enter Frame at 30 fps, it would...
  6. Replies
    6
    Views
    1,959

    Hammer, the script I pasted above works if you...

    Hammer, the script I pasted above works if you paste it into a fresh file. Don't know what else to tell you.
  7. Replies
    6
    Views
    724

    import flash.display.DisplayObjectContainer in...

    import flash.display.DisplayObjectContainer in both classes and change Stage to DisplayObjectContainer (in all of the instances in my code). I thought Stage was a native class, but it may also need...
  8. Replies
    2
    Views
    532

    You're right, I did misunderstand the nature of...

    You're right, I did misunderstand the nature of the problem, try something like this:


    var strandID:Number

    function connectT() {
    for (var i = 0; i < 100; i++) {
    if...
  9. Replies
    6
    Views
    1,959

    Also remove the tf.align line. import...

    Also remove the tf.align line.


    import flash.text.TextField;
    import flash.text.TextFormatAlign;
    import flash.text.TextFieldAutoSize;

    var tf:TextFormat=new TextFormat();
    tf.font='Verdana';...
  10. Replies
    24
    Views
    2,458

    include the block I gave you and try testing on...

    include the block I gave you and try testing on the server.
  11. Replies
    3
    Views
    10,237

    You should check out the documentation to see...

    You should check out the documentation to see what other properties/methods you are missing out on:

    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/MovieClip.html
  12. Replies
    6
    Views
    1,959

    try this: import...

    try this:



    import flash.text.TextFieldAutoSize;
    t.width = 500;
    t.autoSize = TextFieldAutoSize.CENTER;
  13. Thread: plz help

    by cresquin
    Replies
    3
    Views
    512

    you need to use the full address to sword_mc ...

    you need to use the full address to sword_mc


    on (release) {
    _root.mc.mc.mc.sword_mc.gotoAndPlay(2);
    }
  14. Replies
    4
    Views
    517

    buk, the quick answer is probably, with some...

    buk, the quick answer is probably, with some wrangling.

    The logic and methodology behind your attempt is sound, but like cancerinform said, there are some syntax errors up there.
  15. Replies
    6
    Views
    724

    using int on hex values won't make any real...

    using int on hex values won't make any real performance or technical difference in this case. The real benefit of uint is that you can use integers up to 2^64 instead of 2^63. you might gain...
  16. Replies
    6
    Views
    724

    Basically your problem is that you are trying to...

    Basically your problem is that you are trying to add bmp2 to the display list of something that isn't on stage.

    I assume that Bender doesn't subclass anything. Within Bender, you need to add a...
  17. Thread: scale problem

    by cresquin
    Replies
    11
    Views
    919

    setinterval calls a function every [duration]. ...

    setinterval calls a function every [duration].

    you need to make a new function for it to call that will execute your tween that is separate from the listener function.

    Your listener function...
  18. it should look something like this:

    it should look something like this:

    <object type="application/x-shockwave-flash" data="file.swf">
    <param name="movie" value="file.swf"/>
    <param name="allowScriptAccess" value="always"/>...
  19. Replies
    5
    Views
    5,078

    I actually have a shuffle() function in AS3, I'll...

    I actually have a shuffle() function in AS3, I'll have to dig it up, but it uses a similar technique to what I described above.
  20. Replies
    10
    Views
    2,704

    my specific answer to that specific question is:...

    my specific answer to that specific question is: change the code.

    Beyond thinking you are lazy (maybe, maybe not) I think you have started a project that is bigger than you can handle. I think...
  21. in the HTML make sure you have allowScriptAccess...

    in the HTML make sure you have allowScriptAccess = "always" parameter set.
  22. Replies
    6
    Views
    655

    yes, use array[i] within a for loop. just like...

    yes, use array[i] within a for loop. just like the other code. That's how I know you didn't write it.
  23. Replies
    7
    Views
    616

    Flash8 I haven't and won't click any links, but you...

    I haven't and won't click any links, but you probably just need to set onEnterFrame = null on the first frame of your movie.
  24. the top way is correct. if you need xmlData from...

    the top way is correct. if you need xmlData from the specific button you click then use e.target to reference the clicked button:


    gardengate_btn.addEventListener(MouseEvent.CLICK,...
  25. Replies
    10
    Views
    2,704

    rather than replacing the collision detection,...

    rather than replacing the collision detection, can you modify the working code to act the same as the second tut? (FYI: I will not be giving you any specific code unless you ask a specific question....
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