Flex :: Add A Scroller To A Menu ?

Feb 2, 2011

In flex 4 I'm using a PopUpButton with a Menu populated with records from the database.For one of our clients, the data provider of the Menu has more than 50 elements.When they click on the Menu it expands beyond the height of the screen without showing a scroller or responding to the mouse-wheel.So in effect there is no way to access the lower items on the menu.So I need to somehow restrict the height of the menu and add a scroller.The rowCount and maxHeight commands are having no effect.

var companyContextMenu:Menu=new Menu();
companyContextMenu.maxHeight=400;
companyContextMenu.rowCount=20;

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Menu Text Above Scroller It Controls The Scroller?

Jul 29, 2005

my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?

View 1 Replies

Flex :: Scaling An Image In A Scroller Resizes The Scroller When Relative Dimension Are Set To The Scroller?

Mar 9, 2010

I would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...

<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image

[code].....

View 2 Replies

ActionScript 1/2 :: Drop Down Menu Continuation (scroller)?

Nov 16, 2009

How do I make the arrow at the bottom of my drop down menu, scroll further down to show the other items when the mouse is on the OVER state?My menu has 100 items, but I'm able to show only 5 items a time. I decided to have a arrow at the bottom, so when the viewer rolls the mouse over it the menu starts to scroll and show from button 6 onwards untill the mouse rolls out of the arrow. How to do it in actionscript?

View 4 Replies

ActionScript 1/2 :: Adding A Scroller Bar To A Drop Down Menu?

Nov 20, 2009

How do I add a UI scroller bar to an existing drop down menu which I created using buttons?
 
I tried to insert an UI SCROLLER bar. but it didn't work. I'm using the folowing code in the Main button. I need the drop down menu to appear with the scroller. on(rollOver){ contactmenu.play();}

View 1 Replies

ActionScript 3.0 :: Have A Thumbnail Scroller Menu At The Bottom?

Jun 25, 2011

I am building a full screen image gallery. I would like to have a thumbnail scroller menu at the bottom. As the user mouse overs a particular thumbnail, the image will appear fullscreen behind the thumbnail menu. I would like it so that the image appeared immediately as the user mouses over (i.e. the image is somehow already loaded in) as opposed to each image being loaded as the cursor is rolled over.

There are several images, so loading them all prior to running the application really isn;t an option. How could this be achieved? Are there any tips/tricks that can be used?

View 1 Replies

ActionScript 2.0 :: Vertical Sliding Scroller Based On A Tutorial For A Horizontal Slide Scroller

Feb 21, 2004

I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart [code]

View 3 Replies

ActionScript 2.0 :: Convert Vertical Scroller To Horizontal Scroller?

Aug 17, 2007

have a cool vertical scroller that I did try to convert to horizontal, but I could not make it work.

//code by Billy T
//set a variable
targY=0;
//set the x position of the dragger
dragger._x = 370;

[code]....

View 4 Replies

ActionScript 2.0 :: Change Vertical Scroller To Horizontal Scroller?

Jan 10, 2011

change vertical scroller to horizontal scroller?

View 2 Replies

ActionScript 2.0 :: Vertical Scroller To Horizontal Scroller?

Oct 24, 2009

I would like to use it as a horizontal scroller for an image gallery. Just to clarify a horizontal dragger and a horizontal stage motion for image viewing.

fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=false;
space = 20;

[code]....

View 0 Replies

ActionScript 3.0 :: Scroller That ACTUALLY Replaces Browser Scroller?

Jul 23, 2009

I can find tons of articles/tutorials on custom scrollers but none of them actually replace the browser scroller. If the browser is made smaller the custom scroller and the browser scroller are there. [URL]...

View 1 Replies

Actionscript 3 :: Flex - Create Context Menu In AIR Application - Add Sub Menu Against Any Parent Item?

Sep 21, 2011

How create Context menu in AIR application plus how add sub menu against any parent item in Flex?

View 2 Replies

Actionscript 3 :: Menu Bar Control In Flex , Handle Separate Method For Individual Menu Item?

Jun 26, 2009

