A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: target path trouble

  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    32

    target path trouble

    Hey people...
    I was wondering if I could get an assist with this scroll problem I'm having.

    I have a dynamic textfield called blog1
    an up and a down button that is supposed to scroll the blog 1 textfield when they are rolled over. The buttons are contained in movie clips.

    The blog1 textfield and the movie clips that contain my buttons are all in a movie clip called "chooseblog".

    "Chooseblog" is in a movieclip called "blue_mc"

    On an actions level in chooseblog I load the .txt file that populates blog1 with this command:

    this.loadVariables("blog.txt") and I show the text using this command:

    blog1 = blogtext.

    The file is loading just fine into the textfield but the scroll isnt working.

    In order to scroll I'm using:

    on (rollOver) {
    chooseblahg.blog1.scroll--;
    }

    and

    on (rollOver) {
    chooseblahg.blog1.scroll++;
    }


    I'm pretty sure I just have no idea what I'm doing with the target and reciver paths for this. Can someone please help?

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Sounds like you want to target the timeline above.._parent...

    on (rollOver) {
    _parent.blog1.scroll--;
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Member
    Join Date
    Jun 2004
    Posts
    32
    Pelle, thank you. I could have sworn I did that. Man...i dont know...THANK YOU!!

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