I've used 1) and 2) before and both works fine for me.
1) is a bit tricky some times as you have to take care when to access
listData because it is not necessarily there during the whole lifecycle
of your item renderer.
2) is neat, especially when you use parameterized ItemRenderers on those
Thanks guys - but no joy - I have crossdomain.xml (which is set to
allow any domain) in the doc root on the server side and also in the
same directory as the swf. I still get the security error.
Regarding the LoadPolicyFile question - I tried to load it from
https://serverdomain.com:9443/ -
Basically I want to do someting like the 'Navigator' view box in yahoo
maps (http://maps.yahoo.com/ top right corner).
This view would be generated from a Canvas wich contains various
graphic Components...
Do you have any directions to do that :
- zoom in a canvas (do I have to manually change
Hi there,
Yes I have verified it is in the wwwroot folder, and can see it in
the services browser in flex 2 builder.
Here is the full code snippet. Thank you for having a look!
?xml version=1.0 encoding=utf-8?
mx:Canvas initialize=pages.getAllAsQuery('page_name,
window_title');
I dont think you can, FDS needs to know the which field in the object is tje
unique identifier to be able to keep track of it.
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
I tried adding mx:Style source=main.css/ to the component but get
a compiler warning Warning: CSS type selectors are not supported in
components.
Perhaps you were suggesting setStyle but it seems cumbersome to have
to do it through code on every component.
--- In
Hi Seth,
Thanks for help. Finally, I've managed to run RTMPS on Websphere with
selfsigned cert. You are very right that it does not need Worker
Manager. The only tricky part is creating your own SSL Configuration
and putting right things in right places (client and server
keystore/truststore).
1. object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
2. id=fileupload width=200 height=150
3. codebase=http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab;
4. param name=movie value=fileupload.swf /
5.
Ok, working on a project here where we are discussing what is a best
approach to retrieving data to Flex. In our case we have a model domain
with say 20 objetcs. All of them can be composed into one 'fat' composite
object. From a Flex UI perspective, is it better to:
A) fetch the whole fat
I don't work with datagrids so I'm not sure where the variable data comes
from. My only guess is that the initialize event is being thrown too early
and that data hasn't been set yet. Try using another event like
creationComplete or an event of the parent object.
- Dan
On 12/20/06,
We have the same here... Consumer with addresses, contact methods, payments
methods and billing schedules... we fetch the entire object graph, let the user
make any changes he wants and then send back in one shot on commit() using FDS.
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
Hi There,
I've managed to put a ComboBox in the Header of my DataGrid. How can
I use the comboBox to create a filter on the DataGrid column?
Yeah, placing null in CSS won't work.
The more important question is why do you want the upskin of the button to
be null? What's your desired effect? If it's to have no skin, just a button
label on up, but visible skins on rollover and down, you could always either
create a programmatic skin that
Hi all,
I discovered a problem with uploading files to a server in flex2 using
FileReference.upload
(). My code includes something like this:
[...]
private var fileRef:FileReference = new FileReference();
private function someHandler(event:Event):void {
var request:URLRequest = new
I found nothing in flex style explorer to help me. I also did that:
var tabHeader:TabHeader = AccordionID.getTabAt(0);
tabHeader.setStyle(cornerRadius,6);
But it doesn't work at my purpose at all, I have tried my best, but
Who can help me?
--- In flexcoders@yahoogroups.com, Tracy
Its a bug, thats the way the Flash Player works, its not a Flex thing. I've
submitted this bug before. Also it happens only with FF... IE works fine.
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Hi,
Here is my call to getItem:
var token : AsyncToken = getDataService().getItem( identity );
token.addResponder( responder_ );
Here is my result event handler:
public function result( data : Object ) : void
{
var event : ResultEvent = ResultEvent( data );
You can read this post documenting the bug and its workarounds here:
http://www.5etdemi.com/blog/archives/2006/10/php-filereference-and-sessions-a-bug-from-hell/
Patrick
Dimitrios Gianninas a écrit :
Its a bug, thats the way the Flash Player works, its not a Flex thing.
I've submitted this
Assuming you're using a collection as the dataProvider for your
DataGrid, you can do this easily with the filterFunction property of
the collection. Look at the docs and you'll see that filterFunction
should refer to a function that accepts a single param of type Object
and returns true or false.
I'm getting some strange behaviour also. The first time I call the
WebService, event.result contains the data I'd expect.
The second time though, the data is found in event.result.result -
is this the same as you're seeing ?
Any ideas anyone ?!
Also, does anyone have any examples of using the
Accordion Headers do not have a cornerRadius style available currently. If
you want accordion headers, you have three options:
(Setting the ³cornerRadius² style on an accordion affects the overall
container, not the accordion headers).
1. Create a graphical skin for accordion headers
2. Create a
Good morning,
Sorry, to post this again, but I'm goin in circles and confused how to
populate a datagrid properly with an array collection as a
dataProvider. I'm able to use an mx:ArrayCollection or a single array
in an array collection, but how do I populate it automatically with an
array
I am trying to create a regular expression that essentially parses out
all the html of a text string. (i.e. - Remove all text between lt;
and gt;). I am not the seasoned regex pro, but my attempts have
failed based on research within the livedocs:
var pattern : RegExp = /\lt;[a-zA-Z0-9]*gt;/gi
I just made something like this, here is the part of my code, hopes help you
out.
after setup the image and slider, use zoomChange() function to change the
image height and width,
remember to disable the verticalScrollPolicy and horizontalScrollPolicy.
public function
I guess it isn't as large a problem as maybe I've been suggesting, after
having talked about it in this thread.
My whole problem is that I don't like urls that look like this:
http//domain.com/some/path/#other/path - which in all the examples, is
what you could end up with, if you try to
Guys,
I'm trying to properly set up a relationship between a class
View, which has a FDMS destination called View, and
in Hibernate has a relationship called parent which points to a
ViewContainer.
The trick is that ViewContainer is a sub-class of
View. So normally I would create my managed
First I think you're confused about the semantics of
ArrayCollection... it is not a collection of arrays, but rather a
Collection interface wrapper on a single array.
When you define the dataProvider statically in mxml the way you did,
what you're doing is creating a single array of Objects
I don't know if you're just trying to be misleading, or mis-typed
something, but it doesn't help any if you're passing wrong
information.
DataGrid (or List for that matter) doesn't have a vPosition property
at all.
I don't know the answer for sure, but there's a 'scrollPosition'
property on
Hello,
I was just curious if anyone had an idea as to why trace examples
examples 3,4,and 5 for myXML1 and myXML3 in the code snippet from the
last post don't return what you'd expect from viewing the xml whereas
3,4,5 for myXML2 does. I think it's a bug in AS3 with e4x expressions
and xml
In 2.1 you have to initialize the webservice yourself, it doesnt do it for you
anymore. Search the list to find the answer, it was talked about before.
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL
a couple quick things.. I'm by no means an expert at regex... but...
the first backslash is unnecessary isn't it? is not a meta
character, so the \ after the first / isn't needed. also, don't you
want to remove ALL characters between the and ? so I'd change the
inner [a-zA-Z0-9]* to .*?
Oops, maybe that was 1.5. I'll check a bit. And all my advice comes
with a money-back warranty!
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parkerwhirlow
Sent: Thursday, December 21, 2006 12:14 PM
To:
Ok, its verticalScrollPosition in 2.0.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parkerwhirlow
Sent: Thursday, December 21, 2006 12:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Datagrid scrolling woes!
Sounds like maybe you're loading the WSDL more than once, probably on
each call. loadWSDL() should only be called once.
HTH,
Ben
--- In flexcoders@yahoogroups.com, jamiebadman [EMAIL PROTECTED] wrote:
I'm getting some strange behaviour also. The first time I call the
WebService, event.result
I found an example, this was posted by Bjorn Schultheiss.
function clone(source:Object):*{
var myBA:ByteArray = new ByteArray();
myBA.writeObject(source);
myBA.position = 0;
return(myBA.readObject());
}
Tracy
From:
One of the neatest solutions to this uses byteArray to make a copy.
Search the archives here for a full example.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel
Sent: Thursday, December 21, 2006 1:14 PM
To:
I have a similar issue, when I call webservices more than once whit
cairngorm 2.1, that I still haven't solved.
Now you have to manually call webService.loadWSDL(), plus there is
another weird thing happening that didn't happen with version 2.0.
basically it changes the way I'm accessing the
Thnaks Tracy, but it actually creates a new object into the object
that I want to copy to.
I need to keep the original reference of this object and then get the
contents from other objects a copy them.
Greetings.
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
I found
Hi it's me again,
I have a custom item Renderer for my header of my datagrid with a
combo box. When I click on the combo box, the dataGrid is receiving
the click event for an item that is highlighted. How do I prevent
this from happening?
Why does clicking on the combo box trigger an event
Here is the thing, i have a Flex Application that POST into a PHP
Script. Real Simple, the script send a Email with the data from the
Flex.
My Problem is: What i have to do , in Flex our in PHP Script, so that
charters like ç , á , ~ can be send in the Email correctly.
At the moment, if the
trace calls toString() on it's arguments which behaves differently on XML
depending on whether it has complex content or not. Complex content returns
what you would expect. Simple content does not return the outer tag. If
you always want the outer tag use toXMLString(). See the API docs on
!-- In the HTML source add this to the javascript func... --
AC_FL_RunContent(
flashvars,'historyUrl=history.htm%3Flconid=' + lc_id + '',
flashvars,myFlashVarValue=Hello from the html page,
...
!-- In the object embed html source add... --
param name=flashvars
I have built several flex applications since its initial release and
these apps have been very large and complicated. They usually consist
of components within components within components, etc. I am sure
everyone else has done the same. I have a couple of questions about
design patterns, I
Search the list of the internet for Cairngorm thats the best answer :)
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of farmetha
Sent: Thursday, December 21, 2006 1:55 PM
To:
Parker,
Thanks, but that did not do the trick. It still returned the full
HTML. yes, you are right though...that first back slash was not
needed. Hmm, back to the drawing board I guess. It stinks, I found a
regular expression that does what I need but it does not compile in
AS3. I'll keep
I was implementing a filter on a list of values and noticed that when
I scroll down the list and then try and filter an error is thrown.
Here is the error:
TypeError: Error #1010: A term is undefined and has no properties.
at mx.controls::List/::adjustVerticalScrollPositionDownward()
Am Donnerstag, 21. Dezember 2006 19:54 schrieb farmetha:
I have built several flex applications since its initial release and
these apps have been very large and complicated. They usually consist
of components within components within components, etc. I am sure
everyone else has done the
How do I make a row in a DataGrid have focus when a screen loads?
this hightlights the 3rd row:
myDataGrid.selectedIndex = 2;
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of eweibust
Sent: Thursday, December 21, 2006 3:43 PM
To:
Dan,
I'm a bonehead...thanks for keeping me from losing my mind...I've tested
with your tips, and all is well now, and I learned something while we
were at it.
For anyone else who didn't know about how to properly trace XML nodes
with simple content, here's the livedoc with the info that Dan was
For regexs, I've found this site to be pretty helpful:
http://regexlib.com/default.aspx
I can usually find a related expression and then get mine working using
what I see there.
hth,
matt horn
flex docs
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
Am Donnerstag, 21. Dezember 2006 20:51 schrieb Dimitrios Gianninas:
Search the list of the internet for Cairngorm thats the best answer :)
Don't think so. 8)
O.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Regarding generating the snapshot or thumbnail drawing... Sorry if
this isn't incredibly helpful, but I'd start with understanding
BitmapData stuff. To do the snapshot I'm guessing you're going to want
to capture the BitmapData of the Canvas (and that will include all the
components it
Thanks Dimitrios,
One question.
The code you showed works for highlighting a row. But I have some
code associated with me hitting Enter when a row is selected. This
logic isn't working with the selectedIndex code. I'm still having to
manually click the row with my mouse before hitting Enter.
Pls excuse what seems to be a naive question, but how does one go about
creating a progress bar when using FMS to stream video with the
videoDisplay component?
Thanks for any clues...
larry larson'
nyc
thats a damn good question... just created a sample app, tried dg.setFocus()
and it still doesn't work. Hopefully someone has the answer.
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Okay I am going to try and be as clear as possible with this, so
bare with me.
What I am trying to do is make it so that when my arraycollection
objects that I have retrieved from a web service are loaded in (by
using the dataProvider attribute) my dataGrid that some sort of
code will take
How about this:
var pattern:RegExp = new RegExp((.*?)|(/.*?), g);
text = text.replace(pattern, );
Paul
---
Paul Whitelock
Denver, Colorado
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of e_baggg
Sent: Thursday, December 21, 2006 2:57
i want to put a state map into an mxml form. easy enough. but then i
want to add hot spotslike in dreamweaver. i have all the graphic
formats i could need to do this. if you need an example
http://www.pioneertelephonedirectories.com (some arent turned on) if
you have any ideas please let me
The common solution is to add the color or style name to the items of your
dataprovider and bind to this property inside your itemrenderer.
Cheers,
Ralf
On 12/21/06, retrogamer4ever [EMAIL PROTECTED] wrote:
Okay I am going to try and be as clear as possible with this, so
bare with me.
What
If you give every area a unique color, you could use getPixel to get the
pixel value under the mouse cursor.
Cheers,
Ralf.
On 12/22/06, littleazar [EMAIL PROTECTED] wrote:
i want to put a state map into an mxml form. easy enough. but then i
want to add hot spotslike in dreamweaver. i have
I am looking to serve two live streams from a set of surveillance
cameras onto the web. I have gone through the tutorials and a few
samples but I can't seem to get it to work within my app.
Anyone know of a simple way to connect to FMS, find the video and just
serves it up? Thanks
ps. I have
Hi
I am loading swfs from a backend server that are produced by our own
renderer. If I simply load these swfs into an image the background colour
form the swf floods the whoel stag enad makes it impossible to see anything
other than the last one to load.
I need to mask the swfs so we just
Hello list;
I am getting the error Unable to resolve class for ResourceBundle in
my project every time FlexBuilder does an automatic build, or when I
chose Build Project if automatic builds are disabled. The only way to
get the build to succeed is to chose Project-Clean. This works every
time.
Hi Dirk,
That might be the reason indeed. I had the loadWSDL in my delegate just
before I call the method of the webservive.
I guess I should be in the Services.mxml. I can't really figure out
where to put it though
Robin
From:
Then I am not following what you want at all. Can you explain further?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel
Sent: Thursday, December 21, 2006 1:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Hi guys,
I have some functionality that used to work that isn't working
anymore... using FDMS and HibernateAssembler.
From Flex, I've made one single change and used DataService.commit(),
and added a responder to the AsyncToken.
On the server, I can trace through the
Hi all,
I am trying to deploy my ear file with flex/ enabled .
I am trying to call the Java services from flex apps, but some how it is
failing throwing up the following trace:
[RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend
So you don't really want a copy, you want to put the property values
from another object in to the current one. Is that right? Are you
trying to be generic? Can't you just read the values from the other and
set them in the first?
Tracy
From:
Jeff, Niko
I don't know exactly your problem, but I DO know where two session
factories could come from =)
I was stepping through all the HibernateManager code just today and
see the following in the HibernateManager.createSessionFactory... (it
creates one session factory for general purpose
One of the open source solutions I occasionaly use *cough* *cough* *drupal*
*cough* has a mod redirect / mod rewrite htaccess file (i'm combining
words). Any url that is entered into the site gets rewritten or redirected.
It is a dynamic system that allows you to dynamically redirect to the
When I set a progress bar to be indeterminate, it doesn't animate in
polled mode or even in event mode. Is there a way to get it to
animate other than calling setProgress directly?
Cheers,
Lach
Hi
I am getting this error :
VerifyError: Error #1068: Array and Array cannot be reconciled.
I am not getting why?
I have created a popup, which contains components like colorpicker, textarea
etc. and I am passing the seected values when user presses save button. I am
storing
Paul,
Thank you! That worked great.
--- In flexcoders@yahoogroups.com, Paul Whitelock [EMAIL PROTECTED] wrote:
How about this:
var pattern:RegExp = new RegExp((.*?)|(/.*?), g);
text = text.replace(pattern, );
Paul
---
Paul Whitelock
Denver, Colorado
-Original
Tobias,
TechNote at www.adobe.com/go/4a146409 identifies Project-Clean as the
solution for bug 174788 (last bug on that TechNote's list).
Here is the text:
- *174788:* Incremental compiling shows error after updating a
resource bundle properties file, for example, Error: Unable to resolve
Yes that is exactly what I needed ! I will come back to you when I
will have solved that clipping issue.
For the zoom feature, I just found a property of the Canvas : scaleX,
scaleY... looks pretty much what I was looking for !
Mathieu LEMAIRE
76 matches
Mail list logo