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 Mike Lewis 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: *

  • Users: XLax
  • Order by date
  1. XLax

    Scaling Dynamic Text?

    I don't actually have a flash file with this situation, but if I knew how to do it it would certainly broaden my flash abilities _____ Alex
  2. XLax

    Scaling Dynamic Text?

    Would this work if the text was under a mask layer or had _alpha properties? _____ Alex
  3. XLax

    Scaling Dynamic Text?

    Alex is stumped and has been for a long long time about this _____ Alex
  4. XLax

    Scaling Dynamic Text?

    Is it possible to change other properties of a text field such as _alpha and _rotation using this script or a similar script? _____ Alex
  5. XLax

    Changing the depth

    I actually considered writing that nearly exact same script. Unfortunately I realised that my movie clips were all differently named. I'd have to make 'i' detect a variable in an array to be the name of the next clip to be tested and it would get too confusing and complicated lol _____ Alex
  6. XLax

    Changing the depth

    As long as it's working now I'm happy as... a leprechaun? (i unno) Finished script placed on the movie clip containing the clips that change in depth: onClipEvent (enterFrame) { movieClip1.swapDepths(movieClip1.Z); movieClip2.swapDepths(movieClip2.Z)...
  7. XLax

    Changing the depth

    I tried that way and it seems to not work too well. The clips kept flashing. I suppose I could've make it set a variable right after the swap so that it doesn't swap back but I only thought of that after I tried this: onClipEvent (enterFrame) { movieClip1.swapDepths(movieClip1.Z)...
  8. XLax

    Changing the depth

    What do I do.. onClipEvent(enterFrame){ swapDepth(Z); } (where Z is my depth variable) Like that? _____ Alex
  9. XLax

    Changing the depth

    Okay fine. It's done _____ Alex
  10. XLax

    Changing the depth

    I want three movie clips with variable Z in them to change depths according to their Z value. IOW: the one with the highest z would go in front, lowest would go behind them. How do I do this? Alex - Kawamoto fan
  11. XLax

    editing image in library

    What version of Flash are you using? It wont let me open it with MX Alex - Kawamoto fan
  12. XLax

    Text Area overflow problems

    Doesn't look like there's a problem on firefox, maybe it's just on IE Alex - Kawamoto fan
  13. XLax

    Collision within movie clip

    There. Alex - Kawamoto fan
  14. XLax

    Collision within movie clip

    Woot! (check out my signature)
  15. XLax

    Collision within movie clip

    Seems my action script skills are rusty... I used to know how to use arrays in functions Can you remind me how to use an array in a hit test function? (I wish I had a more up to date flash but I can't offord it lol)
  16. XLax

    Collision within movie clip

    I see what you mean and I will try it I beleive that you've inspired me to use hitTest in a completely different way for some things i've been trying to do. Do you think you could explain how I'd use the array though?
  17. XLax

    Collision within movie clip

    Diagram: // on stage: BOX MOVIE CLIP WITH CIRCLE IN IT // How would I write a script to see if the box and circle collide? (If possible, using shape flag)
  18. XLax

    "random" homepage...?

    This can also work using this script: //first frame gotoAndStop(random(s)+1); // Just replace s with the number of frames you want it to chose from
  19. XLax

    _name of hitTest() clips

    Totally works.
  20. XLax

    _name of hitTest() clips

    Oh one more thing // function detectCollision(what) { for (var s in this) { if (typeof (this[s]) == "movieclip") { if (s != what) { if (this[s]._x>what._x-50) { if (this[s]._x<what._x+50) { if (this[s]._y>what._y-50) { if (this[s]._y<what._y+50) { trace(s+" is...

Part and Inventory Search

Back
Top