cmbarsotti
02-19-2004, 09:49 PM
I'm using Flash MX for this project and have an issue with a scrollPane componant.
I have a movieClip called mcLinksHolder -- it's not on stage -- I have a clip ID set in the library.
Inside mcLinksHolder I have an mc called mcLinks. (I read an XML doc) and duplicate mcLinks for each link setting an image, title field, paragraph field a URL field and an email field. The URL and Email fields have .url = true and are underlined. Then I stack these mcLinks on top of each other.
When this is finished I set the mcScrollPane contents to mcLinksHolder, refresh, etc.
Everything works great, the links are active the pane scrolls, etc.
BUT
(And I hope I can explain this) When I then scroll all the way down to, say, the sixth or seventh mcLinks I can get a hyperlink finger over the body copy (which is NOT set to url=true) If I click it it opens the fifth (or third) URL in my scrollPane.
It's as if there are 2 mcLinkHolders one on top of another in the _x but way off on the _y and the mcLinksHolder behind scrolls when the mcLinksHolder in front scrolls.
In debug mode I listed objects and only see mcLinksHolder once.
To view the problem
www.chrisdahlquist.com
Click CD (Chris Dahlquist) in the main nav
Click LN (Links) from the sub nav
Scroll down moving your mouse along the left edge of the paragraphs (In line with the viewable links) -- currently there are no email addresses, only URLs --
If you ANY thoughts I need to hear them, I'm open to a solution but will welcome a work-around, or trick. Let me know if the chunk of code would help.
Thank you for reading this long issue.
I have a movieClip called mcLinksHolder -- it's not on stage -- I have a clip ID set in the library.
Inside mcLinksHolder I have an mc called mcLinks. (I read an XML doc) and duplicate mcLinks for each link setting an image, title field, paragraph field a URL field and an email field. The URL and Email fields have .url = true and are underlined. Then I stack these mcLinks on top of each other.
When this is finished I set the mcScrollPane contents to mcLinksHolder, refresh, etc.
Everything works great, the links are active the pane scrolls, etc.
BUT
(And I hope I can explain this) When I then scroll all the way down to, say, the sixth or seventh mcLinks I can get a hyperlink finger over the body copy (which is NOT set to url=true) If I click it it opens the fifth (or third) URL in my scrollPane.
It's as if there are 2 mcLinkHolders one on top of another in the _x but way off on the _y and the mcLinksHolder behind scrolls when the mcLinksHolder in front scrolls.
In debug mode I listed objects and only see mcLinksHolder once.
To view the problem
www.chrisdahlquist.com
Click CD (Chris Dahlquist) in the main nav
Click LN (Links) from the sub nav
Scroll down moving your mouse along the left edge of the paragraphs (In line with the viewable links) -- currently there are no email addresses, only URLs --
If you ANY thoughts I need to hear them, I'm open to a solution but will welcome a work-around, or trick. Let me know if the chunk of code would help.
Thank you for reading this long issue.