Professional :: Shared Objects - Save The SOL File To Desktop

Dec 28, 2011

I am a psychology student and have the need to edit a flash game for use in a project. Having no programming experience, this is proving to be an issue! Basically I contacted the authors of a study for a copy of a driving game that records data to an external file (I think this is where shared objects come in?). Unfortunately, I cannot find the output file anywhere on my machine (I am running Windows 7 - have looked in the appropriate directories). After downloading a trial version of CS3, I have edited the screens I needed but have not been able to understand the code. I have located the code for the shared object and was wondering if anyone know how to make it save the SOL file to my desktop. Here is the code I think is appropriate:

[Code]...

View 30 Replies


Similar Posts:


ActionScript 3.0 :: Save To File To Desktop?

Nov 7, 2008

I am trying get one of my buttons to link to a PDF file whichwould not open, but would ask the user where to save the file (i.e.to the desktop), is this possible?

View 6 Replies

ActionScript 3.0 :: Make A Flash Game Have Save Files Using Shared Objects?

Dec 13, 2009

I'm trying to make a flash game have save files using shared objects and I'd like to keep all the data in one file with several children.

The three things I'd like to do are:Check whether the file exists (create a new file if it doesn't), then check whether to child named with text in an imput box exists, and if it doesn't create a new file (using the text in an imput box), and then set the value of that node to 0.

