A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: onPress will not load play the frame label.

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    9

    onPress will not load play the frame label.

    I have everything named correctly I have checked it so many times to see if i spelled something wrong.

    i know theres a better way to build this site. but i have limited knowledge and limited time. this is due thursday morning. lame.

    I cant get my buttons i have created to play the frames they coordinate with.

    Ive checked naming so many times.

    if anyone could help me I would be ever so grateful.
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Feb 2004
    Location
    Amsterdam
    Posts
    209
    It's not working because you have assigned the onPress action of the sub buttons before the buttons are actually on the stage. So at the time you declare the onPress action the buttons do not yet exist.

    Instead of setting the onPress actions in the root set them inside the itemGroup_mc in the frame in which they are physically on the timeline.

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    9

    I tried to do what you said

    I got the forward button roll over working. by placing the code inside itemGroup_mc. I still cant get the button to actually play the frame inside that said clip.

    I built another file before i made this one just to see how this all should work.
    and it worked great. but when I built this one it didnt. and I built them the exact same way. as far as i know maybe you can look and see if you can see a difference.
    Attached Files Attached Files

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