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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: CGann
  • Content: Threads
  • Order by date
  1. CGann

    Flash Lite 1.1- Possible to disable key input while running function?

    Building a FlashLite 1.1 app for my phone and just wondering if anyone has been successful with this? I'd like to temporarily disable the phone's keypad while the the script is processing the input it just got. i.e. You press a key. It stops listening to the keyboard while it calculates the...
  2. CGann

    Does CPU speed affect swf play?

    I've built a clock app that: 1. Get the user's local time. aka "Your Time" 2. Pings a server hosting a cgi script that returns a GMT date string. aka "GMT" 3. Calculates the difference between Your Time and GMT in milliseconds. 4. Uses that calculated difference to dynamically generate...
  3. CGann

    how to make sure one founction completes before running others?

    I'm pulling a server's time using a cgi script and bringing the value into flash using LoadVars and calculating some variables based on this data. But other functions are executing before LoadVars has completed and they're using incomplete data which is throwing everything off. How can I make...
  4. CGann

    finding a value in XML file

    I've built a flash app that loads an xml file, populates a dropdown, and displays a result based on the user's selection. I'd like to be able to make selections based on a url variable. i.e Some hardcoded links below the dropdown. I'm passing the url variable to the flash file just fine, and...
  5. CGann

    making persistant variables?

    This is for a clock display- I've got a dropdown populated by an xml file that has a date/time offset for various locations (var = myLoc). I also have a function that uses the myLoc value passed from the dropdown. This function cycles every 60 seconds to call another function and get some other...
  6. CGann

    Accessing LoadVars variables

    I'm trying to access the variables outside a function but can't seem to figure out what I'm doing wrong. I've combed through google & tutorials but still can't seem to find the answer. I've got a perl script that returns the variable "serverDate" I want to be able to manipulate this string...
  7. CGann

    Getting the time from the server hosting the SWF?

    Can this be done? The problem is trying to create a time/date stamp that is relative to the hosting server. The machines accessing the file do not have outward facing int-ER-net access, only int-RA-net access. So I can't get the UTC. I have to calculate it based on the server's location and...
  8. CGann

    Can an instance/movie clip name be an array?

    I've got some text and picture areas that I'd like to populate dynamically (i.e. 4 headings with associated photos) Rather than hardcode them, can I make the instance names arrays? like movie clip name "picture[0]"? for example, why doesn't this work... picture_[4].loadMovie("images/" +...
  9. CGann

    Dynamic text not showing up

    I've got 10 dynamic text areas that I'm trying to populate with items pulled from xml. The xml is loading fine. Trace shows that the array values are being set correctly. i.e. // txtAreaNum = 0 through 9 itemNameTxt[txtAreaNum] = xmlNewsItemContent[j].childNodes[1].firstChild; trace...
  10. CGann

    Extracting portions of a string?

    Hey all, I've got string values in the format "+1000", "-07000", "+0630" etc. and I would like to extract certain parts of the string that I could then convert to numbers and perform mathematical functions on them. i.e. pulling out the "+" or "-", "06" or "30" etc. Can someone point me in the...
  11. CGann

    Seeking tutorial for making xml dropdown (combo box)?

    Anyone have a link to such beast? I've got an xml file with various countries, cities, & data. I'd like to populate a dropdown list with the country & city, and populate a textarea with data based on the choice. The latter I already know. It's the dynamic creation of the dropdown where I'm...
  12. CGann

    Setting the BG color of a dynamic text area

    I'd like to set it to black, with yellow text, but I'm having a heck of a time. Can someone point me in the right direction?
  13. CGann

    populating dynamic textarea?

    Can anyone point out what I'm doing wrong here? I'm trying to populate a dynamic textarea with values selected at random from an array. (It's going to be a simple flashcard app.) Everything is working great except the population of the textarea. I'm including the code below. Also, I'm doing...
  14. CGann

    Random number question

    Hey all, I'm trying to generate random numbers in multiples of 10 For simplicity's sake I'm only using 10, 20, 30, & 40,(right now). For some reason, my example below only pops between frame 1 and 10. Any ideas? /* example */ on (keyPress "1") { var UpperLimit:Number = 4; var...

Part and Inventory Search

Back
Top