Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / August 2005



Tip: Looking for answers? Try searching our database.

shared object data into new mc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dr_font - 23 Aug 2005 21:58 GMT
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 - 23 Aug 2005 22:18 GMT
got it...

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

user = SharedObject.getLocal("user_profile");
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.