5 msgErasing areas with the drawing API?
5 msghelp
6 msg(no subject)
1 msgFull-time position in NYC for AS Developer
1 msgAS3 and streaming timeline sounds
7 msgproblem with fl9 beta
29 msgEvents for custom classes?
1 msgFlash Preview Font Sharing
6 msgFlash IDE thinks standard #include '.as' file i...
1 msgRe: >> RadioButton and CheckBox
4 msgfor...in property access replacement in AS3?
1 msgWages
8 msgFlash Player 7 Installer?
1 msgapplying themes to v2 components
3 msgEvaluate string as actionscript?
3 msgMake your own multiuser flash apps
3 msgPrevent Reading Cached xml Doc?

OnRollOver Scrolling Text Problem
\ Omar Fouad (15 Feb 2007)
. \ JOR (15 Feb 2007)
. . \ Omar Fouad (16 Feb 2007)
. . \ JOR (16 Feb 2007)
. . . \ Omar Fouad (16 Feb 2007)

5 msgAGAIN!! AS2 Question
1 msgFlash Rock Stars Needed - Chicago, IL
Subject:OnRollOver Scrolling Text Problem
Group:Flashcoders
From:Omar Fouad
Date:15 Feb 2007


 
Hey list this is my first problem i am posting here, i hope someone could
halp me!!!

i got a movie clip with inside four Key Frames... in each Key Frame i got a
mask called 'mask' (a rectangle) and a masked MC called 'list'.

than in the first layer of each keyframe (which i reserved it for
actionScript only) i put the following code:

maskY = mask._y;
maskY2 = maskY+mask._height
maskX = mask._x;
maskX2 = maskX + mask._width;
var ratio = Math.round(list._height / mask._height);

onEnterFrame = function () {
if (_ymouse<maskY2 && _ymouse>maskY) {
list._y = (mask._ymouse-(mask._ymouse*2))*ratio+maskY;
}
};

it works. But it seems that the 'list' MC overscrolls as it slides up more
than it should do.
can someone help me please in resolving this ???

Regards...


--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
_______________________________________________
Flashcoders
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


© 2004-2008 readlist.com