A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: CS4 How can I stretch the text out Please read to understand?

  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    73

    resolved CS4 How can I stretch the text out Please read to understand?

    Ok if you want to see what I'm doing you can check it out with the download link for my signature. Or you can check it out on the web.
    http://wiistream.net/WiiStream.swf

    you can login with the
    Username:
    Demo
    password:
    Demo

    Its a twitter effect that I'm still working on.
    what i would like to do is stretch the text instead of using a scroll it would not need a scroll.
    So say if you typed in 600 characters it would stretch out to show all the text with out a scroll..

    The way it is now it uses a scroll so if you typed 600 characters you can still read all of it but you have to scroll to read it all.

    I would like it to stretch, I think that would look a lot better.

    Here is the file that would need to do the stretch.
    http://wiistream.net/gethelp.fla
    Last edited by Mancent; 11-08-2010 at 04:50 PM.
    WiiStream A Social Movie Network Version 0.1.1 Demo Testers Aproved http://wiistream.net/WiiStream.exe

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    I have no clue what your talking about.. cant 'log-in'.. and Im surely not going to down;load an .exe file posted.. LOL


    but what you want to do is use the AUTOSIZE property I believe for your text field.. (and of course scale any backgrounds..etc to match)

  3. #3
    Member
    Join Date
    Sep 2010
    Posts
    73
    you can login with the
    Username:
    Demo
    password:
    Demo



    sorry I guess i should have added that.
    WiiStream A Social Movie Network Version 0.1.1 Demo Testers Aproved http://wiistream.net/WiiStream.exe

  4. #4
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    ok..I logged in.. now what?

    explain what is wrong..and what it is your looking for it to do?

    somewhere there will need ot be a scroll bar..like on the right in the browser at least...

    but if thats what you want to do.. you will need to warp that .swf in a <DIV> and then dynamically 'size' it to 'expand' to display the 'unknown' content size.

  5. #5
    Member
    Join Date
    Sep 2010
    Posts
    73
    Well if you post whats on your mind a message
    and say its a long message like this

    example :THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA

    Ok now you posted it. and you see a small scroll bar appear where you can scroll.

    But what I would like to do is make where I remove the Scroll and the Whole Message appears so instead of seeing only this much of the message.


    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA


    you would infact see this much of the message

    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA
    THIS IS A REALLY LONG MESSAGE BLA BLA BLA BLA BLA


    It keeps growing to what ever size the text is. becasue I have 2 scroll bars with this I dont need 2.

    But its set with a mask and what ever size the text is
    the mask needs to change with the size of the text.

    Some people might have a refresh problem and I posted about that here
    http://board.flashkit.com/board/showthread.php?t=818999

    just incase you can't see the post you submited.
    Last edited by Mancent; 11-08-2010 at 05:40 PM.
    WiiStream A Social Movie Network Version 0.1.1 Demo Testers Aproved http://wiistream.net/WiiStream.exe

  6. #6
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    ahh.. I see.

    first is that a Wisconsin (Badgers?) logo? for the "W" lol??


    ok.. what you need to do it set you textfield to auto size... to handle the dynamic amount of text..

    you will also (after you populate the text field) scale the BG to match (and then some) the amount of text added..

    then of course attach your next clip to the stage.. where your previous clip left off (_x + _height).. and do the same thing again..

    seems ot be a very popular topic as of late?

    I just answered and provided (another) demo of this here:

    http://board.flashkit.com/board/show...30#post4270730

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