ActionScript 2.0 :: Scrollbar Visible Only If Content?

Feb 5, 2008

I have a scrollbar which works great however I want it to only be visible if the content in the dynamic text box is over a certain amount/height can anyone help I thought maxScroll would be the answer but cant seem to get that to work.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Transparent Textarea Background, Visible Scrollbar?

Apr 8, 2010

I'm having trouble making a textarea with a transparent background, with a visible vertical scroll bar? I've only found ways to make btoh the scroll bar and the textarea background transparent, is it possible to just do this to the background?

View 3 Replies

Flex :: Disable Scrollbar - Thumbs Visible But Not Selectable

Feb 18, 2011

I have a canvas with a scrollbar and I would like to disable the scrollbar in some way that keeps the thumb visible, but not selectable. I just want to let the user know that there is more information below, but I do not want to let him use the scroll to move down(this will be done with the movement of the arrows). I tried using the properties enabled but it does not work.

View 1 Replies

ActionScript 3.0 :: Visible / Hidden Scrollbar For Dynamic TextField (XML File)

Aug 18, 2010

I am currently creating an online portfolio using Slideshowpro [URL]. For some of my pictures I am using (external) captions from a XML file, inserted into a dynamic textfield. As some of the captions contain a lot of text I decided to add a UIScrollBar. However, when there is no text (no caption) available, I want the scrollbar to be hidden. Also if there is not enough text to warrant a scrollbar it would be great if it could be hidden!

Code below, note that "t_txt" is the instance name of my dynamic textfield:
import flash.text.TextField;
import net.slideshowpro.slideshowpro.*;
import fl.controls.UIScrollBar;
XML.ignoreWhitespace = true;
//remove scrollbar from stage, scrollbar component must be in library
var sbContent:UIScrollBar = new UIScrollBar();
[Code] .....

View 1 Replies

ActionScript 2.0 :: Make Scrollbar Invisible / Visible Depending On The Length Of Text?

Apr 11, 2005

I'm sure this question has been discussed before? I'm wondering how I can make this particular scrollbar invisible when the text inside is short and visible when the text is longer? What would be the AS for this? I'll attach my file to this post!!

View 2 Replies

ActionScript 2.0 :: Make Scrollbar Invisible/visible Depending On The Length Of Text?

Apr 11, 2005

how I can make this particular scrollbar invisible when the text inside is short and visible when the text is longer?

View 3 Replies

Scrollbar Not Working For XML Content MC

Aug 19, 2009

I have a movie clip that loads thumbnails from images folder by reading the location of image from xml file...The problem is I have put up a scroll bar but its not working i.e its not scrolling the thumbnails' movie clip contents. I am uploading the fla...any line of code I need to change I think its the scrolling function. The scrolling script I used is from kirupa. I don't want to use classes in this...and want the up n down buttons to remain.

View 6 Replies

IDE :: Scrollbar Content Too Long?

Sep 15, 2009

I have a scrollbar in which a very long list which I can't make any shorter / smaller.roblem is, the script for the scroller demands that I place the text at 0,0 on the Flash axis, and the lenght of the text makes it run way down to the lower edge of the Flash workingfield.Somehow this makes the text run 'beyond reach' of the scrollbar; the scroller only shows about 2/3 of the list, and does not show the text beyond that point.How can I extent the reach of the scrollbar??? Can I shift the 0,0 point of the Flash axis (maybe place it higher, so the text falls into the more 'reasonable' regions of the workingfield of Flash?)

View 1 Replies

ActionScript 3.0 :: Flash Text Content Not Visible?

Jun 14, 2010

Recently I found an interesting issue for me. There is one simple file that reads the content of xml file and shows it. Everything is working fine in the browser and on the server. But some people told me that they can not see the flash text content. Instead of it they see some strange symbols. What might be the problem? I think that I have to embed the font of the text fields. I should also mention that the text content is not in English, it is in different language. What should be the format of the xml file?

View 2 Replies

ActionScript 3.0 :: Scrollbar With Generated Content?

