A ComboBox takes a dataProvider that is an array of objects. You cannot
hook up a ComboBox to a visual component the way you have done below.
That is for components like TabBars and LinkBars, which can take a
ViewStack object as its dataProvider.
What you would want to do is something like:
?xml
I reckon your code should look like this
function SetMainPanelText()
{
parent.main_panel.title=test;
}
in your mxml it should be
XBApplication id=xbApp parent={this}/
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job).
Manish,
Thanks for responding. We have written our own Filtering Data Provider, but
I'm sure they are very similar.
I have found a work-around to the problem.
If I set the selectedIndex property during the change event of the datagrid
like this:
mx:DataGrid
id = dgItems
...
change=
http://www.macromedia.com/devnet/flex/
http://livedocs.macromedia.com/flex/15/
http://groups.yahoo.com/group/flexcoders/message/22504
http://www.amazon.com/exec/obidos/tg/detail/-/0321255666/qid=1129025361/sr=2-1/ref=pd_bbs_b_2_1/002-5980796-8408032?v=glances=books
quicl question about mx:method concurrency.
1. what do all the values mean : multiple, single, etci couldnt find specifc documentation
2. how do call 1 remote object method A that sets some inits, then use the properties in remote object method B
so A inits hostName and Port and B
Hi Derrick,
Maybe this helps you?
You can construct class instances dynamically by getting the constructor for
a class with
mx.utils.ClassUtil.findClass(aClassName:String);
But before you can do it, you have to register a class like this:
Object.registerClass(TitleWindowTest, TitleWindowTest);
Hi gonchu24.
Nice to know that u r from Blore, India, where I am also from.
Well, to start learning Flex,I guess u Flex server and Builder(Not mendatory)
Start using tags and if u r familiar with AS, you can easily proceed.
For all clarifications,
mail me back.
Ram.
Flex Eng.
Blore,India.
Hi Marc,
Just parentApplication gives you the reference to the parent.
But in your mxml file , you cant insert tags that I made red in between I guess.
On any of the events u may have to call them.
Pls correct me if any wrongs.
Good luck.
On 10/10/05, Marc Teichtahl [EMAIL PROTECTED] wrote:
Hi,
U guess there is a mistake in the following line that you used.
mx:DataGridColumn columnName=myComputedColumnheaderText=All labelFunction=cocanateAll/
The above must be:
mx:DataGridColumn columnName={myComputedColumn}headerText=All labelFunction=cocanateAll/
Pls correct me if any
Hi
I am 'vivek buwa'!
currentlyu working on Flex!
I am having some doubts and by seeing the amazing work
this group is doing for solving Flex queries, I hope
that my queries will also be solved!
1. Is there a website which is entirely developed with
flex?
2. I am thinking to create an entire
I'm not totally sure what you mean, but I assume you are
asking how well Flex supports object oriented programming. If that is your
question, my answer would be that it supports it quite well.
I'm a C++ Java programmer way before I'm a
make-shiftRIA developer. Flex/Flash's ActionScript
hello there,
i have created a webservice in asp.net that retrives data from a xml
file and the output of the function is a xml document file...
i wanted to create an object out of this xml document i retrive and i
am not able to do so.
any body please advice on how to proceed
below is my
Hi guys, a little off-topic but found no better place to ask -- does
anyone know a syntax highlighter for MXML that will work with wordpress?
Thanks!
Peter
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
1. The official Harley Davidson site is fully realized in Flex.
2. All te connection stuff and data binding must be done in Java or .Net.
Flex is only for presentation.
3. As far as I know, you should avoid linking from page to page ( Flex
Evangelists say that). You'll have to rethink your
Well done! Thanks alot for the reply! You're
right, the event listeners were totally unnecessary. I guess onMouseUp and
onMouseDown are intrinsic event methods. That's good to
know!
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ramu pSent:
Monday, October 10,
Here's a work-around:
http://www.richinternetapps.com/archives/2005_01.html
--- In flexcoders@yahoogroups.com, Kurai [EMAIL PROTECTED] wrote:
Hi,
Please help me solve this problem of the datagrid.
Here is the example:
The datagrid has a fixed width of 500. But the sum of all columns is
Very much possible.
Look at this example by Alistair
http://www.richinternetapps.com/archives/2005_01.html
Sree
Kurai wrote:
Hi,
Please help me solve this problem of the datagrid.
Here is the example:
The datagrid has a fixed width of 500. But the sum of all columns is
600. So a scroll
Thanks Ramu, but the columnName is fixed in this case, not binding is
involved. As a matter of fact, I am not sure if you can use binding for a
column name.
They don't have to be. Have you looked into
the webservice classes?
- Original Message -
From: Mink,
Joseph
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 7:52 AM
Subject: RE: [flexcoders] Highly classful architectures
I'm not totally sure what you mean, but I
I do realize that many people use this solution for
asynchronous data push from http servers, but it seems like a hack and an
unintended use of HTTP. However, while it may leave a bad taste in my
mouth, I never discredit something that works!!!
It looks like we may be taking it a step
you got a deferred instantiion issue.
try
mx:Accordian creationPolicy=all
the default creationPolicy for an accordian is 'auto'
regards
bod (bhaq1972)
--- In flexcoders@yahoogroups.com, Ramu p [EMAIL PROTECTED] wrote:
Hi Flexcoders,
I have a problem with Accordion which has two
You mean after the mxml has been compiled? It's been
a month or so since I attacked that particular problem, but as I remember it,
there was no straight-forward (intended) way to dynamically instantiate
WebService objects.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Hi all,I have a simple VO class in java and have a service that returns a ArrayList of that vo. My question is that when I return this list to flex via RemoteObject Tag (AMF) java or flash seams to put each property of the VO in lowercase. For example if on the Java VO it had a property of Name
Got a WSDL?
- Original Message -
From: Mink,
Joseph
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 9:27 AM
Subject: RE: [flexcoders] Highly classful architectures
You mean after the mxml has been compiled? It's been
a month or so since I attacked that particular
I'm testing a web service call, and am using this format:
mx:operation name=GetMaps fault=showFault(event.fault)
result=showGood()
mx:request
specification
PanDirectionNone/PanDirection
I don't know if it solves the problem:
mx:operation name=GetMaps fault=showFault(event.fault)
result=showGood()
mx:request
specification
PanDirectionNone/PanDirection
I got it working - ended up using array{arrayName}/array
On 10/11/05, João Fernandes [EMAIL PROTECTED] wrote:
I don't know if it solves the problem:
mx:operation name=GetMaps fault=showFault(event.fault)
result=showGood()
mx:request
Hi,
One of the weakest sides of the Flex is that there is no Dataset
component.
Is it possible to use Flash MX 2004 Dataset Component with all its
functions in Flex
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job).
sortCompareFunction is meant for you
controlling the sort regardless of whether you had a cell renderer. You just
need the DataGridColumn. In your case since the data is already formatted
using the labelFunction you may want the sortCompareFunction to work on the
unformatted value.
This is because youre modifying the
mystring value yourself, you shouldnt be doing += which I believe acts
like append in AS2, instead you should simply return mystring + %
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jrab2999
Sent: Friday,
In your ProductThumb declare a listOwner
property, it should be set to the TileList automatically by the time setValue
is called. Then for those events you should go ahead and tell the listOwner to
dispatch a new event, passing in any relevant info. You can then have your
code
Hmm, if were screwing that up you
may want to use your own comparator function. See sortCompareFunction on
DataGridColumn.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alban Soupper
Sent: Friday, October 07, 2005
5:45 AM
To: Flexcoders
I'm aware of this one:
http://flashtexteditor.com/ftf/#using
But was hoping to show MXML. I've used this AS2 beautifier before to show
AS2 code on my blog; I've actually incorporated his styles into my .css for
my site to make it easier:
http://shockwave-india.com/blog/services/as-highlight2/
Indeed I do...never leave home without it : ) Why do you ask, and where
are you going with this? My understanding comes from Matt Chotin's
reply to my previous post entitled, Calling a WebService solely through
AS. His respose:
--
Not supported in Flex 1.5, supported in an
I've done it in Flash, and ported similiar remoting classes for Flex since
they are already in there (what a lot of HTTPService, RemoteObject,
WebService are built off of). Figured if you hit me with a WSDL you know
works, public or not, I could test it and post some example code.
My problem
Nope, the Dataset components generally are
used in a 2-tier architecture which weve not been encouraging for Flex
apps.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sergei_tsoganov
Sent: Tuesday, October 11, 2005
11:06 AM
To:
In your getDocument operation, define a handler for the service result:
mx:operation name=getDocument result=onResult(event)
var _xmlDP:XML;
Define a handler function:
Private function onResult(oEvent:Object):Void {
trace(oEvent.result); //make sure you have what you think you
have
Hello Flexcoders,
Has anyone been able to get the FlexUnit test runner working
along-side a flex application? Basically I would like to run tests against a
loaded application.
I tried putting the test runner into a TitleWindow and
then open the title window via a pop-up. When the
You can pass the parent into the component
like this:
XBApplication id=xbApp parent={this}/
But remember, typed as Object, you will not be able to reliably bind to
it.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ramu p
Sent:
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
Nope, the Dataset components generally are used in a 2-tier architecture
which we've not been encouraging for Flex apps.
Matt
From: flexcoders@yahoogroups.com
Gotcha...very cool! Unfortunately, I can't share our
wsdls with you asthey aren't mine to share...but I'll keep you in
mind. A short supply of wsdls has never been a problem
here!
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
JesterXLSent: Tuesday, October
um... ok so do you like know of any public WSDL's
then?
- Original Message -
From: Mink,
Joseph
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 12:12 PM
Subject: RE: [flexcoders] Highly classful architectures
Gotcha...very cool! Unfortunately, I can't share our
Heres one that Ive used for
prototyping:
service
name=weatherServiceWS
wsdlhttp://www.webservicex.net/WeatherForecast.asmx?WSDL/wsdl
endpoints
endpointhttp://www.webservicex.net/WeatherForecast.asmx/endpoint
/endpoints
use-custom-authenticationtrue/use-custom-authentication
Hi Omar,
A java VO should be a standard JavaBean, hence it should follow the
JavaBean specifications which state that all variable names must start
with a lowercase letter.
I don't know if there is a workaround, but I'd consider renaming my
Java variables to conform to the spec.
Best,
Aldo
On
No, I don't...all of our work is for the gov't and the
wsdls are for internal components...none of which are public and none of which I
have the permission to share.
If I become aware of any public ones, I will definitely
share.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL
I've done this before...
Try this...
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09146.html
On 10/11/05, gnaveenrajkumaar [EMAIL PROTECTED] wrote:
hello there,i have created a webservice in asp.net that retrives data from a xml
file and the output of the function is a xml
Thanks Jim
- Original Message -
From: Jim
Schneider
To: flexcoders@yahoogroups.com
Sent: Tuesday, October 11, 2005 1:00 PM
Subject: RE: [flexcoders] Highly classful architectures
Heres one that Ive
used for prototyping:
service name="weatherServiceWS"
Please contact me (alex49080 @ yahoo.com) for pricing.
Included is also 6 months of FLEX GOLD Support from MM.
Thanks,
Alex
Yahoo! Groups Sponsor ~--
Fair play? Video games influencing politics. Click and talk back!
How do you already have access to these products?
--- In flexcoders@yahoogroups.com, Alex Alex [EMAIL PROTECTED] wrote:
Please contact me (alex49080 @ yahoo.com) for pricing.
Included is also 6 months of FLEX GOLD Support from MM.
Thanks,
Alex
Yahoo! Groups
Starting a new thread since we hijacked the other one.
I tested this and it works in Flex 1.5 and Flash 8.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
initialize=getFunky()
mx:Script
![CDATA[
import mx.services.WebService;
import
I was under the impression Flex licenses weren't transferrable?
--- In flexcoders@yahoogroups.com, Alex Alex [EMAIL PROTECTED]
wrote:
Please contact me (alex49080 @ yahoo.com) for pricing.
Included is also 6 months of FLEX GOLD Support from MM.
Thanks,
Alex
On 10/11/05, Alex Alex [EMAIL PROTECTED] wrote:
Please contact me (alex49080 @
yahoo.com) for pricing.Included is also 6 months of FLEX GOLD Support from MM.Thanks,Alex--Flexcoders Mailing ListFAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
One man's hack is another man's... wink
Let me argue why traditional server push has a much lower quality of
service and why this design pattern IMHO is a whole lot less of a hack
then that, and actually quite elegant.
Traditional Server-Push maintains a reference to a client object
broker (OK
I may be out of the loop because I couldnt see which thread you broke
from but
You can turn on the keep-generated to keep the generated AS from a
mx:WebService call to prove its possible as well. Since at runtime
the J2EE Servlet Filter is generating AS from the mx:* tags pretty
much
We have definately seen issues with calling services based on their
encoding. RPC/encoded seems to work fine, but Document/literal doesnt
work so well. It seems to die with a ComplexType or a nesting of
them.
Its unfortunate since Document/Literal is the most portable encoding.
Dave Wolf
hummm,
how could anyone have flex enterprise upgrade included if it's in alpha stage?
no pricing will be defined in a short term i'm quite sure.
João Fernandes
Secção de Desenvolvimento
Departamento de Informática
-Original Message-
From: flexcoders@yahoogroups.com on behalf of
I've created a CFC to provide a Web Service and it works on one server
but not on a second one. While the component works properly with
Cfinvoke, with Flex the error I get is:
Request implements version: http://schemas.xmlsoap.org/soap/envelope/
Response implements version: undefined
What could
I believe this would be because most people bought a Flex server with a subscription.
The subscription includes all future updates for a certain period of time. I don't recall if it is 1 year or 2 years by default.
So if a new Flex server is announced, I bet it is less than a year away from
Is there any wasy that a user can determine which columns are shown
in a datagrid via, say, a check box control
Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!
Is it possible to disable a stack within an accordion until
an event is fired? I tried setting the enabled property of the id from
the Canvas to false, but this only disabled the canvas and not the Accordion
stack item.
Thanks.
--
Flexcoders Mailing List
FAQ:
After checking the EULA I stand corrected:
3 (d) Other than with respect to a Trial Version, Developer Version
or a Not For Resale Version of the Software, you may permanently
transfer all of your rights under this EULA only as part of a sale or
transfer, provided you retain no copies, you
Yes - You would want to do listen to your checkbox's click event and
then programmatically add or remove columns by using the API provided by
the DataGrid component.
Below is something very simple and not too reusable, but you get the
point..
mx:Script
import mx.controls.gridclasses.*;
var
But if its a 6 month gold subscription... do you think in 6 months we'll have
flex 2 ready to go?
Macromedia has not announced a release date so...
João Fernandes
Secção de Desenvolvimento
Departamento de Informática
-Original Message-javascript:SetCmd(cmdSend);
Send
From:
Do you mean you are trying to disable an accordion
header within your accordion?
To do that, use the accordions getHeaderAt()
method to access the accordion header (it will be an instance of Button) and
set its enabled property to false.
!disable child ones header
mx:Accordion
Because, doing GUI code in Flash sux. Dare you to use Flash for 6 years
doing GUI development, and THEN ask the same questions.
You can do layout in Flash via dragging form elements, but:
1. you run into initialization challenges which complicate your coding
elongate debugging
2. layout
On 10/12/05, João Fernandes [EMAIL PROTECTED] wrote:
But if its a 6 month gold subscription... do you think in 6 months we'll have
flex 2 ready to go?
Macromedia has not announced a release date so...
Didn't they say early 2006? And besides, if the subscription did
expire before then, it
As I recall, setting a column's width to zero works pretty well for
hiding it. I haven't tried this recently.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Deepa Subramaniam
Sent: Tuesday, October 11, 2005 6:54 PM
To:
In response to this and the other related thread
I just want to post something that one of our architects, Sean Neville, wrote. Youll get to see
the outcome of the work that Sean alludes to when we start showing off Flex
Enterprise Services in a few months (this is not a timetable on
I'd like to suggest that it's better to learn how to make deferred
instantiation your friend than to simply turn it off.
The point of deferred instantiation is to not waste time at app startup
creating controls that you don't need yet. If you had a ViewStack with
500 views, it probably wouldn't
Hi
I'm new to Flex. I'm wondering if there is any sample code showing
personalization of Flex apps (i.e. different UI for different users).
Are people using JSP to generate alternate MXML or some other pattern
where the client side checks user roles?
Thanks
- Richard
--
Flexcoders
Anyway to retrofit DW 8 to write MXML or is this a no-no since Flex Builder is alive? -- John C. Bland II
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
I wouldnt disagree with anything Sean is saying. Althought when
distilled he is basically saying trust an abstracted API. I kinda
tend to like that descrition although I am not sure it helps folks
understand the issues. The challenge here was folks disagreeing about
the implementation of that
I agree with what youre saying. Although one might argue a nice OO
layout manager in AS might have solved those issues too. I mean
net-net Flex components just become AS code at compile time
I am just cautioning given an amazingly good model for how things can
go wrong in j2EE to not miss
Hi,
Dreamweaver 8 doesn't have any special support for MXML. It
would probably treat MXML as XML.
You can use FlexBuilder 1.5 for MXML code hinting and
more(debugging, network monitor etc).
I
hope but don't promise that next version of Dreamweaver should support MXML code
hinting. If
Im not sure of the right way to do
this for now but itd be worth filing as an enhancement request to make
this easy for the next version of Flex. http://www.macromedia.com/go/wish.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
This seems like a bug, you should file it
(with a code example) at http://www.macromedia.com/go/wish.
I think like you are hinting at you could probably use the cellEdit event to undo
the damage. You should be able to get the new value by simply reading
the value specified for the item
1. Multiple means that multiple calls to
the same method are allowed before previous calls have returned. This is the
default behavior and what youre generally used to when calling any
method. We added a few more concurrency values to try to simplify logic if you
really didnt want to
How about something like this?
For (var i:Number=0; I
dg.dataProvider.length; i++)
{
var cells:Array = [];
var item:Object =
dg.dataProvider.getItemAt(i);
for (var c:Number=0; c
dg.columns.length; c++)
{
var
col:mx.controls.gridclasses.DataGridColumn = dg.getColumnAt( c
I think theres probably another error
and we just happen to be blowing up in the wrong section and giving you
something bogus. Id turn on proxy debugging and see what the debug
output looks like.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Hi,
By different UI,do you mean layout of UI changes oronly color-scheme/text etc changes?
You can easily implement both of above in Flex. Macromedia
Flex provides lots of layout componentsand easier custom component
development approach.
You can change color/theme of components on
Performance wise, removing the DataGrid column, as Deepa showed, might
be relatively more efficient. Where as having column with zero-width
might still take memory..
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Tuesday,
I don't code bytecode, I code AS MXML. I don't really care what it
becomes at runtime, I just want to code it faster, better, and cooler than I
have in the past. So far, so good.
LayoutManager? Dude, it was referenced in the v2 component framework for
Flash, but it didn't exist. Who was I
As for getting access to the users current role thats pretty simple as
a service. We do personalization of features in many of our
applications (including LifeCoach for example, a MAX award finalist)
by having services return enabled, disabled, and skinned features.
None of this is built in.
IIRC,
Gold _support_ is different from a subscription.
Gold support means you can can call MACR if something is going wrong (or appears to be going wrong) with the Flex server and they'll assign a tech to help you out for 'free'. No incident charge necessary. Your Gold support is essentially
84 matches
Mail list logo