[flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Robin Hilliard
FYI I have posted a Flash version of the Cairngorm sample application with source code on our blog:http://www.rocketboots.com.au/blog/index.cfm?mode=entryentry=83219052-E081-51EF-A73B5F4EF642C3F5Cheers,RobinOn 31/01/2005, at 11:10 AM, Robin Hilliard wrote:FYI the sample application code, README,

RE: [flexcoders] Cell Rendering

2005-06-16 Thread Philippe Maegerman
Check this: http://www.bpurcell.org/blog/index.cfm?mode=entryentry=1052 Philippe Maegerman Webdeveloper +32 2 400 40 39 +32 472 35 28 10 http://pimz.blogspot.com http://cfpim.blogspot.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JoeSent: mercredi 15

[flexcoders] Interval

2005-06-16 Thread davidgdean
I have a 3 part accordian control. The accordian is in a component that loads in a vstack (not the default). When I load it, I want the accordian to start with the selectedIndex=2, then every five seconds, show the next accordian until I get to selectedIndex = 0. When the control loads, I

[flexcoders] Image disappears

2005-06-16 Thread rockmoyosa
Im loading an image through AS. (just setting the contentpath/source). this Image is 800x600. Im openinng A Popup (TitleWindow) and than I set de the path. Giving the load command. It will load andeven the complete event is called. But no Image is shown. If I'm trying it by embedding the image it

RE: [flexcoders] Interval

2005-06-16 Thread Abdul Qabiz
Hi, Your code looks fine except one mistake. setInteval(..) takes function reference as shown below: var accint:Number; function startInterval():Void { accint = setInterval(changeAccordian, 5000); //

[flexcoders] Re: Image disappears

2005-06-16 Thread rockmoyosa
WHen my popup and canvas is bigger(900,900) than the original size of the image(800x600) it works fine. my structure is like this: popup w=900 h=900 canvas //(for background image) loader x=0 y=0/ /canvas /popup So when popup and canvas is smaller image disappears --- In

[flexcoders] Re: Flash + Cairngorm Example With Source Code

2005-06-16 Thread r0main
Hi Robin, so sad your website isn't viewable from Switzerland... :-( (Still can't understand why) r0main --- In flexcoders@yahoogroups.com, Robin Hilliard [EMAIL PROTECTED] wrote: FYI I have posted a Flash version of the Cairngorm sample application with source code on our blog:

RE: [flexcoders] Image disappears

2005-06-16 Thread Abdul Qabiz
Ok, try this URL and let me know if it is working. http://www.bigfoto.com/sites/galery/flowers1/flow011_small.jpg I can think of two reasons:- - image might be progressive, but I doubt as it is working if you place locally. - hot linking of the image is not allowed. How did you make image is

RE: [flexcoders] Re: Image disappears

2005-06-16 Thread Abdul Qabiz
Seems, some different issue. Never mind. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rockmoyosa Sent: Thursday, June 16, 2005 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image disappears WHen my popup and canvas

[flexcoders] Re: Interval

2005-06-16 Thread Andrew Spaulding
Hi, I've got it working with the following sample code. I just made a slight change to your startInterval method to reference the calling object (this). ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var

RE: [flexcoders] TREE : Collapsing expanding TreeNode

2005-06-16 Thread david_gal-reyniez
Matt, Thank you for your help. I've already tried to use setIsBranch but it doesn't work because Nodes are automatically configured as branch nodes when they have children... I try your second suggestion! Thank too for thecode for adding node. I haven't thought to this way of coding...It

[flexcoders] Re: Image disappears

2005-06-16 Thread rockmoyosa
I forgot to say that I want to resize it to a size that fits in a window of 400x300. So it doesnt work. --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Seems, some different issue. Never mind. -abdul -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Steven Webster
Good to see your solution blogged Robin ... as you quite rightly point out, the only real changes that are required are support for native Flash Remoting, which require changes to the Service Locator. In terms of the way you chose to structure the UI ...sounds valid, andto be honest our

[flexcoders] legend is correct but just all black

2005-06-16 Thread fclaer
Hi, I have a working (column) char. The basis of the chart is constructed with MXML. Using a function, ActionScript is executed later on to fill this chart with data, like: - the series objects - chart data provider All renders ok. When I add a legend I do the same: basis in MXML and in the

[flexcoders] Re: Flash + Cairngorm Example With Source Code

2005-06-16 Thread Andrew Spaulding
In light of some of the posts over the past week, nice to see you can still crack a joke about it ;) Pls I need this soon as possible for urgent deadline on project (Flexcoders joke) hehe nice one Steven. Andrew www.flexdaddy.com --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL

