A Flash Developer Resource Site

Search:

Type: Posts; User: LayneSmith

Page 1 of 17 1 2 3 4

Search: Search took 0.05 seconds; generated 11 minute(s) ago.

  1. Replies
    1
    Views
    1,848

    Figured out that I need to link to my Class in...

    Figured out that I need to link to my Class in the properties panel.

    Also figured out that my Class needs to extend MovieClip.

    So the trace shows up fine now... moving on.

    Should this thread...
  2. Replies
    1
    Views
    1,848

    Trying to learn Classes

    So for 2012 I'm trying to work smarter by using Classes. I've used Flash before and usually just throw all my AS in the actions panel each time. I get that I'm missing out so I'm trying to learn...
  3. Replies
    0
    Views
    670

    Character weirdness on TextInput field

    Friends,

    I'm getting some weirdness on a textinput field.

    I'm using the _sans font and when I type in anybody's name and I make a mistake my delete/back space key doesn't work.

    Another...
  4. Replies
    1
    Views
    1,779

    Competing "Space" key control?

    Friends,

    I'm creating a little word game that includes a timer. Basically, you see how fast you can enter somebody's name.

    Here's my challenge. You hit the SPACE key to start and stop a timer....
  5. Replies
    3
    Views
    7,662

    MusicMan, You are absolutely right. Turns out...

    MusicMan,

    You are absolutely right. Turns out there were some bad returns in there that I couldn't see. I think my Dreamweaver settings were jacked and added ^Ms after every line.

    Thanks for...
  6. Replies
    3
    Views
    7,662

    A buddy discovered that if I added mysql_close();...

    A buddy discovered that if I added mysql_close(); after the echo call and before the exit call, he could get it to work. That fixed it up.
  7. Replies
    3
    Views
    7,662

    [RESOLVED] PHP Parse Error on Line 1?

    Friends,

    I'm getting a weird error. My code basically writes high scores to a MySQL database. It has worked for months. I created a new database just fine. But when I made an exact copy of my PHP...
  8. Replies
    7
    Views
    1,654

    Desperation! :) Definitely a coordinate...

    Desperation! :)

    Definitely a coordinate problem. I had to subtract the x, y of bmHolder from mouseX and mouseY.

    Works now.

    Thanks again!
  9. Replies
    7
    Views
    1,654

    In the function, I've tried... selectedColor...

    In the function, I've tried...

    selectedColor = bmHolder.bm.bitmapData.getPixel(mouseX, mouseY);

    and get an error...

    TypeError: Error #1010: A term is undefined and has no properties.
  10. Replies
    7
    Views
    1,654

    Okay, that works but now it only returns a value...

    Okay, that works but now it only returns a value of 0 any place I click on the colorWheel.

    /*-----------------------------------------------------------
    GET COLOR...
  11. Replies
    7
    Views
    1,654

    Thanks. I am able to sample the data manually but...

    Thanks. I am able to sample the data manually but I can't select it since a bitmap can't be a button, I don't think. My attempts at adding it to the bmHolder doesn't seem to get the color, the...
  12. Replies
    7
    Views
    1,654

    [RESOLVED] getPixel... again

    It seems like this has been covered in great detail but I'm still having a problem getting this to work.

    I'm basically loading an image that I want to sample colors from. Here's where I am so...
  13. Oh I was lazy long before Google! Thanks for...

    Oh I was lazy long before Google!

    Thanks for your help.
  14. Switch statement used with multiple values?

    I'm afraid I know the answer but I wanted to check first.

    I want to run a single function based on multiple values.

    switch (studentNumber)
    case 1,4,8 :
    trace("Good kids");
    ...
  15. Thanks again.

    Thanks again.
  16. [RESOLVED] Getting textInput from an added child

    Friends,

    So when you win my game I add a movieclip that will let you enter your name through a text input component. Unfortunately, I'm calling it wrong.

    I'm getting an undefined property error...
  17. Replies
    2
    Views
    1,780

    D'oh! Thanks.

    D'oh!

    Thanks.
  18. Replies
    2
    Views
    1,780

    [RESOLVED] More missing children...

    So I'm adding more children to the stage and trying to get them on top of some movieclips I'm creating dynamically and sticking to existing clips.

    So I'm able to create the clips just fine and...
  19. Replies
    6
    Views
    2,749

    5TonsOfFlax... still saving my bacon after all...

    5TonsOfFlax... still saving my bacon after all these years... thanks.
  20. Replies
    6
    Views
    2,749

    Same output in an IF statement, weird.

    Same output in an IF statement, weird.
  21. Replies
    6
    Views
    2,749

    That didn't seem to work. It's as if the...

    That didn't seem to work. It's as if the mainImageLoader disappears after it's left the switch statement...

    switch (clickNumber) {
    case 0 :
    var mainImageLoader:Loader = new Loader();
    ...
  22. Replies
    6
    Views
    2,749

    [RESOLVED] Another removeChild problem...

    Friends,

    This little bit of code is in a click event handler that among many other things is supposed to load and unload an image. Well, it loads the image just fine, but on the second click...
  23. Replies
    2
    Views
    6,283

    Simple form question

    I have a two drop down menus where you can select two different variables, type of fruit and a utensil. I would then like to take those variables and add them to a string for use as an URL. Here's...
  24. Replies
    1
    Views
    510

    Understanding the Date

    I'm a little slow on the uptake today and am having a hard time wrapping my head around the date. So I have a date for Feb. 6, 2011 at 5:30 p.m. like so...

    var myDate:Date=new...
  25. Replies
    8
    Views
    4,334

    At least it's moving and counting now. But the...

    At least it's moving and counting now. But the preloader stops when the file is loaded and there's a huge gap between when the file has finished loading and when the XML is actually displayed. I have...
Results 1 to 25 of 403
Page 1 of 17 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center