I have 7 different itemRenderers in my datagrid. As long as I don't
use the DateField as an inline ItemRenderer, everything is fine, all
other renderers actually appear, along with the data they contain.
As soon as I add in the simplest version of the DateField object as
the itemRenderer,
I think by default those components do not have .selectable=true so
links are inactive off left-click.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of maury.sword
Sent: Thursday, March 22, 2007 9:12 AM
To: flexcoders@yahoogroups.com
Are you getting an exception? Post it. It helps me see what the
problem is.
Note that the design is that you can subclass List and override the get
dragImage function and return a different DragProxy there.
-Alex
From: flexcoders@yahoogroups.com
Either. Embedded fonts are SWF-global. Copy an example of embedding
fonts (look for font-face in the examples). A good way to test if
you've got it right is to set .rotation on an object and see if the
fonts rotate or disappear. If they disappear then you didn't get your
embedding right. Note
Sure, that way we'll know we solved your case.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nick Durnell
Sent: Thursday, March 22, 2007 1:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Help - Flex application no
The framework.swc is really a zip file. In it is a catalog.xml that
lists the classes known to it. Make sure ModuleLoader is in there.
It might be an order problem too. Make sure the framework.swc is going
to be found before the FDS swcs.
From:
Can the scheduling framework to be used for creating events by select and drag
over some date ?
Thanks in advance.
Regards,
Dima Gutzeit.
Haven't heard that one before. Try two columns, DateField and something
else. Maybe it is interaction between a pair of things.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chad Sherwood
Sent: Thursday, March 22, 2007 10:31 AM
To:
Hi,
Use a url like;
source = ../../MyThemProject/images/bg_main.gif)'.
I do this for css outside of my current project and works fine.
Peace, Mike
On 3/22/07, Brett Levine [EMAIL PROTECTED] wrote:
Yes, of course. If the .css file and the .mxml file using it are in
the same project that
Thanks Paul!
I am so new to this stuff can you explain what this function is doing?
private function set now(d:Date):void {
this.nowText = d.toTimeString();
}
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul
DeCoursey
Sent:
I think in this example the processing instruction is a red herring.
You were testing:
?xml-stylesheet href=my.css type=text/css?
root xmlns=http://example.com/;; xml:id=wtf /
right?
But I think that's not well formed. What's up with the semicolon
Whoops, that must have been an email typo,
Thank you. This solved my problem. Specifically, I changed my remove
button renderer class from extending Button to a class that extended
Canvas and then create the button in there and add the Button as a
child as you suggested. Very simple and works perfectly.
--- In
var a:XMLList = new XMLList(
'?xml-stylesheet href=my.css type=text/css?' +
'root xmlns=http://example.com/; xmlns:id=wtf /');
var b:XML = a[1];
trace(b.namespaceDeclarations()); //wtf
trace(b.namespace()); //http://example.com/
namespaceDeclarations() gets the namespaces the node
I understand Timer is preferred over setInterval.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul DeCoursey
Sent: Thursday, March 22, 2007 11:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: display current
You are correct. I changed the selectable to true and it works now.
Thanks for your help.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
I think by default those components do not have .selectable=true so
links are inactive off left-click.
Yes this is true. From the help:
These functions remain in ActionScript 3.0 for backward
compatibility. Adobe does not recommend that you use them in new
ActionScript 3.0 applications. In general, it is easier and more
efficient to use the Timer class in your applications.
I'll do another
That's just getting a simple formated time from the date object.
There are better ways of doing that.
Here is an updated version that is shorter and more efficient.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
Greetings,
I'm having the same issue, but only when switching between other
application, using Alt-Tab.
I've tried the mydatagrid.validateDisplayList(); but isn't that the
same as doing mydatagrid..invalidateList(); ?
I really need some help.
Thanks
--- In flexcoders@yahoogroups.com,
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
It's not a bug. It has to do with variable scoping.
I'll assume you have data like
{ label: foo, icon : myTopIcon }
Well, I actually populate the menu by calling a function when a button
is clicked... the function is
Hi folks,
I need to change the font color on my last DataGridColumn (not the
ColumnHeader, just the cells) based on the cell value, i.e. if value
in the cell is negative, change the cell font color to red. I've tried
various HTMLRenderer classes, but to no avail. Please help!
Thanks,
Roman
I found a tutorial on live docs also that uses a similar method as this.
Thanks Paul! I will pick through it so I understand what is going on.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul
DeCoursey
Sent: Thursday, March 22, 2007 3:11
Hi Mike,
I'm curious about your project structure, because I've been trying
this but to no avail.
I have:
Theme
src
theme.css
App
src
app.mxml
lib
theme.swc
So if app.mxml contains the mx:style tag, I would think the path
you wrote should work. On the other hand
Hi folks,
I'm consuming a webservice from secured domain which has no
crossdomain.xml file found at server root. It works locally, but I get
the Security error accessing url message when swf file gets deployed
to IIS server. As far as I know I either need a proxy process on the
server hosting
Thanks for the reply,So its Flex caching issue in FF. the link is
http://www.indofxonline.com/Box.htmlsometimes I do mistaken typing it with
box.htmlI use accordion as the menu with image as itemrenderer,so I guess I
can not disable the Enable history management check box.can I just ignore the
Ben,
Have you looked into the CF Connectivity wizards for creating cfc's to
represent your AS object types? This is the way you're going to maintain
the object properties between server and client side. If you'd like, I
can blog an example of what I'm talking about.
Brendan
On 21 Mar 2007
I've been thinking about using Apollo for an extension to an app I've been
working on in Flex.
The current issue with the Flex app is that it's locked to a web browser
and really only runs on one screen. I know you can stretch the web browser
across multiple screens, but that's not quite what
You could do a cutom itemRenderer that is based on a canvas, put a label
for your text (cell value) and overwrite the set data method.
mx:canvas/
mx:Label id=myLabel text=/
mx:Script
![CDATA[
import mx.core.*;
override public function set data(data:Object) : void
{
if (data !=
I have an application that is showing me stange results from basic
addition. In short, I have a cart full of items that are all $0.99.
Each price is in a Number property of an object. The math is simple.
It is generating very odd results. If I start with:
var total:Number = 0;
var
Please recompile with -verbose-stacktraces and post the contents of the
exception dialog.
invalidateList requests validateDisplayList call in the next frame
update.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tonmmp
Sent:
Yes, you are in the situation I described. Your menu data is XML, so the
value of the icon attribute is a String, not a class.
I would try something like this:
private function createAndShow():void {
myMenu = Menu.createMenu(null, myMenuData, false);
myMenu.labelField=@label;
This is a FOL of using types like Number in ActionScript or float/double
in Java, C, C++, etc. They can't do exact decimal fractions, because
they store values in binary and can't exactly represent a value like
0.99. You'll either need to do rounding or compute in pennies rather
than dollars in
small correction: the initial canvas tag should be without the forward
slash...like
mx:canvas ...
--- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote:
You could do a cutom itemRenderer that is based on a canvas, put a
label
for your text (cell value) and overwrite the
Not sure this was posted yet:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb401224
Thanks Alex. This theoretically could fix another problem I was
having as well. I'll give it a shot.
Thanks a bunch,
- Chris
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
The top of the display list is the stage. The stage always has one
child (the root) which in
Your choices are:
1. put a crossdomain file on the server that provides the webservice
2. put a proxy script on the server that is hosting the SWF
3. put a proxy script on ANY server ANYWHERE, provided it has a
crossdomain file
4. use FDS proxying on the server that is hosting the SWF
From your
If in my CFC that I am connecting to with RemoteObject can I return a Query
object to Flex?
Here is an example cfc:
cffunction name=getJob returnType=query output=no access=remote
cfargument name=jobNum type=numeric required=yes
cfquery datasource=database name=getJobInfo
return that query and bind it to an ArrayCollection in your AS. Then you can
bind it to a grid or list, etc.
On 3/22/07, Chad Gray [EMAIL PROTECTED] wrote:
If in my CFC that I am connecting to with RemoteObject can I return a
Query object to Flex?
Here is an example cfc:
cffunction
return that query and bind it to an ArrayCollection in your AS. Then you can
bind it to a grid or list, etc.
On 3/22/07, Chad Gray [EMAIL PROTECTED] wrote:
If in my CFC that I am connecting to with RemoteObject can I return a
Query object to Flex?
Here is an example cfc:
cffunction
Yes, I do this all the time. The query results will be returned in
the result property of the ResultEvent as an ArrayCollection. I
don't do any formatting of the dataProvider, I just assign the query
results to it. Here's a code snippet that I use when doing this:
protected function
Exactly right. You can google floating point limitations to find
several very detailed articles on this issue.
Mark Shepherd
Flex Builder Engineering
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:
This is a FOL of using types like Number in ActionScript or
You should read about LocalConnection. It's an old Flash API to communicate
between different flash movies
2007/3/22, Mark Doberenz [EMAIL PROTECTED]:
I've been thinking about using Apollo for an extension to an app I've
been working on in Flex.
The current issue with the Flex app is
Oh yeah, I remember playing with those a long time ago... not the nicest
stuff to deal with from what I can remember.
Thanks
On 22 Mar 2007 14:28:43 -0700, Carlos Rovira [EMAIL PROTECTED]
wrote:
You should read about LocalConnection. It's an old Flash API to
communicate between different
Thanks again Alex. Funny you mentioned it, I created a solution using
cut-down Application tags and the systemManager to communicate with
the resulting .swf's
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Reminder: This is fixed in the updater due out soon, so
My preference is to return an array of value objects, so yes I hardly ever
return a query unless it's going to end up in a pretty dumb list.
I'm careful with the number of records returned from a query though. You
don't want to slavishly build value objects for thousands of records. Use
Thanks Clint and Maury,
Im afraid it don't completely understand the lingo bind the result to an
array.
I get an error when I run the program
ReferenceError: Error #1065: Variable is not defined.
I think my datagrid datafields are wrong or the function is not running.
So on the function
Perhaps if I am a bit less verbose.
1. is having a few thousand watch listeners active on a few hundred
object realistic?
2. Is there any way to figure out whether there is a watchlistener
active on a given property of a given object?
Thanks,
Peter
_
From:
Hi Kenny,
Something I often do is compare my application to existing applications built
either by Apple or other good Mac UI designers, and find the similarities. I
often borrow a lot of their ideas for simplicity, and just apply it to my own
app. Try and think what would Apple do and you'll
Chad,
The code that I sent is just the listener/event handler for the
results that are returned from the CFC. I'm not using binding in my
example. I'm just assigning the results to the datagrid's
dataProvider.
You need to add result=onListResult(event) to your RemoteObject.
Try this, I've
I would go out on a limb and say yes.
Not in alpha but, if we are going to be able to addChild() on a newly
created window, I don't see why you could communicate with a window that you
created from the main app.
Peace, Mike
On 22 Mar 2007 14:32:13 -0700, Mark Doberenz [EMAIL PROTECTED] wrote:
Thanks Maury and Clint!
This makes sense. We are assigning functions to the result and fault events of
the RemoteObject tag. So they will run at that time.
So we can take the results of the event and run the function onGetJobResult()
passing the event into this function by placing it in the
Windows are all in scope, so you dont have to use LocalConnection.
Just have one window broadcast an event, and have the other listen for it.
mike chambers
[EMAIL PROTECTED]
Michael Schmalle wrote:
I would go out on a limb and say yes.
Not in alpha but, if we are going to be able to
I'm uploading files from apollo (using the updated urllrequest class
and the filereference class). For some reason, apollo is following
redirects, even if I tell it not too (request.followRedirects =
false). In addition to this, I can't seem to specify any custom
headers in an upload (although
Sucks doesn't it?! I'm looking for a good answer to this as well I
have discovered that Apollo doesn't have this issue though! (If it's
any consolation)
--- In flexcoders@yahoogroups.com, rzilist [EMAIL PROTECTED] wrote:
Hi folks,
I'm consuming a webservice from secured domain which has
I need help on how to draw a pie chart from XML data. The requirement
is to show a pie chart of people's answers to a survey question. The
values in the a nodes is what I need to use to draw my pie chart.
I am able to retrieve XML data by doing:
mx:HTTPService id=surveyTree
Thanks for the replyI tried the one you suggested, but binding
doesn't seem to work.
Thanks,
Madhu
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Tuesday 20 Mar 2007, madhukiranm wrote:
[Bindable] tag before the declaration of the variable (in both
I have a question. I am faily new to flex, my background is in .net
(yes please stop drowing things at me, damit) :)
I am working on a project in flex and I am using actionscript 3.0. I
have notice that I can make a syntax error and it doesn't appear in my
problem window. This just seems
Hey people,
long time reader first time poster.
Does anyone know how to create buttons featured on this page :
http://dougmccune.com/blog/2007/03/02/
See the button Fx , Fw, etc
Can this be done via ActionScript or are they custom jpegs?
thanks
nodovu
Tnx Angus.
I think you have the same opinion as I have as to returning object lists
instead of queries. I am now thinking of something like this:
If I have a table Person and a table Division with table Person
containing a link to Division (Person.divisionid) I am being tempted to do
something
Tnx Brendan,
I did try those. They seem a good out of the box starting point. It didn't
show me how to return the more complicated results though. It seems it's
tailored to just returning row 'a' to 'z' from table 'x'. The results i
receive are not much more usefull than say a xml output. If I
The yField property, for example, on a ColumnSeries class is a String. The docs
define
yField as the field of the data provider that determines the y-axis location
of the top of a
column. Most examples, show simple immediate child relations by node name,
such as
yField=Profit for the data
Is it possible to configure the Flex Builder environment so that more
fonts appear in the font drop-down in Design mode? Also when
embedding fonts into a Flex application, how come Design mode doesn't
display them? It does a nice job of displaying images - why not fonts?
I discovered that if I set the dataField= in the
mx:DatagridColumn tag, then it renders the DateField control. I'm
stumped why I can't set the dataField=requested_date, which is a
string representation of a properly formatted date out of the
database... any thoughts?
Thanks,
Chad
--- In
Hi All,
I am new at all of this and wanted to get your opinions please. How
would I go about creating a search page... I am loading data from a
webservice into a datagrid which works fine. However, I have combo
boxes that are refined searches or filters on my xml data. I was
thinking of using
It seems like a limitation that toXmlString() can't handle default
namespaces or implicitly defined namespaces. For instance, when you
use xml:id, you're using a namespace xml that you don't declare, and
when you're using the default namespace http://example.com that
namespace doesn't have a
Those are png images. Sorry, I think you emailed me directly, I meant to
reply but forgot until I just saw this post.
Do a google search for Adobe CS3 icons and you can download all the new
Adobe icons.
You could try to draw a similar icon in AS, but that would be a pain and I
already had the
The DateField expects a data[dataField] to be of type Date not String.
You'll probably have to convert String to Date.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chad Sherwood
Sent: Thursday, March 22, 2007 11:05 AM
To:
is it possible to reference a getter function as a variable in a
DataGrid?
Let's say I have a VO wit the following properties:
public var first:
public var last;
public function get fullName():string{
return this.first+ +this.last;
}
I can I then call this in a DataGrid column?
It seems like a limitation that toXmlString() can't handle default
namespaces or implicitly defined namespaces. For instance, when you
use xml:id, you're using a namespace xml that you don't declare, and
when you're using the default namespace http://example.com that
namespace doesn't have a
how can the broadcast trasfer the info to listener?
use event.xxx = xxx?
2007/3/23, Mike Chambers [EMAIL PROTECTED]:
Windows are all in scope, so you dont have to use LocalConnection.
Just have one window broadcast an event, and have the other listen for it.
mike chambers
[EMAIL
Dang, that's a good idea I'll totally have a play with that one
tomorrow.
Thanks Mike!!!
On 3/22/07, Mike Chambers [EMAIL PROTECTED] wrote:
Windows are all in scope, so you dont have to use LocalConnection.
Just have one window broadcast an event, and have the other listen for it.
Peter wrote:
Perhaps if I am a bit less verbose.
1.is having a few thousand watch listeners active on a few hundred
object realistic?
Have you considered using the PropertyChangeEvent?
regards,
shaun
what are possible ways of updating a single column
without having to assign a dataprovider to the mx:datagrid?
for example i have -
[Bindable]
public var abcname : Array = new Array (aa,bb,cc,dd);
.
.
.
mx:DataGrid
mx:columns
mx:DataGridColumn headerText=name
I am trying the impressive Flexbook that Ely made, and i wasn't able
to make it open by default on a given page (3, for example). I can
make the component to go to page 3 using the book.turnToPage(3), but
it shows up the animation. I tried
book.animatePagesOnTurn=false;
Hi,
Wondering if Adobe can give us an update on Flash 9 penetration stats...
John Dowdell mentions in a previous post that we could see numbers in the
beginning of 2007 but I haven't been able to find anything.
It's the usual issue for us... client is concerned about Flash 9
requirements...
Hello All,
I was wondering if anyone has experienced this issue before.
Using any Text component in flex , I set the htmlText variable to a
string of html that i've retrieved from a flat xml file. Whenever, I
include more than one IMG tag in the string to display html in text
component the
http://www.adobe.com/products/player_census/flashplayer/version_penetration.html
I found this in 30 seconds by googling Flash Penetration?
If you search the Adobe site for Flash Penetration, this page is
also the first one listed.
What were you searching on?
( I feel like one of
Any listener can use event.target to get a reference to the object which
called dispatchEvent(), and thereby access its properties and methods.
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ju Aedis
Sent: Thursday, March 22,
This sounds like it could be a Flash Player bug in
flash.display.TextField. The text components don't parse the htmlText,
they just pass it to the internal TextField.
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Justin
Sent:
Hi, the compiler API and OEM kit are essentially the same thing, they
allow you to embed the compiler into your own application. You need an
OEM license to do this though. If you're interested in learning more
about an OEM license you can contact me offlist.
Matt
I cannot find a definite answer on this, but does it support
audio/video? I am trying to decide on the right technology for a
project I am working on. I am using FMS right now, but its kinda a
pain so I am looking at my options.
thanks
--
http://indeegrumpee.spaces.live.com/
RE Cairngorm, a few people have brought this up to me so I want to get
this out there.
Cairngorm is great for many folks and many kinds of apps, and we have
obviously found success with it in Adobe Consulting (note, not the
product team). However no single tool fits all occasions and Cairngorm
Hi,
Too much bloated as of the simple example though, but have a look at:
http://everflash.com/cs/blogs/everflash_blog/archive/2006/02/23/9.aspx
Cheers,
Petro
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chad Gray
Sent:
Nope, LCDS is strictly data, no media.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clint Tredway
Sent: Thursday, March 22, 2007 9:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Live Cycle Data Services
I cannot find a
thanks Matt, thats what I thought.
On 22 Mar 2007 21:39:41 -0700, Matt Chotin [EMAIL PROTECTED] wrote:
Nope, LCDS is strictly data, no media.
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Clint Tredway
*Sent:* Thursday, March
Yep, guess I deserved that one (RTFM)... I had found this link but
obviously didn't look far enough...
http://www.adobe.com/products/player_census/flashplayer/PC.html
Thanks Jeff.
Brendan
On 3/22/07, Jeffry Houser [EMAIL PROTECTED] wrote:
Gordon:
if dispatchEvent() in a.mxml(Application), and listener in b.mxml(Application),
is it useful like as localConnection between two Applications?
if it's useful ,can you give me an example?
thanks.
2007/3/23, Gordon Smith [EMAIL PROTECTED]:
Any listener can use event.target to get a
Hi,
When I just set a datagrid's dataprovider, I get all DataGridColumns with
the same width, and there are situations when the datafield's text doesn't
fit into it.
Is there any easy flexy way to set column's width automatically so that even
the max text of the column will fit into it?
--
A
Hello,
I am one of few authors to blame for this throwback in the last
century approach to the programming. I would like to offer some
explanation of what I personally tried to achieve with chapters 6,7,8
and 11 - you might get better picture if you skimp them in that order.
First of all, thank
I have never tried this, but maybe you can have an itemRenderer for the
column in question, take a label component for the text, set the text
property, and then read the label.width property. This width you could
pass back out to the dataGrid.column and set the minWidth to that
value...
Douglas,
If I remember it correctly, in daoFlex you can specify
customization method/class. It causes 2 things:
1. Adds optional String parameter to the signature - usually xml or
pipe separated information for query by example type of
modifications to your employee query.
2. Transfers original
Maury,
Please take a look @ the subchapter on resources (somewhere close
to the end of chapter 8 - did not get my copy of the book with real
page numbers yet). Basically it talks about moving destination part
along with key columns and some other properties into separate class -
there you can
How can I embed a hint like in validation demo here
http://www.adobe.com/devnet/flex/quickstart/validating_data/ in my
application?
--
A vivid and creative mind characterizes you.
Thanks for the tip, Iko. Appreciate it.
2007/3/23, iko_knyphausen [EMAIL PROTECTED]:
I have never tried this, but maybe you can have an itemRenderer for the
column in question, take a label component for the text, set the text
property, and then read the label.width property. This width you
101 - 193 of 193 matches
Mail list logo