ActionScript 3.0 :: Scrollable List Menu For Mobile - Tap Against Swipe
Jan 9, 2012
I have built simple scrollable list menu for my mobile app - this is just a simple table with 1 column and there is a small jpg and description text in every row. This is built using the ScrollPane component (with scrollDrag enabled) - and within scrollPane every table row is simply a button object. This all scrolls and works just fine.
When you scroll the list - and when you let go your finger to scroll further it thinks that you've clicked and it opens the link. I am using onClick event at the moment (but also tried TapHandler) and they all do the same thing, they work but you can accidentally open unwanted menu item. How to separate swipe from just tap event in the code, so user doesn't accidentally opens the link?
View 0 Replies
Similar Posts:
Mar 14, 2012
I have a list component in my app which shows some tiles and one can navigate through them horizontally and i was wondering how can i add the swipe functionality in it to the left or to the right,is this supported by default when the app is on a touch device? the list is like:
<s:List id="list2" width="100%" height="100%" dataProvider="{ recordingsShown }"
preinitialize="list2_preinitializeHandler(event)"
selectedIndex="0" visible="false">[code]............
View 1 Replies
May 3, 2011
I wanted to know how I would make a whole symbol (an image) scrollable? I have found out how to do the multi-touch pinch to zoom but I can't find any code samples that will let me make the image scroll vertically only with one finger.
View 1 Replies
Jul 27, 2009
For the RSS I made a scrollable list of the items from the xml to show the time+title - this is working fine. Now when I click on the title it show on the text area (logText) the description. Now what I want is to add a link behind the description. I have tried with .link but it shows the whole link tag and not clickable link to the page...
function selectLog(evt:Event):void {
logText.htmlText = rssXML.channel.item[evt.target.selectedIndex].description;
Would be nice to have the link working.. like "read more".. clickable link... behind the description.
View 2 Replies
Jan 29, 2012
I'm using Adobe Flex Builder 4.5, and I'd like to create a vertical, scrollable list of panels for an AIR application. How do I do that?
View 1 Replies
Apr 27, 2010
I am trying to build a flash where I have a shoe and a bunch of stickers (images set to be symbols) which can be dragged and dropped onto the shoe as decorations. I have figured out how to drag drop and rotate the images onto the shoe. The problem I face now is how to make a scrollable list of the images that can be placed onto the shoe. I have approx 140 sticker images. I was wondering two things....
1. Not so much is it possible, because virtually anything is possible. Is there a relatively easy way to have something like a scrollable thumbnail gallery of x amount of objects from which the object can be dragged from and onto another area of the flash. This leads me to my next question...
2. How can I keep the original image within the gallery?
I was thinking something like a scrolling image gallery of thumbnails so that you could move back and forth through the list looking for the image you want. And then I was wondering to myself is there some sort of command to copy the selected image (symbol) when it is clicked and dragged?
I've been scouring forums and such and really haven't found anything that I think I can use, but then this flash mx is new to me, so I'm not the best at it.
View 0 Replies
May 27, 2009
I need to create a scrollable list of buttons. Only vertical scrolling is enough. The main thing is that, the buttons and scroll bar should be custom drawn. One and two dimension of button layout support is needed.
View 3 Replies
Sep 16, 2011
I would not have asked the question if I owned an iphone, but so far I only have an android phone for development.
The question is: Should I use the View.viewMenuItems that are provided by flex mobile? Or should I better embed the functionality in another way? I don't know what possibilities might exist on iphone to open the menu, because it has no hardware button "menu".
By the way: How could I open the menu in the Flash-Builder mobile device emulator - there are no buttons, too..
View 2 Replies
Feb 10, 2010
i am trying to build a scrollable menu in flash using xml.i want it to display multiple options, once an option is chosen i want it to display another menu in its place with different options.
View 1 Replies
Apr 7, 2004
I've looked at a lot of the posts on this site and still can't seem to create a really simple scrollable dynamic menu from XML. Would anyone be able to tell me how to create something like this,(Click on November to see what I mean).I'm going nuts! I just want to get something simple working, then I can start to focus on the design
View 5 Replies
Apr 4, 2007
a) scrollable menu where my multiple image of png will load into
b) multiple (could also be one image) of png images that will gradually appear into the same folder where my .fla file is.
c) a layer of frame (more of a window, it's scrollable upwards & downwards) - the place for my original sized png image to appear
d) dropdown menu - that will contain form1, form2, form3 [form1, form2, form 3 will represent which part of the png image willl be shown in (b): form1 = top, form2 = middle, form3 = bottom]
1) a png image (possible that the png image will come in multiple) will load into my flash movie automatically, specifically all of them will load on a scrollable menu one after another, side by side with the png image size reduced to fit into the menu.
2) once i click one of the png image on the menu, the image will appear beneath its [like what i've explained in (c)]. this image is scrollable only upwards & downwards within the windowframe, and it should be the original size (not the reduced one to be fit into the menu)
3)below, there's a dropdown menu [i've explained in (d)] that will be chosen from, let's say form1 is chosen. the window where the scrollable png image is, will show the part where i set form1 is for.
View 1 Replies
Mar 23, 2012
Is there any dropdownlist for flex mobile , which can be used for free in commercial app and not paid one
View 1 Replies
Jul 13, 2011
I have a list in flex mobile project which contains multiple rows. I want to set color of specific rows based on some logic.
View 1 Replies
Aug 7, 2011
the thing I mean cannot be probably done with the component, but I don't know how is the component I want called. I would like to achieve a list but with sort of "icon look". You could say some sort of springboard navigation.
Here is just a quick sketch in Photoshop how it should look like: [URL]
The item is the one actual item in the list or something.
View 2 Replies
Mar 30, 2011
Im creating a person search interface in Adobe Flex / Actionscript where we have an image for each person and a bit of text. Im looking to implement some like this:HorizontalList InterfaceORCarousel InterfaceBoth of these packages are unfortunately only for desktop Flex, I was wondering if anyone knew mobile flex (particularly Blackberry Playbook) alternatives?
View 4 Replies
Jun 1, 2011
I'm creating a spark list in my flex mobile application and i want to do like a list on the iphone with a corner radius Unfortunately there is no cornerRadius or simply radius in list styles.
[Code]...
View 1 Replies
Jul 13, 2011
Is there already a AS3/Flex solution for swiping lists (or other elements) with gravity like the app list on andoird devices?
View 1 Replies
May 24, 2011
how to create a List components for Nokia mobile. For your information, i have visited the Nokia website about that.[URL] That website also can download the source code and documentation. What the problem is, that documentation doesn't show the tutorial how to add item, scroll the list and so on. Below is the feature of my mobile phone for clarify.
Mobile Phone: Nokia 5800
Flash : Flash Lite 3.0
Feature: Mobile Phone Touch screen
how to use a List components from Nokia. Just to know how to use the code for add the item, delete the item and scroll list.
View 1 Replies
May 17, 2011
I'm trying to make my own component that behaves like a list and supports infinite scrolling (in 1-dimension : vertical or horizontal) - both directions. For eg, a vertically laid out list which the user can scroll up or down forever - without ever hitting the 'last' or 'first' item. A good use for this: a calendar that displays each month as a list item.
Anyway, there are a bunch of things to overcome. The first of which, I think, is to disable the scrollbar's bounce effects (introduced in the latest Flex 4.5 (mobile) SDK). If I can disable the bounce effects, I'm guessing I can then add/remove items as needed to the list and it would scroll infinitely.
View 1 Replies
Feb 29, 2012
I'm desperately trying to fix a strange behavior in my custom iconitemrenderer list: When I change the view to the view with the list inside and start scrolling, the list gets white for the fraction of a second (apperently completely redrawn), but only once when scrolling the first time after the view change.
[Code]...
I think the problem is in the myList.dataProvider.itemUpdated(oldItem), apperently the renderer thinks it has to redraw everthing, but I have no idea why.. and why only after the view is shown again.if it's a bug or something? how can I get rid of this bahavior or how can I debug this this properly?
View 1 Replies
Sep 14, 2011
When I move page01 to page02, I pass the same data along with it using the following code:navigator.pushView(Page02, data);How do I move to page02 with passing the next row of data (instead of the same data)? In other word, how to increment to the next row of data with pushView?
View 1 Replies
Sep 16, 2011
I want to create a tree view (expandable list ) in flex 4.5 builder mobile,Is it possible for web projects in flex builder for web [URL]
View 1 Replies
Jan 4, 2012
how can i change my list component in Flex 4.6 mobile project with that when an item is pressed it would dynamicly resize and show an article description and a button [URL]
View 1 Replies
Sep 13, 2011
IŽam trying to create my own custom list component in a Flex mobile Project which fires an Event when the user touches a listitem and holds the finger down for a given time.Some kind of "longTouch"-Event like its implemented on native android listitems to edit the entry for example.
I tried to listen for the MOUSE_DOWN Event to start a timer and dispatch an event when the timer finished. But this approach failed because i cant get the listitem that was pressed by the user because the List component updates the "selectedItem"-property only after the user lifts his finger from the list.
View 1 Replies
Apr 14, 2012
I have developed a restaurant menu app for samsung galaxy tab 8.9 .I want to send all ordered details to micros pos eg item name,table name qty ordered , item price to pos .I have deeveloped this application using flash builder 4.6 ie used flex 4.6 and actionscript as technologies .So how do i integrate my application with micros pos to send all data ordered to it with micros pos??
View 1 Replies
Jun 10, 2011
I'm creating a mobile app in which I need to show a calendar with months at the top. The months are part of a component that extends from SkinnableDataContainer (and has some custom scrolling/behaviour - which is why I did'nt use a spark list). I need the months to be shown as a 'trapezium' shaped tab and so I'm using a png image as a mask in the item renderer for the component.
When the mask is not applied, it all works well - the months render, the list/data container selection works when I click on a month and so on.When the mask is applied, it renders well, scrolling and everything else seems to work well - but when I click on a month, nothing happens visually. And from the trace statements in my code, it appears list item selection is not changing. Looks like mouse clicks are not working.
Code:
public class TopCalendarMonthRenderer extends LabelItemRenderer {
[Embed(source="/assets/trapezium_alpha.png")]
private static var TrapeziumMask:Class;
private static var trapeziumMaskInstance:BitmapAsset;
[code]...
View 1 Replies
Feb 27, 2012
Here is the code I am using in the label function. Some of the values are numbers and some are strings. It works:
private function getLabel (area:AreasVO):String
{
return "Area Name: " + area.areaName + " " + area.areaWidth + " X " + area.areaLength + " X " + area.areaHeight;[code].........
I just get error upon error...Numbers as Strings or a bunch of others...How do I do this?
View 1 Replies
Apr 8, 2011
Let's say I had an AS file that populates a list menu in my movie from ListOneArray.That list menu is used as a navigational tool and when the user clicks on a list item it would take them to, say, frame 2.On frame two I would like that list menu now to have a different list from an array in the AS file called listTwoArray.What would be the best way to go about that? Or, if I have the list menu populated from the AS listOneArray and the user moves to frame 2 by the navigation, can I on frame two access the listOneArray in the AS and change the data?
View 3 Replies
Sep 12, 2010
I have been working on making a menu for list items. The file below has an animated menu. If you click on Artificial Intelligence on frame 60, it jumps to frame 61 (a specific section for that list item). How do I make the Artificial Intelligence button on frame 61 jump back to frame 60? I dont know where to add the action script for the function. I need to add a similar script to all 9 list items, do they go on one actionscript file? if so what location? [URL]
View 2 Replies
Feb 23, 2012
I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices. Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.
View 1 Replies