Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 2 of 2

Thread: text questions

  1. #1

    Default text questions

    I have three questions...
    please help if you can.
    1. Scrolling text. Is there a way to create scrolling (scroll bar and all), with the background remaining transparent? Can I do this with the scrollbar offered from the components?

    2. So far for my text my code on the arrows looks like this:
    on (release) {
    text.scroll-=1
    }
    What code should I add if I want the text to continuously scroll on "hold"?

    3. Finally, If I want the text to be able to load as a PDF.... um... how do I go about doing this?

    Thank you so much for your time and consideration!
    -sumire

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    You can use a dynamic textfield with no border or background for the transparent textfield. You can use a component scrollbar to scroll if the text amount is larger than the textfield size. Set the target in the scrollbar component to the textfield instance name. For continuous scrolling, try...

    Frame code...
    Code:
    btnName.onPress=function(){
    this.onEnterFrame=function(){
    text.scroll--; 
    }
    }
    btnName.onRelease=function(){
    delete this.onEnterFrame;
    }
    As to loading a .pdf file into Flash, it can't be done. A .pdf file will only open in the default application for .pdf files(acrobat reader) which is a seperate application from flash. Flash can only load text files.

    NTD
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. drag and drop questions
    By cbiddy in forum Newbies
    Replies: 3
    Last Post: 04-24-2006, 10:16 PM
  2. maze game, questions
    By guitarplay in forum Newbies
    Replies: 5
    Last Post: 01-22-2006, 07:16 PM
  3. popup generator questions
    By lance1 in forum Newbies
    Replies: 1
    Last Post: 12-27-2005, 07:24 PM
  4. randomizing the quiz questions...
    By flashvalli_snp in forum Flash Scripting
    Replies: 3
    Last Post: 12-13-2004, 06:32 AM
  5. More random questions
    By benjazz in forum Flash Scripting
    Replies: 2
    Last Post: 07-27-2004, 01:30 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
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial