Actionscript 3 :: Flex Mobile: Strange Behavior In IconItemRenderer List?

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


Similar Posts:


Flex :: Strange CallLater X Position Behavior?

Feb 25, 2010

I'm not sure exactly where this is happening, but what I'm trying to do is make a scrolling ticker using flex, and it works fine when there is one of them on the screen, but when there are two, strange things happen.The way I have designed this for live updating, when the child of my hbox goes off the screen, I remove it and add another child to the end of it.This happens to reset the X position of the hbox, which isn't too bad, but it also resets the X position of any other hbox I have on the screen.Here is code that demonstrates what I'm seeing:

To use this, run the flex program, then click in the first hbox to set its x position to your mouseX. When the x position of the second hbox (hbox3) is reset, so will the first hbox's (hbox2) X position.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application creationComplete="addToBoxes()" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" >
<mx:Script>[code]..............

How can I prevent this from happening, or what is a better way to make an updating ticker like I am trying to do?

View 1 Replies

Flex :: Strange Copy/paste Behavior In Custom ItemEditor Component Used In A Datagrid?

Feb 10, 2011

I'm turning to you folks for answers because this really blows my mind... Let me explain:I'm using a slightly modified spark NumericStepper as an item editor in a datagrid. I had to modify the original because for some reason it's values only went up to 10.So i extended NumericStepper like so:

<?xml version="1.0" encoding="utf-8"?>
<mx:NumericStepper xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code].....

View 1 Replies

ActionScript 3.0 :: Add / Remove Child Strange Behavior

Apr 20, 2009

I created a button that once clicked an input box will pop-up. The input box can receive some numbers and then you can close it either by pressing ENTER or by clicking on the button that i used to open it.When i press ENTER it closes fine and then i use the button to reopen it.When i CLICK on the button it closes fine and then i use the same button to reopen it.But after i have closed it by CLICK on the button and then i try a second time to close it by pressing ENTER i get the following error:[code]

View 4 Replies

ActionScript 3.0 :: Static Variables Strange Behavior?

Feb 22, 2011

I'm a .net developer making a small website on Flash. I noticed that when I initialize a static variable during runtime in one place I cannot get its new value at another place, why?

View 2 Replies

ActionScript 2.0 :: Flash8 Seriously Strange Behavior From Flash (Login System)

Sep 1, 2009

I setup a login system using Flash / PHP /mySQL. The other day, the server I was working on went down, so I had to setup everything on another server. I am able to send the query to PHP and it prints the result in Flash. (Either "Success" or "Failure"). And I do get the correct response depending on what I write as username / password. But either way, the if statement says its not "Success". This worked perfectly on the other server. Here's the AS (as I get the correct result from PHP it can't be a problem on that end):

[Code]...

View 2 Replies

Flex :: 4.5 : Strange Scrolling Behaviour In Custom Layout Used In A List

Sep 15, 2011

I created a custom layout for a list, to be used on a mobile (android). I used this as example : [URL], using virtualization. Now the problem I have is with scrolling : when scrolling to the bottom of the list, there seems to be always a "bounce back", as if the list would have reached and as if the bounce/pull effect is taking place. But in fact the list has not reached the end at all, in fact I can not even scroll to the last element in the list. When going back from bottom to top, there's no problem at all.

I trace the top and bottom of the Scrolling Rectangle (Rectangle.getScrollRect) and there I can see that when scrolling down, the top and bottom parameters increase, but when releasing the touchscreen, all of a sudden the parameters decrease again with a certain amount, and so never reaching the end of the list. All my code is available on google project hosting : [URL]

View 1 Replies

Python :: Strange Behavior Of Sockets In Python (3.2). Client Connects To Application Using Flash?

Jul 14, 2011

I experience strange behavior of sockets in Python (3.2). Client connects to my application using Flash. Most of the time there is nothing unusual but sometimes python crashes in a way that should not have taken place - enter into infinite loops. Below I attach to the loop code and error message in the log. Python hang on bytesRecived = sock.recv(64) and receive b'' witch is visible in log.

code:
try:
buff = ''

[code].........

View 1 Replies

Flex :: Drop Down List For Air Mobile?

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

Flex :: Set Color Of A Particular Row In List Control For Mobile?

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

Flex :: Customize A List In Mobile Application?

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

Flex :: Adobe - Horizontal List Or Carousel For Mobile?

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

Set A Corner Radius On A Spark List Flex 4 Air Mobile?

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

Flex :: Actionscript 3 - / Mobile - Swiping List With Gravity

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

Disable The Scrollbar / List Bounce Effect In Flex 4.5 (mobile)?

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

Flex :: Flex For Mobile <s:list> MessageFunction?

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

Flex :: Mobile - Move To The Next Data In List.selectedItem When Moving To Next Page?

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

Flex :: Create Tree View (like Expandable List ) In Builder For Mobile?

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

Android :: Make Dynamic List Component In Flex 4.6 Mobile Project?

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

Actionscript 3 :: Recognize A Holding/long Touch On A List Component In Flex Mobile?

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

Flex :: Get List Item Selection Working When Using A Png Mask In An Item Renderer In A 4.5 Mobile App?

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

Flex :: Mobile Gesture Event : Slide Between 2 Views Like Google+ Mobile?

Mar 23, 2012

I would like to move (right or left according the current view) between 2 views when I move my finger on the mobile screen; for example with Google+ mobile application, in profil section, you can change the view just on move your finger on the screen, and the offset and the moving speed must be checked before change complete view.

View 2 Replies

Flex :: Mobile Supports Native Mobile Features?

Jun 27, 2011

Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).

View 2 Replies

Actionscript 3 :: Put An Image Into An IconItemRenderer?

Sep 20, 2011

I want to display a list of dynamically generated images. I am trying to use an IconItemRenderer, however, I cannot figure out how to display the image (a spark.components.Image) in the IconItemRenderer.[code]But this did not work. The image is correct, when I use addElement(image) instead, it works.So, how can I add a dynamic image to an IconItemRenderer?

View 1 Replies

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

ActionScript 2.0 :: Create List Components In Mobile Phone?

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

Android :: Iconitemrenderer Clickable Objects?

Jun 29, 2011

I am making a mobile application in Flash Builder 4.5 for android and iOS and am using the itemRenderer and iconitemrenderer classes to make a list of options for my app. For some reason, i cannot make them clickable, or define actions to do when each is clicked. Basically, i'm aiming to use FB's "views", and when an item is clicked, to switch to a new view. Here's the code i'm working with:

[Code]...

View 4 Replies

ActionScript :: Android - What Is The Difference Between Mobile Project And Flex Mobile Project

Jun 5, 2011

I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?

View 1 Replies

Xml :: Flex Children() Method Strange Behaviour?

Feb 20, 2012

I have the following xml declaration:

public var reqData:XML = <root>
<Requirement ID="REQ-GEN-0.1" title="exigence gen 1" description="blabla 01" testable="true"/>

[code]....

View 1 Replies

Flex :: Override The Behavior Of The Tab-key Event?

Jan 25, 2010

I have two datagrids and I want to override the behavior of the tab-key event, so that it goes to the next datagrid, when the cursor reaches the end of the first datagrid columns.

View 2 Replies







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