A Flash Developer Resource Site

Search:

Type: Posts; User: Scott Productio

Search: Search took 0.03 seconds.

  1. Recording Microphone Audio, then Playing it Back At Will

    I need to be able to record audio then play it back whenever I want. I understand you use ByteArrays to do this, but I can't figure out how to make it work. I followed the official literature from...
  2. Replies
    12
    Views
    4,238

    Alrighty, attached my .fla so far. Actions are in...

    Alrighty, attached my .fla so far. Actions are in the last Scene, first frame.

    https://dl.dropboxusercontent.com/u/32516939/Testing.fla
  3. Replies
    12
    Views
    4,238

    Oh, I'm dumb. So it works perfectly in your...

    Oh, I'm dumb.

    So it works perfectly in your document, but when I copy and paste your exact code and named Dynamic Textboxes, the text displays but the images no longer appear. I have imported both...
  4. Replies
    12
    Views
    4,238

    Hey this is all I see....

    Hey this is all I see. http://i.imgur.com/93Olnx6.jpg

    What could be causing a difference between your end and mine? I'm using Flash CS6.
  5. Replies
    12
    Views
    4,238

    Hey I downloaded your file but when I test the...

    Hey I downloaded your file but when I test the movie there are no actual images displayed, except on the very last line where a box is displayed. Can't replicate it because it's not displaying for me
  6. Replies
    12
    Views
    4,238

    So this method is definitely more confusing than...

    So this method is definitely more confusing than simply say, using an <img> tag. But, it seems do-able! My last question is, can I use htmlText with these spanElements? As, where it says...
  7. Replies
    12
    Views
    4,238

    Attaching emoticons to dynamic text?

    Hey guys, I am clueless about how to even go about attempting this. I have a combat log for a game, and I want various damage element types to be preceded by a small icon representing the type before...
  8. Replies
    4
    Views
    2,225

    Nevermind, I am a complete idiot. I forgot I had...

    Nevermind, I am a complete idiot. I forgot I had another scene which it was looping back to and resetting all my variables again.
  9. Replies
    4
    Views
    2,225

    I understand the use of the Timer class, but I...

    I understand the use of the Timer class, but I really wanted to know why my code is just alternating the "counter" variable from 1 and 2, therefore causing the rest of the function to fail, mostly...
  10. Replies
    4
    Views
    2,225

    Extremely simple timer question

    Hello, I haven't coded in literally 9 years so bear with me on the stupidity. I was used to AS2 as well so this is entirely new for me. I'm just teaching myself again and trying to make a simple...
  11. Most Efficient form of Displaying Gradients

    I have a bullet MC that is relatively high quality, with gradient lighting effects attached to it. This bullet is fired many times per second, but I've noticed frame rates tend to drop a little too...
  12. Flash8 Simple .onLoad = function question

    I can't figure out why this is not working.



    i++;
    var spawn:MovieClip = this.attachMovie("FootUnit", "targ"+i, i, {_x:random(1000), _y:random(1000)});
    spawn.onLoad = function() {...
  13. I can't think of any actual code that would...

    I can't think of any actual code that would permit that but you could always have the text be inside a movie clip with two frames; one with editable text box and the other with the same box just...
  14. [F8] Is It Possible to Check Internet Cache?

    This is way out there and I'm sure it's only possible to a limited extent, but is there a way to check temporary internet files and see if the exist?

    I'm trying to pull a "Psycho Mantis" from the...
  15. Yes ash, you would just use on(release) {...

    Yes ash, you would just use



    on(release) {
    _root.mcName.gotoAndPlay(frame);
    }
  16. Oh wow I thought labels were scene specific,...

    Oh wow I thought labels were scene specific, thanks a lot :)
  17. I absolutely would have done that except certain...

    I absolutely would have done that except certain circumstances are preventing me from doing so, I'm sort of stuck with scenes unless I re-arrange my entire game.
  18. [F8] Changing Scenes from Within a MC

    This is some script on a movieclip.



    onClipEvent (enterFrame) {
    if (this.hppercent<=0) {
    trace("dead");
    _level0.gotoAndPlay("death", 1);
    }
    }
  19. I'm sure theres a better way of doing it but you...

    I'm sure theres a better way of doing it but you can do:



    number = min+random(max-min);


    For example, if you want a number between 11 and 66 you would do:
Results 1 to 19 of 19




Click Here to Expand Forum to Full Width

HTML5 Development Center