Groups | Blog | Home
all groups > flash data integration > august 2005 >

flash data integration : shared object data into new mc


dr_font
8/23/2005 8:58:55 PM
I'm having trouble getting data out of my shared object into a new movie
clip... it works great withing the main clip, but keeps returning an
'undefined' in my newly loaded clips... here is my sharedObject code on my
first frame of my _root MC


.................................................................................
......................................

user = SharedObject.getLocal("user_profile");

if (user.data.verb1 == undefined ){
_root.gotoAndStop("form");
} else {
propernoun = user.data.propernoun;
verb1 = user.data.verb1;
_root.gotoAndStop("done");
}


...........................


This is how I populate the dynamic text box with the sharedObject data... but
I want it to use the same sharedObject data

name = "Welcome " + propernoun;
dr_font
8/23/2005 9:18:11 PM
got it...

seems all i had to do was add to the actions layer...

AddThis Social Bookmark Button