Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Director - Alternate Rollovers

  • 09-05-2002 8:57pm
    #1
    Closed Accounts Posts: 436 ✭✭


    I want to make a rollover so when i put the mouse cursor over a button on the left hand side of the screen it will switch an image over on the right hand side of the screen.

    Please help me !


Comments

  • Closed Accounts Posts: 2,922 ✭✭✭Dave


    You'll be needed some fancy dhtml scripting.

    www.scriptsearch.com should sort you out.


  • Closed Accounts Posts: 436 ✭✭sleepwalker


    its for macromedia director tho does that site have any stuff on it ?


  • Registered Users, Registered Users 2 Posts: 1,747 ✭✭✭Figment


    Its been ages since i used director but the code would go something along the lines of

    On mouse over
    tell target(or sprite, whatever its called in director)
    go to frame 1(or what ever frame you want with the different image)


  • Registered Users, Registered Users 2 Posts: 2,120 ✭✭✭p


    Here ya go:

    This is how to do it in lingo.

    I think there's a predefined behaviour for it that you can just drag and drop onto it though. Take a look at the library palette.

    Just put the script onto the thing you want to rollover.

    -- On Rollover, change to the member 'red'
    on mouseEnter
    set the member of sprite 8 = member "red"
    end mouseEnter

    -- On Rolloout, change back to the member 'grey'
    on mouseLeave
    set the member of sprite 8 = member "grey"
    end mouseLeave

    - Kevin


  • Closed Accounts Posts: 145 ✭✭lazer


    good work p,

    as p said, it is also in the libary pallet, i dont have director in work but ill post the exact location on monday from college

    j


  • Advertisement
  • Closed Accounts Posts: 2,922 ✭✭✭Dave


    Ah, sorry, i thought you were talking about a website.


  • Closed Accounts Posts: 436 ✭✭sleepwalker


    i managed to get a diff script working on the thursday night but thanks alot for your help and comments anyway

    are you sure theres a pre-defined behaviour like that ? there is a rollover behaviour already in the library palette but i cant find one at all for doing more complex rollovers such as this


Advertisement