i need to fire separate method for individual menu item clicked ,so that individual item can handle separate method.and i need know what all the properties are available in menu item like type="radio".

<mx:MenuBar id="jj" labelField="@label" itemClick="MenuItemClick(event)" x="23" y="228">
<mx:XMLList>
<menuitem label="File">[code]......

View 2 Replies

Flex :: Use Scroller Containing Two Forms In Adobe?

Jan 3, 2012

I have layout with two forms. I'm using scroller but scrollbars don't align to window but appear somewhere in the middle of the application screen.

<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">[code]..........

Below You can see screen-shot of my app. There is no scrollbars at the borders.Here is the screen-shot with scroller set to width and height to 300 pixels.As You can see the scrollbar is not attached to window.

View 2 Replies

ActionScript 2.0 :: Build A Vertical Slide Scroller Based On A Tutorial For A Horizontal Slide Scroller?

Feb 21, 2004

I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)

Code:
// set up content_mc info
contentRight = _root.content_mc._x;

[code].....

View 3 Replies

Actionscript 3 :: Flex - Hide A Menu Item From Menu?

Feb 22, 2012

How to hide menu item from Menu object ?

View 1 Replies

Add Scroller In Main Application/Windows Of Flex?

Jun 21, 2010

I am new to Flex. I am trying to add a scroller in my main application/windows. Is that possible? I found out it is possible to add scoller bars in DataGrid, like horizontalScrollPolicy="on". How to implement it in containers like Group,Panel and etc?

View 2 Replies

Flex :: Having The Content Of A S:Scroller Viewport At 100% Height

Jul 27, 2010

Is there a way to get the content of a component inside a scroller to be at 100% height.

here is a simple example:

<s:Scroller width="100%" height="100%">
<s:viewport>
<s:Group height="100%">

[Code]....

As you can see, the green bar (set at 100% height) is just using the height of the viewport, not that of it's parent group, that is stretched by the red one to be 500px high.

View 1 Replies

Flex :: 4 - Create A Skin For The Component Scroller

Jan 7, 2011

I'm trying to skin the Scroller in my application so that it looks like the example mentioned in [URL] This example was done in Flex 3 and images are set in CSS. I tried to create a skin for the component Scroller and saw that it uses VScrollBar and HScrollBar. I tried to put skins for these components. VScrollBar uses separate skins for the track, thumb, decrement/increment buttons. I tried to make some changes in the skin, but they were not reflected at all in the application. I just want to create a customized scroll bar in Flex 4 with custom thumbs.

View 2 Replies

Flex :: Printing Content Inside A Scroller?

Feb 28, 2011

I am currently working on an Adobe AIR application that shows the user some graphical data. As this data is more in height to fit the screen height, I've placed it inside a scroller.

Now I want to take a print of this visual data, mostly some charts and lists but I only see a single page containing only the part of the screen that is currently visible to the user. I want to have the entire content inside the scroller to appear on the page.

View 1 Replies

Flex :: Remove Choppiness In Scroller On Playbook?

Apr 21, 2011

After deploying the Flex 4.5 Spark Scroller control to a Playbook, the default result is choppy/jittery scrolling and no spring at the top and bottom of the scrolling.

Is there a way to change this behavior to a normal smooth touch scrolling with start and end springiness?

View 2 Replies

Flash - Flex Scroller Cuts Content?

Jun 16, 2011

got a little flex application where the content is zoomable.first of all some code

<s:Scroller verticalScrollPolicy="on" width="100%" height="100%">
<s:Group scaleX="{breite}" scaleY="{hoehe}"
id="mapView" > <!-- zum zoomen -->

[code]....

The zoom just works fine by changing the value from 1 up to 3 with a slider. Midpoint of the zoom is the center of the container (map).My problem: when i zoom, the scroller cuts a part of the groups. it zooms out of the window?!

View 1 Replies

Flash :: Linking Two Scroller Containers Flex?

Feb 10, 2012

Is there a way to link two Scroller containers in Adobe Flex? As in, when one scroller is modified, the same modifications will be reflected in a second scrolling container?What I am trying to do is have an image and label on different areas of the screen that are swipable, and when they are swiped/changed I want the same change to be reflected in the other Scroller container.

