Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: reload variables
From: Alger, Scott
Date: Mon, 11 Dec 2000 19:02:04 GMT

have the replay button onload a copy of the movie with a new name or
random #

scott

-----Original Message-----
From: avex
Sent: Fri 12/8/2000 9:42 PM
To: flasheratchinwag [dot] com
Cc:
Subject: Re: FLASH: reload variables

Hi Muzak..

thanks for your reply.......
but it isn't working quite right....
I put this code in, however it can't find the file anymore...
I get the error:
Error opening URL "2102"

so it seems like it is loading the random part.....but not the file....
Is the syntax correct? I tried messing with it but no luck...

but i feel this could be the answer i was hoping for!
I am getting desperate......even to the extent of trying to learn xml
and do
it that way..

sighhhhhh

chad


> I thinnk it has been addressed here a few days ago, might have been
another list though.
> Anyway, if you add a random number to the file you're loading, the
browser
will consider this a new file every time.
>
> loadVariablesNum ("highscore.cfm?randomVar="+random(10000), 0);
>
> Just saw it on another list :-)
>
> hth,
> Muzak
> ----- Original Message -----
> From: "avex" <listatobjekt [dot] com [dot] au>
> To: <flasheratchinwag [dot] com>
> Sent: Saturday, December 09, 2000 2:26 AM
> Subject: FLASH: reload variables
>
>
> > HI everyone....
> >
> > I just made my first little flash game and was very
excited.........but
then
> > I discovered by High Score Feature doesn't work.
> >
> > In the first frame it does a load variables command
> > loadVariablesNum ("highscore.cfm", 0);
> >
> > From a text file and imports the highest score, name, and email.
> > If you play the game and get a high score you enter your details and
it
uses
> > geturl to post these to a database.
> >
> > You then click "play again", it goes back to frame 1 and SHOULD load
the
NEW
> > variables with the new high score from the database.
> >
> > THe problem is that it doesn't insert the new variable data into
flash
so it
> > still displays the old high score.
> >
> > Is there anyway to flush out old variables and to force flash to
load
new
> > variables in with the Load variables command?
> >
> > thanks for you help...
> >
> > chad


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]