ScrollPane Component - content alignment
Hi everyone,
I'm using the ScrollPane component to scroll a movie clip. I
understand that the ScrollPane aligns the movie from the top left
of the centre point. Is there anyway to change where the ScrollPane
aligns the movie?
The problem is, my movie clip is vertically long and I have
run out of space at the bottom of the actual document and so I need
to move the entire content of the movie clip vertically; but this
obviously means the ScrollPane currently displayes the moving clip
from about a third of the way down.
Thanks kindly for your help.
Lyle
try hPosition & vPosition properties, e.g:
myscrollpane.hPosition=50;
myscrollpane.vPosition=50;
Similar Messages
-
Controlling content height in the scrollpane component
I'm using the scrollpane component to display content, within
the content movie clips, are swf animations that are being imported
using targets. Some of the animation's parts go far beyond the
height of the stage, causing the scrollpane to adjust for the
height of the imported swf, as opposed to the height of the content
movie clip. How can I fix this?The content clip's size is determined dynamically by what
it's content is at any given time. If you change the content, there
is every reason to expect the content clip's size to change as
well.
If you do change the content of the scrollpane, you need to
redraw (Flash 7+) or refresh (Flash 6) the pane after the new
content is loaded. -
Hello All,
I have a scrollPane component set up with a long form in it. When a user gets to the bottom he can submit the form, the button then navigates him away from the scrollPane. If the user comes back to the scrollPane, the content in the scrollPane is scrolled all the way to the bottom where they clicked away. How do I reset the content so if they return to the form, the top of the form is visible in the scrollPane instead of the bottom of the form?Check out the verticalScrollPosition property of the ScrollPane class.
-
Hi guys,
I am having a problem with scrollPane component, i want to
remove it's border entirely but i can't succeed. I tried with
myscrollpane.setStyle("borderStyle", "none");
which removes border but only until I scroll or click
anywhere inside scrollPane and then that green highligh border
appears. I search everywhere but i just can't find solution for
removing this
Can anyone help me on this please?
thank you very muchmyscroll.border_mc._visible = false;
-
Display Arabic text in ScrollPane Component ?
hello,
i have RSS reader it's work fine with english but the problem
is arabic text don't display in RSS reader just english and help
about to display arabic text in ScrollPane component that component
reader info from xml file and display it ?
Regard,
Crimsonany idea ?
-
Content Alignment = Justify In text Box
Dear Friend,
i have text Area Item for description .Here i want content alignment justify in that Text Area.
How can i alighnment in Text Box.
Thanks
Edited by: Vedant on Sep 16, 2011 4:32 AMHello,
if by text box you mean a standard textarea item then i'm afraid you can't do that.
It might be possibel if you use a rich text editor item.
Regards,
Dirk -
Content Alignment in webdynpro iView based on user language
Hi,
We have a webdynpro application which has a search screen
(Arabic as well as English), based on the user language setting in Portal UME, the respective language text with options are displayed.
This webdynpro application runs on same WAS where Portal is running.
When we test this application standalone like typing the URL of the webdynpro application, it shows english text with Left to right aligned content in browser for <b>user X with Language as EN</b>.
When we test this application standalone like typing the URL of the webdynpro application, it shows arabic text with Right to Left aligned content in browser for <b>user Y with Language as Arabic</b>.It works fine when it is stand alone (when we directly run the webdynpro).
<b>We created a WebDynpro iView in Portal, and we tested with user <i>Y (whose language is set to Arabic),</i> issue is text is properly displayed in Arabic, but the content alignment is left to right, which should be Right to Left</b>.
Please let me know your solution/thought to the above mentioned issue/problem.
Thanks
SenthilHi,
The webdynpro application works fine (alignment and content is fine)when i access it directly.
When i create a webdynpro iView and run it inside portal it is not working fine (alignment is LTR instead of RTL)
I went through the SAP help <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6e/8aae409567942ae10000000a155106/frameset.htm">RTL Alignment</a>and tried creating new themes and created a new desktop and assigned it to the user. It is still the same with LTR alignment.
The issue is, why it is not working inside PRT, when it works fine inside WebDynpro Runtime.
Thanks
Senthil -
ScrollPane component smooth scrolling
Hello. I just started working with AS 3.0 and I'm yet
learning basics. I searched google and couldnt find the answer to
my question; How to make scrolling on ScrollPane component smooth
with AS 3.0? Please help.Hello. I just started working with AS 3.0 and I'm yet
learning basics. I searched google and couldnt find the answer to
my question; How to make scrolling on ScrollPane component smooth
with AS 3.0? Please help. -
Scale9Grid and content alignment
I've just started using fb3 and while converting my fb2
project, I've come to notice that the scale9grid of the container's
skin now by default affects how the content is aligned. Although
otherwise changes to margin/padding attributes feel welcome, this
in particular makes me feel like going back to the dark ages of
html tables, where content can't overlap with the surrounding skin
parts and has to fit inside the stretching part of the skin.
Okay, pretty quickly I discovered that setting ClipContent to
false allows placing the content in relation to the container's
(and skin's) top-left corner but still, for instance, setting
content's width or height to 100% sets it's size to match the
scale9grid's inner rectangle instead of container's size.
It's still possible to hack through this by setting negative
padding values to counter the effect of the scale9 margins but it's
really a drag. Container's width and height still match the size of
the skin, not the stretching square of the scale9, so why can't the
content alignment and paddings default to this?... still, setting clipContent = false is hardly a solution
if you want scrollable content... unless you add another
transparent container to clip the content and control scroll.
Here's a set of skins I've made for flex2..
http://www.elisanet.fi/~d635061/vistastyleskins/
Getting them right wasn't too hard although some components
still lacked ability to tweak paddings/borderThickness.. Now, I
wonder how far I can get with flex3 when it's trying to stretch the
skin each time around the content? If you look at the panel skins,
you'll notice that the skin has some graphic style behind the panel
content. The stretching gridsquare is below and to the right of
this, so the panel stretches alright, but it's obvious that I
wouldn't want the content to follow the scalegrid in any way. Only
thing the content should obey are the paddings (
'borderThicknesses' in flex2). -
Hi All,
Does anyone know how to retrieve and set frame content alignment settings, not text alignment?
Thank you in advance.Here is the solution:
IMultiColumnTextFrame::GetVerticalJustification ();
IMultiColumnTextFrame::SetVerticalJustification (Text::VerticalJustification vj)
available values for Text::VerticalJustification are: kVJTop, kVJCenter, kVJBottom, kVJJustify, kVJInvalid, kVJNumValues -
Control over the scrollPane component.
Gidday
I've got some moveieClips in container in a scrollpane component.
The movieClips are draggable.
I'd like to add extra functionality where if an item is dragged and touches the bottom of the scrollpane, it automatically scrolls up, and the reverse if you touch the top with a dragged object.
I tried the scrollDrag, but I only want it to scroll once the dragged item touches the bottom or top.
So I wrote this and put it in the drag function:
if ((this.hitTestObject(MovieClip(this.root).rowsHolderTopLine)) && MovieClip(this.root).rowsHolder.y < 200)
trace(MovieClip(this.root).rowsHolder.y);
MovieClip(this.root).rowsHolder.y = MovieClip(this.root).rowsHolder.y+10;
this.y = this.y-10;
It needs a bit of work, and I think I can get it working, but the one thing I'm stumped on is how to make the scrollbar move too. Is there a way to communicate with the component using code (I created this component from the component inspector)?
Thanks
ShaunOK - I think I've got it:
MovieClip(this.root).playlistScrollPane.verticalScrollPosition = MovieClip(this.root).playlistScrollPane.verticalScrollPosition-10
this.y = this.y-10;
Needs a bit of work, but it's on the right track.
Cheers
Shaun -
Is there a way to unload content from a scrollpane componant?
Hello,
There's is probably an easy answer to this but i'm new to web design and probably took the hard road with using Flash CS4.
My problem is that i have text imported from Photoshop as a movieclip loading into a scrollpane which works the way i want it. However when i click another button which loads content into a UIlLoader componant the text in the scrollpane stays onscreen. How do i get the scrollpane content to unload? The content needs to display in the same space so scrollpane and UILoader are basically ontop of eachother.
Could someone provide a solution?
Many thanksI can't find anything that unloads, though maybe you could load in an empty movieclip instead trying to unload the current one.
Or you could make the scrollpane invisible by setting its visible property to false if that's an option.
Another option would be to use the removeChildAt() method and target the numChildren-1 value of the scrollpane (otherwise you start removing pieces of the scrollpane). -
Tab Content Alignment in JTabbedPane
I want to left-align the contents of the tabs on my JTabbedPane, so that the icons all line up. Does anyone have a procedure for doing this?
Nope. All my tabs are on the left hand side.
What I want is a way to put the contents of the tabs aligned left as well.
When the tabs are placed on the left or the right, they are all automatically sized the same as the widest tab.
When content is put into the tabs, it is centered on the tab. This makes the icons appear out of alignment and messy, because not all of the titles are the same length.
I need a way to ensure (despite the width of the tab) that the content is left-aligned. This would make the icons all line up. -
Web page content alignment is OUT when using webvpn
Hi,
We started recently seeing an issue with a HTML webpage alignment when accessing it via webvpn on ASA5540. When the webpage is accessed directly the content seems to be OK. It started happening recently and there was no changes on ASA. What might cause this issue?
This is the OS running on ASA
asa842-k8.bin
asdm-645-206.bin
ThanksThis is a regression that was introduced in Firefox 4.0 beta 12. It is fixed in 4.0 release candidate 1, which is now available. Go here: http://www.mozilla.com/en-US/firefox/4.0rc1/releasenotes/ and click on the green button "Firefox 4 rc free download". Note that you should do a custom install and change the install directory to the directory where your beta version is located. Alternatively, you should receive a notification that an update is available from within the beta version. Follow the instructions to download and install the update, and once you are running the release candidate, your printing problem should be fixed.
-
Entry in SLD for SAP delivered software component contents
Hi
I have a predelivered software component version ( SWCV ) ESA ECC-SE 602 which I imported into IR ( by setting the *tpz file in the appropriate folder and the imported from IR ) This worked ok. Now I have a custom SWCV - that I created in SLD. Before importing this into IR , I want to create a install time dependency from this custom SWCV pointing to the standard. SWCV.
Question is : Where is the entry in SLD for the SAP standard SWCV - i.e ESA ECC-SE 602 - without this entry - in SLD - how can I point my custom SWCV to ESA ECC-SE 602 ? Or is there any other zip file apart from the *tpz file that is available in marketplace for ESA ECC-SE 602 that I need to import into SLD ? I am stuck at the point of defining the dependency with this question.Hi
I see that in IR , the SAP std software component has the following name ECC-SE, version 602 . But I do not see a corresponding entry for this in the software catalog in the SLD.
*Question is - should an entry be created automatically in SLD under the software catalog for all SAP delivered contents whenever the tpz file is imported into the IR ? I don't see it created in our case. What is missing ?
Maybe you are looking for
-
DNS in DHCP Pool (Internal DNS issue)
I know that we can setup multiple DNS server under DHCP pool. But I like to make sure the order. I have multiple branch offices. Let us say that Branch 1 office has a router with 10.30.1.1 as default gateway. Our internal DNS is 10.0.0.1 and 10.0.0.2
-
Getting error message stating that ' period is nt open for account type'
I am getting an error message F5286 in MIGO transaction. I have changed all the dates but still I am getting error message regarding the dates only. After I had updated the dates in SE16N, still I am getting , 'dates not open for compamy code'. Moder
-
Lenovo Win 7 Pro Upgrade - Recovery Partition?
If this has been covered already then I apologize in advance, but it would be appreciated if someone would respond to the following: I recently upgraded my T61 to Windows 7 Pro using the two-disc set from Lenovo. To preserve my original XP pro set
-
Stock transfer from one co.code to another.
Hi, What is the process of stock transfer order from one co.cde to another co.code (not with in the plants of a co.cde) Also please explain the financial effects on each steps on both side. for Stock transfer order i need to configue the cross compan
-
Failed to create posting periods in 2007 A
The systems returns this error while trying to create a new posting period in release 2007 A SP:01 PL07 The error is : SystemMessage Error Existen transacciones creadas antes de %s [Mensaje 636-7] Please, can you help me. Tansks