http://www.google.com/search?hl=enq=Actionscript+3+override+a+functionbtnG=Google+Search
here's a good collection of example.
Best.
On 12/2/06, {reduxdj} [EMAIL PROTECTED] wrote:
how do i override a resize event or lock a VBox container not to
get smaller as children are removed
here is the copy paste code:
private function findMyVal(cb:ComboBox,n:Number):Number{
for(var i:Number=0;icb.dataProvider.length;i++){
if(n == cb.dataProvider[i].id){
return i;
}
}
Hi ,
I want to wrap header text in the datagrid. I did wordWrap = true; but
not working.
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
Thanks guys!
@Tom: the picture on the link you sent me makes my eyes water!
On 12/1/06, Tom Chiverton [EMAIL PROTECTED] wrote:
On Thursday 30 November 2006 18:16, David Harris wrote:
I am using eclipse and was wondering if anyone had managed to get
Eclipse to provide MXML insite to the
Hi to all,
i have tested my appliction with fsp9 bet 2 and all work fine, also
work my-rtmp chanell.
Only if i call my app.swf work! with app.mxml compile my app but don't
display no data.
Good work adobe!
Hello Arpan,
There's nothing wrong with the way you have done it. Consider, if you
create child components for each of the rectangles, you will have to
create a new class and paramatise it so they know what colour to
draw, then you will have to instantiate them, using up memory and
Hi there,
I've recently purchased the book, Flex 2: Training from the Source.
I've hit on a problem with the code in one of the lessons.
Basically, given the following code (which I've triple checked is
correct--per the book, anyway), I end up with Sales Chart superimposed
(it appears) over
Hi Dan,
I don't have any experience with charting components, but is there a
way to test if the effects are triggered? Do you need to use an
ArrayCollection instead of a plain array to manipulate the series
information? I believe this makes a difference with binding-related
behaviours.
Hi Arpan,
What would you _like_ to have happen?
On 26/11/2006, at 5:52 PM, arpan srivastava wrote:
Hi,
I am drawing a stack which contans rectangles of different
depending on some value. rectangles are drawn but they are
overlapping each other by 1 or 2 pixels at the end.
I have to
Something that troubles me about the Cairngorm architecture is the
apparent lack of any proper domain model. Although it is argued that
the domain model actually exists on the server and that the Flex
client is essentially a view, I have always found it necessary to
construct some kind of
Hi Pablo,
I'm not sure this is the best answer to your question but as far as I
know the Text component is the right choice for displaying multi-
line, non-editable text. If you want your users to be able to edit
the text, you can use a TextArea instead.
I'm don't know of a way to do
Good point. Lately we started to put more complex objects into the
model locator. But as soon as you do this, you want to call their
methods from the view directly and also encapsulate some of the
cairngorm event dispatching in there. It doesn't really feel
cairngorm. Therefore i'm also interested
Daryn,
I see what you really want to do is more akin to this:
http://www.kaourantin.net/2005/10/png-encoder-in-as3.html
I¹ve used this for something similar, I believe someone has written a JPG
encoder, but all you need to do is grab the bitmap data of the web cam and
upload the binary to the
I'm in the process of creating a custom look for a Flex app and ran into
a problem while creating custom skins for scrollbars. There is a
hard-coded shape object in the mx:Container class that creates a white
box in the bottom-right corner, between the horizontal and vertical
scroll bars.
The
Hi Misael,
That would be useful as ActionScript string concatenation operations
are fairly clumsy with more than a few pieces. Unfortunately the AS
String class doesn't seem to have such functionality. It's not so
hard to roll your own, because you don't need to worry about the
various
Hi Ely,
again thanks a lot. This was exactly what I was looking for.
Cheers,
Sönke
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Tuesday, November 28, 2006 6:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2
Hi,
How do I align my Axis e.g. I'd like to have to horizontal axis on the top
instead on the bottom and the vertical axis on the right instead of left.
Thanks and Cheers,
Sönke
Starting before the first panel, wrap the rest (down to the last /mx:VBox)
in an HBox (see below). Keep in mind they wrote a lot of this book during
alpha/beta days of Flex 2. There may be some code inconsistencies
here/there.
?xml version=1.0 encoding=utf-8?
mx:Application
In most cases the 'model' isn't much more than
a collection of dumb value objects without complex relationships.
Lach,
Have you seen Alex Uhlmann’s Dashboard Example - “How Business Logic Can
Manage Views”?
You'll find links here:
http://cairngormdocs.org/blog/?p=20
I'm not sure that it
This is correct. My Number in my as class isn't really null it is NaN. But I
believe that to be the actionscript equivalent to null for a number. And yes
when I pass that to java function that function recieves the class with a 0 for
the Long instead of null.
Here is the output from
I am trying to build an array of images from which to display 2 at a
time side by side dynamically. Its important that these images be
preloaded as much as possible to maximize response times. Ideally
loading atleast 6 images in advance as the user navigated through the
sequence.
What is the best
Okay. So this is normal FDS behavior, as explained in the docs. The
question becomes How can we deal with this limitation of FDS?
I don't know an answer but perhaps others on the list do.
Has anyone else wished that they could pass NaN or null into Java? How
did you deal with this FDS
Hi Sönke,
I had the same question a while ago. Ely was nice enough to point out
the obvoius.
mx:horizontalAxisRenderer
mx:AxisRenderer placement=top/
/mx:horizontalAxisRenderer
mx:verticalAxisRenderer
mx:AxisRenderer placement=right/
/mx:verticalAxisRenderer
-TH
--- In
There is a Windows XP Tablet PC Edition 2005, it's the name given to
Windows XP Tablet PC Edition with SP2 installed. That is what i run on
My Toshia Portege M200 and I do run flex 2.0 applicaitons on it and it
seems to run perfectly.
I admittedly rarely use the pan/tablet features and could
after being a coder for years, i've always been away from design... but now i
need to do some transition efect to my tabnavigator; but i could not find any
example; can anyone please help me? (i need an example transition code that
works on tabnavigator)
i need:
1: basic transition effect
The same author wrote a jpg encoder.
I was just hoping to leverage the existing middleware that accepts a
multipart form upload to accept this binary data in the same manner.
Thanks for your advice!
Mike Weiland wrote:
Daryn,
I see what you really want to do is more akin to this:
I just picked up these books, i guess since there is an open-market on
flex 2 books they are cranking 'em out and with the new nature of flex
it's unavoidable.
Like i've noticed in the AS 3.0 cookbook, the flash.utils is flash.util
Errata sure Sucka!
Patrick
John C. Bland II wrote:
Starting
Hi All,
I've been working on some basic CRUD screens, where it would be
really useful to be able to apply either multiple states or multiple
views at once (I think states would be better...)
for instance, I have a 'show' state that goes thru and makes all my
text entry fields non-editable.
I'm trying to accomplish the following: have a ButtonBar in which each
of the buttons has rounded corners (unlike the default where only the
left most and right most buttons have some rounded corners). I've been
playing with this for a while now, and I can't get it to work. Here's
some minimal
There is a Sprintf class for AS2, available here:
http://natecook.com/downloads/sprintf.html
You can try running it through my AS2 to AS3 converter here:
http://www.5etdemi.com/convert/
Good luck,
Patrick
--- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED]
wrote:
Hi
Out of curiousity have you looked at the basedOn property of the state? This
allows you to inherit from another state. Not sure if this is something you
have tried or not, but at first thought, this looks like it could work. So
your noNotes states would be based on your show state, and then
Yigit,
You can try to use the hide and show effects on the child containers of the
TabNavigator. The TabNavigator will play these effects when it changes. Here
is some small pseudo code... You can use any of the Flex events in place of
the fade affect. Note this was coded in Outlook, so
hmm, now i got the logic. (but did not try)
i did not used to know that i could add these effects to child containers,
thanks a lot...
in addition, is there a way to choose the transition effect?
- Original Message
From: Dustin Mercer [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent:
I have considered coming up with a number like -99 and then assume that to
be null and initialize all my Number variables to it and then translate that in
java to null. But that is a hack at best.
Anyone else??
Jeff
Douglas McCarroll [EMAIL PROTECTED] wrote:
Okay.
Right now when I miss an error in my Application there isn't any way
for me to be notified that an uncaught exception has occurred. (PLEASE
correct me if I'm wrong on that... like some low level undocumented
super hack?)
I know this got shelved way back when but I wanted to start a thread
to
Hi Dustin,
It's 'based on' that actually 'teased' me with this...
As you start having more 'optional' things in the component
('noNotes','noSaveButton',etc), you end up with a 'states explosion'...
'based on' gets about half-way there, so I figured it could be enhanced to
handle the rest?
I
Each component (in other words, each MXML file, including the main
application) can have its own states. So if your Notes area is in a
separate MXML file, then it can have its own set of states. Same for
any other discrete area of the screen that needs to have separate states.
Does this help?
Yeah, a lot of these books were written during beta days so things may be
off. Flex 2.0: Traing... used ICursorView but it is now IViewCursor (or vice
versa; one of the two is right). Then again, utils vs util COULD be a
mistype. :-)
On 12/2/06, {reduxdj} [EMAIL PROTECTED] wrote:
I just
I've uncovered some really odd behavior with my project, and I'm hoping someone
here can shed some light as to why it could be happening.
I've developed a game in AS3 and then I built a Flex interface to select a game
map to play. It's a very simple HTTPService call to a standard XML file,
I can only confirm that I've seen other apps with strange behavior with
wmode, in fact someone was describing similar behavior to me yesterday.
It's something I'll see if we can get looked at.
Matt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
I've re-opened some Player bugs on this.
From: Matt Chotin
Sent: Saturday, December 02, 2006 7:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] The most strange behavior I've seen with
Flex...
I can only confirm that I've seen other apps
Hi Pablo,
i did headerWordWrap= true it is working, but the problem is that I
am creating my own datagrid component in which I specifying the rowheight to be
6% of the total height, so that it resizes accordingly. Now in this i need to
keep the header height also same as rowheight or
MiniDebug is a logging target that comes with the framework and I was
wondering what it was. I can't find info about it anywhere?
Some one asked the same question a few weeks ago in the Adobe forums.
HI all,
I have been developing Flash applications, now Flex, for roughly 5
years as an independent. I have no real formal training and my
knowledge has come from many books and, of course, lively communities
like flexcoders.
In an attempt to continue learning even as my client base grows, I
Choose the Transition effect? Do you mean use a different effect than the
fade, or change the effect at runtime? If you want something other than fade,
you can use any of the available effect, Zoom, Rotate, Move, ect... If you are
wondering if you can change it during runtime, I believe it's
45 matches
Mail list logo