dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Leo Lima

Page 1 of 20 1 2 3 4

Search: Search took 0.62 seconds.

  1. Pretend your mask is _root.mask and your border...

    Pretend your mask is _root.mask and your border is _root.border;
    Put the following code in the border:


    onClipEvent (enterFrame) {
    _root.border._x = _root.mask._x;
    _root.border._y =...
  2. Replies
    7
    Views
    656

    Well, I guess you can do search and replace in...

    Well, I guess you can do search and replace in Flash 5, but still if you're going to create a 'new' language from scratch, I'd recommend you read some books about compilers and do it in a more...
  3. Replies
    3
    Views
    420

    Try:...

    Try:
    http://www.asp.net/webmatrix/default.aspx?tabIndex=4&tabId=46
    ASP.NET Web Matrix is now available as a free download for Windows 2000 and Windows XP
    You can make your own ASP server using IIS...
  4. Replies
    4
    Views
    615

    You did make it, right? I didn't understand if...

    You did make it, right? I didn't understand if you got the 7:04 working or not...
  5. Replies
    2
    Views
    323

    You could try adding this to your MC: ...

    You could try adding this to your MC:

    onClipEvent (enterFrame) {
    this.prevX = this.nowX;
    this.nowX = this._x;
    trace("_x was " + this.prevX + " and now is " + this.nowX);
    }

    Then, you...
  6. Replies
    3
    Views
    685

    Could you please post a sample .fla? That that...

    Could you please post a sample .fla?
    That that you say can be done in soooo many ways that I might tell you something really different.
    Plus, in this forum, we can work until sending the data to...
  7. Replies
    4
    Views
    615

    That doesn't look military to me. Military has no...

    That doesn't look military to me. Military has no :. If you say you want Am/Pm instead of 24h, then you add these lines before the last one:

    if (hr < 12) {
    mnt += "AM";
    } else {
    if (hr > 12) {...
  8. Replies
    32
    Views
    212,543

    Sticky: Might I complain that people almost NEVER post...

    Might I complain that people almost NEVER post the AS version of theirs?
    I mean, there's a LOT of difference between AS0.5 (Before the . notation, I guess it was Flash <= 4.. oh, that TellTargets!),...
  9. It is possible. Just make the equation for your...

    It is possible.
    Just make the equation for your curve and make it a function on x (pretty much like the curve equation itself).
    A sample (MX2k4) is attached.

    Leo.
  10. Replies
    3
    Views
    296

    Well, I'd do a movieclip that behaves as a...

    Well, I'd do a movieclip that behaves as a button.
    Something like attached (assuming you're only using up/over/down states)
    That works for MX+.

    Plus, double-posting won't do any help. Just post...
  11. Replies
    10
    Views
    848

    You must place the .php inside a server,...

    You must place the .php inside a server, localhost if you must. You need to have it processed by the php engine. If you just put it under the same folder (outside a server) it'll do no good at all....
  12. Replies
    2
    Views
    450

    You're starting one variable with a number. Don't...

    You're starting one variable with a number. Don't do that.That's your problem. _root.1is.text is wrong.
  13. Replies
    3
    Views
    508

    Sorry, I never used...

    Sorry, I never used NetServices.setDefaultGatewayUrl. I'm only able to help in AS1/MX. If you just wanna get to PHP, you can check http://www.flashkit.com/board/showthread.php?threadid=622057
    as...
  14. Replies
    10
    Views
    848

    Well, let's explain by parts. In URLs, anything...

    Well, let's explain by parts.
    In URLs, anything after the ? is variables, passed to the page, using the GET method (you could use POST, but it's more complicated). If you check on your navbar, when...
  15. You're welcome :D Glad to see that worked.

    You're welcome :D

    Glad to see that worked.
  16. Replies
    3
    Views
    508

    I dunno how you're planning to talk to your php....

    I dunno how you're planning to talk to your php.
    If the .php is going to be backend only, you only need loadVariables (from 4+) or LoadVars (MX+).
    Now, if your php is located in another...
  17. Simple, untested, just an idea. Since you're...

    Simple, untested, just an idea.
    Since you're already inside a movieclip:
    - Create a new keyframe before your first one, pushing your already there one frame plus;
    - Copy the contents of the now...
  18. Well, _root.updateTxt = function(number) {...

    Well,

    _root.updateTxt = function(number) {
    trace(number);
    _root.timer_t = "timer = " + number;
    }

    _root.newTimer = function() {
    return getTimer();
    }
  19. Thread: String help

    by Leo Lima
    Replies
    4
    Views
    618

    Maybe you should need _level0[], because of your...

    Maybe you should need _level0[], because of your requirements.
    I don't know.
  20. Thread: String help

    by Leo Lima
    Replies
    4
    Views
    618

    Well, 'this' really worked. As did the...

    Well,
    'this' really worked.
    As did the following code:


    streez = "street";
    strez1 = streez + "_1";
    _root[strez1].onPress = function() {
    this.startDrag(); trace(this);
    }
  21. Replies
    10
    Views
    848

    If loadvars is only for Flash 6, and you have...

    If loadvars is only for Flash 6, and you have Flash 5 (or are exporting to it), your code won't compile.
    Use loadvariables(), it'll do the same, with a little more code, sure, but the same...
  22. Thread: String help

    by Leo Lima
    Replies
    4
    Views
    618

    You could try: var_name = "movie_clip";...

    You could try:


    var_name = "movie_clip";
    string_test = var_name + "_1";
    _root[string_test].onPress = function() {
    this.startDrag();
    };

    That will target the right movie, but I don't know if...
  23. Replies
    10
    Views
    848

    Sorry about the name, it's: loadVariables()...

    Sorry about the name, it's:
    loadVariables()
    Availability: Flash Player 4; behavior changed in Flash Player 7.
    Sample:
    on(release) {
    loadVariables("create.php?name=leo", "_root.varTarget");
    }...
  24. Replies
    3
    Views
    318

    'for' doesn't work that way. It executes...

    'for' doesn't work that way. It executes everything before frame change and update... so, it won't happen.
    you'd need something like:

    onClipEvent (load) {
    this.startW = 2;
    this.endW = 38.5;...
  25. Replies
    10
    Views
    848

    No legends. Use loadVars() or the new LoadVars...

    No legends.
    Use loadVars() or the new LoadVars object to achieve it.
    Actually, there are lots of ways. One, oldschool, is to make the .php return a 'created=1&finished=1' in responde to a...
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