Hm...
Matt, I thought the problem will be fixed in 2.0, because developing in
the runtime that silently ignors the exceptions is absolutely
unaceptable for a lot of developers. It is extremely hard to locate
problems in this case. I can understand why it is not implemented in
Flex 1.5 since
this is follows on from the post Matt recently answered(thanks btw).
i have a function on a base class (MyBox.as..extends a Box) as follows
public var myString=;
public function someFunction():void
{
myString = helloworld;
}
if i now call this function from my extended component (see
Hi Martin,
Did you see my previous reply? I've pasted it below.
Thanks,
Paul
Previous reply:
===
Hi Martin,
Can you post your code?
Another guess: Are you using an Array or an ArrayCollection as your
dataprovider? My understanding is that you must use an ArrayCollection
if
Hi,
Im using the webservice class and having difficulties
setting the result as the datasource for my treecontrol (it stays 2-dimensional
and it doesnt create the child nodes, since the data is all in object/array
format). So Im trying to use the e4x format to see if this would help.
Ive
checked through the block and found 3 Ant build files, but none of them mention
the Flex compiler anywhere (compc.exe), not sure if this is helpful. Thanks
anyway for the link!
Sascha
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Hi Tracy,
An example would be great if you got any. Even if it's in 1.5 I think it
will be helpful to understand how AS and Flex works together.
Thanks,
Sascha
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Saturday,
Has anyone been able to get Flex 2.0 remote objects to work over a
SecureAMFChannel (HTTPS) in Apache or IIS via the JRUN connectors? I
have had success over a AMFChannel (HTTP) in Apache and IIS, but have
only been able to get it to work over a SecureAMFChannel (HTTPS) when
using JRun by
Dear All,
is that i can set the default PrintJob.orientation before the
printing start?
thx
capho
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
hello,
I have simple mxml file in which I am importing a swf publish in
flash8
I can see the output in flex builder in design mode also get
successful compilation result when I compile it by mxmlc command line
complier
but when I open a sand alone swf i get a dialogue box with these
Hi Friends,
This is Rakesh Reddy from hyderabad. I am working as a Senior Software
Engineer in Kanbay Software India Pvt.Ltd. A well known MNC which has
more than 5000 employees all over the globe.
We have urgent openings for Flex Developers. Requirement as follows..
Positions: 6
Location
hello,
I have simple mxml file in which I am importing a swf publish in
flash8
I can see the output in flex builder in design mode also get
successful compilation result when I compile it by mxmlc command line
complier
but when I open a sand alone swf i get a dialogue box with these
Ok, I use the dataProvider API method editField to update the values. Now I don't have to reassign the dataProvider and the focus is still on one of the cells. So far so good
But the fields, even the one I just edited, stay empty.
I use labelFunctions on the fields to format the numbers
When
I just figured out why it was not working as expected... To test it
out I had Labels as children of each Panel, which means that they were
text and as such would not work with the Fade (according to the docs)
unless they were embedded. I switched the effect to a Dissolve and
everything worked!
Thanx for the reply, I'll be using icons and not text labels.
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
Have you made sure the font is truly embedded, using one of the
techniques mentioned in the docs?
E.g.,
Mike, thanks for the reply. I made a couple of attempts at casting to
a button but I must be missing something. Here is a simple example of
what I'm talking about. If any row is selected in dg, then all
buttons except button A should be disabled. What do I need to do to
make this happen?
Hi - and welcome to Flex :)
MXML files get turned into AS prior compilation and you can do pretty
anything either in MXML or AS. A typical usecase is to setup a
Controller inside your main Application file. This can be done either in
a Script block or by tag syntax as Tracy suggested. Below
You need to import the Button class, and then you can try something like
this:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=*
layout=vertical
mx:Script
![CDATA[
import mx.events.ItemClickEvent;
import mx.events.ListEvent;
// Add this
I created a custom component there are some text Areas in that
component
This component will be imported in main application
My final and simple goal is :
To load a xml file -- loop thru the array of
node dailly_learning
And attach the custom component as many as dailly_learning
I've been using Cairngorm in Flex 1.5, haven't used C2 in Flex 2 yet, thanks
for the link!
In that case, yep, have to do what Alex suggested.
As far as maintainable code, you can extend a Cairngorm Event class (or you
own), and attach a callback function to it. Your Command classes can then
Mykola, I'm slightly confused by your post in contrast to
what Sergey and Stanislav originally said.
I read Sergey's post as that he was having trouble with
uncaught exceptions and had to add a lot of code to catch and possibly ignore
such errors. I read your post to mean the opposite of
hi flexcoders;
The idea is I have a container swf, a list swf and an add swf.
When container swf is running, it first loads the list swf and
displays some buttons like add. The list swf displays data in
several pages and you can change the page with a horizontal slide. When
add button is
PeterMatt, declaring the variable in the AS file fixed the JAVA to AS mapping.Thanks a lot. ValyPeter Farland [EMAIL PROTECTED] wrote: Valy, the only bug I know of in this area for Beta 2 has to do with AMF 0. If you're not changing the objectEncoding of the underlying
history manager did the trick! =)Thanks, Matt.-TomOn 4/22/06, Matt Chotin [EMAIL PROTECTED]
wrote:
Hmm, could be a problem with the
HistoryManager, I know we've made some changes there. You can disable
the history manager maybe and see how it goes without.
From:
Dave, thanks for your help! What you said makes sense, but
unfortunately I'm still having trouble with it.
Here's my ColdFusion code:
cfscript
MXMLc = URLClassLoader.LoadJarClass(C:\Program Files\Adobe\Flex
Framework 2\lib\mxmlc.jar, flex2.tools.Compiler);
Args = '-flexlib C:\Program
Hi,
This is an easy solution but, for the life of me I cannot get the background image to show up on anything compiled.
When Viewing the ui in Eclipse/plugin FB2, I can see the
backgroundImage applied to all the different containers, But, when I
export(compile) and view in FireFox, nothing is
Hello,
You could use a Model tag for accessing the xml within your app, and
a Repeater tag to loop through the items and pass their values to
your custom component. I'm assuming your component has variables
for the category, notes, and date_day xml fields, so code would be
something like
Andrew, hi
You would have to implement your own class that would extend
mx.containers.Container class. You would need to implement measure()
and layoutChildren() methods.
Dmitry
--- In flexcoders@yahoogroups.com, Andrew D. Goodfellow
[EMAIL PROTECTED] wrote:
We're all super familiar with
That is the Developing Rich Clients with Macromedia Flex book which
was written for Flex 1.0. You should look at the Flex 2.0 documentation,
including the migration guide, if you want to try to get that example
working. Validators have changed quite a bit since Flex 1.0.
Stephen
-Original
I had a similar issue with the ap that I'm working on. When the
user clicks a search button, I dispatch an event that triggers a
command to get data, update the model and change the view. However,
I also needed to calculate summary fields (count, totalAmountDue)
once the data was retrieved.
Cool!
thanks a lot
yes i have the variables in my component file
and also the xml and component mxml is available to mail
application I could import one instance of custom component
just the information on repeater component(which in the hirarchy of
container class ..am i right? ) was
I've also setup the flex application to run on Tomcat. Again, it works
fine over an AMFChannel (HTTP), but not over a SecureAMF channel
(HTTPS). It seems that there's a bug here. The only platform I could
get it to work strictly over the SecureAMFChannel is standalone JRun.
I was not able
Mybest practice for now is:
mx.core.Application.application.dispatchEvent
using this syntax will always work.
On 4/24/06, Tim Hoff [EMAIL PROTECTED] wrote:
I had a similar issue with the ap that I'm working on.When theuser clicks a search button, I dispatch an event that triggers a
command to
No, the Repeater is not a container; you will need to place a
repeater object within a container (I used VBox in the sample, but
any container should do).
You can use createClassObject() to create child objects at runtime
in AS. MovieClip.attachMovie() should be there as well, although I
Title: Job Openings - Cynergy Systems
Hello Flexcoders,
We have a number of exciting Flex projects going on here at Cynergy and are looking for a few talented individuals to join our teams in Washington, DC, Houston, TX and Grand Rapids, MI.
Who are we looking for? Energetic and
Have you traced or otherwise debugged the call to formatNumber? Will it work if the function is in the same file as the labelFunction? Perhaps it is a scope issue?
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Ott
Sent: Monday,
I'm just starting to learn Flex 2.0 and wondered if Developing Rich
Clients with Macromedia Flex is too out of date, or if it's still
useful with Flex 2.0.
Also, does anyone have any 'getting started' material, like links to
tutorials etc.
Thanks
Alex
--
Flexcoders Mailing List
FAQ:
This very simple sample app consist of three file. One is an ordinary
class, one is a class with static methods and the third is the main mxml
file, which uses the two utility classes.
Tracy
?xml version=1.0 encoding=utf-8?
!-- UtilityClassTest.msml --
mx:Application
Alex MacCaw wrote:
I'm just starting to learn Flex 2.0 and wondered if Developing Rich
Clients with Macromedia Flex is too out of date, or if it's still
useful with Flex 2.0.
Also, does anyone have any 'getting started' material, like links to
tutorials etc.
Thanks
Alex
--
Thanks, Oscar (and Mike).
This does answer my question. I was looking for something more
dynamic, though, in case buttons were added or removed. I'll tinker a
bit more (btnbar.numChildren, etc) but thanks for the jump start.
Bill...
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
I
tried searching the archives and couldn't find anything relevant to what we're
doing here, so I'm hoping someone can explain something:
1.
User logs in
2.
XML is returned with all
applications user has access to
3.
Tab Navigator component is
generated on the fly with tabs labeled
Hi Brent,
I checked with QA here but no one had seen hangs like you describe. So
we need more info as to what your setup entails. What channel are you
using? What kind of destination are you hitting (RemoteObject I
assume)? How was authentication enforced, constraints on a destination
and
Hello,I want to dispatch an onclick event from a datagrid inside Providers.mxml ( = component ).My main mxml should listen to this event, it has the mx:methods tag.How do I do this ?I know about Arp and Cairngorm, but I am just getting into Flex, so first thing first for me.
tnx ; )
--
in my app, I have a closing screen. The data returned from my cfc is an array of structures. It is retunred like this.1
struct
ADDRESS
5119 N 20th St. Phoenix
ADDTRANSFEE
Jeremy, have you looked at the for loops?
for (var i:Number=0;imyArray.length;i++) {
oElement = myArray[i];
}
Or
for (var key in myObject) {
oTemp = myObject[key];
}
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeremy Rottman
Hi,
If you click inside the dataGrid tag and press the space bar, you will
see a list of code hinting properties and events, that are available
to the control. To dispatch an onclick event, you should have
something like click=dispatchEvent(event); or click=runMyFunction
(); inside of the
Hi,I have created a very simple 2 state mxml file(attached below) where you submit a name which is passed to a RemoteObject which appends "Welcome "to the input string returns the whole string back.The java class which does this is,package samples.SimpleRemoteObject;public class Echo { public
I am trying to loop over components. Like Labels and text. So depending
on how many records I return it outputs that many sets of labels and
text components.
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Jeremy, have you looked at the for loops?
for (var
The object returned are not as object. They are objects returned from my cfc. As an array of strcutures. I need to pull the first record from the first object called GCI in my array.The array I return from my cfc looks like this. In Array Object 1, I need to pull the strcut object GCI and use
Hi,
Can anybody tell me that how to customize the context-menu in flex?
or how to disable right-click menu in flex?
Thanks
-Rajni
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Are you precompiling the SWFs? If so, are you specifying
--services and pointing to the configuration file at compile time with either
Flex Buildercompilercommand line arguments or mxmlc command line
arguments?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
I meet a issue of remoteObject in flex2, when config a remote object , and call its method, and return detail resultofthis error message "Channel.connect.failed error netconnection.call.failed:http status 500"and even I put the samples in flex2packageto webapp dir of tomcat, also
Yes, I would expect that to work. Can you provide a complete testcase?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bhaq1972
Sent: Monday, April 24, 2006 1:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2B2 - calling a
Fotgot it. that site is http://sankeye.go.3322.orgsank xuan [EMAIL PROTECTED] 写道: I meet a issue of remoteObject in flex2, when config a remote object , and call its method, and return detail resultofthis error message "Channel.connect.failed error netconnection.call.failed:http status
You need to set the resultFormat on the
individual Operation.
myService.myMethod.resultFormat=e4x;
myService.myMethod()
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey
Sent: Monday, April 24, 2006 2:37
AM
To:
Does your Flash 8 SWF have AS code that is trying to execute? That
unfortunately is not allowed (we don't allow cross-VM AS).
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexlearner
Sent: Monday, April 24, 2006 3:50 AM
To:
I believe this might be a bug in Beta 2 which we're hoping is fixed in
Beta 3. The problem is that some classes get loaded in the main swf and
some classes get loaded into the child swf and sometimes the VM gets
screwed up in reconciling everything.
Let's see if I put the word Roger in here
Is it possible the asset isnt being
copied to where your SWF lives?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Monday, April 24, 2006 8:42
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2B2 ::
I have a custom form component that broadcasts an event every time the
form changes validation states:
ContactDetails.mxml:
[ChangeEvent(formValidationChanged)]
Now the parent component of ContactDetails is
CreateClientProfile.mxml and it uses an accordian to instantiate the
ContactDetails
Its hard to know what the problem
might be, Id just recommend running in a debugger and seeing what the
result object actually looks like. Maybe theres another array or object
in the hierarchy youre not seeing? Otherwise this would look like
result[0].GCI based on what youve written
Look for the ContextMenu class in the ASDoc (and reference). You can't
disable the right-click menu completely, the most you can do is remove
some of the settings.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rajni
Sent: Monday, April
There must be a configuration setting that’s
wrong. I’d check your logfiles and see if there are any errors as it
starts up. If you don’t see anything change the log settings to debug and
see what else spits out, you should at least see a stack trace when the flex
app tries to connect.
I've forwarded on to QA to see if we know of any issues. Did anything
change between configurations when you use the connector like what
server name you use? Is the port configured right?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steven
62 matches
Mail list logo