dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: calmchess

Page 1 of 20 1 2 3 4

Search: Search took 1.77 seconds.

  1. Replies
    9
    Views
    1,590

    I just stuff refrences to the movie clip in an...

    I just stuff refrences to the movie clip in an array using a for loop ant the Array.push(mc) during the loops iteration you could attach a eventlistner that changes to whatever function u want that...
  2. Replies
    2
    Views
    973

    I just found the solution typeof() thanks for...

    I just found the solution typeof() thanks for taking the time to read this

    --calmchess
  3. Replies
    2
    Views
    973

    array vs. string question

    Hi I have a parameter to a function that can either be an array or it can be a string. How do I write an if statement that will do 1 thing if its an array and another if its a string? And yes it has...
  4. This isn't the most elegant solution but one that...

    This isn't the most elegant solution but one that works for me and it gets the first property of the object which is ok for me either first or last will work. Please comment if you know a better way...
  5. iterate over object but only return last property

    Hi, I have a small problem I need to iterate over an object and return the last property so that flash media server can use its call function on just the last property of this user object. How do i...
  6. Replies
    1
    Views
    838

    //create class level or variable outside click...

    //create class level or variable outside click function called toggle0:int=0;
    btn0.addEventListener(MouseEvent.CLICK,btnClick,false,0,true);
    fuinction btnClick(e:MouseEvent):void{
    if(toggle0==0){...
  7. Replies
    2
    Views
    880

    probably because the PHP isn't running correctly...

    probably because the PHP isn't running correctly also you should use a cache buster on the path to the php file...."save_xml.php?cachebster="new Date().time; so if you run the php file in the browser...
  8. If i remember correctly you need to add event...

    If i remember correctly you need to add event handlers every time the frame changes. I suspect you aren't using oop programming and are doing frame by frame animited game. just duplicate your code...
  9. just remove your eventListeners just before it...

    just remove your eventListeners just before it switches to the next level and then readd them to the new level's code
  10. Replies
    1
    Views
    802

    I personally create a map and create dynamic...

    I personally create a map and create dynamic variables or push all values into an array like this



    var0="value1";
    var1="value2";
    arr0:Array=[var0,var1];
    for(var i:int=0;i<2;i++){...
  11. difficult to say. since I can't see any of your...

    difficult to say. since I can't see any of your code here is a link that saves a jpeg using PHP you could definately change size using PHP. I personally use ffmpeg to convert my stuff.
    ...
  12. well if you like playing a two player game by...

    well if you like playing a two player game by yourself or with two people at the same computer. just use and if statement on your function calls something like.



    if(player==1){...
  13. Look up addChild and removeChild in the live...

    Look up addChild and removeChild in the live docs....it allows you to add and remove items from the stage



    openbtn0.addEventListener(MouseEvent.CLICK, openfunction, false, 0 , true);...
  14. Replies
    1
    Views
    845

    I thought of the problem. I wasn't re adding the...

    I thought of the problem. I wasn't re adding the new sprite container to the display list in onLoaderReady2 after previously removing it and making it null.
  15. Replies
    1
    Views
    845

    reuse sprite container for new image?

    I've loaded some images with loader objects and pushed them into an array for refrence and now I am removing an image from a sprite container with remove child but when I try to reuse the sprite...
  16. You will have to use a media server either flash...

    You will have to use a media server either flash media server , Wowza , or red5 so you can communicate between client applications

    --calmchess
  17. Replies
    2
    Views
    1,081

    Thanks I solved the problem by not using a sprite...

    Thanks I solved the problem by not using a sprite although I'll take a look at what you did when I have time. Thanks

    --calmchess
  18. Replies
    2
    Views
    1,081

    change color of empty sprite

    I'm trying to change the background color of a sprite but the sprite doesn't even seem to be added to the stage. the below code doesn't throw any errors but the empty sprite doesn't change...
  19. Replies
    2
    Views
    1,538

    well Flash Media Server 4.5 is what you need or...

    well Flash Media Server 4.5 is what you need or Red5 or WoWza media servers are available if you are comfortable with using eclipse to write server side java code Flash Media server uses...
  20. Replies
    1
    Views
    543

    did you tell the .swf embed code in the html to...

    did you tell the .swf embed code in the html to allow fullscreen? you must also test in the browser there is information about this on google and should not be hard to find now that you know what...
  21. well tell DNS to use both http://www and http://...

    well tell DNS to use both http://www and http:// another thing you could do is tell the loader to try www if it fails on http:// its an IO error I think there is a eventlistener to allow you to...
  22. Replies
    3
    Views
    3,385

    oops sorry i just read the title.

    oops sorry i just read the title.
  23. Replies
    3
    Views
    3,385

    this is more complex than you think......look for...

    this is more complex than you think......look for "accurate time keeper" on the internet last time I looked http://www.computus.org/journal/?p=22 this isn't exactly a countdown timer but if you get...
  24. Replies
    6
    Views
    1,994

    Thats because there isn't one. The best I've ever...

    Thats because there isn't one. The best I've ever created is an activity meter. Search on!
  25. Replies
    6
    Views
    1,994

    well here you go. Here is everything you can do...

    well here you go. Here is everything you can do with microphone.

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Microphone.html
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center