Not sure when you're running that code. Did you try applicationComplete?
But this kind of practice doesn't scale. In a model-view design, the views
pull their data from the model so you don't end up with code that pushes stuff
downward.
Alex Harui
Flex SDK Developer
Adobe Systems
The really proper solution is called why do you need it anyway? (c)(tm)
:)
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
Maybe the solution is not to bind the selectedItem but set it explicitly?
Tracy Spratt,
Lariat Services, development services available
Hi FlexCoders,
How do I change the Result property of a web service operation?
For example, I have declared my WebService as follows:
mx:WebService id=ws
mx:operation name=Call_One result=Call_OneRH(event)
fault=Call_OneFH(event) /
mx:operation name=Call_Two result=Call_TwoRH(event)
Hello,
Iam getting the following error in my application . please help me in
solving this problem.
[RPC Fault faultString=HTTP request error faultCode=Server.Error.Request
faultDetail=Error: [IOErrorEvent type=ioError bubbles=false
cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL:
Sorry no I meant the min height.
I didn't have a lot of time to answer when I typed this reply out before.
I've seen this behaviour with dataGrid and I got stuck with it too, I asked
here on the flexcoders mailing list. Basically when the items in a
container are larger than its height. The
On Wednesday 19 Aug 2009, Angelo Anolin wrote:
the datavisualization.swc to a folder where the MXMLC compiler is located
and when I run the compiler, I include the folder as library in the command
line.
There are proper instructions for this :
if you need to load an external xml file from the file system rather than
from the server, compile your flex project using the option *
-use-network=false*. however, compiling in this fashion will not allow the
swf to make calls to the server.
On Thu, Aug 13, 2009 at 1:57 AM,
Thanks! Setting the minimum height works but still its counterintuitive at
the least...
Can somebody from Adobe point me to the docs explaining this behaviour?
TIA,
Fotis
On Thu, Aug 20, 2009 at 10:39 AM, Wesley Acheson
wesley.ache...@gmail.comwrote:
Sorry no I meant the min height.
I
Alex,
Awesome, that makes total sense now! of course, the VBox will naturally flow
the objects downwards...
Thanks!!! :-)
2009/8/20 Alex Harui aha...@adobe.com
Should just be VBox with 5 DG’s in it. Set rowCount to change its size.
Alex Harui
Flex SDK Developer
Adobe Systems
There is a bug where an air app cannot maintain the permissions of executable
(r-x) files within the project.
If you put any executable file like a applescript.app or say a flash projector
within a project (in the src directory), when you create the air package (.air)
and install it the
Hey Nick, yeah ImageSnapShot is a class that basically takes a UI component and
spits out the bitmapData, which you can encode as a jpg / png.
http://www.cs.vu.nl/~eliens/im/assets/flex3/langref/mx/graphics/ImageSnapshot.html
I just don't want the 'snap' of a container to have any scroll bars,
I agree its counter intuative. There is some documentation on the measure
method of box. This behaviour isn't explictly mentioned however It may be
covered if you delve into the rules on
In that case, can you post your weborb-services-config.xml file?
--- In flexcoders@yahoogroups.com, Andrew roly...@... wrote:
Thanks valdhor.
I have double checked but I am already referencing
'weborb-services-config.xml' and i and still having the same issue.
--- In
The datagrid is a good example of a list control. There are many examples of
the ListEvent.ITEM_CLICK event for a data grid.
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Hi.
I looked up the documentation for Flex and was not able to find a good sample
of
Probably not. In ActionScript, you would add an event listener. For a remote
object it is...
theRemoteObject.theOperation.removeEventListener(ResultEvent.RESULT,
firstResultHandler)
theRemoteObject.theOperation.addEventListener(ResultEvent.RESULT,
secondResultHandler)
I would think it would
OK, that's amazing...
Is there not a way to test if the scrollbars are actually visible? Different
from the scrollbar visible policy?...
You could always crop the image I guess? can you do that in Flex/ AS?
Or you could force scrollbars to be visible and then always crop the image
that's
Can you get to http://localhost:8084/Projects/projectdelete.do from a browser?
ie. Just type the url in the browser. What do you get?
Also, what does Charles show?
--- In flexcoders@yahoogroups.com, Purnima S purnima2...@... wrote:
Hello,
Iam getting the following error in my application .
I need to debug deep linking in my project (When a user pastes a URL in the
browser and presses Go). If I just paste the URL, the browser is not connected
to the debugger. So, I need to be able to add the fragments to the debug URL in
Flex Builder. I thought I could just do that in the
Hi,
I've been asked to fix a problem with an existing project that has some
icons rendered (using an ItemRenderer) in the 1st column.
I need to NOT display these icons when the grouping function is activated
and the row is a grouping tree.
The ItemRenderer component has a get and set override
This book explains how to design, build and test the Flex Data Services and the
server-side Java stack of an application built with the Adobe Flash Platform.
Java EE technology such as Tomcat and Hibernate are covered in detail,
including reverse engineering ORM POJOs from a database schema,
...oops, the URL is http://www.slinnbooks.com
Any suggestions how to overcome this error with the BroswerManagerShim:
ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined.
I need a preloader to work with anchor tags... thanks. Software should operate
like a German car, not a French car.
Thanks,
Patrick
Alex... I've tested it out and it works nicely... Thanks again!
No I just need to learn about animated transistions so it's bounces between
the sizes... :-)
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
styleName=plain
mx:Script
![CDATA[
private function
Hi Alex, if I need both objects to be identical, how can I assign different UID?
If I double click the object on the parent node, I enable a view to edit the
object.
The same object is found nested deeper in the tree, if I double click it, it
must edit the same object on the parent branch.
I think that's a player version problem. Make sure you're running the version
of the player that the SWF is compiled for.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com
It is a Tree, not a DAG. The same node cannot appear in a tree.
You can have proxy objects in the collection that update a shared object.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com
Hi
I have a module, that needs to wait for the parentApplication to finish the
httpservice so that it can get the data and do some stuff.
so the httpservice has a result handling function,
how can the module know when to get the result? i guess i need to use
eventlistener, how?
thanks!
c
Hi
my application needs to wait until two (or more) resultHandlers to get their
results and use them together.
for example,
mx:RemoteObject id=myRO destination=test fault=FaultHandler(event)
mx:method name=getList1 result=handleList1Result(event)/
mx:method name=getList2
Is it possible to call remoteObject multiple times. This number would be based
on the number of records in an arrayCollection.
This calls it only for the first record.
for (var i:int = 0; 1 departmentlist.length; i++)
{
If you need to wait for both results, then that is the best way.
--- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote:
Hi
my application needs to wait until two (or more) resultHandlers to get their
results and use them together.
for example,
mx:RemoteObject id=myRO
private var list1Result:ResultEvent;
private var list2Result:ResultEvent;
private function handleList1Result(event:ResultEvent):void
{
list1Result = event;
if(list2Result)
{
handleResults(list1Result, list2Result);
}
}
private function handleList2Result(event:ResultEvent):void
{
Look into AsyncToken. All the RPC calls, inclusing WebService return an
AsyncToken, which is a dynamic object to which you can add any property you
want, and you can retrieve the value of that property in the result handler.
Set a called property and use a switch statement to decide how t handle
You can use mx:XML source=myFile.xml . for compile time embedding or you
can use HTTPService for run-time retrieval.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Gautam P
Sent:
I'm trying to load a few elements of an RSS feed into a DataGrid, and I'm
having trouble with the code to pre-sort the data before the grid gets it.
Here's a snippet of the code:
private function requestRSS(e:FlexEvent):void
{
initVars();
I've not experienced it yet my self but the problem is probably the dates.
Flex does string comparison on the dates not object comparison. (even if
they were dates which they're probably strings by the time they get into
your application. I haven't verified the accuracy of said post but at a
Hi,
I'm writing XML for an AnyChart component and I am having troubles setting the
value of a node attribute to a dynamic element, i.e.
// The method accepts a DTO
private function createSemiCircularGaugeXML( gauge:GaugeDTO ):XML
// I can write it here
text{gauge.label}/text
// But not here
Thanks for the response Wesley but this is an IR-specific issue.
A couple more findings, now it's no longer just my machine. Another team
member has also ran into this when is reencrypt called while running the
production build within AIR and using adl to run it however it's fine for him
in
--- In flexcoders@yahoogroups.com, coder3 rrhu...@... wrote:
Hi
I have a module, that needs to wait for the parentApplication to finish the
httpservice so that it can get the data and do some stuff.
so the httpservice has a result handling function,
how can the module know when to
Hi Alex
Thanks
ilikeflex
From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Thursday, August 20, 2009 1:44:50 AM
Subject: RE: [flexcoders] Parser Error | Itemrender
mx:Component defines a sub-document within
You don't really get much in the way of thread control in Flex, but a neater
way might still be to create something of a pseudo-barrier.
At the time each object is fired, you would also add a token to the barrier,
latching it and increasing the counter on that token. Each event listener
could
This may be essentially the same thing Tim is suggesting, but you could set
a property on an associative array (Object) in the send function and delete
the corresponding property value in the result or fault handlers. When
for..in returns zero iterations, all calls have returned.
Tracy
If it is not a date format issue then you might want to put the XML list
into a collection array and sort that. If you want to keep the xml (as I
often do), use setChildren to assign the sorted XML list back to the root
xml.
If you do not need to keep the xml (as I sometimes do not) Put the
Hi FlexCoders,
I have some inquiry with regards to Drag and Drop.
Supposedly I have 5 List controls with IDs:
lstControl_Source1
lstControl_Source2
lstControl_Source3
lstControl_Source4
lstControl_Source5
All these list controls are possible source of drag items.
I am dropping the dragged
Browsers don't allow fragments such as #anchor to be appended to file:
URLs, as they do for http: URLs. The workaround for your scenario is to
have Flex Builder compile the SWF into a directory where an HTTP server
can find it.
For example, suppose you are on a Mac; /Users/johndoe/Sites can be
Should be: event.dragInitiator.id
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Angelo Anolin
Sent: Thursday, August 20, 2009 5:13 PM
To:
45 matches
Mail list logo