I'm trying to extend
a subclass of the Proxy class and I'm getting an error. Here is an example
of my problem:
// ProxyA.as
package
{import flash.utils.Proxy;import
flash.utils.flash_proxy;
public class
ProxyA extends Proxy {flash_proxy override
function callProperty(methodName:*,
I'm creating a custom component extending UIComponent.
Much of the component is drawn by the Drawing API during the updateDisplayList
using
settings calculated during the commitProperties. Works great.
The problem arises when the end developer USING the component changes the size
of it
Rich,
No. I have yet to run this app and see 300MB of RAM
consumed ever. Mine gets a ceiling of like 12MB and never goes higher.
When the GC runs it destroys objects within the
totalMemory within the player. When the player needs more memory for new
objects, it adds memory if the
How about cvcompanyValue.selectedItem.data
michrx7 wrote:
Ok, so I've created a combo box with id cvcompanyValue, then I
call my
coldfusion cfc and return a query with two fields "data" and "label".
Data holding a list of company IDs and label holding the corresponding
company
i completely agree with Jeff - using the events is the best way to go.
If, for some reason that doesn't work for you, you can always reference the
application
using mx.core.Application.application, which is a reference to the top top
Application
(even if your swf is loaded inside another
I too have had problems with XML nodes in tree. One thing that eliminated a lot of the issues was reassigning the dataProvider of the tree explictly (right after you update the node.so...[Bindable]private var xmlN : XML private function updateTreeDataProvider : void {//code that updates
Hi,There is a RESIZE event but...If you are actually creating a custom component, I wouldn't recommend attaching events that actually are going to effect your updateDisplayList() and commitProperties().
Ok, If a client calls width or height, you are going to get an invalidateProperties(),
opps, missed one;5a) myComponent.commitProperties()5b) myComponent.measure()Peace, MikeOn 8/23/06, Michael Schmalle
[EMAIL PROTECTED] wrote:Hi,There is a RESIZE event but...
If you are actually creating a custom component, I wouldn't recommend attaching events that actually are going to effect
Hi,There is some issues with the Tree and XML dtat provider collections.One thing I can suggest is;Add an event listener to the divider bar release, I can't remeber what it is, in that handler call
myTree.invalidateList();Give it a try and let me know.I have the same issues with using
Has anyone tried to install the plugin to RAD 6.0? When I try it tells
me wrong eclipse version. It looks like my RAD eclipse version is
3.0.2, but RAD 6.0 is IBM's latest and greatest. Maybe someone could
tell me how to install it successfully? Am I gonna have to run two
versions of eclipse? : |
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A few things...
First I am working on a demo that will show the performance and
bandwidth differences between the various ways of exchanging data
between Flex apps and the backend. I'll let everyone know when it's
ready... Hopefully next week.
Greetings -
Expanding on the Connecting to Web Services tutorial, I added a
combo box for switching between methods of the API to the Adobe blog
aggregator, ie from getMostPopularPosts to search.
As both methods return the same columns, the data grid displaying the
result can stay the
Just try loading a large amount of buttons a few times and watch the memory go up and up. When I went back to just a few buttons, the memory actually went up a little rather than dropping back down.
http://www.everythingflex.com/flex2/MemoryTest/
RichOn 8/23/06, Rich Tretola [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry for the double post. Forgot to mention one thing...
The benefits are also seen with DataService, and ever more so when you
use lazyLoading and paging.
- -James
James Ward wrote:
A few things...
First I am working on a demo that will
Hi Benjamin,
With regard to the exception, in your services-config.xml file you'll can find
a channel-definition for an RTMP channel. The RTMP channel endpoint on the
server is a socket server that binds to the port specified in the endpoint
uri=.../ element. A single port can't be bound by
When components you are creating, framework you will want to use, no?I don't know if I understand exactly what you are asking but, if it is When I create components that are .as files and subclass a framework class, do I want to use the Template Method Pattern of the flex framework?
The
I have not heard of this caching bug
before, but Ill follow up and see Flex Builder is doing any caching that
might cause this.
It is the case that when you compile your
SWF, the compiler needs to have a pointer to your services-config.xml
file. It includes a subset of the
just want to say your not the only one... 2 other people have had the same sort of problem here and I have too... it's annoying to be honest. it does go down eventually but not by it self... I've left it running overnight ( one of my applications ) doesn't go down much
On 24/08/06, Rich Tretola
Is there any way to a: get an flv clips framerate? end result being I
want to parse the current .playheadTime to timecode from seconds for a
label control.
b: lock the application framerate or set it to match the flv? end result
being I need a constant framerate during playback so they can see
How you found any kind of resolution? As it stand right now my application will be unusable by most of my audience which will obviously not make management happy. I haven't had this problem with other apps, but there were not nearly as object and data intense.
RichOn 8/23/06, sinatosk [EMAIL
I swear I tried that at one time...but since it works I guess I didn't.
Thanks to both who answered!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
wait little mix up... it does go down by itself but only if the application seems to increase the memory usage fast or something like that but even then that doesn't always workOn 24/08/06,
sinatosk [EMAIL PROTECTED] wrote:
just want to say your not the only one... 2 other people have had the
Hi all,
I have loaded a collection of managed objects, made some changes to
one of them, and called the DataService.commit() to commit these
changes back to the database.
My DataService is connected to a HibernateAssembler destination, and
this destination worked to create the initial version of
Hey, answered my own quetion... figured I'd post it here in case it helped
anyone else...
So... you're using an mx:WebService to call a ColdFusion CFC. The
ColdFusion query object returned in lastResult is an array inside an array,
but, it's more than that too (the debugger is your friend)
Yes, use a server-side proxy to return the
data in response to a HTTPService post request.
Though to be honest, I am not absolutely certain
that this data is not cached somehow.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
Darren,
You are using a tree according to the
example in your post. Or have you changed your question?
At any rate, binding is very difficult to
debug. I advise using a handler function in which you can use toXMLString() on
the event.result object.
Then work your way down
Thanks Martin; this is good information. It sounds like the JDT has a good
solution, although I wouldn't mind seeing behavior similar to Visual Studio
where referenced projects are built and then added to the bin directory of the
referencing project. I recently read a thread here talking about how
What is the actual structure of IACleanService.authenticateUser.lastResult?
Trace it out with toXMLString().
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darren Houle
Sent: Wednesday, August 23, 2006
1:54 PM
To:
I've been using this method ever since I started with Cairngorm.
http://www.darronschall.com/weblog/archives/000234.cfm
It makes a lot of sense and just feels more natural to me to have the
commands handle the results and faults since they are the ones
requesting the calls anyway.
HTH,
Ben
Are you using either the version
or timestamp features of hibernate? This causes improper
conflicts to be detected in the GMC version (though we have fixed this already
in house). To workaround that problem, you can turn off conflict detection:
Hello All,
I have a ViewStack Container, with many Children within.
Each child has it's own unique set of data-driven controls, and each
time the user goes back to a specific Child, I need to Requery the
database, so that I get the freshest data each time. The easiest way to
do this, is listen
When selection changes, you can access current selected child via ViewStack.selectedChild, which points to the currently selected child container, you can then trigger a method inside the child to re-grab the data. see if this works for you :-)
On 8/24/06, Mike Anderson [EMAIL PROTECTED] wrote:
Hi Jeff,
I am not using the version or timestamp features of hibernate, however
I am using the cascade=all feature to manage sets of child objects
off of the main managed object. In fact, it is this collection of
child objects that has changed (removed one, added one, etc.)
Should the transitive
True, but then you're relying on server side sessions... that's stateless,
but not independant of the back-end technology.
Darren
From: Dave Wolf [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Choice of backend systems - which
Ethan,
I don't think it's your typing, I think it's your timing. Looks like you're
flipping your postTyper() when the combobox is changed, but that's not
firing a new send() like the original blogger example did. Try changing
your code so that changing the combobox triggers the send() and
Yes Tracy... I was working on two similar issues at the same time and one
used Tree while the other didn't. The Tree question was answered a while
back (using labelField) so I got confused... sorry :-) and thanks!
Darren
From: Tracy Spratt [EMAIL PROTECTED]
Reply-To:
what about dataProvider={TestService.getEmployees.lastResult.person} ?DKOn 8/18/06, Darren Houle
[EMAIL PROTECTED] wrote:I have a ColdFusion Component (web service) that looks like...
cffunction name=getEmployees access=remote output=falsereturntype=xmlcfxml variable=myxmlpeopleperson
Hey all,
I am using the ActionScript HTTPService and I found an issue with it.
I feel its a bug, but I may have been misusing the functionality
and I got away with it until I pushed too far. Here is the problem/issue:
I have a JSP app that I am calling via HTTP that returns XML data.
One of
Yes I have had the same problem with all the applications that I have
created. Not sure if bad coding on my part or bug in the plugin.
Hope this problem gets fixed soon!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hi
All,
I developed an
application that's essentially a property sheet with a tree and dataGrid in it
and it works just fine. Specifically, when I roll over a tree item or row in the
dataGrid , color of the background automatically changes to the nice default
"highlight" blue.
Later I
Have you tried setting the recycleChildren attribute of the Repeater to false? I believe when you have recycleChildren set to true, even if you reduce the number of items in the dataProvider, it still keeps an object in memory that it will reuse. I've actually encountered other issues with
Is there a HTTP based back end that does not support server-side sessions?
--
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs
Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
--- In flexcoders@yahoogroups.com, Darren
Ethan,
Yup, that was it. This works (although it's certainly not the only way to
do it)...
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationPolicy=all
mx:Script
![CDATA[
[Bindable]
Hey Jeff,
This is very helpful. I didn't know about the
trace(ServerConfig.xml) trick. Would it make sense to add some
special logic to the compiler to validate all destinations in the
code? That would need to apply to all mx:RemoteObject declarations as
well as ro.destination = xxx type of
Hello All,
I have a Form with several fields - and those fields are all bound to a
ValueObject (using the Curly Braces method).
After doing my database calls, etc., my Form populates beautifully with
all the values. However, if I edit any of those fields on the Form, and
then send the same
There should be some samples that use these
classes to help you out (or check the ASDoc). ResultEvent and FaultEvent are
the common ones though.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of moni_singhal
Sent: Tuesday, August 22,
OK, weve filed a bug on this and
will look into fixing for the next release.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes
Sent: Tuesday, August 22, 2006
12:02 AM
To: flexcoders@yahoogroups.com
Subject: Re:
It will be an AsyncToken.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of moni_singhal
Sent: Tuesday, August 22, 2006
9:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] service
class PendingCall
Hi All,
Actually
Yeah, RAD 6.0 is based on Eclipse 3.0.2, I
believe they are updating in their next release. We will be working with them
to try to make things compatible. So for now you do need two versions of
Eclipse. Sorry!
Matt
From: flexcoders@yahoogroups.com
We use a Timer in our non-visual code for
this.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sergey Kovalyov
Sent: Wednesday, August 23, 2006
8:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What is the
best
Ah, I believe HTTPService does a for..in
loop over the parameters, and if you use a strongly typed class the for..in wont
return anything. Then when you try to send no parameters to a POST request it
will be turned into a GET by the Player.
We should make sure thats mentioned
in the
For the .Net guys, remote objects is
pretty much out of the questions, since remote objects are tightly integrated
with the FDS sytem (JAVA-based) which needs to run in a JAVA environment.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mark
No, binding is only one-way, youll
need to set up the 2-way yourself.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mike Anderson
Sent: Wednesday, August 23, 2006
9:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Don't
Hi Ted,
We all understand your arguments 1 and 2.
But in the end, and thats already identified in this topic, its
the user experience that counts. If it does not suffer by using web services,
its not an issue! Id like to hear the first story that changing
webservices by AMF
I sometimes see that when I shut down the
tomcat server. Its usually nothing to worry about.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec
Sent: Wednesday, August 23, 2006
6:21 AM
To: flexcoders@yahoogroups.com
Subject:
Franck,
Let me disagree with regards to .NET. Our product (WebORB) offers the
same support for RemoteObjects in .NET as FDS for Java. In fact, now
we also can claim the same support for Ruby objects as well.
So I am still curious where RemoteObjects would be inferior to Web
Services. Anyone?
101 - 156 of 156 matches
Mail list logo