At 22:08 +0800 04/25/2002, noelle cheng wrote:

>>>>Well, somewhere in the rollover code then there's a line that's 
>>>>supposed to change the sprite's Cast member onscreen. The first 
>>>>thing >>>to do is check the code in the Property Inspector under 
>>>>the Behavior tab and see if there are properties that can be set, 
>>>>such as the >>>"normal" and "rollover" sprite members. If so, 
>>>>you'd change the settings there.
>
>I believe you are referring to figure 2-3 on  page 48.

Well, that would be one example of the PI's appearance, yes. ;)

>The strangest thing is that when I compared it to a button which 
>worked properly,  the settings here are identical.
>
>I've checked everything, including the other two behaviors and 
>everything is the same.
>
>Do I still change my settings list?

Possibly. Without actually seeing the rollover code in question, I'm 
assuming it has settings that let you pick the specific button that's 
supposed to be switched. That is, the behavior should let you pick 
the Cast member that's supposed to come onscreen when the rollover 
takes place.

If the settings in your behavior, though, are identical to the 
original movie from which you got the behavior, you might be in 
trouble -- for unless your movie has the same Cast member as the one 
being switched in the original movie, things will not work as you 
expect them to.

So if the original movie references a Cast member named (as an 
example) "rolloverButton" for the rollover, but your current movie 
does not have any such Cast member included, it won't work.

You'll need to actually change the behavior settings to make sure it 
is pointing to the correct Cast member in your current Director movie 
Cast.

>Otherwise the behavior has been hard-coded in some way (probably). 
>Those can be harder to modify because you don't necessarily know 
>exactly where and how things are being modified on the Stage by the 
>code.
>
>If it was such , what can I do?

Try using the rollover member change library palette behavior.

>  >That's another reason I recommend against copy and paste in 
>general; you just can't be sure that what you're getting will owrk 
>in your >files at all.
>
>  I am beginning to understand why I must not do this. Thank you, I 
>will heed your advice.

I wouldn't say you mustn't do it; rather, be aware that in doing so 
you might have to do so much adjusting with the code you've copied 
that it would take the same amount of time to just write it yourself.

>Under bitmap, my Palette is at system-mac. But I am on a PC. Does 
>not the system recognize this? Would it make any difference?

It's only an issue if the user's system is set to display 256 colors. 
If they're showing thousands or more you don't have any reason to be 
worried.

That said, it's a good practice to make sure everything is set to Web 
216. This is a more or less crossplatform optimal palette. When a 
user's system is set to show 256 colors, the Web 216 palette will not 
interfere with the system's color scheme.

>The compression for a bitmap  should it be for a movie setting? Or 
>JPEG? Under what circumstances does one choose movie settings over 
>the other?

You really don't need to worry about that at all unless you are 
planning to release your file in the Shockwave format. In that case 
you'd probably be reasonably happy with JPEG compression. You'll have 
to try several different exports and check the image quality until 
you get something that's an acceptable (to you) compromise of visual 
quality versus file size.

JPEG compression, when it's on relatively high, can cause pretty 
substantial degradation of graphic quality. If you've got a client 
that is used to high-resolution printed media, such a person might 
have less tolerance for this than someone who's more used to working 
with GIFs and so on.

>On page 58, I am not sure how to create the movie.
>
>You indicate that I need to create a #text sprite. From  page 24, I 
>understand this to be A  in the toolbox on the left.
>
>To create this  #text sprite, I drag this to the stage. Do I need to 
>make amendments to this sprite?
>
>  I note that here the PI contains only four items:
>i member, A text, 3D Extruder and Cast.
>
>I click on A text to  change its'  framing pop-up to scrolling. I 
>then  dragged  the behaviour
>
>Get Net Text onto this empty text member. I entered the url as 
>stated and connected to the internet.
>
>When I played the movie, I did not see any text on stage.

Did you have a 'go the frame' script in the script channel? If not, 
you'll want to add one, to keep the play head on that frame while the 
net text is retrieved.

If so, it's possible there was just a delay in the net that kept the 
text from being accessed. That happens sometimes too. ;)

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to