A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: AS2 Issue

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    1

    AS2 Issue

    Hello Flashers! Well, straight to it then...

    I have been working on my new site for the better part of the day and still have not been able figure out how to get the darn thing to work. Here's the issue...

    I have an "Enter" button on my first frame...it is inside a movie clip that's housing my intro animation. It has eases...(I'm not sure if that's relevant though, just trying to be thourough.) The "Enter" button itself needs to run through its' animation then the action needs to proceed with my "NavBar" (Self explanitory I believe) and have it go through its' animation.

    My current code is thus...
    CODEon (release) {_parent.play();



    }

    And it allows for my "NavBar" to run its' course but skips my "Enter" animation altogether.
    Any foresight into my error will be greatly appreciated. Thanks in advanced. I've attached some screens, hopefully they'll increase the understanding of my problem.

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Can you post what the error is.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  3. #3
    Space Midget Wrangler
    Join Date
    Sep 2002
    Posts
    129
    try the following

    PHP Code:
    on(release){
         
    _parent.play();

    or

    PHP Code:
    enter.onRelease = function(){
         
    this._parent.play();

    A little pain never hurt anyone

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center