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...
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...
...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. */
}
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...
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...
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...
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...
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...
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...
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/" +...
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...
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...
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!
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.