Actionscript 3 :: Define Shared Object Size?

Jul 3, 2011

I want to let the user save some bigger data in a shared object by choice. Is it possible to define the size the user needs to allow?
I'ld like to set the minimum to at least 10 MB to have some extra space for future usage.

View 1 Replies


Similar Posts:


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

IDE :: Define A Width And Then Auto-size The Height?

Sep 10, 2005

is it possible to define a width and then autosize the height?

View 3 Replies

ActionScript 2.0 :: Define Area (size) For My_mc

Sep 1, 2006

I have a movie clip, which I want to move inside my stage.

View 2 Replies

Flash :: Shared Library To Minimize Size Of FLA File?

Apr 6, 2010

In a project we use large flash FLA file with lots of graphic assets, but the actual data that is changed is just in a few symbols. Sometimes it is not very efficient to transfer the whole FLA file that comes up to 20MB now.

I was thinking about using Shared Libraries, but it seems that, even if you import external library, it still copies the whole assets into the destination file, but does not link it from external file. Consequently, size of the FLA file still remains the same.

Is there any way to split FLA files into few separate in order to minimise size of the most frequently updated file and keep all unchanged data in another file?

View 2 Replies

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 :: Define Boundary For An Object

Apr 26, 2010

Basically, the problem I have is that I'd like to limit the predators to their own hunting environment, ie. Polar bear to ice, killer whale to sea so that the penguin has at least some chance of avoiding either predator. My initial idea was to define a boundary (apologies if this isn't the correct terminology) around the ice, thereby achieving what I'd like but I have no idea how to do this. Am I thinking about this too simplistically? Also, I would like the killer whale to retain its ability to swim under the icebergs. Note: As you can probably tell, the killer whale is on the lowest layer below the sea and then the ice is on a layer above the sea.

View 0 Replies

ActionScript 3.0 :: Define A Singleton Object?

Dec 4, 2010

How can I define my own global function which will be accessible throughout the whole package or better, program? Alternatively, how can I define a singleton object? Should I use static?

View 3 Replies

ActionScript 2.0 :: Define A Dynamic Object Name?

Apr 6, 2006

i am trying to define a dynamic object name.. here my code, but i guess it is wrong.

PHP Code:

i = 0 
var knobListen = "knob"+i;
var knobListen:Object = new Object();
};
//add the event listener to the knob
myKnob_mc.addEventListener("onRotate", knobListen) 

View 3 Replies

Flash :: Define Boundaries For A Drag-able Object?

May 18, 2011

I'm making an image revealer in flash, but I can't wrap my head around how to constrain the slider bar to the area_mc. Mainly in the mouseMoveHandler. Can someone please give me some pointers?[code]...

View 1 Replies

ActionScript 2.0 :: Define Layer In Which New Object Would Be Crated?

Mar 4, 2006

I intended to write a script that would create a dynamic guided character motion. The drawing API tut gave me an idea how to do it. I thought I'll write a script that would draw a line (or a curve) and would put it into guided motion layer. So I just wrote it by the tutorial and put it into guided motion layer. Yeah, that was naive.So how do you define where (layer) the script would draw curve/line? How do you define the layer in which the new object would be crated?

View 7 Replies

ActionScript 3.0 :: Define Alias For Object In Code?

Aug 13, 2010

Don't know if alias is the right word here but I would like to replace a long target path with short variable to make my code more readable/managable.So I have the following (working) code but it's getting really complicated :

Code:
function scaleUp(e:Event)
{

[code]......

View 3 Replies

ActionScript 3.0 :: XML And Flash Portfolio - Define The Size Of Thumbs / Thumb "box"

Nov 16, 2009

I find I learn best when trying to follow code in examples, so I downloaded the xml loader portfolio example from the guides. Now, I follow the basic idea, but I am trying to figure out how to define the size of my thumbs/thumb "box". When I resize the mc in flash, the thumbnails are distorted to its proportions, but I can't seem to figure out where their attributes are on the stage or in the code.

[Code]....

View 1 Replies

ActionScript 3.0 :: Changing Alpha Of Object - How To Define Property

Aug 15, 2009

I am very new to Flash and I have the following script:
mouseInterval = setInterval(changeAlpha,10);
function changeAlpha(){ fader_mc.alpha = Math.round(root.mouseX/550*100) }
This is simply to change the Alpha of my object as I change the X value of the mouse cursor. I keep getting the following error message:
1120: Access of undefined property mouseInterval

View 5 Replies

Actionscript :: Flex - Use A Variable To Define The Name Of An Instantiated Object?

Apr 20, 2010

Essentially this is what I want to accomplish, however it doesn't work like this. Is there any solution: - The problem is I can't dynamically name a new object..

import views.printingView;
public function initComponent(o:Array):void{
SomeObject::Array = o;

[Code].....

View 1 Replies

Flash :: Reference To Object - Nor Tracing A Value Define Outside The Function

Mar 18, 2011

I have object in which I have rectangle on one layer and following code on another layer:

[Code]...

And Object(this).play() or checking for current frame doesn't work, nor tracing a value define outside the function. How shall I reffer to the movieclip that events is called from?

View 2 Replies

ActionScript 3.0 :: Define A Field Inside A Value Object With Limited Options

Apr 22, 2011

I have value object that one of its field is meant to be filled trough a dropdown chooser. I'm very new to flex so I'm not sure what is the best way to maintain this field.
 
Should I make it a simple string in the value object and a table in the DB, and each time I have the dropdown to send a request to read it from the DB? That what I would have done with JS but in flash I thinkl it might be better to somehow keep that information in the flex app instead of keep asking the server to send the names every time.
 
The field has about six options and it is choosing htat field happens a lot during work with the app.

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

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 :: Flash8 Reading From An Outside Shared Object?

Oct 30, 2009

I was trying to obtain data I wrote using a sharedobject location from one application on another, but it didn't seem to work(used same machine). So I take it local stored data is only allowed to be accessed/manipulated from the application that initially wrote data to it?

Is this is for security reasons? Is there anyway around this, I want to have one application read variables from another...

View 1 Replies







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