Hi,
i resolved the problem by creating my group with :
document[radioGroup+myField.id+editable] = new
RadioButtonGroup();
Thanks a lot for your help Matt.
Antoine
--- Matt Chotin [EMAIL PROTECTED] a écrit :
-
Try this?
Don't do createchild for the myGroup,
Hi everyone. I need to display to dates in my application.
One is a current date, which is easily achieved by new Date().
Another date has to be let's say 24 hours earlier. In Java I would
approach this task converting current date to millis and then
subtructing from it millis that represent 24
Hi, Anyone knows why is so hard to find examples per type of technology in Flex.
For example, I'd like to call EJBs from Flex, but I didnt find any
example about it.
On samples application that is provided by macromedia, on explorer
app, remoteobject example is very simple. Anyone knows some place
Hi,
Does anyone know how to set the height of HSlider? The Height
property doesn't work at all.
cheers
David
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo!
Var tempDate:Date = new Date();
Var tempNumber:Number = tempDate.getTime();
Var twentyFourHoursAgo:Number = tempNumber - 8640;//-millisecond/24Hours
Var newDate:Date = new Date();
newDate.setTime(twentyFourHoursAgo);
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL
In a datagrid, I want to display the text in a cell using two different
colors - in the style of syntax formatting.
Is there any way to do this in version 1.5 (or 2)?
- Tom
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
How does sortcompare function workd for a data grid.
I want to sort a date column for a datagrid in Flex 1.5
Thanks,
Deepak
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hi Deepak,
http://weblogs.macromedia.com/mesh/archives/2005/04/sorting_date_fi.cfm
http://weblogs.macromedia.com/pent/archives/2004/12/sorting_by_date.cfm
Best,
Alex
Alex Uhlmann
Technical Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle,
Hi Tom,
You could create a cellRenderer of a DataGridColumn, place i.e. a Label
component in there and set it's style i.e. via:
yourLabelID.setStyle(color, 0xff);
Best,
Alex
Alex Uhlmann
Technical Consultant (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South
i would also look for flash examples on how to do it since you can use the code in flex...On 2/15/06, Carlos Alexandre Queiroz
[EMAIL PROTECTED] wrote:Hi, Anyone knows why is so hard to find examples per type of technology in Flex.
For example, I'd like to call EJBs from Flex, but I didnt find
Calling an EJB would be exactly like calling any mx:RemoteObject/.
The only difference would be that you will want to create a Delegate
class on the server that does the initial JNDI lookup of the Home
interface, the create() to get the RemoteInterface etc. Think of it
as a little helper that
Yes, all renderers need to define a
setValue method, where you have the data for that cell. In there, you can
perform your logic for if this val, use this color, else use etc etc.
Its as simple as:
mx:Label
mx:Script
Function setValue(I forgot the
parameters){
//logic
}
You didn't mention which version of Flex. I am not sure
about how to do this in Flex 1.x, but in 2.0 you take the ToolTip's programmatic
skin ToolTipBorder and make a custom skin class. Making a bubble-like popup
would take some Flash graphics API wizardry, but I am sure it can be done. I
Yea, it would be for Flex 1.5. I will
take a look at the ToolTipBorder stuff in the halo skin and see what I can dig
up.
Thanks
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Horn
Sent: Wednesday, February 15, 2006
9:31 AM
To:
Using hitData, is there a way to find out which line youre
on? I can find out the index, but wondering short of going through each lineif
theres a way to find out which line a datapoint is from. I have 5 line
series and cant figure out a way to customize the tooltip based on what
line Im
Sorry, I dont know if this works in
the Flex 2 beta, but I should have specified that were working with Flex
1.5 at Yahoo. Unfortunately, EventDispatcher states:
function addEventListener(eventType:String,
eventListener):Void
{
// Note: In
the future, we may add a third
Hi
I just copied and pasted the 'Events/ Using a Custom Event Class'
example from the following link
http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.html
into flex builder2 but i get the compile error Type annotation is not
a compile-time constant: LogonEvent in my test flex
Hi,
I am using Flex 1.5 and I am creating custom components dynamically from its
classnames like this:
// got a class name
var windowName:String = TitleWindowData;
//create a instance of this title window
var oInitObj:Object = new Object();
oInitObj.title = Title Window Data;
Ah, hopefully it will be a little better
in 2.0. Unfortunately compiler errors are really hard to get right because its
often impossible to determine the intent of the user when the error is
encountered.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Title: restrict text size in datagrid cell??
Hi,
How can I specify the maxChars on cells in a datagrid if I want to restrict the size of text entered in a cell to a certain limit. For text input etc. Flex has maxChars which takes care of it. How do I do it in a datagrid?
Thanks,
Shweta
Title: restrict text size in datagrid cell??
http://www.richinternet.de/blog/index.cfm?mode=search
Best,
Alex
Alex UhlmannTechnical Consultant (Rich
Internet Applications)Adobe
Hello,
I've searched the archive and found a lot of information about
getting a .NET dataset into Flex. I've put together a test app, but
am not getting past the following error. From reading posts, I get
the impression that this approach works in Flex 1.5 but not Flex
2.0.
In the test app,
Hi,
you need at least one reference to the class to get it linked it during
compilation - if the class isn't there at compile time you cannot
instantiate it later as there is no dynamic class loading. To get the
class linked in, it's enough to reference it somewhere, i.e.
private static
Title: restrict text size in datagrid cell??
Try this one instead :)
http://www.richinternet.de/blog/index.cfm?entry=1A9BC4E5-E330-9F94-F90F54F91CB45C16
Dirk.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
UhlmannSent: Wednesday, February 15,
Thanks for the responses.
Sorry for my ignorance, but are you suggesting that the JSP simulate a login
(invoking the loginContext/loginModule)? Or are you suggesting that the JSP
set the UserPrincipal in the HTTP request (although I don't see a setter in
the request interface API, which makes me
Title: restrict text size in datagrid cell??
Duh, that's what I meant. Thanks Dirk. (
;
Best,
Alex
Alex UhlmannTechnical Consultant (Rich
Internet Applications)Adobe ConsultingWestpoint, 4
He's actually not suggesting either. He's suggesting creating a test
JSP that returns the user principal objec to verify that the JSP is
within an authenticated session.
%=request.getUserPrincipal().getName()%
It looks like you're going through a proxy which is using another
session. As I
Right, basically attempt to remove Flex from the equation for the
moment, get your JAAS module to fire using credentials you pass in using
the JSP. Then after you've authenticated use the JSP to see if that
newly created authenticated Principal is stored in the request. If it
isn't there then
HitData.element points at the element (i.e.,in your case,
the LineSeries) that generated the hit.
Ely.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan
MirandaSent: Wednesday, February 15, 2006 7:50 AMTo:
flexcoders@yahoogroups.comSubject:
Hello,
Does anyone have an example of Dynamically generating tabs and its
content in a Tab Navigator say by clicking a button for example.
Thanks in advance for all your help,
-Augie Marcello III
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Is this a valid test for this? I've verified that the login.jsp fires the
JAAS login module and I do get the principal object back. In both jsps
(login.jsp and verify.jsp), the user/principal information is null. (BTW,
I've tried using the JBoss-supplied DatabaseServerLoginModule and my own to
Actually, this doesn't look correct at all. You're trying to go about
this manually and that is not how J2EE security works. For this to
work, you have to integrate with the container which means configuring
your servlet container to delegate all J2EE authentication/authorization
to your JAAS
I'm not a super jedi J2EE master nor have I stayed at a holiday inn express, but I will say we useflashgateway.Gateway.getHttpRequest().isUserInRole()andflashgateway.Gateway.getHttpRequest().getUserPrincipal().getName()
without issue and we do have a custom JAAS module too. We are using JRun.
Tony, I had a similar problem in Flex 1.5 with a custom TitleWindow
component that was receiving events from objects underneath it.
Never did find out exactly why that was happening; non-100% alpha
value, perhaps? Anyway, I solved it by wrapping a simple check
around the event handler that
Is AMFPHP is useful for thati think now FES-2 gives flexibility to work with remote object
any idea
On 2/15/06, Rob Rusher [EMAIL PROTECTED] wrote:
Flex requires a back-end to connect to a mail server, so there will have to be a "Flex and something". In this case it happens to be
Thanks for the info.
First, let me clarify that this is not how we intend to do login/auth. I was
merely trying to get the LoginModule to fire without going through any
server-side/flex/proxy.
Does this process only work if we try to access a restricted resource? That
is, if the first screen in
I would also suggest looking in your flex install directory for
examples on this. Look in resources\security.
DK
On 2/15/06, Carson Hager [EMAIL PROTECTED] wrote:
Actually, this doesn't look correct at all. You're trying to go about
this manually and that is not how J2EE security works. For
Thanks for the tip, Doug ... the only problem is that I want the toolbar to be
a generic component that doesn't require any specially awareness from other
components in the form. I don't want to mandate that other programmers have to
modify their event-handling code just to accommodate my
install the plugin version (don't copy it over as its not that simple). the stand alone editor is extremely crippled (even ant is not there!)On 2/15/06, Carlos Rovira
[EMAIL PROTECTED] wrote:
I'm this days trying the new Flex Builder 2 and I notice two things that I would ask to this
I should have pointed out I was talking specifically about the
custom floating toolbar you mentioned in point 2 of your original
post. It seems to me your toolbar is handling events from other
components when it shouldn't. Try putting the event.target test
into your toolbar code; no need to
Is anyone else having the problem that when you change the hit area of
any sprite, to another sprite that your browser crashes immediately?
Is this an issue currently, or are others successful with it.
Example class extending from Sprite:
//Create artificial hit area
var dims:Rectangle =
Hi,
I have created a NetStream object that publishes video/audio via a
NetConnection to Flash Media Server (Flex beta 1). I have setup a
netStatus listener but find that some errors are reported as run-time
errors and are not delivered to my netStatus handler. For example:
Error #2044:
As we have facility to choose color hex.dec. no from color picker
while authoring flash code.
same way is there any way to get the color hex. no from the color
picker while coding in flex authoring, i search but didn't
foundcan understand it may not be facilitate
Is there anyway to forcibly tell the httpservice to not
cache? For some users its caching.could it be the server caching
the file?
Jonathan Miranda
Flexible Master of
the Web
In the game of
chess, it's important to never let your opponent see
You need to specify no cache headers in the page that
returns the XML. What page technology are you using? If you're using JSP,
the following will do it.
response.setHeader("Cache-Control", "max-age=0,
must-revalidate");
Carson
Carson Hager
Using ColdFusion to construct an xml file
with cfxml.
How would I do this?
_
Jonathan Miranda
Flexible Master of the Web
In the
game of chess, it's important to never let your opponent see your pieces.
From:
I'm not a CFer by any stretch but I'm sure there is a way
to add a header. I found a reference to the following.
CFHEADER NAME="Cache-Control"VALUE="max-age=0, must-revalidate"
I have no idea if that syntax is valid with what you're
using. It appears to bea pretty old post.
Carson
With Flex 2.0 it is possible to connect directly from
client to mail servers, both IMAP or POP3. I have actually built some
prototypes to prove it out but have not taken it further. I imagine that
you will start to see some mail API's popup from different
developers.
Kevin
From:
Hey Doug - thanks for the input. This is a link to a screenshot that may help
clear up the issue:
http://www.geocities.com/tonypujals/eventcapture.jpg
What the screenshot shows is that I dragged the toolbar over the TextArea
component. Then, I dragged the toolbar just a little bit again ...
Hi Johannes,Could you elaborate? What plugin version are you referring?Thanks for the support!2006/2/15, Johannes Nel [EMAIL PROTECTED]
:
install the plugin version (don't copy it over as its not that simple). the stand alone editor is extremely crippled (even ant is not there!)
On 2/15/06,
the installer for beta 1 gives you the choice between framework only,
stand alone editor or plugin version. when you install the plugin
version you get asked to point to your eclipse directory.
not much more to say about it...well the zorn plugin now plays nice with all my other plugins so
I have noted that when i close the flex applicaton in IE, the Internet
Explorer sends me message that Internet explorer has encounter a
problem and need to close it
Its can be recreated all the times since i installed Flex-2 beta
it was not problem in flex-2 alfa..
is my installation is
Can anyone tell me what this error means?
warning: unconverted Bindable metadata in class ...
Thanks.
Tobias.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo!
Yeah, it's possible this is something entirely different from my
situation, but I think there is still the similarity that an
obscured ocmponent is acting as if it's not obscured.
Can you post some code?
--- In flexcoders@yahoogroups.com, Tony Pujals [EMAIL PROTECTED] wrote:
Hey Doug -
Oh! I didn't remember the three flavors, that's good!, ...and solves problems with JDT :)2006/2/15, Johannes Nel [EMAIL PROTECTED]
:
the installer for beta 1 gives you the choice between framework only,
stand alone editor or plugin version. when you install the plugin
version you get asked to
Yes, that's exactly the similarity -- but an obscured component should not even
have to be aware of a toolbar component above it. It should not receive a
mouseDown event if the component above is handling it. It's only my toolbar
canvas that seems to allow events to pass through to the TextArea
The LinkBar appears not to scroll, if I hook it up to a view
stack with say 15 items in the view stack it causes the application to resize
to the length of the LinkBar which can be very long.
Is this a bug? Is there a way to fix this? I have tried to
turn on the hScrollPolicy to no
Bug? :: shugs ::
Fix? Throw it in an HBox with hScrollPolicy =
"auto"
- Original Message -
From: Graham, Jason
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 15, 2006 8:40 PM
Subject: [flexcoders] LinkBar questions - Flex 1.5
The LinkBar appears not to scroll,
if
hi all
tell me to rtfm, but i could not find any information on this. is it
possible to place a breakpoint in an mxml page, and if not (now ala
flex 1.5 since i don't know if flex 2 config has a setting to create
.as files) can i put a breakpoint in the generated as file somehow?
thanks
j--
or at least say what should generate a warning (like FDT)-- j:pn
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Heres basically what I did, the LinkBar
still forces the application to resize to the length of the link bar.
TabBar has the same behavior. I tried hScrollPolicy=auto
also, tried putting the hScrollPolicy on the linkbar as well. Still no
work, the HBox doesnt seem to have any affect.
give me the more code!2006/2/16, tobiaspatton [EMAIL PROTECTED]:
Can anyone tell me what this error means?
warning: unconverted Bindable metadata in class ...
Thanks.
Tobias.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
uninstall the flashPlayer 8.5reinstall FlashPlayer 4.52006/2/16, Jignesh M. Dodiya [EMAIL PROTECTED]:
I have noted that when i close the flex applicaton in IE, the Internet
Explorer sends me message that Internet explorer has encounter a
problem and need to close it
Its can be recreated
One of these may be what youre
looking for:
http://livedocs.macromedia.com/flex/20beta1/docs/0260.html
http://livedocs.macromedia.com/flex/20beta1/docs/1443.html
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel
Sent:
http://livedocs.macromedia.com/flex/20beta1/docs/0402.html
You can output the generated as by adding keep
to the compiler arguments. But you cant add breakpoints to debug em
AFAICT
http://livedocs.macromedia.com/flex/20beta1/docs/0388.html
From:
There is an apparent memory leak in Flash 8 (something to do with bitmap caching). Is this or has this been fixed in 8.5?The leak occurs after the swf has been playing in excess of 24 hours.Thanks,
-- John C. Bland III do what I can do when I can do it. - Chris Tucker, Money
Can you post some example XML from it? Clearly the parser didn't like
it...
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pioplacz
Sent: Wednesday, February 15, 2006 1:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Can you try assigning onPress to the component, I think that's how we've gotten
our blockers to work in the past.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tony
Pujals
Sent: Wednesday, February 15, 2006 3:33 PM
To:
Sorry, looks like we screwed up the explorer and it should have included
this:
package
{
import flash.events.Event;
public class LogonEvent extends flash.events.Event
{
public var userId : String;
public var password : String;
public function
Based on your results (and without me trying anything or digging too
much) it does seem like when JBoss uses your module it is not storing
the principal. For JBoss are you using Tomcat as the web container?
Check the resources we shipped with 1.5 and see if the Tomcat login
adapter might provide
Maybe you had [Bindable] metadata in a class from the Alpha and the
format changed in Beta? I don't remember if we did anything significant
there, maybe check the release notes?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tobiaspatton
Sent:
71 matches
Mail list logo