[flexcoders] Re: Flash + Cairngorm Example With Source Code

2005-06-16 Thread Andrew Spaulding
Nice one Robin and the rocket shoes team ... its good to see a public example of a flex application that has been ported to native flash. congrats and keep up the good work ! Andrew www.flexdaddy.com --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote: Good to see your

[flexcoders] Re: Charting

2005-06-16 Thread Rich Tretola
Has anyone done any charting with complex objects or are all using only basic xml for charting data ? Rich On 6/15/05, Rich Tretola [EMAIL PROTECTED] wrote: All of the macromedia examples are using xml for their datasource and then hard coding the node name into the column series. Example:

RE: [flexcoders] Re: Image disappears

2005-06-16 Thread Abdul Qabiz
If you are using Loader, then it should be doing the same for you. Set the width, height of Loader and your image would be resized to that size. For example: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Loader

RE: [flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Steven Webster
|Do you have source for your Service Locator and changes to commands that you'd be willing | to contribute back to Cairngorm ? I should read your blog entry morecarefully...I've just taken a look at the code. Exactly as it should be ... good job; the business delegate and service

[flexcoders] Gartner's Take on Rich Internet Applications: Enterprise Case Studies

2005-06-16 Thread sree
A very informative webcast on: http://library.theserverside.com/detail/RES/1118664109_777.html?src=rss_aa Abstract: Rich Internet Application (RIA) technology has been identified as one of the major software trends for 2005. Register for this webcast to hear Gartner's perspective on current

Re: [flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Robin Hilliard
On 16/06/2005, at 7:51 PM, Steven Webster wrote:it should be ... good job; the business delegate and service locator encapsulate the Flex/Flashchange, so that your commands are oblivious to the implementation of the service (as theyshould be).Working with ColdFusion there's one thing that I'm

[flexcoders] Re: Serialization error with Timestamp

2005-06-16 Thread Kevin Ewok
Thanks for your response Matt. That Date field (in my AS class) is never getting modified. I am simply passing the Pojo from my datagrid (with the 1 String field I did modify) so I don't know why the Date would get converted as a String?? For now I guess I'll change my updateIt() method to

RE: [flexcoders] Datagrid, Cellrenderer Combos

2005-06-16 Thread Stacy Young
The grid is bound to an array of objects. I've tried adding blank objects to force the combos in the renderers but no go. The grid item returns blank but the combos still default to their original value from the previously deleted item. Stace -Original Message- From: Darron J. Schall

RE: [flexcoders] Re: Charting

2005-06-16 Thread Ely Greenfield
Rich -- the charts will work fine on objects instead of xml, but they are written to work only off of a flat array of objects. As you have discovered, there is no way to point a particular series to look down into a nested reference in the dataprovider for its data. This is a great feature

[flexcoders] Re: Image disappears

2005-06-16 Thread rockmoyosa
I already did this! --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: If you are using Loader, then it should be doing the same for you. Set the width, height of Loader and your image would be resized to that size. For example: mx:Application

[flexcoders] Java intefaces as remote objects?

2005-06-16 Thread Clint Modien
Instead of using POJO's can we use Java Intefaces definitions instead? Whena guy on our team tested it he got a class instantiation error... If the answer is no then I gess I could add it to the wish list for 2.0. Thanks Yahoo! Groups Links To visit your group on the web, go

RE: [flexcoders] Java intefaces as remote objects?

2005-06-16 Thread Peter Farland
RemoteObject would need an implementation of an interface in order to invoke it... how would you specify this? It seems that once you've specified the implementation you don't really care about the interface anymore... so you're back to a concrete object. From: flexcoders@yahoogroups.com

[flexcoders] Setting a RadioButton from data...

2005-06-16 Thread jamiebadman
Hi, I feel as though this should be obvious but I can't see it! I have a RadioButtonGroup called 'channel'. In 'channel' I have two RadioButtons - one which has a data value of 'Direct' and the other 'Indirect'. The datasource I'm using contains a field 'channel_code'. When a row in the grid

RE: [flexcoders] Java intefaces as remote objects?

2005-06-16 Thread Brian Deitte
Hi Clint, you can't use interfaces as the name of thesource in RemoteObject, since we do a Class.forName() call for the name. It's really not possible for such a thing to ever work,since something needs to be instantiated for the RemoteObject. You should be able to use a class that

[flexcoders] All framework classes get compiled into RSL?

2005-06-16 Thread Dirk Eismann
I try to package a subset of the Flex framework into a RSL but I always get the whole framework compiled into the resulting SWC file. Even with this bare-bone SWS file library namespace uri=http://www.macromedia.com/2003/mxml; all=false component name=Button / /namespace

[flexcoders] Validation errortip placement

2005-06-16 Thread rockmoyosa
I want an errortip on or on bottom of my textfield, instead of on the rightside. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups

RE: [flexcoders] https

2005-06-16 Thread Steve Pruitt
Title: Message Been away for a few days. Has anyone deteremined what I have not done or done wrong? -S From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: Friday, June 10, 2005 4:14 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] https

[flexcoders] Assigning a AS variable to the return value of a web service

2005-06-16 Thread gotjosh819i
help please: new at AS 2, How do I assign a return from a WS to a AS variable. Example here is what I have so far and its erroring out. 1 Error found. Error /gvs/gvsStartB.mxml:21 This statement is not permitted in a class definition. mx:WebService

[flexcoders] Panel Title Binding

2005-06-16 Thread Rich Tretola
Is there a known issue with binding a panel title to a piece of data ? The screen does not redraw when the data changes. Ex: mx:Panel title={ModelLocator.getInstance().selectedYear} width=100% height=100% ... /mx:Panel Rich Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Re: Image disappears

2005-06-16 Thread rockmoyosa
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: If you are using Loader, then it should be doing the same for you. Set the width, height of Loader and your image would be resized to that size. For example: mx:Application

RE: [flexcoders] Assigning a AS variable to the return value of a web service

2005-06-16 Thread Brian Deitte
You need to put statements in functions (Waldo's article on this grabbed from google since the site isn't returning for me): http://64.233.187.104/search?q=cache:7i7Ah65NYooJ:www.waldosmeets.com/in dex.cfm%3FentryID%3D550+flex+%22not+permitted+in+a+class+definition%22h l=en -Brian

RE: [flexcoders] https

2005-06-16 Thread Brian Deitte
Title: Message Hi Steve, I'm not surewhat else to suggest here. It seems Carson/Dave are seeing the same thing and have a solution that works for them, and I'm not sure why it doesn't work for you. Perhaps you can ask on a Tomcat list how to turn off the "cache-control" header? If you do

RE: [flexcoders] Panel Title Binding

2005-06-16 Thread Kent Henneuse
I think it is a loading issue. I just created a public static var and hardcoded a string in my ModelLocator and it pulled that value. You may have to set the title in the initialize function to make sure you get the right data. You might also try to put title after you import your

[flexcoders] Comboboxes and TitleWindows

2005-06-16 Thread Robert Brueckmann
I noticed something strange happening and I wanted to know if anyone had a solution or if I'm doing something completely wrong/weird... I have an ActionScript method that uses the popup manager to create a custom TitleWindow component like so: var reportWindow:TitleWindow =

RE: [flexcoders] All framework classes get compiled into RSL?

2005-06-16 Thread Brian Deitte
Hi Dirk, I'm not positive on this, but I don't think you actually have all of the framework in the SWC file. I'd guess that you wouldn't see, for instance, MediaDisplay in it. You see more components than just Button because we will automatically include all components/classes that Button needs-

[flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread gotjosh819i
thanks good info to know. However it doesnt answer my question to how I put a web service return (which happens to be only a yes or no) and assign it to a action script variable. Any ideas on that one? --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote: You

RE: [flexcoders] All framework classes get compiled into RSL?

2005-06-16 Thread Roger Gonzalez
Brian is correct. See my RSL article for additional details. http://www.macromedia.com/devnet/flex/articles/rsl.html Unfortunately, there are some rather bushy dependencies inside the 1.5 framework code (uiobjects keep track of their application which uses an alert window which...) that make

RE: [flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Kent Henneuse
Thanks Robin and Steven. That makes total sense. I have been approaching my current implementation with a background in Java and JSPs not in Cold Fusion or even thinking about it by doing what I would call a poor mans version of web services (xml sans SOAP). I have been lucky enough to be

RE: [flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread Kent Henneuse
By the look of it you are trying to use DataAvailable and it is not valid. You might want to try this: ![CDATA[ var JobRunning:Object = gvsJob.ReportJob.result; ]] This appears to be the way the example in the Flex Samples Explorer-Dynamic Data Services does it.

RE: [flexcoders] Flash + Cairngorm Example With Source Code

2005-06-16 Thread Steven Webster
Hi Kent, Thanks Robin and Steven. That makes total sense. I have been approaching my current implementation with a background in Java and JSPs not in Cold Fusion or even thinking about it by doing what I would call a poor mans version of web services (xml sans SOAP). I have been lucky

Re: [flexcoders] Panel Title Binding

2005-06-16 Thread Rich Tretola
The title is after the import but the variable is not static. I created a 2nd static var that was equal to my non static var and it works now. Rich On 6/16/05, Kent Henneuse [EMAIL PROTECTED] wrote: I think it is a loading issue. I just created a public static var and hardcoded a string in

[flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread gotjosh819i
Ya i tried that one. Here is what I have so far...(see 3 paragraphs below this) no more errors... However the flex app isnt reacting accordingly. I dont think its getting the data from the web srvc. I know the service works. i tested it with another bit of code and dropped the result into

RE: [flexcoders] All framework classes get compiled into RSL?

2005-06-16 Thread Dirk Eismann
I see - thanks for pointing this out. I need to share some core classes between some apps so I wondered why there's so much stuff in a basic RSL but your explanation makes perfectly sense. Dirk. -Ursprngliche Nachricht- Von: flexcoders@yahoogroups.com im Auftrag von Roger Gonzalez

[flexcoders] Code not executing in Popup Window

2005-06-16 Thread Mike Anderson
Hello All, I have known to be working code, contained inside of a Custom Created TitleWindow component. The code handles all the RemoteObject declarations, and populates a List Control, upon the Result Event. The Popup Window is launched from a Button residing in my Main Application. After

[flexcoders] CFMX7, Flex 1.5, IIS 6

2005-06-16 Thread Tim Whitehead
I little while ago, I got Flex and CFMX7 working with IIS 6 seperatly. But now I just went to try and install them together so a CFMX integrated with Flex, I installed JRun, and created a server called CFMX7. I then installed CF as a EAR, deployed it on the server. and I can access it by

Re: [flexcoders] Java intefaces as remote objects?

2005-06-16 Thread Clint Modien
ok thanks for the explanation Brian... On 6/16/05, Brian Deitte [EMAIL PROTECTED] wrote: Hi Clint, you can't use interfaces as the name of thesource in RemoteObject, since we do a Class.forName() call for the name. It's really not possible for such a thing to ever work,since something

Re: [flexcoders] Re: Collections between Flex and Web services

2005-06-16 Thread Clint Modien
Is your problem on the flex side or on the .NET side? On 6/16/05, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, seems odd. Can you take a look at the object in a debugger and see if it's constructed the way you'd expect? Also turn on debugging (web-service-proxy) and check if we're

RE: [flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread Jeff Steiner
myString = event.result.message; Give that a try. Jeff Founder Flex Authority http://www.flexauthority.com We are actively seeking contributors for the site. Have a sample that you want to share with the world? Send it to us! From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread Tracy Spratt
Data service calls are asynchronous. You need to define a resultHandler function, and call it from the result event of the operation. Below is a bit of an example, and here is a link to a full example. http://www.cflex.net/showfaq.cfm?ChannelID=1faqType=#Question372

RE: [flexcoders] Re: Serialization error with Timestamp

2005-06-16 Thread Matt Chotin
I meant that the timestamp might have come back originally as a string and not as a Date object. Getting it working is all that matters for now J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Ewok Sent: Thursday, June 16, 2005 5:50 AM To:

RE: [flexcoders] Setting a RadioButton from data...

2005-06-16 Thread Matt Chotin
You could probably get binding to work: RadioButtonGroup selectedData={myGrid.selectedItem.channel_code} / An event handler isnt horrible though either J Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamiebadman Sent: Thursday, June 16,

RE: [flexcoders] Validation errortip placement

2005-06-16 Thread Matt Chotin
Try this, I havent tried it myself though. Of course this might apply it to all ErrorTips, Im not sure how youd set it just for TextInput. mx:Style ErrorTip { borderStyle: errorTipBottom } /mx:Style Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: Assigning a AS variable to the return value of a web service

2005-06-16 Thread Matt Chotin
Dont call Jobs() from initialize. Instead call it from the result handler of ReportJob. mx:operation name=ReportJob result=Jobs() / Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gotjosh819i Sent: Thursday, June 16, 2005 11:50 AM To:

RE: [flexcoders] Code not executing in Popup Window

2005-06-16 Thread Matt Chotin
I dont see a problem but I know that others have run into issues when the RemoteObject has been contained in a popup. It seems to work better if its hung off the Application or something thats a little more permanent instead. Matt From: flexcoders@yahoogroups.com

[flexcoders] Re: The 'lots-o-text' mx:Text Bug

2005-06-16 Thread rockmoyosa
Use mx:TextArea, dude. Mayby it is more suitable for 'lots-o-text' Mike --- In flexcoders@yahoogroups.com, James Ward [EMAIL PROTECTED] wrote: Hi all. I just discovered a very strange possible bug in the mx:Text component. It seems that if I create just a plain old selectable mx:Text