A Flash Developer Resource Site

Search:

Type: Posts; User: marvinklein

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    364

    simple help with loadVariables

    i use loadVariables to read some variables form a local text file on my hd...
    then i use the values of these values in some later code...
    how do i make sure that code dosnt run until flash is...
  2. you can send an aol instant message from flash???...

    you can send an aol instant message from flash???
    wow. can you give an example?
  3. Replies
    3
    Views
    732

    View Post

    <?php
    $total = 0;
    $handle = opendir("images");
    while($file = readdir($handle))
    {
    if(is_file("images/".$file))
    {
    print "&file$total=$file";
    $size = getimagesize("images/$file");...
  4. Replies
    3
    Views
    732

    thanks a million music man. gonna try it out now..

    thanks a million music man. gonna try it out now..
  5. Replies
    3
    Views
    732

    getting image sizes in a directory

    how can i, in php, create a two-dimensional array with the width and height of each jpg in a directory and send that array back to flash?
  6. Replies
    1
    Views
    540

    php array to flash

    how can i, in php, create a two-dimensional array with the width and height of each jpg in a directory and send that array back to flash?
  7. Replies
    2
    Views
    697

    thanks musicman... now that i know there's no...

    thanks musicman...
    now that i know there's no way to fix this, let me go and reorganize my whole site.... ha.

    thanks a lot.
  8. if you think you know flash, read this...

    i have a function which gets a variable from a php script. I use the onLoad event of my LoadVars object to wait until the script is executed. then, within the onLoad statement, my function returns...
  9. Replies
    2
    Views
    697

    set a variable from php script?

    i am trying to get the size of a jpeg before I have loaded it. I use a php script, which I know works. here is the flash function that calls it:




    _global.imageSize = function(path:String) { ...
  10. Replies
    2
    Views
    414

    any ideas? can anyone confirm this problem?

    any ideas?
    can anyone confirm this problem?
  11. Replies
    2
    Views
    414

    oh, and how do i stop the code from being made so...

    oh, and how do i stop the code from being made so small?
  12. Replies
    2
    Views
    414

    function is too slow?

    i am trying to get the size of a jpeg before I have loaded it. I use a php script, which I know works. here is the flash function that calls it:


    _global.imageSize = function(path:String) {...
  13. that will go to frame 2 of the movieclip/button....

    that will go to frame 2 of the movieclip/button.

    you have to make it _root.gotoAndPlay(x) if that's what you want...
  14. put this code on your movieclip: onClipEvent...

    put this code on your movieclip:


    onClipEvent (load) {
    this.onRelease = function() {
    // do on click stuff here.
    };
    this.onRollOver = function() {
    // do roll over actions here
    };
  15. Replies
    6
    Views
    690

    it's a global function?

    it's a global function?
  16. Replies
    9
    Views
    595

    like i said, the behaviour is what i would...

    like i said, the behaviour is what i would expect. try it from some remote source, like a network drive or something. where it actually has to load...
  17. Replies
    9
    Views
    595

    it shouldn't if that is the only thing in frame...

    it shouldn't if that is the only thing in frame one of the timeline. but i've never tried this from cd. i don't know what to say...
  18. Replies
    9
    Views
    595

    put that and nothing else in the first frame of...

    put that and nothing else in the first frame of your movie.

    loading = setInterval(function () {
    percent = (getBytesLoaded()/getBytesTotal())*100;
    if (percent == 100) {...
  19. Replies
    5
    Views
    448

    you could do it like this: when the user...

    you could do it like this:

    when the user clicks, either use startDrag, to make the menu stay with the mouse,
    or just make the menu visible, or attachMovie to make it stay at the spot of the...
  20. Replies
    8
    Views
    1,416

    whats the difference? you want to put the...

    whats the difference?

    you want to put the thread on which the actionscript is running to sleep? not possible. unless you create an application in .net for example, find out what thread is running...
  21. Replies
    9
    Views
    595

    i only have experience distributing as web pages....

    i only have experience distributing as web pages. for that a preloader is simple:



    loading = setInterval(function () {
    percent = (getBytesLoaded()/getBytesTotal())*100;
    if (percent == 100)...
  22. Replies
    2
    Views
    468

    thanks K. i'll use the reference, bc this[item]...

    thanks K.
    i'll use the reference, bc this[item] only works if item is within this, which, in my case, it's not.

    thanks a lot.
  23. Replies
    5
    Views
    448

    no, you can't trick it like that. it dosn't...

    no, you can't trick it like that. it dosn't matter where you put the definition on the onClick or whatever event. just come up with a different hierarchy of your movieclips or buttons.
  24. Replies
    5
    Views
    448

    in a set of nested MovieClips only one layer can...

    in a set of nested MovieClips only one layer can have mouse events.
  25. Replies
    8
    Views
    1,416

    myTimer = setInterval(function () { // put...

    myTimer = setInterval(function () {
    // put the code to execute after the delay here.
    clearInterval(myTimer);
    }, delay in ms); [SIZE=3]
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center