[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-24 Thread jpc14_99
I thought it was TextArea.selectable = false; Does it have that property? No, it doesn't. I can't imagine why not. I am using Beta3 though, was the property selectable added in the release version? I didn't see it in any of the release notes. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-24 Thread jpc14_99
I thought it was TextArea.selectable = false; Does it have that property? No, it doesn't. I can't imagine why not. I am using Beta3 though, was the property selectable added in the release version? I didn't see it in any of the release notes. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
I already have editable = false. That prevents user input but doesn't stop the I-beam on mouseover and the selectability. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 24 July 2006 23:34, JesterXL wrote: I thought it was TextArea.selectable = false;

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks. That does make the textArea unselectable but unfortunately it also wipes out my background color and text color. For the life of me I don't understand why Flex doesn't have a simple selectable attribute included with textArea. --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
are, but it shouldnt be too hard since you have the source. You really just need to find the appropriate functions and override with empty functions. Regards Hank On 7/25/06, jpc14_99 [EMAIL PROTECTED] wrote: I already have editable = false. That prevents user input but doesn't stop the I-beam

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks, I've never done that sort of thing before but it sounds like the route I may be forced to go down. Do you think it'd involve overriding the 'mouseover' handler with an empty function? Just seems absolutely bizarre why Flex wouldn't include a simple 'selectable' attribute with the

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
package { import mx.controls.TextArea; class MyTextArea extends TextArea { protected override function createChildren():void { super.createChildren(); textField.selectable = false; } } } And then use view:MyTextArea

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks for all the help. I have it recognizing my class just fine now. Unfortunately I'm getting this error: Attempted access of inaccessible property textField through a reference with static type... So the class I'm using (below) isn't quite cutting it. Any ideas for changes?

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Out of curiosity, what is the use case to disable selection of text? Dustin thanks so much for the assistance. In my application I'm displaying text in a textArea that I don't want the user to be able to select. To have the I-beam cursor popup on mouseover just looks wrong. There's no

[flexcoders] Re: has anyone ever disabled selectability for a textArea??

2006-07-25 Thread jpc14_99
Thanks to everyone for the help. I'm still getting an error: Attempted access of inaccessible property textField through a reference with static type... Obviously the code you guys gave me is good, so I have to assume it's because I'm running Beta 3 Flex. I'm upgrading in the next few days so

[flexcoders] Re: Weblogic webservice access problem

2006-07-27 Thread jpc14_99
I'm having the EXACT same problem since I switched to the Release from Beta 3. The compiler is choking on my web-service-proxy whitelist tag in the flex-config file. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Weblogic webservice access problem

2006-07-29 Thread jpc14_99
I found help here: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg34914.html I'm confused why I'm not using a whitelist definition in the flex- config like I did with the Beta, but making a crossdomain.xml file and opening it up * on my webservices web folder works. --

[flexcoders] Re: has anyone ever disabled selectability for a textArea?? ** SOLVED **

2006-07-31 Thread jpc14_99
I think TextArea's textField was private in Beta 3, but it's protected in the final release. That's right. Since upgrading the solution works great. Thanks so much for everyones help. Non selectable text area: http://www.jessewarden.com/archives/2006/07/nonselectable_t.html --

[flexcoders] Bump - how can i display a background image in Eclipse Flex Builder?

2006-08-21 Thread jpc14_99
Bump -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 * To visit your group on the web, go to:

[flexcoders] How can I DISABLE THE STUPID SPACE BAR GLOBALLY?

2006-11-04 Thread jpc14_99
Trouble! So I found out today that the spacebar fires a click event on the last focused button. This includes hidden buttons, buttons in other states, and even mouseEnabled = false buttons!! (The last one has to be a bug, why would anyone want to allow keyboard 'clicks' on a button when they

[flexcoders] Re: How can I DISABLE THE STUPID SPACE BAR GLOBALLY? **SOLVED** (kindof)

2006-11-04 Thread jpc14_99
so i added a focusIn statement to each of my button declarations and that does the trick. The buttons give up focus as soon as they get it (to some other component) so the spacebar doesn't trigger them. Still would like to know how you can just disable the spacebar. mx:Button

[flexcoders] Re: Glow Effect Sticking around

2006-11-27 Thread jpc14_99
--- In flexcoders@yahoogroups.com, richmcgillicuddy [EMAIL PROTECTED] wrote: I have a glow effect, that I place on a button (See source below) - once completed, my button stays 'glowing' even after I invalidate the button. Any ideas? What I've been doing it executing another glow effect on

[flexcoders] should i convert pngs to jpegs before embedding them in a flash movie?

2007-02-12 Thread jpc14_99
When I make a website I design it with PNGs and when it's all good and done I convert to jpegs to shrink the file sizes. I'm doing the same with my flash/flex movies, but based on the file sizes it looks like when the .swf is compiled the PNGs are already being compressed. Is this the case?

[flexcoders] Re: should i convert pngs to jpegs before embedding them in a flash movie?

2007-02-13 Thread jpc14_99
--- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote: PNG is a compressed format. Which flavor of PNG? Some PNGs are, but try an unflattened Fireworks PNG, it's huge and does not compress that I am aware of. Even so, Fireworks PNGs are much larger than regular flat

[flexcoders] Re: should i convert pngs to jpegs before embedding them in a flash movie?

2007-02-13 Thread jpc14_99
There is no reason to switch to JPEG, unless you like degraded pixel- based images. Ok but I'm using unflatted fireworks PNGs that are very large in file size. Will they compress upon being loaded into the SWF or do I need to compress them before embedding them?

[flexcoders] Re: Error Handling on Computers with No Sound Hardware

2007-02-27 Thread jpc14_99
--- In flexcoders@yahoogroups.com, JClouz [EMAIL PROTECTED] wrote: When I have flex play a sound effect on a computer with no sound hardware I get an actionscript error: How can I handle this error for computers without sound hardware so it doesn't halt their flex app? Thanks! -Jamie

[flexcoders] Re: Error Handling on Computers with No Sound Hardware

2007-02-27 Thread jpc14_99
--- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote: Maybe I'm a little naive, but wouldn't you just use a try/catch to suppress the error. No I am the naive one. I'm new to Flex and pretty much programming in general. I've never used try/catch in Flex before. It

[flexcoders] Re: How do I prevent the user from selecting text in a text area component?

2007-02-28 Thread jpc14_99
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: You may find some helpful tips in this thread: http://tech.groups.yahoo.com/group/flexcoders/message/44779 Unfortunately, it looks like the sample code may not be available at the moment. Yes, that was my thread (I

[flexcoders] Re: tightening between multiple lines in a mx:text object *SOLVED*

2007-05-19 Thread jpc14_99
You're probably looking for the leading style which in Flash/Flex is defined as Additional vertical space between lines of text. Perfect! I had to drop it all the way down to -15: myText.setStyle('leading',-15); to get it really tightened, but it works. Thanks so much!

[flexcoders] Re: can i store a dynamically loaded image? *SOLVED*

2007-05-20 Thread jpc14_99
This worked: var BuddyObject:object = new Object(); var loader:Loader = new Loader(); var u:URLRequest = new URLRequest(urlString); loader.load(u); BuddyOject.pic = loader; and then I reference it using BuddyPic.load(BuddyObject.pic.content); can't believe it works!

[flexcoders] Re: idiotic flex fires 2 event handlers for buttons of a substate !!!

2006-09-15 Thread jpc14_99
Maybe you can replace the whole button instead of just the handler. That's what I ended up doing after my timely debugging and it works fine. I was just frustrated because you can switch a handle from the base state just fine, so I saw no reason why you couldn't do likewise to another

[flexcoders] Re: idiotic flex fires 2 event handlers for buttons of a substate !!!

2006-09-19 Thread jpc14_99
Thanks Matt. It is an easy workaround, I probably could've fixed it faster if it hadn't of been so late. Sorry for any frustration driven rudeness in my original post. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: getting the height of a text object *NO NEED

2006-09-25 Thread jpc14_99
Ok that was clearly a ghetto way to go about valigning a text object. All I needed to do was make use of contraint based layout as opposed to absolute. Very easy! I think you'd be impressed with how far I've made it in on this project without such basic knowledge as that! I'm still curious

[flexcoders] Re: can you unload an swf file from an mx:image control? **SOLVED**

2006-10-02 Thread jpc14_99
Hi Jamie Try just setting the source to null. Thanks Wayne. That didn't do the trick, the sound just kept on playing. This worked though: SoundMixer.stopAll(); I didn't even need an extra include statement for the SoundMixer, maybe I had it already included somehow, it's located at

[flexcoders] Re: overriding Button's style sheet **SOLVED**

2006-10-02 Thread jpc14_99
Thanks Gordon, I actually ended up doing this in the particular component where I needed to restyle the buttons: Init() { myBStyle.setStyle('embedFonts', 'true'); myBStyle.setStyle('fontWeight', 'normal'); myBStyle.setStyle('fontFamily', 'myVerdana');

[flexcoders] Re: can you unload an swf file from an mx:image control? **SOLVED**

2006-10-02 Thread jpc14_99
Hi Jamie Try just setting the source to null. Thanks Wayne. That didn't do the trick, the sound just kept on playing. This worked though: SoundMixer.stopAll(); I didn't even need an extra include statement for the SoundMixer, maybe I had it already included somehow, it's located at