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:
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:
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;
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
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
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
package
{
import mx.controls.TextArea;
class MyTextArea extends TextArea
{
protected override function createChildren():void
{
super.createChildren();
textField.selectable = false;
}
}
}
And then use view:MyTextArea
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?
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
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
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:
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.
--
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
--
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:
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
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
--- 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
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?
--- 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
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?
--- 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
--- 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
--- 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
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!
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!
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
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:
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
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
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');
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
31 matches
Mail list logo