A Flash Developer Resource Site

Search:

Type: Posts; User: testedge

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    380

    put a "ball" mc on the stage. for (i =...

    put a "ball" mc on the stage.




    for (i = 0; i < 10; i++) {
    ball.duplicateMovieClip("ball" + i, i);
    _root["ball"+i]._x = i * 25;
    _root["ball"+i]._y = 10 * i;
    _root["ball"+i]._alpha =...
  2. Thread: loadVars()

    by testedge
    Replies
    4
    Views
    387

    http://www.macromedia.com/support/flash/ts/documen...

    http://www.macromedia.com/support/flash/ts/documents/dynamic_text_scrollmx.htm
  3. Thread: loadVars()

    by testedge
    Replies
    4
    Views
    387

    ... because .load doesn't happen instantly since...

    ... because .load doesn't happen instantly since it is calling the server.

    You need to use onLoad() { if (success) ...

    onLoad will wait until your data loads.

    Mark
  4. Replies
    1
    Views
    407

    Newbie myself but I'm thinking you could just do...

    Newbie myself but I'm thinking you could just do

    geturl("counter.pl",_self);

    and then in your flash have a dynamic text field countnew (or is it $countnew?);

    Worth a shot,

    Mark
  5. Replies
    2
    Views
    365

    Thanks pellepiano but I tried that. Then I can...

    Thanks pellepiano but I tried that. Then I can see swf1 below swf2 and it looks bad.

    Plus the problem still remains - no dynamic text in swf2.

    I'm thinking my problem is this:

    In swf2 I am...
  6. Replies
    2
    Views
    365

    loadmovienum problem in changing movies

    I have two swf's: swf1 and swf2.

    I tried

    loadmovienum("swf2.swf",0);

    to change from swf1 to swf2 when button is clicked.

    It works fine in preview when I do control -> test movie.
  7. Replies
    1
    Views
    402

    loadmovie num cont.

    Is it useful to do a loadmovienum("mymovie.swf",1) to load a movie into a template sitting in root?



    Next: Can I interact with mymovie.swf from (a button in) _root? How?

    Finally: Is...
  8. Replies
    1
    Views
    402

    comparing loadmovie vs loadmovienum

    Should these be the same?


    loadmovienum("tween.swf",1);

    and

    _level1.loadMovie ("tween.swf");
  9. Replies
    1
    Views
    440

    No expert here but ... I would suggest...

    No expert here but ...

    I would suggest breaking down your problem further.

    Test the checkForm in isolation;

    Test the sendForm in isolation;

    Then you will know which part is giving you...
  10. If you want a textfied in your dupe, just code it...

    If you want a textfied in your dupe, just code it into the dupe directly.

    _root.clip2.createTextField("TF", 3, 10, 10, 100, 100);

    Don't code the text field into the original MC and then try to...
  11. The duplicateMovieClip is redundant here. If you...

    The duplicateMovieClip is redundant here. If you want to copy the MC, you need to use createEmptyMovieClip again - in a loop, if many are needed.

    duplicateMovieClip copies what is on the stage...
  12. In need of one of the heavyweights ... Mark

    In need of one of the heavyweights ...

    Mark
  13. Beats me ... anyone know? The line is duped but...

    Beats me ... anyone know? The line is duped but the text not.



    createEmptyMovieClip("clip1", 0);
    clip1.lineStyle(1, 0x4E0053, 100);
    clip1.lineTo(10, 10);
    clip1.createTextField("TF", 2,...
  14. Replies
    28
    Views
    2,865

    My eyes must be diabolical. Or my Flash skills. ...

    My eyes must be diabolical. Or my Flash skills.

    Thanks for correcting it,

    Mark
  15. Replies
    28
    Views
    2,865

    Antibody, The onrollover works, but not the...

    Antibody,

    The onrollover works, but not the onrollout (below). I cannot fix it no matter what.

    forward.onRollOut = function (){
    root.reverseMe (_root.scroller, "stop");
    };

    If I say this...
  16. Replies
    28
    Views
    2,865

    Tyard et al., I thought the code you posted...

    Tyard et al.,

    I thought the code you posted could go inside the movie clip to improve it: So I stuck the button ("forward") in the clip on its own layer and put this in frame 1 of scroller



    ...
  17. Replies
    28
    Views
    2,865

    Took me till now to spot the difference. Clue...

    Took me till now to spot the difference.

    Clue - it's just one "_" for all the others with bandy eyes like me,

    Mark
  18. Replies
    28
    Views
    2,865

    Works like a charm. I like this way better...

    Works like a charm.

    I like this way better since the actions are all in one place. And, you don't need no superfluous mt clip.

    Thanks a mill, Tyard.

    Mark
  19. Replies
    28
    Views
    2,865

    Tyard et al., Thanks for the post - but now I...

    Tyard et al.,

    Thanks for the post - but now I can't get it to work.

    I pasted all your code above in frame 1 of root.

    I have scroller mc with its tween animation.

    I got rid of the mt clip.
  20. Replies
    28
    Views
    2,865

    Great! post Antibody, thanks, alot. Just one...

    Great! post Antibody, thanks, alot.

    Just one thing I'd like help with. This part:


    onClipEvent (load) {
    stop();
    }

    ... which is attatched to the scroller.
  21. Replies
    5
    Views
    567

    Deniel, You could use Flash MX's equivalent of...

    Deniel,

    You could use Flash MX's equivalent of a cookie:

    http://www.actionscript.org/tutorials/intermediate/SharedObjects/index.shtml

    Mark
  22. Replies
    3
    Views
    496

    Thanks for a most illuminating and helpful post,...

    Thanks for a most illuminating and helpful post, Mirandir.

    That depth/level had been confusing to me for ions,

    Mark
  23. Replies
    0
    Views
    303

    1) sf = new FStyleFormat(); sf.face =...

    1)

    sf = new FStyleFormat();
    sf.face = 0x00ff00;
    sf.addListener(componentName);

    2)

    componentName.setStyleProperty("face", 0x00ff00);
  24. _root.createTextField("myTextField", 1, 0, 0,...

    _root.createTextField("myTextField", 1, 0, 0, 100, 200);
    myTextField.wordWrap = true;
    for (i=1; i<=50; ++i) {
    myTextField.text += i+". Some more text, ";
    }
    myScrollBar._x = myTextField._width;...
  25. Replies
    7
    Views
    527

    I think below's what you want, MM ...

    I think below's what you want,

    MM



    function createLabels(labels, startX, startY, fieldWidth, fieldHeight, verticalY) {
    var level = 3;
    for (i = 0; i < labels.length; i++) {
    verticalY1...
Results 1 to 25 of 27
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center