A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: actionscript to open text scroller

  1. #1
    Almost Got Two Commas...
    Join Date
    Mar 2002
    Location
    Between Saint Louis and Chicago
    Posts
    44

    actionscript to open text scroller

    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.
    I'm just a short person danglin' on a toilet seat...

  2. #2
    Almost Got Two Commas...
    Join Date
    Mar 2002
    Location
    Between Saint Louis and Chicago
    Posts
    44

    just a reply

    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?
    I'm just a short person danglin' on a toilet seat...

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    379
    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

    --

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Posts
    262
    Hello
    I 've searched but couldn't find:
    Is there an actionscript for scrolling a textbox with the mousewheel?

  5. #5
    Almost Got Two Commas...
    Join Date
    Mar 2002
    Location
    Between Saint Louis and Chicago
    Posts
    44

    to bridel

    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.....
    I'm just a short person danglin' on a toilet seat...

  6. #6
    Senior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    379
    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

  7. #7
    Senior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    379

    Re: to bridel

    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:
    Code:
    on(press){
    this._visible = false;
    }
    Put a button on the main movie and place this in the button actionscript actions.
    Code:
    on(press){
    window._visible = true;
    }
    HTH

    Hilary

    --

  8. #8
    Senior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    379
    Quick example for ver 4.2.5

    Hilary

    --
    Attached Files Attached Files

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center