I've seen a half dozen solutions to this on the internet but somehow they don't
work. Basically
I just want to set the selectedItem of a combobox:
mx:Combobox id=comboboxID dataprovider={httpserv.lastresult.system.data}/
// actionscript which won't work
comboboxID.selectedItem = something;
So
I am using caringorm and have two states defined in my main
appplication. I am using a currentstate variabe in my model, to define
decide which state to make current.
The second state has many child componets, and none of these are
getting initialised. On debugging found that the code is going
it compiles when using Label as the component, but it doesn't
compile when using DataGridItemRenderer (cannot resolve attribute
toolTipCreate. Should I use DGIR, but use a different event since
toolTipCreate isn't exposed?
mx:DataGridColumn headerText=PNR dataField=pnrLocator
Team-
We are currently researching if there any possibility of using flex
tehnology in Thin Client hardware with windows CE 5 in it. I want to
know if there anyone did this kind of settings and what are the
required plugins and tool to run flex generated files(swf/swc...) to
run that
I added a mouseevent handlers to teh stage and this is what I see when
I click on a textarea:
The MouseEvent's currentTarget is the application root. The target is
a VBox. I'm not really sure where this VBox is comming from. Is it
something automation adds in there? The TextArea is inside a
the code, as presented (using a Label), will reach the toolTipEvent
(as desired), but only after I put a toolTip= at the end of the
mx:Label text={data.pnrLocator}
tooolTipCreate=outerDocument.createPNRToolTip(event)/
line.
thanks alex!
--- In flexcoders@yahoogroups.com,
i need to use hidden labels to reference id's and such on multiple
modules...but if i choose to make them not visible or visible=false
then flex throws an error..
Yes it works when its visible=true
very strange how do i fix or do a workaround on this?
im wrong it does work i was misspelling the name
--- In flexcoders@yahoogroups.com, Jason B [EMAIL PROTECTED] wrote:
i need to use hidden labels to reference id's and such on multiple
modules...but if i choose to make them not visible or visible=false
then flex throws an error..
Yes it
Hi, all;
I have a component that was working last week, but on Friday I had a
crash that meant my machine would not reboot, so I had to restore
from the Windows Home Server backup. I thought my machine was back
100% from where it was, but I tried to run some Flex code that worked
last week
I've just imported a Flex 2 Project into Flex Builder 3 (still using the
Flex 2 SDK to compile) and started getting this error when debugging:
*** Security Sandbox Violation ***
Connection to http://localhost:1631/Improv2Service/improvService.asmx?wsdlhalted
- not permitted from
I've ben struggling with this as well. The issue is not with Flex; you'll have
this with any client server application.
You even have a bigger issue than what you are outlining...
The components you have to expose on the server can be directly accessed by a
skilled programmer without using
Interesting... I was also thinking that it may have been the cache so I
cleared the cache out and even did a hard refresh. I'll take a closer look at
this though...
Thanks!
From: flexcoders@yahoogroups.com on behalf of twcrone70
Sent: Tue 5/27/2008 10:22 AM
Hi all,
Currently i have a linechart with a single lineseries, using
annotationElements and extending ChartElement, i created a custom
chart cursor which draws vertical lines across the chart (using
graphics object) at specified intervals. For each vertical line that i
am drawing i am also trying
My recommendation was to copy the datatip code from DGIR to your
subclass of Label.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of djbrown_rotonews
Sent: Tuesday, May 27, 2008 10:00 AM
To: flexcoders@yahoogroups.com
Subject:
Try this:
http://blogs.adobe.com/aharui/2008/01/selecteditem_and_combobox.html
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of netdeep
Sent: Tuesday, May 27, 2008 9:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] combobox set
Don't know for sure, but you may need a manifest
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexawesome
Sent: Tuesday, May 27, 2008 9:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problems of defining a name space in
Use logo.text(); That returns only the text between those tags.
Note that you can't use text() to SET the text node, only to read it.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wild.katana
Sent: Saturday, May 24,
Check rowCount and rowHeight. If you explicitly set rowCount, the
rowHeight grows
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of burttram
Sent: Tuesday, May 27, 2008 8:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
An ordinary CheckBox will not retain its state when used as an
itemRenderer. Renderers are recycled and will not reliably keep any
state.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of leds usop
Sent: Saturday, May 24, 2008
There is no such thing as Flash application security?
Against what ?
How much is the value of the prize ?
Who is attacking you ? Why ?
The prizes are pretty big, so there is a justified concern for
security. The attackers would be facebook users, so they will
usually be 18-25.
--- In
Also, it looks like you are doing some work in the set data()
method. This method gets called more often than you might expect.
Consider, in the set data(), storing the data in a local var then
calling invalidateProperties(), then actually do the work in
commitProperties(). I think maybe I
I change my state to X and have a removeChild statement to remove a datagrid
(since
something else will take its place). My question is how can I have an effect
play instead of
just having it disappear. It seems like my RemoveChild statement is played
before any
transition is played.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
On Windows, in FF and IE, you tab to any regular Button, and space
will
activate it. It is standard MSAA
But how many people use that instead of the more ubiquitous Enter to
activate the highlighted button? I don't
Injecting a current client-side timestamp into an outbound request is a good
way to avoid Http response caching if you don't control the server.
If you do control the server, you should consider configuring it to set HTTP
no-cache headers in these responses to suppress caching.
Seth
From:
Trying to view page:
http://weblogs.macromedia.com/pmartin/archives/2006/06/flexunit_ant.cfm
Is serving up the CFM source, rather than parsing!!
However, weblogs.macromedia.com redirects to an adobe.feeds site, which has
no contact info, that I see...
--
: : ) Scott
Helping your grandma on
This is fallout from when the mxna servers went down. I'll mail Peter.
Matt
On 5/27/08 11:39 AM, sLangeberg [EMAIL PROTECTED] wrote:
Trying to view page:
http://weblogs.macromedia.com/pmartin/archives/2006/06/flexunit_ant.cfm
Is serving up the CFM source, rather than parsing!!
However,
--- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote:
I change my state to X and have a removeChild statement to remove
a datagrid (since
something else will take its place). My question is how can I have
an effect play instead of
just having it disappear. It seems like
Have you tried hitting http://myapp.4java.ca/messagebroker/amf (the URL your
channel is configured to use) in a browser?
You either need to get that working, or if your endpoint is running at a
different URL (maybe using a non-empty context root?), update your
configuration such that the
I have heard that POSTed requests do not cache. I use POST
exclusively, and have never had any caching issues.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Seth Hodgson
Sent: Tuesday, May 27, 2008 2:38 PM
To:
I am fortunate to have use of both my hands and all of the fingers on
them and my eyes so I use the mouse and cannot answer your question.
I assume this behavior is a standard and that folks who need it know it
and use it.
From: flexcoders@yahoogroups.com
You probably want the valueCommit event.
Be aware that this event fires quite often, and you will need to check
for null values and watch out for endless loops.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
What is your architecture?
Have you lookded at the FlexMDI framework?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of amorphis_gr
Sent: Tuesday, May 27, 2008 10:14 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
This was a useful tip. Thanks.
It appears that my Flexbuilder-generated SWC contains images in an
images directory. The compc-generated SWC has them at the top level
(using -include-file).
Is there any way compc can be persuaded to create the folder?
On Fri, May 16, 2008 at 2:00 AM, EECOLOR
Use mx:Text for paragraphs of text. But there is no reason to use
mx:Form for an Accordion pane if all you're going to put in it is
mx:Text. You should just use mx:Canvas instead.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com
Hi all,
gotten some user feedback on the app I am working on. big complaints
are when a user clicks back by accident or the refresh button. What
are you doing to limit how the user works in the browser so they don't
kill the app and their work.
Thanks
Jeff
Hello,
I must print a ticket on a printer Epson (thermique), and I can send it
a rtf file with special font for a quick print.
How can I generate and send directely a rtf document with AIR ?
Can I just send text, with font and font size, without canvas ?
Thanks
Jean
I couldn't find anywhere that I was setting RowCount to a number,
however your suggestion of explicitly setting the rowHeight worked
like a charm.
Thanks a million.
-Brian
Hi,
I am unable to get trace output from a custom flash 9 cs3 component
that is made into a SWC.
Is there someway to work around this so I can actually debug the
component?
- Austin
I have an application with a bunch of nested containers and
components. We are internationalizing this app (with ResourceModules)
and when someone switches languages we need invalidateDisplayList()
called on every child component of the app.
Iterating through the Application's rawChildren doesn't
That would be the wrong approach. Take a look at Gordon's article:
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization
You'll see that you just need to change the locale chain of the
resource manager. You already have a binding expression which invokes
the
On Tue, May 27, 2008 at 9:20 PM, Jean Szabo [EMAIL PROTECTED] wrote:
Hello,
I must print a ticket on a printer Epson (thermique), and I can send it
a rtf file with special font for a quick print.
How can I generate and send directely a rtf document with AIR ?
Can I just send text, with
I'm trying to parse a complex xml file (a log4j config file) and am
running into a number of problems:
* Flex seems to remove all the comments from the file. Is there any
way to prevent this? I don't need access to them in Flex, but do want
them to be untouched.
* I have no idea how to
I don't know if I have ever noticed this removal of comments, I'd need
to verify.
To iterate over nodes, use an e4x expression to return an XMLList, then
use a for loop. Or For Each, or For In. The docs have some more detail
and examples.
A list can also use XMLList as a dataProvider if
--- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote:
You'll see that you just need to change the locale chain of the
resource manager. You already have a binding expression which invokes
the resource manager.
Thanks for the reply Richard. The problem I'm facing is that
XML.ignoreComments = false;
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com
-Original Message-
From: dfalling [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] parsing complex xml
Date: Tue, 27 May 2008 22:09:41 -
I'm
I need to talk with someone from SDK team in part of WebServices.
Is that possible?
--
Igor Costa
www.igorcosta.org
Why do Strings make bad keys in a Dictionary? Is it just because you get no
benefits over an Object but it's slower?
And If I wanted a map of String (or similar) to a weak reference of an
Object, what's the best way to achieve this? Is the only way to put the
Object as the key in a weakReference
Good luck with that, although I've been poking around in their source a lot
recently, and I know Web Services can be... frustrating in Flex, so if you
post your question I might be able to help :)
-J
On Wed, May 28, 2008 at 8:40 AM, Igor Costa [EMAIL PROTECTED] wrote:
I need to talk with
Strings are interned so their reference counting can be tricky and
defeat the weakreference capabilities of Dictionary. I'd just use an
Object if my keys were strings.
There is no efficient mapping of strings to weak object references. You
can map stirngs to a Dictionary of Dictionaries
If your post contains keywords like WebService, DataSevices, fill(),
SOAP, etc, they usually see it and respond.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, May 27, 2008 3:58 PM
To:
I'd put a
if (_title == value) return;
In there. You probably won't gain *much* performance but it's only one line,
and it might help a lot depending on various bindings :)
Also, and I'm not 100% sure on this but depending on what you're actually
doing with _title, it might be more in line with
If you're GET requesting a URL that points to dynamic content that changes
with every request, whoever is in charge of the server really should be
setting no-cache, and they'd probably appreciate being notified of what is
in effect a bug in the service. Adding a timestamp get parameter just smells
Dammit, why didn't I think of strings to one-entry dictionaries? Genius!
Alex, that's why you're the judge, and I'm the law.. talking.. guy :)
Collecting the empty dictionaries would be a pretty simple job to do on a
timer using something similar to your background thread code too.
-J
On Wed,
Maybe they just don't like me :)
Either way, if we have the actual question in the group, it's definitely
more likely to get answered!
On Wed, May 28, 2008 at 9:03 AM, Alex Harui [EMAIL PROTECTED] wrote:
If your post contains keywords like WebService, DataSevices, fill(),
SOAP, etc, they
Off the top of my head, If the root of your XML doc is configuration, you
want xmlObject.category as a list of category elements, not
xmlObject.configuration.category
-J
On Wed, May 28, 2008 at 8:09 AM, dfalling [EMAIL PROTECTED] wrote:
I'm trying to parse a complex xml file (a log4j config
So.
Anyway.
Is there any plan on fixing bugs on WebService code generator for support
Weblogic webservice generator?
I did a test with .Net ws and works smooth but with Weblogic isn't working
properly.
I have the real situation.
On server I have Weblogic 9.2.2 publising DataServices and using
With Flex 3, the source code is all included, and it's pretty nice and clean
too. It takes some debugging single-stepping to get a handle on what's going
on in the XML and SOAP codec classes, but I managed to diagnose and fix a
bug in the encoder in about 6 hours work and I'm no flex ninja yet, so
Yeah, I should have mentioned that the server sending this file to me is
wrapping it in con, making that the root and configuration the only element.
On Tue, May 27, 2008 at 6:34 PM, Josh McDonald [EMAIL PROTECTED] wrote:
Off the top of my head, If the root of your XML doc is configuration,
thanks for reply, i renamed files in winrar, then successfully unzipped.
--
lwz7512
Ultrapower Flex Team Leader
OpenRIA -- A Window You Exploring RIA World
http://www.openria.cn
- Original Message
From: valdhor [EMAIL PROTECTED]
To:
Hi,
We have Microsoft Analysis Services installed and run on a server. We
have the msmdpump.dll run on the IIS. Then, we use HTTPService from
Flex to access the dll. It is running fine on the local machine.
But when we are trying to access the html wrapper or swf file of the
application
Anyone found a solution or a workaround for this issue? looks like
adobe has a bug open for this but no solution yet. Very annoying.
http://bugs.adobe.com/jira/browse/SDK-15489
--- In flexcoders@yahoogroups.com, Ronen Naor [EMAIL PROTECTED]
wrote:
Hi,
I'm using the webtier compiler
The only thing close I have seen is WebKut (although it allows you to load a
webpage and capture certain parts, entire page, etc.)...
http://toki-woki.net/p/WebKut/
Other AIR Apps here... http://freshairapps.com/
On Tue, May 27, 2008 at 1:57 PM, aphexyuri [EMAIL PROTECTED] wrote:
i'm looking
I would probably start with onunload javascript function for the html
that loads your movie.
this snippet should do the trick :
http://www.javascript-page.com/onunload.html
--- In flexcoders@yahoogroups.com, Body Works Studio
[EMAIL PROTECTED] wrote:
Hi all,
gotten some user feedback on
I was trying both routes- dataprovider and and iterating.
dataProvider:
function dataReceived(data:XML):void
{
list.dataProvider = data.configuration.category;
}
With the above, nothing showed up in the list. The xml sample I provided in
my original email was all wrapped by a con tag by the
We do have the bug open for investigation, but in the meantime...
Can you guys share your use-case for using the webtier compiler? I'm trying to
evaluate how many folks are using these features and for what purpose to check
whether our investment in them is correct.
Matt
On 5/27/08 3:00 PM,
Is there any way to add new items to the top of a sorted datagrid?
I know how to add stuff to a datagrid/provider, but am unsure about how to
keep the new item at the top of the datagrid and not have the underlying
sort kick-in.
TIA
- superabe
Cool, thanks for the tips Josh!
-R
Josh McDonald wrote:
I'd put a
if (_title == value) return;
In there. You probably won't gain *much* performance but it's only one
line, and it might help a lot depending on various bindings :)
Also, and I'm not 100% sure on this but depending on what
Hi there,
I have an application contents some components, all children are
contain inside of Canvas.
I would like to change the Width and Height of Canvas to set all
children size accordingly ( keep porprotion )
Shall I add listener to each of children? any easy way to get this done?
Thanks
You should really be copying from your XML object into a flatter AS object
first - for binding and inline editing and whatnot as the XML objects
contain *much* voodoo that can bite you. But here's a quick example using a
datagrid rather than a list. As for updating and persisting the XML object,
I had caching issues with IE using POST.
PS You can always do a POST using dynamic URL, which will stop
caching. It does not really matter what is in the request body.
Cheers,
Dmitri.
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
I have heard that POSTed requests
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
wtf, meant to say import statement.
-TH
--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
Hi Mike,
You're going to have to add an insert statement for the class:
import flash.display.NativeWindow;
Mike, in builder if you get an error like that , move the cursor to the end
of the offending keyword, like so:
private var nw1:NativeWindowcursor;
Ant hit ctrl-space, and usually the auto-complete will help you out with
your import.
-J
On Wed, May 28, 2008 at 11:50 AM, ibdwalrus [EMAIL
Reasons why your POST request could be cached:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Responses to this method [POST] are not cacheable, unless the response
includes appropriate Cache-Control or Expires header fields. However,
the 303 (See Other) response can be used to direct the
Like what some other people have said, use what you need or if your needs
don't limit your choices, then use what you want...with one caveat. Get rid
of Access. Access has very limited usefulness compared to a real server,
and if you're looking to learn, every single potential upside of Access
I do have control of the server and I'm using GET requests. I've also done
the setting headers. None of that did any thing. I am sending requests to a
single Servlet. I've setup a message to print in the log if any request
comes in and it shows the client never made a request. I think this is
I throw in my vote for Tomcat, and Java Berkley DB. I'm trying to use Blaze
DS, but still not there yet, so I can't point to it yet. I've been using
Flex Builder as well.
On Tue, May 27, 2008 at 11:26 AM, itdanny2002 [EMAIL PROTECTED] wrote:
Hi All,
I'm new FLEXer. I wanna to buy an
When loading a ResourceModule for the Japanese language, we also want to
apply a set of styles to change the default font to something Japanese.
I have a solution now that loads a ja_JP_Styles.swf through StyleManager
as well as loading a ja_JP_ResourceModule.swf with ResourceManager but
Can't you just use bindings? Like width={canvas.width}
On Tue, May 27, 2008 at 8:29 PM, flexawesome [EMAIL PROTECTED] wrote:
Hi there,
I have an application contents some components, all children are
contain inside of Canvas.
I would like to change the Width and Height of Canvas to set
Technically, text() returns an XMLList where all of the objects are of
kind text. And you can set the value of those individual nodes in that
list. So for example
text()[0] = value;
should work.
- Daniel Freiman
On Tue, May 27, 2008 at 2:31 PM, Tracy Spratt [EMAIL PROTECTED] wrote:
Use
I am not sure, if I could understand your problem correctly.
What I understood is you want to resize your components accordingly, when
your application is being resized.
To achieve this, you just define the top, bottom, left, right to every child
container.
like
mx:Panel
You won't get the information in the servlet if your server is caching a
text response. The browser may only be doing a head request, or it may be as
you suspect doing nothing. Download a debugging proxy like Charles (
http://www.charlesproxy.com/ ) to be sure. It'll tell you exactly what's
going
If I want to have an advanceddatagrid listen to the change event with
actionscript how do I do that?
So do the actionscript equiv. of ADG change=change(event)/
I have
var aGrid:AdvancedDataGrid = new AdvancedDataGrid;
aGrid.width = 850;
aGrid.height = 580;
Actually, it's fairly common to leave out import statements in
programming book examples to save space. Just FYI, since you'll probably
run into this again.
-Maciek
On Wed, 2008-05-28 at 01:50 +, ibdwalrus wrote:
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
wtf,
In that case, as the prizes are large and the audience will include hackers,
I'd go with a combination. Here's a few ideas off the top of my head, some
of them may be stupid, others too expensive to implement depending on your
prize money / risk of actual damages to your company if it gets hacked
The short version is that I have a Directed Acyclic Graph class. The
example code was retrieving a node from the graph. I don't need weakKeys
because the node set is controlled. Anything in the Dictionary that would
be eligible for collection would have necessarily already been removed from
the
Before we go too much further with this - it would be beneficial to
recognize that there is no such thing as a Generic USB Protocol that will
give everyone blanket communications with usb devices. every device has a
specific implementation that would have to be 'handled' in Flex/AIR similar
to
As object and dictionary use the same syntax, it shouldn't be too hard to do
some quick testing to determine which is faster when using strings as keys.
-J
On Wed, May 28, 2008 at 2:28 PM, Daniel Freiman [EMAIL PROTECTED] wrote:
The short version is that I have a Directed Acyclic Graph
Hi,
Try:
import mx.events.ListEvent;
aGrid.addEventListener(ListEvent.CHANGE, changeHandler)
Cheers,
--
Anirudh Sasikumar
http://anirudhs.chaosnet.org/
XML read/write is much slower than access of other class instances. If
you're going to do lots of reading and writing, I would consider
converting the XML data to object data.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh
The Resource and Styles subsystems use Modules to load at runtime, and
Modules sort of imply a single main class.
In the end, the single main class registers various resources and styles
with the appropriate manager, so if you create your own main class and
copy enough code, you can pack all
Have you tried calling OLAPSet.hierarchize()?
It returns a new OLAPSet in which the members are sorted.
--- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote:
Hi,
I'm trying to sort the results of my OLAPQuery, anyone has tried to
do
that? I can't find any info in the
If the things you are adding are not in sort order, then you no longer
really want the collection to be sorted. You could use a concatenated
collection to join the new items while the others remain sorted like I
did in this post:
I'm not aware of anything, but you could try JAXB for XSD - Java, and
then something like Granite Data Services' gas3 to go from Java -
ActionScript. We've recently done someting similar (although, granted,
we actually wanted the Java code as well), and it worked reasonably
well...
--
Maciek
93 matches
Mail list logo