Old 01-15-2009, 10:01 PM   #1 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 11
Default Problem scrolling.

Hi!

I really need your help. I´m on a tight deadline and would appreciate if you
could take a moment help me solve this problem.

The tab gallery is placed in a small MC, so it´s only showing little more than
one row (out of 3). When I scroll down I cant stop on the second row (the
middle one), it just continue scrolling to the bottom row (third row).
How can I fix this?
Take a look at this example showing my problem:
discography (in the single section)

Many thanx!
Sundance Kid
Sundance Kid is offline   Reply With Quote
Old 01-19-2009, 08:08 PM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,982
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

The problem is that your vieweing are is too small. I can guarantte that it will work perfectly, but try this:

change line 77 of source\com\oxylus\ThumbsGrid.as to
Code:
ph = 0;
Republish the swf.
Adrian is offline   Reply With Quote
Old 01-20-2009, 08:40 AM   #3 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 11
Default

Hi!

Thanx for helping me.
I tried your solution, and changed line 77 in the ThumbsGrid.as to: ph = 0;
What happend was that the scroll function did not work at all. I have republished the file so you can take a look. I will expand the area aswell.
I dont have that much space left but perhaps it will work.
If you come up with another solution I will gladly try it.

Sundance Kid
Sundance Kid is offline   Reply With Quote
Old 01-20-2009, 09:35 AM   #4 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 11
Default

OK, I changed back line 77 to: ph = tn.height; and then scaled down
the graphics and scaled up the viewing area, and it works fine when it´s
a standalone swf (see the link) but it wont work when it´s loaded into
another swf. The scrolling dont react until the mouse is almost down to the
third row, then it wont scroll up to the first row cause that row is no longer
visiable.

Sundance Kid
Sundance Kid is offline   Reply With Quote
Old 01-20-2009, 10:00 AM   #5 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 11
Default

Again I see the same scrolling problem as I have with your Sliding List
component. As long as you place the component close to Y=0 the vertical
scrolling works fine, but as soon as you place it down in the Y cordinate
then it wont work anymore. As I see it, your Sliding list and this Tab gallery
are exelent work, but useless as long as you´re not able to place them
wherever you need to place them. I guess there is a solution, but I´m not a
AS programer. If I where I would´nt have to buy this kind of components, I
would make them myself.

Could you please help me find a solution, or even better, upgrade the
components so the scolling is not depending on where you place the SWF
in the Y cordinate.

Thanx!
Sundance Kid
Sundance Kid is offline   Reply With Quote
Old 01-20-2009, 04:56 PM   #6 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,982
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Sorry, I 've got it wrong.
Leave line 77 like it was (ph = tn.height;)

Before line 92 (the line with var ym:Number = _ymou...) insert this:

Code:
var ph = 0;
Republish and it should be ok.

As far as I know, the vertical scrolling doesn't depened on the y position. Can you send me an example ?

Last edited by Adrian; 01-20-2009 at 04:59 PM.
Adrian is offline   Reply With Quote
Old 01-21-2009, 12:38 PM   #7 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 11
Default

Hi Adrian!

Thank you! With your last correction it now works perfect, as a standaolne
SWF, but the scrolling problem remains as soon as the SWF is loaded into
another SWF further away from the Y=0. As I mentioned earlier, I´m not an
AS scripter, but it seems that as soon as you place it away from the Y=O
more clearer the scrolling problem appears. I have the same problem with
your sliding list aswell.

I have updated the link, and now it´s also with the sliding list included.
Check out this link: Sida1_Tommy
The Tab Gallery is located at: Discography - Tommy Ekman - Tommy Ekman.
The Sliding List is at the opening of the file (music production): Abba - Ariving
You can scroll down, but then you cant scroll back to the top.

Thanx again!
Sundance Kid
Sundance Kid is offline   Reply With Quote
Old 02-26-2009, 09:21 PM   #8 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,982
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Try replacing _root._xmouse, _root._ymouse with _lelev0._xmouse, _level0._ymouse, inside Playlist.as line 175. Republish the swf

I think this will solve it
Adrian is offline   Reply With Quote
Old 06-19-2009, 05:33 PM   #9 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 4
Default

Same problems to me also.

When i operate the gallery from other swf file, the grid (with default thums) is scrolling fast directly to the last line of thumbs and doesn't work to scroll up again

Also i can't find any playlist.as file to ad your suggestion

Edit: I had been playing with the gallery in a test.fla file and Sundance Kid have right, when the container y coords its not 0 the gallery scrool its screw up!

Last edited by Rucifer; 06-19-2009 at 05:48 PM.
Rucifer is offline   Reply With Quote
Old 07-01-2009, 07:38 AM   #10 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 4
Default

Hi again Adrian,
I'm still waiting a solution to our scrolling problem, whne gallery are loaded inside other swf file at different coord that 0,0....Thanks.


sorin@fenomedia.ro
Rucifer is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:19 PM.