That recommendation has some merit, but the use of Flex in no way depends on
HTML, PHP, or CSS (though it helps). Flex is a front-end GUI builder, since it
uses actionScript it would be helpful to have some background in other
ecmaScript languages (like javaScript), but it isn't required.
use the styleName option if your applying a CSS to it:
mychart.styleName = noGutterChart;
--- In flexcoders@yahoogroups.com, Vivian Richard kanps...@... wrote:
Actually I am trying to apply a very simple style to a chart. My chart is
inside a
canvas component and in a separate file. I want to
I cannot recommend this tool enough it will help you write the correct CSS to
do whatever you want:
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#
--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote:
Hi,
I try two ways to change a panel
I think, but I'm not sure, that when you set your col0 to be invisible, you
need to also set includedInLayout = true;
~mike
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
I have an itemRollover event handler in my datagrid.
This datagrid also has some invisble columns (i
504 is a gateway timeout. Do you have problems with your CF server from time to
time?
--- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@...
wrote:
Hi,
I have an AIR app built in Flex that occasionally returns
NetConnection.Call.Failed - Error: HTTP Status 504 for
The Flex framework has awesome XML functions, even straight up querying of XML.
I use this all the time: var myXML:XML = XMLVar.node.node.(@nodeID == 5) which
will give you just this section of your XML
node nodeId=5
node nodeId=6
node nodeId=7/
node nodeId=8/
node nodeId=9/
Dates are always tricky, you could parse the string and determine which section
is which. 4 chars = year, 12 = day, etc but there will always be problems.
What happens when a user enters 08/09/10 (or any day month year that leave
ambiguity. IMO it is better to force the user to use a convention
I have a VBox containing a bunch of panels. I have implemented dragging and
dropping but I need to be able to scroll automatically when the item is drug
near the edge. I am having mixed results. I can get it to work, but not well.
My example is below. It works if the user bounces their mouse
autoScrollSection(true,VBox(di.parent));
autoScrollSection(false,VBox(evt.currentTarget.parent));
It works, but feels like a bit of a hack. I welcome any better suggestions.
--- In flexcoders@yahoogroups.com, invertedspear invertedsp...@... wrote:
I have a VBox containing a bunch of panels. I have
@yahoogroups.com, invertedspear invertedsp...@... wrote:
This should be easy but I'm kind of a newbie.
The concept of this seems easy, but I'm having trouble getting it right and
can't find anything to help me on this.
I have a panel I need to perform a drag and drop operation on, but I only
Thanks, would you mind giving me at least a little pseudo code of how to do
that? I'm completely lost when it comes to extending classes
--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:
That's exactly what you should do. To get around the the titleBar add
the box to
the the titleBar add
the box to rawChildren.
http://dougr.net/?p=160 http://dougr.net/?p=160
-TH
--- In flexcoders@yahoogroups.com, invertedspear invertedspear@
wrote:
Alternatively it would be nice if I could extend the Panel class to
allow me to add click events to the title area at the top
- tempBox.width - 10, ( unscaledHeight / 2 ) - (
tempBox.height / 2 ) );
This would put it on the right side of the header, minus 10 pixels.
-TH
--- In flexcoders@yahoogroups.com, invertedspear invertedspear@ wrote:
I am adding the box but now it's covering up the normal title text
I don't see why you couldn't do this. You would have to use some custom mouse
events that would change the data in your data provider. Not sure of the
details but the process would go something like:
onMouseDown: figure out which pie slice(and which item in the dataprovider) to
change
This should be easy but I'm kind of a newbie.
The concept of this seems easy, but I'm having trouble getting it right and
can't find anything to help me on this.
I have a panel I need to perform a drag and drop operation on, but I only want
to perform that if the user mouses down on a
before I take that dive.
Thanks,
Patrick
--- In flexcoders@yahoogroups.com, invertedspear invertedspear@ wrote:
Not sure exactly what your trying to but might the getBounds() method help
you out?
--- In flexcoders@yahoogroups.com, djhatrick djhatrick@ wrote:
is there anyway
Not sure exactly what your trying to but might the getBounds() method help you
out?
--- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote:
is there anyway to find the number of textRows in a TEXT.
I can't seem to get my text to measure properly, it's anywhere between
5 and 80
Another topic bump, hoping someone can give me some insight.
--- In flexcoders@yahoogroups.com, invertedspear invertedsp...@... wrote:
I have a datagrid that I want the user to sort the rows on. To make it
obvious that it's sortable I am implementing some custom cursors. But I'm
having
I have a bounty on this at stackoverflow.com if you want to get some rep there.
--- In flexcoders@yahoogroups.com, invertedspear invertedsp...@... wrote:
Another topic bump, hoping someone can give me some insight.
--- In flexcoders@yahoogroups.com, invertedspear invertedspear@ wrote:
I
I managed to finally get this one figured out
here is what I had to do:
1)remove the listeners for rollOver, rollOut, and mouseUp from the mxml and add
rollOver and rollOutthem through the addEventListener method in AS
2) add the listener dragComplete to the mxml and assign the function
Just giving a bump, I keep coming back to this issue.
--- In flexcoders@yahoogroups.com, invertedspear invertedsp...@... wrote:
OK, That helped a little bit, I'm now doing this on rollOver var
styleSheet:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(DragManager
I'm not familiar with these log files, but it appears to be repeating a command
over and over, can you post the section of your code that command is coming
from?
~Mike
--- In flexcoders@yahoogroups.com, Besite - Bart b...@... wrote:
Hello,
We are running a Flex/LCDS application in a
I don't have time to look it up right now, but I'm pretty sure you catch the
Tab key down, then check if the shift key was down at the same time. Hopefully
this gets you going in the right direction.
--- In flexcoders@yahoogroups.com, flexcoder2008 djohnso...@... wrote:
Trying to capture the
I have a datagrid that I want the user to sort the rows on. To make it obvious
that it's sortable I am implementing some custom cursors. But I'm having a
problem when I actually drag an item. Can anyone help me out?
Thanks
here's a psuedo demonstration of the problem
Application = normal
OK, That helped a little bit, I'm now doing this on rollOver var
styleSheet:CSSStyleDeclaration =
StyleManager.getStyleDeclaration(DragManager);
styleSheet.setStyle(moveCursor, grabbingCursor);
CursorManager.setCursor(grabCursor,CursorManagerPriority.LOW);
This is giving me the correct rollover
simple for loop would do it:
for(var i:int=1; i=10;i++){
}
--- In flexcoders@yahoogroups.com, AJC2357 ajc2...@... wrote:
Hi all,
If I have a function like this.
private function changeSeries(): void {
series1.yField = 'male';
series2.yField = 'male';
series3.yField = 'male';
Tibor,
I have been needing something like 'this[string+var]' for awhile. Would
have saved me a lot of time to know about that sooner. Thanks.
~Mike
array to the columns
property.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of invertedspear
Sent: Friday, December 11, 2009 2:51 PM
To: flexcoders
[mailto:flexcod...@yahoogroups.com] On
Behalf Of invertedspear
Sent: Monday, December 14, 2009 10:20 AM
To: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] Re: Crazy problem with a script creating
datagrids
The problem is I have to create them programatically since the number
I searched but couldn't find my answer, I'm sure it's easy for anyone with a
little experience. I have multiple datagrids on a page, each one I want
sortable with drag and drop, but I don't want items drug from one control to
the other. How can I prevent a user from dragging an item out of a
I forgot I asked that question here too. I actually turned up a pretty simple
function some dude developed to sort XML at
http://freerpad.blogspot.com/2007/07/more-hierarchical-sorting-e4x-xml-for.html
I then modified it a bit to do what I need and posted it here
You might want to post your question in the directly instead of as a reply.
You'll get a more detailed answer than what I know. You want to make an Air
application. All I can suggest is looking into how to compile to an Air app.
--- In flexcoders@yahoogroups.com, kanna kannaec...@... wrote:
This is driving me nuts. This script is adding datagrids to various containers
in an accordion. In my first level for-each loop the item that fills my
if(compone...@component_componentid == 9) is the last item looped
through everything works fine except the datagrid I am building
I don't think I've done what you described before, but I think you should try
refreshing the dataprovider. arrayDP.refresh();
--- In flexcoders@yahoogroups.com, steveb805 quantumcheese...@... wrote:
invalidateList is invalidating my mood ... no it's not that bad.
I have a popUpButton:
I haven't seen that before but it may be something to do with some of your
styles. Check this gadget out, it has helped me beyond words in dealing with
styles in Flex. I haven't seen one for flex3 yet, but this covers most of
everything.
Is it possible to sort an XMLList? All the examples I can find on it create a
new XMLListCollection like this:
MyXMLListCol = new XMLListCollection(MyXMLList);
I don't think the XMLListCollection in this case has any reference to the
XMLList so sorting it would leave my XMLList unsorted, is
.
--- In flexcoders@yahoogroups.com, invertedspear invertedspear@ wrote:
I haven't seen that before but it may be something to do with some of your
styles. Check this gadget out, it has helped me beyond words in dealing
with styles in Flex. I haven't seen one for flex3 yet, but this covers most
Try the MySQL Query Browser. It's a free download from the MySQL team and
should suit your needs. There are also numerous pay programs out there. My
Favorite is the EMS MySQLManager.
--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@...
wrote:
Hello,
I have a database
You might try the adobe forums themselves, but you're using an old version of
Flex as a plugin to eclipse so they might nor really have an answer for you.
stackoverflow.com has a good community of people that might be able to help
you, they're pretty much all developers so someone may have more
I am having a problem when I'm getting back an HTTPService and trying to set
some XML attributes with it. It works fine the first time I handle the result,
but fails to do anything after the first time. No error or anything else to
give me any indication something's wrong. I know that str is
Amy, I know I answered you privately when the group was down, but I wanted to
throw the answer in here in case anyone was searching for it:
When I came across this problem I found that it was a known bug.
A workaround is to set the showHeader back to true, header height to 0 and the
rowcount to
I was just doing something similar and found help here:
http://livedocs.adobe.com/flex/3/html/help.html?content=13_Working_with_XML_08.html
probably best you read through there and find the solution that is specific for
you.
Let us know if you still need help after reviewing that.
~Mike
---
Easiest way is myXMLListCollection = new XMLListCollection;
--- In flexcoders@yahoogroups.com, advancedonsite nos...@... wrote:
Something simple like a XML collection list I thought I could empty it out
but have been searching and not found a simple way to do it.
So how does someone clear
Are you adding the image with a script? if so you can change the height and
width of the image setting it equal to the height and width of the container
canvas, or any percentage of it like so:
height = int(container.height * .75) //for 75% of the height
width = int(container.width - 10)//to
Had this prob with another program, it was a major software conflict, something
like a windows BSOD so bad that it couldn't even do a BSOD.
Tracing this problem is a nearly impossible task for a normal user. It could be
a conflict with almost any installed software, my issue only occurred when
That error is not specific to charts. Can we see the line of code that is
throwing the error? You are probably trying to do something to an object before
it is created.
--- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote:
Since I don't have the Flex 3.3 charting sources
So I am going to assume you are using a loop, and lastLabel is a variable set
to the last label created in the loop. You're code's going to break on the
first iteration since it can't divide a null value by 2. You need to either set
an initial value for lastLabel before the loop or not process
I don't remember how to do it, but when I had to do this a couple years ago I
found it easier to add a line series to the chart where I wanted it than to add
a single gridline. Maybe that's a route you can explore until someone comes up
with something better :-)
~Mike
--- In
Bumping this cause I'm still searching.
--- In flexcoders@yahoogroups.com, invertedspear invertedsp...@... wrote:
So can anyone tell me how to sort when using a grouping collection? The GC is
sorted how I want it, but I want the rest of them to default to being sorted
as if the user had
Tried to bump this earlier, must have done something wrong, but apologies if I
double post.
I'm bumping because I'm still having a problem with this. Can anyone help me
out?
Valdhor you are a life saver. I hadn't found that first link in my searching
and it cleared everything up for me.
Thank you so much. I think that's twice you assisted me. I might owe you a beer
soon.
Thanks
~Mike
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
Maybe one
I'm not questioning your need, but as a newbie to Flex I am curious why you
would do this, and if it's something I should be doing. Is it some sort of
stability check?
Thanks
--- In flexcoders@yahoogroups.com, sean.drexler se...@... wrote:
I am trying to compile my code 2 times and get 2 swf
So can anyone tell me how to sort when using a grouping collection? The GC is
sorted how I want it, but I want the rest of them to default to being sorted as
if the user had clicked on the header of the first column. I can't find help on
this anywhere.
Thanks in advance.
--- In
I agree that you are probably better doing the backend search, but if you need
to do it in your app here's the proper way to sort. You just missed declaring a
sort as a new object (then since you didn't have an object you were trying to
apply sortfields to an AC) and then you apply that new
The last argument in the function is the index of the column (0, which is the
first, I have also tried 1 and 2 just to see if I could get something to
happen. Sorting the dataprovider doesn't work with the grouping for some
reason. If I need more arguments in the dispatch event, which ones do I
Any chance you can explain further, maybe with a simple example?
Amy-28 wrote:
That's what styleFunction on ADG is for. And why the Data Visualization
Components take things that would be properties on other components (like
dataProvider) as styles.
--
View this message in context:
Check out the advancedDataGrid below in the ***s. After I group I loose the
sorting I applied to the dataprovider, and no matter what I try or when I
try it, sorting the dataprovider has no effect. But the user can sort by
clicking on a column header. So I want to simulate that click in a
Bumping to see if anyone can help me. I understand the concept of sending an
object instead of a string, or sending the additional string. If Flex could
read my mind I would be there. I just can't figure out how to execute that
concept.
Thanks to those that have provided me with help already,
Bumping to see if anyone can help me. I unserstand the concept of sending an
object instead of a string, or sending the additional string. If Flex could
read my mind I would be there. I just can't figure out how to execute that
concept.
Thanks to those that have provided me with help already,
Passing the data as part of the data object seems like what I need to do, in
fact if I can do that then I can pass the simple string instead of the
entire object, but how do I do that?
Thanks
~Mike
Jeffry Houser-2 wrote:
What component are you using?
Most list based classes have a
My understanding of it all is pretty negligible. I found an example similar
to what I wanted to do online, then modified it just a little to make it
work. My problem was I needed the Summary rows to display text
(templateType), but I also needed them to sort based on a different field
The only thing I can see in the one that is giving you a problem is different
from the others is there is a text / tag. The one above it has a
text/text pair. This could be being read as a null text instead of a 0
length string. Try changing that and let us know.
~Mike
Daniel Freiman wrote:
So I need to pass additional information (an object like an associative
array) to my renderer provider which is stored nicely in a component, but I
can't access any variables in my parent application from the component, only
children. As a work around, I parsed the object variable to text, put it
I'm bumping this post because I am really needing an answer ASAP. At this
point I'm just hoping my boss doesn't notice.
ANY help will be appreciated.
--
View this message in context:
http://old.nabble.com/Problem-sorting-advancedDataGrid-after-dataprovider-updated-tp26326531p26374637.html
Sent
valdhor-3 wrote:
Could you post some sample data arrays. It's not too easy to try out your
code without it.
Sure here's some for the first two httpServices I'm running. The third isn't
necesary since that code isn't called untill after this problem presents
itself.
My app isn't crashing at this point, maybe it's a difference of which SDK we
are running, or more likely some specific issue of environment, but when I
click another tab it runs the HTTPService and repopulates the Grid. It's
only after that repopulation that I loose the ability to sort the data.
Ok, we are running the same SDK. Lets try to explore what you are
identifying. Please forgive me as I am pretty new to FLEX and AS. gc is the
id of a GroupingCollection of a dataProvider. refresh() is a built-in public
method to GroupingCollections. How can that be a problem unless it's a bug
in
If I remove the whole mx:dataProvider tag and add the dataProvider
attribute to the mx:advancedDataGrid tag with the value of
{xmllTemplates} then I can sort, change tabs and am still able to sort, so
It does seem to be something about the groupingCollection.
I have no idea how I would monitor
Problem Solved... I guess.
I was turning my HTTPService result into an XMLList. I just switched it to
an arrayCollection and I no longer loose the ability to sort when I refresh
the data.
Maybe there is some limitation when using an XMLList, I wish I could have
found out for sure, but at
Anyone know about this?
My data comes in, and I can sort just fine, I refresh my dataProvider (pulls
a different query) and then I can't sort anymore, even if I go back and pull
the original data again. I have been searching and searching for a post on
correcting this issue but can't find one.
droponrcll wrote:
Set the treeColumn to an AdvancedDataGridColumn with 0 width?
I tried that, It still gets about a 20pixel width, and forces itself onto
the page. You did get my mind to click and search for something new which
actually turned up an example that is exactly what I needed
Apologies for resurrecting a somewhat old thread, but since my searches
turned me up here and I spent several hours today working on this issue I
thought it would be appropriate.
Here's is the code I came up with that mostly solves this.
My source data is just a basic XMLListCollection.
The
I'm not sure how to group in the way you're wishing it, but I am sure that it
can be done. I think the trick is with the item renderers. Which is
something I just learned about. Here's my entire code, Sorry I can't release
the entire http service since it's to a protected site, but it pulls back
73 matches
Mail list logo