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!

Search results for query: *

  • Users: CGann
  • 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?

    Kenneth, When the file first loads, I set a variable (gmDateLoaded = 0) then query the server. If it successfully gets the date string, it sets gmDateLoaded = 1, gets an initial value for yourDate , calculates the time difference(calcGmtMilliSecs ), then loads the rest of the script. This is...
  3. CGann

    Does CPU speed affect swf play?

    ...boxes localTimeBox.htmltext = yourHours + ":" + yourMins + ":" + yourSecs ; gmtTimeBox.htmltext = dspGmtTimeHour+ ":" + dspGmtTimeMin + ":" +yourSecs ; /* There's a LOT more to it than just this, like calculating daylight savings time, start, end, if at all, etc. But you get the idea. */ }
  4. 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...
  5. CGann

    finding a value in XML file

    That IS cool! I'm using AS2 because it has to be playable in FlashPlayer 6. Here's a bit of a followup question/scenario: Before I got your reply, I built a function "findLocation()" that checks to see if the variable "LocationID" is defined (i.e. it's length is greater or equal to 2(which...
  6. 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...
  7. 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...
  8. 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...
  9. CGann

    Getting the time from the server hosting the SWF?

    BTW: This will be running on a Unilx/linux server but server-side scripts like asp, jsp, or php are not allowed. nice, huh? Makes it fun.
  10. 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...
  11. 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/" +...
  12. CGann

    Dynamic text not showing up

    Thanks Kenneth. I did get it to work. I hardcoded the instance names and am using a switch/case to set the values. It's repetitious & ugly, but it's working... not without other problems, though (I'm looking at your info on thread thread250-1392995 regarding those) Any ideas why a multiline...
  13. 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...
  14. CGann

    Extracting portions of a string?

    Got it. "substring(1,2)" sheesh. It's always the way. I look for hours before posting a question, then find it within seconds of submitting. sorry 'bout dat. TA!
  15. 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...
  16. CGann

    Seeking tutorial for making xml dropdown (combo box)?

    Found a good one. If anyone's interested... http://www.flashkit.com/tutorials/Actionscripting/Loading_-Sas_Jaco-821/index.php
  17. 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...
  18. CGann

    Loading xml into textfield and styling it with external css

    I'm trying the above example. The XML loads fine. But I'm getting "Error loading CSS." any ideas?
  19. 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?
  20. CGann

    populating dynamic textarea?

    GOT IT!!! in my newbieness, I forgot to turn the button into a button from a "Movie Clip" Thanks for the patience all! cg

Part and Inventory Search

Back
Top