); in the click event handler for
the button.
|
Karl Johnson
Cynergy Systems
http://www.cynergysystems.com
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of merrittwchapman
Sent: Monday, April 10, 2006 3:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders
by criteria for each row) that match the amount of expanded tree nodes.
The perf is pretty good, mostly instant drawing and no datagrid overhead
etc. The control is pretty much modeled after the MS Project gantt
chart.
|
Karl Johnson
Cynergy Systems
http://www.cynergysystems.com
-Original
as
the dataprovider is set/the grid shows data? Then you should go the
custom cell renderer rout. Then you can do anything you want to each
cell, including display objects other than strings.
Hope that helps!
|
Karl Johnson
Cynergy Systems, Inc.
http://www.cynergysystems.com
-Original Message-
From
returned for that cell. Once you have the cell
renderer class done, just set the cellRenderer property on your
dataColumn to be your new class.
|
Karl Johnson
Cynergy Systems, Inc.
http://www.cynergysystems.com
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED
://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/List.html#s
tyles
If you want to set a row's bg color based on certain criteria, the way I
would do it is call dg.setPropertiesAt(rowId,
{backgroundColor:0xC2D4DF})
|
Karl Johnson
Cynergy Systems, Inc.
http://www.cynergysystems.com
-Original Message
(unless you have imported it).
Container.createChild(net.myCompany.myButtonComponent, undefined);
|
Karl Johnson
Cynergy Systems, Inc.
http://www.cynergysystems.com
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sinacapho
Sent: Friday, April 21
= myVBox.createChild(mx.controls.Label, undefined);
newLabel.text = myArray[i];
}
Are we on the right path here or is this not what you are looking for?
|
Karl Johnson
Cynergy Systems, Inc.
http://www.cynergysystems.com
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED
Not positive about flex 2, but in Flex 1.5 I would do
DesignView.getChildAt(0).addEventListener(eventType, handler); (assuming
DesignView is the parent container).
Does that work in F2B2?
|
Karl Johnson
Cynergy Systems, Inc.
-Original Message-
From: flexcoders@yahoogroups.com
ing called?
|
Karl Johnson
Cynergy Systems, Inc.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
BuhlerSent: Wednesday, April 26, 2006 12:33 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Amazon Web
Services
Ok, I'm a bit of a newbie when it
comes to F
I assume the event is not firing because the length of the dataprovider
has not changed in this case. Just a guess, but try setting the
dataprovider again or setting it to its self to force a reload of its
data. (grid.dataProvider = grid.dataProvider or grid.dataProvider =
dataObject);
|
Karl
Has anyone
implemented a tab control that shows a clickable icon on the active tab (that
wouldlaunch an options dialog or something similiar)?I assume
theonly way to do it would be to extend the tab control and manipulate the
width of the active tab and overlay the image object on top of
Set the showHeaders property to false.
Karl Johnson
Cynergy Systems, Inc.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jean-Luc ESSER
Sent: Wednesday, May 10, 2006 6:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] No header
through the dataprovider, or just grab the dataprovider as an array of
the second list.
Does thatanswer anything? Please provide more details
and I am sure we can resolve your problem.
Karl
Karl Johnson
Cynergy Systems, Inc.
http://www.CynergySystems.com
From: flexcoders@yahoogroups.com
[mailto
Here is a well written article from adobe on the testing of
a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html
Unless something has come out recently, I don't know of any
automated testing tools that directly support flash apps (flex). You can use
Yah, my approach to answering the question was with regards
to automated UI testing, not sure why I assumed the original poster was not
looking to unit test. I guess when you talk about regression testing of web
apps, the most important thing is to test the UI its self, more than just unit
in seeing if anyone has taken the approach I talked about in my
first post...particularly a way to automate the UI testing of a flex app w/o
spending the major dollars on mercury.
Karl
From: Karl Johnson Sent: Wednesday,
July 26, 2006 10:01 AMTo:
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders
Why notjust place a transparent canvas over top of
the chart, same width and height of the chart, and set the x of the image
to be (canvas.width/2) - (image.width/2) and then the same for the y with the
height. By binding the x and y, they will change automatically when the
chart/canvas
Is this flex 2.0? In 1.5, to center a titlewindow popup I
would do:
var popup : MovieClip =
mx.managers.PopUpManager.createPopUp(this, NewTitleWindow, false, {deferred:
true});popup.centerPopUp(this.parentApplication);
Karl
Cynergy Systems,
Inc.
From: flexcoders@yahoogroups.com
You may be able to accomplish what you want to do by
overlaying multiple chart components on top of each other, with transparent
backgrounds. Not sure I can exactly picture what you want the chart to look
like, but it would be easy to align multiple charts on top of each other and
then
When you say it is loading slowly, do you mean it takes a
long time to download? Or does it take a long time to initialize, create all of
the controlsand render? When it is taking a long time, are you seeing the
preloader?
Karl
Cynergy Systems, Inc.
From: flexcoders@yahoogroups.com
immediately?
According to the API Doc:
verticalScrollBar
property
verticalScrollBar:ScrollBar[read-write]
The vertical scrollbar used in this container. This property is null if no
vertical scroll bar is currently displayed.
|
Karl
Johnson
Cynergy
Systems
From: flexcoders
your service, then you should be setting the value of myXLC in the result event
handler of the HTTPService.
|
Karl Johnson
Cynergy Systems
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of meatheadSent:
Thursday, November 02, 2006 4:49 PMTo:
flexcoders
Well the *easy* answer is to set creationPolicy=all on the accordion. But use
this carefully, because there are performance impacts on doing this.
Karl
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit
Boyar
Sent: Tuesday, November
has been moved. And of course add some sexy
effects so the line graph transitions nicely from the previous state to
the new state!
Hope that helps some. I like problems like these :-)
|
Karl Johnson
Cynergy Systems, Inc.
From: flexcoders@yahoogroups.com
I have been using IE 7 for a long time now with many, many flex apps and
have not seen any issues. This is a flex 2 app right? Is there any other
code involved on this login page outside of the swf? Perhaps some
javascript or something else? Most of the changes in IE 7 that would
break existing
This definitely sounds like something that should be done on the server side
and not done using a client side application. How are you sending the emails
now from the flex app? Calling a php app that creates the mail and sends it via
SMTP? If so, then why not just put the automated job logic in
To send an ArrayCollection over the wire via an HTTPService, you will have to
convert the array to some readable format for your php service. Usually this
would be xml. So you would need to convert your ArrayCollection to an XML
string (could do a foreach on the AC and add a child node to the
In your method that handles the adding and removing of the charts, instead of
changing the state or changing the visibility of the chart, you can completely
remove it using chartParent.removeChild(chartInstance); Then you can add your
new one using chartParent.addChild(newChartInstance).
Do you have videoDisplay.autoPlay set to false? By default it is set to true so
there is no need to call play after setting the source because it will auto
play after having its source set.
Karl
Cynergy
From: flexcoders@yahoogroups.com on behalf of
mx:List id=thisList dropEnabled={thisList.dataProvider.length 1} /
That help?
Karl
Cynergy
From: flexcoders@yahoogroups.com on behalf of jmfillman
Sent: Wed 2/21/2007 11:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Count of items in a
Unless I am misunderstanding your question, this does not really sound like a
problem the MVC design pattern, but rather a typical client-server app problem.
To ensure that all of your clients always have the most up to date info, you
really only have a few options.
Push updates from the
Unless you have something that is preventing you from actually binding
in mxml, you should just add dataProvider={mycomponent.MyDataList} as
a property in the mx:List component. If you want to setup the bind in
actionscript, you can use BindingUtils.bindProperty.
What part are you asking if it needs to be embedded? The javascript side that
lives in the HTML definitely does not get embedded. You can launch your app
that is using the FABrdige from your next HTML file or you can modify the HTML
template file in FB to use the JS code from the FABridge html
There are a few ways you can approach this. One is you can pass the variables
in via the querystring and then take them from the querystring and send them to
your flex application via flashvars. If you are using php/jsp/asp or some other
server side processing, this is really easy to do - just
Hi André,
Change your labelField property to be labelField=@name Because you are
pulling the value from an XML attribute you need to designate it as such using
@ before the property name.
What do you mean you want to return the URL attribute? You want to display it?
Please be more specific
, and in the html generated by flex, the swf is embbeded on the
fly or something like this.
If you have a very simple example (the most simple as possible) of one flex
project using fabridge I appreciate it very much.
Thanks again.
--
Matías Nicolás Sommi
2007/2/23, Karl Johnson [EMAIL PROTECTED
Just curious, have you tried your app on IE 7 on Windows XP? There was someone
else on flexcoders talking about weirdness with form input in IE 7, and since
Vista uses IE 7 I am wondering if it is a problem with browser and not the OS.
Has anyone from the flash player team heard of an issue
var text:Text = new Text();
text.text = My Text;
text.x = 10;
text.y = 20;
childCanvas.addChild(text);
Karl
Cynergy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Guy Morton
Sent: Sunday, February 25, 2007 8:03 AM
To: flexcoders@yahoogroups.com
Subject:
Because of security restrictions, the Flash Player running in the
browser can not access the user's file system. The only way to do this
is to wrap your flex swf in something like Zinc which allows it to run
as a desktop application, or of course Adobe Apollo, which is in
alpha/almost-beta right
from the server ?
Thanks.
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Karl Johnson [EMAIL PROTECTED]
wrote:
Because of security restrictions, the Flash Player running in the
browser can not access the user's file system. The only way to do this
is to wrap your flex
Data access via HTTP and Web services is asynchronous so there is no way
to guarantee natively that your services return in a certain order. But
you can accomplish this if you really need to by chaining together
service calls via result handlers. Calling service 1, and then in the
result handler
User a timer in actionscript that fires every 10 seconds. In the event
handler for the timer, add the logic to modify the state. And for the
fade, add a transition effect on the states (just use Fade). Does that
help?
Karl
Cynergy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
What data types are your returning in your SOAP Response from the .NET web
service? There definitely are complex object types that java/.net support that
Flex/AS do not.
Karl
Cynergy
From: flexcoders@yahoogroups.com on behalf of ben.clinkinbeard
Sent: Tue
Like everything, there are a million ways to do this. And best practices
involve opinions sometimes...but I would say the best practice is to fire off
an event in your login cfc result handler, and have the parent app listen on
that loginSuccessfull event. Then have this.currentState = Home,
In general you always want to cast something like this - because
event.currentTarget is of type object and NOT UIComponent or Button. But since
objects are loosely typed as type Object, then you reference any property or
method you want at compile time. Often at runtime though you will hit
This problem is happening because your third textfield is the last control in
the tabOrder in your application. The problem only happens when you tab out of
the third box - because there are no more controls in the tab order, hitting
tab give the browser focus. So after the browser gets focus,
It is unfortunate, but it is the way it is. When returning large sets of data
like this, we had to stop using webservices returning objects and change to
using webservices returning an XML string or HTTPServices returning XML. Having
the flash player consume a big blog of XML and then you do
Are you sure that the wsdl path you have specified on the webservice object is
relative and not hardcoded to use http? Also, open your WSDL in the browser and
make sure it is not returning a method URL to the Flash Player with HTTP
hardcoded in it.
Karl
Cynergy
Shameless Plug:
Come see us
What type of objects are in your grid's dataprovider? Are the items in
the grid actual TrackVo objects (and were typed as such prior to being
added to the dataprovider)?
Karl
Cynergy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Webdevotion
Sent: Tuesday,
You could make them disabled, but change the disabled styles so it does
not look quite so disabled. Or trap the click event and stop the user
action at that point.
Karl
Cynergy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of beecee1977
Sent: Wednesday, February 28,
the data as XML permanently? I
suppose thats worth a shot but I've found using XML dataProviders to
be a real PITA when making extensive use of itemRenderers and
labelFunctions (like my app does).
Thanks,
Ben
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Karl
Johnson [EMAIL
What do you mean by making the x location the right side? If this is a canvas,
then just set right equal to 0 if you just want the text box to be as far to
the right as possible in the container.
You could also set the x to equal parent.width - 100. Does that solve what you
are asking?
Karl
this parameter though.
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Karl
Johnson [EMAIL PROTECTED]
wrote:
What do you mean by making the x location the right side? If this is
a canvas, then just set right equal to 0 if you just want the text
box to be as far to the right
Declare your web service in an mxml webservice tag and add
getNewsDetail as an mx:operation child node to the webservice tag.
Then give your webservice tag a name myService or whatever. When you
want to call the method, you do myService.getNewsDetail().
Of course the call will only work if you
The tab order is setup by default, but you can change it if you want by
manually setting the tabIndex on the controls. Also, you can make the
enter trigger a form submit or whatever action you want by simply
setting enter=doStuff() on the textInput(s).
Karl
Cynergy
From:
There are a lot of ways to accomplish this, but the best practice would
be to fire off an event in JobSearch and have either Main listen on it
and call a fuction in timeline3 or use a central event dispatcher and
have timeline three listen for it directly.
But you could also use
Set displayAsPassword to true on the text input field.
Karl
Cynergy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chad Gray
Sent: Tuesday, March 27, 2007 5:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textInput for passwords
How do you get a
Mercury Quick Test Pro (works with FDS's Automation API). Or you could
write your own :-)
FlexUnit is not really an automated UI testing solution, it unit tests
the code.
Karl
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Persaud, Anthony
Sent: Friday, June
As far as I know, it is not possible to declare a private
constructor in AS 3.
Karl
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
zenwardenSent: Friday, September 22, 2006 10:54 AMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] private constructors
in
You probably can not turn on CAPS Lock from your flex app,
probably a bit of a security risk. I doubt the flash player has access and/or
allows flash apps to get access to do that (correct me if I am
wrong).
If you need to ensure that everything they type is in all
CAPS, then just set
That iss a question that needs to be determined by your
target users, their avg connection speeds, etc combined how long you/they find
it acceptable to wait for the initial load. If the initial download hit is too
much, consider breaking it into multiple swf's and loading the child swfs in
I assume you mean automated testing tools to perform the
functional and acceptance testing? There are only a few options for doing full
UI automatedtesting on a flex app, because the test harness has to have
access to hook into the flash player and manipulate the app running in it.
(Flex 1.5, AS
2)
My drag and drop code has worked fine for a long time. Today, I took the
swf generated by the flex compiler and am loading it inside of a loader control
in another flex app. Everything about the inner app works fineexcept for the
call to DragManager.doDrag(), which
Thanks much for the reply Matt. This was supposed to be put
in the application initialize event of the parent flex app (the one that has the
loader control)? I tried in both and didn't have any luck.
A colleague had suggested setting _lockroot="true" on the
loader object but that didn't
No luck with this. I have tried about a million different
solutions. Is there a documented work around for this in Macromedia support? Any
other possible ways of gettings this to work?
Thanks for your help.
Karl
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
.
Otherwise, probably best to use a customer cellRenderer that contains a
method which updates that cell's styles on edit, etc..
Hope that helps.
Karl
Karl Johnson
Cynergys Systems, Inc.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sinacapho
Sent
Ihave tried
many different methods without much success. I need to be able to maintain, or
at least give the appearance to the end user that I have maintained, the state
of the tree after a refresh of the dataprovider (meaning I set the dataprovider
an xml result of a webservice every x
data. and use
the old structure as a lookup tree to reopen the nodes...
--- In flexcoders@yahoogroups.com, Karl Johnson [EMAIL PROTECTED]
wrote:
I have tried many different methods without much success. I need to be
able to maintain, or at least give the appearance to the end user that
I
I definitely agree with your points regarding licensing,
but the problem with adoption of flex 2.0 as the platform for consumer apps is
the need for the adoption of the new player. I personally would not want to
release a production flex 2.0 app to the world, on a public site, until the
No, sorry if I implied that. I don't think the upgrade will
be hard in anyway. I am sure a lot of users will do it as soon as the player is
available.
Not a resistance on the user's part, my point is just that,
like any browser upgrade or web control/addin upgrade, the casual internet
There is definitely a show event in flex
1.5.
Are you not seeing the expected results when using the show
event?
Karl
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf
BokelbergSent: Tuesday, July 11, 2006 9:40 AMTo:
flexcoders@yahoogroups.comSubject: Re:
71 matches
Mail list logo