Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. iostream71

    need help understanding this oop actionscript

    thanks....but who is JT??
  2. iostream71

    need help understanding this oop actionscript

    I need help undestanding the bolded syntax. 1)I think the first part is creating an object "game" and assigned two variables default values. 2)I think in the second part a "Tile0" object is added to the "game" object. 3)I don't understand what the "game[]" syntax is doing. Is it making...
  3. iostream71

    any way to set a cookie with flash?

    just what i was lookin' for, thnx
  4. iostream71

    any way to set a cookie with flash?

    this is my site(still not done, so don't bash too hard): pixel-werx.com i want the user to go through all the pages once, and after that, be able to put a menu at the bottom if they've already gone through, so don't have to repeat if they don't want to i thought maybe there was some way to set...
  5. iostream71

    key.getcode returning undefined?

    well, i found what it was...for some reason, i had to rename an instance. even if i deleted everything else to make sure no duplicates or name conflicts, it still wouldn't work unless i changed the name o_O
  6. iostream71

    key.getcode returning undefined?

    i have a clip that works fine until one point where it won't accept any key presses. i did a trace and it returns undefined
  7. iostream71

    where should i place functions?

    should have known to try that >_<
  8. iostream71

    where should i place functions?

    i have some functions on the first frame of the main timeline. how do i call those functions if i'm inside a clip?
  9. iostream71

    optimized collision detection

    is there a big difference on performance with using hittest(x,y,true) versus hittest(object)?
  10. iostream71

    optimized collision detection

    anybody have tips on getting the best performance for collision detection on irregular shapes? I was playing around with the idea of using nodes to detect hits, but wanted to know if there was a better way. this is for a 'game'
  11. iostream71

    timeline question

    that worked, thanx
  12. iostream71

    timeline question

    i don't think you understand what i'm saying i have a clip on frame 1 of the main movie i add a keyframe on frame 2 and it copies the clip into frame 2 if i delete the instance of that clip in frame 2, when i get to frame 2, does the loop from the clip in the first frame keep looping?
  13. iostream71

    timeline question

    i have a situtation like this: i have a clip on frame 1 that does some sort of action on enterFrame on frame 2, i insert a keyframe and delete the instance of that clip(in 2nd frame only) my question is: does that enterFrame loop from frame1 keep checking in frame2?
  14. iostream71

    dynamic tinting help

    thanx. i was using it to tint the gradient of walls. just wanted to make one wall clip and change the hue and alpha of the color at the same time
  15. iostream71

    dynamic tinting help

    i was wondering if there's a way to change the tint and alpha of that tint for a clip....like when you click on color in properties, you can select a color and alpha that color up or down at the same time
  16. iostream71

    how to rotate and move with keyboard?

    i figured out what i needed to do: onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { this._rotation -= 2; } if (Key.isDown(Key.DOWN)) { x = Math.sin(_rotation*(Math.PI/180))*2; y = Math.cos(_rotation*(Math.PI/180))*2; this._x += x; this._y += y; } if (Key.isDown(Key.UP))...
  17. iostream71

    how to rotate and move with keyboard?

    there's a problem with that approach though. the person doesn't face the direction he's moving if i do that way
  18. iostream71

    how to rotate and move with keyboard?

    ok, but how do i get rid of the inertia?? this is code for a car, and i'm moving a person o_O
  19. iostream71

    how to rotate and move with keyboard?

    i know how to do the key press detection stuff. it's the math i don't know how to set. i found some code that i'm using, but there's inertia added that i don't want(want to stop on a dime, so to speak) this is in the clip i'm moving: onClipEvent (enterFrame) { _root.speed = speed; _root.mph...
  20. iostream71

    how to rotate and move with keyboard?

    oops...yeah, i have a clip with an object in it that i need to do that with :)

Part and Inventory Search

Back
Top