Old 06-02-2009, 09:42 AM   #1 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 1
Default problem mouse over with multi Rss

Hello,
i have tried to put multi instances of RSS reader on one page.
But actually, when you put for example 4 columns (so 4 RSS news reader SWF) on one page, when you scroll the one on the left, the other column content is moving to, but when i scroll the content of the top right one, the others placed on the left of it doesnt move (which is best).

So i guess there is a problem with the definition of mouse over or something.
Could you help to fix this ?
I appreciate !

my project : tokyojournal

email : benopub at gmail.com
blavaud is offline   Reply With Quote
Old 06-02-2009, 11:25 AM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Hello,
I see what you mean. Please, follow these steps to fix it:

1. Open NewsList.as and after line 2 (private var mask:MovieClip;) insert:

Code:
private var hit:MovieClip;
2. After line 13 (lst.setMask(mask);) insert:

Code:
hit = mask.duplicateMovieClip("asasasa", this.getNextHighestDepth());
hit._alpha = 0;
3. After line 22 (mask._height = h;) insert:

Code:
hit._width = w;
hit._height = h;
4. Change private function onMouseMove() {...} to:

Code:
private function onMouseMove() {
        if (hit.hitTest(_level0._xmouse, _level0._ymouse, true) && scrollIt && !Key.isDown(Key.SPACE)) {
            refreshPos();
        }
    }
5. Save this file and republish the swf to see the results.
Adrian 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 07:47 PM.