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?
I have a swf file (as3) that is in a header of a page. When I run the page the content below it is hidden. It's in the source code but the browser doesn't display it. If I put the swf below the content everything shows up fine. It does this in both chrome and IE. If I take out the swf from the header all of the content shows up fine also.
I have a swf file (as3) that is in a header of a page. When I run the page the content below it is hidden. It's in the source code but the browser doesn't display it. If I put the swf below the content everything shows up fine. It does this in both chrome and IE. If I take out the swf from the header all of the content shows up fine also.
I've got an Horizontal List. It contains 6 XML Nodes at the moment. But what I'd like to do is remove the scrollbar so that an button can function to scroll through the nodes instead.
We have a Flex application which is build against the 3.3 SDK. It has been in production for more than a year without any problems, till yesterday. We got a bug report yesterday that some content is invisible which prevents the user from completing an assignment. I looked into the problem and I have narrowed it down to Flash Player 11. Unfortunately it got me no closer to solving the problem.The part of the application that is giving problems is a separate .SWC which is loaded in a SWFLoader object. This is placed on a Canvas which in turn is shown to the user via the PopupManager.This is what it looks like when I view it in FireFox 10.0.2 with Flash Player 10,0,45,2 (click for image).
And this is what it looks like when I view it with Flash Player 11,1,102,62 in Chrome 17.0.963.56 (click for image)As you can see I am missing the checkboxes, two buttons and the checkpoint in the middle. The checkpoints drops in from the top of the screen and sometimes you can see parts of it. It looks like there is something invisible on top of this. In the Flash Player 11 version I am able to click on the checkboxes that are invisible and this does trigger the expected behavior so I know the mouse clicks are handles properly. Same goes for the buttons 'Vorige' (previous) and 'Volgende' (next), even though you can't see them I can still navigate between states.I have check if disabling the hard acceleration in Flash Player 11 made a difference but unfortunately it didn't. I also thought it could be the preloader that is blocking out part of the screen but the position seems all wrong and I am not having any problems with other external .SWC files that are presented to the user.
I have a canvas lets say the size of it on the screen is 500x500. But I want the actual canvas size to be 1000x500 making the other half scrollable. How can I make a blank canvas with that specification?
In my application I'm using a canvas and repeater inside HBox it is Dynamic,..now I want to keep a horizontal scrollbar for the same, I may display more than 50 canvas addresses inside that Hbox and repeater.Here is my code:
I would like to know how can I make a horizontal scroll bar in AS2?I have make a vertical one already and using the below script, what should I change then let the scrollbar become left to right?
var scrollUpper:Number = 9; var scrollLower:Number = 158; var textLower:Number = 0[code].....
URL...I really like the style and I think it's Flash but not sure.How do they get the whole animation to fit the whole screen without a users horizontal scrollbar coming in? Is this something you can set in Dreamweaver when you upload it?
With scrollPane, is it possible to change the position of the horizontal scrollbar? I saw an old thread that suggested using the following for moving the vertical scrollbar:scroller.verticalScrollBar.x=-20;So I tried changing it to "scroller.horizontalScrollBar.y=-20;" but that had no effect.
I've got a List component set up but some of the text exceeds the space available and so I'm trying to add a horizontal scrollbar as well as the vertical one.In the component inspector I've set the horizontal to "on" and given it a width of 200 (my component has a width of 150).However, it cannot be scrolled and I get this error message: TypeError: Error #1009: Cannot access a property or method of a null object reference. at AWorkingFile1_fla:: Main Timeline/baseData()Is it actually possible to get the scroll bar to work?
I'm coding a horizontal scrollbar that will contain several movieclips. The scrollbar has a few ways to scroll through it, a traditional scrollbar (scrubber & track), a next and a previous button that will scroll from clip to clip, and finally clicking on the scrollbar track to go to that point. However the bar doesn't full scroll back to it's original start point and at the opposite end it scrolls a little too much past the end of the clip. The same with the next and previous buttons you click the previous button it comes up just short of the original start point and the next button goes just a little further then it should. I cant seem to figure out whats wrong with it. I realized this is kind of a hard problem to explain so I attached an fla file (CS3 & CS4).
I've tried to use the "Simple Custom Scrollbar" tutorial to create a horizontal scrollbar instead of the vertical. I've changed the defenitions like this:
scrolling = function () { var scrollWidth:Number = scrollTrack._Width; var contentWidth:Number = contentMain._Width;
[Code]....
I put the "Width" instead of the "height", and "x" instead of "y". What I've got is when I push on the "scrollFace" button it slides but disappears immidietly, and the the image (which is "movieclip" as well) beneath the masked area freezes.
* In addition - I have to make this scrollbar move from right to left - Is there any additional defenitions I must concern?
I am using a MoveIt function to show a horizontal scrollbar in State 1 and then another mc in State 2. The scrollbar is working perfectly when the flash animation loads but after I switch to State 2 and back to State 1 the scrollbar no longer functions.I would like to make it so that the scrollbar stays in its last position and is always working without reloading.[code]
I'm working on a schoolproject and I have a flashapplication that I want on my site. In this image you see a horizontal scrollbar and a vertical scrollbar. In the middle are the photographs, those you'll click in the horizontal scrollbar and they will enlarge (with some text). That's the red arrow. The yellow arrow is the thing I wanted too. When you click a photograph in the horizontal bar en you hold em, you can drag that photograph in the vertical bar and drop it there.
I read some of the other posts concerning scrollbars but they didn�t solve my problem. I created a simple horizontal scrollbar but it doesn�t appear on my screen at all. Instead I keep receiving the following error message (I translated it from German so it might not be 100% correct):
1046: Type has not been found or there was no Compiling time constant: ScrollEvent.
The error lies with "public function scrollHandler(event:ScrollEvent): void { ".
I've made the kirupa simple scrollbar [URL] to scroll horizontal. This works just perfect but it is not smooth. My question to you is - how to make it smooth? I've got 4 MC's with the instance names content, mask, scroll_area and scroller.
My AS looks like this: onClipEvent (load) { _root.content_width = content._width; _root.scroller_area_width = scroll_area._width; scroller._width = _root.scroller_area_width/(content._width/scroll_area._width); _root.scroller_width = scroller._width; [Code] .....
I am using an Apple PowerBook g4, Flash CS4, ActionScript 3 and I am trying to develop and design my own site and truth be told I have no idea what I am doing nor how I will put all the pieces together. But at the moment I am trying to make a horizontal scrollbar using the Object-Oriented Scrollbar: Part 1 tutorial. Basically all I have done is used x instead of y within the actionscript code. However, the only error I am getting is with the import caurina.transitions.Tweener*; code. What comes up in the compiler error report is:
Location) Symbol 'scrollbox' , Layer 'Actions', Frame 1, Line 1. Discription0 1086: Syntax error: expecting semicolon before mult. Source) import caurina.transitions.Tweener*;
The caurina file was downloaded the from Tweener Documentation and Language Reference site [URL] and I used the tweener_1_33_74_as3.zip Stable version 1.33.74, Actionscript 3 (Flash 9+) Featured Jun 2009 34.4 KB file. After placing the unzipped caurina folder into my project folder and that not working I have placed in Applications/Adobe Flash CS4/en/First Run/Classes as I read within the forum post "Re: Object-Oriented Scrollbar Part 1" posted by AKA//TRUTH on Wed Jan 20, 2010 12:30 pm.
ActionScript Code: Code: Select allimport caurina.transitions.Tweener*; var xOffset:Number; var xMin:Number = 0; var xMax:Number = sb.track.width - sb.thumb.width; [Code] .....
I've been struggling with a horizontal scroll bar controlling vertical content movement. Can anyone help me? I'm using AS2 in CS3 and I have tried the search function....in vail..
I�m trying to get my horizontal scrollbar gallery images to link to different url�s, but having some trouble getting more than one url to open, they all link to the same site.
I tryed to create a movieclip that simulates the windows' windows, lets say it... this is my swf: [url]....at first look, it seems to work right. Its draggable and scalable just like a windows os frame. But so far so good, try to move the horizontal scrollbar thumb till it reaches its limit. Then scale the movieclip.
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.