Hola everyone!

I'm a volunteer in an NGO, and I don't know much about design... but I'm trying to work on their weg page which as fully designed with Flash () and I HAVE A PROBLEM WITH THE SCROLL BAR

In the attachment you'll see three buttons on the left that lead you to magazines: 1-12, 13-24, 25-27; all buttons works... and SCROLL works with the first two sets of magazines... but when you get to the third one.... you see the scroll bar... BUT NO SCROLL!!!!

HELP!! PLEASEEEEEEEE!

Dani AI

Generated

Nice catch by and — the thread shows the classic timeline/instance-name mismatch that makes a scrollbar appear but fail to work on one of the content sets, and confirms the simple naming fix. Below are focused, practical notes so the same problem does not recur.

Flash creates separate stage objects when you place different symbols on different frames. If the code or a component expects an instance with a particular name and that exact instance is not present on the current frame (or has a different name), references are null and the scroller will not move the content. Also remember the difference between a library symbol name and the stage instance name: the latter is what ActionScript and components use.

To avoid this class of bug:

  • Keep a single container instance for your scrollable area (one movie clip on the timeline) and change its internal content, or extend the same instance across frames (select frames and press F5) so its instance name is preserved.
  • If you must swap different instances on different frames, give each instance the same stage instance name on every frame where it appears, or delay code that binds the scroller until after the instance exists.
  • Use the Output/Trace panel during testing to confirm the container exists before attaching the scroller, and place timeline actions on an actions layer so code runs predictably.
  • For longer-term maintainability, consider loading content at runtime into a fixed container or using scrollRect-based scrolling; both avoid timeline fragility.

These small workflow fixes keep the scrollbar linked to the content reliably and make future updates much easier.

Recommended Answers

All 4 Replies

Member Avatar for Member #334542

Hi,

I had looked into your file, and came to know you miss one instance name, here with I had attached four files for the procedure to solve. follow it. and if you found the solution, close the thread as solved. Thanks

commented: Nice spot! +2

I concur with Raja!

If you open up the movie clip containing the images and the scroll bar (the instance of library object "scroll 3" called "ins_revistas").
Take a look at the movie-clips containing pictures 1-12 at frame 1 and pictures 13-24 in frame 2, you'll see that both clips have instance names of: "ins_revistas_de_1-12" and "ins_revistas_de_13-24".

Now if you look at the movieclip containing pictures 25-27 at frame 3, you can see that there is no instance name.
Give the clip an instance name of "ins_revistas_de_25-27" and that should resolve your problem!

Nice Job Raja!

Jas.

Member Avatar for Member #334542

Welcome JAS!

IT WORKED!!!!!!!!!!!!!!! =)
THANK YOU GUYS!
saludos from Argentina!

I concur with Raja!

If you open up the movie clip containing the images and the scroll bar (the instance of library object "scroll 3" called "ins_revistas").
Take a look at the movie-clips containing pictures 1-12 at frame 1 and pictures 13-24 in frame 2, you'll see that both clips have instance names of: "ins_revistas_de_1-12" and "ins_revistas_de_13-24".

Now if you look at the movieclip containing pictures 25-27 at frame 3, you can see that there is no instance name.
Give the clip an instance name of "ins_revistas_de_25-27" and that should resolve your problem!

Nice Job Raja!

Jas.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.