HZGN.COM
welcome to my space
X
Search:  
Welcome to:hzgn.com
NAVIGATION - HOME
Scroller Problem
Published by: jack 2009-01-07
  • Hello people.

    I need help to do a good scrollbar. What kind of scrollbar im trying to do? Something like this:

    http://www.kirupa.com/web/xml/examples/searchbestof.htm

    Type any word (like "its") and you will see the scrollbar. I tried to understand the code but i dont know some properties. If someones knows a good tutorial please let me know. I have just have found normal scrollbars tutorials (with just an up and down buttons).

    Any help will be very welcome. :)


  • Thanks for the help, it is just what i was looking for. :)

    But i have a question: it will work with a dynamic loaded text?. Not for the embed thing, its for the height.


  • Thanks Pedro, im from Chile so i understood most of those portuguese words, nevertheless i didnt understand the code at all. LoL

    I think the best way to illustrate my problem is to post the .FLA, as Kirupa suggested. Here it is. I deleted all the other code and graphics, i left the box only.

    I copied your code Kirupa, i just changed "dragger" for "slider". If you want to see it working just go tru the MCs until you reach the text box, then change the textbox height to a greater number. It will scroll, but it wont depend of the text length, it wil depend on the textbox height.

    By the way thanks for the continous help. I really appreaciate that. :)


    PS> the zip contains the fla and the XML.


  • Kiltro - I'm not finished with this yet, and the first page is completely wrong, but you can find a rough draft of a Scrollbar tutorial here: http://www.kirupa.com/forum/showthread.php?t=206127&page=2 (http://www.kirupa.com/forum/showthread.php?t=206127&page=2)
    FrontLook.com -- Scroller::
    This scroller comes with an easy-to-use properties dialog user interface that or Problems? Click here. Secured by SSL Certificate
    http://www.frontlook.com/cfx/scroller.asp
    HOME

    The source code on the first page of that thread may be more helpful to you instead :look:


  • Yeah - it will work for anything placed into the content movie clip. I think dynamic text would display and scroll just like the static text because you aren't scrolling the text field(s) themselves. You are merely moving the movie clip that stores these text fields instead.
    Jittery text scroller : The Official Microsoft Silverlight Site::
    Microsoft portal site for the Silverlight development community. Tried to check this, only to find the problem had rectified itself
    http://silverlight.net/forums/t/3916.aspx
    HOME
    Swedespeed Forums: Vibration on Dashboard & Wiper Problem::
    ZeroForum Forums S40 & V40 (1995-2004)Vibration on Dashboard & Wiper Problem [Archived] Scroller you havent had that problem, but it seems others have.
    http://forums.swedespeed.com/zerothread?id=496
    HOME

    No, it doesnt work. Thats because the height of the text box (wich defines the MC height as well) doesnt change when the text is bigger that the space of the text box.
    Any idea? It worked fine when i changed the text box height, but its not adjustable, so if the text is shorter than the textbox height it leaves a blank space. In one word, it doesnt change the parent MC :(


  • Hi, guys.

    Welll. I dontīn know if it helps, but there is a very good class and tutorial for a scroll bar to MC and Text, with buttons and drag and all the commom actions like a click in a certain point and.. well...

    But here is a problem... The tutorial is not in english. Is in portuguese, on this URL:

    http://www.imasters.com.br/artigo.php?cc=177

    And I have had also a bug by Flash when I import external TXT into a text field.. but I fixed that and you can see how here on Kirupa Foruns:

    http://www.kirupa.com/forum/showthread.php?t=206571

    If the portuguese language brings you a very high wall and makes u stop.. Post here that I can do some fla by example...

    I hope it helps.

    Pedro Paulo


  • kiltro - I haven't forgotten about your question. It just has me stumped :(


  • lol, that's what I get for not scrolling down to the bottom of the page :sigh: :P


  • But i have a question: it will work with a dynamic loaded text?. Not for the embed thing, its for the height.
    Yeah - it will work for anything placed into the content movie clip. I think dynamic text would display and scroll just like the static text because you aren't scrolling the text field(s) themselves. You are merely moving the movie clip that stores these text fields instead.

    EDIT: Lunatic - in sen's tutorial, in his sample animation, you have to enter a search term such as 'are' and press Enter. That will display the scrollbar.

    :hugegrin:


  • I don't see a scroller?


  • Could you post the FLA with your Dynamic Text field and the scrollbar? I'll try to fiddle with it and see if something can be done :)


  • Hello Im experimenting on the scrollbar. It works perfectly but however it doesnt work if I load an external image loadmovie("temp.jpg",this); of course the image is bigger than the mask. i dont know why it isnt scrolling. maybe you could post a file where it can dynamically scroll anything even dynamic movie, image. textfield,etc.

    Is it important to preload the image first into the movieclip before we could use the height, width, properties? Any suggestions, comments?


  • By the way Pedro i think this is the right link:

    http://www.imasters.com.br/artigo.php?cn=3393&cc=177

    :)

    Now understand your post. Somewhere there is the right code to get the text property that i need (instead the text box height). Im on it now, i just downloaded the file. Anyway, any further help will be very welcome :) its kind of long and i will need help:P


  • Thanks kirupa. It will look good with a scrollbar and a blur effect that i will put to it when the user press and moves the slider :)


  • Dont feel bad. :) I really appreciate your interest. Im trying to find out how it works by myself too.

    Unfortunately the "tutorial" of that page doesnt teach you how to build one. It just say you how to run the constructor.





  • Red Hat's Rough Recovery From CFO Exit
    Windows Live Finds a New, Pre-installed Home
  • the key business objectives of promo gifts
  • how to choose effective promo gifts
  • promotional caps and other promotional clothing
  • promotional mugs add mobility to your advertisement
  • highlight your business with promotional highlighters
  • get positive business results with promo gifts
  • use promotional caps for advertising
  • promo gifts give a cutting edge to your business
  • use promo gifts for launching new services
  • promotional highlighters for advertising
  • go for trendy promotional highlighter pens
  • why not use promotional mouse mats for business growth
  • promotional highlighters as promotional gifts
  • know how to manage your marketing
  • promotional highlighters useful in nature
  • importance of promo gifts for every business
  • optimise your pages before inserting adsense
  • practical uses of promo gifts
  • benefits of distributing promotional caps during road shows
  • partnerships for profit
  • why to spend on promo gifts
  • considering your marketing materials
  • occasions to give promotional highlighter pens
  • distribute promotional highlighters for business success
  • why promotional highlighter pens are the best business gifts
  • the advantages of having your own personal business cards design
  • promotional caps are not just for increasing profits
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Scroller Problem , Please add it free.
    About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008hzgn.com All Rights Reserved