Nov 27, 2009

I want to use the built in Scrollbar component to scroll within a movie clip or sprite whose content is generated by a for loop within my code. I can't seem to get it working when I set the scrollbar at authortime to target the movieclip into which i place the for loop at runtime.

View 9 Replies

Flash 8 :: Scrollbar - How To Scroll Content?

Dec 22, 2011

I have several scenes in a Flash app; for some of them the Movie height is right while for others the content is very long so i would need to have scrollbars to let the user scroll down.Which is the correct way to handle it in this old version of Flash?

View 1 Replies

ActionScript 2.0 :: Scrollbar Won't Show All Content

Aug 6, 2009

I've used Bill T's scrollbar code and loaded text from an XML file. When I drag, the text content is not completely shown.

I'm suspecting it has to do with the value "1.3" in this particular line:

Code:
scrollAmount=(this._height-(mask_mc._height)/1.3)/(mask_mc._height-scrollbar_mc.dragger_mc._height);

how I could use this code, to show up complete text content dynamically?

Here's the complete AS:

Code:
//set a variable
targY=0;
//set the drag action of the dragger

[Code].....

View 1 Replies

Flash :: Making Content Visible To Search Engines?

Feb 1, 2012

When I was using Flash CS4, it published a HTML file that showed the text content of the movie, which made it easy for search engines to index the site. However, in Flash CS5.5, I notice it doesn't appear to do that anymore.
 
What do I do (step-by-step) to make my movie content visible to search engines?

View 2 Replies

ActionScript 3.0 :: Scrollbar And Loaded Content Of Various Sizes?

Jun 5, 2009

I'm working on a project that uses a loader to load up a swf, then display the loader in an area using a mask and a scrollbar to scroll through the content. The content in this project will change regularly, including the dimensions of the swf file (vertical dimension only, I'm not worried about horizontal scrollbars with this question).The problem I'm running into is I can't figure out a proper formula to get the scrollbar to position the content at it's bottom when the scrollbar is at the bottom  What I have now is close, but not exact. If you scoll to the bottom, the bottom of the content would scroll up too high, leaving an empty 'blank' space where the content should be. I have an if statement checking for this currently, but this creates a 'dead zone' at the bottom of the scroll bar where the content is already at the bottom, and the scroll bar can continue to scroll down a bit.oes anyone know what I'm doing wrong here in the math to get a good scrolling going, regardless of the size of the content loaded by the loader?Here is what I have so far:

