[flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread Daniel Harfleet
Hey Dave, hate to ask the standard question, but here goes . what are the symptoms you are getting ? Is it an error message, timeout, or what ? thanks dan --- In flexcoders@yahoogroups.com, dave buhler <[EMAIL PROTECTED]> wrote: > Hi, > > I am attempting to update the configuration fo

Re: [flexcoders] Navigation

2005-06-01 Thread flex scripter
Hey Abdul Thanks for your help :) I really appreciate it. On 5/31/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > Hi, > > You can do that with Binding. See the following code: > > > > xmlns:mx="http://www.macromedia.com/2003/mxml";> > > > var label1:String = "Label1"; >

[flexcoders] why the textarea can not display the value?

2005-06-01 Thread loveewind
Function: User inputs the word in textarea,enter the key "Enter", the head of next line need display the character "*", the code can not run normally, and if alert the content of meetingObjective.text,the textarea will display the value it is strange, who can help me? thanks the code below:

Re: [flexcoders] Right clicking on a datagrid.

2005-06-01 Thread Manish Jethani
On 6/1/05, dillo_mac <[EMAIL PROTECTED]> wrote: > Hello. I have the following code that gives me a right click on the > main application. Is it possible to constrain this function to just > once particular component like a grid? You can save a reference to the old context menu and restore it depen

RE: [flexcoders] TabNavigator - Hiding Tabs

2005-06-01 Thread Alistair McLeod
Hi Dave,   Have you tried using the resize handler of the TabNavigator, and resizing the tabs at that poing? I'd probably wrap this inside a custom TabNavigator component.   Cheers,   Ali   -- Alistair McLeodDevelopment Director iteration::two[EMAIL PROTECTED]   Office:  +44 (0)131 338

Re: [flexcoders] why the textarea can not display the value?

2005-06-01 Thread Manish Jethani
On 6/1/05, loveewind <[EMAIL PROTECTED]> wrote: > Function: > User inputs the word in textarea,enter the key "Enter", > the head of next line need display the character "*", Do it in the 'change' event handler: http://www.macromedia.com/2003/mxml";> You have to also set the care

[flexcoders] Re: why the textarea can not display the value?

2005-06-01 Thread loveewind
great!thanks! --- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > On 6/1/05, loveewind <[EMAIL PROTECTED]> wrote: > > Function: > > User inputs the word in textarea,enter the key "Enter", > > the head of next line need display the character "*", > > Do it in the '

[flexcoders] Re: Hiding 'Null'...

2005-06-01 Thread jamiebadman
--- In flexcoders@yahoogroups.com, "alex_harui" <[EMAIL PROTECTED]> wrote: > The TextInput is kind enough to do a toString() on anything passed to > its .text property, which is great for Number and other things, but > is the root of your problem. > > My advice, subclass TextInput and put the n

[flexcoders] More Documentation of Cairngorm and Flex Cairngorm Store

