Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Re: [Flashcoders] using SharedObjects at same time in different
   movies

Re: [Flashcoders] using SharedObjects at same time in different
   movies

2004-02-16       - By FODOR

 Back
Try _global.so = SharedObject etc...

(16/02/04 15:26) Martin Fleck wrote:

>
> hello list,
>
> i have some problems using a SharedObject at same time in different
> movies. When updating one SharedObject, the other gets not updates. Does
> anybody know why this happens?
>
> Sample code from "movie1.swf ":
>
> this.so = SharedObject.getLocal ( "test ", "/ ");
> this.onMouseDown = function () {
> this.so.data.value = random (999);
> this.so.flush();
> };
>
> Sample code from "movie2.swf ":
>
> this.onMouseDown = function () {
> this.so = SharedObject.getLocal ( "test ", "/ ");
> };
>
>
> To reproduce this problem:
>
> 1) open movie1.swf
> 2) open movie2.swf
> 3) click into movie1.swf, the SharedObject gets written with a random
> value
> 4) click into movie2.swf, the value is visible in the SharedObject
> 5) click again in movie1.swf, a new random value was written
> 6) click again in movie2.swf, the SharedObject has still the old value!
> Why?
>
> Thanks for your help!
>
> --
> Martin Fleck
>
> Powerflasher GmbH | Tel: +49(0)241 91880-230
> > Drehturm < | Fax: +49(0)241 91880-239
> Belvedereallee 5 | Mail: mf@(protected)
> D-52070 Aachen | http://www.powerflasher.de
>
>
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104340
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>

-- ---- ---- ---- ---- ---- ---- ---- ----
Pascal FODOR

-- ---- ---- ---- ---- ---- ---- ---- ----
fodor@(protected) // flash@(protected)

******************************************
Visit: http://fodor.liane.net

Flash AV Players can be seen at:
http://fodor.liane.net/flash_AV_players/
******************************************














=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104341
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)