Attach your scripts to the sprite (not the cast members)
and your problems will, most likely, disappear.

As you  change the *cast member* with your rollover
script, only part of your script will execute .

You could hard code use a script like this:
(untested)


on exitFrame
if rollover (6) then
if the member of sprite (6) = "use a place holder here" then
set the member of sprite 6 = "your video file name"
else
set the member of sprite 6 =  "use your place holder here"
end if
end if
end

And on your palce holder sprite (in this case 6)
attach your mouse up/Down scripts

HTH

JohnT



mirianam wrote:

> This is what I've done so far:
> As I've 30 QTs I've attached the following scripts to the cast member
> (not sprite)
> For "pause" cast member:
> on mouseDown
> set the member of sprite the currentSpriteNum to member "play"
> end
>
> on mouseUp
> set the movieratre of sprite 6 to 1
> end
>
> And for "play" cast member I've reversed them.
>
> This works fine and the digital video plays and stops with the icon
> changing appropriately but I can't seem to get any rollovers to work
> without mucking something up, either the rollover doesn't roll back on
> mouseLeave but mosttl any rollovger script seems to make my original
> cast scripts stop working. This is whether I attach rollover script to
> cast script or sprite script. What am I doing wrong!
>
> What i would like to happen is this:
> The "pause" icon to rollover to "playroll" and back to "pause" and for
> "play" icon to rollover to "pauseroll" and back to "play"
>
> Any sugestions to get me onto the right track? Thanks
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/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!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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