Controlling where a slider slides to on the stage

Please take a look at the link below

http://www.dupsyandjyde.com/

click on Welcome link and see how the welcome section slides in
without sliding over the menu items (Homepage,welcome,wedding details etc)

I assume that the menu items are also on the stage because if they are not on the
stage it will not show

do you have an idea how this slider was made so that it does not slide
over the menu items and it just stops before the menu items when you click >

(please note that i can create the slider to go back and forth. Mine is just
sliding over the menu items because it is sliding to the right edge of the
stage which I dont want).




SirdotsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

blue-genieCommented:
if you're creating it in one file . i.e. the slider and the menu, simply mask the slider so that it doesn't show where the menu is.

if you're using as3 simply slidername.mask  = maskobjectname;

if you're doing a timeline based animation - you can create a mask layer.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SirdotsAuthor Commented:
I am using AS3 for the slider with the tween class. I guess looking at your response above number two is my option

"if you're using as3 simply slidername.mask  = maskobjectname;"

I have the slider and the menu items on my stage. What is the maskobjectname and how can i mask this? I guess I have to research more about masking.  Do I create this on another layer or what?

I attached a sample file for you to see.



example.fla
blue-genieCommented:
just draw a rectangle in the area where you want the content to be visible.  give it an instance name - that is your maskobjectname

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

SirdotsAuthor Commented:
When you say content, I guess you mean the content of my pages right?  The content will be to the left (about 750px) and the menu to the right on the stage(about 50px) making a total of 800px wide
blue-genieCommented:
content being the slider
SirdotsAuthor Commented:
Works great. Thanks for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.