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


Similar Posts:


ActionScript 3.0 :: Save Visual Object Data In Shared Object?

Jan 22, 2011

I'm using a loader for people to use to upload their own images for a background, and I want it to remember the image the next time they come to the page, so is there any way to save the loader data in a shared object? I haven't tried just using something like

Code:
sharedObject.data.dataName=loader

because I assume it doesn't work that way.

View 9 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 :: 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

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

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 :: Save Instance Of Custom Class With Local Shared Object?

Mar 26, 2008

I am programming a web based application with Actionscript 2.0 classes for flash 8, and I want to save user data using the local shared object.As the data is potentially rather complex I would prefer to store it in an instance of a custom class that I then stick in an array property of the local shared object data property.However, when I try to do this, if I retrieve the stored object it seems to have lost all its instance methods. If I do a for in on it, I can see the private properties to which I have assigned my data, but as they are private I cannot retrieve them.how I can store an instance of a custom class in a local shared object without it being corrupted in this way?

View 4 Replies

ActionScript 2.0 :: Using Shared Cookie To Save Frame Position Inside Movieclip?

Feb 16, 2010

i have a pie chart with clickable sectors. when you click a sector it jumps to the next frame on a movieclip and changes colour. I want to use Local Shared Object to save the frame position so when i come back to the swf later on the sectors of the pie chart are saved.

View 16 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

ActionScript 3.0 :: AIR Shared Object Shared Between Flash & AIR?

Mar 13, 2009

I created a very simple experiment to attempt to access the same shared object in Flash Player and AIR.

A Flash SWF creates a local shared object.

A AIR application (being tested from CS3 or installed) opens the same shared object.

The data does not persist. Is this theoretically possible?

View 1 Replies

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

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 :: Use More Than One Shared Object?

May 20, 2008

Just wondering if you can use more than one shared object, as my AS code doesn't act as i would think

Code:
---this one works
var submenu_so:SharedObject;
submenu_so = SharedObject.getLocal("menu");

[Code].....

View 1 Replies

IDE :: How To Flash Shared Object

Jun 24, 2009

Can I use Flash Shared Object to pass information between two different SWF files on two different pages within the same website?I know it can if the SWF files are the same. But what if they are different Flash object with different SWF files?

View 7 Replies

IDE :: Local Shared Object (LSO) On A CD-ROM?

Jan 28, 2010

Does anyone know if it's possible to save and access a LSO from an EXE projector on a CD?

Obviously the LSO couldn't be saved on the CD itself - would it be able to save the LSO somewhere on the users hard drive?

View 4 Replies

ActionScript 3.0 :: How To Clear Shared Object

May 28, 2009

I made a shared object whiteboard but I have a stupid problem with removing objects. This is function to clear shared object :

public function clearShape (so:SharedObject):void {
trace('clear:', this.name);
delete so.data[this.name];

[code].....

View 2 Replies

ActionScript 2.0 :: Removing The Shared Object Pop-up?

Aug 7, 2011

I was thinking if there was a way to remove the shared object pop up from popping up lol?Its because Im making a game where when the player saves the pop up comes up over a 100 times and it's really frustrating, so I was thinking if you could remove the pop up entirely by using actionscript?I've found a script that shows the popup:System.showSettings(1);So is there a way to reverse this script? like System.hideSettings(1); ?

View 1 Replies

ActionScript 3.0 :: Shared Object Not Writing

Jun 9, 2009

I have a client who has a video that is to only play once when a user visits. So I created a shared object to create a param that the video has been played. It works perfect locally and on my live test site. However when the client posts it on his ning website in the header it doesn't work. The strange thing is that live and locally on my server you can see the shared object and it's size through the advanced tab in Flash's privacy settings.

View 7 Replies

Shared Object In Flash For Stats?

Aug 23, 2009

I have a gane that uses shared object and keeps note of highscores and users names. So - if that is possible then I can set up teaching courses on standalone pcs can't I? ie: Databses I have in access can go in XML and the recording of position in course and results of tests can also be recorded using Shared object.Is that a good way of going about things OR should the whole thing go over to AIR and its sqlite system?

View 3 Replies

ActionScript 1/2 :: 1 Shared Object For Multiple SWF?

Sep 21, 2009

I have 2 ways of accessing info in my course files (SWFs): text-only and audio playback. I'd like to use shared object to store the user preference so it remembers the setting when navigating between screens. It stores info file but each file creates its own shared object.
 
for example:
<path to the swf>page1.swfcoursename.sol
<path to the swf>page2.swfcoursename.sol
<path to the swf>page3.swfcoursename.sol
 
Since it writes and reads the SOL file of its own folder, the user setting isn't remembered when switching pages.

View 3 Replies

ActionScript 2.0 :: Get Value From Shared Object Array

Nov 1, 2006

I am running a chat program which displays a list of users along with their status (online or offline). I wish to remove the list and display their status in their respective biographies, which are separate swfs. The usernames and status are stored in a remote shared object as an array.My question is, what is the most efficent way of extracting an individual user's current status from the SO array?[code]

View 2 Replies

ActionScript 2.0 :: Shared Object Not Working?

May 5, 2005

Does anyone knows why the output is "undefined"?:

mySo = SharedObject.getLocal("kookie");
myButton.onPress = function(){
mySo.data.nome = "dados de utilizador";

[code]....

View 2 Replies

ActionScript 2.0 :: Rewrite The Shared Object?

Nov 21, 2006

how to rewrite the Shared Object? Is it possible?

View 7 Replies







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