package {  import flash.display.MovieClip; import flash.net.URLRequest;  import flash.events.*; import flash.display.Loader;  import fl.controls.UIScrollBar; import fl.controls.ScrollBar; import

[code].....

View 1 Replies

ActionScript 2.0 :: Scroll Box (w/scrollbar) Content Defined By XML?

Jan 23, 2010

I'm wanting to make a vertical scrollbox (say, 150 px wide by 500 px high with a scrollbar) and where the content is defined by an XML file. The catch... I'd like each name in the list to become a button (or otherwise clickable) that opens a swf (also specified in the XML file). I have succeeded in making a static list where each "name button" was created manually... but I'm realizing my list is going to be hundreds of names and I'm thinking there must be a way to achieve this with XML. Here is the current version:

[Code]...

View 0 Replies

ActionScript 2.0 :: MichaelxxOA And Kirupa Content Scrollbar?

Aug 26, 2007

I have been reading through the Source/Experiments threads and trying to implement suggestions in the Content Scrollbar (Revised) [URL].. thread. I'm using Flash MX 2004, Actionscript 2.0 and throughout the course of this great thread the suggestions seem to shift and become geared for Flash 8. There are a few hints that MichaelxxOA kindly left for MX 2004 people loading content dynamically but I haven't been able to get to work. It's been a long work in progress but I feel like I am getting closer. At the moment I have been able to get the xml content to load into flash but I had to create a kind of dummy cell in the contentMain that is approximately the length of the combined images in the xml document. Is there a way to change the code so that it can read and load the content of the xml document so that when it varies flash loads into contentMain what ever combined height the xml includes? Here is the zip including .xml, .fla, .swf, .as and image with progress so far.

View 2 Replies

ActionScript 2.0 :: Loading XML Content - Custom Scrollbar?

Feb 4, 2009

I am new to xml content in flash. I have been through the kirupa tut for loading xml content and have been successful in implementing it, but I now want to implement it into a scrollbar so I can use css and img tags. I can get it to work using the UI scroll component, but I want to use a custom scroll bar. I get the XML to load fine but I have no clue where to stick in the firstChild.childNodes[0] so I can call to certain attributes within the XML document. Below is the AS for the custom scroll bar.

Code:
stop();
holder_mc.setMask(mask_mc);
var LV:LoadVars = new LoadVars();
LV.onData = function(info:String):Void {
holder_mc._txt.text = info;
[Code] .....

View 1 Replies

IDE :: Scrollbar That Eases Content Into Place OnRelease

Mar 11, 2009

On my site I want to scroll image boxes vertically. On releasing the scrollbar is there anyway to make the content being scrolled ease into a specified position so that it aligns with other elements on the site instead of stopping at a random coordinate?

View 1 Replies

IDE :: Simple Custom Scrollbar - Content Disappears

Mar 30, 2010

I've successfully implemented the scrollbar from this great tutorial for some banners, but when I get to my 300x250 banner, the content gets cut off and disappears at a certain point while scrolling. This is the tutorial: [URL]. I altered the pieces for two different sizes without needing to alter any code, but this size is suddenly giving me problems. My FLA is attached.

View 3 Replies

Flex :: Will Google Index Content That Is Only Visible After Clicking A Button

Mar 23, 2011

Will the Googlebot "click" buttons on a Flex 3 site when it indexes it?

I've got a Flex 3 site. When the user clicks one of the buttons on my site, a panel opens and text appears. As the text is not immediately visible, will Google index the content in the panel? (I'm not cloaking or anything weird. It's just the normal functioning of the site).

Are there any Flex 3 developers out there who see Keywords listed in Google Webmaster Tools for text that is visible only after clicking a button?

View 2 Replies

Flex :: Horizontal Scrollbar Hides Content Of ApplicationControlBar?

Oct 9, 2009

I have an application control bar at the bottom of my Flex application (with attributes width="100%", dock="false", left="0", bottom="0", height="50"). It contains a lot of elements (like buttons and labels). The width of the SWF is the width of the browser.When the user makes the width of the browser window smaller, after a certain point, thecomponents on the application control bar gets "squished": they are forced on top of each other. And so, it becomes confusing and ugly. To ensure that that doesn't happen, I've set the minWidth attribute to a value so that it'll always display the components without them overlapping each other.

But then, a horizontal scrollbar appears and hides the bottom half of the application control bar.I've googled and I found this article: flex verticalscrollpolicy bug (referenced by this SO question: Flex: Prevent scrollbar from covering content when automatically displayed).But that seems to apply only to a fixed size component. My component's width is a percentage. how to have the horizontal scrollbar appear and have it not cover up the application control bar?

View 3 Replies

ActionScript 3.0 :: ScrollBar Formula - Add Extra Space After Content?

Feb 11, 2011

so i have some scrollbar(track and button) and some content.the formula i am using to calculate to calculate y of content is the following:

//contentStarting.y and scrollbarButtonStarting.y are positions of sprites at the moment they are created
content.y = -((contentStarting.y -scrollbarButtonStarting.y) +scrollbarButton.y) * ((content.height- content.mask.height) / (scrollbarTrack.height - scrollbarButton.height));

the only problem i have is that i need to add extra space after content, so basically i want forumla to act as if content. height = content.height + extraSpace , but unfortunatelly setting the height scalesY, which is what i don't want.

View 1 Replies

Flash :: Having The Scrollbar Handle Sized In Relation To The Content Height

Jan 22, 2011

I'm having a bit of trouble with this logic. My setup is typical, with a content MC and a handle MC the runs along a track with specified bounds. All I want to do is have the handle height adjust based on content height but in relation to the track height?

View 1 Replies

ActionScript 2.0 :: Change The Content In One Simple Custom Scrollbar With/without Changing It In All?

Sep 20, 2010

I worked through Kirupa's "Simple Custom Scrollbar" tutorial and successfully adjusted it to fit some of my content. Then I put it in a movieclip. I was hoping I could just go into each new instance of that movie clip, put in new content and be good to go. Unfortunately, when I edit the content inside my movie clip it edits the content of all the scrollbars in my timeline.

I tried renaming the instance "contentMain" to "contentMain2" in a second movie clip, that I also gave a unique instance name to, and adjusting the actions to match, but that still ended up renaming it in the other the scrollbars in my timeline as well as adjusting it in the actions of all the scrollbars.

View 2 Replies

ActionScript 2.0 :: Can't Get Kirupa Scrollbar To Scroll With The Generated Thumbnails + Dynamic Content

Feb 4, 2009

Mainly been making websites all these years, but in my last year at school i started to get interested in Flash Actionscript. I've been at home for over a year in 2008, unemployed. I got back to school in September 2008 but quit the education as it wasn't for me. Now I'm looking to get a job, but I need a showcase, so I'm building my portfolio at the moment.

I'm currently working on my portfolio which i wanted to make in Flash using XML generated content. I got as far as getting the content generated in my prototype. Now I'm trying to build the real thing. I currently got a scrollbar on the left which contains the thumbnails. I used the custom scrollbar from [URL] ([URL]). The content in it is generated with xml and actionscript though.

[Code]...

View 2 Replies

ActionScript 3.0 :: Scrolling Text - Track Not Visible If The Content Is Smaller Than The Text Field?

Jan 20, 2010

I have a dynamic text filed scrolling with a drag button on a track or the mousewheel. What I am trying to do now is have the scroll button and track not visible if the content is smaller than the text field.

ActionScript Code:
//this if statement not working as should. button and track are always invisible.
//txt is text field name
if (txt.textHeight < txt.height){[code]......

View 8 Replies

ActionScript 3.0 :: Height Of Scrollbar To Height Of Scrolling Content?

Nov 8, 2009

I made a scrollbar class that works pretty well. I'm trying to come up with an idea for how to set to the height of the scrollbar vs the height of the scrolling content. This is a standard thing that happen in the OS. Seems there should be a minimum number and the maximum value should be reached as the size of the content approaches the size of the visible area.

View 3 Replies

ActionScript 3.0 :: In-visible Sprite With Visible Children?

Sep 28, 2011

My question is: Set parentSprite.visible = false will make all children in parentSprite all invisible, right? And is there any way to just make parentSprite itself invisible without effecting it's children?

View 2 Replies

ActionScript 3.0 :: On Click Object Visible Not Visible

Aug 8, 2010

I want to click on an object and make it appear and disappear. As the object is rectangular, I figured putting a white button the same size on a white background on a layer underneath the object would do this, but I can't seem to make it happen.I'm a complete novice, frustrated as I've been trying to achieve this all day and I'm sure it should be pretty simple, but could you give me the idiots guide. I know how to name an instance, make an object, script in actions on a separate layer. I would like to draw the button myself and give it an instance rather than drag it off the button component (as I can't work out how to make the component button white, change its size etc.!)

View 5 Replies

ActionScript 2.0 :: Visible = True & Visible = False?

Apr 1, 2009

Code:
my_Dyn_Txt1._visible = false
cb1.onRelease=function()[code]....

When the checkbox (cb1) is clicked the "my_Dyn_Txt1" is visible. The problem I'm having is - when I move forwad and back in my frames the checkboxes which were clicked are not visible due to

Code:
my_Dyn_Txt1._visible = false

How can I make ("my_Dyn_Txt1"), a clicked checkbox STAY VISIBLE even after I move forwad and back in my FLA frames?

View 11 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved