# My AS isn't working need help

**URL:** <https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372>\
**Category:** Uncategorized\
**Created:** [September 6, 2004, 3:35am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372 "2004-09-06T03:35:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![headznet](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@headznet](https://forum.kirupa.com/u/headznet)\
**Post date:** [September 6, 2004, 3:35am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/1 "2004-09-06T03:35:43Z")

</div>

I cannot figure out why my actionscript will not work. Could any body help me figure it out please. :puzzled:

---

<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 6, 2004, 3:37am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/2 "2004-09-06T03:37:34Z")

</div>

Oh and by the way the file is in flash 2004 format and I am a n00b at flash.

---

<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 6, 2004, 10:07am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/3 "2004-09-06T10:07:14Z")

</div>

what exactly are you trying to do?

The code is kind of all over the place and I can’t find the main\_mc object :-/

---

<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 6, 2004, 10:19am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/4 "2004-09-06T10:19:52Z")

</div>

The code is all on frame one in the moviclip. The main\_mc is just a square behind the pages movie clips.

---

<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 6, 2004, 10:22am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/5 "2004-09-06T10:22:25Z")

</div>

> [@blah-de-blah](#):
>
> what exactly are you trying to do?

.

---

<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 6, 2004, 10:35am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/6 "2004-09-06T10:35:36Z")

</div>

I am trying to make a menu that when you click on the link it alpha-transitions a page\_mc, after it finishes it scale-transitions another main\_mc, and after that finishes it alpha-transitions another page\_mc. I need it to be a prototype function.

---

<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 7, 2004, 8:04am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/7 "2004-09-07T08:04:57Z")

</div>

Is there anybody out there that can help.

---

<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 7, 2004, 9:04am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/8 "2004-09-07T09:04:33Z")

</div>

i’d like to try helping you but i just don’t seem to understand what it is that u really want…  
from what i saw of your code and your posts i think what you want is…

when you click on the button the following actions should take place in sequence  
1.the previous page fades out  
2.the clicked button becomes white or (alpha = 100)  
3.the next page fades in and at the same time resizes to fit inside the main\_mc…

Did i get you 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:** [September 7, 2004, 9:45am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/9 "2004-09-07T09:45:35Z")

</div>

Actually I just got my movie to work except for the fact that you can only click one link and it goes to #%$\* and the next page\_mc fades-in to quick. Could you help me figure this out. Here is 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 7, 2004, 12:18pm UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/10 "2004-09-07T12:18:45Z")

</div>

check out the attached file…hope it is what you wanted:ub:

---

<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 7, 2004, 6:07pm UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/11 "2004-09-07T18:07:50Z")

</div>

Thank you SeaPink you have been a life saver.

---

<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 7, 2004, 7:13pm UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/12 "2004-09-07T19:13:26Z")

</div>

There is something wrong with the links after you have cycled through them (clicked) for about 14 times. They seem to freeze up and the page doesn’t fade-in.

---

<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 8, 2004, 3:54am UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/13 "2004-09-08T03:54:40Z")

</div>

> [@headznet](#):
>
> There is something wrong with the links after you have cycled through them (clicked) for about 14 times. They seem to freeze up and the page doesn’t fade-in.

hiya there…  
i fixed the bug…its just a missing “=” sign

replace this line …  
[color=green]} else if (eval(ActivePage).\_alpha\<0) {[/color]  
with…  
[color=green] } else if (eval(ActivePage).\_alpha\<=0) { [/color]

have a nice time!!!:be:

---

<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 8, 2004, 11:31pm UTC](https://forum.kirupa.com/t/my-as-isnt-working-need-help/63372/14 "2004-09-08T23:31:16Z")

</div>

Thanks SeaPink you are correct that fixed it.:thumb:
