A Flash Developer Resource Site

Search:

Type: Posts; User: marshdabeachy

Page 1 of 20 1 2 3 4

Search: Search took 9.37 seconds.

  1. Replies
    2
    Views
    1,448

    emmalaunder, what do you mean by "loop"? Do you...

    emmalaunder, what do you mean by "loop"? Do you mean when it reaches the left side of the screen, it should move over to the right? If so, this would do it:


    ...
  2. Replies
    1
    Views
    1,195

    AS 2 My advice to you is to start smaller. RPGs are...

    My advice to you is to start smaller. RPGs are probably the most difficult kind of game to make. Make something simpler like Asteroids so you get a better understanding of programming concepts...
  3. Code you write on frame 1 will still work on...

    Code you write on frame 1 will still work on other frames, because the event is added to the object, not the frame. (Similarly, you can also call functions that were created on frame 1 later in the...
  4. Replies
    1
    Views
    3,064

    CS3 I'm not an expert on this by any means, but if my...

    I'm not an expert on this by any means, but if my memory serves... Make sure the position of the art is on whole pixels (ie 452.0, not 452.3).
  5. AS 2 What do you mean by "print"? As in just draw the...

    What do you mean by "print"? As in just draw the movieclips directly to the stage so they're basically just a bitmap? Or do you actually want to create another instance of the same movieclip?

    If...
  6. Replies
    2
    Views
    1,335

    CS3 Can you define "overlapping"? Are the initial...

    Can you define "overlapping"? Are the initial four not overlapping? Your existing code would also be very helpful.
  7. That's a decent explanation for basic...

    That's a decent explanation for basic functionality.

    Under the hood, there are some key differences. onClipEvent(enterFrame) is a static function, whereas onEnterFrame is dynamically generated.
    ...
  8. Replies
    22
    Views
    3,824

    Don't think it's your laptop. I see it on my...

    Don't think it's your laptop. I see it on my system as well, and I'm running a fairly beefy PC with a 24" display @ 1920 x 1080 x 60Hz. It's most noticeable when the movieclip is moving quickly.

    I...
  9. You mean like an authoring environment? Something...

    You mean like an authoring environment? Something other than... say, Flash CS5?

    There's FlashDevelop, which is very similar to Visual Studio, except for Actionscript. It is however, only for...
  10. Replies
    22
    Views
    3,824

    Do you have some code? I haven't seen it do that...

    Do you have some code? I haven't seen it do that before. You aren't doing any weird bitmap manipulations or anything are you?
  11. Replies
    2
    Views
    1,393

    Rather than dealing with the scrollbar, I'm...

    Rather than dealing with the scrollbar, I'm pretty sure you can just dynamically adjust the size of the Flash object through Javascript.

    Here's a thread on the subject.
  12. Curious... I wonder if it's failing to evaluate...

    Curious... I wonder if it's failing to evaluate the paths because it's referencing the wrong level? Clearly it's copying the array if it's returning multiple undefined's; it's just the contents of...
  13. AS 2 The basic idea is to just watch for the distance...

    The basic idea is to just watch for the distance between the movieclip and the mouse. Once the distance is below a certain threshold, start scaling the movieclip up. Something like this:


    ...
  14. Replies
    2
    Views
    1,193

    AS 2 You're trying to animate a very large movieclip...

    You're trying to animate a very large movieclip every 2 ms, which is 500 fps. You're also calling updateAfterEvent, which is forcing a render call 500 times a second. So it's no surprise that's...
  15. Are you seeing these instance names through the...

    Are you seeing these instance names through the debugger? If an object is unnamed Flash will give it a generic name like "instance140". Ideally you should be explicitly naming these objects yourself....
  16. Replies
    10
    Views
    2,555

    MX So you're going to have to loop through a list...

    So you're going to have to loop through a list (ie array) of objects and perform the collision tests against each one. You can do this two ways - you can either keep a list of enemies, and check that...
  17. Replies
    10
    Views
    2,555

    MX Sorry, ya statics can only be used in certain...

    Sorry, ya statics can only be used in certain circumstances. Move uid outside of the onMouseDown and remove the static.



    stop();
    uid:Number = 0;
    _root.onMouseDown = function(){
    var...
  18. Replies
    10
    Views
    2,555

    MX Find your Library window. (Ctrl+L if you don't...

    Find your Library window. (Ctrl+L if you don't see it.) Find the bullet movieclip listed there, and right-click on it, then select Properties. Check the box that says "Export for Actionscript".
  19. Replies
    10
    Views
    2,555

    MX You'll need to set the bullet movieclip to...

    You'll need to set the bullet movieclip to "Export for Actionscript" in your library. Give it the export name of "bullet." Delete the bullet movieclip off the stage, because we'll be dynamically...
  20. CS3 I haven't used LocalConnection much before, but I...

    I haven't used LocalConnection much before, but I can confirm this is what you'll need to make it work. The tutorial on that link you provided actually looks pretty solid.
  21. Replies
    10
    Views
    2,555

    MX How's your trig? You'll need it for this one. ...

    How's your trig? You'll need it for this one.

    The basic idea goes like this...



    // Get the difference between the hero and mouse
    var diff_x:Number = _xmouse - hero._x;
    var diff_y:Number =...
  22. Replies
    2
    Views
    1,183

    Just looked this up; looks like the normal Flash...

    Just looked this up; looks like the normal Flash plugin is not supported on CE. You might try Flash Lite. I was unable to find an official download link for it though.
  23. This is normal. When you load a SWF in, it will...

    This is normal. When you load a SWF in, it will completely replace the contents of the clip it's being loaded into. What you'll want to do is create a blank movieclip to load into, that way it...
  24. Replies
    1
    Views
    1,557

    Sounds like one of Flash's config files got...

    Sounds like one of Flash's config files got corrupted (no doubt it loads them up when you first open the program). It's too bad it doesn't tell you which file it's choking on.

    Reinstalling is...
  25. I think the unprofessional aspect depends on how...

    I think the unprofessional aspect depends on how much emphasis you put on themes. If you feature it heavily (big font - CLICK HERE TO CHANGE THEMES!!) then that comes across quite unprofessional. But...
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