Then later I'd like to change that node to another number (the easy part).I'd also like there to be a way to disable the shared objects (incase the user doesn't allow shared objects).I've tried to do this myself using a few tutorials, but I could get it to work.I couldn't use the text in the input box to name the child,and I couldn't check the size of the child node to see whether it existed or not.

View 2 Replies

ActionScript 2.0 :: Save A File To Users Desktop

May 3, 2006

Basically I have a website and I want to give the user the option of downloading wallpapers that they can use as their desktop image.

View 3 Replies

ActionScript 2.0 :: Save The Local Shared Object(.sol) File At A Desired Location?

Jun 8, 2004

!--Does anyone know if it possible to save the local shared object(.sol) file at a desired location or to embed it within the flash movie?

2--Is it possible to create an image file at runtime from a flash projector file?

View 1 Replies

ActionScript 2.0 :: Shared Objects In A Projector File On A MAC

Jul 23, 2009

Can I create a "MAC" projector file that can use the shared object commands of the original .fla? It seems the projector does not use the shared object commands on the mac side but does if I create a windows projector. I am looking to create an autorun hybrid (Mac and PC) with shared object functionality.

I am using CS4 on a Mac. Latest OS

View 0 Replies

ActionScript 3.0 :: Getting File List Of Shared Objects?

Nov 28, 2011

How do you get the list of file names of shared objects? I'm trying to make a file navigator

View 1 Replies

ActionScript 2.0 :: Save The Local Shared Object(.sol) File At A Desired Location Or To Embed It Within The Flash Movie?

Jun 8, 2004

!--Does anyone know if it possible to save the local shared object(.sol) file at a desired location or to embed it within the flash movie?

2--Is it possible to create an image file at runtime from a flash projector file?

View 1 Replies

Flex :: Recording Shared Desktop And Webcam?

Sep 14, 2011

I want to save published streams on my application server, so I can use the videos to create a webcast presentation later.P.S. I may be sounded like I already have an application up and runnning, but I don't. I'm at the planning phase at the moment and trying to decide what/which technology to use.

View 2 Replies

Actionscript 3 :: How To Save Objects To File

Oct 26, 2011

What I want? Save my Project in a Editor created with Air Application

What is to save? Object -> Type ArrayCollection -> Contains -> Objects from own classes...

What was my first try?

var stream :FileStream = new FileStream();
stream.writeObject(myArrayCollection);

[Code]...

Now the Problem... the fileStream contains my MyClass2 objects with the var "title" but there is no children ArrayCollection... the console don't shows the traces :-/

View 1 Replies

Actionscript 3 - Save Data In Adobe Flash Desktop App?

Dec 19, 2010

I am making a desktop Flash application (AS3). It provides to users an opportunity to save and open their projects.I've used FileReference to open project file

var fileRef:FileReference = new FileReference();
var ourTypes:Array=new Array(new FileFilter("Map Editor type (*.xml)", "*.xml"));
fileRef.browse(ourTypes);

and use file content by using fileRef.data.

var mainXml:XML;
mainXml=new XML(fileRef.data);

User must have an opportunity to add some data in this file (not only read). How can I save new data in the same file?

View 1 Replies

Actionscript 2.0 :: Creating Links That Save Files To Desktop?

Feb 2, 2010

I've been developing a Flash cd-rom for a client, and a particular page in the movie has an "press room" that will contain links to images and pdf's located on the cd-rom itself. I'm familiar with creating buttons, and set up a link like this on the button.

Code: Select allon(release){
getURL("images/feat_prct.png");
}

Obviously, it's a pretty simple link that brings the image up in the browser. That's great and all, but I'd really like it to bring up the option to save the image somewhere. I know that a reasonably smart person could just click on it in the browser and either pull it to the desktop or "save as", but I'd like to eliminate that step for them. I'd also like to be able to create buttons that link to pdf files in the same way.

View 3 Replies

Professional :: Local Shared Object (undefined) - Retrieve Data From A SOL File

Mar 14, 2011

I am trying to write a piece of code to retreive data from a SOL file : this is my code :[CODE]//get External interfaceimport flash.external.*;

[Code]...

How can that be ? what can I do ? What am I doing wrong ?(bear with me, as I said, I'm kind AS newbie).

View 4 Replies

Professional :: When Save The File As A .swf File To View It In Browser The Video Gets Really Big?

Apr 15, 2011

When i save the file as an .swf file to view it in my browser the video gets really big (sized the flash document 250x240 px) . How can i easily control my flash video sizes?
 
another thing: When im doing a video and work with things that are outside of my white document (in the gray area) for instance things that are to be faded into the document and so on. These things also show up in outside of my video when i view it in my browser.

View 1 Replies

ActionScript 3.0 :: Save XML In Shared Object?

Apr 10, 2010

Is there a way in which xml can be saved as shared object?

View 1 Replies

ActionScript 2.0 :: Save MovieClip With Shared Object?

Jun 6, 2011

i`m going to attach movie from library i need when i click save button and close swf and run again the movieClip are loaded

View 3 Replies

ActionScript 2.0 :: Use The Shared Object To Save The _x And _y Positions Of Several Attached MC's

Mar 4, 2004

I am trying to use the shared object to save the _x and _y positions of several attached MC's. The attached MC's have all been given a variable name and attached to a dynamically created MC called "world".I need to loop through all of the MC's in _root.world to save their postions to the shared object. Here is what I have tried,.... when I trace so.flush.. it traces to true but the object postions are not saved.......

Code:
_global.initSo = function() {
_global.so = SharedObject.getLocal("marinaSave");
// if the SharedObject object created a new shared object

[code]....

Am I using the for... in method correctly to loop through the MC's in _root.world and save their values?

View 4 Replies

ActionScript 3.0 :: Shared Object - Save Without Pushing Button

Sep 14, 2010

I'd like to get the input text in the SWF to save on exiting the SWF without pushing a button. Here's what I have so far that incorporates pushing a button

Code:
var savedstuff:SharedObject = SharedObject.getLocal("Cookie");
btnSave.addEventListener(MouseEvent.CLICK, SaveData);
function SaveData(MouseEvent) {

[Code]....

View 1 Replies

ActionScript 3.0 :: Shared Object - Save And Load Color

Feb 9, 2011

I wanna to make some flash for save and load color...
Click button to change button color and click again return to old color and
Save lase color
When run project to show last save color

View 7 Replies

ActionScript 3.0 :: Shared Object - Save And Load Button?

Feb 11, 2011

i want to create some 1 button for save and 1 button for load all shared object in my projectthis is my code for save and load and i want to create 1 button for save and 1 button for load last check point

ActionScript Code:
import com.dVyper.utils.Alert;
import flash.events.MouseEvent;

[code].....

View 0 Replies

ActionScript 2.0 :: Shared Object To Save Multiple Data

Dec 3, 2011

I am new to ActionScript. I am designing a calendar with schedule just like outlook calendar. I have 30 or 31 small text boxes for each month. I would like to save data in the text boxes so that data remains in that even when the file is closed. I used the following code and it works fine.

[Code]....

My question is, I have totally more than 360 text boxes for 12 months. How can I save all data using shared object? I tried loop, Array and function with the above code. But it did not work. You can also tell me if there is any other way to save data using PHP MySQL or ASP? If so how to do that?

View 9 Replies

ActionScript 3.0 :: Save Load Game Using Shared Object?

Dec 29, 2011

im creating a side scrolling game project in flash as3..

and one of the requirements is saving and loading the game.

this is what i wanted to do.

the game can save the name, score, and the specific location of the character,

or maybe im thinking of a checkpoint or a savepoint.

ive read some articles about shared object, and im thinking on using it, but i really cant get it.

View 5 Replies

Professional :: Save .fla File As Animated Gif?

Jan 15, 2010

still have the button link work? And to keep the file size low?...from .fla file to anim gif.....[URL]

View 1 Replies

ActionScript 3.0 :: Make A Shared Object Save A User Name For A Scoreboard?

Jun 22, 2011

how can i make a shared object save a user name for a scoreboard it works like this i made a mc that is the scoreboard and the scoreboard has text boxes in it and the game gets a popup when it starts with a editeble text i want that text to save on to a text box in the scoreboard mc how can i do that?

View 3 Replies

ActionScript 2.0 :: How Does The Shared Object Work - Get A Save And Load Function

Sep 21, 2006

I have developed a game in flash and I am trying to get a save and load function so that the user can come back to the game that they were playing. Can this be done using the Shared Object....

View 2 Replies

ActionScript 3.0 :: Save (and Load) Bitmap To Local Shared Object

Dec 8, 2009

I'm playing with Local Shared Objects, and I was able to save and load simple data types like strings and integers. Pretty cool.

I want to Save/Load a Bitmap Object but I'm having problems. I think I got a Bitmap Object to save but when I loaded it back in, it was basically a blank bitmap. I located the actual .SOL file on my computer and opened it up. It had some basic Bitmap info like scale, rotation, visible, width, height, etc, but NOT the actual bitmap.

So I realized that I need to be saving/loading a BitmapData object instead of just Bitmap. BitmapData holds the actual bitmap pixels, I think. Anyway I saved out a BitmapData object. When i tried to load it back in, I get a type coercion error: "Type Coercion failed: cannot convert Object@df355b1 to flash.display.BitmapData". I dont get it because this error didnt occur for Strings, ints, or Bitmap Objects. Whats happening?

Also, I looked again at the .SOL file after saving out the BitmapData object, And I dont see any pixel data there. The bitmap I'm saving is 800x800 so the .SOL file should be pretty big but its just a tiny file so I know the pixels havn't been saved properly.

Here is the code I'm using (Simplified - error handling removed, etc)

Code:
// save
var mySo:SharedObject = SharedObject.getLocal("mysharedobjecttest");
mySo.data.testA = 14;
mySo.data.testB = "hello this is a test";

[Code].....

View 14 Replies

Professional :: Save Data Inside The SWF File?

Aug 28, 2010

As part of a project I am working on, I would like to know if it would be possible to store some data in the actual flash file.
 
Let me make this clear now... I DO NOT WANT TO USE COOKIES!
 
I need to be able to save some data to the SWF itself, NOT to the local computer.
 
To be more specific, I need to store a set of URL's, but they also need to be added by the file, so...
 
Lets say i have a button that when you click, will make a text box appear, and you type in some urls such as:
 
[URL]
 
I then have a button that says "Save" and this will save these 3 URL's. I then would have the SAME SWF display these URL's (these will be URLs of Images). The important part is, these 3 URLs MUST BE READ by everyone who views the swf afterwards, so if I were to enter some URLS of Images, when someone else views the page, they will see the images that i entered. This is why it cannot be a cookie, as their computer will not see my cookie.
 
Even if the data cant be stored in the SWF itself, i will need some way to load this information where ever the swf is viewed.

View 2 Replies

Professional :: Why Cant Save A Cs4 File As Cs5 In Adobe Flash Cs5

Dec 22, 2010

When ever I try to save a cs4 file as CS5 the adobe flash cs5 will stop responding for no reasons
 
also, some times and only for some files when I save the cs4 file as uncompressed cs5 and then save that uncompressed cs5 to normal cs5 the conversion works and some times not.
 
ofcourse any of the cs5 files cannot be saved as cs3 or cs2 for no reasons..
 
 p/s: microsoft office can be saved to any previous versions..

View 1 Replies

Professional :: Cannot Save CS4 File As Macromedia Flash 8

Mar 10, 2011

Is it possible to save a cs4 or cs5 file in the format of Flash 8. If so how, and can someone possibly do that for me if I send them the file.

View 1 Replies

Professional :: Save A File As A Clickable Image ?

Oct 18, 2011

I'm new to Flash (CS5.5) but have self taught quite a bit. I created a simple "slide show" model of images which fade in and out to other images—it's a holiday greeting card. How do I save/export/publish (not sure of the correct terminology) this .fla file so that my end result is an image that I can insert (as an image) into an email (outlook) and send. The recipient should be able to click on the image and activate the movie.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved