The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Search:

Type: Posts; User: cbeech; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. sure - you'll need to perform a conditional...

    sure - you'll need to perform a conditional statement to determine the action to take, for instance:

    if( textbox.text == "THIS EXACT TEXT" ) gotoAndStop( x );
    repeat for each condition

    if you...
  2. Replies
    2
    Views
    855

    1) you're close - but we can't apply the...

    1) you're close - but we can't apply the 'timeline version' of the on handlers in that manner, they must be assigned to a function, as in:

    this.onRollOver = function() { ... }

    2) well LOL not...
  3. wow - Legend King, you are in no position to be...

    wow - Legend King, you are in no position to be demanding anything, NO ONE here is under any obligation to you what-so-ever, for any snippet of code ever posted - right or wrong - i don't give a damn...
  4. [Flash] if the sound is placed on the timeline, it seems...

    if the sound is placed on the timeline, it seems as though it is set to "Event" - you will want to set it to "Stream" - do so by selecting it on the keyframe and using the combobox in the properties...
  5. Replies
    3
    Views
    584

    _root["mainMC"]["nestedMC"+i]._x += 2;

    _root["mainMC"]["nestedMC"+i]._x += 2;
  6. Replies
    9
    Views
    1,629

    i understand where you're trying to go, i've...

    i understand where you're trying to go, i've built similar systems for some path finding AI - i usually went with storing the intended target as being occupied by the caller at the time of the...
  7. Replies
    1
    Views
    1,030

    can you explain more about what you're trying to...

    can you explain more about what you're trying to accomplish?

    because a mouse event does behave in this manner - for instance:

    myObject.onRelease = function() {
    trace( "hit when clicked:...
  8. [Flash] well i certainly think you've got the right idea...

    well i certainly think you've got the right idea here - the only thing that you aren't doing is actually performing the check ;) so in each button listener add a call to the checkButtons() method
  9. Replies
    1
    Views
    1,415

    please show the code you're using to attach the...

    please show the code you're using to attach the other sound also
  10. Replies
    6
    Views
    1,095

    ok - so we cannot return 2 values from a single...

    ok - so we cannot return 2 values from a single method, only one - so you need to call the method twice comparing both maze objects to the character individually - since i can only assume from you...
  11. [Flash] interesting - well i think i may handle something...

    interesting - well i think i may handle something like this a bit differently - clearly we're missing some of the above element code (key), it looks like there are a whole host of properties being...
  12. Replies
    2
    Views
    1,381

    hmm - ayumilove is right - but it seems as though...

    hmm - ayumilove is right - but it seems as though the algorithm you have is not designed to convert a percentage to a decimal, but rather the reverse - additionally there is a simpler way:


    //in...
  13. Replies
    6
    Views
    1,095

    one cannot return 'two' values - you'll need to...

    one cannot return 'two' values - you'll need to make two calls from your condition, passing character and each of the mazes separately
  14. Replies
    2
    Views
    1,478

    might want to change the startDrag lock center...

    might want to change the startDrag lock center flag to a Boolean rather than a String (drop the quotes)
  15. Replies
    1
    Views
    1,052

    seems like this can be done in AIR - here's...

    seems like this can be done in AIR - here's something interesting:
    http://www.joristimmerman.be/wordpress/2009/03/03/screenmanager-expand-your-air-application/
  16. Replies
    7
    Views
    900

    hmmm - well yeah, not too great to do this within...

    hmmm - well yeah, not too great to do this within the on handler of your button instance - mainly because when we declare variables within the body of a block like in the above, they are 'local' to...
  17. Replies
    5
    Views
    1,070

    [Flash] cool - well that should be the correct call - but...

    cool - well that should be the correct call - but it may be that it's getting called too often or that the path is incorrect from wherever the code is located - difficult to tell
  18. Replies
    6
    Views
    992

    yeah - if it's a 'stage' object that wont do it -...

    yeah - if it's a 'stage' object that wont do it - try:

    MovieClip(parent).gotoAndStop("gameover");
  19. Replies
    1
    Views
    685

    try searching this forum or google - there's only...

    try searching this forum or google - there's only about a few thousand examples already posted
  20. Replies
    6
    Views
    992

    is 'currentStage' a MovieClip? you also may need...

    is 'currentStage' a MovieClip? you also may need to 'cast' it, as in:

    MovieClip(currentStage).gotoAndStop( "gameover" );
  21. Replies
    7
    Views
    900

    yes - you can use the _currentFrame property of a...

    yes - you can use the _currentFrame property of a clip to read the current frame number, as in:

    if( About_mc._currentFrame == 50 ) ...

    you could try tracing the clips to see if you are...
  22. Replies
    7
    Views
    900

    yes - you can use: gotoAndPlay(51); in place of...

    yes - you can use: gotoAndPlay(51); in place of play()

    however, the play() method simply 'starts' the playhead moving from its current location, so if it's already at frame 50 where it had...
  23. Replies
    4
    Views
    1,399

    [Flash] "localization": often people say one thing a mean...

    "localization": often people say one thing a mean another ;)

    perhaps this can help - pretty sure there are other parsing Classes as well:...
  24. Replies
    5
    Views
    1,070

    [Flash] ok - so the first issue is that your maze...

    ok - so the first issue is that your maze hallways are inconsistent widths and walls are very thin, this makes performing your check difficult, but additionally there are many hallways where the...
  25. Replies
    4
    Views
    1,399

    [Flash] can you explain what you mean by "localization" ...

    can you explain what you mean by "localization"

    what exactly are you trying to accomplish?
Results 1 to 25 of 150
Page 1 of 6 1 2 3 4

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012