# Pom I need your help

**URL:** <https://forum.kirupa.com/t/pom-i-need-your-help/1016>\
**Category:** Uncategorized\
**Created:** [August 6, 2002, 3:54pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016 "2002-08-06T15:54:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BladerX](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@BladerX](https://forum.kirupa.com/u/BladerX)\
**Post date:** [August 6, 2002, 3:54pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/1 "2002-08-06T15:54:31Z")

</div>

I was looking at your SharedObject tutorial, and I need some help.

I can’t get flash to go to a defined part of my movie if it finds the sharedObjetc, what should I do? I’m not that good at Actionscript and need this ASAP. Please helpme.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2002, 9:07pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/2 "2002-08-06T21:07:56Z")

</div>

Well, what’s the matter? Everything’s in the tute… You test the value of your shared object, then you do whatever you have to do… Read it once more.🙂

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 12:44pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/3 "2002-08-07T12:44:31Z")

</div>

Ok, I understand your tutorial clearly, but the part I’m stuck in is, that I want the movie to do the second step automatically, for it’s meant to play the whole movie only once, and every subsequent time it must bypass it and go directly to the ending.

Check the code for the process here:

1st frame:

user = SharedObject.getLocal(“turismo2”);

if (user.data.name == undefined){  
\_root.gotoAndPlay(“animacion”);  
} else {  
firstname = user.data.firstname;  
name = user.data.name;  
computer = user.data.computer;  
\_root.gotoAndStop(“done”);  
}

For the second step rather than making a form, I made a MC and attached this part of the script:

onClipEvent (enterFrame) {  
user.data.name = 1;  
user.data.firstname = 2;  
user.data.computer = 3;  
user.flush();  
\_root.gotoAndStop(“done”);  
}

Now, can you tell me what’s wrong, why it aint working?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 4:12pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/4 "2002-08-07T16:12:41Z")

</div>

if you tell me what’s not working…

And did you test your fla online?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 4:12pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/5 "2002-08-07T16:12:43Z")

</div>

if you tell me what’s not working…

And did you test your fla online?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 4:46pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/6 "2002-08-07T16:46:22Z")

</div>

I tested it on an internal server, but it does not work. It should bypass the movie and go directly to the end of the animation, but it doesn’t.

Is the code ok? or I should have to go for another aproach?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 4:56pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/7 "2002-08-07T16:56:14Z")

</div>

The code looks fine, if you have labeled your frames correctly. Can you post your fla?

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 5:05pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/8 "2002-08-07T17:05:41Z")

</div>

I’ll test it and let you know if it worked.

Thanks pom

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2002, 6:30pm UTC](https://forum.kirupa.com/t/pom-i-need-your-help/1016/9 "2002-08-07T18:30:13Z")

</div>

I found a more apropiate way to do it with random, thanks anyway pom, keep the good work.
