[flexcoders] Re: Tabbing through items in a container
I tried using LinkButtons and was still not able to get tabbing to work: --- In flexcoders@yahoogroups.com, "Deepa Subramaniam" <[EMAIL PROTECTED]> wrote: > > Currently in the framework, you cannot tab through components like > Label, Text and Image. They will not respond with a focus highlight > which other controls, like a Button, do. Try your same test case with a > Button and you'll see that the controls respond to tabbing in the order > specified by tabIndex. > > -deepa > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of polestar11 > Sent: Tuesday, June 20, 2006 6:40 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Tabbing through items in a container > > Hi there > > I am trying to build a custom list that allows the same type of cursor > tabbing though child items as a list / datagrid. > > I have created a custom class that extends HBox. I have chosen a > container rather than a list to extend from, because I do not want a > fixed column width for items. > > I have tried various test cases to implement tabbing though a > container's children with no luck. Ultimately I want to build a custom > class that extends a container and dynamically adds child UI-items > that can be tabbed through. > > Alternatively, is there a way to allow for dynamic column sizes for > items within a list? > > Code: > > > > > > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: changing out pieSeries.itemRenderer at runtime
Can someone from Adobe (or anyone, really) take a look at my example and see if they can figure out where the problem lies?Thanks,On 6/19/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote: Ah, I thought it had something to do with properties, but the help only says it's "Object", and it was set to null at runtime. But this is a bit more clear. I also figured you could do it by breaking it out, but I wanted to see how to manipulate it if I wanted to change it later. I'm still running into a problem, though. Check out the example code at: http://three.fsphost.com/flex2/PieCategory/PieCategoryApp.html When you click between the radio buttons, it changes the datasource and renderer like so: public var monthRenderer:ClassFactory = new ClassFactory(MonthRenderer); public var seasonRenderer:ClassFactory = new ClassFactory(SeasonRenderer); public function dataChange(e:Event):void { if (rg.selectedValue == "Months") { switchChart.setStyle ("itemRenderer", monthRenderer); switchChart.dataProvider = dataSet; } else { switchChart.setStyle("itemRenderer", seasonRenderer); switchChart.dataProvider = dataSet2; } } import com.adobe.viewsource.ViewSource; public function initApp(e:Event):void { ViewSource.addMenuItem (this, "srcview/index.html"); dataChange(e); }But the problem is that something sticks in the first renderer and isn't cleared out when you select the second one. Notice that the only colored slices are the ones after the three slices in the original array. Any ideas on why that is?On 6/19/06, Ely Greenfield < [EMAIL PROTECTED]> wrote: The ClassFactory class has a property called 'properties.' This is a hash table (object) full of key/value pairs that get applied to instances generated by the ClassFactory as necessary. So in your case, your markup is saying 'create a PieCategoryWedgeRenderer, and when it gets created, assign an array of PieCategory objects to its categories property as needed'. So you could do this: var cf:ClassFactory = new ClassFactory(PieCategoryWedgeRenderer); var tmp:Array = []; var pc:PieCategory = new PieCategory(); pc.value = "Encouraged"; pc.color = 0x99ff99; tmp.push(pc); pc = new PieCategory(); pc.value = "Acceptable"; pc.color = 0xff; tmp.push(pc); ... cf.properties = { categories: tmp; } Alternatively, you could just copy the whole PieCategoryWedgeRenderer tag and contents from your markup into a separate MXML (call it MyPCWedgeRenderer.mxml) file to create a pre-customized subclass. then: var cf:ClassFactory = new ClassFactory(MyPCWedgeRenderer); and you're done. Ely. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Sent: Saturday, June 17, 2006 9:39 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: changing out pieSeries.itemRenderer at runtime Okay, good start. I was thrown off by the help topic"Flex 2.0 Developer's Guide > Customizing the User Interface > Using Item Renderers and Item Editors > Creating an item renderer and item editor". It still uses the old non-setStyle method to set the itemRenderer.Now how do I build this in code: &nbs! p; I've gotten this far:public var riskRenderer! :ClassFa ctory = new ClassFactory(nes.charts.dataRenderers.PieCategoryWedgeRenderer);Sadly, I'm lost after that. I can't figure out how to add the categories. Any tips?--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote:>> > > Item Renderer is a style. so you have to do this:> > > ps.setStyle("itemRenderer", ... );> > > What do you pass in as the value?> > 1) Passing null doesn't work. You've overridden the style, so you need> ot set a new value. The default value is the class> mx.charts.renderers.WedgeItemRenderer.> > 2) itemRenderers are typed as IFactory. Meaning they need to be an> object that implements the IFactory interface. Flex ships with a> default IFactory that simply wraps a class, called ClassFactory.> So you want to do this:> > import mx.charts.rende! rers.WedgeItemRenderer;> > ps.setStyle("itemRenderer", new ClassFactory(WedgeItemRenderer));> > you'll probably have to import ClassFactory too...I don't remember what> it's package is (probably mx.core), but you can find it in the AS doc> reference.> > Ely.> > > > > From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On> Behalf Of Jason> Sent: Friday, June 16, 2006 4:19 PM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] changing out pieSeries.itemRenderer at runtime> > > > Okay, so I've made an ite
[flexcoders] Re: Question on States
Hi Malik, I'll try to address your questions. These are important questions to have answered. States can be like "layers". They can also be independent of each other. How they are used is up to the developer. States that are basedOn another state become children of the base state. The states are layered. This approach would be effective if you had many common view items that need to persist. Another approach is to keep the base state of the application as clean as possible and avoid layering. This gives you a blank canvas to work with. You then have the freedom to add and remove views in a flexible manner with less overlap to contend with. Take a look at the code below to see an example that might assist you. Thanks for the question,Tim Hoff http://www.adobe.com/2006/mxml" paddingTop="-2" paddingBottom="6" paddingLeft="2" paddingRight="6" horizontalScrollPolicy="off" verticalScrollPolicy="off" xmlns:topMenu="yourComponents.topMenu.*" xmlns:sidePanel="yourComponents.view.sidePanel.*"xmlns:mainPanel="yourComponents.view.mainPanel.*" xmlns:login="yourComponents.login.*"currentState="login"> verticalScrollPolicy="off" horizontalScrollPolicy="off"/> title="sidePanelView" currentState=""/> title="mainPanelView" currentState=""/> To change the application's state after a successful login, you could dispatch and listen for events. Or, in your login component's script, reference the application directly. import mx.core.Application;private function showApplicationMainState():void { Application.application.currentState = "main";} or,private function showParentMainState():void { parentDocument.currentState = "main";} I hope that this helps you Malik. Truly, I'm not trying to hog the airwaves. I'm just trying to help others as I have been helped. BTW, Cairngorm handles changing state beautifully:Example:http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=422 //- In flexcoders@yahoogroups.com, "malik_robinson" <[EMAIL PROTECTED]> wrote:>> Hi,> > I am trying to utilize states to ultimately have a login page when my > app loads, upon successful login, I want my main.mxml file to load > which is basically the "home page" of my application.> > As of now in the "states" panel, I have a base state, but my base > state is my home page and I do not want this. I want my login page > to be the base state.> > > In the states panel, I tried adding a state called home, but I think > everything is on the same state, meaning my login is not the base and > my home page is not on the home state. If I click the base state, > should I only see whats on that state? Are states like "layers" in a > sense, layers in terms of Photoshop or Fireworks?> > In "design view" I can switch between states, but nothing really > happens.> > Any help appreciated. As of now I just have two files. 1 main mxml > file and 1 custom component.> > This is my login.mxml page, which I wanted to be a custom component > (code borrowed from a tutorial):> > > > layout="absolute" title="Member Login" width="275" height="150">> > > > > > > > > > > > thx> > -Malik> __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex2B3: Container fillColors
In the process of styling, I wasn't able to apply gradient fillColors to containers (Panel, VBox...). Maybe, didn't make the final cut. In some situations this would come in handy. Vector graphics consume less resources. Has anyone subclassed this, to draw graphics as a container's background? Kindly, Tim Hoff Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] E4X Interpreter
Hi. Yesterday, I set out on what I thought would be a quick task using Flex – an E4X interpreter, where a user can view an XML document as source and tree, type in E4X expressions, and see the result of the _expression_. Ultimately, I wanted to be able to perform assignments and see the effect (if any) on the XML. Nice little tool to help learn E4X syntax. As it turns out, this is a lot more difficult than I thought. I was hoping there would be some way of evaluating an E4X _expression_ held in a string. I have found that there was an eval() function in previous versions of ActionScript, but it has been dropped. I can understand that an open-ended eval() function might be a security worry, but it seems a bit restrictive not being able to evaluate E4X expressions held as a string. I have looked into these approaches: Objects and Dynamic classes. These allow you to assign functions to an object or class at runtime, but only functions that are already defined within the source code. There’s no way to create new function from string. Same reasoning as eval() I guess. Event handlers for GUI objects. I found it is not possible to assign to or access the “click” property of a button, for example. Again, security reason I guess. Bindings. I have tried various ways of assigning the binding of a result field at runtime, the most successful being the BindingUtils.bindProperty method. This works with simple values and XML chains, but not with chains containing E4X features such as searching, as in the following example: BindingUtils.bindProperty( txtField, "text", this, ["xdata","item","(@id=='3456')","description"] ); I have had a look at the generated ActionScript after compiling a project with a simple “curly braces” bind to the E4X _expression_, and can see that functions have been created to watch for changes to the XML object, and then recalculate the _expression_, see if it has changed and if so update the text field (I think…) So anyway, short of rewriting the entire E4X interpretation algorithms, or relying on a new component being compiled dynamically at runtime, can anyone think of a way to do this? Cheers, Tim __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Question on States
Hi, I am trying to utilize states to ultimately have a login page when my app loads, upon successful login, I want my main.mxml file to load which is basically the "home page" of my application. As of now in the "states" panel, I have a base state, but my base state is my home page and I do not want this. I want my login page to be the base state. In the states panel, I tried adding a state called home, but I think everything is on the same state, meaning my login is not the base and my home page is not on the home state. If I click the base state, should I only see whats on that state? Are states like "layers" in a sense, layers in terms of Photoshop or Fireworks? In "design view" I can switch between states, but nothing really happens. Any help appreciated. As of now I just have two files. 1 main mxml file and 1 custom component. This is my login.mxml page, which I wanted to be a custom component (code borrowed from a tutorial): http://www.adobe.com/2006/mxml"; xmlns="*" layout="absolute" title="Member Login" width="275" height="150"> thx -Malik Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: remoteObject send failing
It's a known issue in Flex Builder that it doesn't see a change to the services config file (i.e. flex-enterprise-services.xml in Beta 3) as a dependency so it doesn't rebuild. You have to physically force a clean and rebuild. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Tuesday, June 20, 2006 4:54 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject send failing Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: http://localhost:8080/uploadServer/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint "/> false And this is what the debugger thinks it is: server.name}:{server.port}//messagebroker/amf"/> false As you suggested in the last email I did test the endpoint in the browser and http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word "messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. ThanksHank On 6/20/06, Peter Farland <[EMAIL PROTECTED]> wrote: > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] FYI - this email address has been abused and is no longer an acceptable email address
Hi there, If you are getting this message it is probably because you tried to email me at [EMAIL PROTECTED] Unfortunately, this email generates too much spam, which renders it quite useless. The best way to reach me is through my myspace account. This way I can be sure I do not get followed by these spammers. http://www.myspace.com/phlux Thank you. I look forward to hearing from you. Smiles, Phlux __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: remoteObject send failing
Good to hear that you solved this Hank, I just realized some of my forum posts were not being sent until much later than originally posted, so I apologize for any of them that appear out of order. Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Tuesday, June 20, 2006 5:48 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject send failing Problem solved.Well I really learned how to debug stuff here, but the problem was dumb.You cant have two flex webapps in the webapps folder. At some point in this process (hours ago) I had figured that out, and I had removed the unpacked samples folder from webapps, but I had forgotten to remove the samples.war file. This cause flex to be confused and was obviously reading the wrong flex-enterrpise-services.xml file.Thanks for all your help Pete.Hank. On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: Just as a test I changed the definiton of the my-amf endpoint in flex-enterprise-services.xml to http://localhost:8080/uploadServer/messagebrokersilly/amfjust to see if this would effect what the flex debugger says I am looking for.It still says it thinks the channel definition is: server.name}:{server.port}//messagebroker/amf"/> false So the question is, where is it getting this from? Hank On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: http://localhost:8080/uploadServer/messagebroker/amf " class="flex.messaging.endpoints.AMFEndpoint "/> false And this is what the debugger thinks it is: server.name}:{server.port}//messagebroker/amf"/> false As you suggested in the last email I did test the endpoint in the browser and http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word "messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. Thanks Hank On 6/20/06, Peter Farland < [EMAIL PROTECTED]> wrote: > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How to set a progress bar while Remote Object data loading
This is one way that you can show a popup progress bar during an RPC. Because you don't know the size of the RPC lastResult object, you have to use an indeterminate progress bar. Depending on the architecture your application is using, you could modify this simple example to be a Model class or viewHelper, etc In the RPC result handler function you remove the popup with this: PopUpManager.removePopUp(popUpWindow);. There are other ways to do this as well. Best Wishes,Tim Hoff // Actionscript to be placed in the component that will create the popup. // SearchingPopUpView.mxml http://www.adobe.com/2006/mxml" cornerRadius="6" alpha="1" height="60" width="220" horizontalAlign="center" verticalAlign="middle" title="Searching"> barColor="#326CB4" label=" "/> // In flexcoders@yahoogroups.com, "wujunjr" <[EMAIL PROTECTED]> wrote:>> Hi all,> > We set "busyCursor" to "true" while Remote Object data loading. The > cursor become a little clock during that time.> > But is it possible to show a progress bar somewhere to indicate the > Data Loading process?> > Thanks in advance,> > John> __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] company branding in flex??
I need to dynamically change the loaded external css script in within a flex application. It appears that the mx:Style tag imports the css and it gets compiled into the swf. There appears to be ways to change specific styles of classes or types using the StyleManager, but not to change the loaded external style sheet. Does anyway know of a way to do this? Dan __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: How to integrate Flash and Flex well done ?
Hi David, At the moment Flex2 without Blaze leaves a big hole in the system. Is there an approx expected date on when you intend to put blaze on labs? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels Sent: Wednesday, 21 June 2006 4:11 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: How to integrate Flash and Flex well done ? Hi, Future yes; present--requires some hoops. Background: the new Flash Player contains both the old Actionscript Virtual Machine (AVM0) the executes AS1 and AS2 and the new AVM2 that executes AS3. This allows us to have the new VM, language and performance and keep backward compatibility with existing SWFs written prior to AS3. Unfortunately, there is no real interop between the two VMs. For the most part, one has to choose AS1/2 or AS3 and not mix them. The workaround is, as written earlier in the thread is to have the two SWFs talk to each other with local connection. This works, but is not the best ieal solution. Tha said, James was right that the *future* will make it easy to create SWFs and SWCs in Flash and use them in a Flex applications. The future assume the Flash authoring tool with full support for AS3. This future version of the Flash authoring tool is code named "Blaze". It is still a ways off, but we expect to have a version on labs.adobe.com as early as possible to enable this interop across Flash authoring and Flex. It will not however provide an automatic way to use earlier (AS1/2) SWF/SWCs in Flex--you will need to either port these to AS3 or use the local connection technique. Hope this helps. -David > -Original Message- > From: [EMAIL PROTECTED]ups.com > [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of roberto.rosenthal > Sent: Monday, June 19, 2006 1:13 PM > To: [EMAIL PROTECTED]ups.com > Subject: [flexcoders] Re: How to integrate Flash and Flex well done ? > > Jason, thanks for the prompt reply... But that doesn't really > help, does it ? How strange.. I just spoke today with James > Ward, a Flex Evangelist, and he assure me that the future for > Flash developers was to build customs components (SWC) to > interact with Flex... and also sugest me to ask the > flexcoders group about this issue (what I'm doing). > > Anyhow, do you know where I can learn how to do that ? > Meaning: build a custom SWC component with Flash and use it > as a Flex component tag. > > I really appreciate it, > Roberto Rosenthal > > > > > > Yahoo! Groups Sponsor > ~--> Yahoo! Groups gets a make over. See > the new email design. > http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM > -- > --~-> > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How to set a progress bar while Remote Object data loading
Hi John, Here's an example of how to show a PopUp progressBar during an RPC. http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=448 Sorry, if this posts twice. I originally replied about an hour ago. Regards,Tim Hoff--- In flexcoders@yahoogroups.com, "wujunjr" <[EMAIL PROTECTED]> wrote:>> Hi all,> > We set "busyCursor" to "true" while Remote Object data loading. The > cursor become a little clock during that time.> > But is it possible to show a progress bar somewhere to indicate the > Data Loading process?> > Thanks in advance,> > John> __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Design Pattern books for AS3 and Flex 2
i wanted to go to that! thanks, i found the link to the book by danny and joey on amazon. i'm including it for future readers of this thread http://www.amazon.com/gp/product/0321426568/ref=sr_11_1/104-0583550-8675930?%5Fencoding=UTF8 i ordered the head first design patterns book in the meantime. :) Alan Shaw wrote: Danny Patterson and Joey Lott have an AS3 design patterns book coming out this summer from Adobe. They presented parts of it at FlashBelt last week, and it's going to be a must buy. -A On 6/20/06, Phil Marston <[EMAIL PROTECTED]> wrote: don't know about flex as 3 specifically, but worth checking out O'Reilly's "Head First Design Patterns" http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8 HTH Phil judah wrote: > Are there any design pattern books coming out in the near future that > talk about design patterns with ActionScript 3 or Flex 2? > > Best Regards, > Judah Frangipane > > -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/ -- "Always bear in mind that your own resolution to succeed is more important than any one thing." "You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose." - Abraham Lincoln __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] What do the empty root tags mean in the literal xml syntax?
This is E4X syntax for an XMLList literal, as opposed to an XML literal. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Tuesday, June 20, 2006 3:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] What do the empty root tags mean in the literal xml syntax? As in one of the examples: private var menubarXML:XMLList = <> … What does the empty “<>” mean? It looks very strange, but is clearly legal. Tracy PS sorry if this double posts __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: remoteObject send failing
Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: http://localhost:8080/uploadServer/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint "/> false And this is what the debugger thinks it is: server.name}:{server.port}//messagebroker/amf"/> false As you suggested in the last email I did test the endpoint in the browser and http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word "messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. ThanksHankOn 6/20/06, Peter Farland <[EMAIL PROTECTED]> wrote: > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] What do the empty root tags mean in the literal xml syntax?
Title: What do the empty root tags mean in the literal xml syntax? As in one of the examples: private var menubarXML:XMLList = <> … What does the empty “<>” mean? It looks very strange, but is clearly legal. Tracy __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] ComboBox itemRenderer scrolling Bug?
Sorry if this is a repost, but i didn't see it showing up after being posted this morning.. Hi All, I came across some funky behaviour when using a ComboBox as an itemRenderer for a DataGrid. I've posted the issue at http://www.visualconcepts.ca/flex2/comboboxrenderer/Tester.html. To replicated just change one of the combobox items, and then move your mouse above and below the datagrid. For additional funkiness, go focus on one of the numbers (NumericStepper renderer used) and move the mouse above and below the datagrid to see them disappear as the rows are redrawn... interesting... Brendan Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] LoadVars problem
Hi,If you are using Flex (1.5 or 2.0), I suggest using HTTPService.Coming back to your problem, make sure you have crossdomain.xml in place. Read Flash/Flex docs about cross domain stuff.-abdul On 6/21/06, Mehdi, Agha <[EMAIL PROTECTED]> wrote: Hi all, I have any application that submits data to a coldfusion page using LoadVars. When I run it from 1 server it works fine but doesn 't work from the other server. The page that accepts submission is the same in both cases. Scenario: Server 1 submits to a page on Server3 (blank structure) Server 2 submits to a page on Server3 (works fine) The code is same on both servers. Is there any issues with security for LoadVars that might be different? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 510.493.0491 Fax : 408.284.2766 __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: remoteObject send failing
Be sure that it actually recompiled the app by cleaning it and then rebuilding it. Also the server has to be restarted anytime you change the configuration. Also, I can't stress enough that if you're using tokens, make sure that you a) specify the --context-root on the command line and b) make sure you're using an HTTP URL to load the SWF (rather than from the file system. Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Tuesday, June 20, 2006 5:06 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject send failing Just as a test I changed the definiton of the my-amf endpoint in flex-enterprise-services.xml to http://localhost:8080/uploadServer/messagebrokersilly/amfjust to see if this would effect what the flex debugger says I am looking for.It still says it thinks the channel definition is: server.name}:{server.port}//messagebroker/amf"/> false So the question is, where is it getting this from?Hank On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: http://localhost:8080/uploadServer/messagebroker/amf " class="flex.messaging.endpoints.AMFEndpoint "/> false And this is what the debugger thinks it is: server.name}:{server.port}//messagebroker/amf"/> false As you suggested in the last email I did test the endpoint in the browser and http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word "messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. Thanks Hank On 6/20/06, Peter Farland < [EMAIL PROTECTED]> wrote: > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] What do the empty root tags mean in the literal xml syntax?
Title: What do the empty root tags mean in the literal xml syntax? As in one of the examples: private var menubarXML:XMLList = <> … What does the empty “<>” mean? It looks very strange, but is clearly legal. Tracy PS sorry if this double posts __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] labs downloads site down?
Looks up to me, though I didn't try to download anything.On 6/20/06, John Grden <[EMAIL PROTECTED]> wrote: https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs isn't working, anyone else seeing this?-- John Grden - Blitz -- Jason __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] How to set a progress bar while Remote Object data loading
Hi all, We set "busyCursor" to "true" while Remote Object data loading. The cursor become a little clock during that time. But is it possible to show a progress bar somewhere to indicate the Data Loading process? Thanks in advance, John Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] labs downloads site down?
https://www.adobe.com/cfusion/entitlement/index.cfm?e=labsisn't working, anyone else seeing this?-- John Grden - Blitz __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: remoteObject send failing
Problem solved.Well I really learned how to debug stuff here, but the problem was dumb.You cant have two flex webapps in the webapps folder. At some point in this process (hours ago) I had figured that out, and I had removed the unpacked samples folder from webapps, but I had forgotten to remove the samples.war file. This cause flex to be confused and was obviously reading the wrong flex-enterrpise-services.xml file.Thanks for all your help Pete.Hank.On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: Just as a test I changed the definiton of the my-amf endpoint in flex-enterprise-services.xml to http://localhost:8080/uploadServer/messagebrokersilly/amfjust to see if this would effect what the flex debugger says I am looking for.It still says it thinks the channel definition is: server.name}:{server.port}//messagebroker/amf"/> false So the question is, where is it getting this from? Hank On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: http://localhost:8080/uploadServer/messagebroker/amf " class="flex.messaging.endpoints.AMFEndpoint "/> false And this is what the debugger thinks it is: server.name}:{server.port}//messagebroker/amf"/> false As you suggested in the last email I did test the endpoint in the browser and http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word "messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. ThanksHankOn 6/20/06, Peter Farland < [EMAIL PROTECTED]> wrote: > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Reusing Cairngorm views
Hi Tom, I think the right approach here is to maintain the view, that you want to duplicate through instantiation, in the ModelLocator. This is similar to the Cairngorm store example's ShoppingCart. You can then create multiple instances of the view and bind them accordingly. public static var wishList : ShoppingCart;ModelLocator.wishList = new ShoppingCart(); http://www.adobe.com/devnet/flex/articles/cairngorm_pt6_04.html -TH--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote:>> If I try and reuse a view (say on two different tabs, each using a different > dataProvider in the model), I get an error like:> > Error: View names must be unique. A view has already been registered with > filesAndCheckoutControlBarViewHelper> at org.nevis.cairngorm.view::ViewLocator/register()[C:> \dev\swat\projects\ac_emea\Cairngorm\org\nevis\cairngorm\view\ViewLocator.as:126]> at org.nevis.cairngorm.view::ViewHelper/initialized()[C:> \dev\swat\projects\ac_emea\Cairngorm\org\nevis\cairngorm\view\ViewHelper.as:106]> > I'm embededing both views with MXML code like:> > > > It must be possible to reuse view components, surely ? What have I missed ?> -- > Tom Chiverton> > > > This email is sent for and on behalf of Halliwells LLP.> > Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.> > CONFIDENTIALITY> > This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.> > For more information about Halliwells LLP visit www.halliwells.com.> > We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards> __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: remoteObject send failing
Just as a test I changed the definiton of the my-amf endpoint in flex-enterprise-services.xml to http://localhost:8080/uploadServer/messagebrokersilly/amfjust to see if this would effect what the flex debugger says I am looking for.It still says it thinks the channel definition is: server.name}:{server.port}//messagebroker/amf"/> false So the question is, where is it getting this from?Hank On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: http://localhost:8080/uploadServer/messagebroker/amf " class="flex.messaging.endpoints.AMFEndpoint "/> false And this is what the debugger thinks it is: server.name}:{server.port}//messagebroker/amf"/> false As you suggested in the last email I did test the endpoint in the browser and http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word "messagebroker" just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing. ThanksHankOn 6/20/06, Peter Farland < [EMAIL PROTECTED]> wrote: > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: FlexPrintJob and large DataGrids?
Hi, The docs recommend that, for print jobs, you create a seperate custom component that contans the DataGrid in it's full size (no scroll bars). The print DataGrid is bound to the same dataProvider as the view DataGrid. -TH --- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote: > > I've got a large DataGrid that the user needs to scroll (vertically) > through to view completely. When I go to print this, I only get the > portion that is currently displayed to print out (I'm using the > dataGrid itself as the UI component to print, so that's not the > issue). Any ideas? > > Here's the relevant snippets: > > > public function printGrid(e:Event):void { > import mx.printing.FlexPrintJob; > var myPrintJob:FlexPrintJob = new FlexPrintJob(); > myPrintJob.start(); > myPrintJob.addObject(dgBags, FlexPrintJobScaleType.SHOW_ALL); > myPrintJob.send(); > } > > dataProvider="{bags_xml}"> > Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex Custom Security W/Jboss
We are using flex 1.5 custom security w/jobss. Jboss appears to be caching security data. When we delete a user it seems that we can still log in as that user for a short period of time. Does anyone know if jboss caches this and if so how to purget this from the cache so users that don't exist anymore cannot log in? Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] FlexPrintJob and large DataGrids?
I've got a large DataGrid that the user needs to scroll (vertically) through to view completely. When I go to print this, I only get the portion that is currently displayed to print out (I'm using the dataGrid itself as the UI component to print, so that's not the issue). Any ideas? Here's the relevant snippets: public function printGrid(e:Event):void { import mx.printing.FlexPrintJob; var myPrintJob:FlexPrintJob = new FlexPrintJob(); myPrintJob.start(); myPrintJob.addObject(dgBags, FlexPrintJobScaleType.SHOW_ALL); myPrintJob.send(); } Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] LoadVars problem
Title: LoadVars problem Hi all, I have any application that submits data to a coldfusion page using LoadVars. When I run it from 1 server it works fine but doesn't work from the other server. The page that accepts submission is the same in both cases. Scenario: Server 1 submits to a page on Server3 (blank structure) Server 2 submits to a page on Server3 (works fine) The code is same on both servers. Is there any issues with security for LoadVars that might be different? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Cell : 510.493.0491 Fax : 408.284.2766 __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: remoteObject send failing
Title: RE: [flexcoders] Re: remoteObject send failing > It didnt work. > So now I am wondering if uploadServer isnt my context.root. > It is the name of my webapp. Perhaps these are not the same > thing. [Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen. >> 3. Can you add a to your >> MXML and then watch the flashlog.txt for more info? > I did stick this in, but could you tell me where flashlog.txt is kept? [Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg In here, the contents should be: ErrorReportingEnable=1 TraceOutputFileEnable=1 Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log). Pete __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] How do I get around having 1 or 0 items when bound to a grid?
How do I get around having 1 or 0 items when bound to a grid? In the Data Grid, Retreiving Data example on http://flexapps.macromedia.com/flex2beta3/explorer/explorer.html It breaks when you have less than two items in the XML data. :( How do I get around this? http://www.adobe.com/2006/mxml"; backgroundAlpha="0" creationComplete="srv.send()"> import mx.collections.ArrayCollection; [Bindable] public var employees:ArrayCollection; Christina Coenraets 555-219-2270 [EMAIL PROTECTED] true Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: remoteObject send failing
Oh also, in my flex-config.xml I do define the context root like this: /uploadSeveragain, that is the name of the web app.Hank On 6/20/06, hank williams <[EMAIL PROTECTED]> wrote: On 6/20/06, Peter Farland < [EMAIL PROTECTED]> wrote: Hank: 1. Are you compiling with a reference to the services configuration file? Either through a --services command line option to mxmlc (or a compiler services element in flex-config.xml)?This is what is in the properties > flex compiler > additional compiler arguments-services "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\uploadServer\WEB-INF\flex\flex-enterprise-services.xml" -locale en_USThe path above is a valid path to my flex-enterprise-services.xml file. 2. Do any of your channel endpoints use a {context.root} token? If so, have you specified a --context-root command line option to mxmlc?It looks like they do. This is right out of samples and I just pasted it into my code. server.name }:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>The bad news is I changed it to the below line just to see if I could get it working.http://localhost:8080/uploadServer/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint "/>It didnt work.So now I am wondering if uploadServer isnt my context.root. It is the name of my webapp. Perhaps these are not the same thing. 3. Can you add a to your MXML and then watch the flashlog.txt for more info?I did stick this in, but could you tell me where flashlog.txt is kept?Thanks Hank Pete From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Tuesday, June 20, 2006 3:02 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject send failing Well, that is a much cleaner call, but it still does the same thing :(Hank On 6/20/06, Doug Lowder <[EMAIL PROTECTED] > wrote: Hi Hank,You should be able to call your RemoteObject method directly. See if the following works: click="chartTemplate.findCharts(1)" />- Doug--- In flexcoders@yahoogroups.com , "hank williams" <[EMAIL PROTECTED]>wrote:>> I am trying to get remoteObjects up and running, talking to a FDS.>> I use mxml binding, and when I actually make the send() call to my > remote object it generates an error "send failed". It does notappear> that the message is ever getting to the server because there is no> traffic on the java console. If it was a bad destination or method > name I would think that would require asking the server, which it> doesnt seem to do.>> The error generated is just "send failed".>> So I suspect I am doing something bone headed on the client side but> dont know what. Below is the failing app.>> Any help appeciated.>> Hank>>> > http://www.adobe.com/2006/mxml "layout="absolute">>> > > >> > id = "chartTemplate"> destination = "charts"> >> > name="findCharts"> result= "dgChartTemplate.dataProvider=event.result"> fault = " Alert.show(event.fault.faultstring,'Error');" >> > > 1 > > > > >> > > dataField="name"/>> dataField="time_interval"/>> > >> > click = "chartTemplate.findCharts.send()"/>> > Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design.http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex
RE: [flexcoders] High Level: Actionscript Components vs. Importing Actionscript Classes
Evan: Good question! I think that the primary difference between a component and a class is how you use it. You import a class using the ActionScript import statement and then access the properties and methods of that class in your ActionScript code, whereas a component is declared using an MXML tag. Here's some stuff on building custom components: http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part3_CreateComps.html You may have already noticed that the documentation on writing an ActionScript class actually links back to the section on building components, which helps to make your point, that there isn't much difference between a component and a class: http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0418.html There are some classes (such as SimpleButton) that are accessible via ActionScript but not MXML tags. Apart from that, I don't think there is any difference between components and classes. If my understanding is lacking, I trust that others on the list will make necessary corrections. Jim From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Evan GiffordSent: Tuesday, June 20, 2006 2:03 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] High Level: Actionscript Components vs. Importing Actionscript Classes Wow .. .I’m humbled to ask this question .. but the truth is I can’t find an answer to this: In the LiveDocs article here: http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0453.html It states the 5 ways that actionscript can be worked into MXML. The first 3 I understand, basics like using actionscript in an event handler and embedding it into the MXML file. The last two though are confusing to me: · Import ActionScript classes. · Create ActionScript components. What is the difference between importing classes and Creating/Using actionscript components? Thanks Guys, I’m honored to be a part of this list and hope to be able to contribute to it soon. -Evan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: Monday, June 19, 2006 7:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Accordion state change? Instead of states, you can use a little binding, like:Or, create an Array that contains the text that you want to display, in the same order as the Accordion children. You would then similarly bind like:text="{myArray[ScriptsAccordion.selectedIndex]}"-TH--- In [EMAIL PROTECTED]ups.com, Impudent1 <[EMAIL PROTECTED]..> wrote:>> I have been playing with flex a bit lately, doing the tutorials, some > web examples from the blogs (ty all ;p )> > I decided to try to rebuild a basic web page that currently lists all > the scripts I created for After Effects in Flex2B3.> > What I am stuck on is trying to have an accordion navigator change the > content in a specific canvas. I currently have setup states to do this. > Thinking that I would be able to setup a function that would test the > accordions selected id vs a list of states and change accordingly I > setup the following:> > 8"?>> http://www.adobe.com/2006/mxml" layout="absolute">> > > > value="Backburner page text"/>> > > > value="BackupProject page text"/>> > > value="Calc > page text"/>> > > value="Default > Folders page text"/>> > > > value="DropFootage page text"/>> > >> > value="Filmcalc page text"/>> > > value="Font > collector page text"/>> > >> value="Gowarp > page text"/>> > >> value="Gspot > page text"/>> > > value="Layouts > page text"/>> > > value="MRU > page text"/>> > > > value="Musterbatch page text"/>> > > > value="Mustersubmit page text"/>> > > > value="Rendershutdown page text"/>> > > > value="Samplersizer page text"/>> > > > > > > > resizeToContent="true" > id="ScriptsAccordion" change="ScriptsAccChange(event)">> id="MainPage">> > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > > > > >> > > />> >> />> > > > > > > >> > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > >> > > />> >> />> > > > >> > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > >> > > />> >> />> > > > > > > >> > > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > >> > height="100%">> />> >> />> > > > > > > >> > height="100%">> />> >> />> > > > >> > > > > label="Header" > id="HeaderCanvas">> >> > > > > > > id="MainStage" > label="MainStage">> > id="text1"/>> > > > > > If you click on the BackBurner Submit UI accordion header, you get the > actionscript error dialog stating that it has an ArguementError: > Undefined state "BackBurnerSubmit
Re: [flexcoders] F2B3 bug in serialization of XML in AMF0
Xavi, the same here,Yesterday I was trying the same and notice the same issue. It's very strange because if Adobe maintains AMF0 for backward compatibility, we should expect to work with XML the same as before and we should be able to send as expected in any version of the flash player. The same with other data types. On 6/20/06, Xavi Beumala <[EMAIL PROTECTED]> wrote: Hi there,I'm trying to receive an org.w3c.dom.Document Object from OpenAMF using AMF0 in F2B3. It works great on Flash8 but on F2B3 it's not receiving anything. It seems like the XML serialization is not working correctly. Couls someone confirm it please?BestX. -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Please Help With MXMLC Compile Error
Hi Lance; I had a similar problem and the solution was to remove all the comments from the mxml file that was failing in the compiler. Yes. That’s right. Remove all the comments. It made no sense to me either. I’ve been assured by Adobe that this is a known bug that will be fixed in the next release. Tobias. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Lance Linder Sent: Friday, June 16, 2006 12:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Please Help With MXMLC Compile Error I posted this a few days ago with no response. I am still hoping that I can resolve this or at least feel comfortable in believing that the error might go away with the next release of Flex. I might feel this error is my fault but what I can’t get around is the fact that it compiles fine from FlexBuilder but not MXMLC compiler. I thought FlexBuilder uses MXMLC as its compiler? I have tried reproducing the problem with smaller applications but it works just fine. The error only comes up on a much larger application I am working on. Here is the entire error: [exec] Starting 'mxmlc.exe ( -load-config tt3-flex-config.xml TimeTracking3.mxml)' in 'flex' [exec] Loading configuration file tt3-flex-config.xml, root element flex-config [exec] Initial setup: 296ms [exec] Loaded 9 SWCs: 936ms [exec] Compiling... [exec] Files: 630 Time: 7454ms [exec] Error: Compilation unit had no type info and after parsing has no syntax tree [exec] [exec] java.lang.AssertionError: Compilation unit had no type info and after parsing has no syntax tree [exec] at flex2.compiler.as3.binding.TypeAnalyzer.analyzeClass(TypeAnalyzer.java:175) [exec] at flex2.compiler.as3.binding.TypeAnalyzer.analyzeBaseClass(TypeAnalyzer.java:120) [exec] at flex2.compiler.as3.binding.TypeAnalyzer.evaluate(TypeAnalyzer.java:392) [exec] at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86) [exec] at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330) [exec] at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36) [exec] at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910) [exec] at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63) [exec] at flex2.compiler.as3.genext.GenerativeExtension.parse(GenerativeExtension.java:55) [exec] at flex2.compiler.as3.Compiler.parse(Compiler.java:313) [exec] at flex2.compiler.mxml.ImplementationCompiler.parse(ImplementationCompiler.java:148) [exec] at flex2.compiler.mxml.Compiler.parse(Compiler.java:89) [exec] at flex2.compiler.API.parse(API.java:1631) [exec] at flex2.compiler.API.parse(API.java:1592) [exec] at flex2.compiler.API.batch2(API.java:285) [exec] at flex2.compiler.API.batch(API.java:764) [exec] at flex2.compiler.API.compile(API.java:889) [exec] at flex2.compiler.API.compile(API.java:796) [exec] at flex2.tools.Compiler.main(Compiler.java:194) [exec] Total time: 8686ms [exec] Peak memory usage: 72 MB (Heap: 49, Non-Heap: 23) I can only hope that this will be resolved in the next release! Lance __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Accordion state change?
Tim Hoff wrote: > Instead of states, you can use a little binding, like: > > > > Or, create an Array that contains the text that you want to display, > in the same order as the Accordion children. You would then > similarly bind like: > > text="{myArray[ScriptsAccordion.selectedIndex]}" > Ah, nice idea ty :) What I ended up doing last eve was dumping all the states and replacing them as a viewstack. Then I could just go: change="vs.selectedIndex = Acc.selectedIndex" only caveat seems to be you have to have the same # of canvas' in both or you can go out of bounds with a selection. Impudent1 LeapFrog Productions Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: remoteObject send failing
On 6/20/06, Peter Farland <[EMAIL PROTECTED]> wrote: Hank: 1. Are you compiling with a reference to the services configuration file? Either through a --services command line option to mxmlc (or a compiler services element in flex-config.xml)?This is what is in the properties > flex compiler > additional compiler arguments-services "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\uploadServer\WEB-INF\flex\flex-enterprise-services.xml" -locale en_USThe path above is a valid path to my flex-enterprise-services.xml file. 2. Do any of your channel endpoints use a {context.root} token? If so, have you specified a --context-root command line option to mxmlc?It looks like they do. This is right out of samples and I just pasted it into my code. server.name }:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>The bad news is I changed it to the below line just to see if I could get it working.http://localhost:8080/uploadServer/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>It didnt work.So now I am wondering if uploadServer isnt my context.root. It is the name of my webapp. Perhaps these are not the same thing. 3. Can you add a to your MXML and then watch the flashlog.txt for more info?I did stick this in, but could you tell me where flashlog.txt is kept?ThanksHank Pete From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Tuesday, June 20, 2006 3:02 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject send failing Well, that is a much cleaner call, but it still does the same thing :(Hank On 6/20/06, Doug Lowder <[EMAIL PROTECTED] > wrote: Hi Hank,You should be able to call your RemoteObject method directly. See if the following works: click="chartTemplate.findCharts(1)" />- Doug--- In flexcoders@yahoogroups.com , "hank williams" <[EMAIL PROTECTED]>wrote:>> I am trying to get remoteObjects up and running, talking to a FDS.>> I use mxml binding, and when I actually make the send() call to my > remote object it generates an error "send failed". It does notappear> that the message is ever getting to the server because there is no> traffic on the java console. If it was a bad destination or method > name I would think that would require asking the server, which it> doesnt seem to do.>> The error generated is just "send failed".>> So I suspect I am doing something bone headed on the client side but> dont know what. Below is the failing app.>> Any help appeciated.>> Hank>>> > http://www.adobe.com/2006/mxml "layout="absolute">>> > > >> > id = "chartTemplate"> destination = "charts"> >> > name="findCharts"> result= "dgChartTemplate.dataProvider=event.result"> fault = " Alert.show(event.fault.faultstring,'Error');" >> > > 1 > > > > >> > > dataField="name"/>> dataField="time_interval"/>> > >> > click = "chartTemplate.findCharts.send()"/>> > Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design.http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web.
RE: [flexcoders] Re: remoteObject send failing
Hank: 1. Are you compiling with a reference to the services configuration file? Either through a --services command line option to mxmlc (or a compiler services element in flex-config.xml)? 2. Do any of your channel endpoints use a {context.root} token? If so, have you specified a --context-root command line option to mxmlc? 3. Can you add a to your MXML and then watch the flashlog.txt for more info? Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Tuesday, June 20, 2006 3:02 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject send failing Well, that is a much cleaner call, but it still does the same thing :(Hank On 6/20/06, Doug Lowder <[EMAIL PROTECTED] > wrote: Hi Hank,You should be able to call your RemoteObject method directly. See if the following works: click="chartTemplate.findCharts(1)" />- Doug--- In flexcoders@yahoogroups.com , "hank williams" <[EMAIL PROTECTED]>wrote:>> I am trying to get remoteObjects up and running, talking to a FDS.>> I use mxml binding, and when I actually make the send() call to my > remote object it generates an error "send failed". It does notappear> that the message is ever getting to the server because there is no> traffic on the java console. If it was a bad destination or method > name I would think that would require asking the server, which it> doesnt seem to do.>> The error generated is just "send failed".>> So I suspect I am doing something bone headed on the client side but> dont know what. Below is the failing app.>> Any help appeciated.>> Hank>>> > http://www.adobe.com/2006/mxml"layout="absolute">>> > > >> > id = "chartTemplate"> destination = "charts"> >> > name="findCharts"> result= "dgChartTemplate.dataProvider=event.result"> fault = " Alert.show(event.fault.faultstring,'Error');" >> > > 1 > > > > >> > > dataField="name"/>> dataField="time_interval"/>> > >> > click = "chartTemplate.findCharts.send()"/>> > Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design.http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~-> --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: remoteObject send failing
Well, that is a much cleaner call, but it still does the same thing :(HankOn 6/20/06, Doug Lowder <[EMAIL PROTECTED] > wrote:Hi Hank,You should be able to call your RemoteObject method directly. See if the following works: click="chartTemplate.findCharts(1)" />- Doug--- In flexcoders@yahoogroups.com , "hank williams" <[EMAIL PROTECTED]>wrote:>> I am trying to get remoteObjects up and running, talking to a FDS.>> I use mxml binding, and when I actually make the send() call to my > remote object it generates an error "send failed". It does notappear> that the message is ever getting to the server because there is no> traffic on the java console. If it was a bad destination or method > name I would think that would require asking the server, which it> doesnt seem to do.>> The error generated is just "send failed".>> So I suspect I am doing something bone headed on the client side but> dont know what. Below is the failing app.>> Any help appeciated.>> Hank>>> > http://www.adobe.com/2006/mxml"layout="absolute">>> > > >> > id = "chartTemplate"> destination = "charts"> >> > name="findCharts"> result= "dgChartTemplate.dataProvider=event.result"> fault = " Alert.show(event.fault.faultstring,'Error');" >> > > 1 > > > > > > > > dataField="name"/>> dataField="time_interval"/>> > >> > click = "chartTemplate.findCharts.send()"/>> > Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design.http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~-> --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: remoteObject send failing
Hi Hank, You should be able to call your RemoteObject method directly. See if the following works: - Doug --- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote: > > I am trying to get remoteObjects up and running, talking to a FDS. > > I use mxml binding, and when I actually make the send() call to my > remote object it generates an error "send failed". It does not appear > that the message is ever getting to the server because there is no > traffic on the java console. If it was a bad destination or method > name I would think that would require asking the server, which it > doesnt seem to do. > > The error generated is just "send failed". > > So I suspect I am doing something bone headed on the client side but > dont know what. Below is the failing app. > > Any help appeciated. > > Hank > > > > http://www.adobe.com/2006/mxml"; layout="absolute"> > > > > > > id = "chartTemplate" > destination = "charts"> > > name="findCharts" > result = "dgChartTemplate.dataProvider=event.result" > fault = "Alert.show (event.fault.faultstring,'Error');" > > > > 1 > > > > > > > > > > > > > click = "chartTemplate.findCharts.send()"/> > > Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: How to integrate Flash and Flex well done ?
Hi, Future yes; present--requires some hoops. Background: the new Flash Player contains both the old Actionscript Virtual Machine (AVM0) the executes AS1 and AS2 and the new AVM2 that executes AS3. This allows us to have the new VM, language and performance and keep backward compatibility with existing SWFs written prior to AS3. Unfortunately, there is no real interop between the two VMs. For the most part, one has to choose AS1/2 or AS3 and not mix them. The workaround is, as written earlier in the thread is to have the two SWFs talk to each other with local connection. This works, but is not the best ieal solution. Tha said, James was right that the *future* will make it easy to create SWFs and SWCs in Flash and use them in a Flex applications. The future assume the Flash authoring tool with full support for AS3. This future version of the Flash authoring tool is code named "Blaze". It is still a ways off, but we expect to have a version on labs.adobe.com as early as possible to enable this interop across Flash authoring and Flex. It will not however provide an automatic way to use earlier (AS1/2) SWF/SWCs in Flex--you will need to either port these to AS3 or use the local connection technique. Hope this helps. -David > -Original Message- > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of roberto.rosenthal > Sent: Monday, June 19, 2006 1:13 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: How to integrate Flash and Flex well done ? > > Jason, thanks for the prompt reply... But that doesn't really > help, does it ? How strange.. I just spoke today with James > Ward, a Flex Evangelist, and he assure me that the future for > Flash developers was to build customs components (SWC) to > interact with Flex... and also sugest me to ask the > flexcoders group about this issue (what I'm doing). > > Anyhow, do you know where I can learn how to do that ? > Meaning: build a custom SWC component with Flash and use it > as a Flex component tag. > > I really appreciate it, > Roberto Rosenthal > > > > > > Yahoo! Groups Sponsor > ~--> Yahoo! Groups gets a make over. See > the new email design. > http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM > -- > --~-> > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Tabbing through items in a container
Currently in the framework, you cannot tab through components like Label, Text and Image. They will not respond with a focus highlight which other controls, like a Button, do. Try your same test case with a Button and you'll see that the controls respond to tabbing in the order specified by tabIndex. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Tuesday, June 20, 2006 6:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tabbing through items in a container Hi there I am trying to build a custom list that allows the same type of cursor tabbing though child items as a list / datagrid. I have created a custom class that extends HBox. I have chosen a container rather than a list to extend from, because I do not want a fixed column width for items. I have tried various test cases to implement tabbing though a container's children with no luck. Ultimately I want to build a custom class that extends a container and dynamically adds child UI-items that can be tabbed through. Alternatively, is there a way to allow for dynamic column sizes for items within a list? Code: -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Anyone has UML of BusinessDelegate, ServiceLocator, EventBroadcaster
Don't have the UML diagrams, but there is a good Cairngorm Flow Chart pdf here: http://www.corbell.com.au/docs/Cairngorm%20flow%20chart.pdf Cheers,-TH--- In flexcoders@yahoogroups.com, "junhufr" <[EMAIL PROTECTED]> wrote:>> Does anyone have the UML diagrams of> BusinessDelegate> ServiceLocator> EventBroadcaster> FrontController> etc.,> > which mentioned in the book > > Thanks in advance.> __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] remove all content of RichtextEditor
Title: Mensaje Hi, I have a richtexteditor in wich I load some html with embeded images, ie: text text text more text more text At one moment I need to change the content of the richtexteditor and load other diferent text. This is partially done, the text is changed but the images does not disapeared, it seems as the images where objects of the textarea, but the textarea has no getchilds method to remove each image. How can I remove ALL the content of the richtexteditor? Thanks!! Jesus Iglesias __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Access SOAP fault code
I have to appologize for my own stupidity. I'm actaully wrapping my WebServices in a try/catch that return a failure status. The fault event only tell me an HTTP Error occured. - Kelly --- In flexcoders@yahoogroups.com, "kellyb723" <[EMAIL PROTECTED]> wrote: > > I'm using .NET 2.0 WebService from Flex 2.0. If my web service throws > an exception I do receive the exception message in the > FaultEvent.fault.faultString in Flex. > > - Kelly > > --- In flexcoders@yahoogroups.com, "Daniel Tuppeny" wrote: > > > > Cool, I thought it just copied the one from IE! In any case, I guess the > > WinForms one would be different. Thanks :-) > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Carson Hager > > Sent: 20 June 2006 15:01 > > To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com > > Subject: RE: [flexcoders] Access SOAP fault code > > > > > > You can definitely do this so that only the flex app gets the affected > > response. The FP has a unique user agent name that you can look at to > > determine if you need to change the http status code or not. That's how > > we've done this. > > > > > > Carson > > > > > > > > > > From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny > > Sent: Tue 6/20/2006 9:50 AM > > To: flexcoders@yahoogroups.com > > Subject: RE: [flexcoders] Access SOAP fault code > > > > > > > > We've not got many implementations so far, so there's not a great deal > > to change, it's the fact that it's messy that I don't like, rather than > > there's more work involved. Having real exceptions sent back to the > > client is way more convenient than try/catch'ing everything and > > returning a custom error object. > > > > Maybe we can add some HttpHandlers that catch our web services and > > change the response header, but it's a little nasty, especially given > > those services may be called by other apps (like ClickOnce WinForms), > > which we'd want to server the real response to. > > > > We'll play around when we get that far, and see what works best. > > > > Thanks for the info! > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Carson Hager > > Sent: 20 June 2006 14:22 > > To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com > > Subject: RE: [flexcoders] Access SOAP fault code > > > > > > Sorry. I got you mixed up with the original poster. > > > > I'd be really surprised if you couldn't do this in .NET more generically > > than that. I'd hate to see you have to change all of your > > implementations. We made this very clear to Adobe that this was not > > acceptable but that didn't seem to matter. It was made pretty clear to > > us that the player would not be changing. Personally, I'd rather the > > product was delayed in order to get this right from the beginning. Once > > more people who have significant experience come to Flex, they are all > > going to find this as apalling as you have. I'd hate to see Flex get a > > bad rap over this. > > > > > > Carson > > > > > > > > > > From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny > > Sent: Tue 6/20/2006 9:21 AM > > To: flexcoders@yahoogroups.com > > Subject: RE: [flexcoders] Access SOAP fault code > > > > > > > > We're using .NET web services, no cold fusion. > > > > Looks like we'll have to wrap all responses in try/catch, and return an > > object with an error property, and the actual data as another property. > > Disgusting :-( > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Carson Hager > > Sent: 20 June 2006 14:11 > > To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com > > Subject: RE: [flexcoders] Access SOAP fault code > > > > > > Preaching to the choir. :) Believe me...we feel the same way. From > > everything we have heard from Adobe, this will not be addressed within > > the player within this release. > > > > That being said, does CF support anything like filters in J2EE that > > allow you to do things like alter the contents of all responses before > > they leave the server? If so, you can simply change that HTTP status > > code to 200 for all CFC requests that have resulted in SOAP faults. > > > > Just to clarify, Adobe told us informally that they would be coming up > > with various server side solutions that would take care of this for you. > > You would have to check with them to see if they are doing this for Cold > > Fusion. > > > > > > Carson > > > > > > > > > > From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny > > Sent: Tue 6/20/2006 9:06 AM > > To: flexcoders@yahoogroups.com > > Subject: RE: [flexcoders] Access SOAP fault code > > > > > > > > This sounds pretty worrying. We're using SOAP
RE: [flexcoders] Re: Access SOAP fault code
That is very surprising. That really should not happen. Are your web services not sending back an HTTP 500? Per the spec, they are required to. Carson From: flexcoders@yahoogroups.com on behalf of kellyb723Sent: Tue 6/20/2006 1:44 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Access SOAP fault code I'm using .NET 2.0 WebService from Flex 2.0. If my web service throwsan exception I do receive the exception message in theFaultEvent.fault.faultString in Flex.- Kelly--- In [EMAIL PROTECTED]ups.com, "Daniel Tuppeny" <[EMAIL PROTECTED]..> wrote:>> Cool, I thought it just copied the one from IE! In any case, I guess the> WinForms one would be different. Thanks :-)> > > > From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On> Behalf Of Carson Hager> Sent: 20 June 2006 15:01> To: [EMAIL PROTECTED]ups.com; [EMAIL PROTECTED]ups.com> Subject: RE: [flexcoders] Access SOAP fault code> > > You can definitely do this so that only the flex app gets the affected> response. The FP has a unique user agent name that you can look at to> determine if you need to change the http status code or not. That's how> we've done this.> > > Carson> > > > > From: [EMAIL PROTECTED]ups.com on behalf of Daniel Tuppeny> Sent: Tue 6/20/2006 9:50 AM> To: [EMAIL PROTECTED]ups.com> Subject: RE: [flexcoders] Access SOAP fault code> > > > We've not got many implementations so far, so there's not a great deal> to change, it's the fact that it's messy that I don't like, rather than> there's more work involved. Having real exceptions sent back to the> client is way more convenient than try/catch'ing everything and> returning a custom error object.> > Maybe we can add some HttpHandlers that catch our web services and> change the response header, but it's a little nasty, especially given> those services may be called by other apps (like ClickOnce WinForms),> which we'd want to server the real response to.> > We'll play around when we get that far, and see what works best.> > Thanks for the info!> > > > From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On> Behalf Of Carson Hager> Sent: 20 June 2006 14:22> To: [EMAIL PROTECTED]ups.com; [EMAIL PROTECTED]ups.com> Subject: RE: [flexcoders] Access SOAP fault code> > > Sorry. I got you mixed up with the original poster.> > I'd be really surprised if you couldn't do this in .NET more generically> than that. I'd hate to see you have to change all of your> implementations. We made this very clear to Adobe that this was not> acceptable but that didn't seem to matter. It was made pretty clear to> us that the player would not be changing. Personally, I'd rather the> product was delayed in order to get this right from the beginning. Once> more people who have significant experience come to Flex, they are all> going to find this as apalling as you have. I'd hate to see Flex get a> bad rap over this.> > > Carson> > > > > From: [EMAIL PROTECTED]ups.com on behalf of Daniel Tuppeny> Sent: Tue 6/20/2006 9:21 AM> To: [EMAIL PROTECTED]ups.com> Subject: RE: [flexcoders] Access SOAP fault code> > > > We're using .NET web services, no cold fusion.> > Looks like we'll have to wrap all responses in try/catch, and return an> object with an error property, and the actual data as another property.> Disgusting :-(> > > > > From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On> Behalf Of Carson Hager> Sent: 20 June 2006 14:11> To: [EMAIL PROTECTED]ups.com; [EMAIL PROTECTED]ups.com> Subject: RE: [flexcoders] Access SOAP fault code> > > Preaching to the choir. :) Believe me...we feel the same way. From> everything we have heard from Adobe, this will not be addressed within> the player within this release.> > That being said, does CF support anything like filters in J2EE that> allow you to do things like alter the contents of all responses before> they leave the server? If so, you can simply change that HTTP status> code to 200 for all CFC requests that have resulted in SOAP faults.> > Just to clarify, Adobe told us informally that they would be coming up> with various server side solutions that would take care of this for you.> You would have to check with them to see if they are doing this for Cold> Fusion.> > > Carson> > > > > From: [EMAIL PROTECTED]ups.com on behalf of Daniel Tuppeny> Sent: Tue 6/20/2006 9:06 AM> To: [EMAIL PROTECTED]ups.com> Subject: RE: [flexcoders] Access SOAP fault code> > > > This sounds pretty worrying. We're using SOAP without any server/proxy.> So we won't be able to get the SOAP exceptions at all?> > That sounds like rather a fundamental flaw. It means we're unable to> give the user any sensible messages, because we don't have the exception> type. Is this not bein
[flexcoders] Re: [Flex2Beta3] CF/Flex integration - 500 NULL
Are you attempting the Sample app called SessionTracker? Can you give me more details? Bill Sahlas ColdFusion QA Adobe Systems Inc. 275 Grove Street Newton MA 02246 p: 617.219.2167 [EMAIL PROTECTED] __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Access SOAP fault code
I'm using .NET 2.0 WebService from Flex 2.0. If my web service throws an exception I do receive the exception message in the FaultEvent.fault.faultString in Flex. - Kelly --- In flexcoders@yahoogroups.com, "Daniel Tuppeny" <[EMAIL PROTECTED]> wrote: > > Cool, I thought it just copied the one from IE! In any case, I guess the > WinForms one would be different. Thanks :-) > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Carson Hager > Sent: 20 June 2006 15:01 > To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access SOAP fault code > > > You can definitely do this so that only the flex app gets the affected > response. The FP has a unique user agent name that you can look at to > determine if you need to change the http status code or not. That's how > we've done this. > > > Carson > > > > > From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny > Sent: Tue 6/20/2006 9:50 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access SOAP fault code > > > > We've not got many implementations so far, so there's not a great deal > to change, it's the fact that it's messy that I don't like, rather than > there's more work involved. Having real exceptions sent back to the > client is way more convenient than try/catch'ing everything and > returning a custom error object. > > Maybe we can add some HttpHandlers that catch our web services and > change the response header, but it's a little nasty, especially given > those services may be called by other apps (like ClickOnce WinForms), > which we'd want to server the real response to. > > We'll play around when we get that far, and see what works best. > > Thanks for the info! > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Carson Hager > Sent: 20 June 2006 14:22 > To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access SOAP fault code > > > Sorry. I got you mixed up with the original poster. > > I'd be really surprised if you couldn't do this in .NET more generically > than that. I'd hate to see you have to change all of your > implementations. We made this very clear to Adobe that this was not > acceptable but that didn't seem to matter. It was made pretty clear to > us that the player would not be changing. Personally, I'd rather the > product was delayed in order to get this right from the beginning. Once > more people who have significant experience come to Flex, they are all > going to find this as apalling as you have. I'd hate to see Flex get a > bad rap over this. > > > Carson > > > > > From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny > Sent: Tue 6/20/2006 9:21 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access SOAP fault code > > > > We're using .NET web services, no cold fusion. > > Looks like we'll have to wrap all responses in try/catch, and return an > object with an error property, and the actual data as another property. > Disgusting :-( > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Carson Hager > Sent: 20 June 2006 14:11 > To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access SOAP fault code > > > Preaching to the choir. :) Believe me...we feel the same way. From > everything we have heard from Adobe, this will not be addressed within > the player within this release. > > That being said, does CF support anything like filters in J2EE that > allow you to do things like alter the contents of all responses before > they leave the server? If so, you can simply change that HTTP status > code to 200 for all CFC requests that have resulted in SOAP faults. > > Just to clarify, Adobe told us informally that they would be coming up > with various server side solutions that would take care of this for you. > You would have to check with them to see if they are doing this for Cold > Fusion. > > > Carson > > > > > From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny > Sent: Tue 6/20/2006 9:06 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Access SOAP fault code > > > > This sounds pretty worrying. We're using SOAP without any server/proxy. > So we won't be able to get the SOAP exceptions at all? > > That sounds like rather a fundamental flaw. It means we're unable to > give the user any sensible messages, because we don't have the exception > type. Is this not being fixed for the final release? :-( > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Carson Hager > Sent: 20 June 2006 13:29 > To: flexcoders@yahoogroups.com; flexcoders@yahoogro
[flexcoders] Anyone has UML of BusinessDelegate, ServiceLocator, EventBroadcaster
Does anyone have the UML diagrams of BusinessDelegate ServiceLocator EventBroadcaster FrontController etc., which mentioned in the book Thanks in advance. Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] remoteObject send failing
I am trying to get remoteObjects up and running, talking to a FDS. I use mxml binding, and when I actually make the send() call to my remote object it generates an error "send failed". It does not appear that the message is ever getting to the server because there is no traffic on the java console. If it was a bad destination or method name I would think that would require asking the server, which it doesnt seem to do. The error generated is just "send failed". So I suspect I am doing something bone headed on the client side but dont know what. Below is the failing app. Any help appeciated. Hank http://www.adobe.com/2006/mxml"; layout="absolute"> 1 Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Design Pattern books for AS3 and Flex 2
well, seems it's a bit too late to add my vote for "Head First Design Patterns". Personally I think this is a *MUST* read (over and over again and port those java code to AS3) for every serious engineer :-) Recently I've be thinking about implement Memento and Command Pattern in Flex 2 so the application could "undo" things. Jeremy. On 6/20/06, Alan Shaw <[EMAIL PROTECTED]> wrote: Danny Patterson and Joey Lott have an AS3 design patterns book coming out this summer from Adobe. They presented parts of it at FlashBelt last week, and it's going to be a must buy. -A On 6/20/06, Phil Marston < [EMAIL PROTECTED]> wrote: don't know about flex as 3 specifically, but worth checking outO'Reilly's "Head First Design Patterns" http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8 HTH Philjudah wrote:> Are there any design pattern books coming out in the near future that> talk about design patterns with ActionScript 3 or Flex 2?>> Best Regards,> Judah Frangipane >>--__Phil MarstonLearning TechnologistLearning Technology UnitEdward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/__The University of Aberdeen Open Day 29th August 2006Booking is essential www.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495 Yahoo! Groups Sponsor ~-->Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~-> -- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Is it possible to replace UI controls in mxml at runtime?
Sure you can, try "view state" or "viewstack", they are built for this :-) Jeremy. On 6/20/06, Dong Lee <[EMAIL PROTECTED]> wrote: Hi, I'm creating a generic Search component that contains few buttons, a form, say 'formSearch' to capture the search parameters. Using the component I need to serach on persons, accounts, transactions etc. and have separate PersonSearch, AccountSearch, TransactionSerach 1. Is it possible to replace the 'formSearch' with another form at runtime? How would you do it and at what event? 2. Are there any preference between MXML and AS for this purpose? Dong __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex 2 Consultant Wanted
We would like a consultant to help us with the design and maybe code a Flex product currently under development. The development is in Flex 2b3. Preferably the candidate would be located near Orlando or Washington DC. After inital contact we would like the person available on occasion to answer questions we may have as they arise. Please contact me at bchirgwin at yahoo dot com if your interested. Include details of your experience and rates. Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Is it possible to replace UI controls in mxml at runtime?
Hi, I'm creating a generic Search component that contains few buttons, a form, say 'formSearch' to capture the search parameters. Using the component I need to serach on persons, accounts, transactions etc. and have separate PersonSearch, AccountSearch, TransactionSerach 1. Is it possible to replace the 'formSearch' with another form at runtime? How would you do it and at what event? 2. Are there any preference between MXML and AS for this purpose? Dong __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Design Pattern books for AS3 and Flex 2
Danny Patterson and Joey Lott have an AS3 design patterns book coming out this summer from Adobe. They presented parts of it at FlashBelt last week, and it's going to be a must buy. -A On 6/20/06, Phil Marston <[EMAIL PROTECTED]> wrote: don't know about flex as 3 specifically, but worth checking outO'Reilly's "Head First Design Patterns" http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8HTH Philjudah wrote:> Are there any design pattern books coming out in the near future that> talk about design patterns with ActionScript 3 or Flex 2?>> Best Regards,> Judah Frangipane >>--__Phil MarstonLearning TechnologistLearning Technology UnitEdward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/__The University of Aberdeen Open Day 29th August 2006Booking is essential www.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495 Yahoo! Groups Sponsor ~-->Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~->-- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How to integrate Flash and Flex well done ?
Hey Roberto, maybe these links could be of help... http://lists.motion-twin.com/pipermail/mtasc/2005-October/028565.html http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2940.html cheers, rbn --- In flexcoders@yahoogroups.com, "roberto.rosenthal" <[EMAIL PROTECTED]> wrote: > > Jason, thanks for the prompt reply... But that doesn't really help, > does it ? How strange.. I just spoke today with James Ward, a Flex > Evangelist, and he assure me that the future for Flash developers was > to build customs components (SWC) to interact with Flex... and also > sugest me to ask the flexcoders group about this issue (what I'm doing). > > Anyhow, do you know where I can learn how to do that ? Meaning: build > a custom SWC component with Flash and use it as a Flex component tag. > > I really appreciate it, > Roberto Rosenthal > Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flash Video Crash Frequency Becoming Alarming
You should be able to find the swf in your temp internet files folder. (Might be an idea to clear it, then visit the site, so there's less to search through). If you can find it, and it happens every time, you've got something to send to Adobe or get others try. On XP, it's usually at: C:\Documents and Settings\[USERNAME]\Local Settings\Temporary Internet Files -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Carabetta Sent: 20 June 2006 16:50 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flash Video Crash Frequency Becoming Alarming On 6/20/06, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Tuesday 20 June 2006 15:56, Dave Carabetta wrote: > > Major commercial sites where the browser tends to crash: > > CNN.com > > ESPN.com > > I spent 5 minutes clicking on each site, and it didn't crash. > Mind you, ESPN claims I needed Flash 8 most of the time, so their in a > world of hurt already :-) > Yeah, I've posted feedback to them as well noting that their detection scripts need to be updated. It's usually on their sub-pages (clicking into a story link), and, like I said, it's usually only when it's the Apple ad with the two dudes (using Flash Video rather than the standard movie). If it were a clear repro (i.e., I could get the link to the SWF before my browser crashes), I'd certainly post it. Regards, Dave. Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links [Inbound Mail Scanned by MessageLabs] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?
>From the documents when using removeChild the removed display item is added to the garbage collection for later removal. However I'm reusing component instances and creating new instance of the same (a sort of tabbed interface where children are created and removed at will. The listeners for the child component are removed and other objects set to null, but; it does not seem to be collected. Should one have to remove all objects created through the chain or just on the child being removed? I.e. if I instantiate a class called toto through a component called texavery and toto creates an instance of titi do I have to unload all objects created by or in the children following the entire chain texavery >> toto >> titi where each one unloads it's owned/created objects? Or is this cleaned up from the child object on down? Is there a way to force the garbage collection clean up, or destroy an object completely? I did wait to see if it unloaded 25mins and still no change in the process memory usage. However I'm only at this time unloading objects created by the child component and not it's children's objects. So unload the entire chain or just the first ? Is removeChild working properly ? How is this supposed to work, and are there any best practices in regards to this? Thanks, Jason Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Getting rid of rectangle on axis (FB2.3 charts)
Your link seems to be broken. Still hard to undestand what you're describing, but it sounds like you may be misinterpreting what's on screen. By default, most of the charts' axes draw a thick axis line, and then white minor tick marks on top of it. if you set the minorTickPlacement style of the axis renderer to "none", it will make it appear as one solid axis line. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sp0rarb3jd3rSent: Tuesday, June 20, 2006 1:25 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Getting rid of rectangle on axis (FB2.3 charts) On the axis there is a different coloured underlying rectangle (tocontrast the individual individual tick lines, I think). I would likefor there to be only one straight line.To exemplify: http://www.itu.dk/people/urlgrey/example1.gif.Y!> > Do you mean the axis itself? I'm not sure what rectangle you're> referring to.> > E.> > > > > From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On> Behalf Of sp0rarb3jd3r> Sent: Monday, June 19, 2006 6:13 AM> To: [EMAIL PROTECTED]ups.com> Subject: [flexcoders] Getting rid of rectangle on axis (FB2.3 charts)> > > > Is there anyway to get rid of the little rectangle* that forms around> the vertical axis on the linecharts.> I can't seem to find the style that turns it off.> If that is possible, mind.> > Y!> > *It's the bit that is there to ensure you spot the tick-lines.> __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] how to assign itemRenderer w/ActionScript
Well, there is no itemRenderer property on the chart classes, just the style, so trying to assign it will result in either a compiler error or a runtime error (depending on whether the compiler can determine if it's illegal...i.e., depending on whether the reference is strongly typed or not). Regarding the inconsistency...honestly, it's probably not driven by any well defined reasoning. We spend a lot of time trying to make sure the framework API is consistent across all the classes, but occasionally things like this slip through the cracks. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, June 20, 2006 1:13 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how to assign itemRenderer w/ActionScript On Monday 19 June 2006 16:57, Pan Troglodytes wrote: > Charts, for one. See the thread "changing out pieSeries.itemRenderer > at runtime". What happens if you just assign to the property rather than using setStyle ? Maybe Ely Greenfield can shed light on why there is an inconsistency here (might be bug, might be feature). -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flash Video Crash Frequency Becoming Alarming
On 6/20/06, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Tuesday 20 June 2006 15:56, Dave Carabetta wrote: > > Major commercial sites where the browser tends to crash: > > CNN.com > > ESPN.com > > I spent 5 minutes clicking on each site, and it didn't crash. > Mind you, ESPN claims I needed Flash 8 most of the time, so their in a world > of hurt already :-) > Yeah, I've posted feedback to them as well noting that their detection scripts need to be updated. It's usually on their sub-pages (clicking into a story link), and, like I said, it's usually only when it's the Apple ad with the two dudes (using Flash Video rather than the standard movie). If it were a clear repro (i.e., I could get the link to the SWF before my browser crashes), I'd certainly post it. Regards, Dave. Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] New to Flex 2.0 Help please
On Monday 19 June 2006 02:45, Silpa sirivella wrote: > I may have to develop some RIA application using > Flex2.0. I'm using Weblogic as my application server. When try to . > I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any > jars for flex 2.0? if so where can i get new jar files. You can't mix 1.5 and 2.0 in the same server instance. Head over to labs.adobe.com and download the Flex2 beta. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flash Video Crash Frequency Becoming Alarming
On Tuesday 20 June 2006 15:56, Dave Carabetta wrote: > Major commercial sites where the browser tends to crash: > CNN.com > ESPN.com I spent 5 minutes clicking on each site, and it didn't crash. Mind you, ESPN claims I needed Flash 8 most of the time, so their in a world of hurt already :-) -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] F2B3 bug in serialization of XML in AMF0
Hi there,I'm trying to receive an org.w3c.dom.Document Object from OpenAMF using AMF0 in F2B3. It works great on Flash8 but on F2B3 it's not receiving anything. It seems like the XML serialization is not working correctly. Couls someone confirm it please?BestX. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Design Pattern books for AS3 and Flex 2
" Head First Design Patterns" It's on my shelf also, btw, check out the Kiwi project at adobe. There are very good examples of Abstract Factories, Singleton managers and a bunch of interface tricks. Peace, MikeOn 6/20/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote: Just wanted to add another vote for Head First Design Patterns. Its a great way to approach the topic that I think could be helpful for anyone from absolute beginner up to a pretty experienced 'patterner'. In my limited reading on it, it also seems like the Cairngorm framework has some pretty direct implementations of various patterns in Flex. These articles are a good intro: http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html Ben -- What goes up, does come down. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Design Pattern books for AS3 and Flex 2
Just wanted to add another vote for Head First Design Patterns. Its a great way to approach the topic that I think could be helpful for anyone from absolute beginner up to a pretty experienced 'patterner'. In my limited reading on it, it also seems like the Cairngorm framework has some pretty direct implementations of various patterns in Flex. These articles are a good intro: http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html Ben Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] FLV can't load in to videoDisplay component from remote machine
On Tuesday 20 June 2006 15:16, Bhavin Padhiyar wrote: > I try out with some other examples that also give same kind of error even > in flexstore example of adobe having same error. What error is that then ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Debugging RTMP
As for getting functionality akin to NetConnection Debugger for RTMP communicatons... hmm, this might be an interesting hack... could you change the RTMP endpoint of your NetConnection connect statement to point to an Flex Data Services 2 (FDS) RTMPChannel endpoint and ensure that /WEB-INF/flex/flex-enterprise-services.xml has the logging level set to Debug and that the only filter enabled is Endpoint.* You could then restart the server on the console and watch what the FDS RTMP channel endpoint decoded for the request... Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David ClarkSent: Tuesday, June 20, 2006 11:08 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Debugging RTMP Thanks again Peter. On 6/20/06, Peter Farland <[EMAIL PROTECTED]> wrote: David, we've forward your email to Flash QA. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Reusing Cairngorm views
If I try and reuse a view (say on two different tabs, each using a different dataProvider in the model), I get an error like: Error: View names must be unique. A view has already been registered with filesAndCheckoutControlBarViewHelper at org.nevis.cairngorm.view::ViewLocator/register()[C: \dev\swat\projects\ac_emea\Cairngorm\org\nevis\cairngorm\view\ViewLocator.as:126] at org.nevis.cairngorm.view::ViewHelper/initialized()[C: \dev\swat\projects\ac_emea\Cairngorm\org\nevis\cairngorm\view\ViewHelper.as:106] I'm embededing both views with MXML code like: It must be possible to reuse view components, surely ? What have I missed ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container
Ah, ok. So if you want to clip 20 pixels, then you need to make sure that button2 is always 20 pixels wider than the enclosing canvas. You can make use of binding: mycanvas" width="25%" horizontalScrollPolicy="off"> {mycanvas.width+20}" label="number2"/> Yes, it's quite a pain when the HBox/VBox just won't clip their content. I always thought it was a bug. On 6/20/06, bhaq1972 <[EMAIL PROTECTED]> wrote: sorry, the width of button2 should have been 100% (i only want tospecify percentage widths).> I'm not sure exactly what effect you want. Do you always want apart of> button2 to be clipped off the right? If so, by how much? >Thats correct. i want to have part of the button clipped off to theright.i'm only using a button as an example (could be any gui control).Essentially i want to clip the right edge of the following example. http://www.adobe.com/2006/mxml">paddingRight="-20" clipContent="true"> if i was using a Canvas instead of an HBox in the above example. it works.but then i'll have to position the children.--- In flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]>wrote:> > I'm not sure exactly what effect you want. Do you always want apart of> button2 to be clipped off the right? If so, by how much?>> What's happening in my example is that the nested Canvas gives button2 only> 25% of the available horizontal space. When the HBox was 300pixels wide,> that gave it 75 pixels. Since I set button2 to be 100 pixelswide, the> right 25 pixels are cut off. >> But if you set the HBox's width to be 100%, then that 25% spacecould be a> lot wider than 75 pixels. If it goes over 100 pixels, then ofcourse all of> button2 would be shown. You'll have to play with the numbers to get a> specific effect.>>> On 6/20/06, bhaq1972 <[EMAIL PROTECTED]> wrote:> >> > hi Jason> >> > How can I keep this effect if i modify your example to become > >> > > > > > > > > > > > > >> > thanks> > bod> > > > --- In flexcoders@yahoogroups.com, "Jason Y. Kwong" > > wrote:> > >> > > Have a nested container do the clipping for you. eg: > > >> > > > > > > > > > > > > > > > > > > > >> > >> > > On 6/16/06, bhaq1972 wrote:> > > >> > > > Mike and Tom thanks for the input.> > > > > > > > firstly, I tried using clipContent before but doesn't work.> > > >> > > > if i was dealing with fixed widths and set the> > > > horizonatalScrollPolicy 'off', i can achieve the effect i was > > > > looking for eg> > > >> > > > http://www.adobe.com/2006/mxml"> > xmlns="*" > > > > > > > backgroundColor="yellow"> > > > horizontalScrollPolicy="off">> > > > > > > > > > > > > > > > > > > >> > > > But as i'm not dealing with fixed button widths, i had to think> > of> > > > another way to get this effecthence paddingRight=-15 andsome> > > > kind of contentClip.> > > >> > > > As i'm only dealing with layout, i would have thought something> > > > would work out of the box. Adobe???> > > >> > > > I'm willing to try your suggestion of a mask, if you cangives> > us a> > > > few ideas on how to do that thanks. > > > >> > > >> > > > regrds> > > > bod> > > >> > > >> > > >> > > >> > > > > > > >> > > >> > > >> > > >> > > > --- In flexcoders@yahoogroups.com, "Michael Schmalle" > > > > wrote:> > > > >> > > > > > I don't think the layout algorithm takes negetives into> > account.> > > > > > > > > > I didn't mean it doesn't use the negetive padding, just it> > doesn't> > > > calculate> > > > > the 'measured width' right when laying out the mask for the > > > > container using> > > > > a negetive padding with a percentage.> > > > >> > > > > Ah, to hard to explain right.> > > > > > > > > > Peace, Mike> > > > >> > > > > On 6/15/06, Michael Schmalle wrote:> > > > > >> > > > > > Hi, > > > > > >> > > > > > For you to understand the problem you need to understandhow> > the> > > > HBox lays> > > > > > it's children out and uses viewMetrics. > > > > > >> > > > > > The reason this is not working is because since youspecified> > > > 75% width,> > > > > > the container will calc the .75 of the width minus anything> > that> > > > is static> > > > > > IE your button 2.> > > > > >> > > > > > When you say paddingRight = -15, this kind defines the logic> > of> > > > the> > > > > > layout.> > > > > >> > > > > > For some reason, when you specify -15 for paddingLeft,the > > > > content on both> > > > > > sides then get clipped.> > > > > >> > > > > > I am not Adobe, but I would venture to guess this cannot be> > done> > > > right> > > > > > now. Not saying this is a bug but, I don't think thelayout> > > > algorithm takes> > > > > > negetives into account. > > > > > >> > > > > > You could always subclass HBox and create a mask over itand> > use> > > > > > borderMetrics to size the mask.> > > > > > > > > > > > Peace, Mike> > > > > >> > > > > >> > > > > >> > > > > > On 6/15/06, Tom Chiverton wrote:> > > > > > >>
Re: [flexcoders] Flash Video Crash Frequency Becoming Alarming
On 6/20/06, Dave Carabetta <[EMAIL PROTECTED]> wrote: > > Are others experiences stability issues? Yes. I have exactly the same setup. FP9 crashes Firefox for me very frequently, usually on Engadget.com. I don't use IE much and haven't seen it crash. I, too, submitted a bug and I assume it's being looked into but getting confirmation of that from Adobe would be reassuring. -Tom Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container
sorry, the width of button2 should have been 100% (i only want to specify percentage widths). > I'm not sure exactly what effect you want. Do you always want a part of > button2 to be clipped off the right? If so, by how much? > Thats correct. i want to have part of the button clipped off to the right. i'm only using a button as an example (could be any gui control). Essentially i want to clip the right edge of the following example. http://www.adobe.com/2006/mxml";> if i was using a Canvas instead of an HBox in the above example. it works.but then i'll have to position the children. --- In flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]> wrote: > > I'm not sure exactly what effect you want. Do you always want a part of > button2 to be clipped off the right? If so, by how much? > > What's happening in my example is that the nested Canvas gives button2 only > 25% of the available horizontal space. When the HBox was 300 pixels wide, > that gave it 75 pixels. Since I set button2 to be 100 pixels wide, the > right 25 pixels are cut off. > > But if you set the HBox's width to be 100%, then that 25% space could be a > lot wider than 75 pixels. If it goes over 100 pixels, then of course all of > button2 would be shown. You'll have to play with the numbers to get a > specific effect. > > > On 6/20/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > hi Jason > > > > How can I keep this effect if i modify your example to become > > > > > > > > > > > > > > > > > > thanks > > bod > > > > --- In flexcoders@yahoogroups.com, "Jason Y. Kwong" > > wrote: > > > > > > Have a nested container do the clipping for you. eg: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 6/16/06, bhaq1972 wrote: > > > > > > > > Mike and Tom thanks for the input. > > > > > > > > firstly, I tried using clipContent before but doesn't work. > > > > > > > > if i was dealing with fixed widths and set the > > > > horizonatalScrollPolicy 'off', i can achieve the effect i was > > > > looking for eg > > > > > > > > http://www.adobe.com/2006/mxml"; > > xmlns="*" > > > > > > backgroundColor="yellow" > > > > horizontalScrollPolicy="off"> > > > > > > > > > > > > > > > > > > > > > > > > But as i'm not dealing with fixed button widths, i had to think > > of > > > > another way to get this effecthence paddingRight=-15 and some > > > > kind of contentClip. > > > > > > > > As i'm only dealing with layout, i would have thought something > > > > would work out of the box. Adobe??? > > > > > > > > I'm willing to try your suggestion of a mask, if you can gives > > us a > > > > few ideas on how to do that thanks. > > > > > > > > > > > > regrds > > > > bod > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "Michael Schmalle" > > > > wrote: > > > > > > > > > > > I don't think the layout algorithm takes negetives into > > account. > > > > > > > > > > I didn't mean it doesn't use the negetive padding, just it > > doesn't > > > > calculate > > > > > the 'measured width' right when laying out the mask for the > > > > container using > > > > > a negetive padding with a percentage. > > > > > > > > > > Ah, to hard to explain right. > > > > > > > > > > Peace, Mike > > > > > > > > > > On 6/15/06, Michael Schmalle wrote: > > > > > > > > > > > > Hi, > > > > > > > > > > > > For you to understand the problem you need to understand how > > the > > > > HBox lays > > > > > > it's children out and uses viewMetrics. > > > > > > > > > > > > The reason this is not working is because since you specified > > > > 75% width, > > > > > > the container will calc the .75 of the width minus anything > > that > > > > is static > > > > > > IE your button 2. > > > > > > > > > > > > When you say paddingRight = -15, this kind defines the logic > > of > > > > the > > > > > > layout. > > > > > > > > > > > > For some reason, when you specify -15 for paddingLeft, the > > > > content on both > > > > > > sides then get clipped. > > > > > > > > > > > > I am not Adobe, but I would venture to guess this cannot be > > done > > > > right > > > > > > now. Not saying this is a bug but, I don't think the layout > > > > algorithm takes > > > > > > negetives into account. > > > > > > > > > > > > You could always subclass HBox and create a mask over it and > > use > > > > > > borderMetrics to size the mask. > > > > > > > > > > > > Peace, Mike > > > > > > > > > > > > > > > > > > > > > > > > On 6/15/06, Tom Chiverton wrote: > > > > > > > > > > > > > >On Thursday 15 June 2006 12:09, bhaq1972 wrote: > > > > > > > > how do i achieve this ? > > > > > > > > > > > > > > clipContent ? > > > > > > > > > > > > > > -- > > > > > > > Tom Chiverton > > > > > > > > > > > > > > *
[flexcoders] [Flex2Beta3] CF/Flex integration - 500 NULL
Hello list, I just tried to set up the FlexMessaging gateway instance in the Coldfusion administrator. Everything fine during the setup, but when I try to start up the instance, it returns a blank page with "500 null" on it. Any idea what to do? I already checked the jre version, but that matches the prerequisites... Thanks and greetings, Thomas Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Debugging RTMP
Thanks again Peter.On 6/20/06, Peter Farland <[EMAIL PROTECTED]> wrote: David, we've forward your email to Flash QA. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Converting Java objects to ActionScript
Thanks Roberto, I tried your sample and it worked. Now that I see the error message again I know what the issue is you don't have a reference to mx.collections.ArrayCollection so this class definition isn't linked into the SWF during compilation... Typically if a typed object's class isn't found the player just creates an anonymous Object, however mx.collections.ArrayCollection implements flash.net.IExternalizable, which means it controls its own serialization and can't be skipped by the player... so we end up (unfortunately) with this generic error. In your MXML add a line in Script like this: import mx.collections.ArrayCollection; private var dep:ArrayCollection; That should be enough to force a dependency on this class so that it is linked into the SWF. We fixed this after Beta 3 to always have a dependency on this class when using RPC services. Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter FarlandSent: Tuesday, June 20, 2006 9:44 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Converting Java objects to ActionScript Roberto, in flex-enterprise-services.xml, can you go to the logging section, set the level to Debug and then make sure the only logging pattern is Endpoint.*. Restart the server and then rerun your application and look on the console (if you started the server using the command line) or in the app server's std err/out logs and see if you can provide more information? Otherwise, you can send me a zip offlist (remember to rename the .zip extension to something else, like .z so that the email filter doesn't discard it) of the server code so I can take a closer look. Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hans73itSent: Tuesday, June 20, 2006 4:19 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Converting Java objects to ActionScript I'm trying to call a remote object that returns a List of String.After I've invoked the method Flex throws this Error:ArgumentError: Error #2004: One of the parameters is invalid.myFault: (mx.messaging.messages::ErrorMessage)#0body = (Object)#1clientId = (null)correlationId = "6D027356-DA87-5CBB-9C7D-F07EFBCDE4F0"destination = ""extendedData = (null)faultCode = "Server.Acknowledge.Failed"faultDetail = "Was expecting mx.messaging.messages.AcknowledgeMessage, but received null"faultString = "Didn't receive an acknowledge message"headers = (Object)#2messageId = "D11F9A89-1A82-88CD-AF17-F07EFF841B75"rootCause = (null)timestamp = 0timeToLive = 0I also have this error with a Set class as result...Flex documentation said that a Java Collection is converted in an ActionScript ArrayCollection...I'm missing something?-I'm using the JDK5.0, Flex beta3, tomcat 5.5.17-If I use a Map object as result, it works...Thanks,Roberto __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] adding zoom effect to datagrid row
Thanks for the info, Jason and Tim. I'm actually going to give up on this for now to move onto other things. But here's what I was REALLY wanting. When rolling over any part of the row, I wanted the whole row to zoom. I haven't been able to figure out how to do that because of the scoping issues. As it stands now, each cell is an island and can't communicate easily to the whole that it needs to zoom. It would be great if the datagrid itself had events for row rollovers and a way to apply an effect to the whole row. On 6/19/06, Jason Szeto <[EMAIL PROTECTED]> wrote: Pan, You are actually running into a scoping problem. You don't get an error because your effectTriggers are using strings instead of effect instances. Try changing rollOverEffect="zoomIn" to rollOverEffect="{zoomIn}". You should get an error complaining that zoomIn doesn't exist. The problem is that when you use inline components, the component must be self-contained. It has no access to objects in the parent app. If you move the two zoom effects into the VBox component, then your effects will play. I've included an updated version. Notice that I had to set the scrollPolicy of the VBox to prevent scrollbars from appearing during the zoom. http://www.adobe.com/2006/mxml" layout="absolute"> January20 February60 March90 Jason From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes Sent: Monday, June 19, 2006 1:07 PM To: flexcoders Subject: [flexcoders] adding zoom effect to datagrid row I'm having a real time trying to get a rolloverEffect to work on a datagrid. What I want is for the text to zoom a little bit when rolled over. Here's my code: http://www.adobe.com/2006/mxml" layout="absolute"> January20 February60 March90 But the effect never happens. I've tried a lot of different variations with no luck. -- Jason -- Jason __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Design Pattern books for AS3 and Flex 2
Patterns are language neutral; yes But, this is a double edge sword. Maybe he meant, "A book about how to implement those neutral patterns in Flex that is not neutral"; That's like saying in all foreign languages a sentence has the pattern signature of blah blah... When some go from left to right, right to left, sentence structure and signature relies on the foundation of the language itself. The pattern expresses the intent of what needs to be described IN the language that is not neutral. This is why there are books on how to write English, Spanish, French, Japanese etc. ;-) I can already tell you that there will be new patterns found using mxml-as3. Peace, MikeOn 6/20/06, Phil Marston <[EMAIL PROTECTED]> wrote: don't know about flex as 3 specifically, but worth checking out O'Reilly's "Head First Design Patterns" http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8 HTH Phil judah wrote: > Are there any design pattern books coming out in the near future that > talk about design patterns with ActionScript 3 or Flex 2? > > Best Regards, > Judah Frangipane > > -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- What goes up, does come down. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flash Video Crash Frequency Becoming Alarming
I posted this in the FP 9 forums, but it doesn't look like anybody really pays attention to it, so I thought I'd re-post this to more eyeballs to see what your experience has been: I know that there is a final push to get FP 9 out the door by the end of the month. However, I have to say that the frequency with which my browsers are crashing, predominantly when the content is Flash Video, is giving me some serious cause for alarm. In a browser like Firefox, where there is one process for every window you have open, losing multiple windows worth of work is immensely frustrating. I have submitted this same issue via the Wish Form several times as well, so this isn't the first I'm noting this. Here's my (seemingly standard) setup: Windows XP Professional with SP2, fully patched Internet Explorer 6.0.2900.2180.xpsp_sp2_gdr.050301-1519 Firefox 1.5.0.4 Flash Player 9, beta 3 (IE: Version 9,0,0,296, FF: Version 9.0 b296) Major commercial sites where the browser tends to crash: CNN.com ESPN.com In both cases, it is almost invariably any time one of the Flash Video ads for Apple's new Mac campaign appears. Further, I've noted that it gets to the point where the video looks to be done loading and is about to play back. I went to a second machine that had FP 8 installed, and the video played fine. I'm a huge fan of the improvements that FP 9 is offering for developers, but if I can't achieve stability accessing very common web sites, I can't ask my customers to upgrade so that they can use my Flex 2 appsthat just won't fly. Again, this looks to be Flash *Video*-related, as I've had no problems as of yet accessing standard SWF files (i.e., forms, etc.) that I have been developing. Are others experiences stability issues? Regards, Dave. Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: cant find flex.bootstrap.BootstrapServlet
Problem solved. I had just not copied some files in the samples lib directory.HankOn 6/20/06, hank williams < [EMAIL PROTECTED]> wrote:I am just getting fds setup, and I am having a problem setting up my own project. Everything worked fine when I was using the sample, but somehow when I setup my own project I must not have set some parameter properly or copied some necessary file into my project. Any clues. Hank[EMAIL PROTECTED] flex.bootstrap.BootstrapServletjava.lang.ClassNotFoundException: flex.bootstrap.BootstrapServlet at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start ( StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start (StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)Jun 20, 2006 9:39:59 AM org.apache.catalina.core.StandardContext loadOnStartup __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Aligning the control bar of a RichTextEditor
I feel silly asking this question b/c it seems like something too easy...but I can't get the control bar of a rich text editor to be ABOVE the text field (by default it sits below the text box). I've tried everything including adding a style for controlBarStyleName with vertical-align:top but that didn't work. Any ideas? Thanks in advance. Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container
I'm not sure exactly what effect you want. Do you always want a part of button2 to be clipped off the right? If so, by how much?What's happening in my example is that the nested Canvas gives button2 only 25% of the available horizontal space. When the HBox was 300 pixels wide, that gave it 75 pixels. Since I set button2 to be 100 pixels wide, the right 25 pixels are cut off. But if you set the HBox's width to be 100%, then that 25% space could be a lot wider than 75 pixels. If it goes over 100 pixels, then of course all of button2 would be shown. You'll have to play with the numbers to get a specific effect. On 6/20/06, bhaq1972 <[EMAIL PROTECTED]> wrote: hi JasonHow can I keep this effect if i modify your example to become thanksbod--- In flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]>wrote:>> Have a nested container do the clipping for you. eg: >> > > > > > >>> On 6/16/06, bhaq1972 <[EMAIL PROTECTED]> wrote:> > > > Mike and Tom thanks for the input.> >> > firstly, I tried using clipContent before but doesn't work.> >> > if i was dealing with fixed widths and set the> > horizonatalScrollPolicy 'off', i can achieve the effect i was > > looking for eg> >> > http://www.adobe.com/2006/mxml"xmlns="*" >> > backgroundColor="yellow"> > horizontalScrollPolicy="off">> > > > > > > > > >> > But as i'm not dealing with fixed button widths, i had to thinkof> > another way to get this effecthence paddingRight=-15 and some > > kind of contentClip.> >> > As i'm only dealing with layout, i would have thought something> > would work out of the box. Adobe???> >> > I'm willing to try your suggestion of a mask, if you can gives us a> > few ideas on how to do that thanks.> >> >> > regrds> > bod> >> >> >> >> >> >> >> > > >> > --- In flexcoders@yahoogroups.com, "Michael Schmalle"> > wrote:> > >> > > > I don't think the layout algorithm takes negetives into account.> > >> > > I didn't mean it doesn't use the negetive padding, just itdoesn't> > calculate> > > the 'measured width' right when laying out the mask for the > > container using> > > a negetive padding with a percentage.> > >> > > Ah, to hard to explain right.> > >> > > Peace, Mike> > >> > > On 6/15/06, Michael Schmalle < teoti.graphix@> wrote:> > > >> > > > Hi,> > > >> > > > For you to understand the problem you need to understand howthe> > HBox lays> > > > it's children out and uses viewMetrics. > > > >> > > > The reason this is not working is because since you specified> > 75% width,> > > > the container will calc the .75 of the width minus anythingthat > > is static> > > > IE your button 2.> > > >> > > > When you say paddingRight = -15, this kind defines the logicof> > the> > > > layout. > > > >> > > > For some reason, when you specify -15 for paddingLeft, the> > content on both> > > > sides then get clipped.> > > >> > > > I am not Adobe, but I would venture to guess this cannot be done> > right> > > > now. Not saying this is a bug but, I don't think the layout> > algorithm takes> > > > negetives into account.> > > >> > > > You could always subclass HBox and create a mask over it and use> > > > borderMetrics to size the mask.> > > >> > > > Peace, Mike> > > >> > > >> > > >> > > > On 6/15/06, Tom Chiverton < tom.chiverton@> wrote:> > > > >> > > > >On Thursday 15 June 2006 12:09, bhaq1972 wrote:> > > > > > how do i achieve this ?> > > > > > > > > > clipContent ?> > > > >> > > > > --> > > > > Tom Chiverton> > > > >> > > > > > > > > >> > > > > This email is sent for and on behalf of Halliwells LLP.> > > > >> > > > > Halliwells LLP is a limited liability partnership registered> > in England> > > > > and Wales under registered number OC307980 whose registered> > office address> > > > > is at St James's Court Brown Street Manchester M2 2JF. A list> > of members is> > > > > available for inspection at the registered office. Any> > reference to a> > > > > partner in relation to Halliwells LLP means a member of > > Halliwells LLP.> > > > > Regulated by the Law Society.> > > > >> > > > > CONFIDENTIALITY> > > > >> > > > > This email is intended only for the use of the addressee named> > above and> > > > > may be confidential or legally privileged. If you are notthe> > addressee you> > > > > must not read it and must not use any information contained in> > nor copy it> > > > > nor inform any person other than Halliwells LLP or the> > addressee of its> > > > > existence or contents. If you have received this email in > > error please> > > > > delete it and notify Halliwells LLP IT Department on 0870365> > 8008.> > > > >> > > > > For more information about Halliwells LLP visit > > www.halliwells.com.> > > > >> > > > > We are pleased to announce that Halliwells LLP has beenvoted> > AIM Lawyer > > > > > of the Year at the 2005 Growth Company Awards> > > > >> > > > >> > > > >> > > >> > > >> > > > > > > > --> > > > What goe
Re: [flexcoders] Design Pattern books for AS3 and Flex 2
don't know about flex as 3 specifically, but worth checking out O'Reilly's "Head First Design Patterns" http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8 HTH Phil judah wrote: > Are there any design pattern books coming out in the near future that > talk about design patterns with ActionScript 3 or Flex 2? > > Best Regards, > Judah Frangipane > > -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Problem with displaying exactly one item in a DataGrid.
Hi, This is Sreedhar. I am working with Flex Builder 2 Beta 3, Java Server Pages, and SQL Server 2005. Currently, I am working on "Search based on Keyword". When I execute the search through the JSP, I am able to see the proper results. I am having a problem when displaying these results in a Flex DataGrid. If my search yields more than one result, the results are displayed in the DataGrid properly. However, if there is only one result, the DataGrid is blank. /**The Query in JSP */ ResultSet rs = st.executeQuery("select User_FirstName, User_LastName, Podcast_Name, Rating, Category, FileType, Subscription_Fee, LogoPath, Sub_Category, Website_Url, FeedDescription, FilePath, Keywords from User_Info U, Podcast_Info P where U.User_ObjId = P.User_ObjId and P.Keywords like '%" +keyword+ "%'"); /*/ We are using an ArrayCollection as follows: http://localhost:8080/Essential2/SelectData.jsp" result="emp = new ArrayCollection(selectdata.lastResult.userinfo)"> {key1.text} *Emp is the DataProvider for the DataGrid. I suspect the error is in the MXML, as the query executes correctly in JSP. If anyone has any suggestions, it would be greatly appreciated.Thanks & Regards,Sreedhar Yahoo! India Answers: Share what you know. Learn something new Click here Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Error: Flex Builder could not publish the project source: null
I get this error when trying to publish some applications. The publish fine, though. Just thought I'd make it known that there seems to be some kind of bug in it.-- Jason __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] how to assign itemRenderer w/ActionScript
There is no property itemRenderer on charts. What happens is you get a syntax error.On 6/20/06, Tom Chiverton < [EMAIL PROTECTED]> wrote:On Monday 19 June 2006 16:57, Pan Troglodytes wrote: > Charts, for one. See the thread "changing out pieSeries.itemRenderer at> runtime".What happens if you just assign to the property rather than using setStyle ?Maybe Ely Greenfield can shed light on why there is an inconsistency here (might be bug, might be feature).--Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-->Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 is subject to:http://docs.yahoo.com/info/terms/ -- Jason __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Design Pattern books for AS3 and Flex 2
Design Patterns (and the design principles they are grounded upon) are very much language neutral. A couple of pages of Head First Design Patterns can go a long way. The implementation language is Java but it's easy to pick up if you've done a fair amount of ActionScripting v2.0 or higher. http://www.amazon.ca/exec/obidos/ASIN/0596007124/qid=1150813503/sr=8-1/ref=s r_8_xs_ap_i1_xgl/701-3725986-4069911 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of judah Sent: Tuesday, June 20, 2006 10:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Design Pattern books for AS3 and Flex 2 Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane -- "Always bear in mind that your own resolution to succeed is more important than any one thing." "You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose." - Abraham Lincoln -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Getting rid of rectangle on axis (FB2.3 charts)
THANK YOU PROFOOUNDLY! yes, I had to shout!!! Y! > > > > > > > > > > > > - Original Message - > From: sp0rarb3jd3r > To: flexcoders@yahoogroups.com > Sent: Tuesday, June 20, 2006 1:54 PM > Subject: [flexcoders] Re: Getting rid of rectangle on axis (FB2.3 charts) > > > On the axis there is a different coloured underlying rectangle (to > contrast the individual individual tick lines, I think). I would like > for there to be only one straight line. > To exemplify: > http://www.itu.dk/people/urlgrey/example1.gif. > > Y! > > > > > Do you mean the axis itself? I'm not sure what rectangle you're > > referring to. > > > > E. > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of sp0rarb3jd3r > > Sent: Monday, June 19, 2006 6:13 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Getting rid of rectangle on axis (FB2.3 charts) > > > > > > > > Is there anyway to get rid of the little rectangle* that forms around > > the vertical axis on the linecharts. > > I can't seem to find the style that turns it off. > > If that is possible, mind. > > > > Y! > > > > *It's the bit that is there to ensure you spot the tick-lines. > > > Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] [FileReference] change title on file chooser
Following code will pop os-native file chooser up. FileReference.browse(); However, I couldn't find any property to change title on the file chooser. Any clue? K Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] FLV can't load in to videoDisplay component from remote machine
hi all,Strange!!!I am making one prototype of online television application in flex. In that I use video display component. I change source property to load different movies this method works fine when I am working in to development environment when I put data on server this method give shows me nothing.I try out with some other examples that also give same kind of error even in flexstore example of adobe having same error.Please help me is there my mistake or this is system problem. Yahoo! Groups gets better. Check out the new email design. Plus theres much more to come. __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Access SOAP fault code
Cool, I thought it just copied the one from IE! In any case, I guess the WinForms one would be different. Thanks :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 15:01To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code You can definitely do this so that only the flex app gets the affected response. The FP has a unique user agent name that you can look at to determine if you need to change the http status code or not. That's how we've done this. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:50 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code We've not got many implementations so far, so there's not a great deal to change, it's the fact that it's messy that I don't like, rather than there's more work involved. Having real exceptions sent back to the client is way more convenient than try/catch'ing everything and returning a custom error object. Maybe we can add some HttpHandlers that catch our web services and change the response header, but it's a little nasty, especially given those services may be called by other apps (like ClickOnce WinForms), which we'd want to server the real response to. We'll play around when we get that far, and see what works best. Thanks for the info! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:22To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Sorry. I got you mixed up with the original poster. I'd be really surprised if you couldn't do this in .NET more generically than that. I'd hate to see you have to change all of your implementations. We made this very clear to Adobe that this was not acceptable but that didn't seem to matter. It was made pretty clear to us that the player would not be changing. Personally, I'd rather the product was delayed in order to get this right from the beginning. Once more people who have significant experience come to Flex, they are all going to find this as apalling as you have. I'd hate to see Flex get a bad rap over this. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:21 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code We're using .NET web services, no cold fusion. Looks like we'll have to wrap all responses in try/catch, and return an object with an error property, and the actual data as another property. Disgusting :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:11To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Preaching to the choir. :) Believe me...we feel the same way. From everything we have heard from Adobe, this will not be addressed within the player within this release. That being said, does CF support anything like filters in J2EE that allow you to do things like alter the contents of all responses before they leave the server? If so, you can simply change that HTTP status code to 200 for all CFC requests that have resulted in SOAP faults. Just to clarify, Adobe told us informally that they would be coming up with various server side solutions that would take care of this for you. You would have to check with them to see if they are doing this for Cold Fusion. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This sounds pretty worrying. We're using SOAP without any server/proxy. So we won't be able to get the SOAP exceptions at all? That sounds like rather a fundamental flaw. It means we're unable to give the user any sensible messages, because we don't have the exception type. Is this not being fixed for the final release? :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 13:29To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This is currently a limitation in the Flash Player ( all versions ). SOAP faults require HTTP 500 to returned. When the FP sees a 500, it stops reading data from the socket. The current workaround is to use the proxy or to use some other mechanism to change the HTTP status code to 200 before the FP receives it. Yes I realize that this is pretty poor and has serious limitations. One last note, Adobe is evidently working on something akin to the proxy that does this for you on your server. Clearly, this won't help you when accessing web services one machines over which you have no control. Carson From: flexcoders@
RE: [flexcoders] Access SOAP fault code
You can definitely do this so that only the flex app gets the affected response. The FP has a unique user agent name that you can look at to determine if you need to change the http status code or not. That's how we've done this. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:50 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code We've not got many implementations so far, so there's not a great deal to change, it's the fact that it's messy that I don't like, rather than there's more work involved. Having real exceptions sent back to the client is way more convenient than try/catch'ing everything and returning a custom error object. Maybe we can add some HttpHandlers that catch our web services and change the response header, but it's a little nasty, especially given those services may be called by other apps (like ClickOnce WinForms), which we'd want to server the real response to. We'll play around when we get that far, and see what works best. Thanks for the info! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:22To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Sorry. I got you mixed up with the original poster. I'd be really surprised if you couldn't do this in .NET more generically than that. I'd hate to see you have to change all of your implementations. We made this very clear to Adobe that this was not acceptable but that didn't seem to matter. It was made pretty clear to us that the player would not be changing. Personally, I'd rather the product was delayed in order to get this right from the beginning. Once more people who have significant experience come to Flex, they are all going to find this as apalling as you have. I'd hate to see Flex get a bad rap over this. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:21 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code We're using .NET web services, no cold fusion. Looks like we'll have to wrap all responses in try/catch, and return an object with an error property, and the actual data as another property. Disgusting :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:11To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Preaching to the choir. :) Believe me...we feel the same way. From everything we have heard from Adobe, this will not be addressed within the player within this release. That being said, does CF support anything like filters in J2EE that allow you to do things like alter the contents of all responses before they leave the server? If so, you can simply change that HTTP status code to 200 for all CFC requests that have resulted in SOAP faults. Just to clarify, Adobe told us informally that they would be coming up with various server side solutions that would take care of this for you. You would have to check with them to see if they are doing this for Cold Fusion. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This sounds pretty worrying. We're using SOAP without any server/proxy. So we won't be able to get the SOAP exceptions at all? That sounds like rather a fundamental flaw. It means we're unable to give the user any sensible messages, because we don't have the exception type. Is this not being fixed for the final release? :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 13:29To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This is currently a limitation in the Flash Player ( all versions ). SOAP faults require HTTP 500 to returned. When the FP sees a 500, it stops reading data from the socket. The current workaround is to use the proxy or to use some other mechanism to change the HTTP status code to 200 before the FP receives it. Yes I realize that this is pretty poor and has serious limitations. One last note, Adobe is evidently working on something akin to the proxy that does this for you on your server. Clearly, this won't help you when accessing web services one machines over which you have no control. Carson From: flexcoders@yahoogroups.com on behalf of m88e24Sent: Tue 6/20/2006 3:58 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault code Scenario:Flash players talks directly to a SOAP web service, no proxy is used.The proxy attribute of the WebService element is set to "false". Aspecific web service operation generates an appl
[flexcoders] Design Pattern books for AS3 and Flex 2
Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane -- "Always bear in mind that your own resolution to succeed is more important than any one thing." "You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose." - Abraham Lincoln Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Access SOAP fault code
We can add HttpHandlers and HttpModules that would allow us to intercept what's going out. It'll have an impact on performance, but it might be worth it! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: 20 June 2006 14:33To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code If you can get hold of the pure HTTP response in .NET (which I doubt) then you could set the HTTP status code to 200. This way the exception will be handled correctly by Flash Player (and that's how the Flex WS proxy handle this, too) Another way would be to use servlet/ISAPI filters for this. With servlet filters this should be straightforward, not sure about ISAPI filters however. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: Tuesday, June 20, 2006 3:22 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code We're using .NET web services, no cold fusion. Looks like we'll have to wrap all responses in try/catch, and return an object with an error property, and the actual data as another property. Disgusting :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:11To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Preaching to the choir. :) Believe me...we feel the same way. From everything we have heard from Adobe, this will not be addressed within the player within this release. That being said, does CF support anything like filters in J2EE that allow you to do things like alter the contents of all responses before they leave the server? If so, you can simply change that HTTP status code to 200 for all CFC requests that have resulted in SOAP faults. Just to clarify, Adobe told us informally that they would be coming up with various server side solutions that would take care of this for you. You would have to check with them to see if they are doing this for Cold Fusion. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This sounds pretty worrying. We're using SOAP without any server/proxy. So we won't be able to get the SOAP exceptions at all? That sounds like rather a fundamental flaw. It means we're unable to give the user any sensible messages, because we don't have the exception type. Is this not being fixed for the final release? :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 13:29To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This is currently a limitation in the Flash Player ( all versions ). SOAP faults require HTTP 500 to returned. When the FP sees a 500, it stops reading data from the socket. The current workaround is to use the proxy or to use some other mechanism to change the HTTP status code to 200 before the FP receives it. Yes I realize that this is pretty poor and has serious limitations. One last note, Adobe is evidently working on something akin to the proxy that does this for you on your server. Clearly, this won't help you when accessing web services one machines over which you have no control. Carson From: flexcoders@yahoogroups.com on behalf of m88e24Sent: Tue 6/20/2006 3:58 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault code Scenario:Flash players talks directly to a SOAP web service, no proxy is used.The proxy attribute of the WebService element is set to "false". Aspecific web service operation generates an application level userexception and the faultcode and faultstring is returned in the SOAPbody. The FaultEvent object received by the fault handler functiondoes not contain the faultcode and the faultstring from the SOAPmessage. The faultDetail in the FaultEvent object is of type "ioError"and the error text is "Error #2032: Stream error …….." . Whilst theactual SOAP faultcode is "soapenv:Server.userException" and the SOAPfaultstring is "coldfusion.xml.rpc.CFCInvocationException:[coldfusion.runtime.UndefinedElementException : Element SPELER.ID isundefined in SESSION."This is custom exception thrown by a remote function in a ColdFusionCFC. This is not an ioError. A TCPmonitor shows the correct message request and response with thefaultstring and faultcode as expected. How can the actual SOAP faultcode and faultstring be retrieved fromthe FaultEvent or in any other way. Why is the fault description inthe FaultEvent object
[flexcoders] cant find flex.bootstrap.BootstrapServlet
I am just getting fds setup, and I am having a problem setting up my own project.Everything worked fine when I was using the sample, but somehow when I setup my own project I must not have set some parameter properly or copied some necessary file into my project. Any clues. Hank[EMAIL PROTECTED] flex.bootstrap.BootstrapServletjava.lang.ClassNotFoundException: flex.bootstrap.BootstrapServlet at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start( StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start (StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)Jun 20, 2006 9:39:59 AM org.apache.catalina.core.StandardContext loadOnStartup __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Access SOAP fault code
We've not got many implementations so far, so there's not a great deal to change, it's the fact that it's messy that I don't like, rather than there's more work involved. Having real exceptions sent back to the client is way more convenient than try/catch'ing everything and returning a custom error object. Maybe we can add some HttpHandlers that catch our web services and change the response header, but it's a little nasty, especially given those services may be called by other apps (like ClickOnce WinForms), which we'd want to server the real response to. We'll play around when we get that far, and see what works best. Thanks for the info! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:22To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Sorry. I got you mixed up with the original poster. I'd be really surprised if you couldn't do this in .NET more generically than that. I'd hate to see you have to change all of your implementations. We made this very clear to Adobe that this was not acceptable but that didn't seem to matter. It was made pretty clear to us that the player would not be changing. Personally, I'd rather the product was delayed in order to get this right from the beginning. Once more people who have significant experience come to Flex, they are all going to find this as apalling as you have. I'd hate to see Flex get a bad rap over this. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:21 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code We're using .NET web services, no cold fusion. Looks like we'll have to wrap all responses in try/catch, and return an object with an error property, and the actual data as another property. Disgusting :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 14:11To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code Preaching to the choir. :) Believe me...we feel the same way. From everything we have heard from Adobe, this will not be addressed within the player within this release. That being said, does CF support anything like filters in J2EE that allow you to do things like alter the contents of all responses before they leave the server? If so, you can simply change that HTTP status code to 200 for all CFC requests that have resulted in SOAP faults. Just to clarify, Adobe told us informally that they would be coming up with various server side solutions that would take care of this for you. You would have to check with them to see if they are doing this for Cold Fusion. Carson From: flexcoders@yahoogroups.com on behalf of Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This sounds pretty worrying. We're using SOAP without any server/proxy. So we won't be able to get the SOAP exceptions at all? That sounds like rather a fundamental flaw. It means we're unable to give the user any sensible messages, because we don't have the exception type. Is this not being fixed for the final release? :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 13:29To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault code This is currently a limitation in the Flash Player ( all versions ). SOAP faults require HTTP 500 to returned. When the FP sees a 500, it stops reading data from the socket. The current workaround is to use the proxy or to use some other mechanism to change the HTTP status code to 200 before the FP receives it. Yes I realize that this is pretty poor and has serious limitations. One last note, Adobe is evidently working on something akin to the proxy that does this for you on your server. Clearly, this won't help you when accessing web services one machines over which you have no control. Carson From: flexcoders@yahoogroups.com on behalf of m88e24Sent: Tue 6/20/2006 3:58 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault code Scenario:Flash players talks directly to a SOAP web service, no proxy is used.The proxy attribute of the WebService element is set to "false". Aspecific web service operation generates an application level userexception and the faultcode and faultstring is returned in the SOAPbody. The FaultEvent object received by the fault handler functiondoes not contain the faultcode and the faultstring from the SOAPmessage. The faultDetail in the FaultEvent object is of type "ioError"and the error text is "Error #2032: Stream error …….." . Whilst theactual SOAP faultcode is "soapenv:Server.userException" and the SOAPf
[flexcoders] Re: RTE htmlText tags
Here's a blog that allows you to display html within a browser. I was able to combine this with an embedded iframe which I can hide and display...to the user, it looks like a normal TextArea within Flash. http://ebaggg.blogspot.com/ --- In flexcoders@yahoogroups.com, "stefan_schmalhaus" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "phillmidwinter" > wrote: > > > > Flex could be the one if they sort that issue. > > I agree. Once Adobe addresses this issue, they should also finally get > rid of the tag (in favour of a CSS solution) and add support > for some more HTML tags. I don't ask for tables but should be > supported at least. > > Stefan > Yahoo! Groups Sponsor ~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Debugging RTMP
David, we've forward your email to Flash QA. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David ClarkSent: Tuesday, June 20, 2006 9:36 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Debugging RTMP Is there any tool that can debug (monitor) RTMP traffic from flex2b3 to FMS2?I am still trying to figure out what is going on with NetConnection.connect arguments missing, but now I realise that there is no longer any way to see what is being passed in connect or call requests. There used to be NetConnection Debugger but that does not work anymore, I found one adobe site that talks about a Network Debugger but I cannot find it, ServiceCapture does not do RTMP yet. Anyone shed any light?-- david"Many people die at twenty five and aren't buried until they are seventy five".- Benjamin Franklin __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Converting Java objects to ActionScript
Roberto, in flex-enterprise-services.xml, can you go to the logging section, set the level to Debug and then make sure the only logging pattern is Endpoint.*. Restart the server and then rerun your application and look on the console (if you started the server using the command line) or in the app server's std err/out logs and see if you can provide more information? Otherwise, you can send me a zip offlist (remember to rename the .zip extension to something else, like .z so that the email filter doesn't discard it) of the server code so I can take a closer look. Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hans73itSent: Tuesday, June 20, 2006 4:19 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Converting Java objects to ActionScript I'm trying to call a remote object that returns a List of String.After I've invoked the method Flex throws this Error:ArgumentError: Error #2004: One of the parameters is invalid.myFault: (mx.messaging.messages::ErrorMessage)#0body = (Object)#1clientId = (null)correlationId = "6D027356-DA87-5CBB-9C7D-F07EFBCDE4F0"destination = ""extendedData = (null)faultCode = "Server.Acknowledge.Failed"faultDetail = "Was expecting mx.messaging.messages.AcknowledgeMessage, but received null"faultString = "Didn't receive an acknowledge message"headers = (Object)#2messageId = "D11F9A89-1A82-88CD-AF17-F07EFF841B75"rootCause = (null)timestamp = 0timeToLive = 0I also have this error with a Set class as result...Flex documentation said that a Java Collection is converted in an ActionScript ArrayCollection...I'm missing something?-I'm using the JDK5.0, Flex beta3, tomcat 5.5.17-If I use a Map object as result, it works...Thanks,Roberto __._,_.___ -- 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 Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___