A Flash Developer Resource Site

Search:

Type: Posts; User: pecoes

Page 1 of 3 1 2 3

Search: Search took 0.29 seconds.

  1. Replies
    4
    Views
    843

    The only option you have is "fscommand": ...

    The only option you have is "fscommand":

    http://livedocs.macromedia.com/flash/mx2004/main/12_as228.htm

    But it forces you to hard-code the path and it won't work in a browser window. This is...
  2. Replies
    5
    Views
    617

    Mhm, *NIX file permissions are quite a topic in...

    Mhm, *NIX file permissions are quite a topic in itself. Not because they're complicated, but because the philosophy behind them is so different from Windows file permissions. If you're like me it'll...
  3. Replies
    5
    Views
    617

    Flash communicates with a server in exactly the...

    Flash communicates with a server in exactly the same way a web brower does and just like a browser it cannot save anything there.

    You would need a script on the server (PHP will do just fine!)...
  4. Hi there, very nice idea! Please, post your...

    Hi there,

    very nice idea! Please, post your code!

    my results:

    37784 bps
    50176 bps
    42236 bps
  5. Replies
    4
    Views
    295

    You aren't using Flash, right? You're using...

    You aren't using Flash, right? You're using "Swish"?

    If so, you may be better off in one of their forums ...
  6. Replies
    4
    Views
    295

    Hi Shawn, okay, I checked AStDG2...

    Hi Shawn,

    okay, I checked AStDG2, I ckecked macromedia's livedocs; I even looked at the list of undocumented features over at flashcoders wiki.

    As far as I can tell neither that handler nor...
  7. There's nothing special about the way XML-objects...

    There's nothing special about the way XML-objects are handled by the garbage collector. Data will be removed from memory when no more references to it exist.

    That means all variables persist,...
  8. Replies
    4
    Views
    295

    er ... I've never seen an "onFrame" handler...

    er ... I've never seen an "onFrame" handler before. I'm also unfamiliar with the "gotoSceneAndPlay" function. Would you plz check/explain that first!

    pecoes
  9. Thread: Hashtable?

    by pecoes
    Replies
    8
    Views
    1,213

    The reason why count returns 3, is that it also...

    The reason why count returns 3, is that it also counts "getNickName" as a content of "users" - functions are data too. You might want to build in some additional type-check:...
  10. Replies
    4
    Views
    338

    http://livedocs.macromedia.com/flash/mx2004/main/f...

    http://livedocs.macromedia.com/flash/mx2004/main/fm4.htm
  11. Replies
    1
    Views
    346

    Sorry, only MovieClips have a "_name" property....

    Sorry, only MovieClips have a "_name" property. Plain objects have no introspection other than the "for ... in" loop.

    I'd like to be corrected on that one myself, but the answer is "No!".
  12. Thread: Hashtable?

    by pecoes
    Replies
    8
    Views
    1,213

    Same trick: the "for ... in" loop will only...

    Same trick: the "for ... in" loop will only return keys for defined values.

    for (i in a) trace(a[i]);
  13. Thread: Hashtable?

    by pecoes
    Replies
    8
    Views
    1,213

    The problem isn't that you would create bloated...

    The problem isn't that you would create bloated data structures. This:

    a = new Array();
    a[9999] = 'ten thousand';
    a[10] = 'eleven';

    creates an array/hash/object with just two entries.

    The...
  14. Thread: Hashtable?

    by pecoes
    Replies
    8
    Views
    1,213

    Hi there, It's actually much simpler in...

    Hi there,

    It's actually much simpler in Actionscript: Hashes (they're called "associative arrays" here) and objects are the same thing:

    someObj.prop == someObj["prop"]

    I suppose, when you...
  15. Replies
    6
    Views
    1,147

    It cannot be done with Flash. Again: security...

    It cannot be done with Flash. Again: security considerations of Macromedia. And I for one, think it's pretty obvious, why Flash-movies aren't allowed to take files from the user's system and send...
  16. Replies
    7
    Views
    767

    have you tried "\n"?

    have you tried "\n"?
  17. Replies
    3
    Views
    457

    You mean: part of the text shows, but it's...

    You mean: part of the text shows, but it's truncated at the point where the link should be?

    In that case there's something wrong with your HTML markup and Flash "doesn't get it".

    pecoes
  18. Replies
    7
    Views
    767

    In that example a Javascript-dialog pops up....

    In that example a Javascript-dialog pops up. That's a little tricky, but it can be done with Flash, like so:

    getURL("javascript:void(alert('error'));","_self"); // can't actually test it, right...
  19. Replies
    6
    Views
    1,147

    I see, but that's something simple, like: ...

    I see, but that's something simple, like:

    getURL("sample.zip");

    The standard dialogs aren't part of Flash in any way.
  20. Replies
    1
    Views
    545

    There are two ways of dynamically assigining...

    There are two ways of dynamically assigining colors:

    1.) Create different Textformats for each color and specify a start- and endindex when applying them with TextField.setTextFormat().

    2.) Use...
  21. Replies
    7
    Views
    767

    Please, close your eyes for a moment and meditate...

    Please, close your eyes for a moment and meditate on the security implications such a "feature" would have!

    Still want it?
  22. Thread: Dynamic stuff

    by pecoes
    Replies
    1
    Views
    436

    Well, you cannot dynamically rename frames. As...

    Well, you cannot dynamically rename frames. As far as I understand it, frame labels are no more than a convenience feature of the authoring environment (kinda like layers). They aren't exported, when...
  23. Replies
    6
    Views
    1,147

    Hi there, Listen to yourself: You want to...

    Hi there,

    Listen to yourself: You want to override the operating system's save-dialogs, replace them with your own and save data on the users system. If that were possible, Flash-movies could...
  24. Replies
    5
    Views
    361

    Okay, your code is either weird, or you left out...

    Okay, your code is either weird, or you left out so much, that I don't get it.

    Here's a rewrite:


    php = new LoadVars();
    php.aktivepost = box.getValue() ? 'yes' : 'no';
    //......
  25. Right, forget my post, I was not aware of the...

    Right, forget my post, I was not aware of the fact that you're using the scrollbar component.
    You can't have both - of course - an auto-expanding field and scrollbars.

    A question: Have you tried...
Results 1 to 25 of 58
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center