PDA

View Full Version : nead little help with sharedobject;



Deril
November 3rd, 2002, 04:35 AM
Hello,


I nead little help, I got one flash sample and cant figure out where object is storet..

mydata = sharedobject.getLocal("database");

?: how can i reach object database, alter it .. or creat my own..

pleese help me, I nead it very much, and cant figure it out by myself... :*(


thanks.

Deril
November 3rd, 2002, 06:17 PM
well it was stupid question..
all i neaded to do is to read a bit about it..
heh.. flash cocies.. naw I doing the work tith XML.

Dravos
November 4th, 2002, 10:55 AM
If you want to be able to edit the data after setting the sharedobject path

mydata = sharedobject.getLocal("database");

retrieve:

name=mydata.data.name;

set:

mydata.data.name=name

when setting flush:

mydata.flush()

though preferably only do this when you need to as to many flushes make your computer growl at you :)

Other options include a database application like mySQL with a php front end to retrieve the data

Deril
November 9th, 2002, 05:59 AM
mysql.. .. oh..

so much to learn.. ...

it will be my next step I gues.. wright naw I handled a simple catgory tree with XML.

... ... so little time.


GL.