When invoking named WebServices with the Flex WebService Proxy the full URL of
the WebService endpoint gets passed over the wire. A typical request from the
Flex client looks like this:
http://FLEXSERVER/flex/flashproxy/mbs5WebService?transport=SoapHttpaction=WS_ACTIONtarget=WS_URL
where
...and mbs5WebService refers to the named WebService of course - still I wonder
why there's the need to pass the URL in the target parameter. Or am I missing
something?
Thanks,
Dirk.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Dirk Eismann
| when a user logs in. If your UserVO represents the currently logged-in
user, then I would
| store it in the ModelLocator since it is extremely convenient. Otherwise
(if you're
| editing someone else's UserVO), I would pass it to the controller.
Todd makes good sense here ... if I could
You can sort Date objects by sorting on their numerical getTime() value, i.e.
mx:Script
private function sortColumn(evt:Object):Void {
if (evt.target.sortDirection == DESC) {
var arrayFlags:Number = Array.DESCENDING;
} else {
var arrayFlags:Number = Array.ASCENDING;
}
Can you then verify for me, that Application.application is the equivalent
to _root in Flash?
?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns=* initialize=alert((_root == application) + '')
/mx:Application
It says true. So yes.
Yahoo! Groups Links
hi
,
recently i am using the view stack i have two
pages in that.i want like the page which defined in the url but not able to do
also i can not understand the code so please help me to achive this type of page
using animation give the sample code for that.previously i have put a
Bikram,
The sample code is not something that we are making
available (yet) for download. If you are a
new user to Flex, I'd recommend that you spend some time
becoming comfortable with the MXML
language, and with ActionScript 2.0, and with all the
built-in effects (including Parallel
hi,
i have design the pages fully but only i need the animation of the pages simply
i am sending you the code please give me the reply as soon as possible
ok.
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of Steven
WebsterSent:
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of Steven
WebsterSent: Wednesday, June 15, 2005 5:17 PMTo:
flexcoders@yahoogroups.comSubject: RE: [flexcoders]
viewstack
Bikram,
The sample code is not something that we are
Bikram,
Perhaps I wasn't so clear ... you've created a ViewStack,
but you've not made any attempt at implementing the flip effect yourself; this
is not an inconsiderable amount of work ... we are not making the code for doing
the Flip (which was the result of a good number of days of
Thanks for the response. I don't think
that is the problem. I think the problem is even though I have mapping between
java vo and AS vo it seems not working. When I check network monitoring I did
not find _remoteClass attribute. Please help me in fixing this problem. I am
attaching my
Hi Folks,
Ive got a DataGrid that Im populating with
search results and Ive been getting some formatting problems.
Ive recently switched the variableRowHeight flag on for
my DataGrid and the wordWrap flag on for one of the DataGridColumns. The
initial populated table looks perfect
Hi Dirk,
When sending the request for the WSDL, you are right, the service name
and the target are not needed- we will actually never use the target in
that case, and you should be able to see that by putting garbage in the
target URL. I'm not sure why things are how they are, but it looks to
Hi,
can we open a page using the menubar
option i am trying but not able to do.please help me regarding this
matter.
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of Steven
WebsterSent: Wednesday, June 15, 2005 5:58 PMTo:
Hello,
I'm trying to return complex types with collections from a web
service and everything seems to work fine. But, when I send the
type as the input parameter for the web service, if there is only 1
item in the collection it does not get back to the web service.
For instance, you have a
Bikram,
can we open a page using the menubar option i am
trying but not able to do.please help me regarding this
matter.
You're lucky that one of the other moderators approved this
message; I actually rejected it.
Can you PLEASE spend some time attempting to solve these
problems
All of the macromedia examples are using xml for their datasource and
then hard coding the node name into the column series. Example:
XML:
data
result month=Jan-04 average=203443
apple224254/apple
orange221819/orange
banana164256/banana
/result
result
Hi
everybody,
I need your help to
create new attributes to a TreeNode.
I created a button
which call the function addNodeUp()
Inside this function
is the following code :
public var
newNode:TreeNode;public var
selectedNode:TreeNode;
addNodeUp()
{
var
Hi
everybody,
New question about
Tree manipulation.
I would like to have
control on specific parts of my Tree structure.
More precisely I
would like to prevent user to expand specific TreeNodes among all TreeNode into
my Tree because I don't want them to have a look on the
subnode.
I
I think Mike Chambers' method of sorting (http://weblogs.macromedia.com/mesh/archives/2005/04/sorting_date_fi.cfm - similar to below) works pretty good, but it just seems wrong that you have to wait for the DataGrid to sort, react to the headerRelease function, which occurs after the sort and
You can set sortOnHeaderRelease to false
so that the DataGrid doesnt attempt to sort before your function is
called.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben
Sent: Wednesday, June 15, 2005
7:50 AM
To:
Check out mx.utils.ArrayUtil.toArray().
You may need to call that to make sure that when you pass a single item it
still gets treated as an array.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cgobble
Sent: Wednesday, June 15, 2005
Has anyone been able to embed a font in a shared library to use across
multiple Flex-created .swf files? Specifically, I have this line of
code in a .sws file:
embed source=../fonts/Arial.ttf newSymbol=mainFont /
And it always complains that Arial.ttf can't be found. I know the first
think
I'm running in to similar issues with webServices going to CF7 (see my "Flex serializer vs CF7 deserializer" posts). Something that I've found which aids troubleshooting is to look at the actual soap envelope which gets sent between the client and server.I've noticed that the SOAP encoding seems
I am using the mx.utils.ArrayUtil.toArray to bind to a datagrid.
This makes sure that Flex sees it when there is only 1 item in the
array. However, going back to the service with the entire object is
causing the problem. I've been experimenting with defining classes
for these objects and I
Has anyone been able to embed a font in a shared library to
use across
multiple Flex-created .swf files? Specifically, I have this line of
code in a .sws file:
embed source=../fonts/Arial.ttf newSymbol=mainFont /
Unfortunately, we don't support embedding TTF like that. (I wish I
could
Are you speaking of horizontal or
vertical?
By any chance do you have hGridLines=true?
I replicated a bug wherein
variableRowHeight=true amd woprdWrap=true, along
with hGridLines causes the horizontal grid lines to align incorrectly with the
row boundaries.
Can you create a
I am not sure what you are trying to
do. Are you trying to add a new node to the trees selectedNode?
Do you have a reason you do not want to
put the added data into the data Object? I havent worked with
setProperty much.
If your data can be in the data object, I
would do it like
Roger Gonzalez wrote:
So, I think that if you were to make a dummy component with a style
sheet that embeds the font you want, and then put that component into
your RSL, you should be in good shape.
That's genious. I was able to get that approach working, and I'll
outline exactly what I
Hi All,
This is a repetition of my last email. Does Flex provide
anything for Breadcrumb/trail? Actually I have to replace the
ViewStack implementation by some kind of trailing functionality. So I am trying
to find out how I can achieve the same Viewstack implementation with multiple
I have a data grid that is using cellrendering in one of the columns to
prodice a checkbox. I would like to be able to change the text color of
the row that when the heck box is checked. Please Help. Thankl you.
Yahoo! Groups Links
* To visit your group on the web, go to:
Now that I have a pretty good understanding of Cairngorm and its structure I
want to put out a question about why to build commands and delegates in the
way presented in the store example.
The Command/Responder object always talks to a single delegate object. This
delegate object uses the
Other than the built in browser back integration of some controls, as
far as I know there isn't anything that would provide that sort of
functionality built into Flex; you would have to write your own.
Writing something that would change a link bar based on how you
drilled down through the
List,
I saw in a previous posting that a Date field in a registered AS
class cannot cannot be serialized to a java.sql.Timestamp field to
its' registered Java pojo. I have a datagrid where i make a cell
edit, and I pass that object to my remoteObject like so:
// method code called from
There is not an mx:Breadcrumb component in Flex ..
it's behavior you would have to bake
into your own application. From a UI point of view,
the mx:LinkBar / tag might be a good
starting point for you to contain a Breadcrumb trail
in.
Roger Gonzalez wrote:
So, I think that if you were to make a dummy component with a style
sheet that embeds the font you want, and then put that component into
your RSL, you should be in good shape.
That's genious. I was able to get that approach working, and I'll
outline
Man,
I don't get itit won't work! No icon is displayed. I know it is
thereany ideas?
-Michael
--- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote:
it should work. I've got the same code :p
Except where you are embedding the image my only difference is i
This is wierd.
I can take the code out of my app and it will work. In it no icon is
displayed. Now my application has a LOT of Flex and AS code...is
there a limit to how many things I can embed? OR any ideas as to what
will prevent my icon from showing?
Thanks,
Michael
--- In
Hi All,
This has been driving me nuts for hours
and Im sure its something simple.
I have a datagrid bound to a model. Two
columns within the grid have combo cell renderers in them. When the grid is
populated, everything is dandy. When a row is highlighted the combos appear
allowing
This code in my app (even know it works fine):
public function popupWindow()
{
var pop = mx.managers.PopUpManager.createPopUp(this, Categories,
false);
}
Generates this error message:
The function, popupWindow, hides a function in ancestor class,
'mx.core.Application'.
Hi,
Either rename your popupWindow method, or change it to be the following:
public function popupWindow()
{
var pop = mx.managers.PopUpManager.createPopUp(this, Categories,
false, null, true);
}
The last 2 parameters I've added in are the initObject (null) and the
Also, do you have a method in the root of your application called
popupWindow() ??
Andrew
--- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote:
This code in my app (even know it works fine):
public function popupWindow()
{
var pop =
Wow, thank you Andrew!
Programming for quite some time, I understand the importance of avoiding
reserved names for variables and functions - but I guess it never hit
me that popupWindow was reserved inside of Flex.
Thank you SO much for pointing out my mistake.
Mike :)
-Original
Just looked it up in the AS docs.
popupWindow( className:Object, initObj:Object ) :MovieClip
Creates a pop-up TitleWindow container.
Gotta love the docs ;)
Andrew
www.flexdaddy.com
--- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote:
Wow, thank you Andrew!
Can't believe I missed that -
I was looking in the AS Docs before posting this question -
That's what happens, when you are too focused on looking for a
particular thing, and you end up overlooking obvious things...
Again, I am grateful for your help.
Have a good night -
Mike
Well in your saveData function youre
not passing in myDP but saveDP which doesnt exist anywhere else. Im
assuming there must be some typos in here from your debugging so its
hard to see the problem. Theres no reason why there would be a
_remoteClass attributes since you dont have one in
What if you concatenated the quarter
arrays together and then did something like
xField: year
yField: revenue
and then your categoryField can be
quarter?
Sorry, not a chart expert here.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Why dont you just use the
parentNode.addTreeNode method? You definitely dont need to create
your own TreeNode class to support this.
var newNode = { operand: +, label:
LABEL, type: NODE };
tree.selectedNode.getParent().addTreeNode(newNode);
Matt
From:
You should be able to use the
Tree.setIsBranch method on your node to set it so that it will be treated as a
leaf instead (wont show children). Now if you want it to show as a
branch but not be able to open then I think youll need to subclass Tree and
override setIsOpen to check if the
I've a need to increase the actual bar height itself from the
default 8px to higher, approx say 30.
Anyone done this? and what steps should I look to.
--
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Waiting for FLEX NCL to arrive)
Yahoo! Groups Links
* To visit
I havent tried it, but the ProgressBar extends UIObject which has a
height property. Does the ProgressBar draw it self taking this into
account?
Andrew
www.flexdaddy.com
--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote:
I've a need to increase the actual bar height
negative...
I can make the actual bars increase height by hijacking the:
progIndBar_mc;
progBarMidddle_mc
progTrackMiddle_mc
but can't get the labelPath (assuming thats the pointer to the label
Mc) to also move down based on the height...
It would be handy to get actual access to the class to
Hmm, seems odd. Can you take a look
at the object in a debugger and see if its constructed the way youd
expect? Also turn on debugging (web-service-proxy) and check if were
even sending the phone number across the wire. If not you may need to re-process
the contact before executing the
Stacy Young wrote:
Now, if a user were to delete a row then click add for a new rowthe
combos appear but they default to the value of the previous record
that was deleted! (as if the objects were not really destroyed) Adding
a new row at any other time defaults normally.
What does the
It might be that it wasnt an AS
Date but actually was a String that got sent across? Also if the cast to Pojo
is failing maybe it didnt actually create the proper ActionScript class
when it came back?
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
You can easily change the background color of the row by setting the
backgroundColor property on the item (dg.setPropertiesAt(rowIdx,
{backgroundColor:0xFF}))
I'm not sure how to change the text color for one row without using cell
renderers everywhere else though. If you were to do it
Do you have some optimization in your cell
renderer to not constantly re-assign the dataProvider to the combobox? Maybe
setValue is passing in null and youre using an old value or something?
Remember that the renderers are cached, the only update to them once they are
instantiated is
Mike Anderson wrote:
This code in my app (even know it works fine):
public function popupWindow()
{
var pop = mx.managers.PopUpManager.createPopUp(this, Categories,
false);
}
What's happening is that there is a popupWindow function already defined
in mx.core.Application. You can
58 matches
Mail list logo