ActionScript 3.0 :: SharedObject Data--> Where Is It On The User's Harddrive
Oct 26, 2010
I've looked on Adobe's Flash Player guide and in the official docs, but it's not mentioned. I'm creating a game that saves your progress to the local drive using SharedObjects and want to reassure users about what's going on
View 3 Replies
Similar Posts:
Feb 12, 2010
Basically im building a flash based drum head designer for users to upload their own image, resize, add text etc, then it be uploaded to a web server when they complete the purchase.
I have all the server side part working, able to send a 2800px square image and compress it into a 1.5MBish jpg.
the problem im having is for the user to upload an image into flash. I've seen prototypes where it uploads the image to the server, then flash loads that image, then upoads the completed one, but this uses alot of transfers.
What I hoped to achieve is something similar to the system on the [URL] website where the image is stored in the cache first. I have spent hours looking for resources on importing user images into flash without uploading first.
View 2 Replies
Dec 16, 2009
I'm working on a project using AS3 and timeline coding. How to save user information and score. When I run the movie and complete form and answer quiz questions, information is displayed on closing section, but it doesn't save.
Here are the main sections by label:
// SECTIONS
Introduction (labeled "intro") -- contains directions
Information (labeled "inf") -- collects user information
quiz-questions (25 questions -- from q1 to q25) -- presents questions
closing (labeled "closing") -- displays user information plus score on quiz.
Here is the code by section
// SECTION INTRODUCTION
Section "intro" --- I have one button that goes to "inf" section
stop();
intro_bt.addEventListener(MouseEvent.CLICK, gotoInf);
function gotoInf(evt:MouseEvent): void{
[Code] .....
View 2 Replies
Oct 29, 2005
i want to create a custumaizable interface that utalises the shared object code.for an over viewi am going to have a series of movieclips that contain navagation elements , that when draged into the order they want will give the user a option to save that layout/arangment .. so everytime they log in its the same ..
View 10 Replies
Aug 29, 2009
I'm working with AS3 with timeline code. I would like to save date and time a user took a quiz. This information will help check when a user took a quiz. I can see the date and time as I want, but it isn't saved. SharedObject is not saving date and time. Here is my code. How can I do this?
var mySharedObject:SharedObject = SharedObject.getLocal("sampleCode", "/");
var today_date:Date = new Date();var thismonth:uint = today_date.getMonth();var thishour:uint = today_date.getHours();var thisminute:uint =
[Code].....
View 1 Replies
Sep 27, 2011
I have this code for sharedobject:
var mySharedObject = SharedObject.getLocal("republicofcode");
mySharedObject.data.clientID = my_vars.clientID;
mySharedObject.data.question = my_vars.question;
[code].....
View 1 Replies
Aug 30, 2009
I'm working with AS3 with timeline code. I would like to save date and time a user took a quiz. This information will help check when a user took a quiz. I can see the date and time as I want, but it isn't saved.[code]...
View 1 Replies
Nov 20, 2009
if I need to make several entries, or can I put an array into SharedObject.data.
View 1 Replies
Jul 3, 2009
Will sharedobject data be gone after windows shutdown?
View 2 Replies
Aug 21, 2009
Is it possible to set just one property of a remote SharedObject to clear itself? I understand that calling "clear" on an RSO will cause ALL properties to fire the "clear" event and clear out; however, what I want to do is clear out the data in a specific property so that the "clear" event/message is fired (and not the "change" one since I already have some actions in that).
I suppose I could just set the property to an empty string and put guard code inside my handling of the "change" event/message, but, I'd rather not do that.
View 7 Replies
Oct 22, 2006
I've created a SharedObject on My Computer, saved it in a movie, and ran the movie again and data came up well enough.My problem is, I want to delete the SharedObject saved on my hard-drive. I currenly have Flash 8, and Flash MX 2004 uses the .sol extention, but I can't find the SharedObject anywhere on my computer. With the release of Flash 8, did they change the SharedObject file extention? Is there a way to set up the path to which SharedObjects should be saved in your script file? The second parameter of the getLocal() method, stores a URL. Is that the same as a directory on your computer?
View 3 Replies
Oct 13, 2011
I cannot find and information on how to make a dynamic sharedObject data property.
Simplified Code for what I need/want to do
var iData:SharedObject = SharedObject.getLocal(userInfo);
var dataArray:Array = ["a","b","c"];
var property:String = "prop"
iData.data.this[property] = dataArray;
That is what i was thinking.
It doesn't matter how the property is created, just that it needs to be done on the fly.
View 2 Replies
Mar 2, 2010
I'm attempting to view Shared Object data in my FMS Administration Console, but I consistently get the error:Object encoding error; terminating connection.I'm using Flex 3 with FMS 3.5, I'm positive that everything is using AMF3. The Shared Objects do seem to work. I can connect to the shared object through another instance of the app and pull saved data but they are not inspectable in the administration console. Also,very often when a new instance connects to the server I get a RangeError and all of my Flash Player instances crash.
View 9 Replies
Jul 3, 2011
I want to send data from Red5 to Flex using remote sharedobject.
my Red5 code :
this.addScheduledJob(5000,new IScheduledJob() {
@Override
public void execute(ISchedulingService jobs0)
[Code].....
it doesn't shows error or warning, but my flex function doesn't work, even Alert in my function not working.
View 2 Replies
Feb 18, 2012
I've installed developer version of Flash Media Server 4.5 and trying to get remote object, but no matter how I call my object all i get is this error .I've rad configuration guide and it told me that I should set StorageDir for shared objects, enable RPC (<RPC enabled="true">) and allow shared object (<Allow>users</Allow> in <RPC> - <SharedObject> tags)
View 1 Replies
Feb 8, 2011
I'm trying to create a FMS application that is broadcasting some data across connected clients using SharedObject. I want only the Application to be granted to set SharedObject properties.
[Code]...
View 4 Replies
Jan 18, 2012
i am looking for some kind of library which does CRUD easily using PHP and MYSQL.My goal is to make some app in flash AS3.0 , where i will be receiving some data from user and storing in data base , and perform CRUD opertaions. I dont want to be so much involved in writing php and sl query.My scenario is:
Data types : [ like user_profile data, etc]
add under data types 1 to many fields with various types..
Database tables and realtions etc should be done by my DREAM library, then user when select a Dtat Type, he is presented with related fields to fill up data.
I will be using Flash AS3.0 ( Builder or IDE ) to perform .If only i can find some php library i think AMFPHP can connect flash with php
View 2 Replies
Apr 21, 2010
I am trying to get hold of Adobe CS4 but not sure of the best way to do this. I have an old Dell laptop which won't be able to hold this. I was thinking of getting a cheap refurbed mac or alternatively getting an external hardrive to use with CS4 loaded onto it.
View 1 Replies
Feb 5, 2011
I used the 'Advanced Slideshow' template in Flash CS5 to create a photo gallery. The images in the template are not placed inside of the project but are separate files (the photos). I tested it on my harddrive and it works perfectly. Then I uploaded it to my website and it doesn't show the images. The folder structure is the same as it is on my harddrive, all the files are the same.
View 9 Replies
Mar 13, 2010
How to save ByteArray to HardDrive from Flash swf?
So... I have a generated if flash ByteArray Now I want to save it to Hard Drive.
View 2 Replies
Sep 15, 2009
I have created a small flash application. There are swf files, folders with xml files and the base exe file.The application has been burned onto a CD and will be replicated. The client is concerned that someone can take the CD, copy the files to a harddrive and then duplicate the CD themselves, possibly selling it.How can a CD, with flash content be replicated and not allow files to be copied
View 1 Replies
Feb 27, 2005
first off is this possible?personally, I believe it is if I can some how set up my computer to be a server.Basically what I want to do is have a flash document on my website access/create text files on my hard drive.I know I need something along the lines of XML or PHP can anybody tell me what the best things are to start with?
View 2 Replies
Nov 10, 2009
How one would go about saving a bitmap image of movie clips to the hard drive?
View 3 Replies
Mar 5, 2012
The player buys engines these are added to an array called _model.purchasedEngines. During save i'm trying:
[Code]...
View 14 Replies
Nov 19, 2009
I have a swf that loads in other swf files and interacts with the loaded swfs, everything works great when I hit ctrl-enter to test movie from from flash, but if I go out and doubleclick the generated swf on the harddrive at first it appears to work correctly, but some of my class methods do not function properly, or throw errors claiming there are null object references. If I compile to an exe file instead of swf it works fine as well.I am nearly 100% positive this is not a code related issue, as I said the only time I run into the problem is when I doubleclick the generated swf to run it.
View 4 Replies
May 9, 2011
Gives me this error:
Error: Error #2134: Cannot create SharedObject.
at flash.net::SharedObject$/getLocal()
at as3_shared_objects/showVar()
[code]....
View 2 Replies
Jan 23, 2004
I made this small shop that uses Flash to collect data from the user (and what they want to buy) and PHP to mail the data in a confirmation e-mail. it's not working
View 1 Replies
Aug 24, 2010
I've got to create a form with 2 fields (Name, email adress) that users can type their information into, but i then need to collect the data and store it somewhere (so i would then have a file showing everyone's names and email addresses that have been entered).I have quite a good knowledge of flash front end development but don't know alot about hooking stuff up to xml/php whatever
View 1 Replies
Mar 21, 2012
I am trying to save user data and I keep on coming up with the same problem. The problem code is highlighted red in the ITEM.as file. The problem is that when I update the variable it updates the savefile also, when it should not! I do not have a clue what is wrong because I am putting the traces for the savefile in one right after the other so the code can't be executing elsewhere right?
SAVE.as
ActionScript Code:
class Save_mc extends MovieClip {
var nSaveAnim:Number = 0;
function onEnterFrame() {
[code]....
View 0 Replies
Jun 26, 2011
I want to make a small application that allows the user to go through XML data thats put in a XML file. To make it more organized and so I can use the code later I also want to use classes and the MVC method.
All I want to have the user interact with is:
A textbox
A back button
A forward button
The app should load up the XML file in an array and display the first line in the textbox, and then the user can go through each line with the forward/back buttons.
View 1 Replies