I've run into a curious problem with E4X (which is otherwise
spectacular). Given this document:
var document:XML =
;
I would have
I'd like to add the ability for a user to enter an expression, e.g.
"3+4*x+y*(z/3+4)" and be able to evaluate it. I've found plenty of
examples in JavaScript, Java, C, C++, and about every other language
out there... now, before I go start porting JEval (or similar) to
ActionScript, is there someth
Excellent. That's exactly what I was looking for.
And a further tip that I just realized...
Seems to be a decent idea to nest a mx:Parallel in an mx:Sequence,
i.e. use the mx:Sequence to order things "addchild, transition,
removechild", etc. Otherwise, if you just put it in a mx:Parallel, it
happ
Okay, this is really driving me crazy...
I've got a UIComponent which is nested several layers deep in a
layout. Inside that UIComponent I've got a series of sprites that are
nested one inside of the other 4 or 5 levels deep with a Bitmap nested
as the deepest level.
In the top-level sprite of my
UIComponent.
Everything works correctly if I instead call
this.stage.getObjectsUnderPoint(point).
That... well, doesn't make sense. Anyone care to clarify?
Troy.
--- In flexcoders@yahoogroups.com, "thirtyfivemph" <[EMAIL PROTECTED]>
wrote:
>
> Okay, this is really driving
I've created an ActionScript Project, so no UIComponent controlling focus.
I've got the root of my app, a sprite, it has a child sprite and a
grandchild sprite.
I was under the impression (nee, utter certainty) that I could stick a
"addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown)" in my grand
My RIA has been using Image components as drag proxies, which was fine
and worked exactly like I wanted (the images were PNGs and had alpha
and that all came through correctly).
Now, I've needed to change the drag proxy to accept BitmapData. It
doesn't appear to be able to use it directly as it ex
While Halo is a pretty nice, general purpose skin that's pretty
flexible with all of its programmatic skins, there are a few aspects
of it that just annoy the heck out of me. Perhaps you guys can help me
resolve one of them...
If I create a listbox (or if I'm styling the drop-down list of a combo
Is it possible to dispatch an event to all objects on the display
list? In my particular case, I'd like to have some additional
"enter_frame" like events that all display objects receive (but I
don't want it tied to enter_frame because the event doesn't
necessarily happen every frame).
My current
Actually, I'm trying to avoid each DisplayObject tracing its way back
to the root (which, at any given time, it may not be able to do
depending on where it is in the DisplayList, on or off the stage, etc.).
Here's a more succinct way to ask my question:
Given that the display list is a classic tr
Anyone out there using the Flex SDK with Textmate? I've fallen in love
with Textmate as an editor and am frustrated each time I go back to
Flex Builder, so I'm exploring what it'd take to get Textmate married
to Flex. I don't ever do any visual form design, so virtually all of
my time is spent in t
> http://www.adobe.com/products/flex
I noticed that the purchase option is for "Mac/Win"... is the license
a dual-OS license? I.e., can I install it on my Windows desktop *and*
my MacBookPro with a single license?
If so, I'd go out and purchase it today! (Can't afford to buy two
licenses, though!
I've got an app where I want a single component to *always* have
keyboard focus and prevent other components (like lists, buttons,
etc.) from ever getting keyboard focus (they'll all be
mouse-controlled). What's the best way to do this? Is there a
straightforward global way to handle this or will I
I'm fairly satisfied with the capabilities of most of the Flex
components. Sure, there are a few shortcomings, but they have mostly
been fixed by the community in projects like flexlib, etc.
What I've found frustrating (aesthetically), and surprising
(technically), is that the list controls (List
Okay, maybe my brain took the weekend off early, but I just can't get
TextFields to cooperate...
(BTW, this is an AS3 Project, so no Label or Text or other UIComponent
suggestions, please!)
I create a TextField:
var text:TextField = new TextField();
That I want formatted like so:
text.defaultT
My app is currently loading around a 100-150 PNGs (around 64x64 to
128x128 in size each) from my server. It's obviously taking way longer
than it should, not because of the total size of the transfer but
rather the overhead of the multiple connections, i.e. 100-150 separate
connections to the serve
So, I've been doing some contract work lately that requires that I use
Flash instead of Flex (the deliverables have to be FLAs that they can
hand off the designers to re-skin, publish, etc.). Surprise, surprise,
I'm finding the Flash IDE to be a little less than ideal.
Does anyone have any recomme
I want to display a custom widget (basically a glorified Image
control) in place of the icons in a Tree component. I've not been able
to get satisfactory results (yet), here's what I've done:
1) First, I tried creating a custom ItemRenderer, but discovered that
the disclosure icon (triangle), inde
One of the beauties of Flash's display list API is the ability to
treat almost all visual elements as the universal DisplayObject and
not be concerned with whether they're a simple shape or whether
they're a complex, multi-state movie clip.
But, when it comes to Flex framework widgets, like button
I'm wanting to globally capture the keyboard in my Flex app. I want to
be notified of every keyboard event that happens as long as the Flash
Player has the focus... regardless of whether the event happens when a
UIComponent has keyboard focus or not.
Here's what I'm doing:
stage.addEventListener(
Okay... I'm about to throw my laptop across the room. I am burning
time trying to fix this *bug* (bug, because as a user I shouldn't be
able to break this) in Flex Builder (I've seen it in 2, now seeing it
in 3).
I'm just happily editing my project... when all of sudden a trace
statement I add doe
I am trying my best to not go to my blog and rant about Flex Builder
3... but its getting harder by the hour. I had an earlier post about
having to dig around and delete some hidden caches to get my code to
compile correctly... and now, Flex Builder just hosed by entire
website (well -- my localhos
I don't ever have this problem on my machine (MacBookPro, OSX), but my
partner has it quite often on his (Dell laptop, WindowsXP):
In our app, we call FileReference.browse for the user to select a
local file. I've got a that call as basically the only code in the
click event handler for a button.
I've got a font that we've embedded into our app that doesn't have
numerals in it. Would it be possible, using the unicode range features
of font embedding, to embed the letters from one font with the
numerals of another font (and assign them the same family)?
It doesn't seem to be working for me;
I'm always a bit surprised when I'm building a Flex app and remember
that there are no common cursors provided... considering that the web
browser provides common cursors (which those AJAX people get to use
for their RIAs!) and the OS provides common cursors (which those
desktop people get to use f
I'm thinking about adding an "auto-save" feature to our RIA so that
users can navigate away from the app and not lose any data. The common
AJAXy approach (e.g. Gmail) is to periodically send updates back to
the server. But I'd like to avoid hitting the server with that regular
network traffic if I
I'm subclassing FormItem to have the whole form item (its properties
and its child controls) driven by a single piece of data I specify in
a property I've added to my derived FormItem.
In my custom property's setter, I store the custom data and call
"invalidateProperties". I then do this:
overrid
I have a custom container full of items (basically a list). I need to
determine when the user drags and drops something onto one of those
items. I was hoping I could just add a listener to the list container
and that the drag events it received would contain the child object as
the event.target (ju
Is there a way to specify some query-vars to be passed into the URL
I'm debugging inside of Flex Builder?
Right now, I click debug and get this URL in the browser:
http://localhost/app.swf&debug=true
I'd like it to be this:
http://localhost/app.swf&debug=true&id=35
If I just type that in, the
I've been wrestling with this and can't find a solution that seems to
work as consistently as what others have found...
I've got an embeddable version of my app (think YouTube video) and
want the user to be able to click on a button in the app and be sent
to our site (just like they clicked on a l
So, it appears that if you apply the [Bindable] metadata to a
property, Flex inserts quite a bit of logic that may not be obvious
(and certainly doesn't appear to be documented). I haven't checked the
generated AS yet, but I get the impression it does these things "for you":
- creates getters/sett
Is anyone else running Firefox 3 RC1 (on OSX) and experiencing bugs with Flash
Player and
keyboard events? I'm not getting KEY_UP events, just KEY_DOWN, which kills my
app (a game
with keyboard controls) as it assumes a key is pressed until it receives the
KEY_UP event.
Googling hasn't reveal
32 matches
Mail list logo