dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: pixelboy

Page 1 of 7 1 2 3 4

Search: Search took 0.37 seconds.

  1. change your code as follows: function...

    change your code as follows:


    function onClick (btn) {
    if (btn == submit) {
    sethouse ();
    if (city.getValue () == "London") {
    country = "that's England";
    }
    gotoAndStop ("stop");
  2. Replies
    1
    Views
    452

    check this out: ...

    check this out:

    http://www.macromedia.com/support/flash/action_scripts/local_shared_object/
  3. Replies
    1
    Views
    385

    for (i in myArray){ if(myArray[ i ] == "March"){...

    for (i in myArray){
    if(myArray[ i ] == "March"){
    arrayIndex = i;
    }
  4. Replies
    2
    Views
    371

    dupeNum = 6; topLevel = 1; for(i = 1; i

    dupeNum = 6;
    topLevel = 1;

    for(i = 1; i <= dupeNum; i++){
    duplicateMovieClip ("myMasterMC", "myMC"+i, topLevel);
    _root["myMC"+i].onLoad = function () {
    //do your stuff here;
    };
    topLevel++;
    }
  5. as posted on the "Flash MX" board for same...

    as posted on the "Flash MX" board for same question, try:

    if (city.getValue() == "London") {
    country = "that's England";
    }
  6. Replies
    2
    Views
    595

    or if you're using Flash MX: function...

    or if you're using Flash MX:

    function myThang(){
    //this is the function you want to run every 5 seconds;
    //do my stuff;
    }

    function startMyThang(){
    intervalid = setInterval...
  7. You don't need to use the '.text' method. you...

    You don't need to use the '.text' method. you only use it if you're referring to the instance name of the text field i.e. if you'd named the instance (as opposed to the variable) of the text field...
  8. Replies
    2
    Views
    403

    or try: on (release) { for (var i = 1;...

    or try:

    on (release) {
    for (var i = 1; i<=_root.d; i++) {
    removeMovieClip(_root["lowrise1a"+i]);
    removeMovieClip(_root["midrise"+i]);
    }
    }

    I've experienced some weirdness with the new...
  9. Replies
    21
    Views
    1,494

    Aside from using complicated algorithms, a simple...

    Aside from using complicated algorithms, a simple first line of defense is to get your PHP script to check the $HTTP_REFERRER variable to ensure that the script is being called from your flash movie...
  10. Replies
    1
    Views
    430

    Nope. Not directly out of flash. You have to call...

    Nope. Not directly out of flash. You have to call a script such as CGI, PHP, ASP or Cold Fusion to send your email. The script then accesses the sendmail functionality of the host server.
  11. no can do - unless you compress the file and make...

    no can do - unless you compress the file and make it a ZIP file or a TIFF file or something. If it's a jpeg, GIF or PNG file the user's browser will display it in the browser window.

    You'd have to...
  12. Replies
    3
    Views
    485

    if you load your jpeg into a target movie clip...

    if you load your jpeg into a target movie clip instead of into level1 you can then attach an onClipEvent to the target mc e.g.

    onClipEvent(data){
    _root.play();
    }

    Voila. When the jpeg has...
  13. Replies
    1
    Views
    302

    the variables from your text file are probably...

    the variables from your text file are probably coming into the root level (level0) of your movie. You'll need to assign these variables to the respective MCs after they've loaded from your text file...
  14. Replies
    5
    Views
    371

    just set up your text file as follows: ...

    just set up your text file as follows:

    &textfieldVar1=my text goes here.&textfieldVar2=my text goes here.&textfieldVar3=my text goes here.
  15. I've found that creating an empty movie clip and...

    I've found that creating an empty movie clip and then attempting to load a pic immediately thereafter is unreliable (at best) and most of the time just doesn't work.

    Try duplicating a 'target'...
  16. Replies
    3
    Views
    309

    for(i=1; i

    for(i=1; i<=10; i++) {
    _root["target"+i].gotoAndPlay(1);
    }
  17. Replies
    3
    Views
    381

    function loadTextFile(){...

    function loadTextFile(){
    loadVariablesNum("myTextFile.txt",0);
    }

    intervalID = setInterval(loadTextFile, 300000);

    The 'setInterval' will run every 5 minutes. If you want to stop this at any...
  18. Replies
    6
    Views
    1,010

    Damn...Sichi, I'm not sure you should be left...

    Damn...Sichi, I'm not sure you should be left alone with your Tibook unless an adult or guardian is present!
  19. Replies
    12
    Views
    536

    no probs!

    no probs!
  20. Replies
    12
    Views
    536

    Hmmm.....dial 1800 MY WEBHOST!!!

    Hmmm.....dial 1800 MY WEBHOST!!!
  21. The animation of the pics dropping into place or...

    The animation of the pics dropping into place or exiting off screen is the most immediately visible difference when viewed on the 2 platforms. A PC will play this animation 2 to 3 times as fast as a...
  22. Hi Mike. Thanks for paying attention. We just...

    Hi Mike. Thanks for paying attention.

    We just built this site for a client:

    http://www.8com.com.au/

    All content is dynamically loaded and all animation is scripted so there's no tweens to...
  23. Replies
    12
    Views
    536

    Try calling the cgi script from your browser i.e....

    Try calling the cgi script from your browser i.e.

    http://kevinvl.lonex.org/book.cgi?name=dogboy&email=me@wherever.com

    (obviously you'd use the variable names that the script is expecting).
    ...
  24. Replies
    10
    Views
    1,743

    Took MX for a spin in 9.2 and everything worked...

    Took MX for a spin in 9.2 and everything worked fine. Both the mac and pc projectors were a-ok!

    Don't know what the story is there joemicduff! Not much help I'm afraid!
  25. Replies
    10
    Views
    1,743

    Nope. That .EXE doesn't run on our PCs. Windows...

    Nope. That .EXE doesn't run on our PCs. Windows thinks it's a DOS program.

    Just out of interest, have you tried running MX under OSX? May be worth a shot! I'm assuming you're running the full...
Results 1 to 25 of 163
Page 1 of 7 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center