Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mattfarley

  1. mattfarley

    GDF font files for a SunSPARC Server (using PHP)

    I'm trying to use .GDF font files with the PHP imageloadfont function: http://us2.php.net/manual/en/function.imageloadfont.php However all the .GDF files I find are created on x86 platforms/servers. Since my host is a SunSPARC server, it's not able to read these files, quote from the above...
  2. mattfarley

    Possible to do an actionscript For .. Each Loop?

    ya got it working like this: numItems = 5000; startnumber = 2000; for (i=0; i<=numItems; i++) { addnumber = startnumber + i; temp = &quot;EVS&quot; add addnumber; temp2 = &quot;_lv.EVS&quot; add addnumber; if (eval(temp2) > 0) {...
  3. mattfarley

    Possible to do an actionscript For .. Each Loop?

    I'm trying this: for (y=500; y<8000; y++){ if ( eval(&quot;_lv.EVS&quot;+y) > 0 ) { eval(&quot;EVS&quot;+y+&quot;.swapdepths(&quot;+y+&quot;)&quot;); eval(&quot;EVS&quot;+y+&quot;.plotter.nextFrame();&quot;) eval(&quot;EVS&quot;+y+&quot;.plotter.donotremove=true&quot;); } } But it isn't...
  4. mattfarley

    Possible to do an actionscript For .. Each Loop?

    _lv is a loadvars() object EVS#### are just regular variables loaded from a script (externally). The source is at http://www.sac-yolomvcd.com/flash/evs.fla
  5. mattfarley

    Possible to do an actionscript For .. Each Loop?

    I have about 70 variables loading into a flash project, they are all named EVS#### (ie: EVS1234, EVS1235, EVS1236, etc) I want to manipulate each variable coming in. Is there a way to do a for each loop? Here is an example of my current code: if (_lv.EVS2902 > 0) {...
  6. mattfarley

    Swapdepths issue

    Nevermind, found the answer!
  7. mattfarley

    Swapdepths issue

    Can anyone download my project: http://www.sac-yolomvcd.com/flash/evs.fla And see if they can find why the mouse-over swapdepths are not working properly? Thanks! -Matt
  8. mattfarley

    swapDepths tweaking!

    Nevermind, problem solved! :) Thanks!
  9. mattfarley

    swapDepths tweaking!

    Can someone take a look at: http://www.sac-yolomvcd.com/flash/evs.fla And make any suggestions for a better way to swapdepths? As you can see, on bootup, the red dots are coming in behind the ones that auto pop-up and such. Checkout the .fla, mouseover all the objects, and you'll see where...
  10. mattfarley

    Need movie to wait for dynamic variables to load

    Nevermind :) _lv.daddy Thanks again for all your help, you've saved me a ton of time!
  11. mattfarley

    Need movie to wait for dynamic variables to load

    Perfect! Now how can I get the 415 to appear as the dynamic text? I tried setting the dynamic text box to daddy _parent.daddy _root.daddy doesnt seem to work any ideas?
  12. mattfarley

    Need movie to wait for dynamic variables to load

    Maybe something's wrong with my MX? It's giving me this on run: Scene=Scene 1, Layer=FrontMap, Frame=1: Line 1: ';' expected _lv new LoadVars(); Scene=Scene 1, Layer=FrontMap, Frame=1: Line 8: Unexpected ')' encountered )
  13. mattfarley

    Need movie to wait for dynamic variables to load

    Ok I set it up as you said in: http://www.sac-yolomvcd.com/flash/evs2.fla But I'm getting a few errors at runtime. Be sure to download evs2.fla and not evs.fla Thanks a ton for your help!
  14. mattfarley

    Need movie to wait for dynamic variables to load

    I'm using MX. How would I use loadvars? What changes do you suggest? The FLA can be found here: http://www.sac-yolomvcd.com/flash/evs.fla Thanks!
  15. mattfarley

    Need movie to wait for dynamic variables to load

    I need to use the results of dynamic variables to choose whether or not a movie plays. The problem is, it takes about 3-5 seconds for the variables to load from our database, and by then Flash is already done loading. So I need it to Start Wait for dynamic variables to load then continue...

Part and Inventory Search

Back
Top