I've done this:
var myResponder : IResponder = new Responder(addAsync(handleSuccess,
1000 ), handleFault);
I actually have my own responder that extends Responder so the above I
new MyResponder, but it works great for me. I then just pass in the
newly created responder.
Dale
--- In flexcoders
and an
> ANT script then. I don't think it is nearly as slow as the Flex
> Builder compiler. 3-7 seconds to compile via ANT is pretty fast to me.
>
>
>
> --- In flexcoders@yahoogroups.com, "dbronk" wrote:
> >
> > Although I agree that 16000 lines
Although I agree that 16000 lines of code broken between only 7
classes certainly seems like a further break down of code into smaller
classes is necessary, I also believe that Adobe needs to kick it into
gear and come out with a patch ASAP that addresses the, from my
experience, the absolute slowe
ExternalInterface.call("window.location.reload(true)");
--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> How would be possible to reload the whole application programmatically?
>
> Thanks
>
t:Event):void
>
> {
>
> onCreationComplete()
>
> }
>
>
>
> And you don't know the name of that function.
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
One extra point. I realize that if I use the
addEventListener("blahEvent", myFunc) function I need to remove those.
Even if I use weak reference I should remove it explicitly when I'm
done with the listener rather than waiting for GC.
Dale
--- In flexcoders@yahoogroups.com, &
Subject is a bit confusing.
What I'm asking is, for example, let's say that I have a component
where I code creationComplete="onCreationComplete()". Should I make
sure that in the onCreationComplete function do a
this.removeListener(FlexEvent.CREATION_COMPLETE, onCreationComplete)?
I guess my re
I generally write a simply utility that has a setAppBusy(flag:Boolean)
function. When true I set the application mouseChildren=false and
then do CursorManager.setBusyCursor(). I actually hate the popup/hide
my data/grey the screen approaches. The only gotcha I came across
with this was that sett
Here is my preferred way of creating a singleton class. Usage would
be: MySingleton.instance.someVar
Dale
package your.package
{
[Bindable]
final public class MySingleton
{
public static const instance : MySingleton=
Not sure why, seems like a bug. But if you wrap the inner vbox's in a
canvas it works.
A while back I found an AS3 HashMap implementation by Eric J.
Feminella. I tweeked it a little, extracted an interface that I call
IMap, added a new ManageHashMap to the interface.
I would think that it would be quite easy to create your own HashSet
class that is backed by a HashMap. You could e
coders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ]
> On Behalf Of Josh McDonald
> Sent: Monday, June 09, 2008 9:17 PM
> To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
Can anyone offer any advice, samples, url's, etc. for coding an effect
in a DataGrid or AdvancedDataGrid that will give me the same effect
that the TileList has for it's default itemsChangedEvent?
Reason is I want the free stuff from the DataGrid like sorting, etc.
Also, we are finding it difficu
This is actually happening more than and more to use. Our application
when running from FireFox works great. But when we run it in IE it
doesn't. First time it happened FF ran great, but IE would give a
null pointer on something that in no way could be null as one line
new'd it, the next line se
the document list, i would suspect that the "Down arrow" next to
> document name is a button that, when clicked, makes some container
> visible.
>
> dbronk wrote:
> >
> > Any hints, examples, or suggestions on how to accomplish the
> > dropdown/popup men
Any hints, examples, or suggestions on how to accomplish the
dropdown/popup menu's like on buzzword.adobe.com? The menu's that
appear when you click the small arrow to the right of the items in the
left nav.
Thanks,
Dale
I have a DataGrid with about 5 columns. One of the columns is an
icon. When the icon is clicked, I want a section to appear underneath
that DG row and show a form for inputting more data. This form will
not be in column format, but will span across all the column. When
the icon is clicked again
How about just:
Dale
--- In flexcoders@yahoogroups.com, "Cato Paus" <[EMAIL PROTECTED]> wrote:
>
>
> package {
>
> import flash.display.DisplayObject;
>
> import flash.events.KeyboardEvent;
>
> import flash.events.MouseEvent;
>
> import flash.text.TextField;
>
> import mx.contr
yahoogroups.com, "Abu Hamdan" <[EMAIL PROTECTED]> wrote:
>
> hi there
> it doesnt work, any other suggestions ??
> rubeel
>
>
> On Fri, May 30, 2008 at 9:20 PM, dbronk <[EMAIL PROTECTED]> wrote:
>
> > I think the following will get you
I think the following will get you what you want...
Dale
--- In flexcoders@yahoogroups.com, "Abu Hamdan" <[EMAIL PROTECTED]> wrote:
>
> can a repeater be used without a dataprovider, i want to repeat some
panels
> based on a number and i was thinking ofu sing the count property
only,
try to upload some sample code to reproduce
> the problem. In my case I am popping up a menu. The problem occurred
> when I the popup closed after a menu click.
>
>
> --- In flexcoders@yahoogroups.com, "dbronk" wrote:
> >
> > Not sure how to get by this on
Not sure how to get by this one. I have a TileList with a custom item
renderer. The item renderer shows a type of business card ui. One of
the controls in this renderer is a PopUpButton. The popup menu comes
up just fine, but when the user clicks somewhere else I get a null
pointer error in Pop
;
> In Flex3, we added a createColumnItemRenderer method that in theory
> will let you return different renderers per-row. Might be worth a try.
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of
different renderers per-row. Might be worth a try.
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Saturday, May 24, 2008 6:45 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Multiple ItemRenderers for a single DataG
ndling a selectedField in a dataprovider
> item. Since CheckBox inherits from button, you might just be able to
> use selectedField, or modify and piggy-back on its timing.
>
>
>
> ____
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO
the
problem using that approach. Just a thought.
>
>
> --- On Sun, 5/25/08, dbronk [EMAIL PROTECTED] wrote:
> From: dbronk [EMAIL PROTECTED]
> Subject: [flexcoders] Why is this renderer so slow?
> To: flexcoders@yahoogroups.com
> Date: Sunday, May 25, 2008, 12:59 AM
>
> I hav
I have created a checkbox renderer. My datagrid has 5 out of 8
columns that use it. The datagrid has only about 80 rows it it. When
using this renderer the performance of the datagrid is horrible.
Scrolling is extremely slow, click a checkbox is extremely slow. If I
swap out and use a normal m
I have a DataGrid and one of the columns I need to be able to do the
following based on the user security setting and the data in the
column. So each row in the DataGrid for a single user may have
different behavior and ItemRenderers.
1. Do not show any data and mark the cell not editable. Stil
I'm successfully using ImageSnapshot to take my Canvas and convert it
to a Base64 PNG String. Very easy, but it doesn't produce what I
want. My user forms generally will have a vertical scroll and of
course this creates an image with the scroll bar. What I want is the
image to be the full user f
I actually agree with you. Having a synchronous call would make life
so much easier in many places. Yes, there are always ways to code
around it. But, if I have a situation where I don't want the user to
do anything else, or any more logic to be run until I get the answer
back from the server, t
In Flex 3 Beta I had no issues doing this, in Flex 3 GA it does not
work and I'm wondering if any of you have seen this issue.
I have extended Module to MyModule and added code that I need. My
Flex builder is setup into three projects. AppProject, ModuleProject,
and FrameworkProject.
My Framewo
Okay, I have a DataGrid with one of the columns being a checkbox so
the user can select what they want to work on. I'm using the
following mxml for this column:
When I select the checkbox everything works fine. My application is
setup pretty basic also. I have the normal "C" clamp desig
You may want to take a look at Application.application.loaderInfo.
Also, here is a class I found somewhere. Unfortunately I don't
remember where I found this so I can't give the true author credit.
package your.package
{
import flash.external.*;
import flash.utils.*;
pu
Look at the bottom of the DataManager class and you'll see:
class SingletonEnforcer{}
That should be the last line in your DataManager.as class, even
outside the closing } for the DataManager class. It is called an
inner class and is accessible by DataManager.
Dale
--- In flexcoders@yahoogroup
Okay, with this post it lit a light for me. Let me add a bit more
information which I _hope_ will get me the answer. Here is how my
project is setup:
I have a swc project setup where I have a lot of framework stuff.
This is also where my Config singleton is housed.
I have another main applicat
Will this even compile? Your static variable singleton_ is declared
with new DataManager(). But your constructor requires a parameter.
If this was just a typo in the post and it was declared passing in
SingletonEnforcer, then you should not even need the if null check in
getInstance as it will a
pplication and
Modules !?
>
> You'll have to send me a test case. They should be the same.
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Tuesday, March 25, 2008 6:52 PM
> To: flexco
I beg to differ. I had setup my app thinking this to be true. When I
did this the module would get it's own, and very different, instance
of my singleton. I had to change the way I did things so what I do
now is upon loading my module, the main app then sets the singleton
into the module. I don
I have extended repeater and have added code that will dispatch an
event. This code is executed, but nothing listening is executed.
I have a canvas where it is listening to a customer event. I have
extended several controls to do things I need them to do. One of
which is to dispatch a "controlL
t; I assume you removed the getter/setters?
>
>
>
> Try:
>
>
>
> .wax {
> waxColor: #F0F0F0;
> }
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Thursda
I've made a custom component and on it I want to place a custom style
named "waxColor". I started by simply creating getter/setters for
waxColor. Worked great when I include waxColor="#F0F0F0" to the mxml,
but I want this to be property driven. So I added
[Style(name="waxColor", format="Color",
I have a TabNavigator component that I completely reset the tabs
dynamically with the following code:
tabNav.removeAllChildren();
for each (var container:Container in myList )
{
tabNav.addChild(container)
}
tabNav.selectedIndex = 0;
So this successfully removes the existing tabs, then loops thoug
>
>
>
>
>
> labelField="lastName">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
I've looked for a combobox that drops down a datagrid, but have not
found one so I'm building one that suits my needs. I have my POC
working but after selecting a row in the datagrid and the combobox
closing as it should, then reopening the combobox loses the
hightlighted row in the datagrid. I'v
Didn't realize that was important information. I am overriding the
getter also. Just didn't show it in my post.
Thanks,
Dale
--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> try overriding the getter too
>
>
> - Original Mess
I have a class hierarchy of classes as follows:
MyBaseTextInput extends TextInput
{
override public function set text(value:String):void
{
// my base code here
}
}
MySpecialTextInput extends MyBaseTextInput
{
override public function set text(value:String):void
{
// my special code here
}
}
Okay
I've been developing with my application using modules just fine for
weeks. Now I'm getting an error when loading my module and I can't
make it go away.
VerifyError: Error #1014: Class mx.containers::HBox could not be found.
at flash.display::MovieClip/nextFrame()
at
mx.core::FlexModuleFactory/de
rote:
>
> Have a look at Eric Cancil's Scroll to anchors component at
> http://blog.3r1c.net/?p=84
>
>
> --- In flexcoders@yahoogroups.com, "dbronk" wrote:
> >
> > I have an input page where the inputs go off the bottom of the canvas
> > causing a
I have an input page where the inputs go off the bottom of the canvas
causing a vertical scroll bar. How can I auto scroll so that which
ever control has focus is in the viewable area?
Thanks,
Dale
I have and XML field with contents:
My combobox has dataprovider="{xml.option}" labelField="@label"
My problem is the how do I specify which data field to use. The combo
box appears correctly with this code but the data values are not on
the combobox.
Changing this to an ArrayCollection of
How about placing a public variable in your module. Upon loading the
module you can simply set that value to the same object as in your
parent. Then the children can simply bind to those values and you
don't need eventing at all. I had the same problem to solve. I
created a Context.as class tha
I was wondering if I could get some input about events and performance.
The exact situation I have is I'm using the HashMap class from
"Copyright (c) 2006 Eric J. Feminella". I've modified the class so
that on put/remove/clear/reset functions it will dispatch a
"dataChanged" event. This way I ca
I had tried moving my statements in just about every sequence I could
think of and always the same issue. I realize it had to be some sort
of timing issue since about one out of every 5th or 6th time it would
work on the first click.
I decided to move my implementation to use ModuleManager instea
url or calling loadModule()
>
> Thanks,
> Gaurav
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Monday, January 28, 2008 4:36 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Module h
I'm trying to get something very basic to work with modules. I have
my app and two swf modules (Form1.swf and Form2.swf). Each test
module simply has a couple TextInput fields. I have also extended
Module so I can follow what is going on and I will be adding custom
code later. MyModule extends
I have a VO object with a fill(xml:XML) method. I have it working
fine except for one place. My VO has a var beginDate : Date = null;
property. Problem is that when I am looping through the xml is need to:
// Say prop = "beginDate" at this point in the loop
if ( this[prop] is Date )
This
I apologize if this is a repost, but on my first post of this I never
saw it show up on the forum.
I have a column chart that will have at least 20 different entries. I
have a few of questions...
1. How do I remove the horizontal lines in the chart? I want only
the bars, not y horizontal axis lin
I have a column chart that will have at least 20 different entries. I
have a few of questions...
1. How do I remove the horizontal lines in the chart? I want only
the bars, not y axis lines.
2. How do I set a minimum width for each bar? right not it simply
makes each bar skinnier and skinnie
Here is a very basic example of what I want the UI to thread. In my
application I show a result set in a Tile. Once the user clicks on
one of the entries I want to transition the result set view from the
main section of the app over to the left part of the screen. Very
easy and very smooth looki
the event
> by querying the currentTarget property on the event object.
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Friday, November 02, 2007 1:37 PM
> To: flexcoders@yahoogroups.com
> Subject: [fl
I have a very basic Canvas. It has a VBox that holds some text and
then under that is a HBox that holds some other test. The canvas has
both mouseOver and mouseOut events defined. I also tried rollOver and
rollOut and get the exact same thing. When I move my cursor in
between the text lines in
ign the
object, then come back and re-establish them. Also, it would be nice
to have something like Java's finalized method.
Dale
--- In flexcoders@yahoogroups.com, shaun <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> dbronk wrote:
> >>Probably the easiest thi
In this case when you initialize the ArrayCollection, the
> eventListener stays.
>
> Hope it helps,
> Regards,
> Josef
>
>
> --- In flexcoders@yahoogroups.com, "dbronk" wrote:
> >
> > I have a VO:
> >
> > [Bindable]
> >
someone confirm?)
> > If its feasible you may want to replace those lines with
> > prodList.removeAll() and then you should be able to get rid of
.
> >
> > Ben
>
> > "dbronk" wrote:
> >>Second, swapping my mx:Binding with adding a listener on
>
ventListener()
> method that allows you to check for the existence of a listener.
>
> HTH,
> Ben
>
>
> --- In flexcoders@yahoogroups.com, "dbronk" wrote:
> >
> > This seems like a very dangerous design decision by Adobe. If
> > somewhere in my application s
t unavoidable) that
> > reinitializing a var kills the listeners. (Actually, I think
> > reassigning like that could cause a memory leak, can someone confirm?)
> > If its feasible you may want to replace those lines with
> > prodList.removeAll() and then you should be
item to the
> collection will fire the binding as well.
>
> HTH,
> Ben
>
>
> --- In flexcoders@yahoogroups.com, "dbronk" wrote:
> >
> > I have a VO:
> >
> > [Bindable]
> > public class Product
> > {
> > public var productName :
I have a VO:
[Bindable]
public class Product
{
public var productName : String;
// several more attributes here
}
I place a large number of Products in my Cairngorm Singleton
SellModelLocator in var productList : ArrayCollection;
The entire SellModelLocator is declared Bindable. In one of my mx
I'm having problems with a binding issue. I'll dumb down my component
a bit in hopes to make this easier. I have a component, MyComponent,
based on Canvas. This Canvas has objects placed around in it and some
effects base on what the user clicks. The dynamic part is that there
is one spot in My
Sorry, I found the solution... itemClick on datagrid.
--- In flexcoders@yahoogroups.com, "dbronk" <[EMAIL PROTECTED]> wrote:
>
> It is very easy to get the item(s) selected on a datagrid, but is
> there an easy way to figure out which column was clicked? I can't
&g
It is very easy to get the item(s) selected on a datagrid, but is
there an easy way to figure out which column was clicked? I can't
seem to place a click event on a datagridcolumn.
Thanks,
same browser session and it will reload from server every
time. It would help tremendously if you could advise me on how to
make the SWF cache in the browser.
Thanks,
Dale
--- In flexcoders@yahoogroups.com, Jeffry Houser <[EMAIL PROTECTED]> wrote:
>
> dbronk wrote:
> >
> &
gt;
>
>
>
> ____
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Friday, October 19, 2007 12:01 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex is becoming unviable
>
>
But we shouldn't have to rely on people getting faster and faster
connections. To me, that is the same as saying I don't have to worry
about poor coding practices that produce inefficient apps because
Intel is building faster chips.
Adobe needs to put very serious thought into aggressively reduci
Part of my app has two panes. One on the left, on on the right. The
one on the left is not very wide and has the data entry fields. As
the user enters data in the form, the right pane changes to show the
formatted document. I only want the user to be able to enter data in
the left pane where th
Not to mention
http://fashion.canon-europe.com/searchandcreate.html
errors out on startup with "fault getting config files"
print studio is very nice looking, but these darn enormous swf files
are app killers.
--- In flexcoders@yahoogroups.com, "droponrcll" <[EMAIL PROTECTED]>
wrote:
>
> --- I
I have seen a sneak peak a month or 2 ago of FlexBuilder 3. I've
tried to load Flex 3 Beta 1 on my box with no luck. It simply erred
out on the install. Have not tried beta 2 yet. But it is beta so
that is fine.
But, from the sneak peak I saw, there were only a few IDE features
added that stil
A question... Why another designer? Why not add the Thermo features
into FlexBuilder or Flash? To think that only designers will use this
tool is short-sighted. Developers will definitely also like to see
these features as once the development begins, the lines between the
designers and develop
I'm using whatever was given in the Flex 2 install. I'm on Hotfix 3.
I'm embarrassed to ask, but how do I check the version number of the
browser plugins in IE and FF?
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote
Hello...
I have a Canvas with a rollOver and a rollOut event handler coded.
Each simply change the view state from a rollover state and back to a
normal state. Their are roughly 2 dozen different "things" that
change between the two states, but basically they are all changing
from plain text com
I have a viewstack. One one is a tile, the other a datagrid. Both
have the same dataprovider. I set each in the viewstack with:
showEffect="Fade" hideEffect="Fade". The fade out/in works fine with
everything in the view except the text. How come the text in the tile
and datagrid does not fade
ursey <[EMAIL PROTECTED]> wrote:
>
> You don't have another class or var with the name includeBase that
might
> be conflicting? That's the kind of thing that has tripped me up in the
> past. In the debugger can you verify the value of includeBase?
>
> Paul
>
&g
ot;Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> If you have time to create a simple test case, please post it or file a
> bug.
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of dbronk
> Sent: Thursd
I'm constructing the boolean as follows:
private var includeBase : Boolean = false;
Then in my logic to call the filter function I do:
includeBase = determineIfBaseNeeded(profile);
filterObj.filter(includeBase);
The determineIfBaseNeeded is declared as follows:
private function determineIfBase
I would also highly debate the fact that a JSP app is web 1.0. I have
written some very nice AJAX/JSP apps with full drag/drop, all the
coolest widgets, and I would challenge you to without looking at
source tell me that it was simply html and javascript.
But, with that said, it took probably 20x
..
>
> Like a global variable, for example:
>
>
>
>
>
> http://www.adobe.com/2006/mxml";
> layout="absolute">
>
>
>
>
>
>
>
> click="testit(false)"/>
>
>
Very strange...
I had an apparent bug in my code and simply could not find it so I
created a very basic function to help test. Here is the code:
public function crazy(myBool:Boolean) : void
{
if ( myBool )
{
var s:String;
}
}
Yes, it does nothing. I place a break point on t
I'm looking at the Flex Store and really like the movement effects of
the catalog list when filtering. If a non filtered phone is visible,
it moves to its new place in the view.
I was wondering if it is possible (and how to) gain the same effect
using a Tile for the catalog display. Basically, t
ill revist PureMVC, Model-Glue, and
some other frameworks as they all become updated we new features.
Thanks for your response. It definitely helps getting other opinions.
Dale
--- In flexcoders@yahoogroups.com, shaun <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> dbronk wrote:
>
Very nice indeed! I've always thought the MDI application UI was a
lost treasure. I think I have exposed a bug though. Load the example
app as normal. Window 2 has focus. Close window 2 and I would expect
Window 1 to gain focus. Even after click, clicking and dragging, etc.
window 1, it does
90 matches
Mail list logo