MXML attributes like mouseOver=... set up event handlers, not effects.
In ActionScript, you have to use code like
img.addEventListener(mouseOver,
Delegate.create(this, myMouseOverHandler));
to dynamically attach an event handler; you can't simply set properties
in createChild's
I think you may need to separate out your
styles and properties. For example width and height should be in that object
and done as numbers (you have them in quotes which means strings). But the
margins and borderStyles and colors are all styles and need to be applied using
setStyle I
Can you post some sample code (not that I
really have time to run it but maybe someone else can). It may be a Tree bug.
You say that it happens without the cell renderer too? That should be an easy
example then and we can look and see whats happening.
Matt
From:
Hi All,
I'm in troubles while trying to assign background images to my
application. Suppose I have three horizontal areas: a header, a working
area and a footer. The header and the footer have fixed height, the
working area height should fill the remaining space depending on the
browser window
if you mousedown on the button the keydown event gets triggered.
i dont know why this is the case (had this problem as well), but a
workaround do the following
mx:Application initialize=startUp()
mx:Script
function startUp()
{
Key.addListener(this);
}
function onKeyDown():Void
{
Try backgroundSize=100% for each of the areas alongwith the
backgroundImage attribute.
Sree
Lorenzo Benvenuti wrote:
Hi All,
I'm in troubles while trying to assign background images to my
application. Suppose I have three horizontal areas: a header, a working
area and a footer. The header
Thanks for your suggestion , but I'd prefer to use your fix only as a
last resort, since it shrinks or enlarges the image within its
container.
Thank you,
Lorenzo
On mer, 2005-09-28 at 14:07 +0530, Sreejith Unnikrishnan wrote:
Try backgroundSize=100% for each of the areas alongwith the
Hi,
Did anyone manage to get java2AS of Christophe
Coenraets(http://coenraets.com/index.jsp) to export java constants to
AS files.
I have several java constants (public static final String) that I want
to automatically export to flex but can't find a way to do so,
it seems that the java2as just
Hi
Maybe this helps. It works directly without pressing any Buttons...
?xml version=1.0 encoding=utf-8?
mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns:cm=module.customModules.*
xmlns:inc=indexIncludes.*
backgroundColor=#FF
hai all
i need to change the border color of the active popup alone incase of multiple popups in a screen... is there any way of achieveing it?
any help is welcome..
nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com
--
Flexcoders Mailing List
FAQ:
We had this problem, and I asked Mr Google, and he told em this...
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19520
HTH
On 9/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I would post the code on this but as the code is too large I will just post
the error. First I
There are a couple of ways I have used to debug calls to CFCs...
Create a CFM template and call the methods on the CFC the same way you
want your Flex app to. This will let you know if it is the CFC having
a problem.
When you call the method, dump out and write the dump to file using
i figured it out...just thought id share
this is my cell renderer..note the bold.
mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml
mx:Script
[Embed(source=online.png)]
var trueImage:String;
[Embed(source=offline.png)]
var falseImage :String;
function setValue(str:String,
Hi all,
This is first mail to this group and I am very new to the
flex. I am working on a project in which i need that if i click a
button focus should set on the particulat row of the datagrid. Is it
possible. Do we have some focus property for the datagrid. I will
really appreciate if
Ive got a component thats not the first
component my View Stack and I need it to initialize on launch. Does anyone
know how to force this?
Thanks,
Noah
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Tracy, thanks but that article doesn't seem to address my question. I
understand how to get a mouse position; the tricky part is, given a
mouse position, determining exactly which character in the text field
is at a given mouse pixel position.
Yahoo! Groups Sponsor
Hi all,
Is there any alternative to Flex server, except the (very expensive) one
provided by MM?
Are there any other options? Have all the members of this group who are using
Flex bought
it/evaluating it? Or is there any other option like a compatible freeware?
I know freeware versions
HI I have a datagrid with and ImageCellRender.mxml and it works great
but i cant seem to align the image in teh middle of a DataGridColumn
I have tried :
textAlign=Center and textIndent=xx for the DatagridColumn
I have alos tried in teh cellrenderer mx:Spacer horizontalGap=20 /
still no luck
I'd like to constuct a datagrid whose display is controlled by a tree.
Nodes in the tree correspond to rows in the datagrid, which are hidden and
revealed as their associated nodes open and close.
Seems to me there were some postings here about such a combination, but a
quick search doesn't
Make the ViewStac's
creationPolicy="all".
- Original Message -
From: Noah
Hoffman
To: flexcoders@yahoogroups.com
Sent: Tuesday, September 27, 2005 8:20 PM
Subject: [flexcoders] Force initialization of ViewStack
children?
Ive got a component thats not the
first component my
Laszlo touts itself as being an alternative, but it's not even in the same
league.
Not sure what happened to KineticFusion, don't hear about it much.
- Original Message -
From: Anupam [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, September 27, 2005 10:31 PM
Subject:
Hi there,
having a strange Problem here:
I started using EJB3 and thought that this is a very good choice for
middleware coding. So i built my model with it and tested it with
Swingclients and it worked out well. So i tried to use Flex1.5 to
build a Client. I used the RemoteObject tag and
You can find a sample at
http://flexauthority.com/samplesIndex.cfm
Look for the Flex TreeGrid under the advanced samples tab.
Sree
Tom Fitzpatrick wrote:
I'd like to constuct a datagrid whose display is controlled by a tree.
Nodes in the tree correspond to rows in the datagrid, which are
Guessing that the AMF deserializer on the client can't rebuild the classes
to ActionScript equivalent objects. Can you make a POJO, copy the
properties, and put those new objects back in the Array (or Object slots)?
Maybe if you put in a basic object that the AMF deserializer understands,
you
Thanks for the taking the time to detail out the issue.
Going to try the workaround mentioned and see if that helps.
- superabe
- Original Message -
From: Eric Raymond [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, September 27, 2005 8:33 PM
Subject: [flexcoders] Re:
One other thing; are you SURE they are undefined? Sometimes, OpenAMF is
notorious for wiping out the toString() method that comes with extending
Object, so a trace outputs undefined or null, but it really is an object
with valid properties.
- Original Message -
From: JesterXL [EMAIL
Hi!
Thanks for the quick answer. Well, the EJB3 EntityBeans are basically POJO's.
The Beans get deserialized and reach the Flash-App. It fails only when a
ManyToMany
Relationship exists, but not all the time. Sometimes they get deserialzed and
sometimes not.
There isn't really a pattern, or at
At 09:34 AM 9/28/2005, you wrote:
You can find a sample at
http://flexauthority.com/samplesIndex.cfm
Look for the Flex TreeGrid under the advanced samples tab.
Sree
Thanks, Sree - that looks like a good start. I did notice, however, that
there is an odd flicker in the tree on rollover, either
HI All,
I want to open attachment window like we have in Yahoo/Rediff where if
we want to send a file we click on attachment button then attchment
window opens from where we can attach files.
lly,I want to do this in Flex.
I tried with
A wild guess: try adding a / at the end of the gateway url.
endpoint=http://cfxtest.research.unc.edu/flashservices/gateway/;
I've seen USERID and alike being added to the gateway url when making remote
calls.
In that case, without the ending '/', the gateway url gets messed up.
Might not be
Im using the sample code from
mm.com siteNo significant changes.
http://www.macromedia.com/devnet/flex/articles/fp8_features.html
Are there any kind of security
restrictions that would come into effect when deployed to remote domain?
From: flexcoders@yahoogroups.com
...hey, I'm with you about breaking the elegance, but if I as a developer
can create ActionScript objects, and you as the Java developer can
understand them, who cares if the underpinnings aren't elegant, it works.
Still, it'd be nice to know what is going on...
- Original Message -
Actually, it's likely that you're getting an AppendToGatewayUrl AMF
Response Header from the server because it detected that while a session
was created during the request, the client didn't inform the server
whether it could accept cookies.
This AMF Response Header is trying to tell the client
Just a thank you-- Peter's solution solved my problem (I had the same
problem as Kim). =)
--- In flexcoders@yahoogroups.com, Peter Watson [EMAIL PROTECTED] wrote:
Try using something like this in the script block of the popup.mxml
import mx.managers.SystemManager;
var myPop;
I have a Flex app that's been running fine for some time. We recently
decided to try pre-compiling the app using mxmlc.
Within the app are several references to @ContextRoot() in the url for
HTTP services. When I perform a standard compile, meaning I use the
same flex-config.xml, and use no
I found something about an out of memory error with tomcat however I am pretty sure I am not using tomcat. I had no idea there were more than one type of out of memory error message?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
I read the faq thanks I have more than one .as file but as of yet only one mxml file perhaps I need to work on making another one to fix the 32k error? Do you all think that would help
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
Yeah, sorry. You need the pixel position of a character, and I have not
seen anything that would return this.
Maybe the Flash guys will have an idea. I am not confident, but they
have amazed me before.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL
This almost sounds like it could be related
to actionscript not having the correct Java mappings. This can cause these
types of headaches.
Try creating dummy variables for all the
classes used in the transaction at Flex application layer. I.E. var dummyObject
: DummyObject (Where
I have also heard adding more code can
help Strange but true. If adding more code does not work, then yes,
refactoring your mxml file should solve the problem.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday,
That's the brute force way. It causes all
controls in all panes of the ViewStack to get created at startup, and so will
cause your app to start up slower.
A better way is to initialize the control would
be in the childrenCreationComplete event on the pane of the ViewStack where it
The issue of cost doesn't affect the developer since you can get the
perpetual developer license for free.
The cost is a major issue when you go to put a commercial application in
production, and there is currently no alternative (if using Flex)
You can apply for a non-commercial license if that
Set the DataGrid selectedIndex to the index of the row you want to
select (duh)
If the row may not be visible, also set the vPosition = selectedIndex
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of manish
Sent: Wednesday, September 28,
and by the way in the newest 1.07 beta release, there's a SWC component
you can just drop into user_classes.
Best,
Alex
--
Alex Uhlmann
Software Consultant
iteration::two
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Philippe Maegerman
Notice the Note at the bottom of this page, which I think shows the same
grid:
http://www.cayambe.com/plog/index.php?op=ViewArticlearticleId=5blogId=
1
It discusses the flickering and a hint on how to correct it.
Here is the text:
setValue is creating too many objects. Every time it is called
Yep, it was the quotes around the numeric
values (width and height) that caused the problem. Thanks for the help.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Tuesday, September 27, 2005
11:05 PM
To:
The creationPolicy all method indeed
resulted in extremely slow startup time. In the end, in the initialize method
of the Application I explicitly called createComponent(0, true) on the
parent of the component I wanted to force initialization on and it works like a
charm.
Thanks for
For single page applications my remoteObjects work well.. My problems come when I use viewstacks.
I am not sure if I am declaring my remoteservices in the right place. At the mo, i do it in the canvas where my form is.
Regards
Tracy Spratt [EMAIL PROTECTED] wrote:
Perhaps this
Have you tried the debug mode or bogus
code tricks?
If that works, and your app is already
well-architected, dont split up the file.
If componentizing the app will improve its
maintainability, then do it.
Tracy
From: flexcoders@yahoogroups.com
No I have not tried debug mode I do not have the full software only the trial software is there a way to do this with the trial software?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Ok, problems when using ViewStack are
often related to the deferred instantiation behavior of the
Viewstack.
Do you understand that, by default, the
contents of non-visible views in a viewstack DO NOT EXIST until the user has
navigated to that view?
If your remote object
My issue is with the deployment cost. So the only alternative for small-time
Web application
developers is to have their own servers for deployment.
I am surprised that not many people are talking about it. It seems people are
happy with the
status-quo, ie. paying huge amounts to MM.
I am also
Out of curiosity, what is it that Flex would provide you
with that you couldn't use Flash to achieve? I mean, in your particular
case?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of AnupamSent:
Wednesday, September 28, 2005 1:55 PMTo:
On the contrary, this was a serious issue for a lot of people but that
has since calmed down. You might want to look at technologies like Zorn
that are based on Flex and aimed at lower end needs.
Carson
Carson Hager
Cynergy Systems, Inc.
I know when you first download the software it first runs as a trial software then it reverts to a local software or something like that after the trial period. How much does it cost to actually purchase this software?
--
Flexcoders Mailing List
FAQ:
This is a discussion that
should always be had with your rep as things can always change but the gist of
it is that the startup package is about USD 30K.
Carson
Carson HagerCynergy
Systems, Inc.http://www.cynergysystems.com
Email: [EMAIL
The FAQ explains how to try the debug mode
test.
This problem and its workarounds are not
related in any way to the kind of license you have.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday,
Yo. Well as mentioned there was HUGE sticker shock when MM doubled the
price, and a lot of complaining. But MM is aiming at large Enterprises
that can afford it. Similarly you can complain to Ferrari to drop the
prices of their cars... but if you wanna role with the high end you
gotta shell
I am working on a custom preloader that will show the user how much of
the service has been loaded. Does anyone know where I can see an
example of something like this that shows the amount of data loaded or
being loaded.
Yahoo! Groups Sponsor ~--
Unfortunatly, HttpWatch only works in IE but maybe I can find
something that works in FireFox.
I am able to call BableFish and other web services proxy-less. I
created a one method .Net webservice that returns Hello World and I
get the same error when I bypass the proxy.
Has anyone been able
Did you test every thing from the CFC side of things to?
Making sure the CFC is getting the correct arguments?
I would put some code like this at the beginning of your function in the CFC...
{all cfarguments and vared variables here}
cfset var myArgs =
cfsavecontent variable=myArgs
cfdump
I use Ethereal for all my packet-sniffing
needs. Its pretty good, doesnt usually work with a wireless card
though.
.NET services usually can be consumed by
Flex, the case that tends to have problems is fault handling when running
proxyless.
Matt
From:
I guess I should have been more specific I have a
preloader that I have made in flash. That I would like
to use in my test app.
It calls the functions qiAgentView, qiAgentFaq,
qiAgentDownloads, and qiAgentMarketing.
the functions are called from a cfc that I have
written.
OK, but that still isn't optimal. Why
initialize a control at startup that the user can't see until she navigates?
Did my suggestions not work, or do you simply prefer to write all
initialization code on the top level tag (i.e., Application)?
- Gordon
From:
Say I have a dev flex server with all the mxml files, the src files, assets,
fonts etc.
Now I use mxmlc to compile my main Index.mxml into Index.swf
I'd like to move this over to the production flex sever.
My question is, what are the bare minimum files(specifically within the
WEB-INF
Say I have this localhost/foo.mxml in with a localhost/bar.as skin style and the code looks like this:
?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
mx:Script
[Embed(symbol='bar')]
var simpleSquare:String = bar;
/mx:Script
/mx:Application
How would I set
I just talked to the guy here who had the problem, and it was just one
function he had to re-factor...in to the same file even.
Do you have a big function? If so, try making it smaller
On 9/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I read the faq thanks I have more than one .as
Tariq,
Thanks for the long list of alternatives. Some of them actually look
promising. Which one in
your view comes closest to the gizzmos provided by Flex?
My point is, I didn't see this group talk about alternatives. One way to put
pressure on MM is
to support an open source/3rd party
Stacy,
I'm getting a production example of this set up now.
Given the sandbox that the flash player runs in, I'm surprised that this would
work out of the box. We need this functionality for several things so I'll
be working through. I'll post back here with what I find.
Carson
Now that I've said that, I realize that this shouldn't be
that much of an issue provided it follows the rules for file access which are
basically that the access has to be user driven rather than script driven. More
to come.
Carson
Carson
I got this to work perfectly once I told Flex to generate
an object tag requiring Flash player 8 rather than 7. You can do this in
flex-config.xml.
Thanks to Jason Weiss of Cynergy for that tip on changing
the required version of the Flash player.
Carson
Hi All
I have a combobox that i wisth to apply a
mx:Validator field=formObjects.CanPlay required=true requiredFieldError=booboo validate=
/
1. I do not know what the function signature is for validate
2. How to get that nice red error tooltip to show up if its not valid
3. Does
Heya,
I thought i would reply in here vs to your private email about my Preloader on Mossyblog.com (hope you don't mind).
You can use your own home-grown preloader for the initial application
asset loading via mx:Application (ie simply slot in your own
preloader.swc into the 'preloader' slot.
Well I don't know if I would venture to "dirt cheap". What other
systems are you referring to?
If you're enterprise, and building mission critical apps, and
especially if it affects financial performance and need to be SOX
compliant you're basic setup is:
- 1 Development WS
- 1 QA Server
-
Check out this article:
http://www.lukew.com/resources/WebApplicationSolutions.pdf
If you search long enough you'll find some slides from a presentation
some guy did which I wish I bookmarked which talks about all the
offerings and their strengths and weaknesses (it's fairly neutral).
Is it possible to continue to use the Flex proxy server if you are
precompiling your Flex SWFs?
Yahoo! Groups Sponsor ~--
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
Yep, you just need to make sure the proxy
server location is compiled into the SWF or at least done with a good relative
url.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bob Remeika
Sent: Wednesday, September 28,
2005 5:12 PM
To:
Has anyone done validation on a datagrid cell?
What I am after this something like this:
A user enters the cell, and edits it's contents.
They are able to enter waht they like.
They leave the cell, and the validation fires.
If the cell content is invalid, an Alert is displayed with a message
Ill have to say I do agree with
Scott, Ive seen any number of companies out there that havent got
a clue as to what they currently have, let alone try to bring them into the
same realm. However, I will have to admit, when I started this contract, it was
with the intent of having more
Yep, not the issue Im having.
Everything works fine when running against my local app server. The exact same
application deployed on another box is whats causing the issue. Same
browser, same codedifferent hostweird
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
I was getting the exact same behavior as you were seeing until I
changed that setting on the server. Have you verified that the app is
using the Flash 8 player?
Have you changed this setting on your local server and possibly not
the remote server?
Carson
--- In
On 9/29/05, Tariq Ahmed [EMAIL PROTECTED] wrote:
Well I don't know if I would venture to dirt cheap. What other
systems are you referring to?
See SAP for starters, then once you jump that hurdle, now look at anything with the word ORACLE in it.
If you're enterprise, and building
hai john
say i have a flex site for online shopping... i need a search feature for the products... say i type the product name and it should fetch me the details about the product and all the links associated to it... so for this i need a search engine to be integrated with the flex site...
2 things that I am trying to set with the DateField tag...but no
success:
script:
function formatDate(date:Date):String{
return dateFormatter.format(date);
}
code:
mx:DateField
id=dateMiseService3
text=31 December
monthNames=['Janvier', 'Février',
Nithya,
Your example is generally more about
backend logic to find your data rather than searching incorporated with Flex.
If your products are stored in a database, youll need to use the
databases query capabilities to find the right products. You kept
asking about mondosearch so
85 matches
Mail list logo