hai!
I want to know if only a XML file can be a source for a menubar.. Can a list of array be the source for a menu bar like :
mx:MenuBar mx:dataProvider mx:Array mx:StringAlabama/mx:String mx:StringAlaska/mx:String mx:StringArkansas/mx:String /mx:Array /mx:dataProvider/mx:MenuBar
The above
Sorry , small correction : function
myResultCallback(event)
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dzafer
Sent: Friday, April 22, 2005 12:43
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Webservice result
Hi
You
should find anything you want in the event object
function myResultCallback(event)
{
if (event.operation.name ==
"function1")
...
}
De: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] De la part de Fransjo
LeihituEnvoyé: vendredi 22 avril 2005
12:33À: flex
Another possibility would be to assign a different result handler for each
operation. you can do this declaratively via MXML or by using ActionScript.
!-- via MXML --
mx:operation name=function1 result=function1Result(event)
mx:request
inputmy input/input
/mx:request
/mx:operation
I'm trying to use the class mx.graphics.Rect to design
a rectangle inside a component that extends from
mx.controls.Image. When i declare a private varible i
get a compilation warning: The member, myBorder,
hides a member in ancestor class, 'mx.core.View'..
Why? How can i draw a rectangle inside
Hi,
have you tried using another identifier name instead of myBorder? The warning
you're getting simpy tells you that the class you're subclassing
(mx.controls.Image) already defines a variable myBorder.
Dirk.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Thanks Dirk, i think i'll try with createClassObject
method.
Best Regards
Duccio Del Ministro
--- Dirk Eismann [EMAIL PROTECTED]
wrote:
-
Hi,
have you tried using another identifier name instead
of myBorder? The warning you're getting simpy tells
you that the
well, the thing is, I'm using NuSoap PHP Toolkit on my serverside php to to generate my wsdl and ofcourse register my functions. But I've never managed to get an working array as an result type back to Flex, so I returned a string.
But yesterday I finally got the NoSoap working to return an
Title: Message
Excuse me for the late reply, but you are coming across a
known limitation when creating an MXML component that uses a container as its
base tag. If you define the mxml component to contain a child, you cannot add a
child to it when you use the tag. In order to be able to
Thanks Matt. I'm displaying information received dynamically, so I
cannot specify the columns before hand. I could parse through the
data I receive and set them on the fly. Is this possible in
ActionScript? Any examples?
Thanks.
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL
Hi,
Zhu FengCan I delete files by using action script APIs? When I use the shared
object, I don't want the .sol files stay in disk persistently, although
we can clear the context of the file.
You could use onUnload() see example code below [1] or use
onBeforeUnload() events in IE (not sure
Thanks Matt
The help is appreciated.
AC
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
Instead of using focusOut and focusIn I used keyDown and mouseUp and
that
seemed to do the trick. It may not be perfect all the time, I'd
imagine you
can type fast enough and
Are you trying to access Tomcat through the default port as a
standalone (8080) or are you trying to use IIS/Apache to hit it? Does
the samples/index.jsp file display correctly? Which sample app are
you trying to hit?
Also, what version of Tomcat and Java VM are you using. I have
Are you trying to access Tomcat through the default port as a
standalone (8080) or are you trying to use IIS/Apache to hit it? Does
the samples/index.jsp file display correctly? Which sample app are
you trying to hit?
Also, what version of Tomcat and Java VM are you using. I have
Hi there!
Im new on flex and I dont know how to
implement this. Im using a ComboBoxCellRenderer.as from MM (or Adobe),
to put a Combo inside a Datagrid. So, in this class, I have this function:
function handleEvent(evt:Object):Void
{
if (evt.type ==
change)
{
// get the
You can run the integrated JRun as a service, you just need a few
files from either the Jrun full demo or a CF Server. The files
required are:
$jrun_root\lib\wsconfig\*.*
$jrun_root\bin\jrunsvc*.* (there are 2 files)
From a coldfusion server it is:
$cf_root\runtime\lib\wsconfig\*.*
Hi,
you could dispatch a cellEdit event from within your ComboBoxCellRenderer class
directly on the listOwner itself. This should cause your fCarregaGridCliente()
function to excute, i.e.
function handleEvent(evt:Object):Void
{
if (evt.type == change)
{
var rd =
Macromedia has an article about metrics in Flex:
http://www.macromedia.com/devnet/flex/articles/analytic_app.html
I have not tried any of the suggestions yet, but it might help.
--- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
Hello,
has anyone an idea on how I can get
Hi terry_hrtn,
Can you post the entire code now? I would like to see why it's not working.
Correcting Michael's suggestion:
setInterval(mx.utils.Delegate.create(this, upCount), 1000);
I just tested your code after resolving scope issues, it works fine for
me
-abdul
-Original
Hi Abdul,
I ran into a similar issue. In short, whether my code was not scoped
in an MXML file or whether it was within a class, I could not pass
over a parameter (a number in my case) and have the function called by
the setInterval reference the parameter passed over more than 1x.
With
Hey.
Whats the best way to have a single method
respond to both a clic event from a button, and a cellPress event from a
DataGrid?
Both components are inside the mail mxml.
Thanks for your help.
J.
Yahoo! Groups Links
To visit your group on the web, go
Hi,
you can define a handleEvent(..) function in your application(mail.mxml),
this method would be called whenever an event happen.
Look at the Defining the handleEvent() method section in Flex docs for
more: http://livedocs.macromedia.com/flex/15/flex_docs_en/0503.htm
Hope that helps
If you don't want a dependency on the target property of
the event object, then you could check the classNameinstead (so you can be
sure it was a _button_ that dispatched the click event versus some other
component. BTW, you can also use addEventListener to use the same handler for
Does not work.
On 4/12/05, michael keirnan [EMAIL PROTECTED] wrote:
it would be good to go through the Flex UG sections on scoping and event
listeners. in the long run understanding scope is invaluable. in your
test case the following might work:
Thanks, Abdul.
Thats what I
thought Id do, and it looks like this.
public function handleEvent(eventObj:Object):Void { var type = eventObj.type; var target = eventObj.target.className; if (type==click target == button) { // I do not want to be dependant on my components
Hi,
Width and height are properties not css styles. You can achieve the same by
setting in Application tag. I have a feeling that these two properties are
used by compiler while creating html wrapper for flex app.
What do you want to achieve by keeping width/height in CSS?
-abdul
Hi,
I wonder if there's a way to avoid this dependency
May be, what exactly is your requirement?
-abdul
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 23, 2005 4:23 AM
To: flexcoders@yahoogroups.com
Subject: RE:
Hi Abdul,
Everything is working fine,
If i select the country in the first combo box its working fine
same way, if i select the contactname(for the selected country) in
the second combo box that contact name's related data's only should
come in the dataGrid component.
i am trying to do
Hi,
I have an application that is primarily two data grids (summary and
detailed) that is suffering from performance problems (takes approx
20 seconds to render a page). I am just about to start profiling
and examining our application for performance, and have a host of
introductory
I am not sure why the technique described in [3] doesn't
give the easy answer: use the clear() method; for example:
myLSO.clear();
This
deletes the local file.
matt
horn
flex
doc
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
Yes. Currently, it's indended to use AnimationPackage only in ActionScript 2.0
classes or the MXML Script tag. Here's a quick example for a Script tag.
mx:Script
![CDATA[
import
Hi Pathy,
Why would want to do that? Each contact has a data that would fit in a
single row. And DataGrid is not for such usage.
Anyways, what you asking for is easy to do, you need to come up with right
kind of binding
You might want to reset the datagrid's dataProvider to contact details
Is there any way to get the id of the
component which is the source from which youre dragging items from?
Im trying to do 2 things on a
page. I have a list of indices and a blank listthe user first can drag
indices over to the blank list and then once theyve dragged them over,
they can
Hi,
However, I'm still unable to do the following:
Call a setInterval within a class. Have the setInterval pass over a
number. And the function called increment that number. Pass this new
number to a textfield object.
If I call:
setInterval(this,somefunction, 1000, 5)
function somefunction ( e :
You can get the dragging source byusing
-event.dragSource.dataForFormat("source").
Thanks
-Ashish
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005
9:03 AMTo: flexcoders@yahoogroups.comSubject:
[flexcoders] drag drop
Is
Hi,
Since you are listening to a container's mouseDownSomewhere or mouseDown
event, this would protect all children inside the container from receiving
mouse down event. That's why button's click event is not broadcast.
Well there are always way, eitehr you can redesign your app or do something
Hey,
it works perfectly!!
For everyone else...
mx:MenuBar menuShow=showMe(event) /
function showMe(event) {
trace(event.menuItem.attributes.label);
}
Thanks,
Michael
--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
You can use the 'menuShow' event to find
Thanks Ashish! I couldnt find
anything like that in the documentation anywhere! Thanks a lot.
Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
From: flexcoders@yahoogroups.com
Thanks Alex,
many thanks for your great work!!!
Regards
Duccio Del Ministro
- Original Message -
From:
Alex Uhlmann
To: flexcoders@yahoogroups.com
Sent: Friday, April 22, 2005 9:34
PM
Subject: RE: [flexcoders]
AnimationPackage
Yes. Currently, it's indended to
I have successfully set up some code that contains an event listener
if I mouse down anywhere on a canvas. From the handler, I can modify
a text area and move it. The code for this is shown below. But what
I would like to do is access the xy coordinates of the mouse and move
the text area
40 matches
Mail list logo