Here is my initial Scroller container with images that the label Scroller container should correspond to:

[Code]...

View 2 Replies

Flex :: Scroller That Wraps A Popup Window?

Feb 15, 2012

Programming in Flex 4.5

I want a scroller to be wrapped around a popup window (based on borderconatiner)

I cant put my scroller correctly.

<s:Scroller width="600" height="70%" id="scroller>
<s:Group id="myGroup">
// Here is the rest of my code..

[Code].....

View 1 Replies

Flex :: Scroller On Swfloader Dying On Zoom?

Feb 23, 2012

I have a swfloader object on to which i want to zoom into (with respect to a point).... this i achievedinternet.But now i notice that when i zoom into a point the scroller on the swf loader doesnt work anymore....Code i am using below..on how i could correct this problem???

<s:Scroller id="scrollme" width="100%" height="100%" >
<s:HGroup id="mapView" width="100%" height="100%" clipAndEnableScrolling="true" >
<s:SWFLoader id="img" autoLoad="true" addedToStage="img_addedToStageHandler(event)"

[code].....

View 2 Replies

Flex :: Menu Control - Click A Button And A Menu Is Displayed. Click That Button A Second Time And Hide That Menu?

Jun 20, 2010

Basically, I have a button and on click it displays a menu. I want to click that menu a second time and the menu closes. Currently, every time you click the button, the menu reopens. I pasted the Flex livedoc example below. If you click the button, the menu keeps reopening.Now, I rigged it up by setting a var to open and closed, so when clicking the button it does a check. However, if you click away from the screen, the HIDE event gets dispatched, and the menu closes. This messed up the open close var being set.

How could I make this Flex example below show the menu on button click, and then on a second button click, it closes the menu? Take into affect that if you click away from the menu, it closes it.Also, I played around with the MOUSE_DOWN_OUTSIDE event for the button and set the preventDefault, and the FlexMouseEvent event.cancelable is set to false.Changing to a PopUpMenuButton is not an option. I have to much skinning involved.Here is the Flex example:

<mx:Script>
<![CDATA[
// Import the Menu control.
import mx.controls.Menu;

[code]....

View 1 Replies

Flex :: Scroller - How To Bring Contained Component Into View

Aug 28, 2009

I have lots of child text inputs within a spark Scroller. How can I make the TextInput with id of "x" come into focus if I have a..z id's, also for the scrollbar to scroll automatically to that child item? I can use x.setFocus(), but the scrollbar doesn't automatically scroll to that item? why?

<s:Scroller id="scroller" width="100%" height="100">
<s:Group id="group" width="100%" height="100" id="content">
<s:TextInput id="a" text="" editable="true" width="100%" height="25" />
<s:TextInput id="b" text="" editable="true" width="100%" height="25" />
....
</s:Group>
</s:Scroller>

View 3 Replies

Flex :: SparkDataContainer Scroller Not Scrolling To Bottom Of Container?

Mar 29, 2010

I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end of the scrollable area. In actuality, the thumbbar should be at the bottom of the scroll track. Here's the code for the scroller:

<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo" bottom="150" >

[Code].....

View 1 Replies

Control A Spark Datagrid's Scroller Position In Flex?

Aug 22, 2011

I'm using the new Spark Datagrid for a project, but I must confess the scroller is annoying me a little bit, so I would like to have some control over it.

View 1 Replies

Flex :: Force Scroller Scrollbars To Overlap Content?

Sep 16, 2011

I have the following spark Scroller

<s:VGroup width="100%" height="100%" gap="0">
<s:Scroller width="100%" height="100%">
<s:DataGroup width="100%" height="100%"

[Code]....

which is set to 100% width. The DataGroup is also set to 100% width. What I want to achieve is for the scroller's vertical scrollbar to OVERLAP the DataGrid. In other words I want the DataGroup to maintain the width of the outer VGroup even when the vertical scrollbar is displayed. I don't need the vertical scrollbar to move my content to the left, i want it to be displayed in top of that.

View 2 Replies







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