Alex -
That is my posting, and I would hate for it to be misinformation in
any way. If your research turns up no evidence that I am correct then I
will endeavor to re-create my problem in a sample application that I can
send along to you for inspection. If I cannot successfully demonstrate
.
Sorry, if I ruffled feathers,
-Alex
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
*On Behalf Of *Scott - FastLane
*Sent:* Saturday, August 25, 2007 1:33 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re
If I recall correctly, when I hit this I had to make sure I did the
following
1) Make sure you have the correct flash player... I found a post
somewhere that told me which version of flash to use for profiling. I
think it was the version that came with the flex3 beta download
2) Launch from
Don -
In the constructor for your custom event you can set the bubbles param
when you call super as in the following example.
import flash.events.Event;
import mx.controls.CheckBox;
public class CheckBoxListEvent extends Event
{
public var data:Object;
public var
John -
I am guessing that it is the large number of complex controls
(particularly combo box) you are using as renderers that is slowing you
down. I had a similar situation and had to change my app such that the
data rendered for combo boxes and text inputs is rendered using mx:Label
or
,
John
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
John -
I am guessing that it is the large number of complex controls
(particularly combo box) you are using as renderers that is slowing you
down. I had a similar situation
Jumping in a bit late here... but, I build on the command line using ant
after checking code out of a cvs repos.
Here are the pertinent sections from my build script...
!-- Need this in order to define the flex tasks that we will use --
taskdef resource=flexTasks.tasks
and searchable on the web (other than in this
archive)? It'd be a nice thing to put up on a wiki somewhere.
Christian.
On 10-Sep-07, at 11:46 AM, Scott - FastLane wrote:
Jumping in a bit late here... but, I build on the command line using
ant after checking code out of a cvs repos.
Here
Steve -
I believe you intend to be adding the listener for the Event.RESULT
event instead of the Event.COMPLETE.
hth
Scott
Steve Hueners wrote:
All the samples i've come across so far show the mxml route - I'm able
to instantiating and fireing the send correctly with:
public var
Robert -
Have a look at the source code in my flex calendar sample app
http://blog.fastlanesw.com/?p=22 here... just right click on the app
to view source. I am populating a combo box with valid times from XML
when the user edits an event... if the user changes the date/time of the
event I
mx.collections.XMLListCollection;
On 9/10/07, *Scott - FastLane* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Steve -
I believe you intend to be adding the listener for the
Event.RESULT event instead of the Event.COMPLETE.
hth
Scott
Steve Hueners wrote:
All
In general it seems it would be preferable to validate user input on the
client side... if you did this you could use the errorString of the
itemEditorInstance to show the error to the user without having to wait
for the back end, etc. When you do this the error is shown in the cell
where the
Dylan -
Your repeated component can be accessed via an array that has the name
of the repeated component.
For example:
mx:Repeater id=rp dataProvider={groupsAC}
mx:VBox id=groupBox verticalScrollPolicy=off
horizontalScrollPolicy=off width=100%
...
assuming var itemSource:XML is assigned to the structure below... I
think if(itemSource.Media != undefined) should do it.
hth
Scott
kc7cia wrote:
Hi,
I was hoping someone could tell me how to check to see if an XML
element exists in AS3. I have an XML structure that looks like this:
Giles -
Yes, it is not too hard. I just blogged about how to build a flex
project using Ant http://blog.fastlanesw.com/?p=23... let me know if
you need more than that.
hth
Scott
Giles Roadnight wrote:
Hi Guys
I'm using the eclipse Flex 2 plugin and use an Ant build.xml file to
put the
You can do that now afaik. Check out my blog for how to build flex
stuff from command line using Ant http://blog.fastlanesw.com/?p=23.
Notice specifically this part
compiler.library-path dir=${proj-flex.dir.thirdparty}/adobe/ append=true
include name=libs /
%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
You can do that now afaik. Check out my blog for how to build flex
stuff from command line using Ant http://blog.fastlanesw.com/?p=23
http://blog.fastlanesw.com/?p=23.
Notice specifically this part
compiler.library-path dir=${proj
%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
, Scott - FastLane smelby@ wrote:
You can do that now afaik. Check out my blog for how to build flex
stuff from command line using Ant
http://blog.fastlanesw.com/?p=23 http://blog.fastlanesw.com/?p=23.
Notice specifically this part
I am attempting to optimize my renderers in an AdvancedDataGrid. The
following code works perfectly, but it seems I should be able to do this
without the overhead of an HBox. So... I have implemented the following
code and am having trouble seeing why it won't work. If I debug, I see
that
.
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
*On Behalf Of *Scott - FastLane
*Sent:* Monday, September 17, 2007 3:32 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Invisible checkbox renderer
I am attempting
If you have control of the server side of your project, you could ask
them to include the cache in their response header... I believe that is
the way it is supposed to work. The server indicates that the content
it is returning is dynamic in nature and should not be cached. While
adding the
I have posted a few things on my blog about flex memory leaks and other
performance issues. The first post is http://blog.fastlanesw.com/?p=14
That post describes issues I encountered with unbounded memory growth
when binding my DataGrid controls directly to e4x XML data returned from
an
Have you looked at SuperTabNavigator in FlexLib
http://code.google.com/p/flexlib/wiki/ComponentList?
hth
Scott
byte.sensei wrote:
I have a tabNavigator with 3 mx:Canvas tabs, each containing a dataGrid
for a different user/customer. Above the tabNavigator you can select
up to 3 different
Daniel -
mx:LinkButton label=Your Text color=0xff
click=yourEventHandler(event)/
hth
Scott
Daniel Sanderson wrote:
Is there a way to make a label look like a hyperlink. It may trigger a
view state or send and e-mail, whatever but I want to make it look and
function like a hyperlink
Tracy Spratt wrote:
In my experience, the rendering of the UI is the bottleneck, not the
data transfer.
Use timer and the result handler function to time the actual data
transfer. You ARE using a result handler, and not binding directly to
lastResult, right?
Are your item renderers
oops... sorry about the prior message. Doh!
It has also been my experience that rendering is usually the
bottleneck. See this post on my blog http://blog.fastlanesw.com/?p=25
for an example of the difference a UIComponent based renderer can make
over containers.
hth
Scott
Tracy Spratt
. Is there anything to be done to speed the
processing of the incoming data until the result handler is called?
Thanks a bunch,
John
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
oops... sorry about the prior message. Doh
George -
I have not seen this syntax for passing request params to an
HTTPService. Of course that doesn't mean it is wrong :) But, here is
how I would do it.
Change button definition to
mx:Button label=Add Employee click=callServer()/
then
public function callServer():void
{
var
of problem in my CFM
file.
any ideas?
Thanks,
George
On 9/30/07, *Scott - FastLane* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
George -
I have not seen this syntax for passing request params to an
HTTPService. Of course that doesn't mean it is wrong :) But,
here is how
The docs on the date class
http://livedocs.adobe.com/flex/2/langref/Date.html#month state that
the month is zero based
0 = jan
1= feb
...
9=oct
Scott
hugocorept wrote:
Hello all, how you doing ^^
I want to get the month we are by number.
Can some one explain me why is flex saying the Month
Does anybody know what causes this issue
http://bugs.adobe.com/jira/browse/FB-8390, and if there is any way I can
get around it? My MXML editor worked fine yesterday (or maybe the day
before), but today it does not. I tried uninstalling and re-installing
flex builder 3 beta 1 that I have
Tom -
Sorry, but I don't see any suggestion on the bug. Guess I just don't
know where to look. Anyway, here is the whole trace from my eclipse.
Unable to create this part due to an internal error. Reason for the
failure: The editor class could not be instantiated. This usually
indicates
That did it!!! Thanks... I probably should have found this myself, but
I got thrown off by the bug report where it says workarounds: None
Somebody should update that and document this procedure as a possible
work around.
Thanks again
Scott
João Fernandes wrote:
wild guess,
try this
Assuming your ArrayCollection contains strongly typed objects, I think
you can make the ArrayCollection itself be the dataprovider for your
tree. Your class (the data stored in the ArrayCollection) just needs to
implement the get children():Array and get label():String method iirc.
hth
Scott
var myXML:XML = someXML;
if(myXML.someNode != undefined)
{
//do something with the node
}
hth
Scott
- J.R.
A people that values their privileges
over their principles, will soon lose
both.
- Dwight Ike Eisenhower
John -
The problem is likely related to the DataGridColumn.editorDataField
property. If you are using DateField etc. for an editor this property
is data and it assumes that you will be assigning a Date object or a
String that is in a format that the Date class can parse. (as shown in
code
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
John -
The problem is likely related to the DataGridColumn.editorDataField
property. If you are using DateField etc. for an editor this property
is data and it assumes that you
I'm going to guess that your import is within the scope of your
mx:Script tag which closes with your /mx:Script tag and does not
cover your mxml for the page. Using
itemRenderer=com.toro.classes.CenteredCheckBox in the MXML should
resolve the issue.
hth
Scott
Scott Melby
Founder, Fast
Not sure if you can do all of that from within flex... but you can
certainly do it via JavaScript's window.open() method. If you want to
do it that way you will need to make a call to ExternalInterface.call()
to call the JS method on the HTML page that contains your swf.
hth
Scott
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://blog.fastlanesw.com
michniu wrote:
Thanks Scott!
But what if I use it in AIR Application?
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
Not sure if you can do all
Sure.. try mx:LinkButton label=Some Text color=0xff
click=doSomething(event)/
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://blog.fastlanesw.com
Venkat Perpati wrote:
Hi,
Is there anyway we can use a label/text with an image as a link in
flex so that on clicking that link
I have an AdvancedDataGrid with a Hierarchical data provider. The
Hierarchy is two levels deep. The top level objects have something like
5 attributes (columns) to display, while only the first attribute
(descrtipion) applies to their children. It was easy enough to get the
grid to display
Have you tried AdvancedDataGrid.invalidateList() after you set the data?
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
reflexactions wrote:
I am having an issue with the ADG.
I have it set up and I load data into it say with 1 row and it
displays fine
You need to set the ArrayCollection.sort property... have a look at
mx.collections.Sort and mx.collections.SortField. There are examples on
this page
http://livedocs.adobe.com/flex/2/langref/mx/collections/Sort.html that
show how you can create a Sort with multiple SortFields.
hth
Scott
://www.fastlanesw.com
reflexactions wrote:
Hmm didnt make any difference unfortunately.
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
Have you tried AdvancedDataGrid.invalidateList() after you set the
data?
hth
Scott
Scott Melby
If you only want to set it for one label, can't you just set it on the
label declaration i.e. mx:Label fontWeight=bold text=Your Label Text/
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
diehlryan wrote:
I can style a FormItemLabel to be bold using a
than an ArrayCollection
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
Hmmm... well, since a column resize ends up displaying the data it
certainly sounds like you are missing an invalidate. A couple of
other
things to try
, but
that will style the control as well as the label.
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Scott - FastLane [EMAIL PROTECTED]
wrote:
If you only want to set it for one label, can't you just set it on the
label declaration i.e. mx:Label fontWeight=bold text=Your Label
Text
=mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer
/
/mx:rendererProviders
/mx:AdvancedDataGrid
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
Scott - FastLane wrote:
I have an AdvancedDataGrid with a Hierarchical data provider
Not sure if anything official exists... I keep a very simple flex
project around on my dev box for trying out simple code ideas etc. I
also find this useful for when I want to create a sample app to include
along with questions I post to this list, etc.
hth
Scott
Scott Melby
Founder, Fast
the source
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com flexcoders%40yahoogroups.com,
Scott -
FastLane smelby@
wrote:
The sample that I posted for you is using a HierarchicalData as
the
dataProvider so there is some difference there. But, it still
seems
I generally do this type of work on the server side in a session closed
type event. This will work regardless of how the user lost their
session: logout, closed browser, crashed Windows (I couldn't resist),
power outage on client machine, etc.
hth
Scott
Scott Melby
Founder, Fast Lane
From what you have posted it looks like some of the flex framework code
assumes that your child is an IUIComponent even though the API is
addChild(child:DisplayObject)... since SimpleButton IS a DisplayObject
and IS NOT an IUIComponent you are getting hosed. Looks to me like you
have found a
Paul -
Not sure what your back end is, but I am using Java on the back end and
have found it very easy to use the iText library to create PDF reports.
The iText library is very simple to use and creates nice tabular reports
(no GUI though). I do it by using a navigateToURL that targets a
In case you are interested in programmatically generating PDFs... you
can find a .NET port of the iText library here
http://sourceforge.net/projects/itextdotnet. A quick google search
also turned up C# and other versions as well.
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
Mark -
You should be able to do something like the following in your mxml file:
(you could also construct the titleWindow in a creationComplete()
handler after simply decarling it as a member var.)
mx:Script
![CDATA[
private var titleWindow:TitleWindow = new TitleWindow(...);
I would try dispatching an event and letting it bubble out to the parent
of the grid control... then update all rows in the grid's dataProvider
and then invalidate. This should cause the custom renderer to
re-display the altered data.
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
I have not used this component
http://weblogs.macromedia.com/pent/archives/2006/08/flex_2_componen.cfm
but it looks like you could use it as your item editor. If you don't
want to mask input, but just want to validate that it is all numeric
during the edit or at the end you could use a
58 matches
Mail list logo