Hi,
I prefer the use of a Loader -- in fact, multiple Loaders (if you want
to cache loaded SWFs and not have to wait through the initialization
stage again.) Combined with RSLs, this should give you an optimum
balance between file size, modularity and speed.
hth,
Aral
--
http://flashant.org
quite surprising this didn't work for you. i took this idea from
Peter Ent's weblogs. check out the cellrenders section
http://weblogs.macromedia.com/pent/archives/2004/12/index.cfm
the code can be downloaded and there is a sample test app to see it
in action. its very good.
--- In
Hi
Matt,
It
works for my example, but when i'm using two nested Repeaters i'm in trouble
again. See my example code:
mx:Model id="test"
result
item
nameItem 1/name
subitem
nameSubitem 1/name
/subitem
/item
/result
/mx:Model
mx:ArrayCollection id="testAC"
tell
me clearly about labelfunction
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of Matt
ChotinSent: 22 February 2006 11:06To:
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding Data to
DataGrid from webservice
Niklas Richardson wrote:
Unfortunately we're using Flex 1.5 and thus AS2.
I'll see if we can create some sort of icu4j clone in AS2.
core java's code (well GNU classpath) version is 500++ lines, icu4j is 4400++
lines (loads of comments). icu4j's NumberFormat (which can handle
Hi Kazuya,
As Matt said in Flex 1.5,
validators dont support binding.
Below is a workaround for your issue.
I got most of the code from here:
http://blog.daemon.com.au/archives/000317.html
Main.mxml
*
?xml version=1.0
encoding=utf-8?
mx:Application
Yeah, I just found that myself.I think I'll give it a miss!Perhaps I'll have to come up with another solution! ;)Hahahaha! :)On 2/22/06,
Paul Hastings [EMAIL PROTECTED] wrote:
Niklas Richardson wrote: Unfortunately we're using Flex 1.5 and thus AS2. I'll see if we can create some sort of icu4j
As far as I recall, dropdown object can be
"dropped" and recreated when the data model and other things change. If you do
not reassign cellrenderer at that time it will be gone. It would make sense to
me to subclass the object and override getDropdown function to assign
cellrenderer on
Hi all,
I dont know why, but the Flex compiler alerts some error when I try to
use binding with 2 arguments:
mx:VBox visible={someCombo.selectedIndex != 0
someOtherCombo.selectedIndex != 0}
...
/mx:VBox
And the error is : The entity name must immediately follow the '' in
the entity
First of all I want to say thanks for your help on the last few
posts. I think I am almost there.
I have my CFC now returning a query and have eliminated all errors.
But, when I trigger my click event it seems to return the query in my
DG however no text is visible (when you scroll over the
I rewrite my post because it got mixed into another thread (same
subject) , sorry.
Hi all,
I dont know why, but the Flex compiler alerts some error when I try to
use binding with 2 arguments:
mx:VBox visible={someCombo.selectedIndex != 0
someOtherCombo.selectedIndex != 0}
...
/mx:VBox
And
Thanks Matt,
I tried the following code which results in a syntax error:
var KeyListener:Object = new Object();
KeyListener.onKeyDown = mx.utils.Delegate(this, keyListenerFunction);
Key.addListener(KeyListener);
anything jump out at you?
Thanks,
Keith
--- In flexcoders@yahoogroups.com, Matt
What about something like ...
mx:VBox visible={Boolean(someCombo.selectedIndex != 0 *
someOtherCombo.selectedIndex != 0)}
|-+-
| | |
| | Alberto Albericio |
| | Salvador |
|
Can't use the outside of the CDATA wrapping... here's the error
message from 1.5 (which is a bit more helpful)...
When using '' in a tag body, XML requires wrapping the tag body with
'![CDATA[' and ']]'. When using '' in an attribute value, XML
requires using the entity, 'amp;'.
Brendan
---
Hi again,
When using query as return type you don't need to set columnName in your
datagridColumn in uppercase. Uppercase is just when referencing to structures
returned from coldfusion.
João Fernandes
Sistemas de Informação
Programador Informático
Cofina media
Avenida João Crisóstomo, Nº 72
Hello,
I found the answer to this. You need to set the width and height of
the application tag to a fixed size.
-- Carolyn
At 08:48 AM 2/22/2006, Carolyn Cole wrote:
Hello,
I am currently trying to deploy my flex software on a Red Hat Linux
machine.
The code seems to deploy file, but when I
We're looking for
another product manager to join the Flex team. If you know someone with good
product management experience, please pass this on.
Flex
Framework PM positiong in San Francisco
http://cooljobs.adobe.com/viewjob.html?optlink-view=view-29020ERFormID=newjoblistERFormCode=any
Hello,
I would like to use a variable to point the wsdl location of my web
service, but I can not seem to get it to work.
I have the following variable set in my action script section of my
mxml:
var wsdlLocation:
String =
https://arl3469.arl.psu.edu:8443/uaim-webService/UAIMService.wsdl
;
I
--- In flexcoders@yahoogroups.com, Anatole Tartakovsky
[EMAIL PROTECTED] wrote:
As far as I recall, dropdown object can be dropped and recreated
when the data model and other things change. If you do not reassign
cellrenderer at that time it will be gone. It would make sense to me
to
I havent seen any examples of it
anywhere, but I could be looking in the wrong places? Im wondering if
AS 2.0 has this?
Thanks
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 21, 2006
3:31 PM
To:
Thank you, that worked. I just gave an ID (toDetailResize) to the
transition I wanted this to go after and used the below code:
toDetailResize.addEventListener(EffectEvent.EFFECT_END,
function(event:EffectEvent):Void{
show();
});
John
--- In
Bod,
We are actually supporting our
DGComboBox as a standard object in our framework. As far as Flex 2, it is also
supported - just implementation is different - listItemRenderer is dynamically
created instead of grid. So there is no code changein the application -
just internal
Hi,
There's no abstractalthough you can get some of the
behaviour by 'throw'-ing errors in all of the methods that would normally be
abstract so that the sub-class is forced to implement those methods.
Richard
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Yea, well, right now, Im just
having the parent class hold blank implementations, which is just kinda quirky
for me, but it works for now, I was just wondering if there was a cleaner way
to do it. Interface came to mind, but I need the base functionality of a Base
class that Im using :-/
thanks Anatole. i'll try it out.
there's so much to learn in flex 2 its like a new language.
--- In flexcoders@yahoogroups.com, Anatole Tartakovsky
[EMAIL PROTECTED] wrote:
Bod,
We are actually supporting our DGComboBox as a standard object
in our framework. As far as Flex 2, it is
I've tinkered around most of today - read quite a bit - and I'm not
really sure if I'm on the right track.
In my default Flex app the components are obviously pre-styled with
one of the Themes.
As part of a fairly interesting contract I'm working on - I'd like to
specify the styles of my
Hmm, I still can't seem to get mine to work. I am using FLEX 1.5 are
you using 2.0? Still trying to get the user input from the text box
to create a dynamically expandable datagrid column height.
code
mx:DataGrid id=dg height=300 wordWrap=true
I would like to change the date field format to display as
such...02/22/2006. Does anyone know where to change this in FLEX?
Thanks,
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Im using 2, but I had wordwrap=true
on the DataGridColumn, not the datagrid
_
Jonathan Miranda
Flexible Master of the Web
In the
game of chess, it's important to never let your opponent see your pieces.
HealthGrades: Guiding America to
If you're talking about the DateField control, there's a dateFormatter
property you can use for this. Have a look at the
mx.formatters.DateFormatter class too.
Doug
--- In flexcoders@yahoogroups.com, rgwilson26 [EMAIL PROTECTED]
wrote:
I would like to change the date field format to
Hi,
I have got a problem getting the data of a dragged leaf from a tree.
The DragEvent.DRAG_DROP is handled by the following function:
private function doDrop(e:DragEvent):void{
var data:Object = e.dragSource.dataForFormat(treeItems);
trace(data + data.toString());
}
The leaf
Hi, Just following up on my own note.
It turns out this was my bug and not Flex 2's!
I had a couple streams and removed the addEventListener from the wrong one
while testing. :-(
Sorry for the noise.
Mea culpa,
-Brian
Hi,
I have created a NetStream object that publishes video/audio via a
Still having problems changing the height of one row
specifically in actionscript, but that aside Im also having problems
matching datagrids together via height.
lets say I have 2 datagrids with variableRowHeight=true. Is
there a way to bind 2 data grids together via their row heights?
Where do you disable this? Ive
never used it so it shouldnt be that unless it runs in the background
somehow unless you disable it.
_
Jonathan Miranda
Flexible Master of the Web
In the
game of chess, it's important to never let your opponent
Hi:
OK, I tried. I failed. Do you have an example of your iPause
interface? I couldn't seem to find pause and resume public methods
(or do I build those as well?). Anyway, a quick example/pseudo code
would be very much appreciated.
Cheers,
Dave
--- In flexcoders@yahoogroups.com,
Here is another error I had during a "freeze/memory leak"
:
"Couldn't read SWC
D:\Workspace\SomeProject\style.css
flex2.compiler.swc.SwcException: Error occurred while
loading D:\Workspace\SomeProject\style.css: Unable to read files from SWC
archive! Negative seek offset
"
It looks like
How do you mean compatible? In theory you can use it do so some 1.5 MXML but the code-completion won't be correct and you won't be able to compile projects like you can with Flex 2.0. If you're looking for a good Flex 1.5 editor for Eclipse, check out OxygenXML. The Web Tools Platform also has
I am working with a query in coldfusion where I am converting the
date format from the database. 2 of the 3 columns show up in my
datagrid, but the 3rd (InterviewDate) does not display. However, it
does if I take out the convert formatting and just query the column
name. Is this due to FLEX
Add a field name for the converted value (probably best to use
something other than InterviewDate to avoid confusion) to your SQL,
like so:
SELECT PersonName, PersonTitle, convert(datetime, InterviewDate,
101) AS ConvertedInterviewDate FROM dbo.PersonnelNeeded WHERE
(InterviewDate =
Your convert(datetime, InterviewDate, 101) doesn't have a alias.
Try this convert(datetime, InterviewDate, 101) as interviewdate.
Anyway, I always return non formated dates to Flex and format there and return
a non-formated date back to CF.
If your problem is the format in your dataGrid, you
CF query -
**
cfquery name=getAllPersonnel datasource=spotDB
SELECT PersonName, PersonTitle, convert(datetime, InterviewDate, 101) FROM
dbo.PersonnelNeeded WHERE (InterviewDate = '2/20/2005')
/cfquery
On all the DBMS that I have experience with,
I have a basic chart that shows dashboard information, so I
have it calling the service every 30 seconds. Heres the code:
private function initApp() {
srv.send();
timer = new Timer(3);
timer.addEventListener(timer, callService);
timer.start();
}
public function
I'm writing a custom java adapter (remote object). I'd like to get access to
the ServletContext. Is that available? If so, where would I be able to find
it? (adapter, service, channel, message broker, ...?). In 1.5, there was an
ActionContext class that I could use. Is there an equivalent in 2.0?
Hi,
I need to append some additional strings to the user-agent in the HTTP
header, does anyone who how this can be done in flex?
Thanks.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
You can't alter the header.
Carson
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.703.489.6466
-Original Message-
From: flexcoders@yahoogroups.com
Damn... this is worthy of a blog entry, but ok.
interface IPause
{
funciton pause(){}
function resume(){}
}
So, that's the interface. Seems simple, but you'll find implement pause and
resume methods for various components is hard. For some, you do nothing.
For others, it involves a
I am writing a simple animation program which uses the flash
effects.Move component. My problem is as follows:
1. I repeatedly call a function that adds bitmaps in UIComponent
objects to a canvas and then applies a move effect to it.
public function setUICard(x:Number, y:Number):UIComponent
Try using the mx.effects.Sequence. If you don't want to use any of the Flex
classes, then build a queue, and when the effect has completed, run the next
effect in the array.
- Original Message -
From: quasimotoca [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday,
Hi, fowleryj
I'm using Loader with precompiled SWFs. It feels better a little.
I thought of without using Loader once (following code style) because of
performance, but application already use Loader and that is LARGE size.
mx:HBox
mx:Button label=view1
Hi,
oh peter, Thank you very much !!
It works very fine! Super!
Best Regards,
KAZUYA KOMON
- Original Message -
From : Peter Watson [EMAIL PROTECTED]
To : flexcoders@yahoogroups.com
Sent : Wed, 22 Feb 2006 04:56:08 -0800
Subject : RE: [flexcoders] Validatior's binding problem?
Hi
Thanks Carson. I was using TcpMon from old JBoss. Looks like the
TcpMon version from Matt is newer.
2 downside of TcpMon:
1. We have to heck the WSDL that stored in JBoss to point to 7070
(local port).
2. I'm seeing some extra strange character in TcpMon even the latest
version. I'm not
Title: Re: [flexcoders] Re: SOAP message thru http proxy server
You don't have to change the wsdl. It only specifies the default location. You can override that in code.
Where is the extra character you are seeing? Anything passed in a webservice should be technically visible in any text
Thanks. I'm afraid it is not suitable for me to use LegendItem since
there are over 30 plots on one chart. And there are many charts in
the application.
Could you kindly give me an example about make a series or
chart extends Series/ChartBase?
Maybe we can use the function get legendData():,
For Flex 2.0 Beta 1 try
flex.messaging.HttpContext.getServletConfig().getServletContext() - (the
name of this class isn't necessarily final at this stage, but any
changes would be documented in release notes). There isn't a concept of
an ActionContext for Service Adapters in Flex 2.0 as the nature
Yeah, I think this is something that could eventually go into the tool.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Aldo Bucchi
Sent: Tuesday, February 21, 2006 11:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Implicit
Yeah, use the ArrayUtil for
rep.currentItem.subitem as well.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Richard Schutten
Sent: Wednesday, February 22, 2006
1:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
with Repeater
For the PhoneVO line you should do
var phone:PhoneVO = new PhoneVO();
phone.setValues(event.result);
Everything else looks OK to me though.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Yokota Satoshi
Sent: Tuesday, February 21, 2006
Well I guess I did keyListenerFunction and you had keyListenerFunc?
What was the syntax error?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kjlinboomer
Sent: Wednesday, February 22, 2006 6:42 AM
To: flexcoders@yahoogroups.com
Subject:
Unfortunately in 1.5 you cant change the location of the wsdl
using binding. Instead what you can do is have the WSDL at a well-known
location, but the change the endpointURI after the WSDL has loaded to go to the
dynamic location.
Docs here:
It may be a bug in the drag and drop code. Can you send a test case?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke
Rohde
Sent: Wednesday, February 22, 2006 10:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree DragAndDrop
Im not sure what youre
trying to accomplish here. Generally the only way you can control an
individual rows height would be to put a cell renderer in that you
explicitly change the height on. I dont see how you then bind two grids
together.
From:
flexcoders@yahoogroups.com
Are you sure that my_cb.selectedIndex is
returning a value that is not -1?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jignesh Dodiya
Sent: Wednesday, February 22, 2006
1:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Strange
Error
the return
from your dataForFormat call is anarray or a
collection.
so try
trace("data " + data[0].toString());
where the
[0] is the first item in the collection or array.
Jason
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part
de
63 matches
Mail list logo