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 strongm 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 benny2168

  1. benny2168

    Reading parameters from HTML document

    thank you very much, the instructions are great
  2. benny2168

    Reading parameters from HTML document

    what kind of JS script would I use to accomplish this? (say on a button press i would like a textbox to display the current url)
  3. benny2168

    Reading parameters from HTML document

    Here's the code I have in my HTML document to embed my flash movie: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550" height="400" id="flashMovie" align="middle"> <param...
  4. benny2168

    submission form for a site

    something like this? http://actionscript.org/tutorials/intermediate/php_send_mail/index.shtml
  5. benny2168

    Flash Mp3 player shows NaN:NaN before counter starts.

    sorry remove the parenthesis again: if its a an instance name then add the .text _root.time1.timeText02.text = mins+":"+secs;
  6. benny2168

    Flash Mp3 player shows NaN:NaN before counter starts.

    hmm about this line: _root.time1.timeText02 = (mins+":"+secs); do you have a textbox with the instance name "timeText02" or is this a var assigned to a textbox? if its a var then try removing the parenthesis _root.time1.timeText02 = mins+":"+secs; if its a an instance name then add the...
  7. benny2168

    Publishing in FLASH MX

    in flash go to File > Publish Settings make sure the Flash and HTML boxes are checked and then click Publish rename the html file to index.html and upload to your site
  8. benny2168

    How can create a score for a game

    whenever your user gets a question right, add to your score variable _root.score += 1
  9. benny2168

    Pause a movie clip for ## seconds

    stop(); intervalTime = setInterval(afterInterval, 20000) function afterInterval() { clearInterval(intervalTime) _root.play() }
  10. benny2168

    preloader for externally loaded txt and images

    nope sorry there is no upload feature, you have to use a personal site
  11. benny2168

    calculator

    flashoid, guess and actual are variables. //.text refers to the text in the texbox guess = _root.quantityOrdered.text; actual = _root.actualQuantityOrdered.text; name the instance name of your input boxes like this: enter quantity ordered_____ (input field) = quantityOrdered enter...
  12. benny2168

    xml symbols not displaying in flash

    some characters (like %, +, and &) are used within computers for certain functions. When you try to use such characters in a text document, and the document gets parsed, these characters tend to either create an error or get skipped instead, you have to use "escaped" characters. each...
  13. benny2168

    calculator

    you could try this formula guess = _root.quantityOrdered.text; actual = _root.actualQuantityOrdered.text; percent = Math.abs(guess-actual)/(actual)*100; if ((percent>=0) && (percent<=3)) { _root.penalty.text = "1%"; } else if (percent<=4) { _root.penalty.text = "2%"; } else if (percent<=6) {...
  14. benny2168

    Creation of a Radio Tuner

    I dont know if you know this but... m3u (winamp) and asx (windows media player) are not actually songs ... just playlist files. They are nothing but textfiles with urls to songs online and maybe some syntax so your music player knows how to read them Open them up yourself with notepad...
  15. benny2168

    preloader for externally loaded txt and images

    alright if you would like you can upload your fla and ill add one for you just create a preloader mc and ill add code to make it appear when something needs preloading

Part and Inventory Search

Back
Top