A Flash Developer Resource Site

Search:

Type: Posts; User: etcettra

Page 1 of 20 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    804

    sdf

    sdf
  2. Embed the swf in an .html document. (Ctrl+F12 to...

    Embed the swf in an .html document. (Ctrl+F12 to have MX create the .html for you).
  3. Replies
    4
    Views
    530

    What stoc told you to do changes the value of the...

    What stoc told you to do changes the value of the variable "random_angle".
  4. Thread: flash 5 AS

    by etcettra
    Replies
    3
    Views
    412

    Mind saying that again? In english this time...

    Mind saying that again? In english this time please.
  5. Replies
    2
    Views
    484

    onClipEvent (enterFrame) { for (j in...

    onClipEvent (enterFrame) {
    for (j in myArrayOfMCs)
    if (this.hitTest(myArrayOfMCs[j])) {
    Do stuff;
    }
    }
    }
  6. Replies
    4
    Views
    566

    Try: for (s=1;s

    Try:

    for (s=1;s<100;s++) {
    _root["clip"+s].gotoAndStop(_root["var"+s]);
    }
  7. Actualy there IS a syntax error in those lines. ...

    Actualy there IS a syntax error in those lines.

    var dx=this._x-_root["foot"+i"_mc"]._x;

    Should be:


    var dx=this._x-_root["foot"+i+"_mc"]._x;
    ^
  8. Replies
    1
    Views
    407

    n = "5"; trace(n+1); // output = 51 n =...

    n = "5";
    trace(n+1); // output = 51
    n = Number(n);
    trace(n+1); // output = 6
  9. Replies
    8
    Views
    497

    Is this what you're looking for? ...

    Is this what you're looking for?

    http://www.kirupa.com/developer/flash5/borderless.asp

    Im not really sure but that would be my guess.
  10. You might need to use / or probably you just need...

    You might need to use / or probably you just need to use \\ becasue \ is an escape character so it escapes the next character from it's normal meening (ie. \n inserts a line break), so \\ would give...
  11. Replies
    5
    Views
    604

    Just put the code I gave you in frame 1 of your...

    Just put the code I gave you in frame 1 of your movie and then put this in a button:

    on(release) {
    _root.out.text = _root.translate(_root.in.text);
    }
  12. I beleive it's: on (release) { fscommand...

    I beleive it's:

    on (release) {
    fscommand ("exec", "c:\path\to\exe\acrobat5.exe");
    }
  13. Replies
    2
    Views
    434

    In flash 5 buttons can't have instance names,...

    In flash 5 buttons can't have instance names, that's why you're getting the error.
  14. Replies
    2
    Views
    397

    Try this: myString =...

    Try this:

    myString = myString.split("\r").join("\n");

    That will replace every \r with \n.
  15. Replies
    1
    Views
    1,077

    In the last frame of your movie put: ...

    In the last frame of your movie put:

    getURL("www.mysite.com", "_self");
  16. Replies
    5
    Views
    604

    Heh, I thought this was kind of a neat idea, so I...

    Heh, I thought this was kind of a neat idea, so I came up with this:



    alphabet = {A:"4", B:"|3", C:"C", D:"|>", E:"3", F:"F", G:"G", H:"|-|", I:"I", J:"J", K:"|<", L:"1", M:"|\\/|", N:"|\\|",...
  17. Replies
    3
    Views
    587

    Well I'm not going to debug it, but I can give...

    Well I'm not going to debug it, but I can give you a much simpler way of replacing "*" with "&".

    trivia_rebuild = trivia_contents.split("*").join("&");
  18. In flash 5 buttons and text fields can't have...

    In flash 5 buttons and text fields can't have instance names.
  19. Thread: magic 8 Ball

    by etcettra
    Replies
    1
    Views
    688

    I can't make a finished product, but here's...

    I can't make a finished product, but here's something you can work with.

    In the _root:

    picNames = ["pic1.jpg", "pic2.jpg", "pic3.jpg" ...];

    In your button:


    on (release) {
  20. Replies
    6
    Views
    2,015

    on (release) { if (Key.isDown(192)) {...

    on (release) {
    if (Key.isDown(192)) {
    getURL("http://www.mysite.com/mypage.php", "_self");
    }
    }


    192 is the key code for the ` (backstick).
  21. If you set: gridvalue="a"; rowvalue="b"; ...

    If you set:

    gridvalue="a";
    rowvalue="b";
    columnvalue="a";
    location_id = gridvalue + rowvalue + columnvalue;

    than:

    location_id == "aba";
  22. Thread: getTimer ();

    by etcettra
    Replies
    2
    Views
    427

    Becasue you didn't tell it what to DO with the...

    Becasue you didn't tell it what to DO with the result from getTimer().

    Try:

    onClipEvent(enterFrame) {
    txtInstance.text = getTimer();
    }

    Change "txtInstance" to the instance name of your...
  23. Replies
    7
    Views
    622

    This should do what you want, unfortionately I...

    This should do what you want, unfortionately I don't have time to explain it though.



    onClipEvent (mouseMove) {
    _rotation = Math.atan2(_root._ymouse-_y, _root._xmouse-_x)/(Math.PI/180);...
  24. Replies
    6
    Views
    563

    This should work: on (press) {...

    This should work:

    on (press) {
    this[Selection.getFocus()] += this_variable;
    }
  25. Replies
    20
    Views
    1,029

    I don't know if Flash 5 has the option, I assumed...

    I don't know if Flash 5 has the option, I assumed you were using MX (this is the MX bord after all). The only work around I know of would be to create an empty movie that preloads your main one.
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