[flexcoders] Can you use BlazeDS receiving SOAP WS can be turned into typed objects?
Can you use BlazeDS receiving SOAP WS can be turned into typed objects? Has this been done been done before? P
[flexcoders] AMR Format and ActionScript
Is there a way to play back the audio format, AMR without having to convert it to something like an MP3...with actionscript? Thx bunches, P
[flexcoders] Atlanta Flex 4 Pre-release Tour
Who's attending the Atlanta Flex 4 Pre-release Tour?
[flexcoders] Negative Mask
If I wanted to have an image, would someone point me to a negative or reverse mask tutorial. I'm having a dickens of a time locating a current AS 3.0 or Flex 3 or 4 example. TIA, P
[flexcoders] Re: Upload Image
You may wish to manipulate the image before you upload to the server. With Flash 10 drawing API, you may upload to the client application, manipulate the image, then save the image by uploading the image to the server. A good article is Senocular's tutorial, Flash Player 10 Drawing API http://www.senocular.com/flash/tutorials/flash10drawingapi/ . Also suggested is to change a few settings in your Flex Builder or Eclipse with Flex plug-in. Work with Flex SDK 3.2 or higher and for that particular project, in the project properties to compile in the lower selection, Require Flash Player version: 10.x.xx. I have mine set at 10.0.22 at the moment. You will also need the Flash Player so go to http://www.adobe.com/support/flashplayer/downloads.html . If you need to code and debug, get the Debugger Version that is below the regular player download. P --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, What is the instruction to use for uploading an image ? And how to use this image in the flex application when uploaded ? Thank you, Christophe
[flexcoders] Re: Images
You have the three images you mentioned earlier, let's name them imgLogoLeft, imgCenter, imgLogoRight. Take an HBox, (imagine a table in HTML that has 3 columns) placing the imgLogoLeft first, a Spacer to push the logo images apart from one another, and imgLogoRight. With each logo image, you may wish to set the attribute scaleContent to false so the image doesn't scale to the size of the mx:Image/ container. The mx:HBox container's background is set to your small 1 pixel image and then set the backgroundSize attribute to 100% to stretch it to the size of the HBox. mx:HBox width=100% backgroundSize=100% backgroundImage=imgCenter.jpg mx:Image source=imgLogoLeft.jpg scaleContent=false width=50 height=50/ mx:Spacer width=95%/ mx:Image source=imgLogoRight.jpg width=50 height=50 scaleContent=false/ /mx:HBox --- In flexcoders@yahoogroups.com, Darrin Kay dar...@... wrote: I tried that, and it did not stretch it out, the img is 1px wide and just puts blank space On Mar 5, 2009, at 2:47 PM, Fotis Chatzinikos wrote: width = 100% ? On Thu, Mar 5, 2009 at 4:45 PM, Darrin Kay dar...@... wrote: Ok I was given a jpg image to use as the header, and I broke to 3 images, the left logo and right logo. Now in the original image there was a bar that connected the two to make it look like one. But I want the image to move with the size of the screen so the left and right are on the edges. So I cut a slice of the bar and what it to stretch to breach the distance. so it will look like one image no matter what the screen res. Does that make it clearer? On Mar 5, 2009, at 2:33 PM, Fotis Chatzinikos wrote: for your first question try horizontalGap=0 property on the hbox I do not understand your second question... On Thu, Mar 5, 2009 at 4:30 PM, Darrin Kay dar...@... wrote: Ok I am stuck and I am sure it is simple. I have a HBox and I am I have a image in there, now I want to put another image in there and have it butt up against the first so it will look like one, but it puts a space between the images? Also how can I take a slice of a image (say a bar) and have it stretch to a certain width? thanks -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@..., -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@...,
[flexcoders] Re: local file thumbnail preview :: possible?
--- In flexcoders@yahoogroups.com, app.developer appdevelo...@... wrote: --- In flexcoders@yahoogroups.com, artur_desig2dev artur@ wrote: nevermind.. found it: http://blog.flexexamples.com/2008/08/25/previewing-an-image-before- uploading-it-using-the-filereference-class-in-flash-player-10/ * thanks Juan! Uhh Isn't that using Flex 4 (Gumbo). How do you do it with Flex 3.2? P I have a working test app with Flex 3.2. No need to respond. P
[flexcoders] Re: Flas 10 on mobile is a go
A big THANK YOU to Adobe and the necessary mobile vendors that made this happen. Precia --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: It seems full blown Flash Player 10 (not lite !) is to come to just about every mobile smartphone except the iPhone (Apples fault): http://tinyurl.com/d68voq -- Tom Chiverton Helping to heterogeneously envisioneer bleeding-edge fine-grained impactful customized action-items 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word âpartnerâ to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: local file thumbnail preview :: possible?
--- In flexcoders@yahoogroups.com, artur_desig2dev ar...@... wrote: nevermind.. found it: http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/ * thanks Juan! Uhh Isn't that using Flex 4 (Gumbo). How do you do it with Flex 3.2? P
[flexcoders] Varying width columns in columnchart
How may one go about creating columns of varying width in a columnchart?
[flexcoders] Re: How to pass data to popup window?
Mark, What data are you passing to the popup so I can get an idea of what to pass to the window...and do you want to do this with or without a framework? Precia --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi , I need pass data from main window to popup window(mx:titlewindow).Please give me a idea how to do this. Please post here if you have a demo code to do this. Thanks Mark
[flexcoders] Re: Multiple webservice calls
(NOTE: I wrote this with the ability of italics so it may be a wee bit confusing reading this.) Assumptions: You are calling the same WS method with different parameters. Possible situation: You have a Zoo application in your Flex / AIR application. Lets say a zoo visitor is at the base state of your zoo when he/she may click on any section of the zoo. 1) From the MXML page :: CLICK on the selection (Ex: AnimalSelector.MXML) 2) Dispatch an Event as the AnimalSelectionEvent AnimalSelectionEvent is a custom event to carry data dispatchEvent(new AnimalSelectionEvent(SELECT_ANIMAL, animalSelection); 3) The registered mediator to the MXML page hears the event in the mediator registered to the MXML page In the mediator constructor add an event listener addEventListener( AnimalSelector.SELECT_ANIMAL, selectAnimal ); private function selectAnimal (event:AnimalSelectionEvent) : void { sendNotification( ApplicationFacade.ANIMAL_INFORMATION_REQUEST, event.animalID ); } 4)Each notification will be heard by a command file AnimalCommand.as switch(notification.getName()) { case ApplicationFacade.ANIMAL_INFORMATION_REQUEST: proxy.loadAnimalInformation(notification.getName()); break; } 5) Call the WS through the AnimalProxy Build the URL for the WS call Build the data parameters into an object Send the parameters to ServiceProxy 6) call the WS ServiceProxy Define the send method [Post || Get] var service:HTTPService = new HTTPService; service.method = sendMethod; service.showBusyCursor = true; service.url = url; var token:AsyncToken = service.send(fullParams); token.addResponder(responder); responder is the AnimalProxy so the WS knows where to send the results 7) AnimalProxy should have a results method to received the data back from the WS Place the data in a dataProvider ***Rinse and Repeat Time*** 8) From AnimalProxy...still in the Results method Send a notification for the next WS call (Basically do steps 3- 7 how ever many times you need to call the WS) sendNotification( ApplicationFacade.ANIMAL_HABITAT_REQUEST, animalID ); THE END :) ~~ Reference ~~ Send a call to the WS to get animal information, habitat, and diet. All of theses can be called from the same WS and the same method with different parameters. URL: http://localhost:8080/services/getAnimalDetails Animal information WS call: http://localhost:8080/services/getAnimalDetails? animal=liondata=information Animal habitat WS call: http://localhost:8080/services/getAnimalDetails? animal=liondata=habitat Animal diet WS call: http://localhost:8080/services/getAnimalDetails?animal=liondata=diet ~~ ~~ --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: Thanx for the info, i'll look deeper into the informations rigt after sending this post (i would appreciate if you could post some further informations). @Tracy By it didn't seem to work i meant that the ready property was false after sending a request. By concurrentyl i mean having one Web Service instance which can call multiple operations without canceling the previous and let all calls be managerable (in a sence of be able to differentiate between the single results that come in). Best regards and thanx for the info so far. --- In flexcoders@yahoogroups.com, app.developer appdeveloper@ wrote: Look up AsyncToken. This extend the EventDispatcher. This class provides a place to set additional or token-level data for asynchronous RPC operations. It also allows an IResponder to be attached for an individual call. Associate this to the SEND var token:AsyncToken = service.send(Params); token.addResponder(responder); The 'responder' will let your WS know where to return the results. I can write a longer answer after EOB. PCC --- In flexcoders@yahoogroups.com, florian.salihovic florian.salihovic@ wrote: I'm currently trying to call with one WebService instance a WebService several time concurrently. But it seems like it won't work. Is there a way to achieve it? I'm using an instance of mx.rpc.soap.WebService. Any help would be appreciated.
[flexcoders] Re: Print Selected Area of Image
Did something like this a while back...there are many ways to approach the solution. ~ Use Flex to give the user an interface to draw a box or lasso an image spot to print. So first you need a box (with a border and without fill) created on the fly as the user begins mouseDown, then as the mouse drags, constantly redraw the box as the mouse moves. When mouseUp, that's the last drawing of the box. If user OKs the selection, then send that dimensions and location of the box on the image to the backend (I use ColdFusion 8). With the lastest addition of the cfimage tag, crop the image and show it to the user (I duplicated the image then cropped the copy, so the user can go back to the original.) From that page or view stack state, the user can click print or you can supply a print button. ~ PCC ps For clients that need a high-res solution, there are a few more steps to increase image quality. pps Before ColdFusion 8 I had to use a java solution invoked into the application. cfinvoke is your friend :) --- In flexcoders@yahoogroups.com, wwwpl [EMAIL PROTECTED] wrote: We need to create a control that will allow the user to rubber band an area of an image and then print it. Does anyone know of a blog or example code that has a rubber banding control or a control or code to print a selected area of an image?
[flexcoders] Re: Multiple webservice calls
Look up AsyncToken. This extend the EventDispatcher. This class provides a place to set additional or token-level data for asynchronous RPC operations. It also allows an IResponder to be attached for an individual call. Associate this to the SEND var token:AsyncToken = service.send(Params); token.addResponder(responder); The 'responder' will let your WS know where to return the results. I can write a longer answer after EOB. PCC --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: I'm currently trying to call with one WebService instance a WebService several time concurrently. But it seems like it won't work. Is there a way to achieve it? I'm using an instance of mx.rpc.soap.WebService. Any help would be appreciated.
[flexcoders] Component Distortion
If I have a custom component (MXML file) I wish to distort in the main application, why would the following example not work? All I'm getting is a white trapezoid, not a red vbox which I'm trying to distort. This is based off the distortion example found here http://www.rubenswieringa.com/code/as3/flex/DistortImage/source/index. html I understand and can replicate distorting an image, but a component is mucking me up. ---Main Application--- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:comp=comps.* creationComplete=init () mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.ObjectUtil; import mx.containers.VBox; import comps.tester; import mx.core.UIComponent; import org.flashsandy.display.*; public var holdBMD:Bitmap; public var tl:Point = new Point(10,20); public var tr:Point = new Point(50,20); public var bl:Point = new Point(10,80); public var br:Point = new Point(50,100); private var distortion:DistortImage = new DistortImage (500, 375, 3, 3); private var myTest:tester = new tester; private function init():void { myTest.x = 150; //this.addChild(myTest); holdBMD = new Bitmap( getUIComponentBitmapData ( myTest ) ); //Alert.show(ObjectUtil.toString (holdBMD.bitmapData)); distortion.setTransform(this.myBox.graphics, this.holdBMD.bitmapData, tl, tr, br, bl); } private function getUIComponentBitmapData( target : UIComponent ) : BitmapData { var bd : BitmapData = new BitmapData( target.width, target.height ); var m : Matrix = new Matrix(); bd.draw( target, m ); return bd; } ]] /mx:Script mx:HBox x=10 y=50 width=790 height=338 id=myBox borderStyle=solid borderThickness=6/ /mx:Application -Tester.MXML (component) -- ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=150 backgroundColor=#FF mx:Text text=Test Me/ /mx:VBox Thx for your assistance. Precia
[flexcoders] Call MXML custom component from AS
How do you call an mxml custom component from actionscript of another mxml application? In the current application, I import the tester component, then attempt to call it my making it a new variable in a function. When I add the child to the stage I get a white background empty object and not the red square I'm trying to get into the application. import comps.tester; var myNewTester:tester = new tester; tester.mxml ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=150 backgroundColor=#FF mx:Text text=Test Me/ /mx:VBox Thank you for your help. Precia
[flexcoders] Re: Call MXML custom component from AS
Jeff, Thank you kindly for your assistance. I had tried several interations like what you suggested. The one item I left out was DisplayObject() wrapper. Thank you for pointing out the missing element. You have made my day. Precia --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Precia, Two things I see so far - one is there's no () at the end of your new statement (new tester()) and two is you need to add your tester display object to a container using addChild(). Code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=onCreate() mx:Script ![CDATA[ import Tester; private function onCreate():void { var tester:Tester = new Tester(); addChild(DisplayObject(tester)); } ]] /mx:Script /mx:Application Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of app.developer Sent: Thursday, August 30, 2007 12:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Call MXML custom component from AS How do you call an mxml custom component from actionscript of another mxml application? In the current application, I import the tester component, then attempt to call it my making it a new variable in a function. When I add the child to the stage I get a white background empty object and not the red square I'm trying to get into the application. import comps.tester; var myNewTester:tester = new tester; tester.mxml ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=200 height=150 backgroundColor=#FF mx:Text text=Test Me/ /mx:VBox Thank you for your help. Precia -- 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] Re: From the Beginning - Workspace projects not compiling
First place I looked was the problem tabno errors. Precia --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 05 Feb 2007, app.developer wrote: This is by far not a solution but a work around. I have my old install of eclipse co. to review the old vs. new. If someone has an idea what could have trigger the cascade of failures, please give me a shout. Maybe there was a error - any thing in the problems tab ? -- Tom Chiverton Helping to globally visualize back-end platforms 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.
[flexcoders] Re: How do you document your Flex code?
Muzak, Thank you for the reference. Precia --- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: Flex 2.01 comes with ASDoc http://livedocs.adobe.com/flex/201/html/asdoc_127_1.html http://labs.adobe.com/wiki/index.php/ASDoc:Using_ASDoc regards, Muzak - Original Message - From: app.developer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 19, 2007 7:13 PM Subject: [flexcoders] How do you document your Flex code? How do you document your Flex code? In CF some use FuseDocs or other solutions. What's yours? Precia
[flexcoders] Re: From the Beginning - Workspace projects not compiling
I'll watch the .metadata folder next time this happens. The reason I say next time is this was the 7th time in 8 months this has happened (sad when you keep a log of such things). Precia --- In flexcoders@yahoogroups.com, kewball51 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, app.developer appdeveloper@ wrote: Ok, so far this is what I have done to get past the headache. I have reinstalled eclipse and Flex 2.0.1. (after looking for my license number ...what a search that was) This is by far not a solution but a work around. I have my old install of eclipse co. to review the old vs. new. If someone has an idea what could have trigger the cascade of failures, please give me a shout. I had a similar problem (Flex Builder 2.0 trial version that had just a few days left), and a similar resolution (buying 2.0.1). Before taking the reinstall route, I found a message somewhere (here in flexcoders?) that suggested removing the .metadata folder. That would, of course, require re-building the project workspaces, etc. Sounded like voodoo to me and it didn't solve my immediate problem. Interesting stuff in the .metadata folder, though...
[flexcoders] How do you document your Flex code?
How do you document your Flex code? In CF some use FuseDocs or other solutions. What's yours? Precia
[flexcoders] SizeableTitleWindow 1024: Overriding
I have an error that has begun to pop up in Flex 2.0.1 When I create an small application with the ColdFusion/Felx Application Wizard I now get an error 1024:Overriding a function that is not marked for override., referencing SizeableTitleWindow.as disabling the compile process. Has anyone else run into this? Thanks
[flexcoders] From the Beginning - Workspace projects not compiling
I have recently changed my workspace and now none of my projects compile in the Bin folder (or anywhere for that matter). I'll give you example. I've made my workspace C:\JRun4\servers\cfusion\cfusion-ear\cfusion- war (plz don't preach about this location...Papa don't Preach comes to mind) So I make the Try project New Flext Project --first page, selected: ColdFusion Flash Remoting Service --second page, Root Folder: C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war Root URL: http://127.0.0.1:8700/ --third page, Project name: TryMe Used default Location: C:\JRun4\servers\cfusion\cfusion-ear\cfusion- war\TryMe --fourth page, didn't touch the source path (empty) didn't touch the library path (default stuff) Main Source folder: src Main Application File: TryMe.mxml Output folder: bin Output folder URL: (blank) FINISH I placed a button on the page just to show something so the code now looks like this... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Button x=36 y=34 label=Button/ /mx:Application Right clicked on the src/TryMe.mxml Run As...Flex Application Results... In the browser URL: http://127.0.0.1:8700/TryMe/bin/TryMe.html Output in the browser: 404 /TryMe/bin/TryMe.html /TryMe/bin/TryMe.html That's it. I don't know where to go to force this to compile but right now nothing is compiling. No TryMe.html exists anywhere. I'm running Eclipse 3.1 with Flex 2.0.1 Running into a brick wall... P
[flexcoders] Re: From the Beginning - Workspace projects not compiling
Ok, so far this is what I have done to get past the headache. I have reinstalled eclipse and Flex 2.0.1. (after looking for my license number ...what a search that was) This is by far not a solution but a work around. I have my old install of eclipse co. to review the old vs. new. If someone has an idea what could have trigger the cascade of failures, please give me a shout. Thanks... P --- In flexcoders@yahoogroups.com, app.developer [EMAIL PROTECTED] wrote: I have recently changed my workspace and now none of my projects compile in the Bin folder (or anywhere for that matter). I'll give you example. I've made my workspace C:\JRun4\servers\cfusion\cfusion-ear\cfusion- war (plz don't preach about this location...Papa don't Preach comes to mind) So I make the Try project New Flext Project --first page, selected: ColdFusion Flash Remoting Service --second page, Root Folder: C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war Root URL: http://127.0.0.1:8700/ --third page, Project name: TryMe Used default Location: C:\JRun4\servers\cfusion\cfusion-ear\cfusion- war\TryMe --fourth page, didn't touch the source path (empty) didn't touch the library path (default stuff) Main Source folder: src Main Application File: TryMe.mxml Output folder: bin Output folder URL: (blank) FINISH I placed a button on the page just to show something so the code now looks like this... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Button x=36 y=34 label=Button/ /mx:Application Right clicked on the src/TryMe.mxml Run As...Flex Application Results... In the browser URL: http://127.0.0.1:8700/TryMe/bin/TryMe.html Output in the browser: 404 /TryMe/bin/TryMe.html /TryMe/bin/TryMe.html That's it. I don't know where to go to force this to compile but right now nothing is compiling. No TryMe.html exists anywhere. I'm running Eclipse 3.1 with Flex 2.0.1 Running into a brick wall... P
[flexcoders] Dynamic LineChart; no line showing
I would like to dynamically produce a line chart with dynamic data and multiple line series produced by actionscript instead of the mxml tags. The following code produces everything but the lines. Does anyone see what I'm missing that would prevent the lines from showing? = MXML: = mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() backgroundGradientColors=[#ff, #ff] mx:Script ![CDATA[ import mx.charts.chartClasses.Series; import mx.charts.*; import mx.charts.Legend; import mx.charts.series.*; import mx.charts.renderers.*; import mx.charts.events.*; import mx.collections.*; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.utils.ObjectUtil; import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; public var chart:LineChart = new LineChart(); public var mySeries:Array = new Array(); public var legend:Legend = new Legend(); public var lseries:LineSeries = new LineSeries (); [Bindable] public var dp:ArrayCollection = new ArrayCollection(); import mx.events.IndexChangedEvent; public function init():void{ this.dataManager.getNics(); } public function createChart():void{ chart.height=400; chart.width=400; chart.showDataTips=true; this.boxer.addChild(chart); chart.series = mySeries; mySeries.push(lseries); legend.width = 300; legend.height = 26; legend.dataProvider =chart; this.boxer.addChild(legend); } //getNics public function getNics_result (event:ResultEvent):void{ chart.height=300; chart.width=400; chart.showDataTips=true; this.boxer.addChild(chart); for ( var i:Number=0;ievent.result.length;i++){ //Alert.show (ObjectUtil.toString(event.result.list.source[i].NICID), i as String); this.dataManager.getNicbyID (event.result.list.source[i].NICID); var lseries:LineSeries=new LineSeries(); lseries.displayName=NIC +event.result.list.source[i].NICID; lseries.xField=BandIn; mySeries.push(lseries); } chart.series = mySeries; legend.width = 300; legend.height = 26; legend.id = chartLegend; legend.dataProvider = chart; this.boxer.addChild(legend); } private function getNics_fault (event:FaultEvent):void { Alert.show(ObjectUtil.toString (event.fault),'getNics'); } //getNicbyID public function getNicbyID_result (event:ResultEvent):void{; chart.dataProvider = event.result as ArrayCollection; Alert.show(ObjectUtil.toString (chart.dataProvider)); } private function getNicbyID_fault (event:FaultEvent):void
[flexcoders] Re: Flex Newbie
Giles, If you comment out e.currentTarget.parent.setChildIndex (e.currentTarget,e.currentTarget.parent.numChildren); in yoru startPanelDrag function you will not get that message. I'm still looking into why it's only popping up on the first drag. Precia --- In flexcoders@yahoogroups.com, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All This is my first post so I thought I'd quickly introduce myself. I've been using Flash for about 4 or 5 years and have been very frustrated trying to get it to work as a development environment rather than a designers tool. Because if this I am very excited about Flex and can't wait to get started. So far I've been doing a few tutorials and trying some of my own code and I've run into a problem which I hope someone can help me with. I have the following code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:ns1=myComponents.* mx:Script ![CDATA[ public function startPanelDrag(e:Event):void { e.currentTarget.startDrag(); e.currentTarget.parent.setChildIndex (e.currentTarget,e.currentTarget.parent. numChildren); } public function stopPanelDrag(e:Event):void { e.currentTarget.stopDrag(); } ]] /mx:Script mx:Panel x=20 y=20 width=479 height=431 layout=absolute title=Main Application Window mx:Button x=10 y=10 label=Login/ /mx:Panel mx:Panel title=test drag x=507 y=178 width=275 height=273 mouseDown=startPanelDrag(event) mouseUp=stopPanelDrag(event) toolTip=test /mx:Panel /mx:Application Which is just a couple of panels, one if which is draggable. The dragging works great but when I release the mouse I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.containers.utilityClasses::CanvasLayout/::measureContentArea() at mx.containers.utilityClasses::CanvasLayout/measure() at mx.core::Application/mx.core:Application::measure() at mx.core::UIComponent/::measureSizes() at mx.core::UIComponent/validateSize() at mx.core::Container/validateSize() at mx.managers::LayoutManager/::validateSize() at mx.managers::LayoutManager/::doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() which makes no sense to me at all. This only happens the first time I drag and release, if I do it again I don't get any error. Can someone help me out with this? Thanks Giles
[flexcoders] stretch HBox height=100%
The HBox is not stretching vertically 100% when the panel container stretches vertically. Other containers do stretch 100% in the panel container (if the HBox is not involved). Is there a way to get the HBox to stretch vertically when the panel is enlarged vertically? TIA PC
[flexcoders] Idle Timeout
Anyone dealt with a need to watch for an idle timeout for a user in a flex/flash application? I need something that will watch for key stroke and mouse click inactivity for some amount of time and then timeout, alert them and log out. TIA PC
[flexcoders] Coldfusion / Flex Application Wizard
I can no longer save / finish in the Coldfusion / Flex Application Wizard. Has anyone a solution to this? I have considered reinstalling Eclipse, but wanted opinions before that. Thx, Precia
[flexcoders] Re: Distortion Effects
Thank you for your open source efforts. This ROCKS! Precia --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Here's something for ya: http://weblogs.macromedia.com/auhlmann/archives/2006/11/download_disto r. cfm ;) Alex Alex Uhlmann Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] http://weblogs.macromedia.com/auhlmann -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: TextArea in Grid - too big
The bigger issue is the textArea is expanding 100% in each direction in the gridItem. I need align the text to the bottom and it's not happening. The text stays at the top. The top gridRow containing 8 gridItems with a textArea inside the gridItem. What I have done to is set the height of each textArea, however if I do not set the height, the textArea expands to fill the gridItem. That's ok if the text in the textArea would valign to the bottom, but it doesn't. So I'm at loss. How do I make this look better? At the moment it looks like floating balloons. Ugg. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: TextArea in Grid - too big
How do i change the direction of the gridItem? I see I can do it to the grid. The text is not meant to be editable. Precia --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: GridItem is an HBox. What if you change the direction on the GridItem to vertical, then put a Spacer in with a height of 100%, then just put the TextArea beneath that? Is the Text meant to be editable, maybe it should be a Text control instead? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of app.developer Sent: Friday, November 03, 2006 7:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TextArea in Grid - too big The bigger issue is the textArea is expanding 100% in each direction in the gridItem. I need align the text to the bottom and it's not happening. The text stays at the top. The top gridRow containing 8 gridItems with a textArea inside the gridItem. What I have done to is set the height of each textArea, however if I do not set the height, the textArea expands to fill the gridItem. That's ok if the text in the textArea would valign to the bottom, but it doesn't. So I'm at loss. How do I make this look better? At the moment it looks like floating balloons. Ugg. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] TextArea in Grid - too big
When creating a grid, I have textArea in the gridItems of the first row for headers. If I don't give them a height they default to 100%. I need the textArea to default to the size of the text within them or somehow get the text within the textArea to valign=bottom, which I haven't been able to produce. Anyone have any ideas? I create a grid on the fly with AS. The following is part of the code creating the headers of the grid. //Create the Grid grid1 = new Grid(); grid1.id = griddy; grid1.y=35; grid1.percentWidth=100; grid1.setStyle(backgroundColor,0xf1c616); grid1.setStyle(verticalGap,1); grid1.setStyle(horizontalGap,1); addChild(grid1); //Create the first Row with the Role labels grid1row = new GridRow(); grid1row.id = gRow; grid1row.percentWidth=100; grid1.addChild(grid1row); //Create the first GridItem as a blank first cell grid1Item = new GridItem(); grid1Item.id = gItem0; grid1Item.setStyle(horizontalAlign,center); grid1row.addChild(grid1Item); label1 = new TextArea(); label1.name = gLabel0; label1.width=90; label1.text = label1.alpha = 0; grid1Item.addChild(label1); //Loop through results,creating the headers to each column in the grid for ( var i:Number=0;ievent.result.length;i++){ grid1Item = new GridItem(); grid1Item.id = gItem+i; grid1Item.setStyle(horizontalAlign,center); grid1Item.setStyle(verticalAlign,bottom); grid1row.addChild(grid1Item); label1 = new TextArea(); label1.name = gLabel+i; label1.alpha = 0; label1.width = 90; if (event.result.list.source[i].roleName.length 20){ label1.height = 35; }else{ label1.height = 70; } label1.text = event.result.list.source[i].roleName grid1Item.addChild(label1); } Thanks, Precia -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Checkbox in Datagrid - checks disappear when scrolling
If I use mx:Component id=inlineEditor mx:Canvas width=100% height=100% mx:Script ![CDATA[ public var value:uint; ]] /mx:Script mx:CheckBox id=checkbox selected={Boolean(data.isSelected)} horizontalCenter=0 verticalCenter=0/ mx:Binding source=checkbox.selected destination=value/ /mx:Canvas /mx:Component for the DataGridColumn mx:DataGridColumn dataField=isSelected rendererIsEditor=true editorDataField=value textAlign=center itemRenderer={inlineEditor}/ the selected checkboxes are not selected if a scroll through the dataGrid. Has anyone had this problem and solved it? Precia -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: TextArea in Grid - too big
I need it to be a textArea for 1) it allows control to BOLD the text 2) word wrap. Precia --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: Precia, Just need to ask the question, does it absolutely have to be a TextArea? The TextField class (and descendants) have an autoSize property and more control over some of these aspects. --Mike --- In flexcoders@yahoogroups.com, app.developer appdeveloper@ wrote: When creating a grid, I have textArea in the gridItems of the first row for headers. If I don't give them a height they default to 100%. I need the textArea to default to the size of the text within them or somehow get the text within the textArea to valign=bottom, which I haven't been able to produce. Anyone have any ideas? I create a grid on the fly with AS. The following is part of the code creating the headers of the grid. //Create the Grid grid1 = new Grid(); grid1.id = griddy; grid1.y=35; grid1.percentWidth=100; grid1.setStyle(backgroundColor,0xf1c616); grid1.setStyle(verticalGap,1); grid1.setStyle(horizontalGap,1); addChild(grid1); //Create the first Row with the Role labels grid1row = new GridRow(); grid1row.id = gRow; grid1row.percentWidth=100; grid1.addChild(grid1row); //Create the first GridItem as a blank first cell grid1Item = new GridItem(); grid1Item.id = gItem0; grid1Item.setStyle(horizontalAlign,center); grid1row.addChild(grid1Item); label1 = new TextArea(); label1.name = gLabel0; label1.width=90; label1.text = label1.alpha = 0; grid1Item.addChild(label1); //Loop through results,creating the headers to each column in the grid for ( var i:Number=0;ievent.result.length;i++){ grid1Item = new GridItem(); grid1Item.id = gItem+i; grid1Item.setStyle(horizontalAlign,center); grid1Item.setStyle(verticalAlign,bottom); grid1row.addChild(grid1Item); label1 = new TextArea(); label1.name = gLabel+i; label1.alpha = 0; label1.width = 90; if (event.result.list.source[i].roleName.length 20){ label1.height = 35; }else{ label1.height = 70; } label1.text = event.result.list.source[i].roleName grid1Item.addChild(label1); } Thanks, Precia -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Isn´t there any release of Adobe Apollo yet? Alpha maybe....
Can I second that request. As much as a use my Google Spreadsheets to pass data quickly...this would be a great advantage. Precia --- In flexcoders@yahoogroups.com, Mike Chambers [EMAIL PROTECTED] wrote: Yes. That should be possible. mike chambers [EMAIL PROTECTED] On Nov 2, 2006, at 7:31 AM, Dimitrios Gianninas wrote: Well you know how finance users love their Excel :) Basically to copy and paste excell data to and from a datagrid, I remember other people asking this as well. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, November 01, 2006 4:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe interaction between a flex app and other apps (ex.: excel) What kind of interaction are you hoping will be possible? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Wednesday, November 01, 2006 6:02 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe 1) Since no more browser, I can know exactly when the app is being terminated 2) file IO ** below are the things I hope it can do *** 3) interaction between a flex app and other apps (ex.: excel) 4) ability to make system tray notification, to let the user know that data changes have occured in the flex app Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, October 31, 2006 3:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe Just wondering, since I'm working on it... what features of Apollo are people most excited about? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew D. Goodfellow Sent: Tuesday, October 31, 2006 6:15 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe Yep, I know how you feel. The suspense is brutal. I could have already built and sold like 8 products built on it. There are probably too many holes in it still, or at least that's what I keep telling myself. :o) -Andy On 10/31/06, arianrechia [EMAIL PROTECTED] wrote: Hi people, I´m very exciting about Adobe Apollo, and I´ve been looking for some download to try the Apollo SDK, but with no success =( anyone already have a apollo alpha realease?? thanxs AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via
[flexcoders] Re: How do I expand a tree through Action Scripts
Here's something I do when I get the result from a dataProvider for the tree this.treeMailBox.expandItem(this.treeMailBox.selectedItem, true); In following is when I use it. private function getTreeFolders_result(event:ResultEvent):void { //Alert.show(ObjectUtil.toString(event.result)); this.treeMailBox.dataProvider = event.result; this.treeMailBox.validateNow(); this.treeMailBox.selectedIndex=0; this.treeMailBox.expandItem(this.treeMailBox.selectedItem, true); } --- In flexcoders@yahoogroups.com, Michael Labriola [EMAIL PROTECTED] wrote: Hara, Take a look at the expandChildrenOf () method of the tree class. public function expandChildrenOf(item:Object, open:Boolean):void Opens or closes all the tree items below the specified item. Parameters item:Object the starting item open:Boolean toggles an open or close operation --Mike --- In flexcoders@yahoogroups.com, haravallabhan haravallabhan@ wrote: Hi, How can I expand a tree dynamically r atleast when the application has loaded. Thanks Hara -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Checkbox in Datagrid - checks disappear when scrolling
Based on your exampleit works mx:DataGridColumn headerText= width=150 dataField=isSelected mx:itemRenderer mx:Component mx:HBox horizontalAlign=center backgroundAlpha=100 mx:Script ![CDATA[ public var selected:Boolean; ]] /mx:Script mx:CheckBox id=cb selected={data.isSelected} click=selected=data.isSelected=cb.selected; / /mx:HBox /mx:Component /mx:itemRenderer /mx:DataGridColumn Thank you, Precia --- In flexcoders@yahoogroups.com, John Zhao [EMAIL PROTECTED] wrote: Try this as the ItemRenderer instead. mx:Component className=inlineCB mx:HBox horizontalAlign=center backgroundAlpha=100 mx:Script ![CDATA[ public var selected:Boolean; ]] /mx:Script mx:CheckBox id=cb selected={data.isSelected} click=selected=data.isSelected=cb.selected; / /mx:HBox /mx:Component -John From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of app.developer Sent: Thursday, November 02, 2006 10:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checkbox in Datagrid - checks disappear when scrolling If I use mx:Component id=inlineEditor mx:Canvas width=100% height=100% mx:Script ![CDATA[ public var value:uint; ]] /mx:Script mx:CheckBox id=checkbox selected={Boolean (data.isSelected)} horizontalCenter=0 verticalCenter=0/ mx:Binding source=checkbox.selected destination=value/ /mx:Canvas /mx:Component for the DataGridColumn mx:DataGridColumn dataField=isSelected rendererIsEditor=true editorDataField=value textAlign=center itemRenderer={inlineEditor}/ the selected checkboxes are not selected if a scroll through the dataGrid. Has anyone had this problem and solved it? Precia -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Label rotations, text disappears
I'm not new. I did search the archives but didn't find a great answer until yesterday when ppl responded. The code is in affect and I'm packing for VegasAdobe MAX. Precia --- In flexcoders@yahoogroups.com, KP [EMAIL PROTECTED] wrote: I have also faced similar problem but if you are new to flexcoders then you need to search archives and you can find the code for these I have posted some code related to this. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Grigg Sent: Thursday, October 19, 2006 8:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Label rotations, text disappears You need to an embed the font anytime you rotate text. Derrick -- Derrick Grigg [EMAIL PROTECTED] mailto:dgrigg%40rogers.com com www.dgrigg.com -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Label rotations, text disappears
When I attempt to rotate a label, my text disappears, using the following code. label1 = new TextArea(); label1.name = gLabel+i; label1.alpha = 0; label1.rotation = 90; label1.setStyle(backgroundColor,0xFF); label1.text = event.result.list.source[i].roleName grid1Item.addChild(label1); I haven't any special font. I have seen one discussion on label rotation with the text disappearing, but I don't know how to resolve the issue. P -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Label rotations, text disappears
Thank you Matt. When I set the label1.alpha = 0; it made the background of the label transparent, but the text in the label is nicely black and bold when in the horizontal (original) postion. I'll work on ght font embed issue. P --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote: Two things.. 1) You are setting alpha to 0 which should make the text disappear. 2) You can only rotate text that uses an embedded font. For info on embedding fonts, see: http://livedocs.macromedia.com/flex/2/docs/0787.html hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of app.developer Sent: Thursday, October 19, 2006 10:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Label rotations, text disappears When I attempt to rotate a label, my text disappears, using the following code. label1 = new TextArea(); label1.name = gLabel+i; label1.alpha = 0; label1.rotation = 90; label1.setStyle(backgroundColor,0xFF); label1.text = event.result.list.source[i].roleName grid1Item.addChild(label1); I haven't any special font. I have seen one discussion on label rotation with the text disappearing, but I don't know how to resolve the issue. P -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Error showing up in Flex but not CF
Rachel, Can you show the code within the function that handles the result of your CFC in MXML? Precia --- In flexcoders@yahoogroups.com, Rachel Maxim [EMAIL PROTECTED] wrote: Hello, I am working on a Flex app with CF/remoting, and have come across an error I cannot track down. The error is Unable to cast an object of type java.lang.String to Query. I've seen this error before and it's not normally an issue to solve, however I do not get the error when running the CFC method(s) outside Flex and dumping their return values on an HTML page. When I run the page in flex that calls those CFC methods via remoteObject, and display the fault string in flex, I get the error. In a nutshell, the CFC creates an array of objects, those objects each hold a string as one property and a query as another. Any ideas where I can look or what might be causing it? Thanks Rachel -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] BindableComboBox
I don't know where to go. I have one application that works and one that doesn't with the BindableComboBox... warning: unable to bind to property 'locale' on class 'Object' (class is not an IEventDispatcher) Well it looks like it's in place... +++ model:UserMgmProfile id=detailObject model:locale{Profile_locale.selectedItem.locale as String} /model:locale +++ It's the UserMgmProfile.as... ++ public class UserMgmdmProfile public var locale:String = ; ++ I'm not getting a Locale binding. Is there another place to look for this to fix? TIA P Albrecht -- 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: RichTextEditor (rte)
Thank you, I shall play with it when I get home, tonight. P. --- In flexcoders@yahoogroups.com, flashanand77 [EMAIL PROTECTED] wrote: Hi, It works fine. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:RichTextEditor/ /mx:Application 1. Run this MXML 2. Click Bold Button 3. Now type- I am bold 4. All the characters are in bold --- In flexcoders@yahoogroups.com, app.developer appdeveloper@ wrote: Why, when you set the format you wish to type in the RichTextEditor (RTE), after the first letter typed (letters after the first)? Example: I click the BOLD button then start typing I am bold, the only letter that is bold is I and rest is reset to the original text. P. -- 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] RichTextEditor (rte)
Why, when you set the format you wish to type in the RichTextEditor (RTE), after the first letter typed (letters after the first)? Example: I click the BOLD button then start typing I am bold, the only letter that is bold is I and rest is reset to the original text. P. -- 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] Compile to CFM instead of HTML at Run
Is there a way to compile to a CFM page instead of an HTML page? My first attempt is to copy/paste the HTML code Flex Builder generates and place it into a CFM page of the same name. Then I go to Run/Run... window, select the Flex Application configuration, in the URL or path to launch section I unchecked Use defaults, then in the Run: field, I changed the extention of the file from html to cfm. Now when I hit Run, it compiles to the cfm file, but this seems clunkly. Is there a better way? Appy 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/