When scrolling my custom item renderer, which inherits from ItemRenderer, i
notice significant performance problems, when scrolling the list. It seems like
the list's layout is invalidating the component when the list is scrolled.
I configured the list's layout with the following parameters:
I've started swimming in the sea of functional programming languages. As in
languages like Scala, immutability is a very important aspect. Since
ActionScript offers possibilities to programm in a functional fashion, i'd like
to know what kind of impacts to expect consist instead of vars in
When useVirtualLayout=true, renderers are being recycled so more invalidation
does go on. It pretty much has to. You might be able to block some of it,
depending on your scenario.
On 8/9/10 12:12 AM, Florian florian.saliho...@gmail.com wrote:
When scrolling my custom item renderer,
Yes, i understand this aspect of the component model. But since nothing happens
after the renderer references a new data, why is there the invalidation of
renderers which have a correct state already?
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
When useVirtualLayout=true,
Despite this whole FP issue coming back into fashion in the last years,
there's really no use for that in ECMAScript-like languages. Every piece of
code you can write using nested functions can be rewritten in a way that no
nested functions will be used and the program will work better.
I'm not
My thoughts more specifically:
- the data property is set - an invalidation should occur.
- a renderer is reused - an invalidation should occur.
- a renderer is scrolled within the view port - no invalidation should occur,
after its size is determined.
Or am i wrong?
--- In
Hi Everybody
anybody knows about Text to Speech API for Flex?
I mean Client Side API , not server side that Flex can use.
BR
Farid Valipour
I assume you mean PDF files.
There is no function per se. What I do is use navigateToURL to go to a PHP page
that uses TCPDF to generate the PDF file (Either in a new tab or window). The
PHP file grabs data from the database and generates the PDF based on the data.
--- In
First off, adding this one column datagrid and getting it to line up correctly
must be a pain. I wouldn't do that. Just add another column to the datagrid for
the quantity. You can add as many columns to the datagrid as you want - they do
not have to match the dataprovider.
I would design my
I would set up a function with a try catch block that would try to connect with
the server together with a timer that runs the function every few minutes. I
would store the data locally in a SQL Lite database. Once you get a connection,
sync the data.
--- In flexcoders@yahoogroups.com,
Hello :)
I would like to create a type complex which contains one STRING and One INteger
..
How can i declare this type please ??
Any idea please ?
Thanks :)
Unless I am reading you wrong:
package com.whatever
{
public class Compex
{
public var stringval:String;
public var intval:int;
}
}
C
From: Nini7016 Nini7016 nahloulaha...@hotmail.com
To: flexcoders@yahoogroups.com
Sent: Mon,
You cannot really have custom types in AS3 or any other ECMAScript language.
I'd go for a class with 2 fields for integer and string.
With useVirtualLayout set to true the list will create a set number of
renderers. As you scroll the list will recycle these item renderers. In this
scenario you are never guaranteed that the renderer associated with your
data will remain with that data.
If you want to guarantee that the renderer
wel you could use the variant type
var p:* but this is not very neat, nice or efficient to be honest
On Mon, Aug 9, 2010 at 2:52 PM, Oleg Sivokon olegsivo...@gmail.com wrote:
You cannot really have custom types in AS3 or any other ECMAScript
language. I'd go for a class with 2 fields for
I have a similar setup for an app that needs to pull data from a server at
certain times. This is not generally critical so the server stuff needs to
fail silently and allow the app to continue about it's business.
To do this I wrote a ServerMonitor class that wraps air.net.URLMonitor.
Hi Alex and thanks for your post. I no need to create a locale but only to get
the existent list separator and I did'nt find how to do it reading
globalization.LocaleID. If you have a sample to show me I will apreciate a lot.
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
See
Try this:
var loader:Loader;
var file:File = new File();
var imagesFilter:FileFilter = new FileFilter(Images,
*.jpg;*.jpeg;*.gif;*.png);
file.browseForOpen(Open file, [imagesFilter]);
file.addEventListener(Event.SELECT, imgSelected);
function imgSelected(event:Event):void
{
loader =
Hi,
I'm having problems debugging my Flex 4 application, but only when I use
inline item renderers.
In the following test application I can't step into the init() function
although the code is clearly being executed.
I'm using Flex SDK version 4.00 build 14159 with IntelliJ IDEA 9.0.3. I
Hello,
I have a very newbish question, but just
can't find the right attribute in the docs -
in a set of 2 LinkBar's, how do you change
their alignment? Why do I have the first
LinkBar centered, but the 2nd - left-aligned?
I tried diff. attributes, like horizontalAlignment etc.
Below is my
Hello,
does anybody please have an advice on creating
a repeatedly blinking Glow effect on a button.
Exactly like the example at the Adobe page
http://livedocs.adobe.com/flex/3/langref/mx/effects/Glow.html
but it should run repeatedly - to draw the
user's attention to a particular button.
I
The solution you suggest is how I'd approach it.
Sent from my iPhone
On Aug 9, 2010, at 7:50 AM, Alexander alexander.far...@gmail.com wrote:
Hello,
does anybody please have an advice on creating
a repeatedly blinking Glow effect on a button.
Exactly like the example at the Adobe page
No, i'm aware of the component live cycle. What i was not aware of: creating a
loop when accessing contentWidth in updateDisplayList... it just hit me right
into my face.
Just for the record: my observation of the additional invalidation cycles was
when the renderer was moved in the viewport
Are you saying you are seeing extra invalidation calls when scrolling? If the
renderer is using autosizing text controls there can be extra invalidation
calls. We are looking at issues related to that right now. Not sure we can
always optimize them away.
On 8/9/10 1:05 PM, Florian
horizontalAlign=center width=100% - I was missing the width
8:17:23 AM
Hot Model Wallpaper
Girls Wallpaper +18 - Part8Wallpaper HD Hollywood Best Wallpaper
HOT girls 14 Best Hot Wallpaper Hot Pictures 4
Girls +18 - Part 9Wallpaper HOT girls 10 Hot Pictures 8
Girls +18 - Part 10 Wallpaper HOT girls 11 Hot Pictures 6
Girls Wallpaper +18 - Part 11
Turns out it is not available from Flash. One of our globalization experts
noted:
Indeed, the list separator is Windows specific.
In fact most applications don’t use it at all, and some who use it in fact use
it wrong :-)
Excel using it as separator in CSV files, breaks one of the basic i18n
When using the keyboard to navigate the UI, focus is lost after
importing file using FileReference. Who know how to deal with this
issue? Thanks.
After completing a FileReference call, the Flash application appears to lose
focus.
--- In flexcoders@yahoogroups.com, chinaloveshisiling
chinaloveshisil...@... wrote:
When using the keyboard to navigate the UI, focus is lost after
importing file using FileReference. Who know how to deal
29 matches
Mail list logo