Terry,
I had spacetiles.gif in line 26 of SpaceMap.as but have now changed it to
tiles.gif
// change spacetiles.gif to tiles.gif.
This code gives each row with the same tile numbers, like this
0123456700
0123456700
public function randomize (numTiles:int):void {
var numRows:int
Hi!
Glen,
I just want to load SWF as quick as possible (apparently, the first time the
user accesses the page).
Intrinsic classes trick is good, thanks for the suggestion, but it does
not help in my case.
It's so stupid to cut all the unused methods manually to reduce the SWF
size.
There must
Hello:
I'm trying to update a dynamic text field that is being loaded with
variables brought in from a php file loaded in within a setinterval
function...for some reason though, it will not update the text field, even
though I have the it in the function...I'm, using AS2...
This is the
you may need to include a random digit to prevent caching especially
if mid is the same value each time the function attempts to load the
php page.
var rand:Number = Math.floor(Math.random() * 100)
loadVariablesNum(live_flash.php?mid=+mid+r=+rand, 0, GET);
On Apr 19, 2008, at 12:43 PM,
I'm starting to get somewhere. The problem I'm running into is that the
script will reload so fast for a while, and then it seems to timeout.
Here's my code. Can someone please tell me what I'm doing wrong?
~~
rand = Math.floor(Math.random() * 100);
fl_url =
The variable textbox are both named t1s. The value of t1s is a number.
You can see it at
http://www.thextremepaintballleague.com/live_beta/live.php?mid=434 (it's the
team on the left's score).
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabino
What does the variable t1s look like?
I notice that the text box is also called t1s.
- Original Message -
From: Scott Wilhelm (HireAWebGeek.com) [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Saturday, April 19, 2008 1:43 PM
Subject: [Flashcoders] Reloading Dynamic
somehow i don't think your sendAndLoad is correct. does the value for
mid change at all when the interval is reached?
until then, this code should be able to update the textfield as the
output from the php changes.
function reloadPHP() {
loadVariables(fl_url, _root);
}
rand =
8 matches
Mail list logo