[flexcoders] Flex with EJB3
Hello List, Finally i figured out the problem that i thought was an EJB3 issue but was an synchronization problem that the Remoteobjects have, when called parallel. But with one call at a time it all worked out pretty perfect, without building a Proxy-Model. Now Objects can travel rather transparent through the whole system. Thanks for all Ideas. Greetings Björn Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] 3 Problems
Hello, I have the following problems with Flex: 1. I want to color the nodes of a tree dependant on the node value. The problem is my node only uses node graphics without a directory and document symbol, so icon= is useless in my case. I use a individual swc skin. How is it possible? 2. I have a barchart and set the font size to 10. Sadly the font is lowered if there are many bars on the chart. How to avoid this? 3. In the chart I want a skala of 100% always. Is it possible to setup this? Thanks. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Number(011) = 9 ????
Does anyone know why this happens??? Try it on your own server : mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Button label=Value Of String click=valueOfString() / mx:Script ![CDATA[ import mx.controls.Button; public function valueOfString():Void { // the result is 9 ? mx.controls.Alert.show( + Number(011)); } ]] /mx:Script /mx:Application Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] Question about drawing on the canvas
Hi, Have a simple question about drawing on the canvas. Below code draws an arrow between mousedown point and mouseup point. It works well. But... When I move canvas's scrollbar, arrow didn't move. Means it is NOT on the canvas.Want to draw it ON the canvas. Tried several ways. But failed. (I drawing square on the canvas using fillRect() is OK) Can someone please tell me what's wrong. thanks, -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var isPointerStarted = false; var bx:Number; var by:Number; function pointerStart(target) { if (isPointerStarted) return; isPointerStarted = true; bx = target.mouseX; by = target.mouseY; } function pointerReleased(target) { if (!isPointerStarted) return; target.lineStyle(2, 0x66, 100); ★ target.createChild(arrow(target)); isPointerStarted = false; //drawing squre on the canves var ref_mc = target.createChild(mx.containers.Canvas,undefined,{width:1000}); ref_mc.fillRect(900, 100, 910, 110, 0x00, 30); } function arrow(target) { var w = target.mouseX - bx; var h = target.mouseY - by; var l = Math.sqrt(w * w + h * h); var size=8; var sharpness=0.5; var s = Math.sin(sharpness); var c = Math.cos(sharpness); if(l0){ w *= size / l; h *= size / l; target.moveTo(bx,by); target.lineTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c - s * h, target.mouseY + w * s - h * c); target.moveTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c + s * h, target.mouseY - w * s - h * c); } } ]] /mx:Script mx:Canvas id=myCanves x=0 y=110 width=100% height=225 borderStyle=solid mouseUpSomewhere=pointerReleased(event.target) mouseDown=pointerStart(event.target) backgroundColor=#DEE0FE backgroundAlpha=0 /mx:Canvas /mx:Application - Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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] how do i select a single datagrid cell not the whole row
Everyone I want to be able to to select and highlight a single cell in a non editable datagrid. i'm thinking, on a DataGrid.cellPress, color the cell any ideas/code would be grateful. regards bod(bhaq1972) Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Question about drawing on the canvas
What I've found in my Flex development is that, as long as your arrow is indeed a child of the canvas, it will move when you use the canvas scroll bars. Aftera quick glance at your code, I didn't see any problems, but I'm not sure of the parameter you've got in "pointerReleased(event.target)." It seems like you are making the arrow a child of whatever object that "target" represents, and I'm not convinced that target is actually your canvas. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Prasad DhananjayaSent: Tuesday, October 04, 2005 6:48 AMTo: FlexMLSubject: [flexcoders] Question about drawing on the canvas Hi,Have a simple question about drawing on the canvas.Below code draws an arrow between mousedown point and mouseup point.It works well. But...When I move canvas's scrollbar, arrow didn't move. Means it is NOTon the canvas.Want to draw it ON the canvas. Tried several ways.But failed. (I drawing square on the canvas using fillRect() is OK)Can someone please tell me what's wrong.thanks,--?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script![CDATA[ var isPointerStarted = false; var bx:Number; var by:Number; function pointerStart(target) { if (isPointerStarted) return; isPointerStarted = true; bx = target.mouseX; by = target.mouseY; } function pointerReleased(target) { if (!isPointerStarted) return; target.lineStyle(2, 0x66, 100); ★ target.createChild(arrow(target)); isPointerStarted = false; //drawing squre on the canves var ref_mc = target.createChild(mx.containers.Canvas,undefined,{width:1000}); ref_mc.fillRect(900, 100, 910, 110, 0x00, 30); } function arrow(target) { var w = target.mouseX - bx; var h = target.mouseY - by; var l = Math.sqrt(w * w + h * h); var size=8; var sharpness=0.5; var s = Math.sin(sharpness); var c = Math.cos(sharpness); if(l0){ w *= size / l; h *= size / l; target.moveTo(bx,by); target.lineTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c - s * h, target.mouseY + w * s - h * c); target.moveTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c + s * h, target.mouseY - w * s - h * c); } }]]/mx:Scriptmx:Canvas id="myCanves" x="0" y="110" width="100%" height="225" borderStyle="solid" mouseUpSomewhere="pointerReleased(event.target)" mouseDown="pointerStart(event.target)" backgroundColor="#DEE0FE" backgroundAlpha="0"/mx:Canvas/mx:Application- -- 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 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: Question about drawing on the canvas
Maybe canvas within a canvas will do the job: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var isPointerStarted = false; var bx:Number; var by:Number; function pointerStart(target) { if (isPointerStarted) return; isPointerStarted = true; bx = target.mouseX; by = target.mouseY; } function pointerReleased(target) { if (!isPointerStarted) return; target.lineStyle(2, 0x66, 100); target.createChild(arrow(target)); isPointerStarted = false; //drawing squre on the canves var ref_mc = outerCanves.createChild(mx.containers.Canvas,undefined,{width:1000}); ref_mc.fillRect(900, 100, 910, 110, 0x00, 30); } function arrow(target) { var w = target.mouseX - bx; var h = target.mouseY - by; var l = Math.sqrt(w * w + h * h); var size=8; var sharpness=0.5; var s = Math.sin(sharpness); var c = Math.cos(sharpness); if(l0){ w *= size / l; h *= size / l; target.moveTo(bx,by); target.lineTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c - s * h, target.mouseY + w * s - h * c); target.moveTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c + s * h, target.mouseY - w * s - h * c); } } ]] /mx:Script mx:Canvas id=outerCanves x=0 y=110 width=100% height=225 borderStyle=solid backgroundColor=#DEE0FE backgroundAlpha=0 mx:Canvas id=myCanves x=0 y=0 width=100% height=225 borderStyle=none mouseUpSomewhere=pointerReleased(event.target) mouseDown=pointerStart(event.target) backgroundColor=#DEE0FE backgroundAlpha=0 /mx:Canvas /mx:Canvas /mx:Application Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Asynchronous notification
All, We have, up until now, used webservices to check for server-side notifications...we just poll (I know, I hate polling!). We'd like to move to something more asynchronous, but I thought I'd ask the forum for their recommendation. I know there is some kind of method in AS for making an HTTP request...we could have a servlet that would accept that request, hold onto it until some data comes in, and then finally respond to the request. Of course there are probably time-out issues that would have to be side-stepped. That's about the only sol'n I can see being possible right now. I'm not very familiar with RMI and Remote Objects, but can this technology be used asynchronously in Flex? Any thoughts would be appreciated! Thanks. -- 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 an add-on required for Sound Effects?
Sound is an intrinsic class; not sure why it's not shown. Your code looks good; maybe try changing this: soundEffect = new Sound(); To this: soundEffect = new Sound(this); - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Monday, October 03, 2005 11:36 PM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? Yes, it is. Thanks for the response. Do you think the rest looks okay? I thought I should be able to play the sound by using the CashSoundEffect id="cse"/ tag and then using cse.PlayEffect; I have not yet gotten a sound to come out of this code. The book says that Flex allows us to use the Flash API when creating custom effects. But, if I look at the Flex Actionscript and MXML API, and look at all the classes included in all the classes, I cannot find the "Sound' class there. Do you have any ideas about this? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Monday, October 03, 2005 10:53 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Is the kaching.mp3 in the root of your Flex application? Basically, is it in the same folder the main application MXML file is in? - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Monday, October 03, 2005 10:22 PM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? Its fromthe example, Ch 13...(I do have the kaching.mp3) class CashSoundEffect extends mx.effects.Effect{ var soundEffect:Sound; public function CashSoundEffect() { soundEffect = new Sound(); soundEffect.loadSound("kaching.mp3", true);} public function PlayEffect():Void{soundEffect.start();} public function endEffect():Void{soundEffect.stop();}} Then in the main program, I would like to play the effect on a change event; At top: mx:Application./ CashSoundEffect id="cse" duration="5" / . . . mx:Script![CDATA[function PlayCashSoundEffect(){ var soundEffect = new CashSoundEffect();var priceRegister = new mx.effects.Parallel;priceRegister.addChild( soundEffect );priceRegister.PlayEffect();//soundEffect.PlayEffect();//cse.PlayEffect;}]] /mx:Script . . mx:ComboBox id="CBApplication" dataProvider="{APPLICATION}" change="PlayCashSoundEffect();"/ I am very new to Flex. Not sure how the kaching.mp3 is supposed to be played. I noticed that "Sound" was not one of theavailable classtypes shown in my code editor when I typed in the CashSoundEffect class file (var soundEffect:Sound). Thanks for taking a look! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Monday, October 03, 2005 9:50 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Nope. Flash Player can play sounds since... well... a long time ago.Got some code not working? Post it.- Original Message - From: "symbltechies" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, October 03, 2005 9:25 PMSubject: [flexcoders] Is an add-on required for Sound Effects?Would anyone happen to know if there is an add-on that is required in order to play sound effects with Flex 1.5? Thanks.Francine--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups LinksThis email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses. -- 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 an add-on required for Sound Effects?
Flash Player has an mp3 codec built in; you don't need an mp3 player. - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Tuesday, October 04, 2005 12:38 AM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? : ) Guess it helps if you have an mp3 player installed. : ) ( Ouch! ) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deacutis, FrancineSent: Monday, October 03, 2005 11:36 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Is an add-on required for Sound Effects? Yes, it is. Thanks for the response. Do you think the rest looks okay? I thought I should be able to play the sound by using the CashSoundEffect id="cse"/ tag and then using cse.PlayEffect; I have not yet gotten a sound to come out of this code. The book says that Flex allows us to use the Flash API when creating custom effects. But, if I look at the Flex Actionscript and MXML API, and look at all the classes included in all the classes, I cannot find the "Sound' class there. Do you have any ideas about this? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Monday, October 03, 2005 10:53 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Is the kaching.mp3 in the root of your Flex application? Basically, is it in the same folder the main application MXML file is in? - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Monday, October 03, 2005 10:22 PM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? Its fromthe example, Ch 13...(I do have the kaching.mp3) class CashSoundEffect extends mx.effects.Effect{ var soundEffect:Sound; public function CashSoundEffect() { soundEffect = new Sound(); soundEffect.loadSound("kaching.mp3", true);} public function PlayEffect():Void{soundEffect.start();} public function endEffect():Void{soundEffect.stop();}} Then in the main program, I would like to play the effect on a change event; At top: mx:Application./ CashSoundEffect id="cse" duration="5" / . . . mx:Script![CDATA[function PlayCashSoundEffect(){ var soundEffect = new CashSoundEffect();var priceRegister = new mx.effects.Parallel;priceRegister.addChild( soundEffect );priceRegister.PlayEffect();//soundEffect.PlayEffect();//cse.PlayEffect;}]] /mx:Script . . mx:ComboBox id="CBApplication" dataProvider="{APPLICATION}" change="PlayCashSoundEffect();"/ I am very new to Flex. Not sure how the kaching.mp3 is supposed to be played. I noticed that "Sound" was not one of theavailable classtypes shown in my code editor when I typed in the CashSoundEffect class file (var soundEffect:Sound). Thanks for taking a look! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Monday, October 03, 2005 9:50 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Nope. Flash Player can play sounds since... well... a long time ago.Got some code not working? Post it.- Original Message - From: "symbltechies" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, October 03, 2005 9:25 PMSubject: [flexcoders] Is an add-on required for Sound Effects?Would anyone happen to know if there is an add-on that is required in order to play sound effects with Flex 1.5? Thanks.Francine--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups LinksThis email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses. -- 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
RE: [flexcoders] Is an add-on required for Sound Effects?
Hmmm. interesting. It works now that I installed an MP3 player. Thanks for the information. Its very much appreciated! Francine From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Tuesday, October 04, 2005 9:08 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Flash Player has an mp3 codec built in; you don't need an mp3 player. - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Tuesday, October 04, 2005 12:38 AM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? : ) Guess it helps if you have an mp3 player installed. : ) ( Ouch! ) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deacutis, FrancineSent: Monday, October 03, 2005 11:36 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Is an add-on required for Sound Effects? Yes, it is. Thanks for the response. Do you think the rest looks okay? I thought I should be able to play the sound by using the CashSoundEffect id="cse"/ tag and then using cse.PlayEffect; I have not yet gotten a sound to come out of this code. The book says that Flex allows us to use the Flash API when creating custom effects. But, if I look at the Flex Actionscript and MXML API, and look at all the classes included in all the classes, I cannot find the "Sound' class there. Do you have any ideas about this? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Monday, October 03, 2005 10:53 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Is the kaching.mp3 in the root of your Flex application? Basically, is it in the same folder the main application MXML file is in? - Original Message - From: Deacutis, Francine To: flexcoders@yahoogroups.com Sent: Monday, October 03, 2005 10:22 PM Subject: RE: [flexcoders] Is an add-on required for Sound Effects? Its fromthe example, Ch 13...(I do have the kaching.mp3) class CashSoundEffect extends mx.effects.Effect{ var soundEffect:Sound; public function CashSoundEffect() { soundEffect = new Sound(); soundEffect.loadSound("kaching.mp3", true);} public function PlayEffect():Void{soundEffect.start();} public function endEffect():Void{soundEffect.stop();}} Then in the main program, I would like to play the effect on a change event; At top: mx:Application./ CashSoundEffect id="cse" duration="5" / . . . mx:Script![CDATA[function PlayCashSoundEffect(){ var soundEffect = new CashSoundEffect();var priceRegister = new mx.effects.Parallel;priceRegister.addChild( soundEffect );priceRegister.PlayEffect();//soundEffect.PlayEffect();//cse.PlayEffect;}]] /mx:Script . . mx:ComboBox id="CBApplication" dataProvider="{APPLICATION}" change="PlayCashSoundEffect();"/ I am very new to Flex. Not sure how the kaching.mp3 is supposed to be played. I noticed that "Sound" was not one of theavailable classtypes shown in my code editor when I typed in the CashSoundEffect class file (var soundEffect:Sound). Thanks for taking a look! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Monday, October 03, 2005 9:50 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is an add-on required for Sound Effects? Nope. Flash Player can play sounds since... well... a long time ago.Got some code not working? Post it.- Original Message - From: "symbltechies" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, October 03, 2005 9:25 PMSubject: [flexcoders] Is an add-on required for Sound Effects?Would anyone happen to know if there is an add-on that is required in order to play sound effects with Flex 1.5? Thanks.Francine--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups LinksThis email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses.This email has been scanned for computer viruses. This email has been scanned for
RE: [flexcoders] Asynchronous notification
You probably want to look into the XMLSocket object. This can make a connection back to a server and maintain it. A0 byte is sent between requests and response without the connection being dropped. Those requests and responses are xml and could be used for messaging or keep alives to avoid timeout issues. There are some good Java examples out there on implementing this on the server end, not sure about other platform implementations. Kevin From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mink, JosephSent: Tuesday, October 04, 2005 8:32 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Asynchronous notification All, We have, up until now, used webservices to check for server-side notifications...we just poll (I know, I hate polling!). We'd like to move to something more asynchronous, but I thought I'd ask the forum for their recommendation. I know there is some kind of method in AS for making an HTTP request...we could have a servlet that would accept that request, hold onto it until some data comes in, and then finally respond to the request. Of course there are probably time-out issues that would have to be side-stepped. That's about the only sol'n I can see being possible right now. I'm not very familiar with RMI and Remote Objects, but can this technology be used asynchronously in Flex? Any thoughts would be appreciated! Thanks. -- 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: getURL Problem
Actually, I thought that maybe an issue, so now I am only trying to getURL(http://www.google.com;); And it is the same scenario: Firefox opens the google page, and IE does not even make this request... I have trace statements before and after getURL line and both traces are logged in the flashlog.txt file... I am really stuck with this one... I have no idea what is going on... Thanks for all the input... -Marcin --- In flexcoders@yahoogroups.com, David Harris [EMAIL PROTECTED] wrote: Would somthing like this work(untested, and off the top of my head...) getURL(_root._url.split(.))[0] + .mxml?mynewparam=+value); cause I thought getURL(?mynewparam=+value); would be the same request as a a href=?mynewparam=samevalue Maybe firefox is a bit smarted than IE in this regard? ..can't say I've ever liked software that second guess what you must of meant... On 10/4/05, Marcin Glowacki [EMAIL PROTECTED] wrote: I just gave it a shot, and it still does not work on IE... :-( mx.core.Application.getURL(?mynewparam=+value); --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You might need to use Application.getURL(...), can't remember if we introduced that to help with this problem. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marcin Glowacki Sent: Monday, October 03, 2005 8:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] getURL Problem I call getURL in MyCommand class (Cairngorm framework) to refresh current page with different query string. Strangely, it works only in Firefox, but not in IE. That is all I am doing: getURL(?mynewparam=+value); Anybody knows what my be an issue in IE Thanks, Marcin -- 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 * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 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 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. Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/
AW: [flexcoders] Re: Number(011) = 9 ????
Ok thank you all, I workaround (or isn't it a workaround??) this problem by using parseInt(011, 10) to get the decimal-system value. How can I use the Number-class to convert the values? Is there a Number.parseInt() function? There is no such function mentioned in the Flex ActionScript Language Reference... can you provide me with a better API? Cheers Christoph -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Philippe Maegerman Gesendet: Dienstag, 4. Oktober 2005 12:24 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] Re: Number(011) = 9 If they are all octal numbers, you can use mx.controls.Alert.show( + Number(011).toString(8)); Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamiebadman Sent: mardi 4 octobre 2005 11:34 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Number(011) = 9 It's performing an octal to decimal conversion. You can use the Number class to convert between various different number bases. Jamie. --- In flexcoders@yahoogroups.com, Christoph Diefenthal [EMAIL PROTECTED] wrote: Does anyone know why this happens??? Try it on your own server : mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Button label=Value Of String click=valueOfString () / mx:Script ![CDATA[ import mx.controls.Button; public function valueOfString():Void { // the result is 9 ? mx.controls.Alert.show( + Number(011)); } ]] /mx:Script /mx:Application -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+si te+design+developmentw2=Computer+software+developmentw3=Software+design+ and+developmentw4=Macromedia+flexw5=Software+development+best+practicec =5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+desig n+and+developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practi cec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+de velopmentw2=Computer+software+developmentw3=Software+design+and+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.si g=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1 =Web+site+design+developmentw2=Computer+software+developmentw3=Software+ design+and+developmentw4=Macromedia+flexw5=Software+development+best+pra cticec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:flexcoders- [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. -- Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ:
RE: [flexcoders] Asynchronous notification
Thanks, Kevin! I finally did my homework of the XMLSocket obj, but wasn't sure how to serve that protocol with a web server or servlet container...I'll definitely look for the examples you mention. I wonder if they are actual stand-alone, custom servers of if they are a hack way of getting servlets to solve the problem. Thanks! Joey From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin LangdonSent: Tuesday, October 04, 2005 10:01 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Asynchronous notification You probably want to look into the XMLSocket object. This can make a connection back to a server and maintain it. A0 byte is sent between requests and response without the connection being dropped. Those requests and responses are xml and could be used for messaging or keep alives to avoid timeout issues. There are some good Java examples out there on implementing this on the server end, not sure about other platform implementations. Kevin From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mink, JosephSent: Tuesday, October 04, 2005 8:32 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Asynchronous notification All, We have, up until now, used webservices to check for server-side notifications...we just poll (I know, I hate polling!). We'd like to move to something more asynchronous, but I thought I'd ask the forum for their recommendation. I know there is some kind of method in AS for making an HTTP request...we could have a servlet that would accept that request, hold onto it until some data comes in, and then finally respond to the request. Of course there are probably time-out issues that would have to be side-stepped. That's about the only sol'n I can see being possible right now. I'm not very familiar with RMI and Remote Objects, but can this technology be used asynchronously in Flex? Any thoughts would be appreciated! Thanks. -- 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 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] FlexBuilder Ghostly Image
To be honest,Flex Builder has so many weird behaviors that I can't remember anymore if I had that already... João Fernandes Secção de Desenvolvimento Departamento de Informática -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: terça-feira, 4 de Outubro de 2005 15:14 To: flexcoders@yahoogroups.com Subject: [flexcoders] FlexBuilder Ghostly Image My FB has become haunted or something... Starting in the last week, when I minimize it, a blue image stays on the screen for about 5 seconds before it disappears. Has anyone else experienced this, maybe did I inadvertently change something...? Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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 ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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] Render image Dynamically
Hi All, I have byte[] in my Database which I want to render as image in Flex at runtime, how do I do this?. I am using Java at backend and also I dont want to create a physical image file on my server. Thanks for the replying. Thanks, Shahn -- 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] Form in Repeater
Hi experts, Is it possible to use mx:Form/mx:Form tags in side mx:Repeater/mx:Repeater tags. The situation is I have to display 5 months data on one screen. I was able to display One month data came from remote object call. Now my next task is to display 5 months data. I thought it will be simple to use repeater around Form but looks like it is not simple. When I use it I got a blank screen? Any ideas? I appreciate any suggestions about how to implement displaying 5 months dynamic data on one screen? Thanks! Hari -- 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 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] Exception: The named type given in flex-config.xml (stateful-class) does not match the type value received (null)
This is a new one for me...anyone have an idea what could cause this? Nothing obvious in logs... Info: Processing batch of 1 request(s) Info: Requesting target 'serviceApplication.getApplicationList' flashgateway.GatewayException: The named type given in flex-config.xml (stateful-class) does not match the type value received (null) at flashgateway.config.GatewayConfiguration.checkObjectName(GatewayConfigur ation.java:204) at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:76) at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102) at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28) at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57) at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39) Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] SWF and URL issue
Is this the same question as the one you asked yesterday in a different thread? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nithya R Sent: Tuesday, October 04, 2005 12:10 AM To: flexcoders Subject: [flexcoders] SWF and URL issue hai a page of my site lists out various product names and on click of a name it takes you to another page which gives the details of the porduct... both thye pages are loaded as SWF... now i need to access the product detail page without browsing through the product list page.. how to write a link to the [roduct detail page? it is a SWF... i dont have any idea of how to do this... anybody please help on this... thanks, nithya Send instant messages to your online friends http://uk.messenger.yahoo.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 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] Render image Dynamically
Flash Player currenty cannot read binary files (beyond .txt, .xml, .jpg, .png, and .gif). Therefore, you must create a proxy for it (Loader.contentPath). Whether this is a temporery file, or simply a return from a Loader.contentPath request with the necessarey contentHeader, either way, you can't load a byte directly. - Original Message - From: shahnavaz Alware To: flexcoders@yahoogroups.com Sent: Tuesday, October 04, 2005 10:43 AM Subject: [flexcoders] Render image Dynamically Hi All, I have byte[] in my Database which I want to render as image in Flex at runtime, how do I do this?. I am using Java at backend and also I dont want to create a physical image file on my server. Thanks for the replying. Thanks, Shahn -- 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] Asynchronous notification
Check the archives. Someone (several) on this list has done extensive xmlSocket work, and I recall reading about an actual product. I am going to be looking into this myself soon. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph Sent: Tuesday, October 04, 2005 10:09 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Asynchronous notification Thanks, Kevin! I finally did my homework of the XMLSocket obj, but wasn't sure how to serve that protocol with a web server or servlet container...I'll definitely look for the examples you mention. I wonder if they are actual stand-alone, custom servers of if they are a hack way of getting servlets to solve the problem. Thanks! Joey From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kevin Langdon Sent: Tuesday, October 04, 2005 10:01 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Asynchronous notification You probably want to look into the XMLSocket object. This can make a connection back to a server and maintain it. A0 byte is sent between requests and response without the connection being dropped. Those requests and responses are xml and could be used for messaging or keep alives to avoid timeout issues. There are some good Java examples out there on implementing this on the server end, not sure about other platform implementations. Kevin From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph Sent: Tuesday, October 04, 2005 8:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Asynchronous notification All, We have, up until now, used webservices to check for server-side notifications...we just poll (I know, I hate polling!). We'd like to move to something more asynchronous, but I thought I'd ask the forum for their recommendation. I know there is some kind of method in AS for making an HTTP request...we could have a servlet that would accept that request, hold onto it until some data comes in, and then finally respond to the request. Of course there are probably time-out issues that would have to be side-stepped. That's about the only sol'n I can see being possible right now. I'm not very familiar with RMI and Remote Objects, but can this technology be used asynchronously in Flex? Any thoughts would be appreciated! Thanks. -- 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: Question about drawing on the canvas
I must be missing something, but shouldn't arrow() return something as a parameter for createChild? --- In flexcoders@yahoogroups.com, jrab2999 [EMAIL PROTECTED] wrote: Maybe canvas within a canvas will do the job: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var isPointerStarted = false; var bx:Number; var by:Number; function pointerStart(target) { if (isPointerStarted) return; isPointerStarted = true; bx = target.mouseX; by = target.mouseY; } function pointerReleased(target) { if (!isPointerStarted) return; target.lineStyle(2, 0x66, 100); target.createChild(arrow(target)); isPointerStarted = false; //drawing squre on the canves var ref_mc = outerCanves.createChild(mx.containers.Canvas,undefined,{width:1000}); ref_mc.fillRect(900, 100, 910, 110, 0x00, 30); } function arrow(target) { var w = target.mouseX - bx; var h = target.mouseY - by; var l = Math.sqrt(w * w + h * h); var size=8; var sharpness=0.5; var s = Math.sin(sharpness); var c = Math.cos(sharpness); if(l0){ w *= size / l; h *= size / l; target.moveTo(bx,by); target.lineTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c - s * h, target.mouseY + w * s - h * c); target.moveTo(target.mouseX, target.mouseY); target.lineTo(target.mouseX - w * c + s * h, target.mouseY - w * s - h * c); } } ]] /mx:Script mx:Canvas id=outerCanves x=0 y=110 width=100% height=225 borderStyle=solid backgroundColor=#DEE0FE backgroundAlpha=0 mx:Canvas id=myCanves x=0 y=0 width=100% height=225 borderStyle=none mouseUpSomewhere=pointerReleased(event.target) mouseDown=pointerStart(event.target) backgroundColor=#DEE0FE backgroundAlpha=0 /mx:Canvas /mx:Canvas /mx:Application Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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] Form in Repeater
I think, it should work. Can you check the length of array you are assigning as dataProvider to Repeater. If you can post the sample-but-complete code here, we can see what is going wrong here.. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTRSent: Tuesday, October 04, 2005 8:53 PMTo: 'flexcoders@yahoogroups.com'Subject: [flexcoders] Form in Repeater Hi experts, Is it possible to use mx:Form/mx:Form tags in side mx:Repeater/mx:Repeater tags. The situation is I have to display 5 months data on one screen. I was able to display One month data came from remote object call. Now my next task is to display 5 months data. I thought it will be simple to use repeater around Form but looks like it is not simple. When I use it I got a blank screen? Any ideas? I appreciate any suggestions about how to implement displaying 5 months dynamic data on one screen? Thanks! Hari -- 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 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] Weird error
Hi, Probably the xml returned by Servlet is not well-formed XML. http://www.abdulqabiz.com/blog/archives/macromedia_flex/000126.php -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, October 04, 2005 11:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Weird error While trying to call a servlet using HttpService, I get the error "An end tag had no corresponding start tag"... anyone ever seen this? Needless to say, once I remove the call to the servlet this error doesn't appear. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. -- 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 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: Number(011) = 9 ????
If you do parseInt(011, 10), I'm pretty sure what happens is this: 1. The octal literal 011 is compiled as the decimal Number 9. 2. It is converted at runtime to the string 9, because parseInt expects to parse a string. 3. parseInt parses 9 to produce 9. Obviously, this is a waste of time. 011 already *is* 9 at compile time. It is just a different way of writing it, just like 0x09 is a different way of writing it. For example, try this: trace(011 - 1); The output is 8. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Tuesday, October 04, 2005 10:29 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Number(011) = 9 Hi, What do you want to do? Convert 011 to decimal 11 Or convert octal(11) to decimal(9) parseInt(..) is a global function and first argument is an expression, so you can pass number also: parseInt(011, 10) - 9 (decimal) You can look at Flash Player ActionScript on: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part_ASLR.html -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Diefenthal Sent: Tuesday, October 04, 2005 7:34 PM To: 'flexcoders@yahoogroups.com' Subject: AW: [flexcoders] Re: Number(011) = 9 Ok thank you all, I workaround (or isn't it a workaround??) this problem by using parseInt(011, 10) to get the decimal-system value. How can I use the Number-class to convert the values? Is there a Number.parseInt() function? There is no such function mentioned in the Flex ActionScript Language Reference... can you provide me with a better API? Cheers Christoph -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Philippe Maegerman Gesendet: Dienstag, 4. Oktober 2005 12:24 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] Re: Number(011) = 9 If they are all octal numbers, you can use mx.controls.Alert.show( + Number(011).toString(8)); Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamiebadman Sent: mardi 4 octobre 2005 11:34 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Number(011) = 9 It's performing an octal to decimal conversion. You can use the Number class to convert between various different number bases. Jamie. --- In flexcoders@yahoogroups.com, Christoph Diefenthal [EMAIL PROTECTED] wrote: Does anyone know why this happens??? Try it on your own server : mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Button label=Value Of String click=valueOfString () / mx:Script ![CDATA[ import mx.controls.Button; public function valueOfString():Void { // the result is 9 ? mx.controls.Alert.show( + Number(011)); } ]] /mx:Script /mx:Application -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+si te+design+developmentw2=Computer+software+developmentw3=Software+design+ and+developmentw4=Macromedia+flexw5=Software+development+best+practicec =5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+desig n+and+developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+practi cec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+de velopmentw2=Computer+software+developmentw3=Software+design+and+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.si g=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1 =Web+site+design+developmentw2=Computer+software+developmentw3=Software+ design+and+developmentw4=Macromedia+flexw5=Software+development+best+pra cticec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL
RE: [flexcoders] Weird error
But if you know your XML is valid it may be that youre getting a 500 error or 404 but with a 200 status code. Are you using the proxy? Turn on proxy debugging. If not, maybe go through a sniffer to see whats really coming back. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: Tuesday, October 04, 2005 10:56 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Weird error Hi, Probably the xml returned by Servlet is not well-formed XML. http://www.abdulqabiz.com/blog/archives/macromedia_flex/000126.php -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas Sent: Tuesday, October 04, 2005 11:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Weird error While trying to call a servlet using HttpService, I get the error An end tag had no corresponding start tag... anyone ever seen this? Needless to say, once I remove the call to the servlet this error doesn't appear. Dimitrios Jimmy Gianninas RIADeveloper Optimal Payments Inc. -- 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.
RES: [flexcoders] Getting a null object reference
Title: Mensagem Thank you for your suggestion ... I changed to creationComplete, but still not working ... -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Matt ChotinEnviada em: terça-feira, 4 de outubro de 2005 01:32Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Getting a null object reference Try using creationComplete in your Composition.mxml instead of initialize and see if that works. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel BertrandSent: Monday, October 03, 2005 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Getting a null object reference Hi ! I'm trying to do the following: mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:framework="com.datasul.framework.ui.template.view.*" width="100%" height="100%" initialize="initialize()" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize() : Void { model = new CompositionModel(); } ]] /mx:Script framework:Composition width="100%" height="100%" framework:model{this.model}/framework:model /framework:Composition /mx:Application I would like to bind the value of "model" with the "model" property of the Composition component. Like: "Composition.mxml" mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initialize()" width="100%" height="100%" mx:Panel id="mainPanel" mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize(): Void { if ( model == undefined ) { mx.controls.Alert.show("MODEL = NULL"); } } ]] /mx:Script .. /mx:Panel /mx:Canvas Everytime I run the code I get a message saying "MODEL = NULL". Why I don't have an object instance since model has been already instantiated ? Any help or suggestion will be very appreciated. Thanks in advance ! Michel. -- 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] Getting FlexUnit Example to Work
Has anybody had problems getting FlexUnit's examples to work? I've done the following: - installed FlexUnit ( - put the FlexUnit.swc file in my WEB-INF/flex/user_classes directory - put the flexunit-manifest.xml file in my WEB-INF/flex directory - added this to my flex-config.xml: namespace uri=http://www.iterationtwo.com/flexunit; manifest/WEB-INF/flex/flexunit-manifest.xml/manifest /namespace However, when I try to run the example (RunTests.mxml), I get this: Warning /flexunit/RunTests.mxml:20 Changes to unknown property, tests, will not be detected. Warning /flexunit/RunTests.mxml:20 Changes to unknown property, flexunit, will not be detected. Warning /flexunit/RunTests.mxml:20 Changes to unknown property, AllTests, will not be detected. Error /flexunit/RunTests.mxml:20 There is no method with the name 'tests'. Can anyone give me some insight? Thanks Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Weird error
You would think... but the same servlet loaded in another web app works like charm. It seems likethe servlet never gets called. But its there are working, tried in the browser. I'm still looking. I'll check what Matt wrote as well. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: Tuesday, October 04, 2005 1:56 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Weird error Hi, Probably the xml returned by Servlet is not well-formed XML. http://www.abdulqabiz.com/blog/archives/macromedia_flex/000126.php -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, October 04, 2005 11:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Weird error While trying to call a servlet using HttpService, I get the error "An end tag had no corresponding start tag"... anyone ever seen this? Needless to say, once I remove the call to the servlet this error doesn't appear. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. -- 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 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] Cairngorm ModelLocator
Is the ModelLocator intended to be the *only* global repository for variables to which you'll need to bind throughout your application? My ModelLocator is getting huge, and I would like to split it into a few ModelLocators (with different names, obviously). Has anyone done this? Are there any caveats of which I should be aware? How have others dealt with their ModelLocator's large size? Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Question about drawing on the canvas
On 10/4/05, Prasad Dhananjaya [EMAIL PROTECTED] wrote: Have a simple question about drawing on the canvas. Below code draws an arrow between mousedown point and mouseup point. It works well. But... When I move canvas's scrollbar, arrow didn't move. Means it is NOT on the canvas.Want to draw it ON the canvas. Tried several ways. But failed. (I drawing square on the canvas using fillRect() is OK) It indeed is on the Canvas, but it's not a child of the Canvas, and that's the reason it doesn't scroll along with other children. The solution is to make it a child (add a new object as a child and draw on top of that object instead). Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Weird error
You were probably getting back some html response from the server which caused the error. Flex tried to parse it and rejected it as poorly formed XML. Did you use something like tcptunnel to look at the stream? Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGY ext. 89Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, October 04, 2005 12:38 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Weird error Ok solved it... the servlet was not even being called by Flex, because of a config in the web.xml. I had a role set under the "auth-constraint" that wasn't needed. Removed it and its working. The error message is mis-leading to say the least. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, October 04, 2005 3:06 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Weird error You would think... but the same servlet loaded in another web app works like charm. It seems likethe servlet never gets called. But its there are working, tried in the browser. I'm still looking. I'll check what Matt wrote as well. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul QabizSent: Tuesday, October 04, 2005 1:56 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Weird error Hi, Probably the xml returned by Servlet is not well-formed XML. http://www.abdulqabiz.com/blog/archives/macromedia_flex/000126.php -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, October 04, 2005 11:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Weird error While trying to call a servlet using HttpService, I get the error "An end tag had no corresponding start tag"... anyone ever seen this? Needless to say, once I remove the call to the servlet this error doesn't appear. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. -- 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] Cairngorm ModelLocator
New Class. For example, for GUI related things (skin names, image locations, mp3 locations, etc.) and other various graphical thigns that have absolutely nothing to do my apps logic, but are very important for it to actually look right, and sometimes work, I just put in a constants. class com.project.model.ViewConstants { static var IMAGE_DIR:String = images; } You could even put it into View if you wanted. I have the same thing for application configurations; where to read my static XML files, if I have a local username stored in an XML file or if I should ignore Application vars (variables appended the URL). Stuff like that is kept in a Constants file and usually only used by Controller classes. You can even nest your package(s) if you want in model. Up to you really. - Original Message - From: fowleryj [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 04, 2005 3:21 PM Subject: [flexcoders] Cairngorm ModelLocator Is the ModelLocator intended to be the *only* global repository for variables to which you'll need to bind throughout your application? My ModelLocator is getting huge, and I would like to split it into a few ModelLocators (with different names, obviously). Has anyone done this? Are there any caveats of which I should be aware? How have others dealt with their ModelLocator's large size? -- 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 ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Cairngorm ModelLocator
Hey, We would tend to have global model objects all hung off the one ModelLocator. For instance, we might have a class Assets.mxml which itself contains 100+ attributes for embedded images, but we'll have one attribute in ModelLocator called assets. However, if you wanted to have multiple ModelLocators, I'd recommend a factory strategy similar to the old cairngorm ViewLocator or ServiceLocator, where the ModelLocator becomes a factory rather than a singleton, and you do things like: ModelLocator.getModel(assets).bannerImage I've a funny feeling we considered this in the Cairngorm Committee, and there were issues with data-binding that chose us to not go for this in the general cairngorm package. But I could be talking rubbish. Steven -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fowleryj Sent: 04 October 2005 20:22 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm ModelLocator Is the ModelLocator intended to be the *only* global repository for variables to which you'll need to bind throughout your application? My ModelLocator is getting huge, and I would like to split it into a few ModelLocators (with different names, obviously). Has anyone done this? Are there any caveats of which I should be aware? How have others dealt with their ModelLocator's large size? Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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 ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] Exception: The named type given in flex-config.xml (stateful-class) does not match the type value received (null)
Do you have typestateful-class/type in your flex-config.xml for serviceApplication? Maybe theres a typo right around there? Maybe you accidentally did something like stateful-classtrue/stateful-class? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young Sent: Tuesday, October 04, 2005 8:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Exception: The named type given in flex-config.xml (stateful-class) does not match the type value received (null) This is a new one for me...anyone have an idea what could cause this? Nothing obvious in logs... Info: Processing batch of 1 request(s) Info: Requesting target 'serviceApplication.getApplicationList' flashgateway.GatewayException: The named type given in flex-config.xml (stateful-class) does not match the type value received (null) at flashgateway.config.GatewayConfiguration.checkObjectName(GatewayConfigur ation.java:204) at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:76) at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102) at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28) at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57) at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39) -- 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 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: Cairngorm ModelLocator
For me, its not a question of how many. I group by variables based on applications and sometimes based on applications areas. the initialize method is just to be sure your vars exist when u need them. I initialize them when I know they've never been created before (it depends on the application). It can be done it my ViewHelper or in a view itself (i prefer doing on ViewHelpers). For the storing question, yes, for the same application I have a model folder with all my application modelLocators. -Original Message- From: flexcoders@yahoogroups.com on behalf of fowleryj Sent: Tue 04-Oct-05 9:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm ModelLocator Joao, - Roughly how many variables do you have in each ModelLocator? - Where are you calling each ModelLocator's initialise() method? (In your Main.mxml class, or in a particular ViewHelper whose mxml will need the variables in that particular ModelLocator?) - Have you kept all of the ModelLocators in your model folder? Thanks! --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: I'm using several Models with no problems. Till now I had no problem dealing with several files. -Original Message- From: flexcoders@yahoogroups.com on behalf of fowleryj Sent: Tue 04-Oct-05 8:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm ModelLocator Is the ModelLocator intended to be the *only* global repository for variables to which you'll need to bind throughout your application? My ModelLocator is getting huge, and I would like to split it into a few ModelLocators (with different names, obviously). Has anyone done this? Are there any caveats of which I should be aware? How have others dealt with their ModelLocator's large size? -- 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 ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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/ winmail.dat
[flexcoders] images being cached w/ mx:image
I am calling a custom control that makes use of mx:image. When I update the jpg file on the file system, it isn't reflected in Flex, even after a restart. Any ideas? -- === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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: FlexBuilder Ghostly Image
The blue image is fluctuating, like it is in a loop. It is making the pc unstable... I think this is a bug. --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: My FB has become haunted or something... Starting in the last week, when I minimize it, a blue image stays on the screen for about 5 seconds before it disappears. Has anyone else experienced this, maybe did I inadvertently change something...? Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] images being cached w/ mx:image
Delete the generated folder. In Tomcat, it's: C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\flex\WEB-INF\flex\generated I'm pretty sure that's what fixed it for me. - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 04, 2005 5:27 PM Subject: [flexcoders] images being cached w/ mx:image I am calling a custom control that makes use of mx:image. When I update the jpg file on the file system, it isn't reflected in Flex, even after a restart. Any ideas? -- === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda -- 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 ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] images being cached w/ mx:image
I am calling a custom control that makes use of mx:image. When I update the jpg file on the file system, it isn't reflected in Flex, even after a restart. Any ideas? Make sure that - you're not in production mode - you're not @Embed-ing a http URL -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] Getting a null object reference
Title: Mensagem Hmm, I dont have time to dig but generally that should work Id think. What if you put a button in Composition.mxml that calls initialize() and see if its not null then. Clearly this is just an ordering problem but I cant tell why off the top of my head. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel Bertrand Sent: Tuesday, October 04, 2005 11:21 AM To: flexcoders@yahoogroups.com Subject: RES: [flexcoders] Getting a null object reference Thank you for your suggestion ... I changed to creationComplete, but still not working ... -Mensagem original- De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Matt Chotin Enviada em: terça-feira, 4 de outubro de 2005 01:32 Para: flexcoders@yahoogroups.com Assunto: RE: [flexcoders] Getting a null object reference Try using creationComplete in your Composition.mxml instead of initialize and see if that works. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michel Bertrand Sent: Monday, October 03, 2005 11:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Getting a null object reference Hi ! I'm trying to do the following: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:framework=com.datasul.framework.ui.template.view.* width=100% height=100% initialize=initialize() mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize() : Void { model = new CompositionModel(); } ]] /mx:Script framework:Composition width=100% height=100% framework:model{this.model}/framework:model /framework:Composition /mx:Application I would like to bind the value of model with the model property of the Composition component. Like: Composition.mxml mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml initialize=initialize() width=100% height=100% mx:Panel id=mainPanel mx:Script ![CDATA[ import com.datasul.framework.ui.template.model.CompositionModel; var model:CompositionModel; function initialize(): Void { if ( model == undefined ) { mx.controls.Alert.show(MODEL = NULL); } } ]] /mx:Script .. /mx:Panel /mx:Canvas Everytime I run the code I get a message saying MODEL = NULL. Why I don't have an object instance since model has been already instantiated ? Any help or suggestion will be very appreciated. Thanks in advance ! Michel. -- 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 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.