Hi Craig,
No you're not going to our server - the namespace is simply
an identifier - read up on namespaces in the Flex docs.
Cheers,
Ali
--
Alistair
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]
Office: +44 (0)131 338
6108
This e-mail and any associated attachments
Craig,
If you feel better about it, you can change your code
to:
mx:Canvas
xmlns:keepAwayFromAli="com.iterationtwo.containers.*"
and then instantiate your component as:
keepAwayFromAli:AdvancedTabNavigator
/
In the SWC, Ali has packaged the component as
I have read the namespaces info in the docs, but the namespace that you give to use is, "com.iterationtwo.containers.*"...and that 'path' doesn't exist on my box...so i am wondering why that works?, or is that not a 'path' as it were..Alistair McLeod [EMAIL PROTECTED] wrote:
Hi Craig,
No
Hi matt,
Thank you very much for immediate reply.
i applied that code. but i think i did some mistakes. please correct that
how should i call thaty functions
mx:Script source=testObject.as/
1st Combo
mx:ComboBox labelField=contryN width=200 /
2nd Combo
mx:ComboBox labelField=Cname
Hi Craig,
That namespace is the package structure in which the
AdvancedTabNavigator exists inside the SWC.
Ali
--
Alistair
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]
Office: +44 (0)131 338
6108
This e-mail and any associated attachments
transmitted with it may
In the application
where the component resides, I have a 3-element array of strings called
"myArray"that needs to be passed to my component. So my code
is:
myComponent
xmlns="*" arrObj="{ myArray}"/
where "myComponent"
is my custom component, and "myArray" is the 3-element array of
Sorry,
i have already this post, but without suggestion, why from Flex if i
have a simple button that call a function that iteract with a j2ee app,
we recevice sometime 2 or more event
But if user click one time? because i receive 2 or more event from flex ui?
Please any suggestion
Devis
Hi everyone,
Nice to meet you all. First post on this mailing list and I'm glad
that there's a mailing list about this fantastic new technology which
is Flex. I read somewhere that there will be a .NET version of
Macromedia Flex. Is there anyone who got information about this?
Thank you very
Oh yes. The c1 and c2 are simply the IDs of the griditems inside
the grid. Like this:
mx:GridItem id=c1 height=50 colSpan={data1}mx:Label
text={compData2.firstChild.firstChild.childNodes[1].childNodes
[1].firstChild}//mx:GridItem
I must note that the mx:Label databinding does work
Devis-
Can you post some code, so that we can see where exactly problem is?
-abdul
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 8:33 PM
To: Flex Coders
Subject: [flexcoders] Flex with backend
Sorry,
i have already this
In the TitleWindow component definition, define the values you're
passing in as a public properties:
mx:Script
![CDATA[
var existingData:String;
]]
/mx:Script
Assuming the init object has properties of the same name they'll
then be visible within the TitleWindow for programmatic or
You have here a good example of dynamic
charting:
http://coenraets.com/viewarticle.jsp?articleId=81
Dzafer
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola
Sent: Tuesday, April 19, 2005 2:46
PM
To: flexcoders@yahoogroups.com
Subject:
Davis-
I am sorry, I don't really know much about Cairngorm framework, except
higher level stuff. However, I will try to look.
May be, some Cairngorm gurus might help you...
-abdul
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19,
Hi Pathy,
I made it working example, see the code below or find the attached files.
Let me know, if something is not clear...
##contactListSample.mxml##
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
verticalGap=0 horizontalGap=0
Hi,
It should work, i quickly verified using following code and I found it
works...Does your code do things like this?
##Component.mxml##
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Array id=arrObj/
mx:Button label=show length
Hi there,
This may be a basic question.
I know that if I use mx:Button enabled={someval == otherval}/
My button will be enabled whenever someval = otherval is true.
How can I set this kind of conditional values to a button created with
ActionScript ?
Thanks,
João Fernandes
Yahoo!
Hi,
mx:Button id=myButton/
and
Private function setButtonState() : Void
{
myButton.enabled = ( someval == otherval );
}
Its all in the docs
Ali
--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
Office: +44 (0)131 338 6108
This e-mail and any associated
Something like this:
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Script
![CDATA[
var someval:Number = 1;
var otherval:Number = 2;
function disable() {
if (someval == otherval) {
myButton.enabled = true;
} else {
myButton.enabled = false;
Ali,
I'm creating a button like this:
mx:Script
![CDATA[
var btn;
function create_btn_save(label,funct){
ctrlbar.destroyAllChildren();
btn = ctrlbar.createChild(mx.controls.Button,undefined,{label:label});
btn.addEventListener('click',mx.utils.Delegate.create(this,funct));
btn.enabled =
Joao,
The trouble here is that you are only evaluating the condition once,
when you create the button.
You will need to add a listener to the dataProvider(s) that causes the
condition to be reevaluated every time the data changes. As in:
btn =
Hi
Guys
Thanks
, but i already saw this one , and frankly its not enough , its only talks about
primitive types and say that if you have complex object you need to write AS
code for it (which will be discovered automatically).
Now
this one is important - There is a property of a node
Thanks,
It worked but I was hoping that we could define the same logic with
AS as we do in MXML. I see we can't.
João Fernandes
--- In flexcoders@yahoogroups.com, Joe Berkovitz [EMAIL PROTECTED] wrote:
Joao,
The trouble here is that you are only evaluating the condition once,
when you
That was mentioned in a presentation about flex on the macromeda site
--- In flexcoders@yahoogroups.com, nboulet [EMAIL PROTECTED] wrote:
Hi everyone,
Nice to meet you all. First post on this mailing list and I'm glad
that there's a mailing list about this fantastic new technology which
Matthew Shirey wrote:
It seems that you want to know if there's a way to create the same
simple live databinding in AS as you did in MXML. I too would like to
know how to do this if its possible. In mxml you had the enabled
property bound to the results of a conditional evaluation. i.e.
Joe Berkovitz wrote:
I don't recommend using watch() as Darron suggested, because you can
only have one user of watch() per watched object property. It's better
to do what MXML bindings do and listen for change events.
The problem is you can only get change events in certain situations.
Dudes, x is a getter/setter property. If you want to know when it changes,
just listen for a move event.
- Original Message -
From: Darron J. Schall [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 19, 2005 3:23 PM
Subject: Re: [flexcoders] Re: setting conditional
Thank you both, this offered further insight into this problem. I
like the watch idea because it keeps it simple and literally watches
the variable(s). But I do see its limitations.
-- MatthewOn 4/19/05, Darron J. Schall [EMAIL PROTECTED] wrote:
Joe Berkovitz wrote:I don't recommend using
Heh, I guess I picked bad variable names. We're not talking about
x and y positioning here. subst var1 and var2 for x, y.
M.On 4/19/05, JesterXL [EMAIL PROTECTED] wrote:
Dudes, x is a getter/setter property.If you want to know when it changes,just listen for a move event.- Original Message
I know, sorry, Darron just bitched me out over
AIM...
- Original Message -
From: Matthew Shirey
To: flexcoders@yahoogroups.com
Sent: Tuesday, April 19, 2005 3:37 PM
Subject: Re: [flexcoders] Re: setting conditional "enabled" with
AS
Heh, I guess I picked bad variable names.
On 4/19/05, Matthew Shirey [EMAIL PROTECTED] wrote:
Problem here is there are components like the MenuBar, and the Column
headers for the Datagrid that do not seem to be automatically adjusting for
these large fonts.
Thanks, Matthew, that's a great thing you found. I've logged a bug for
On 4/19/05, Shlomi Cohen [EMAIL PROTECTED] wrote:
if i have a function that get a node like this
function myLabelFunc(item):String {
var type=typeof item; // always return {Object}
return item._???
}
how do i know which properties the
I think I know what you mean, I'll give it a shot. Thank you,
M.On 4/19/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 4/19/05, Matthew Shirey [EMAIL PROTECTED] wrote:Problem here is there are components like the MenuBar, and the Column headers for the Datagrid that do not seem to be
On 4/20/05, Mika Kiljunen [EMAIL PROTECTED] wrote:
I noticed that if you have an editable ComboBox and you set
restrict=0123456789 on mxml it won't work ( won't restrict). But if you
set it on actionscript (ie. on CreationComplete) it works (does restrict).
Nice bug / feature?
I've logged
On 4/20/05, Matthew Shirey [EMAIL PROTECTED] wrote:
I think I know what you mean, I'll give it a shot. Thank you,
In case I was not clear, by extend I meant really subclass the
component class in ActionScript and override the measure function:
class MyMenuBar extends MenuBar
{
On 4/20/05, Mika Kiljunen [EMAIL PROTECTED] wrote:
Now the problem arises because I'm writing a Flex app in finnish for finnish
people and to them the inputFormat looks like pp.kk.. Internally I use
dd.mm. for Flex to understand it. The users are wondering what is this
dd.mm. that
On 4/19/05, Andrew Spaulding [EMAIL PROTECTED] wrote:
Not sure how you would go about passing it back to the flash player tho.
You can use fscommand to call an AS function in the Flex app.
--
[EMAIL PROTECTED]
http://manish.revise.org/
Yahoo! Groups Links
* To visit your group on the
Math operations with normal numbers, such as 0/0 and Math.sqrt(-1), can also
produce NaN.
According to the ECMA-262 spec, NaN is a Number, despite its name meaning
Not a Number:
4.3.20 Number Type
The type Number is a set of values representing numbers. In ECMAScript, the
set of values
Title: Message
Bug.
Could you please file it?
-
Gordon
-Original Message-From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 3:09 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Editable Combobox
and restrict
I
On 4/19/05, sanjayd [EMAIL PROTECTED] wrote:
Andrew: yes, it worked. I will pay you the $20. I will contact you via
email.
Was that for real? Damn, I should've tried! :)
--
[EMAIL PROTECTED]
http://manish.revise.org/
Yahoo! Groups Links
* To visit your group on the web, go to:
I can't seem to get an image to embed in a component defined in actionscript.
Here's the code I'm using:
[Embed(source=graph.jpg)]
var buttonCloseIcon:String;
I keep getting a failed to find resource message. I've tried placing the
icon in all the obvious directories, still no go.
On 4/19/05, JesterXL [EMAIL PROTECTED] wrote:
As far as visuals... dude, this is Flex, whatever you want! You can add
highlights, a custom rect border... what do you want?
Here's what I'd do (not a UI designer by any stretch of imagination):
- on the mouseOver, show some visual feedback
Well my problem is solved but I want just to share what was my problem.
I have a popup window (titlewindow) with tabnavigation inside it and
I'm using an unique controlbar outside the tabnavigation to keep all
my buttons.
Each tab has its own buttons so I destroy all buttons (with the
function
Hi
everybody!!!
I'm facing a little
architecture problem. I'm building an app with 15 forms anda lot of
reports and charts. I decided to use a Tree as a menu since I have a lot of
views. When the user clicks at the Tree I load a mxml file using a Loader
component.
The problem is that
Okay, Here's what I tried:
import mx.controls.MenuBar;
class MyMenuBar extends MenuBar
{
function measure():Void
{
super.measure();
var item = getMenuAt(0);
var myTF = _getTextFormat();
var txt = item.text;
var textExt = myTF.getTextExtent2(txt);
var textH =
Here's the code I'm using:
[Embed(source=graph.jpg)]
var buttonCloseIcon:String;
I keep getting a failed to find resource message. I've
tried placing the
icon in all the obvious directories, still no go.
Assuming you have graph.jpg in the correct directory, you might want
I think Id need to see a full code
example at this point.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
Sent: Tuesday, April 19, 2005 8:29
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Puzzled
on colSpan databinding
Oh
yes. The c1
Hello, all.
This comes from our GUI Developer who comes from a
Java background and is moving on to Flex.
Is there an easy way in Flex to show dialog boxes? Anything
similar to javax.swing.JOptionPane, with its constants and predefined icons?
If not, is it safe to assume thar
FYI:
Got approved today for my NCL
:)
Thanks Adobe..err Macromedia?
On 4/16/05, Matt Chotin [EMAIL PROTECTED] wrote:
I believe the person who reviews the NCL applications is in Newton (so EDT
at the moment). Flex now has developers online at all hours since we've got
US West
Situation calls for patience that much is the clear point of all.
Microsft have been selling a nice dream, hell its got me interested
via its XML approach to application development.
FLEX offers that dream now, at rate of power which can only grow not dimminsh.
I've been reading various
Roger - Thanks - I'll look at the server log. Is there anything I can do to
improve my file's appeal - assuming that's the problem?
- Tom
At 06:24 PM 4/19/2005, you wrote:
Its
possible that our image transcoder simply dislikes your file
Yahoo! Groups Links
* To visit your group on the
Check out mx.core.Application; it has a show alert
function, or you can use the mx.controls.Alert singleton. Additionally,
you can do anything with mx.maangers.PopUpManager, modal or not, and typically I
put a decorated, closeButton enabled TitleWindow of sorts in it.
- Original
Hello,
a simpler solution is to have a viewstack with you 15 views (may be
any container (vbox, hbox, vdividedbox, etc.)), that viewstack
standing for example on the right of your tree.
Now when people select a leaf on your tree, simply change the
viewstack index !
(ps: it has nothing to do with
Hi all
Has anyone come up with a neat and tidy way to chain
commands in a queue-like fashion within the Cairngorm framework?
Im running into horrid things with an EJB, something
to do with concurrency I think. Im broadcasting 4 getSomethingList type
commands in a row, and I think
The problem is fixed and for the acrchives:
The sollution is to add the domain to the unnamed whitelist of
web-service-proxy in flex-config.xml.
Greetz Erik
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of core_elements
Sent: dinsdag 19
Hi,
There seems to be a localization problem with the date
validator. If you set the wrongLengthError property for the validator like Please
enter date in the correct form and also provide the inputFormat property
like dd.mm.. The validator validates the date properly and
sets the
I noticed that if you have an editable ComboBox and you set
restrict=0123456789 on mxml it wont work ( wont
restrict). But if you set it on actionscript (ie. on CreationComplete) it works
(does restrict). Nice bug / feature?
-Mika
Yahoo! Groups Links
To visit your group on
I have been looking at the sample charts at
http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml and
noticed that the xml used for the Misc Techniques and Examples is not
posted. Can anyone point me to these xml files?
Rich
Yahoo! Groups Links
* To visit your group on the web,
Alistair:
this component is being called from gvsStartA.mxmx
Here is the code:
!-- component displayGVSData.mxml --
?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Label text=Thrust Report Results for ASMT x=316 y=6 /
mx:Model id=thrustdata
Hi,
iterationtwo:AdvancedTabNavigator tabPlacement=bottom
//What goes here, do i do the same thing as a 'regular'
tabnavigator?
/iterationtwo:AdvancedTabNavigator
Yes, inside the definition above, you put the same containers you would put
in the standard TabNavigator. I'm
Hi
The
label in the tree shows fine , but trying to use the labelFunction was a little
bit confusing.
how
ActionScript map my Java objects to AS objects , ? can someone send a GOOD
article about this?
if i
have a function that get a node like this
function myLabelFunc(item):String
Is it that you have small text and are finding not as clear/accurate as
you'd like with anti-aliased embedded fonts? If you're embedding from a
true type font file (i.e. using a src location in the @font-face
definition) you can try turning on the BatikFontManager in
/WEB-INF/flex/flex-config.xml
Alistair:
THiunk i fixed with the namespace 'clue', here is what I added to my mx:canvas tag:
mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:iterationtwo="com.iterationtwo.containers.*"
now the next question? Why does that work, am i going to your server somewhere to get the
62 matches
Mail list logo