# \[MX\] N00B actionscripting here

**URL:** https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534
**Category:** flash
**Created:** [November 23, 2002, 2:37am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534 "2002-11-23T02:37:25Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Neo\_Clone01](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@Neo\_Clone01](https://forum.kirupa.com/u/Neo_Clone01)
#### Post date: [November 23, 2002, 2:37am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/1 "2002-11-23T02:37:25Z")

</div>

hey  
i wanna try an get this navigation goin for a portfolio site  
lol, first part of the project an im already stuck

im tryin to get this main nav bar working

this is sort of like yorkshires post, whatever, ill post what i got so far

if you check the actions on the movieclip inside the other movieclip, they are prolly wrong  
i would just like it go to a frame label when pressed  
let me know what im doing wrong please  
thx

---

<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: [November 23, 2002, 2:45am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/2 "2002-11-23T02:45:13Z")

</div>

Simply change the on press action on your movie clip to this…

```auto
on (press) {
	_parent.gotoAndPlay("closed");
}

```

This works too…

```auto
on (press) {
	_parent.play();
}

```

---

<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: [November 23, 2002, 3:04am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/3 "2002-11-23T03:04:00Z")

</div>

HEY - dont say simply!!  
it is simple to you but hard for people just learning like me! lol jk  
thanks so much  
now just so i know -  
u obviously use \_parent because it is nested in another mc, correct?

---

<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: [November 23, 2002, 3:11am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/4 "2002-11-23T03:11:39Z")

</div>

your current script was expecting to play a frame that was inside that clip, but in actuality ut was supposed to play a frame on the timeline that the clip is on… so yes…lol.

---

<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: [November 23, 2002, 6:02am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/5 "2002-11-23T06:02:41Z")

</div>

yeeeo, check it out

couple of questions

1- whats the best way to link those buttons to the information they will provide (work button will lead to jpg slideshow or something, resume button will lead to a scrollable box with resume, and contact will lead to just a single page of info)

2-you see that graphic in the circle? i lowered opacity to conceal the white BG, but i was wondering if there was another way to get rid if the BG of an imported jpg. (if you save it as a gif with no BG in photshop, doesnt that lose qaulity?)

---

<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: [November 23, 2002, 6:07am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/6 "2002-11-23T06:07:53Z")

</div>

1. loadMovie()

2. No, considering the amount of colors used, you can have great quality, with less file size if you save as a transparent gif.

---

<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: [November 23, 2002, 6:22am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/7 "2002-11-23T06:22:12Z")

</div>

I’m not sure, and I’m **no** expert (trust me), but if you not already, I would use Lost’s second option… The Play() one. Otherwise, I think, you would just keep going to 1 frame, the frame with the stop().

---

<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: [November 23, 2002, 6:26am UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/8 "2002-11-23T06:26:36Z")

</div>

Both do the exact same thing morse.

The play() one is just shorter 🙂

---

<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: [November 23, 2002, 8:03pm UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/9 "2002-11-23T20:03:42Z")

</div>

🙂

---

<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: [November 23, 2002, 8:32pm UTC](https://forum.kirupa.com/t/mx-n00b-actionscripting-here/8534/10 "2002-11-23T20:32:26Z")

</div>

thx guys
