ShiVa3D
Flash and environment variables [SOLVED]
Alternative to ShiVa's Web PlayerFlash and environment variables
by makkar » 01 Aug 2012, 12:11
Hi,
We tried a game with the latest flash export and it didn't save local environment variables. Or maybe it didn't read them back?
I thought that saving environment variables was totally crossplatform. Isn't it the case?
We tried a game with the latest flash export and it didn't save local environment variables. Or maybe it didn't read them back?
I thought that saving environment variables was totally crossplatform. Isn't it the case?
Re: Flash and environment variables
by Fraser » 01 Aug 2012, 14:08
Just to report, xml save doesn't work in UAT1.4B Flash either with this code:
But this doesn't suprise me as Flash only has shared objects (flash cookies) which I suppose ENV variables could be stored in but a disk-like structure becomes impractical.
- Code: Select all
local sPath = "file://"
sPath = sPath .. system.getHomeDirectory ( )
sPath = sPath .. "/Library/Application Support/com.silicondroid.boborange/"
sPath = sPath .. this.K_FILENAME ( )
xml.send ( this.hXML_New ( ), sPath )
But this doesn't suprise me as Flash only has shared objects (flash cookies) which I suppose ENV variables could be stored in but a disk-like structure becomes impractical.
Fraser,
http://www.silicondroid.com
http://www.silicondroid.com
Re: Flash and environment variables
by NiCoX » 01 Aug 2012, 16:14
Hi,
Yes it is, but it's not yet implemented for Flash. We have to look into shared objects, as suggested by Fraser.
I thought that saving environment variables was totally crossplatform. Isn't it the case?
Yes it is, but it's not yet implemented for Flash. We have to look into shared objects, as suggested by Fraser.
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re: Flash and environment variables [SOLVED]
by NiCoX » 01 Aug 2012, 23:29
Ok, just to let you know this has been fixed. Environment variables are now stored in shared objects 
(available in next version)
(available in next version)
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
4 posts
• Page 1 of 1