2005-06-01 Thread Steven Webster
All,   Just in case you're not aware ... myself and some of the other team members here are serialising a number of blog entries that will delve into the detail of Cairngorm store; we've put up 3 entries so far, that cover the bottom 2-tiers of the 3-tier architecture, and in future blog e

Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread dave buhler
Hi Dan, MethodName: "usersService.loginUser" Parameters (object #2) .[0] (object #3) .._flag: "Envelope" ..data (object #4) ...[0]: (undefined) ..headers (object #5) ...[0] (object #6) [0]: "ServiceType" ..

[flexcoders] media playing at startup

2005-06-01 Thread Krzysztof Szlapinski
hi, my application is basically a viewstack with many external componet children: http://www.macromedia.com/2003/mxml"; xmlns:local="*" > one of these comonents has a media display component and the problem is that the media st

RE: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread Dirk Eismann
Hi Dave, make sure to configure the named object in the gateway-config.xml file of your ColdFusion MX 7 server and not in the flex-config.xml Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of dave buhler Sent: Wednesday, June 01, 2005 3:33 PM

Re: [flexcoders] Using custom classes in RSL

2005-06-01 Thread Aral Balkan
Hi Roger, Darren, >>I *hate* the idea of Flex running on the server, and I think >>that's why >>it took me so long to start using it. In my opinion, there's >>no reason >>a .swf needs to be compiled for every request, .swf is not >>server-side >>technology, and Flash has always been client

Re: [flexcoders] Using custom classes in RSL

2005-06-01 Thread Aral Balkan
Of course, I could've done without misspelling Darron's name fifty times. Sorry, dude -- I'll conveniently blame the spell check instead of my lack of concentration :) Aral Aral Balkan wrote: >Hi Roger, Darren, > Yahoo! Groups Links <*> To visit your group on the web, go to: http://

Re: [flexcoders] Using custom classes in RSL

2005-06-01 Thread Aral Balkan
Hi Roger, Darron, [No, I can't possibly let this email live on with Darron's name misspelled. :) I'm resending it... list admins please feel free to delete the original message.] >>I *hate* the idea of Flex running on the server, and I think >>that's why >>it took me so long to start using it

Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread dave buhler
Hi Dirk When I looked in the Cairngorm store example, the Flex-Config was modified with names that I think had to map to names in my Services.mxml. I am @ work right now, so the gateway-config.xml isn't in front of me. Do I need to modify a whitelist within the Gateway-Config AND the Flex-Conf

RE: [flexcoders] VO problem

2005-06-01 Thread Peter Farland
Oops, note that there's no need for a public modifier on the AS2 class declaration, only the Java class. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Guse Sent: Tuesday, May 31, 2005 12:05 PM To: flexcoders@yahoogroups.com Subject

Re: [flexcoders] media playing at startup

2005-06-01 Thread dave buhler
Hi, I typically use creationPolicy="all" for my viewstack. With your situation, you have options. If you want the mediaDisplay to load the content in the background, use creationPolicy="all" and have a viewHelper load the FLV (setMedia or contentPath) when the button to the view is clicked.

Re: [flexcoders] TabNavigator - Hiding Tabs

2005-06-01 Thread dave buhler
Hi Ali, I'll give it a try tonight. One of the other difficulties I was having was this: I wanted to Keep a tab's state when a view is switched. For example, I have something like: tabNavigator ---pets -dogs -cats ---programmers -java -actionscript -php /tabNavigator I

RE: [flexcoders] Using custom classes in RSL

2005-06-01 Thread Roger Gonzalez
> >In fact, I'm pretty sure you owe us a beer. > > So is the new price $29,000 + a beer? :) Anything with a dollar sign in front of it is a different department, but I'll happily receive the latter portion of the payment and bore you to death with talk about how development is an evolutionary pro

[flexcoders] Re: flex swc theme flash

2005-06-01 Thread alex_harui
And it turns out that both work fine unless you are using a custom theme swc with an non-actionscript skin for the title bar. That exposes a bug in the Panel code that can be worked around as follows: --- In flexcoders@yahoogroups.com, Andy Goodfellow <[EMAIL PROTECTED]> wrote: > You can als

[flexcoders] File - flexcodersFAQ.txt

2005-06-01 Thread flexcoders
Flexcoders Frequently Asked Questions Last Updated: 30th May 2005 Contributors: Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,

RE: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread Peter Farland
Hey Dave, Lots to discuss here. There are compile time considerations and runtime considerations. Firstly, from the AMF trace that you posted I see several things worth mentioning: 1. The "MethodName" is listed as "usersService.loginUser" which implies the service name was "usersService" an

[flexcoders] Re: Hiding 'Null'...

2005-06-01 Thread alex_harui
Actually, a lot of folks have asked this kind of question. We did a lot of work to document MXML components which are great ways of making new components that comprise other components, and we did document AS Components in several places like Flex Explorer and the LiveDocs. However, it still

[flexcoders] Re: flex swc theme flash

2005-06-01 Thread tongfangchen
Yes, I am using a custom theme. How to add actionscript for the title bar --- In flexcoders@yahoogroups.com, "alex_harui" <[EMAIL PROTECTED]> wrote: > And it turns out that both work fine unless you are using a custom > theme swc with an non-actionscript skin for the title bar. That > exposes a

RE: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread Steven Webster
> > As for Cairngorm considerations, I can't comment on those but > this list seems very capable of helping out in that regard. > I'll just followup Pete's (excellent) post by saying that there's a methodology to tracking this down; I'd suggest reducing your testing to a single *non cairngorm*

RE: [flexcoders] Re: Hiding 'Null'...

2005-06-01 Thread Matt Chotin
Actually, make sure you also put a getter in there since Flex requires both getter and setter when you override.   function get text() : String {   return super.text; }   Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex_harui Sent: Wednesda

RE: [flexcoders] HTTPService error strings

2005-06-01 Thread Cynthia Lee
Doh!  I could never get the proxy to work in my environment.  Every time I made an HTTPService call, I would get a generic “Could not retrive data”” error.  Once I turned the proxy off, the HTTService calls would work fine – except for the ability to pass back any errors from the service

[flexcoders] Re: Custom preloader question

2005-06-01 Thread pilby1
Lol, it was in one of the handful of chapters I haven't read. But I did check the book index, looking for "custom" and "preloader", and I didn't find any references. The example in your book required using Flash. I was looking for a preloader that's reliant on only an Actionscript class, i.e,.

Re: [flexcoders] media playing at startup

2005-06-01 Thread Krzysztof Szlapinski
dave buhler wrote: > With your situation, you have options. If you want the mediaDisplay to > load the content in the background, use creationPolicy="all" and have a > viewHelper load the FLV (setMedia or contentPath) when the button to the > view is clicked. thanks for reply what do you mean

RE: [flexcoders] Re: Custom preloader question

2005-06-01 Thread Roger Gonzalez
> Is what I'm looking for even possible, i.e., creating a custom > preloader SOLELY from an Actionscript class and that would load a > background image and utilize a progress bar? Yes. > It would help immensely to get an answer to this question so I can > decide whether or not to end my searc

[flexcoders] Flex/Maelstrom/PNG/SVG?

2005-06-01 Thread Rick Bullotta
Any insights as to whether or not Maelstrom/Flash Player 8 will support PNG (or ideally SVG) images natively/remotely (as opposed to embedded)? Rick Bullotta CTO Lighthammer Software www.lighthammer.com Yahoo! Groups Links To visit your group on the web, go to:http://gr

Re: [flexcoders] Flex - the general feeling about the product is...

2005-06-01 Thread Tarik Ahmed
Hi Jamie. - Love Flex. Has enabled us non flash developers to build very productive and intuitive applications; and in some cases applications that weren't even feasible if limited to just HTML and Javascript. - The big problem area for enterprise developers (in my opinion) is that there's no

[flexcoders] Flex and Struts

2005-06-01 Thread jrene_7
Hello, I am implementing an application with Struts, handling MVC, nevertheless want to modify the Vista of the client, a JSP, to change by a file MXML of Flex, which are the steps that I must follow and what archives it is necessary to modify to make the change. Work with Tomcat 5.0. If it is

[flexcoders] Determining a Date

2005-06-01 Thread Dave
Any thoughts on an easy way to determine another date in time based on today's date? I want to query a web service using yesterday's date and I'm looking for a way to define it without all the logic overhead. Thanks much, Dave Harland Yahoo! Groups Links <*> To visit your group on the

RE: [flexcoders] Re: Hiding 'Null'...

2005-06-01 Thread Tracy Spratt
This is simpler than it sounds. "Subclass" means the same as "extend." The easiest way is to create a custom mxml component. For example the below subclasses a text input and give is a default text value: ***the custom component*** http://www.macromedia.com/2003/mxml"; initialize="initComponent(

Re: [flexcoders] Determining a Date

2005-06-01 Thread JesterXL
function getYesterday():Date { var today:Date = new Date(); var yesterday:Date = today; yesterday.setHours(today.getHours() - 24); return yesterday; } trace(new Date()); trace(getYesterday()); - Original Message - From: "Dave" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 01, 2005

[flexcoders] Re: Determining a Date

2005-06-01 Thread temporal_illusion
You could create a new Date, subtract the # of milliseconds that represents one day, and create another new Date based on that #. var yesterday : Date = new Date((new Date()).getTime() - (24*60*60*1000)); Not sure of the syntax of calling getTime() on the newly created object though. --- In

[flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread Rick Bullotta
Attempts to use the load() method of an Image component with a URL that creates a server-side generated image (JPEG) do not seem to display properly in the Flash viewer.  Works fine with static images.  And the URL’s are perfectly fine (work from within a browser or an HTML image tag).  

RE: [flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread Abdul Qabiz
Hi,   Make sure server-side is generating non-progressive JPEG image... Macromedia Flash Player can load non-progressive JPEG images only.   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick BullottaSent: Wednesday, June 01, 2005 11:48 PMTo: flexcoders@

RE: [flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread Kristopher Schultz
Rick,   I recently ran into a problem like that when using a Scene7 image server. The solution I found was very odd but seems to work.   Scene7 uses special URL parameters to define the processing to be done to an image. For example, to get back an image that has a width of 100 pixels and

Re: [flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread JesterXL
Are the JPEG's being created progressive?  Flash Player only supports non-progressive JPEG's to be loaded at runtime.   - Original Message - From: Rick Bullotta To: flexcoders@yahoogroups.com Sent: Wednesday, June 01, 2005 2:17 PM Subject: [flexcoders] Image control does not displ

Re: [flexcoders] media playing at startup

2005-06-01 Thread Manish Jethani
On 6/1/05, Krzysztof Szlapinski <[EMAIL PROTECTED]> wrote: > one of these comonents has a media display component and the problem is > that the media starts to play for one second and then stops when the > application is being initialized even when its autoplay property is set > to false. Can you

Re: [flexcoders] media playing at startup

2005-06-01 Thread dave buhler
Hi Manish, I've seen Krzysztof's issue in our Flex-Flashcomm apps. The FLV plays before pausing when it's first loaded, even if the command is: contentPath or setMedia then myMediaDisplay.stop; or myMediaDisplay.pause Our resolution is the same as you suggested. Load the content only when

Re: [flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread dave buhler
Baseline = the same term as non-progressive. Some of the image converters allow you to batch-convert images to baseline.On 6/1/05, JesterXL <[EMAIL PROTECTED] > wrote: Are the JPEG's being created progressive?  Flash Player only supports non-progressive JPEG's to be loaded at runtime.

RE: [flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread Rick Bullotta
Not sure we have the ability to change the JPG rendering type…of course, everything else on the planet supports this JPEG format – why not Flash Player? J.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, June 01, 2005 2:37 PM T

[flexcoders] Fun with context roots

2005-06-01 Thread sbyrne_dorado
I am wondering if I've stumbled on a limitation of Flex, or if it's a limitation of my knowledge (probably the latter). Here's the situation: I would like to have the ability to have a web server dispatch to different app servers based on a "contex root" like path prefix. But, I don't want to hav

Re: [flexcoders] Image control does not display dynamically generated images?

2005-06-01 Thread dave buhler
So the player doesn't have to support a decompressor that would bloat the size. Same reason it doesn't support RegEx.On 6/1/05, Rick Bullotta <[EMAIL PROTECTED]> wrote: Not sure we have the ability to change the JPG rendering type…of course, everything else on the planet supports

[flexcoders] Is there a Java form of ActionsScript escape/unescape?

2005-06-01 Thread Tracy Spratt
Title: Is there a Java form of ActionsScript escape/unescape? It’s a Java question, so a bit off-topic, but.. I need to encode an html string using Java in a JSP so I can put it in xml and HTTPService it to Flex where I will use unescape to decode it. The Java encode/decode functions don’t

RE: [flexcoders] Is there a Java form of ActionsScript escape/unescape?

2005-06-01 Thread Matt Chotin
Title: Is there a Java form of ActionsScript escape/unescape? java.net.URLEncoder.encode(strToEncode, “UTF-8”);   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, June 01, 2005 8:31 PM To: flexcoders@yahoogroups.com S

RE: [flexcoders] Fun with context roots

2005-06-01 Thread Matt Chotin
What urls are being generated by the server here, named services?  If the urls need to be portable can you use relative urls?  I can understand that you want a url on one server to redirect to a different url on another server using a different path, but I guess I’m not sure how the conte

Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread dave buhler
Hi Peter and Steven, First, thanks for the assistance and for Pete, the very eloquent response. 2. A Flex-specific RemoteObject envelope is being sent to a CFC - this is not supported. The idea of a "stateless-class" or "stateful-class" isa Flex-only consideration for the Java adapters. You h

Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-01 Thread dave buhler
ooops.. Meant to post this WORKING code with the source inline. Works Services.mxml                          endpoint="http://localhost:8300/flashservices/gateway"   source="wwwroot.MYDOMAIN.model.user.User"                       protocol="http"              

Re: [flexcoders] media playing at startup

2005-06-01 Thread Krzysztof Szlapinski
Manish Jethani wrote: > Can you confirm that the media actually plays for a second by checking > the value of the 'playheadTime' property? yes that's right - it's about a second and the playhead is not at zero position when I start the video later in may app. So the movie doesn't start from the

Re: [flexcoders] Flex - the general feeling about the product is...

2005-06-01 Thread Jeff Steiner
Jamie, - Original Message - From: "Tarik Ahmed" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 01, 2005 10:41 AM Subject: Re: [flexcoders] Flex - the general feeling about the product is... > Hi Jamie. > > - Love Flex. Has enabled us non flash developers to build very > productive and i

[flexcoders] Fields and focuses

2005-06-01 Thread Mika Kiljunen
Hi, I stumbled into a problem when using keyboard to navigate on a flex UI. I have a tabnavigator tab which contains a form with plenty of different type of fields (textinputs, comboboxes, textareas, etc). It has about 25 fields or so and it does not fit into the screen so flex adds the

Re: [flexcoders] Flex - the general feeling about the product is...

2005-06-01 Thread Jeff Steiner
Jamie, I was introduced to Flex roughly 9 months ago and I have been loving it ever since. Like Tarik, I am not a Flash developer, but have gotton nothing but compliments from Flash developers when we chat about development time and total extensibility. In short, anything that is possible in Fla