Adobe Dreamweaver Forums



Last 10 THreads :         Dragging components (Last Post : hsfrey - Replies : 4 - Views : 5 )           »          Charts: Gap between Vertical Axis and the chart area (Last Post : flexisawesome - Replies : 0 - Views : 1 )           »          Pop up window using AS3 (Last Post : retsnomrev - Replies : 3 - Views : 4 )           »          can a combobox contain two different list seperated byvdivider ? (Last Post : v-Jay - Replies : 2 - Views : 6 )           »          Refreshing xml data in flex (Last Post : PiyushGiri01 - Replies : 2 - Views : 19 )           »          Integrating Captivate with ASP - SQL? (Last Post : bikturisint - Replies : 19 - Views : 131 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »          Re: IPhone (Last Post : MiLSaN99 - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Director > Lingo
 
Tags:



Reply
  #1 (permalink)  
Old 12-01-2008, 03:04 PM
Davey.x
 
Posts: n/a
Diggs:
Default mouseover slide menu! ... help!

hi there everyone.

im at university and im producing and interactive CD Rom using director!

the trouble is that i am wanting to include as part of my final design an
mouseover or mouse hover menu. Which starts as a side bar on the left hand side
and then when then mouse hovers over the side bar it scrolls outfrom the left
side into a left side mene. then obviously once the mouse has clicked and moved
away from the menu it slides back to a side bar on the left from which it
oroiginated.

i had a though of using tweens in order to create the animation of the menu
sliding out. but then i dont know how to combine it to work throughout the
whole CD rom and to work with the mouseover effect.

:/ as much help as possible will be really appreciated!

David



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-02-2008, 01:34 PM
openspark
 
Posts: n/a
Diggs:
Default Re: mouseover slide menu! ... help!

It looks like this is an opportunity to learn to code using rects.

1) Create a sprite and place it on the Stage with its left edge flush with the
left edge of the Stage.
2) When the playback head reaches this frame, which event is sent to the
sprite?
3) What is the rect of the sprite?
4) How would you save this rect for use later?
5) How does the offset() method work with a rect object?
6) Can you calculate a new rect for your sprite which shows only a thin sliver
of it on the Stage?
7) See question 4.
8) What event is triggered when the mouse is moved over a sprite?
9) How can you set the rect of a sprite to a different rect

Can you use the clues above to create a sprite that pops out from the left
when your mouse moves over it? Once you've done that, you'll need to think
about how to get different rects within the sprite to react like a menu, but
let's proceed one step at a time.

Reply With Quote
Reply


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

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



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk