Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Re: Rollover

    take a look at this for example of rollovers...
    [url]http://portfolio.jumpout.co.uk/examples/director[/url]

    "Robert Lee" <rjlee@earthling.net> wrote in message
    news:bg8v09$4r0$1@forums.macromedia.com...
    > I'm not sure what's going on. I've imported a png button for rollover. I'm
    > using the same script base that I use for other buttons in the movie. I've
    > just changed the member names to match the new button. It does the
    rollover
    > action ok, but when I leave, the sprite disappears. I can't see anything
    > wrong with the script. Any ideas. I can send you the script if it helps.
    >
    > --
    > -Robert-
    >
    > Robert J Lee
    > [email]rjlee@anastasisproductions.org[/email]
    > [url]http://www.anastasisproductions.org[/url]
    >
    >

    Andrew Kennedy Guest

  2. Similar Questions and Discussions

    1. help with rollover in DW 8
      im trying to do this http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm and here is my code. it doesnt actually do what is...
    2. rollover in 3D
      I would like to make a kind of a rollover in a 3d world. I use this script voor a mouseDown action: on mouseDown (me) -- update the mouse down...
    3. trying to do a rollover - please help!!!
      Hi, I'm a bit new to Director and i'm trying to make a rolloverbutton so that when i entermouse i want the transparency to go from 100 to 0. And...
    4. Rollover and making another rollover with links
      Hi, This website is nicely designed and the rollover menu design is simple, but clear and effective. http://earthtrends.wri.org/ Does...
    5. Rollover ???
      hi, I am trying to build my first site with flash and i have a question. what I am trying to do is to get photos to change from grayscale to...
  3. #2

    Default Re:Rollover

    Not promising anything but zip the script and put it up so I can take a look.


    Desmond22 webforumsuser@macromedia.com Guest

  4. #3

    Default rollover

    Please check my site here at

    [url]www.meadowlarkco.com/meadowweb/main.htm[/url]

    when you rollover company profile, I should have text show up, but it isn't,

    my main flash file is called background.fla, and the properties for my button company profile, have


    on (rollOver) {
    loadMovie("companyprofile.swf", 0);

    }

    the when I get to my company profile.fla, I should be able to go back to my original fla

    heres the code for that

    on (rollOver) {
    loadMovie("background.swf", 0);

    }


    Please Help, as nothing is showing up?


    MeadowRyan webforumsuser@macromedia.com Guest

  5. #4

    Default Re: rollover

    why not using in your first swf, a place at (for exemple) image 70 where nothing apears exept a back button, then use loadMovieNum on your button to load the second swf at level1 and then to go back, the button i told u that unload the level1 movie;gotoAndStop (your image in first swf).
    I think this solution is better than what u wanted to use.


    maltax webforumsuser@macromedia.com Guest

  6. #5

    Default Re: rollover

    also i don't think you should use "onRollover" but prefer "on Realease" for such a button.


    maltax webforumsuser@macromedia.com Guest

  7. #6

    Default Re: rollover

    So what would my code look like then: ?

    on (rollOver) {
    loadMovieNum("companyprofile.swf", 0);



    }

    and then unload that movie, and then load the other movie?, Im a little confused?


    MeadowRyan webforumsuser@macromedia.com Guest

  8. #7

    Default Re: rollover

    better if u use:
    on (release) {
    gotoAndStop (image70)
    loadMovieNum("companyprofile.swf", 1);
    }

    and at image 70 u place a "back" button with this code:

    on (release){
    unloadMovieNum(1);
    gotoAndStop(1);
    }


    Maltax



    maltax webforumsuser@macromedia.com Guest

  9. #8

    Default Re: rollover

    There must be an easier way to do this, 'cause I don't want to use a button, I simply want it so when you rollover the text it goes to the next movie, and from that movie, when you do the same it goes back to the main movie, that's it.



    MeadowRyan webforumsuser@macromedia.com Guest

  10. #9

    Default Re: rollover

    ok then, u can use on(rollOver) .
    But i think it should be disturbing for the users.
    the code is the same:

    on (rollOver){
    unloadMovieNum(0);
    loadMovieNum("companyprofile.swf", 0);
    }


    and in your companyprofile, u should have a button for going back to the menu wich will have:

    on (rollOver){
    UnloadMovieNum(0);
    loadMovieNum("background.swf",0);
    }


    but i'm not sure that loadMovieNum works with the level0
    you have to test it first.

    Maltax



    maltax webforumsuser@macromedia.com Guest

  11. #10

    Default Re: rollover

    but i'm sure it work with level0 for bakgroung.swf and companyprofil in level1.
    all u have to do is creating a blank keyframe in bakground.swf at image70, and the ur code
    in the company button will be:
    on (rollOver) {
    gotoAndStop (image70);
    unloadMovieNum(1);
    loadMovieNum("companyprofile.swf", 1);
    }

    and in companyprofil, the code for the back button will be:

    on (rollOver) {
    unloadMovieNum(1);
    _root.gotoAndStop.(1); //or u can also use: _level0.gotoAndStop(1)
    }



    maltax webforumsuser@macromedia.com Guest

  12. #11

    Default Re: rollover

    neither of those two methods worked, could I get your email, and send you my files?


    MeadowRyan webforumsuser@macromedia.com Guest

  13. #12

    Default rollover

    rollover text links that change colour.
    Do these have to be done in java or is there a simple script you can use?


    SteveO Guest

  14. #13

    Default Re: rollover

    changing link color on a mouseover is simply CSS.
    Publisher has no support for your using your own CSS, but you can try adding
    this snippet of CSS for the href hovor into your page via the html code
    fragment:

    <style>
    a:hover {color: #990000}
    </style>


    Of course change the html color code to your desired color.

    --
    David Bartosik - Microsoft MVP
    Visit [url]www.davidbartosik.com[/url]
    for Publisher and Web Design
    Tips and How-to's.

    "SteveO" <steve@afc.com> wrote in message
    news:bssqlj$n68$1@hercules.btinternet.com...
    > rollover text links that change colour.
    > Do these have to be done in java or is there a simple script you can use?
    >
    >

    David Bartosik - MS MVP Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139