A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: This dot syntax is driving me CRAZY!!!

  1. #1
    Member
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    44

    This dot syntax is driving me CRAZY!!!

    _root.buttons.top_button.top_text.stop();

    I have a group called buttons - instance of buttons
    I have a movie clip inside the group called buttons called top_button - instance of button_siteimade
    I have a movie clip inside that button called top_text - instance of text_siteimade

    I put the following code into the first frame of my movie. Why the hell does this movie keep playing? ( Please answer this as quick as possible because I feel like blowing my brains out at the moment.
    "Always telling the truth means never having to remember anything"

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Is 'instance of buttons' on stage in the first frame of root? You can't put code before the object appears.

    Are you sure the path is right? Use the little target icon at the top of the actions panel to be sure.

    I'm still thinking.....

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