A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Weird scrollpane problem.

  1. #1
    Senior Member
    Join Date
    Apr 2003
    Posts
    138

    Weird scrollpane problem.

    OK, I did this in 2 ways. The first time I used the text pane and realized it wouldn't let me do what I want. Here is the link: textpane Goto the saturn section.

    Since I couldn't add what I wanted I used the scrollpane. The example can be found here: scrollpane The problem is that on my computer and my friends computer it works great. But, I checked it from a work computer and instead of a scrollpane, I get an image overlapping the rest of the page. It isn't in the scrollpane at all. I used the scrollpane component to build this application. Is there something that I am doing wrong? How can I fix it so that the scrollpane works on any computer, anywhere?

  2. #2
    Between Flash & Flashkit timothye's Avatar
    Join Date
    Dec 2003
    Location
    Sweden
    Posts
    1,666
    looks fine to me ...
    i dont know whats happing on your end .
    I want to learn .
    wannabe flasher [ Actionscript 2.0 ]

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    It overlaps for me... And no scrollpane!

    How'd you do it? Loading a .swf in the pane? Using a content mc? Dynamically creating a content mc?

  4. #4
    Member
    Join Date
    May 2004
    Posts
    47

    MX

    If I not my memory is crashed (have not slept in 24 hours

    There is a bug in the internal player on how the scrollpane behaves, but if you test you movie in a browser with Flash Player 6.1329495 (not 6.0) or higher or something it should work as expected.

    ciao Thomas

  5. #5
    Senior Member
    Join Date
    Apr 2003
    Posts
    138
    Here is the messed up version:

    Here is the correct version:

    As for how I did it, I used the scrollpane component. All you do is tell it the file and it loads it for you. I am using logo.swf, which is in the same folder as the rest of the site. I left all the options to the default and added this actionscript to the main timeline:

    scrollListener = new Object();
    scrollListener.scroll = function(evt) {
    txtPosition.text = myScrollPane.vPosition;
    };
    myScrollPane.addEventListener("scroll", scrollListener);
    completeListener = new Object();
    completeListener.complete = function() {
    trace("logo.swf has completed loading.");
    };
    myScrollPane.addEventListener("complete", completeListener);


    There is a bug in the internal player on how the scrollpane behaves, but if you test you movie in a browser with Flash Player 6.1329495 (not 6.0) or higher or something it should work as expected.
    That is the problem, I tested it on a computer somewhere unrelated with mine. I need this to work for the mass internet market. Doesn't look good if the site is messed up for people that want to find the car lot.
    Last edited by MIGhunter; 05-28-2004 at 11:52 AM.

  6. #6
    Senior Member
    Join Date
    Nov 2000
    Location
    Manchester, UK
    Posts
    454
    Hi MIG
    I've got the "broken" version on my machine. Sorry Dude.
    I've checked it in
    IE 6 Flash player 70190
    Mozilla Firefox F Player 70190
    Netscape 7 F Player 70190
    If You get it to work universally I'd love to see it.
    You could write us all a tutorial
    P.S.
    Wouldn't life be easy if Keyboards had a "Make It So" button?
    It could sit next to the "Any" key!!

  7. #7
    Senior Member
    Join Date
    Apr 2003
    Posts
    138
    ok, now i am really confused. I pull the file up from my computer at work and it is messed up. But, when I pull the file up in the actual HTML page that we did, it works fine.

    Here is by itself, messed up: Junk

    Here is HTML, not messed up: Weird

    Why would 1 work and the other not? It is the same file in both places.

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