A Flash Developer Resource Site

Search:

Type: Posts; User: martiansam

Page 1 of 10 1 2 3 4

Search: Search took 0.10 seconds.

  1. var tempObj:Object = new Object(); var...

    var tempObj:Object = new Object();

    var a1:Object = new Object();
    a1.piece = "wr1_txt";
    tempObj.xLoc = -3;
    tempObj.yLoc = 347;
    a1.pieceLoc = tempObj;

    var b1:Object = new Object();
    b1.piece...
  2. Just remove the on(release) and keep the getURL....

    Just remove the on(release) and keep the getURL. Try.
  3. Replies
    11
    Views
    7,575

    That explains.

    That explains.
  4. Replies
    11
    Views
    7,575

    Hey aditya, Can you tell what answer do you...

    Hey aditya,

    Can you tell what answer do you get when you divide 82 by 4?
  5. Replies
    11
    Views
    7,575

    var int_val:Number = 81; trace((int_val/2)); //...

    var int_val:Number = 81;
    trace((int_val/2)); // 40.5

    trace(81/2); //40.5



    What are you talking about Adit?
  6. Replies
    3
    Views
    2,227

    PROJECT Sent you a message. Please get back.

    Sent you a message. Please get back.
  7. Replies
    2
    Views
    2,947

    You need to look into the moveTo() and...

    You need to look into the

    moveTo() and lineTo() functions and that would be a good start for you.
  8. Replies
    2
    Views
    1,550

    Try: var MMES:MMESCommon = new MMESCommon() ;...

    Try:

    var MMES:MMESCommon = new MMESCommon() ;
    MMES.LetterScore(95) ;

    Actually will have to see your class structure to debug it. Alternatively, you can make it a static class if that works for...
  9. You have a point there 5Tons. Also, my attempt...

    You have a point there 5Tons. Also, my attempt was only to clear this doubt above.

    Furthermore, the 'this' in this code worked for him and was a way to show him the difference why it would work...
  10. This is what i usually follow while coding and...

    This is what i usually follow while coding and make the movieclip structure accordingly. This helps me in loading and managing external files as well.

    1) each swf will have one frame having a main...
  11. The following would have worked. function...

    The following would have worked.



    function onKeyPress(e:KeyboardEvent):void{
    // THROW BOMB UPON PRESSING SPACE BAR
    if (e.keyCode == Keyboard.SPACE) {
    for (var i:int = 0; i <...
  12. Replies
    2
    Views
    853

    Try var xpos:Number = Math.random() * 500;...

    Try



    var xpos:Number = Math.random() * 500;

    trace (xpos);

    var mymc:MovieClip = this.parent as MovieClip
    mymc.x = xpos;
  13. I really cant answer that question. I can only...

    I really cant answer that question. I can only make assumption that maybe the new player makes sure that all the objects on the frame are loaded and 'available' before sending the completion call or...
  14. Make sure that the movieclip is available when...

    Make sure that the movieclip is available when you call the getChildByName method.

    The fact that it returns the movieclip reference if u add a delay suggest that the method getChildByName is...
  15. Replies
    1
    Views
    1,151

    Did you try navigateToURL()

    Did you try navigateToURL()
  16. Check for condition

    function validateZipCode(zipString:String):Boolean {

    var myRegEx:RegExp= /^([0-9]{5}(?:-[0-9]{4})?)*$/;
    var myResult:Object = myRegEx.exec(zipString);

    if(myResult == null || zipString == "" ||...
  17. I have attached the updated .fla Had to change...

    I have attached the updated .fla

    Had to change your symbol so that registration is from 0 for x (since we are moving horizontally).

    The code change was as given below:



    var myShape:Shape...
  18. Replies
    5
    Views
    2,107

    Incomplete tweens causes this

    Good that you have resolved this issue. However, just for the sake of information, this issue is caused when we have multiple tweens epecially when we trigger a new tween object before the last one...
  19. Replies
    3
    Views
    3,834

    Zoom from center of stage

    Hi guys,

    I know this question has been asked a million times now but even after searching through scores of pages, I have not been able to get an answer for my problem.

    I have a big movieClip...
  20. Optimize your shapes

    I remember facing a similar problem in recent past. All I had done was convert the lines to fill using the option Modify->Shapes->Convert Lines to Fills.

    That had solved my problem. Worth a try!
  21. Replies
    2
    Views
    380

    Post the FLA

    If you have not solved it yet, I would like to have a look at your FLA.
  22. Unwanted lines left behind on stage after animation completed

    HI

    I am working on an intro animation in which different buttons increase in size and then decrease back to original size. The problem is that when the button increases and then decrease back......
  23. Replies
    1
    Views
    504

    bump

    bump
  24. Replies
    1
    Views
    504

    How do I disable copying text

    HI,

    I am using Flash MX 2004 Professional edition.

    I have a scenario where the user types in a few words or sentences and needs to repeat the same text within the same input text field before...
  25. Replies
    1
    Views
    722

    I am facing a similar problem right now

    Did you find the solution?
Results 1 to 25 of 240
Page 1 of 10 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center