# CuePoints? Need advice!

**URL:** <https://forum.kirupa.com/t/cuepoints-need-advice/259807>\
**Category:** flash\
**Created:** [May 8, 2008, 8:43pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807 "2008-05-08T20:43:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artanis667](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Artanis667](https://forum.kirupa.com/u/Artanis667)\
**Post date:** [May 8, 2008, 8:43pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/1 "2008-05-08T20:43:41Z")

</div>

Ok, so im currently making a site in flash and I need some advice on how to do something a little trickey. Basically, on one the of the pages, when it loads up it starts a presentation (a seperate movieclip named “RBBM Intro”) and there’s a pic in the background of some janitorial workers. This picture was converted to a movieclip named “RBBG”. So when the presentation is playing, in the beginning everythings good, legible, nice looking. But at the end when the services list is displayed, it runs down into the picture and you cant read anything.

What I want to do is when the presentation reaches that end frame (490) I want to have the picture in the background (RBBG) dissapear so you can read the services listed. Is a cuepoint what I need for this? I may be totally off, but I was looking through the AS index and cuepoint seemed like it might be useful. Is there a way I can set a cuepoint at frame 490 of the presentation, to “cue” this picture to dissapear? Or does anyone know a meathod I can achieve this with??

Any help would be appriciated, thanks! 😃

_EDIT_

Ok, after some further research, I don’t think CuePoints is what I want. It seems to be for video navigation, not really what im looking for. Anyone know what I could possibly need??

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [May 8, 2008, 10:53pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/2 "2008-05-08T22:53:01Z")

</div>

Just remove the movieclip from frame 490. Alternatively, change the alpha value of the movieclip so the text shows up more clearly. Or create an alpha tween so that it fades over time. Or use RBBG.\_visible = false; in your code.

---

<div class="post-metadata">

**Author:** ![Artanis667](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Artanis667](https://forum.kirupa.com/u/Artanis667)\
**Post date:** [May 9, 2008, 6:51pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/3 "2008-05-09T18:51:06Z")

</div>

> [@glosrfc;2323877](#):
>
> Just remove the movieclip from frame 490. Alternatively, change the alpha value of the movieclip so the text shows up more clearly. Or create an alpha tween so that it fades over time. Or use RBBG.\_visible = false; in your code.

My “RBBG” symbol is in 1 of 2 frames (the second frame being the service request form, I haven’t mentioned this till now but it doesn’t change anything), the presentation movieclip is its own thing, and in that movie clip the last frame is 490. I was wondering if there was anything I could do so that the RBBG symbol knows when the presentation movieclip reaches the end (frame 490) and continue to dissapear its self.

It sounds do-able, but maybe not :S

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [May 9, 2008, 7:13pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/4 "2008-05-09T19:13:52Z")

</div>

You don’t say what 2-frame movieclip RBBG resides in so you’ll have to edit this code accordingly:

```auto
if (presentationMC._currentframe == presentationMC._totalframes) {
	rbbgMC._visible = false;
}

```

Alternatively, put rbbgMC.\_visible = false onto frame 490 of the presentation movieclip.

You also don’t say if you want the service form to be displayed instead. If so, then do this instead:

```auto
if (presentationMC._currentframe == presentationMC._totalframes) {
	rbbgMC.gotoAndStop(2);
}

```

Again, you can also just put rbbgMC.gotoAndStop(2); on the last frame of the presentation movieclip.

Each of the methods works slightly differently. The first ensures that the playhead remains on frame 1 of the clip holding rbbg but makes rbbg’s status invisible. The second moves the playhead to frame 2 of the clip holding rbbg. Use whichever method is most appropriate.

---

<div class="post-metadata">

**Author:** ![jakattak](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jakattak](https://forum.kirupa.com/u/jakattak)\
**Post date:** [May 9, 2008, 7:39pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/5 "2008-05-09T19:39:29Z")

</div>

or…

```auto

if (rbbgintroMC._currentframe >= 490) {
    rbbgMC._alpha = 0;
}

```

or, in the intro, on frame 490…

```auto

_parent.rbbgMC._alpha = 0;

```

Based on your description what you need is not cuepoints. You simply need to execute some actionscript to remove or make one MC invisible when the other MC hits frame 490. The only times I’ve used cuepoints is when dealing with FLVs that I want to trigger specific actions, etc.

---

<div class="post-metadata">

**Author:** ![Artanis667](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Artanis667](https://forum.kirupa.com/u/Artanis667)\
**Post date:** [May 16, 2008, 12:28am UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/6 "2008-05-16T00:28:08Z")

</div>

Thanks for the advice, but I can’t seem to get it working. Should I put MC after the movie clip name in the code? I know this is what should work, I think there may be something im missing…

Maybe it would be easier to see it, so I uploaded it [http://download.yousendit.com/A195FA9B6A7CE2C7](http://download.yousendit.com/A195FA9B6A7CE2C7)  
for anyone kind enough 😃

_edit_ The file is in Action Script 2.0 but i’ve been using CS3. So you may have problems opening it in Flash 8

---

<div class="post-metadata">

**Author:** ![Artanis667](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Artanis667](https://forum.kirupa.com/u/Artanis667)\
**Post date:** [May 18, 2008, 10:58pm UTC](https://forum.kirupa.com/t/cuepoints-need-advice/259807/7 "2008-05-18T22:58:18Z")

</div>

_bump_

any takers? Need help, been looking online to no avail! :crying:
