A Flash Developer Resource Site

Search:

Type: Posts; User: lash

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. hard to say but it might be because you place the...

    hard to say but it might be because you place the new picture/movieclip on top of your movieclip with your button-eventhandler. If you post your code I'll take a look at it.
  2. I can help you, but not within the next few days....

    I can help you, but not within the next few days.

    PS. I do speak danish
  3. sure! the easy way would be creating 24...

    sure! the easy way would be creating 24 movieclips and placing your picture within those mc's. Then export these movieclips in your properties dialog (rigthclick on your mc in the library) with...
  4. This code should work by default, but you'll of...

    This code should work by default, but you'll of course have to adopt it to your own file and movieclips.

    date_door_mc reefers to a moviclip with a dooranimation within and a stop action in first...
  5. This is because the code in the thread is written...

    This is because the code in the thread is written using AS2 and you are trying to adding AS3 code to this and exporting the code as such. If you want to use the this code, you'll have to use AS2 and...
  6. This said it depends on when you want the...

    This said it depends on when you want the function triggered? On door click? Place it within this function, but keep in mind that this is a loop, where the doors are generated dynamically wich means...
  7. Replies
    6
    Views
    4,304

    I'll keep that in mind. Thank you for taking...

    I'll keep that in mind.

    Thank you for taking the time to help:)
  8. Replies
    6
    Views
    4,304

    Thanks, that's exactly what I'm looking for:)....

    Thanks, that's exactly what I'm looking for:). Apparently the Textfield class is more advanced than I thought!


    var position:Rectangle =...
  9. Replies
    6
    Views
    4,304

    Thanks, but this is not exactly what I'm looking...

    Thanks, but this is not exactly what I'm looking for. This only returns at what character-index the cursor is placed. What I need is more like a x and y value of the cursors current position. Not...
  10. Replies
    6
    Views
    4,304

    Returning position of cursor in textfield

    Hi guys

    Does anyone know of a way to return the position of the cursor in a input textfield? Can it be done at all? More specifically I need to know the y-value of the cursor somehow.

    Have...
  11. I solved it! It's not pretty though, but it...

    I solved it!

    It's not pretty though, but it works. I retrieved the text from the last line in my textfield, and put it into an invisible one-line textfield with autosize and returned the length of...
  12. Retrieving length of specific line in textfield

    Hi all

    Does anyone know a way, to return the length, preferably in pixels, of a specific line in a multiline textfield. In this case, I need to know the length of the last line.

    Thanks in...
  13. Replies
    2
    Views
    4,609

    Thanks! Ended up using this though: var...

    Thanks!

    Ended up using this though:


    var tempDate:Date = new Date();
    var newDate:Date = new Date(tempDate.getFullYear(), tempDate.getMonth() + 1, 0);

    return newDate.getDate()
  14. Replies
    2
    Views
    4,609

    Number of days in given month

    Hi

    Does anyone know a way to return the number of days in a given month?

    Thanks
  15. Replies
    0
    Views
    1,398

    Textfield select text on focus

    Hi All

    How do I select all text in a textinput textfield on focus? I thought it would be something like this, but I just can't seem to get it to work!

    ...
  16. Replies
    2
    Views
    540

    I've actually solved it with a solution quite...

    I've actually solved it with a solution quite similar to what you suggest above, but I'll definitely bookmark your image-class :-)

    Thanks!
  17. Replies
    2
    Views
    540

    Reusing loader object

    Hi there

    I am having some troubles with adding the same Loading object to the stage more than just one time. I am working on a project, where I need to use the same image several times at once. No...
  18. Replies
    15
    Views
    1,027

    Thanks, I noticed that later :-) jweeks123-> I...

    Thanks, I noticed that later :-)

    jweeks123-> I actually solved it, and you weren't totally off!

    Notice, that this class is used in another context than the previous. This is loading a queue of...
  19. Replies
    15
    Views
    1,027

    Glad to hear that we're actually both benefiting...

    Glad to hear that we're actually both benefiting from this.

    I tried what you suggested, but still only get

    [Event type="onFormSubmit" bubbles=false cancelable=false eventPhase=2]

    Thought...
  20. Replies
    15
    Views
    1,027

    One last question though: What if I wanted to...

    One last question though:

    What if I wanted to add a few arguments, when I dispatch this event? Thought it would something like


    package
    {
    import flash.events.Event;

    public class...
  21. Replies
    15
    Views
    1,027

    That makes perfect sense. Again thanks a lot....

    That makes perfect sense.

    Again thanks a lot. You've have just made it all much more clear to me.

    Thanks.
  22. Replies
    15
    Views
    1,027

    That's exactly what I need! Thanks a lot. ...

    That's exactly what I need! Thanks a lot.

    Could you perhaps just explain, what I did wrong? I noticed, that you have moved the dispatchEvent ..
  23. Replies
    15
    Views
    1,027

    That would be a big help, since I've been sending...

    That would be a big help, since I've been sending a lot of time now figuring out how this works. A working example would really explain a lot :-)

    Thanks a lot

    I've uploaded the files at...
  24. Replies
    15
    Views
    1,027

    hmm .. doesn't seem to have any effect :-(

    hmm .. doesn't seem to have any effect :-(
  25. Replies
    15
    Views
    1,027

    Custom eventhandler giving more headaches

    Hi all

    I'm having huge difficulties getting my custom eventhandler to work. For some reason my eventhandler doesn't get triggered. My eventhandler should get triggered, when my form is submitted....
Results 1 to 25 of 228
Page 1 of 10 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center