Flex :: Mouseover - HDividedBox Flicker With LiveDragging Enabled *only* When Mouse Is Over Component?
Apr 15, 2011
I've noticed that an "out of the box" HDividedBox has some serious flickering issues when liveDragging is enabled, but only when the pointer is over the contents of the DividedBox while dragging. If you grab the BoxDivider and move the pointer off the component while dragging, the flicker goes away and the component renders properly.
I have tested this with both my customized component and an extremely basic HDividedBox implementation with Group, SkinnableContainer, and BoxContainer children as well as nested groups with clipping.All types of children exhibit the same behavior.
<mx:HDividedBox width="500" height="200" liveDragging="true">
<s:SkinnableContainer minWidth="0" backgroundColor="green" percentHeight="100"/>
<s:SkinnableContainer minWidth="0" backgroundColor="blue" percentHeight="100"/>[code3].....
View 1 Replies
Similar Posts:
Sep 23, 2009
when I enable my Adobe Shockwave Object my screen will flicker when i move the mouse around the screen. I have uninstalled it and reinstalled but it didn't work.
View 1 Replies
Apr 23, 2011
just been trying to fade one image into another on mouse over. found a .fla template which does it for me and have applied my images to it. works how i want it to - image 1 fades into image 2 on mouse over, then goes back to image 1 when mouse moves off BUT the problem is that when the mouse is over the image and it fades into image 2 it begins to flicker - see for yourself in the .fla file here - [URL] i think this is all of the code from the different layers
[Code]...
View 1 Replies
Oct 19, 2010
I have a Spark Component (a Group) which doesn't behave as wanted.The tooltip is only shown when the component is enabled=true which the following example shows:
<s:Application 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]/....
In the Halo component the toolTip is shown. And this is, what I want to achieve.In my case I want to try something like this:
<s:Group toolTip="{cartEntries > 0 ? 'great!' : 'go and buy!'}"></s:Group>
View 1 Replies
Feb 4, 2010
i have 2 containers one above the other,i need to show the second one whenthere is a mouse over the first one hide it when it goes out of the first onealso i want the second container content to be usable (mouse clicks/moves)
View 1 Replies
Aug 21, 2011
I'm new to Flex and am porting a pure Flash/AS3 app to Flex 4.5. I've created a custom MXML component based on BorderContainer
<?xml version="1.0" encoding="utf-8"?>
<s:BorderContainer
xmlns:fx="http://ns.adobe.com/mxml/2009" [code]...........
and it would work well, but here in Flex 4.5 I don't know how to do this.Also I've noticed that there is a dropShadowVisible="true" attribute, but not sure if/how it can be used for my purposes.And I'm not sure if scaling up/down a custom component is allowed in flex or I probably should use "Flex Effects" (but how?) and also set disableLayout="true"?
View 1 Replies
Aug 30, 2011
Is mx.containers.HDividedBox deprecated by some spark container in Flex 4.5? I'm new to Flex programming and can't find any spark replacement for it.I want to have 2 Lists separated by movable vertical bar.
View 1 Replies
Mar 22, 2010
I'm trying to have a minimap display with a draggable viewport below a chart. I essentially have this to control the viewport of the chart:
<mx:annotationElements>
<mx:HDividedBox id="dividedBox" horizontalScrollPolicy="off" width="100%" height="100%" liveDragging="true" borderSides="bottom top">
[Code].....
Problem is, only one divider actually moves at a time. I found that if I set a timeout of about 50ms before moving the next divider that both dividers move. However, this seems like a rather awkward way to approach this and is error prone.
Anyone know if it's possible to move two dividers in a HDividedBox simultaneously or should I be taking another approach?
View 1 Replies
Sep 15, 2011
I'd to use a HDividedBox and I have resize problem.Indeed, when I reduce the width of accordion component, the list is not reduce.Find below my code
<mx:HDividedBox width="100%"
height="100%"
color="0x323232">
[code].....
View 1 Replies
May 19, 2011
Whenever I hide the mouse pointer to replace it with custom made graphic, it causes curors to flicker rapdily outside of the browser window. When you type or move across URL bar, or try to scale the browser window by dragging its corner, the mouse pointer goes crazy.
[Code]...
View 1 Replies
Sep 21, 2010
How we can lessen the length of Dividing bar between two components. like in this example i want the length only of two pixel.
View 1 Replies
Apr 22, 2011
just been trying to fade one image into another on mouse over. found a template which does it for me and have applied my images to it. works how i want it to - image 1 fades into image 2 on mouse over, then goes back to image 1 when mouse moves off
BUT the problem is that when the mouse is the image and it fades into image 2 it begins to flicker - see for yourself in the .fla file here [URL]..
View 8 Replies
Feb 23, 2010
I'd love to be able to prevent dragging of a HDividedBox's divider based on a condition. for example:
[Code]...
View 3 Replies
Sep 9, 2011
I have a Hdividedbox, which has three child elements.
I want to set the initial ration of sizes, such that the first one is 30%, the second is 40% & the third is 30% of the Hdividedbox's width.
View 2 Replies
Mar 6, 2011
I have a basic mouseover in my flex application which changes an image onmouseover and changes it back onmouseout using the code mouse Over "functionToChangeImageSource()" and another one to mouseout.It works fine when you slowly mouse over and out, however if I quickly move the mouse over it, it occasionally stays on the mouseover image and the mouseout function doesnt appear to kick in. Is there anything I can do to fix this, or does anyone have any ideas why its happening?Also, I've tried the rollOver and rollOut instead but it has the same problem.[code]I'd imagine you're correct about the mouseover event not completing before mouseout is but how to I fix this?
View 3 Replies
Mar 4, 2003
in the attached file there are 2 MC, I want to activate the ball_mc only when I�m over other MC. I tried multiple things but I can�t manage to find what is the problem.
View 2 Replies
Oct 4, 2008
I am having some trouble with a dynamic html-enabled textfield and the uiscrollbar component. I created a dynamic textfield on the stage, named it "mytext". Enable it for HTML and make it multiline. I added this action: mytext.htmlText="test<BR><BR>test<BR><BR>test" The html shows up just fine. I add a uiscrollbar to it. It is definitely targeted for "mytext". Now when I test it I get: _level0.mytext in the textbox instead. When I trace mytext.htmlText, I get the correct HTML but it just doesn't show up. When I shorten my content so that the UIscrollbar isn't necessary, the HTML is again displayed correctly. Now if I update the code to say instead:
[Code]...
View 1 Replies
Mar 10, 2006
Referring to the given thread of adding mouse wheel action to the custom scrollbar.
[URL]
if we have two scroll bars side by side then on moving mouse wheel both the scroll bars sets in motion.
how to handle such situation?
View 4 Replies
Mar 28, 2011
Not sure this exist, but worth asking you all: is there a built in method to compute the distance between the current mouse position and a given component? If not, is there a simple way to build a function like this that works for components with generic shapes?
View 2 Replies
Jul 26, 2010
In felx, how to send the id of the component ( on which the mouse pointer is clicked ) to a function with the mouse click?
View 1 Replies
Jun 17, 2011
I have a component that extends UIComponent of Flex, I want to add it a FlexMouseEvent.MOUSE_DOWN_OUTSIDE listener but it does not works. that means I can not capture the event. But when I use PopUpManager to add this component, and then add a FlexMouseEvent.MOUSE_DOWN_OUTSIDE listener, it works fine. Is FlexMouseEvent.MOUSE_DOWN_OUTSIDE only works for pop-up components?
View 1 Replies
Dec 23, 2011
I'm trying to determine with the help of a mouse event if I'm over a specific component. So right now I have two components, let's say buttonA and buttonB. ButtonA has a listener on it already listening for the mouse out event. ButtonB is flush against the edge of ButtonA. I need to find out the code for it. Here is more details:
[Code]...
View 3 Replies
May 24, 2010
I am aware that the follow will show a hand cursor:
component.mouseChildren = true;
component.useHandCursor = true;
component.buttonMode = true;
When I do the above on a List component, the hand button is shown and the whole component loses it's interactivity (Hand cursor is shown even on scrollbars).
So how can I show the hand cursor only when rolling over the list items?
View 3 Replies
May 1, 2009
Is it possible (if so how) to find out what word the cursor/mouse is over when it is moving over a < mx:Text > component?So for example as the user moves the mouse along a sentence (inside text component), each word will highlight as they go (I know you can highlight while pressing the mouse button down - but that not how I wish to do it).
View 2 Replies
May 24, 2011
i am developing an application in which user have the option to share images on different social sites like Facebook, twitter and Flicker.
I have done with Face book and twitter, i upload image to my server and share the link on Face book and Twitter.
[Code]...
View 1 Replies
Jun 10, 2010
We are trying to automate our flex application. After adding automation libraries to our project we get the following exception:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.automation::AutomationManager$/addDelegates()
at mx.automation::AutomationManager$/addDelegates()
at mx.automation::AutomationManager$/addDelegates()
[code].....
We are using Flex 3.4 and maven2 to build the application.
View 2 Replies
Feb 9, 2011
Since I updated to the latest build of Flex Hero (4.5.0.19786) AdvancedDataGrids flicker in design view with Flash Builder Burrito preview. Has anyone run into this and if so is there a work-around besides dropping back a version?
Update 02 19:29 : This did not occur in previous Hero builds, e.g 18623.I am using the default Spark theme, nothing else particularly special.
Update 01 19:15 : I tracked down the problem to an instance of a custom (default custom, i.e the result of doing new->component based on AdvancedDataGrid) on the same form.
The component declaration:
<?xml version="1.0" encoding="utf-8"?>
<mx:AdvancedDataGrid
xmlns:fx="http://ns.adobe.com/mxml/2009" [code]......
The custom component instantiation. Note "fo" is a namespace representing the path to the package for which the custom component resides.
<fo:adgTest width="300" height="200">
<fo:columns>
<mx:AdvancedDataGridColumn headerText="blah1" />[code]......
It turns out that this custom version of AdvancedDataGrid causes the design view to break down. Very odd.
Update 03 2011-02-11 13:36 : A custom AdvancedDataGrid does not cause design-view breakdown unless I add columns to it.
Update 04 2011-02-11 15:13 : Filed as a bug: https:[url].....
View 1 Replies
Jun 16, 2010
I have built a Air 2/Flex 4 kiosk application with Flash Builder 4. Currently I am implementing a touch screen browser to enable users to navigate company training videos. In an attempt to improve the usability of the website on the touchscreen I have placed the HTML component in an adaption of Doug McCune's DragScrollingCanvas (updated to use the flex 4 'Scroller' component) to allow users to scroll the webpage by dragging their finger across the screen. The mouseDown event is used to start scrolling the viewport.
In addition the webpage was modified to disable text selection with the following css:
[Code]...
As an alternative I also tried adding a group container with the same dimensions as the HTMLLoader to detect the mouseDown events (so that the group container and HTMLLoader have the same Dragable parent container) and was able to capture mouseDown events and scroll the viewport as expected. However as the mouse event is handled by the group container, I am now unable to navigate the webpage.
View 2 Replies
Jun 16, 2010
So I have that panel or any other mxml component. I want somehow to rotate it around like a wheel of a car with which you drive it... loke a Racing wheel... sow like when mousebutton is down it captures pont of component... when you move mouse component rotates (not moves) according to new mouse position... How to rotate MXML component round its center like a wheel respectfully to mouse?
View 2 Replies
Nov 15, 2009
I have a button with a MovieClip over the top of it. Is there an easy way to tell flash to ignore the mouseOver events of the MovieClip in ActionScript so my button doesn't flash?
View 1 Replies