A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Is this possible??

  1. #1
    Senior Member
    Join Date
    Mar 2001
    Location
    Melbourne
    Posts
    441
    i have several scenes with buttons down the bottom:

    BACK / NEXT

    my movie height is long which means you have to scroll down using the browser scroll bar on the side..

    when i press NEXT or BACK it goes to the next scene but the scroller remains down the bottom of the page when i want it to go to the top of the page..

    i have seen this done in HTML all the time..

    Can this be done in flash??

    Any help would be greatly appreciated...

    Thanx heaps

    mdesign

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Posts
    168
    I think the reason it goes back to the top of the page in html is it is actually a different html page whereas in Flash it is still the same html page and the back and next buttons only affect your Flash movie, not the html page.

    -dan

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    11
    I asked the same question earlier (in a round about way) but have had no answers as yet. There must be a way to target the top. I hope so. I'll let you know if i find the answer.

  4. #4
    Senior Member
    Join Date
    Sep 2000
    Posts
    910
    Hi mdesign...I just answered Th3manwh0 with the same question...take a look here...

    http://board.flashkit.com/board/show...hreadid=195115

    Hope this helps...

    -pigghost-

  5. #5
    Senior Member
    Join Date
    May 2001
    Posts
    323
    the problem is your thinking that the scroll bar is controlling the flash movie its not its controling the html page that is hosting the movie so when you scroll you are scrolling the htmp document

    what you could do is in the html document put an anchor at the top and bottom like this

    <a name="Top"></a>

    Flash movie object

    <a name="bottom"></a>

    in the movie you can the call

    getURL("#Top")

    to go to the top and

    getURL("#Bottom") to go there

    I think this is how to do it !!!




  6. #6
    Senior Member
    Join Date
    Mar 2001
    Location
    Melbourne
    Posts
    441
    Hey PIGGHOST,

    You are LEGEND.....works fine
    thanx to all the other ppl who got back also..

    THANX heaps

    BIG CHEERS
    -mdesign

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