Click to See Complete Forum and Search --> : actionscript to open text scroller
caramelson
01-18-2004, 04:20 PM
hey guys.....haven't posted anything in awhile.
question....
i'm trying to make a button open a text scroller box inside the root movie. can someone help with the actionscript? i've seen the actionscript to open a jpeg box, but not a text scroller box. please help.
thanx.
p.s. thanks bridel for the text scroller .fun file.
caramelson
01-18-2004, 07:33 PM
i'm thinking that the solution is taking the pop-up menu approach.....making the text scroller in a seperate movie and making that movie pop-up.
anyone help me out?
bridelh
01-19-2004, 05:02 AM
Hi,
As you said, put the scroller in a movie clip on stage and then hide
myMC._visible = false;
or show it
myMC._visible = true;
Hilary
--
henkvg
01-19-2004, 04:28 PM
Hello
I 've searched but couldn't find:
Is there an actionscript for scrolling a textbox with the mousewheel?
caramelson
01-19-2004, 06:11 PM
is it possible to manipulate where the movie appears or create a little window for it with a 'close' button in the top corner similar to normal browser windows?
i'm also assuming that the script you provided is put into the button actionscript?
would i have to place the text scroller movie in my main movie first in order to reference it, or just place it in the same folder?
sorry so many questions.....
bridelh
01-20-2004, 06:25 AM
Originally posted by henkvg
Hello
I 've searched but couldn't find:
Is there an actionscript for scrolling a textbox with the mousewheel?
If the swf is compiled for Flash player 7, then the mouseWheel will work automatically....
...unfortunatly, KM cannot compile/export to Flash player 7....YET ;)
bridelh
01-20-2004, 07:04 AM
Make a movie clip (shapes > add movie clip)
name the mc "window"
place the text field and scroller in the movie clip
place a button in the same movieclip
put this in the button actionscript actions:
on(press){
this._visible = false;
}
Put a button on the main movie and place this in the button actionscript actions.
on(press){
window._visible = true;
}
HTH
Hilary
--
bridelh
01-20-2004, 10:05 AM
Quick example for ver 4.2.5
Hilary
--
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.