# Flash cs3 AS help needed!

**URL:** <https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081>\
**Category:** flash\
**Created:** [May 22, 2008, 10:30pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081 "2008-05-22T22:30:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bambina9](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@bambina9](https://forum.kirupa.com/u/bambina9)\
**Post date:** [May 22, 2008, 10:30pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/1 "2008-05-22T22:30:59Z")

</div>

I am customizing a flash template in cs3. i don’t know AS except for a little tweaking here and there and i’m stumped with this one.

so, mc “im\_over” when clicked brings out the pop-up mc “scroller”. scroller contains different frames with diff content. the AS that is in the template works fine bringing up pop-up scroller showing frame 1. but now i can’t get it to show frame 2.

here is the AS for the working one.

on (release) {  
\_root.popup\_pressed=1;  
\_root.scrHEIGHT=280  
\_root.scroller.scroller.gotoAndStop(2);

```
_root.TM_title = "Privacy Policy";
_root.READ = 1;
_root.scroller.gotoAndPlay("s1");

```

}

i have tried changing “s1” to “s2” and no go. all that happens is the title shows up. is this enough info for someone to help me? and please talk me through it as if i was a small child!!

thanks!!!

---

<div class="post-metadata">

**Author:** ![cooldude88](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@cooldude88](https://forum.kirupa.com/u/cooldude88)\
**Post date:** [May 23, 2008, 3:44am UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/2 "2008-05-23T03:44:26Z")

</div>

seeing the rest of the code would be a great place to start for errors can be anywhere and its very hard to see where the error is without seeing all of the code.

---

<div class="post-metadata">

**Author:** ![bambina9](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@bambina9](https://forum.kirupa.com/u/bambina9)\
**Post date:** [May 23, 2008, 7:50pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/3 "2008-05-23T19:50:32Z")

</div>

thanks cooldude. other than the code i posted above, can you tell me what else i need to post? the scroller doesn’t have any actions to it.

---

<div class="post-metadata">

**Author:** ![cooldude88](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@cooldude88](https://forum.kirupa.com/u/cooldude88)\
**Post date:** [May 25, 2008, 3:00am UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/4 "2008-05-25T03:00:25Z")

</div>

is that all of your code? like every piece that you are using because the error may be in more than that little segment.

---

<div class="post-metadata">

**Author:** ![djheru](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/djheru/32/3190_2.png) [@djheru](https://forum.kirupa.com/u/djheru)\
**Post date:** [May 25, 2008, 4:55am UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/5 "2008-05-25T04:55:05Z")

</div>

Or even to upload the fla From the little bit you gave us, it looks like one of those TemplateMonster pieces. Those are sometimes not put together in the most logical fashion.

---

<div class="post-metadata">

**Author:** ![JBPresents](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JBPresents](https://forum.kirupa.com/u/JBPresents)\
**Post date:** [May 25, 2008, 7:12pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/6 "2008-05-25T19:12:27Z")

</div>

there is also a as3 section in the forums which may get you better help

the code you gave us doesn’t appear to be what you need to change because if you change it and it doesn’t do anything different your in the wrong place.

how many classes does your code use?

the problem maybe be how your accessing your data and what the variables you are changing.

often to communicate i stay away from root assigned variables but set pointers to the variables needed for the movieclips themselves

---

<div class="post-metadata">

**Author:** ![JBPresents](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JBPresents](https://forum.kirupa.com/u/JBPresents)\
**Post date:** [May 25, 2008, 7:13pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/7 "2008-05-25T19:13:16Z")

</div>

also \_root isn’t used in as3 so…

---

<div class="post-metadata">

**Author:** ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Post date:** [May 25, 2008, 7:23pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/8 "2008-05-25T19:23:25Z")

</div>

“\_” died in flash actionscript 3.0

---

<div class="post-metadata">

**Author:** ![JBPresents](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JBPresents](https://forum.kirupa.com/u/JBPresents)\
**Post date:** [May 25, 2008, 7:26pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/9 "2008-05-25T19:26:56Z")

</div>

I am glad as3 is more efficient method of class controlled scripting

which is great

if you awesome with classes  
and listeners

---

<div class="post-metadata">

**Author:** ![bambina9](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@bambina9](https://forum.kirupa.com/u/bambina9)\
**Post date:** [May 26, 2008, 6:38pm UTC](https://forum.kirupa.com/t/flash-cs3-as-help-needed/261081/10 "2008-05-26T18:38:02Z")

</div>

well, i was able to solve it after some trial & error.

on (release) {  
\_root.popup\_pressed=1;  
\_root.scrHEIGHT=280  
\_root.scroller.scroller.gotoAndStop(2);

\_root.TM\_title = “Privacy Policy”;  
[COLOR=“Red”]\_root.READ = 1;[/COLOR]  
\_root.scroller.gotoAndPlay(“s1”);  
}

[COLOR=“Red”]\_root.READ = 1;[/COLOR]  
is where i needed to change the frame #'s

thanks all!
