# Targeting, working but.....?!

**URL:** <https://forum.kirupa.com/t/targeting-working-but/64132>\
**Category:** Uncategorized\
**Created:** [September 13, 2004, 3:51pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132 "2004-09-13T15:51:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryall](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@Ryall](https://forum.kirupa.com/u/Ryall)\
**Post date:** [September 13, 2004, 3:51pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132/1 "2004-09-13T15:51:33Z")

</div>

Hey Im encountering a weird problem with one of the sites Im doing…

I have a main swf into which a “news” swf containing PR articles for the company. A menu in the main swf controls the news swf and directs it to a specific frame depending on which article the user wants to use. It works perfect, but only on the first click. When you click an article once it loads for you, then if you click it again it loads a different one. Then if you keep clicking it cycles between these two. Every time it loads the same wrong article on the second click.

My AS:  
on (release) {  
\_root.pages.newsContainer.gotoAndPlay(“frameForArticle”);  
}

This is really weird, never had it happen before. I have stop(); actions where they need to be so it shouldnt jump, and I cant make sense of the random second article it displays… anyone have any input?

---

<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:** [September 13, 2004, 5:56pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132/2 "2004-09-13T17:56:54Z")

</div>

to see what I mean go to:  
[www.grafikdesigns.com/centrum/rev02.html](http://www.grafikdesigns.com/centrum/rev02.html)

then go to the PR/NEWS section, when you chose an article from the list on the left it will be displayed, but if you click again it shows a different art.

Peace

---

<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:** [September 13, 2004, 6:03pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132/3 "2004-09-13T18:03:58Z")

</div>

I can see what you mean, and don’t know how to fix it. Tho, your text in the left-menu is a little blurry, may be because of the scroller…

One Q: How do you make those shadows on the left and right of the site?

---

<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:** [September 13, 2004, 6:10pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132/4 "2004-09-13T18:10:55Z")

</div>

I fixed the blury menu, it was postitioned in a fraction pixel position.

The shadows are two different gradient images (one left one right, stretched to 100% height) put into a \<table\> in which the center \<td\> holds the swf. You could also do it with simple CSS.

Peace

Anone else with input on my question?

---

<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:** [September 13, 2004, 10:49pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132/5 "2004-09-13T22:49:59Z")

</div>

can u post the file?

---

<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:** [September 14, 2004, 3:27am UTC](https://forum.kirupa.com/t/targeting-working-but/64132/6 "2004-09-14T03:27:53Z")

</div>

use gotoAndStop(); like

```auto
on (release) {
_root.pages.newsContainer.gotoAndStop("frameForArticle");
}

```

---

<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:** [September 14, 2004, 4:14pm UTC](https://forum.kirupa.com/t/targeting-working-but/64132/7 "2004-09-14T16:14:38Z")

</div>

> [@nishanthe](#):
>
> use gotoAndStop(); like
> 
> ```auto
> on (release) {
> _root.pages.newsContainer.gotoAndStop("frameForArticle");
> }
> 
> ```

Nope that wont work, cuz there are a few intro frames before the article actually gets loaded from an external file.

Peace
