A Flash Developer Resource Site

Search:

Type: Posts; User: gemein

Page 1 of 7 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    334

    If you don't want variables & data to cache, this...

    If you don't want variables & data to cache, this is a good overview (even though it's from flash 4)
    http://www.permadi.com/tutorial/flashcache/
  2. Replies
    1
    Views
    397

    I your original movie, let's assume you have the...

    I your original movie, let's assume you have the blank clip on the root later, and you've got some code on a button similar to this:

    on (release){
    blank.loaveMovie("movie2.swf");
    }

    In your...
  3. Replies
    1
    Views
    339

    I don't think you can literally label the var for...

    I don't think you can literally label the var for a text box as an array element (not positive though.. but I found a few other posts here on fk that affirm my thoughts). For a workaround, change the...
  4. Replies
    2
    Views
    462

    To prevent the image from "jumping" to a larger...

    To prevent the image from "jumping" to a larger size, change the code within the onClipEvent(load) section to:
    nScale = aScale[0];

    .. and if you want to change the range of which the picture...
  5. I put an example up on my website with source:...

    I put an example up on my website with source: http://www.vfov.com/flash/loadphp/

    In the fla, I made a movie clip that stops on the first frame. The button you press plays starting at frame 2....
  6. Thread: Dynamic Text

    by gemein
    Replies
    3
    Views
    470

    I did a search here on flashkit using the terms...

    I did a search here on flashkit using the terms 'load text file' and made it search in the subject only.. and I found about 4 pages of threads pertaining to loading external text.. here are a few:
    ...
  7. Replies
    1
    Views
    466

    You want to send the variables back to flash just...

    You want to send the variables back to flash just like you'd see in a web address and remember to use '&' to join variables:

    so from php, do:

    echo "name=".$name."&"."info=".$info;
  8. Replies
    2
    Views
    482

    On the clip you want to pause, put this code....

    On the clip you want to pause, put this code. Change the third line to the time interval you you want to wait. 3000 = 3 seconds, 1000*60 = 1 minute, etc...


    onClipEvent(load){
    stop(); // stop...
  9. Replies
    2
    Views
    449

    if the .swf to be loaded is in a deeper dir:...

    if the .swf to be loaded is in a deeper dir:
    loadMovie("dir/test.swf",0); // one down
    loadMovie("dir1/dir2/test.swf",0); // two down

    if the .swf to be loaded is in a directory higher up:...
  10. Replies
    3
    Views
    510

    sorry bout that.. this was the best category I...

    sorry bout that.. this was the best category I knew to post in. thx for the reply
  11. Replies
    3
    Views
    502

    movieclip.variable = whatever The revised code...

    movieclip.variable = whatever
    The revised code below sends the variable frame to the MC obracacze (obracacze.frame). Btw, I got rid of your telltargets since they are depreciated. (it also shortens...
  12. Replies
    2
    Views
    516

    Check out the moock site.. scroll down on this...

    Check out the moock site.. scroll down on this page to chapter 10 and there is a custom button .fla you can download.. instead of using a button, a movieclip detects mouseover etc...
  13. Replies
    3
    Views
    510

    were-here.com =Y~

    what's up with were-here.com? I haven't been able to reach the site for the last couple weeks..
  14. Replies
    1
    Views
    356

    I had problems with this before also.. here's a...

    I had problems with this before also.. here's a good link:
    http://f256.com/comm/articles/flash/sound_objects-introduction.asp

    and here's a previous post of mine about this:...
  15. Replies
    2
    Views
    392

    when checking if something equals something else,...

    when checking if something equals something else, you have to use double equal signs:
    on (release) {
    if (onoff==0) {
    onoff = onoff+1;
    musicloop.start(0, 999);
    } else if (onoff==1) {
    onoff =...
  16. Thread: Frame pausing

    by gemein
    Replies
    2
    Views
    469

    Make a blank movieclip and place it on the main...

    Make a blank movieclip and place it on the main timeline (so that it spans the whole length of your movie). On the clip, put this code. Change the third line to the time interval you you want to...
  17. Replies
    4
    Views
    504

    I don't think you can call up what scene you're...

    I don't think you can call up what scene you're in (I have been wrong before:) ).. but I think I've got a workaround.

    I made a new .fla and sample .swf which counts total frames, current scene...
  18. That is odd.. and I can't seem to duplicate it. I...

    That is odd.. and I can't seem to duplicate it. I created an array the main timeline (_root) and targeted it from the root timeline and from within a movieclip, both giving me the correct result.
    ...
  19. Thread: Join question

    by gemein
    Replies
    5
    Views
    518

    I'm still kind of confused. Could you post some...

    I'm still kind of confused. Could you post some code?
  20. When I ran a test array: test =...

    When I ran a test array:
    test = ["stuff","cool","nice"];
    and did
    test.length
    I got 3 as the answer

    You should be getting the number of elements within the array, not the length of each one...
  21. Replies
    4
    Views
    504

    Assuming you have the whole animation built on...

    Assuming you have the whole animation built on the main timeline, this isn't too hard. If, however, you have movieclips within movieclips, then things get more complicated.

    1. First, create a new...
  22. Thread: Join question

    by gemein
    Replies
    5
    Views
    518

    You don't have to know the array length.. like in...

    You don't have to know the array length.. like in my first example within the for() statement, you can get the length of an array by doing:
    myArray.length

    Anyway, I guess I'm not understanding...
  23. Replies
    7
    Views
    532

    Ok, I got it. On your verification page, on the...

    Ok, I got it. On your verification page, on the second layer where it imports the data from the first page, you don't need to refer to the text fields with a .text extention. I've only used the .text...
  24. Replies
    1
    Views
    421

    After the this._y += diff; statement, put this:...

    After the this._y += diff; statement, put this:
    if (_y > 170){
    _y = 170;
    }
    It checks if the slider's _y value is greater than 170, and if so, it keeps it at 170
  25. Replies
    4
    Views
    962

    Keep in mind the hours are in 24 hour format.. so...

    Keep in mind the hours are in 24 hour format.. so 1pm is 13 and 5pm is 17, etc..


    theDate = new Date();
    hours = theDate.getHours();
    //__ IF IT IS BETWEEN 11PM AND 12PM
    if (hours == 11){
    ...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center