A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Ray Text Effect

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    23
    OK...this one is really confusing me... in the Ray Text Effect ( http://www.flashkit.com/movies/Text_...51/index.shtml )the actionscript makes several referenced to Go to and Stop (../:n) or Go to and Stop (../..:n). How exactly does this work? I see a counter which uses n for the variable so I assume that the n refers to a frame number in the movie clip. So I guess my real question is - What are the "../"'s?

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Posts
    26
    the two dots indicates one level 'shallower' than the movie clip it is being called from.

    In your case, 'n' is a variable that resides in a movieclip 'shallower' than itself.

    e.g.

    Main timeline > Movieclip 1 > Movieclip 2

    In Movieclip 1 you could have:

    Set Variable: "n" = "10"

    And in Movieclip 2 you have:

    Go to and Stop ("../:n")


    Which would make Movieclip 2 go to frame 10.

    HTH

    Pat

  3. #3
    Junior Member
    Join Date
    Jun 2000
    Posts
    23
    oh duh! I should have figured that...oh well...thanks for your help!

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