A Flash Developer Resource Site

Search:

Type: Posts; User: phildman14

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    274

    Thanks for the reply but im trying to call a...

    Thanks for the reply but im trying to call a function, not set a var. I want to call help() with func_to_call being "help" and i try to run this[func_to_call]() and it gives me syntax errors and then...
  2. Replies
    3
    Views
    274

    Dynamic Function help

    Long ago I figured out that this["file"+i].ok = true with i being 1 would change file1.ok to true. This has helped me in many many ways and is easier than eval(). My problem now is (Im still on flash...
  3. Replies
    2
    Views
    501

    center = 300; width = 600; max_Speed = 10;...

    center = 300;
    width = 600;
    max_Speed = 10;
    mc.onEnterFrame = function() {
    mc._x = mc._x - ((_xmouse-center)/width)*max_speed;
    };


    That should do what your looking for. "mc" being the...
  4. Replies
    4
    Views
    667

    Loading text DOES invoke the onData even, tbut so...

    Loading text DOES invoke the onData even, tbut so should loadMovie, according to Flash's reference:

    ========================================
    MovieClip.onData

    Availability

    Flash Player 6.
    ...
  5. Replies
    1
    Views
    597

    Does anyone have a good code for howto draw a...

    Does anyone have a good code for howto draw a cirlce using moveto and curveto? In flash's explanation it has a code but its a square with rounded corners and isnt quite a cirlce. Thanks alot. I want...
  6. Thread: Simplify?

    by phildman14
    Replies
    4
    Views
    505

    i tried that but the prob was it wasnt sorting em...

    i tried that but the prob was it wasnt sorting em right
    i came up with one a bit smaller using math.max thanks all
  7. Replies
    17
    Views
    695

    well if this hasent been said this will work for...

    well if this hasent been said this will work for sure:

    this[company].gotoAndStop(1)

    it can also work like:

    _root[company+x].gotoAndStop(1)
    _parent["company"+x].gotoAndStop(1)

    Hope this...
  8. Thread: Simplify?

    by phildman14
    Replies
    4
    Views
    505

    Thank you very much for the help, but when i...

    Thank you very much for the help, but when i tried it, it didnt come through. (ignore the +57+63 etc

    temparray = [maintextmc.textWidth+20,namemc.textWidth+57,opinionmc.textWidth+63];
    ...
  9. Thread: Simplify?

    by phildman14
    Replies
    4
    Views
    505

    Can anyone optimize this code? if (var1>var2...

    Can anyone optimize this code?

    if (var1>var2 and var1>var3 and var1>var4 and var1>var5) {
    biggest = var1;
    } else if (var2>var1 and var2>var3 and var2>var4 and var2>var5) {
    biggest =...
  10. Replies
    1
    Views
    313

    OMG i figured it out!!! Im so very happy. So you...

    OMG i figured it out!!! Im so very happy. So you can forget trying to help, I got it! And just so all you ppl who wanted to know too, give the text field a mc name and do mcname.textHeight!!! omg yes...
  11. Replies
    1
    Views
    313

    A while back when i exported a movie and checked...

    A while back when i exported a movie and checked up on my vriables (proly checking over a glitch or something) i noticed a bunch of "sub" variables for a dynamic text field. These "sub" variables...
  12. Replies
    3
    Views
    378

    This isnt really a site but I just this would be...

    This isnt really a site but I just this would be the place ask for opinions. If its not just tell me and it wont happen again. Thx

    http://phildman14.homeip.net/music/choose.swf
    Can you tell me...
  13. Replies
    1
    Views
    280

    can u give me the script of how ur adding lines...

    can u give me the script of how ur adding lines or an example w/ fla, thanks. while u do that u can try adding this to the scrollbar:

    onClipEvent (enterFrame) {
    if (scrollPosition == maxpos)...
  14. Replies
    2
    Views
    326

    i read it all and it dosent make ne sense to me....

    i read it all and it dosent make ne sense to me. i just wanna store a var. like settings=1,25,yes,0x937478,mikey,johnson

    and be able to read it later. eg: You log on to the site. it prompts for...
  15. Replies
    3
    Views
    374

    deffinitely. just make sure the levels are the...

    deffinitely. just make sure the levels are the same.
  16. Replies
    3
    Views
    374

    What is that you wanted to know? if u just need...

    What is that you wanted to know?
    if u just need to make a blank mc where the pic's top left corner will load and enter this on the same level as the mc (change url variable accordingly):

    url...
  17. Replies
    2
    Views
    326

    I just wanted to know what the best or amybe a...

    I just wanted to know what the best or amybe a few different ways to store info/preferences on the user's comp so that i can access it later. It likes like in MX i can store it WITHIN flash? (i...
  18. try on (rollOver) { ...

    try

    on (rollOver) {
    _root.anim1.gotoandplay(1);
    }
    on (rollOut) {
    _root.anim2.gotoandplay(1);
    }
    on (rollOut) {
    _root.anim1.GotoAndPlay(1);
  19. Replies
    2
    Views
    430

    onClipEvent (enterFrame) { if...

    onClipEvent (enterFrame) {
    if (this.hitTest(_root.mchit)) {
    setProperty ("_root.mcblue", _alpha, "100");
    } else {
    setProperty ("_root.mcblue", _alpha, "0");
    }
    }
  20. Replies
    1
    Views
    388

    Hi, i just need to know the sytax and how to use...

    Hi, i just need to know the sytax and how to use the swapdepths command, I understand WHAT it does i think, just how to use it, lol (repeating myself) thanks
  21. o, ic, well np, glad it works :)

    o, ic, well np, glad it works :)
  22. ummm, hello? simple just add on (release) {} ...

    ummm, hello? simple just add on (release) {}

    on (release) {
    if (txtName ne "" and txtCompany ne "" and txtPosition ne "" and txtFrom ne "" and txtMessage ne "") {
    loadVariablesNum...
  23. Replies
    2
    Views
    375

    i never thought of doing it that way. thanks, i...

    i never thought of doing it that way. thanks, i may end up using it
  24. Replies
    2
    Views
    375

    OK, i have dynamic news files loaded from a text...

    OK, i have dynamic news files loaded from a text file, but dpending on the length of the message the one below will need to set it's distance. http://phildman14.homeip.net/newtral/site.html is there...
  25. if (txtName ne "" and txtCompany ne "" and...

    if (txtName ne "" and txtCompany ne "" and txtPosition ne "" and txtFrom ne "" and txtMessage ne "") {
    loadVariablesNum ("cdontsmail.asp", 0, "POST");
    gotoAndPlay ("valid");
    } else {
    gotoAndPlay...
Results 1 to 25 of 74
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center