Professional Web Applications Themes

Rollover - Macromedia Director Basics

take a look at this for example of rollovers... [url]http://portfolio.jumpout.co.uk/examples/director[/url] "Robert Lee" <rjleeearthling.net> wrote in message news:bg8v09$4r0$1forums.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- > > ...

  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" <rjleeearthling.net> wrote in message
    news:bg8v09$4r0$1forums.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]rjleeanastasisproductions.org[/email]
    > [url]http://www.anastasisproductions.org[/url]
    >
    >

    Andrew Kennedy Guest

  2. #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

  3. #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

  4. #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

  5. #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

  6. #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

  7. #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

  8. #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

  9. #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

  10. #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

  11. #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

  12. #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

  13. #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" <steveafc.com> wrote in message
    news:bssqlj$n68$1hercules.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

Similar Threads

  1. help with rollover in DW 8
    By experience66 in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: October 17th, 02:07 PM
  2. rollover in 3D
    By Folkert Jongbloed in forum Macromedia Director 3D
    Replies: 6
    Last Post: November 16th, 01:01 AM
  3. trying to do a rollover - please help!!!
    By sussie.k webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 4
    Last Post: September 16th, 07:49 PM
  4. Rollover and making another rollover with links
    By 360liquid webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 26th, 12:26 AM
  5. Rollover ???
    By amanita webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 3
    Last Post: July 23rd, 06:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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