dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: pitchdog

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    546

    Thanks, but perhaps I'm missing something...

    Thanks, but perhaps I'm missing something fundamental. I'm not sure how that helps while the application is running. I understand that this is a way to get target paths - and I know the target paths...
  2. Replies
    4
    Views
    546

    I'm sorry - the target path has to be dynamic. ...

    I'm sorry - the target path has to be dynamic.

    Let's say the drop target is a positive battery terminal within the MC battery. The _droptarget function returns the path to the terminal, but I...
  3. Replies
    4
    Views
    546

    Drop Target's Parent

    I have a MC inside another MC and I could use some help finding the drop target's parent.

    This dosn't work, but it'd be nice:

    trace (_parent._droptarget)

    :)

    Any ideas? Thanks.
  4. Replies
    4
    Views
    633

    space ice

    Here's a game I made that uses the hittest function. It's not global, but it works. I'd like to find something that makes the "spaceice" / asteroids detect each other w/o running scripts on each one...
  5. Replies
    4
    Views
    633

    One way is create the hittest code on one MC, and...

    One way is create the hittest code on one MC, and then use duplicateMovieClip to duplicate the targets. So, if you have an asteroid game you just build 1 asteroid w/ the hittest code.

    I do not...
  6. Replies
    0
    Views
    259

    Copy Text to Clip Board?

    (FlashMX)

    Hi. Can you make a copy button to copy text from the SWF onto the clip board?

    Thanks.
  7. Replies
    1
    Views
    249

    Check array for value.

    How can I check to see if a number (or any value) is in a string or array?

    For example, I'd like to see if the number 3 in the array [1,4,5,6,7,88,3,9]

    Thank you.
  8. Replies
    1
    Views
    338

    Check array for value.

    How can I check to see if a number (or any value) is in a string or array?

    For example, I'd like to see if the number 3 in the array [1,4,5,6,7,88,3,9]

    Thank you.
  9. Replies
    1
    Views
    329

    Apply Function to keep MC on screen

    I have some simple code to keep my mc's on the screen.

    function onScreen (){
    if (_x>450) {
    _x = 450;
    }
    if (_x<0) {
    _x = 0;
    }
  10. Thread: Gray Scale

    by pitchdog
    Replies
    0
    Views
    319

    Gray Scale

    Can you grayscale a bitmap w/ the flash tools and or with Flash MX scripts. Its more complex than turning all the colors down.

    Thanks.
  11. Thread: Remove MC?

    by pitchdog
    Replies
    7
    Views
    513

    Thanks this works but I get and error in the...

    Thanks this works but I get and error in the output. That kinda bothers me:


    Error opening URL "file:///C .....

    Here's what I'm doing:

    I have a MC that I control w/ the arrow keys ... a...
  12. Thread: Remove MC?

    by pitchdog
    Replies
    7
    Views
    513

    Remove MC?

    Why doesn't this work to remove an MC named rock? Seems like I'm following the proper syntax!

    if(this.hitTest(_root.rock)){
    removeMovieClip(_root.rock);
    _root.rock._alpha =...
  13. Replies
    0
    Views
    277

    Space Laser for Kids

    I am teaching 10-13 year old kids how to do light programing in Flash in a limited amount of time. We've made a bunch of interactive MC's, but the class wants to make a "Space Laser" ... I'm thinking...
  14. Replies
    7
    Views
    987

    I should have had "y" instead of "vy" in my last...

    I should have had "y" instead of "vy" in my last post - that's I've been scritping graviy. We're interested in the postion, y at each interval.

    "So the falling speed should first be 10, then 20,...
  15. Replies
    13
    Views
    1,024

    This is great. Two things: 1) I like the array...

    This is great. Two things:

    1) I like the array better than the original, however, it is hard to code - you have to count the position. Is there an easier way to code the grid? In an array,...
  16. Replies
    34
    Views
    2,197

    Looks like its just pitchdog tongiht. ;) I...

    Looks like its just pitchdog tongiht. ;)

    I added a window to your 3-d world w/ joystick to deal w/ the "mask." I've seen this before: The objects are loading at a higher level than the mask. I...
  17. Replies
    34
    Views
    2,197

    Here's some code that could allow landscape...

    Here's some code that could allow landscape objects to behave independely. Rotation, Alpha etc, are easy but changing the _x position has two problems:

    1) The objects don't move in the right...
  18. Replies
    34
    Views
    2,197

    Joysticks! I just found page 2 of this post and...

    Joysticks! I just found page 2 of this post and your joystick's better than keys. I see 3d-world-2 and, of course joystick, but no keys.

    I see what you mean about the entities behind the mask,...
  19. Replies
    34
    Views
    2,197

    This is really neat ... and the code is actully...

    This is really neat ... and the code is actully pretty simple, or at least very dynamic and easy to edit. I'm trying to figure out the coordinate plane ... and I'd be really really interested in any...
  20. Replies
    0
    Views
    292

    Set more than one linkage at a time?

    You can linkage / export settings one at a time by:

    Right click, linkage, export for action script,

    This is terribly cumbersome, expecially when you're export settings are the same as your...
  21. Replies
    2
    Views
    357

    Hmmm, this works: function SetColor() {...

    Hmmm, this works:

    function SetColor() {
    myColor = new Color("_root.bg");
    myColor.setRGB(0x993366);
    }

    But not this:

    function SetColor() {
  22. Replies
    2
    Views
    357

    Dynamic Color Set ... in Flash 5

    Well, I hit another conversion road block and can't find anything in a few years back in the FK board. Its funny looking at the posts that far back and seeing today's FK experts as newbies! Anyway...
  23. Replies
    2
    Views
    311

    Thanks! Though I'm still not sure how you did...

    Thanks! Though I'm still not sure how you did this. Its quite tricky indeed. Seems like you're moving the layer behind the mask until you watch it run.
  24. Replies
    2
    Views
    311

    Moving Object in a mask layer? Flash 5

    Can you move an object in a mask layer - either dragging or by changing the x and y w/ code - in Flash 5? I can't get it to work.
  25. Replies
    2
    Views
    469

    Yep! That looks like some Flash 5 code! Works...

    Yep! That looks like some Flash 5 code! Works swell. Thanks!
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center