Flex :: How To Detect Scrolling
Jan 16, 2012
I have Scroller and in this scroller I have 3 swfloaders. How I can detect when scroll bar is scrolled on (event, my be)?//editSorry for the little information. In scroller I have Group
code:
<s:Scroller>
<s:Group>
[code].....
View 2 Replies
Similar Posts:
Jun 13, 2011
Is there any way to detect whether a list is scrolling or not, likelist.isScrolling.
View 3 Replies
Aug 27, 2010
I have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up).
[Code]...
View 1 Replies
Feb 10, 2011
are there any events that the scroller will dispatch when being scrolled?
View 1 Replies
Mar 26, 2012
I'm using the SpinnerList component in a flex mobile application, the spinner turn too fast for my need, is it any way to reduces its speed.
There is many answer regarding the speed of the mouse wheel but no answer concerning the spinner itself.
View 1 Replies
Jan 26, 2010
If my ComboBox is editable how can I tell if a change event comes from a change to the TextInput or a change in the selectedIndex of the drop down?
Is there a way to check for this in the event object?
View 1 Replies
Sep 2, 2010
Is there any way to detect if AdvancedDataGrid itemClick event is actually caused by the user dragging? I'd like to take action on click, but ignore drag.
View 1 Replies
Apr 9, 2010
I'm trying to work out a specific problem I'm having with positioning in Flex using the PopUpManager. Basically I'm wanting to create a popup which will scroll with the parent container - this is necessary because the parent container is large and if the user's browser window isn't large enough (this will be the case the majority of the time) - they will have to use the scrollbar of the container to scroll down. The problem is that the popup is positioned relative to another component, and it needs to stay by that component.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
[code]......
View 3 Replies
Dec 17, 2009
I'm creating a map that has points of interest. (POI) When a user mouses over the POI an info bubble pops onto the screen and it loads an swf. I can't detect the size of the swf so that my infobubble will size itself to the size of the swf. When I mouse over my swf file, it disappears. I would love to have the my swf file pop up in a layer on its own instead of being on the stage of my main flex file...
package com.modestmaps {
import flash.display.Graphics;
import flash.display.Loader;
import flash.display.Shape;
import flash.display.Sprite;
import flash.filters.BlurFilter;
[Code] .....
View 3 Replies
Mar 18, 2011
I need to detect 32-bit or 64-bit OS through Flex.
var osName : String = Capabilities.os;
This only gives Windows XP or Windows 7. I need to detect 64-bit Windows XP.
View 1 Replies
Jul 6, 2009
When a Flex component moves directly, so that its x and y properties change, then a "move" event is dispatched on the component. That's all fine.
However, a component may also move as a result of its parent component moving — or its parent moving, and so on. Now when a parent component moves, its children just "move along" without any properties changing or move events being dispatched on the children. Still, the children are moving on the screen. So how can you detect this kind of generalized movement?
View 2 Replies
Jul 15, 2009
I need to detect if running in ADL or not, I can't seem to fine an answer that is guaranteed...I found a couple posts online that say "this might work..." Is there a reliable way to check?
View 1 Replies
Jun 23, 2010
I have a custom component Comp that gets its position changed as a result of interactions with other components, etc. I check for changes in its position by constantly checking its position at fixed intervals. I'm looking for a better solution (maybe an event-based solution) to monitor its position so I don't have to check constantly myself.
[Code]...
View 3 Replies
Aug 19, 2010
Let's say I had a flex application (Web, not Air), that was meant for Mass Distribution, to be included like a plug-in of sorts, at various websites. Is there any way for a particular instance of the SWF to detect it's own URL while it's running? If so, can you point me in the right direction of which ActionScript command I might google for more info?
View 3 Replies
Aug 26, 2010
I have a simple AS3 class that just holds private variables. Each private variable has a getter function, but not all of them have setter functions. At runtime, Is there a way of telling which properties do not have setters but are read-only? Then I can decide to give the user an input field to edit the properties that have setters.
View 4 Replies
Aug 30, 2010
i have a mx:AdvancedDataGrid control with animation on resize. And i need to resize another contol A accordingly with mx:AdvancedDataGrid size. But resizing of contol A is too slow.
Threrefore, the addition of resize handler is bad solution. I want to get the time when the animation is completely stopped either the new size of mx:AdvancedDataGrid control.
View 1 Replies
Dec 16, 2010
how can i detect swf close event in ActionScript 3. I need to perform some action while swf close event.
View 2 Replies
Oct 21, 2011
I am currently implementing squiggly in a flex application to enable spell checking. Due to certain requirements, I can not use SquigglyUI to hook onto my spark RichEditableText.I have successfully used com.adobe.linguistics.utils.TextTokenizer to tokenize and highlight mispelt words.I would like to be able to let the user rightclick on a mispelled word and show a I have tried to attach a listener to my RichEditableText:
richtexteditor.addEventListener("rightClick", showSuggestions);
And this is my event handler:
private function showSuggestions(event:MouseEvent):void{
[code].....
View 2 Replies
Jan 11, 2010
Im making a scrollable mc. Easiest thing in the world.... but the damn scoller just will not stop when the movie clip it's scrolling ends. It stops....eventully... but not close enough. What actionscript do I need to use and where do I put it?
View 1 Replies
Oct 8, 2009
I need to detect browser/tab closure from within a flex application in order to delete the session information in the server. I'm familiar with JavaScript events but I was wandering if there is an event in flex for application unload or something of that sort ...
View 4 Replies
Feb 4, 2010
I'm developing an AIR application which uses multiple windows. I'm running into an issue where I want to open new windows (toaster notifications for example) when the primary application window is not visible, but the behavior is different depending on how the window is closed.
When a user hides all application windows with CMD-H, opening a new window causes all application windows to come back to the foreground (instead of just that new window, like I would expect). If the user closed a window with CMD-W, however, that window does not become visible when I open a new window.
Is there a way to either 1) tell when the user uses cmd-h to hide all windows OR 2) tell whether a window is hidden using cmd-h vs. closed cmd-w?
View 2 Replies
Feb 10, 2010
I'm using NetConnection, NetStream and a flash.media.Video control to play back video files stored on the local machine. Works great for FLVs, and for H.264-encoded MP4s, but for non-H.264 MP4s, I often get audio, but no video.
I realize this is to be expected. What I'm wondering is whether there's a way to reliably detect that the video portion of the file is unplayable, irrespective of the audio. Of the many events available in NetStream, and even in the client callbacks (onMetaData, etc.), I don't see anything that explicitly informs for an unplayable video track -- I see NetStream.Play.NoSupportedTrackFound, and NetStream.Play.Failed, but for these videos -- i.e., playable audio, non-playable video -- I don't get either one, presumably because the audio works.
View 1 Replies
Feb 11, 2010
How do you know if your compiled SWF file has a memory leak?
Are there tools, a firebug setting, etc... to see if there is a problem? I cannot find much in the debug Flash player besides file size and loading time.
I have a large Flash application that I maintain and suspect that is using way too much memory so I wanted to measure the amount of RAM being used while it executes to find key areas to optimize.
View 3 Replies
Mar 9, 2010
I want to find out whether the scroll bar shows up in my Datagrid or not.
View 1 Replies
Mar 30, 2010
I am making an application that plays the video stream from the user's local system (both Windows and Mac). I use the Camera.getCamera() method and in turn Camera.names to get a list of camera attached with the system.
Unfortunately, if the camera is already in use by another application, say a desktop application on user's system, the browser is crashed. Is there any way that I can detect if a specific camera from the list of available camera is already in use by any other application?
View 3 Replies
Apr 1, 2010
<mx:Label text="{(item1 as INewsItem).displayName}"/>
For the above code in Flex, I get this warning :
Data binding will not be able to detect assignments to item1.Why? How to Fix it?
View 3 Replies
May 3, 2010
I would like to avoid the tags overlapping each other in this small Flex project: I've this small FLEX project: [URL]..
The items are LinkButtons. How can I check if they are colliding or not ?
View 1 Replies
May 23, 2010
I have to detect avtivityLevel of microphone in Flex. I am using the activityLevel property of Microphone class but as I found out it always return -1 even if I have done Microphone.getMicrophone(). To detect activity level we have to set microphone.setLoopback = true;
how to do this without using loop back as I do not want to hear my sound back just monitor the activity level
View 1 Replies
Jun 16, 2010
how to detect all the browsers that are installed in a system.By using Flex
View 2 Replies
Jul 4, 2010
I'm trying to detect overlap between elements on my canvas. The attempt is to reuse some of the code for collision detection at [URL]
This is the smallest MXML sample I could come up with that gives me a type error.
<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" minWidth="955" minHeight="600"
[code]....
View 1 Replies