BoxSuper constructor -- that may fix that
> problem but I don't know what other defaults I'm missing because I can't
> extend the ComboBox.
>
> Anyone have a suggestion?
I think it's called globals.css.
HTH;
Amy
tion
http://tv.adobe.com/watch/360flex-conference/diving-in-the-data-binding-waters-by-michael-labriola/
HTH;
Amy
the DataGrid_withStyle at
flexdiary.blogspot.com, then have your styleFunction pass back an object with
properties that you'll then use to populate your strings in commitProperties
(see the example itemRenderer for how you can handle grabbing the style
information and use it).
HTH;
Amy
--- In flexcoders@yahoogroups.com, "trefalgar" wrote:
>
> --- In flexcoders@yahoogroups.com, "trefalgar" wrote:
> >
> > --- In flexcoders@yahoogroups.com, "Amy" wrote:
> > > I always use mx.rpc.Responder instead of AsyncResponder (is th
ar imgParts:Array = imgSrc.split('.');
imgParts = String(imgParts[0]).split('_');
var width:int = imgParts[1] as int;
var height:int = imgParts[2] as int;
if (width==0 || height==0) {
throw new Error('Improperly named image source');
}
HTH;
Amy
t a custom
class?). There's a working example of using AsyncToken with AMFPHP here
http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
. Maybe that will help you see something the docs aren't showing you.
HTH;
Amy
--- In flexcoders@yahoogroups.com, "ag_rcuren" wrote:
>
> I once ran some tests to test this. What I found is that checking against
> null is much faster. Sorry I do not have the test code around anymore but it
> would be very simple to build again.
>
> My guess as to why is that if (foo) is
tener
for initialized or creationcomplete. Be aware that neither of these events
will fire until the component has already been added to the Canvas and the
Canvas has been added to the display list.
HTH;
Amy
line with the file's new location.
Have you considered building a library project and just linking to it, or
making a swc and dropping it into your libs folder?
HTH;
Amy
dy using this in a serious development effort now? Is it advisable?
Somebody made a comment at a recent conference I attended that implied that
there might be an announcement at or around Flex360.
HTH;
Amy
n XMLListCollection is XML, and will have all the properties,
methods, and data available to that data type.
HTH;
Amy
download the
source from the DataGrid_withStyle or TileList_withStyle and just pop either in
your project and use the styleFunction just like you would with an
AdvancedDataGrid.
But my dad used to tell a great joke about "you can lead a horse to the
daughter, but you can't make him wink." So whatever ;)
-Amy
o override the styleChanged()
> method the itemRenderer, to handle the update.
Also, depending on what your renderer is _in_, you could use the
TileList_withStyle or DataGrid_withStyle, which are List based components that
have an implementation of styleFunction based on the AdvancedDataGrid code.
HTH;
Amy
--- In flexcoders@yahoogroups.com, "valdhor" wrote:
>
> Copy and paste the XML to a file and then try opening the file in a browser.
That might not show problems like <, since those may well be masked by
toString() or toXMLString(). Just sayin...
Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote:
>
> Hi Amy,
>
> Mm... What is a way of verifying the returned data is valid XML?
>
> It 'looks' ok, but are there tools to check it, I mean it's valid in terms
> that it looks formatted correctl
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote:
>
> Hi,
>
> Thanks for the replies... Amy - I've tried wrapping my e4x in a trace
> statement inside the Expression panel but that didn't seem to help me :(
Let me try to clarify. The expressions panel cannot
bjects. I'm guessing this is a bug in the Flex framework...
Have you verified that the deeply nested data is actually properly formatted
XML? For instance, when you're having SQL Server make XML for you, you
sometimes need to cast the results of subqueries to XML.
HTH;
Amy
--- In flexcoders@yahoogroups.com, "artgrater" wrote:
>
> My app has a light weight start screen that is the first tab in a
> TabNavigator.
>
> One of the tabs takes longer than I would like to appear when it is first
> clicked.
>
I think you can manually call createComponentsFromDescriptors
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote:
>
> Hi,
>
> Has anyone managed to get this "what seems to 'could' be a wonderfull tool"
> working?
>
> i just get a message in red saying something like "Cant evaluate"
>
>
> Thanks for any pointers...
> Nick
>
Maybe this will help..
--- In flexcoders@yahoogroups.com, "dfalling" wrote:
>
> Is there a publicly-exposed property on components that can be inspected to
> determine if they have finished creation yet? I know I can listen for
> creationComplete, but what can I do if it may have already been fired?
>
Check out ht
--- In flexcoders@yahoogroups.com, "xiaoming_w...@..."
wrote:
>
> Hi Alex,
>
> Thank you. I got some ideas from one of your blog posts.
>
> http://blogs.adobe.com/aharui/2008/12/tree_and_lazy_or_paged_data_1.html
>
> However, here comes one more question:
>
> Shall I need to re-define a col
--- In flexcoders@yahoogroups.com, "Sergio Alvarez Real"
wrote:
>
> Hello guys, I have an issue with developing a flash component I'm planning to
> use in Flex...the thing is that it looks like there's a component kit for
> flash CS4, but I can't seem to find that for CS4.
>
> Here's my trou
="internal" so navigateToUrl from inside
> flex can't be used.
Can you explain why you think ExternalInterface can't be used to make
JavaScript calls? Is this something specific to the MySpace environment?
-Amy
--- In flexcoders@yahoogroups.com, Tim Romano wrote:
>
> In an AIR app, I'd like to be able to know what row of a DataGrid the
> user has right-clicked on.* The rightClick event of the DataGrid is a
> MouseEvent and does not expose rowIndex (unlike the rowClick event which
> is of type ListEv
() on that event.
Does anyone know what event I should be looking at for this, or whether there's
a property that equates to "don't allow wonky extra invisible row to be
clickable and add data to my dataprovider"?
Thanks;
Amy
look for something like a
labelFunction.
HTH;
Amy
--- In flexcoders@yahoogroups.com, Chris wrote:
>
> You can bind the width of the text field to the dimensions of its parent:
>
>
>
>
>
>
> This way you don't have to use a 'hard' width. Kind of a hack, I know.
Thanks for the suggestion, but this becomes problematic in
--- In flexcoders@yahoogroups.com, Chris wrote:
>
> Could this be related to resizeToContent on TabNavigator? Alternatively, it
> may be an issue with your dataprovider. Source would be helpful...
Here's what the issue was:
My renderer had a Repeater in it that had Text components that had a p
vas and the List
at various times (creationComplete, show, change)
None of this has worked.
I am trying to avoid taking extra time to strip this down to make runnable code
(it's already eaten over an hour), so if anyone has any ideas with the
information I've provided, I'd appreciate hearing them.
Thanks;
Amy
--- In flexcoders@yahoogroups.com, Thomas Silvester wrote:
>
> How can i do that ? any sample code .
In the Help files, there's something like "creating a style property," which
will give you the outlines of what you need to do.
HTH;
Amy
--- In flexcoders@yahoogroups.com, Dan Pride wrote:
>
> Actually that didn't work either.
> It returned a value if the var was untyped
> The var would not type
> I could not use it as an input where I need it.
> Centerscrip.as initApp() line 50 or so
> Eight suggestions from four developers
the situation.
> Comments or suggestions would be appreciated again
> thanks
> Dan
Try
var crapola:* = squaresGrid.selectedItem;
Then look and see what variable type you have.
var crapola types it as Object.
HTH;
Amy
t hard to know the difference between XML and XMLList is to
set a variable to selectedItem that has type of *. Then I put in a break point
in the debugger and _look_ at what the type of that variable is.
HTH;
Amy
--- In flexcoders@yahoogroups.com, "skwasha" wrote:
>
> I have a custom scrollbar that seems to work in some components but not
> others. Is there something simple I'm missing? Shouldn't the same assets with
> the same css look the same? It looks like the arrows are being shrunk and the
> thu
, but it seems to me no one is smart enough to calculate the
optimal best height for the items, taking all possible scenarios into account,
in a way that won't perform really slowly.
Try using a Repeater instead.
HTH;
Amy
--- In flexcoders@yahoogroups.com, "mitchgrrt" wrote:
>
> 3. Width and height are properties of Image, not styles, so setStyle()
> won't work.
You can add code to accept them as styles...
--- In flexcoders@yahoogroups.com, "turbo_vb" wrote:
>
> Three dashes for the comment:
>
> http://www.adobe.com/2006/mxml";>-TH--- In
> flexcoders@yahoogroups.com, "Amy" wrote:
> >
> > When you give a component defined in MXML an
stance defined in MXML in the faux attributes that point to style properties.
BUT...I think I ultimately concluded that the inheritance I was trying to force
basically just happens automagically, because the code I worked out isn't in
the project anymore :)
HTH;
Amy
When you give a component defined in MXML an ID, you essentially make it a
public property of your component, so I want to document all of these
properties. Unfortunatley, I'm not sure how to "inline" ASDOC comments on them.
Has anyone done this before?
TIA;
Amy
--- In flexcoders@yahoogroups.com, "fourctv" wrote:
>
> Amy,
>
> it is already in a swc library.
>
> what do you mean by 'program for the design time view'?
> all my DGC subclass does is add a couple extra properties. no changes or
> o
with that.
I ask again: does anyone know why this happens?
Thanks;
Amy
--- In flexcoders@yahoogroups.com, Ian Thomas wrote:
>
> On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panas wrote:
>
> > Forums in general are way superior to mailing lists to exchange the
> > knowledge on the Internet.
>
> My main issue with that is:
> Mailing lists are push. Forums are pull.
>
t; outdated 2.5.7 to 2.5.16.
>
> > mangled subject lines
>
> Fixed.
>
> > the lack of correct headers to allow threading.
>
> Will be fixed when hell freezes over:
> http://www.jivesoftware.com/jivespace/thread/50602
I know I'm jumping into this late (been completely slammed), but what's the
status of NNTP support on the forums?
Thanks;
Amy
their text, and
> you'd have to require Flash Player 10. Looking at how Flex 4 implements its
> new text components would probably be useful if you're going to do this.
I think an easier way is to just set the blendMode on the text component to
"layer."
-Amy
--- In flexcoders@yahoogroups.com, j2me_soul wrote:
>
> I use this code to jump to each frame. But the component didn't play as same
> as playing in flash.
>
> All the transition effect disappear. It just jump one frame to another
> directly without transition.
>
> How to make the component pl
collection, so you just get one
event at the end (when you call enableAutoUpdate).
If that doesn't help, I'm not sure what else to suggest without looking at your
code.
HTH;
Amy
lready
existed. Consider using a repeater to handle this for you.
HTH;
Amy
which it actually
is).
HTH;
Amy
--- In flexcoders@yahoogroups.com, grimmwerks wrote:
>
> Ugh. It appears it's something inherent with Flex 3, was abandoned and
> fixed in F4.
>
> http://bugs.adobe.com/jira/browse/SDK-15335
I don't think it's a bug, just counterintuitive:
http://tech.groups.yahoo.com/group/flexcoders/message
hen add to the collection after
> > those are drawn.
>
> Amy, thank you for your suggestion. I have one question which is related to
> UI design based on your suggestion. Let's say I have 50 posts to display. I
> only display first 5 and add rest of the posts after the first 5 ar
--- In flexcoders@yahoogroups.com, "lambovell" wrote:
>
> The class below is being used as a custom itemRenderer, and I want to set the
> height of the VBox to that of its contents (children).
>
> public class MyDynamicLayout extends VBox
> {
> // .. code removed for brevity
>
> overrid
--- In flexcoders@yahoogroups.com, "inevative" wrote:
>
> Thanks for that. I had not embeded the font which seemed to be the issue.
> Any ideas on the other ones? especially getting the color being used in the
> legend.
>
This might help
http://blogs.adobe.com/flexdoc/2008/07/customized_lege
ut by just loading 5 (or however
many are visible without scrolling), and then add to the collection after those
are drawn.
-Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff" wrote:
>
>
> No response huh? Ok, you're welcome valdhor (Steve). One thing to
> point out is that all flex controls, containers and components extend
> UIComponent.
AdvancedDataGridItemRenderer doesn't. I suspect there are others as well.
on charts. I believe they did it
this way so that you could use them as itemRenderers in ADG's and set them up
with the styleFunction.
HTH;
Amy
--- In flexcoders@yahoogroups.com, Gordon Smith wrote:
>
> 1. If accessing the ComboBoxes you'll create by an index number is
> sufficient, declare an instance var of type Array:
>
> private var comboBoxes:Array = [];
>
> When you dynamically create a new ComboBox, simply add the reference
--- In flexcoders@yahoogroups.com, "Jake Churchill" wrote:
>
> Charting people, please help!
take a look at this example and seeif it helps.
http://flexdiary.blogspot.com/2008/08/charting-example.html
--- In flexcoders@yahoogroups.com, Pan Troglodytes wrote:
>
> Yes, a mushroom indeed - well put! By the way, I found your posts about
> your fun with the various ADG item renderers quite informative. Though you
> did leave me wishing for some source code of the working examples.
>
> The problem
--- In flexcoders@yahoogroups.com, Alex Harui wrote:
>
> Not sure what is going on, but the renderers get their styleNames set by the
> List class. I see you trying to set it in two other places as well. Not
> sure who's going to win in that case.
http://flexdiary.blogspot.com/2008/06/using-c
.
I wouldn't be trying to change the data itself in respons to a ui change, since
it's almost inevitably going to trigger another ui change.
HTH;
Amy
d object changes.
HTH;
Amy
re would be the 4th level. It defines a subclass of "Foo Three"
>
> Class ID = 1_2_1_1
> Class Name = Foo Four.
>
> Am I approaching this the wrong way? Can anyone show me a better way to do
> this? Any tips are very much appreciated.
http://www.adobe.com/livedocs/flex/3/langref/mx/collections/HierarchicalCollectionView.html
getNodeDepth
HTH;
Amy
--- In flexcoders@yahoogroups.com, "Jason B" wrote:
>
>
> Actually this works
> nutritionXML.child(carousel).itemdata
>
> NOT THIS
> nutritionXML.child(carousel).child("itemdata")
>
> the second one seems to give me back the first itemdata node not all of them
> for the foreach, just an FYI
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote:
>
> Yeah, that really is better. I just have used the bracket notation for so
> much longer than e4x that I forget.
except it should be
nutritionXML.child(carousel).child('itemdata')
oops
:o)
--- In flexcoders@yahoogroups.com, Cordova Aaron wrote:
>
>
> I've looked at several examples using google. All the examples sort on an XML
> attribute, but I want to sort on a value of a particular tag.
http://tech.groups.yahoo.com/group/flexcoders/message/121808
--- In flexcoders@yahoogroups.com, Gordon Smith wrote:
>
> Sorry, I don't have an update on that, Amy. Maybe Vera knows, so I've cc'd
> her.
Thanks :-)
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote:
>
> Try:
>
> for each(var item:Object in nutritionXML[carousel].itemdata)
>
Another syntax that's more reliable and understandable is:
for each (var item:XMLList in nutritionXML.child(carousel).child(itemdata)) {
//stuff
}
--- In flexcoders@yahoogroups.com, Manish Jethani wrote:
>
> On Wed, Jun 3, 2009 at 10:26 PM, Manish Jethani
> wrote:
> > 2009/6/3 j2me_soul :
>
> >> override protected function measure():void{
> >> this.explicitMinWidth = this.explicitMinHeight = 50;
> >> }
> >> }
> >
> > Here you shoul
--- In flexcoders@yahoogroups.com, Gordon Smith wrote:
>
> There is a lot of traffic (>100 posts/day) on the Flex forum at
>
> http://forums.adobe.com/community/flex/flex_general_discussion
>
> The Adobe forums now support email.
How's the nntp support coming?
--- In flexcoders@yahoogroups.com, Laurence MacNeill wrote:
>
> As I add and delete items from my DataGrid's dataProvider (an
> ArrayCollection), my custom ItemRenderer starts messing things
> up. It "remembers" values from previous data that was there, but got
> deleted. But the weird thing
If so, try something like:
http://flexdiary.blogspot.com/2008/07/getting-help-in-flex-builder.html
HTH;
Amy
ers.
That's certainly an interesting opinion, but those terms usually go along with
Cairngorm, which isn't universally accepted as being loosely coupled
http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/
.
-Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff" wrote:
> Not disputing that public properties are a viable approach. Just
> pointing out that Flex is an event driven framework.
Oops, missed this bit. If you use a generic event, you're still doing things
in an event driven way--you're just elimi
uld get
closer to the analogy. But even then, you could remove Button or its subclass
from either class without breaking the way the two interact.
-Amy
--- In flexcoders@yahoogroups.com, "christophe_jacquelin"
wrote:
>
> Hello,
>
> How to change the background color of a item selected in a Tile List. How to
> memorize the list of the different items selected.
I have no idea what your second question even means, but you could try this for
yo
nderer class, and then operate on
that.
HTH;
Amy
hen deciding later
whether or not to act.
This example
http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
doesn't use Modules, but it does show how to use a responder to "route" the
result of a call back to the specific instance of a class that made the call.
HTH;
Amy
;http://www.adobe.com/devnet/flex/articles/loose_coupling.html>
I think that's a great article, and I think it's important to note that he
doesn't create a custom event to handle this--instead he uses a generic event
and then reads the public property off of the component.
-Amy
t give it percentage dimensions
2) Otherwise, use CSS like this:
#divContainingSWF {
width:500;
height: 500;
padding-top:50%;
padding-left:50%;
margin-top: -250;
margin-left: -250;
}
HTH;
Amy
unt of storage space that you need for the contents of the bag, rather than
having a cardboard box that takes up the same amount of space no matter how
much or little is in it.
Now it becomes amazingly easy to populate your tables from the array. That's
one reason normalization was invented. It's a great design pattern.
HTH;
Amy
ailable, and then just go read those properties when the event
fires.
I know that there are a few cases where it makes more sense to use a custom
event, but in most cases it's just extra work, extra file size, and extra tight
coupling for little gain.
HTH;
Amy
--- In flexcoders@yahoogroups.com, thomas parquier wrote:
>
> Hi,
>
> I dont see the implementation of backgroundGradientColors drawing in
> Application.as. There doesnt seem to be any other component defining and
> implementing backgroundGradientColors.
> Does anyone know where to look at ?
> A
--- In flexcoders@yahoogroups.com, "nathanpdaniel" wrote:
>
> Maybe I misspoke so, to clarify, my ItemRenderer knows nothing of my actual
> model. I do use some static values from my model (checking against specific
> values - if I have one of these values, change the state of this particular
--- In flexcoders@yahoogroups.com, "valdhor" wrote:
>
> Amy
>
> Has someone stolen your identity or are you really spamming the list with job
> offers that have nothing to do with Flex??
>
I confess...someone has stolen my identity.
ether Cairngorm is good practice at all, but it
sounds to me as if the way you're using it is _not_ proper. ItemRenderers
shouldn't know anything about your model. All they should do is display and/or
edit the data that is pushed into them, without knowing or caring how that data
fits into the larger picture.
HTH;
Amy
--- In flexcoders@yahoogroups.com, Gordon Smith wrote:
>
> 1. Did you try setting TextField's 'alpha' property? In Player 10, I think it
> works with both device and embedded fonts. In Player 9, I think it only works
> with embedded fonts.
You have to set the blend mode on text to "layer" or em
--- In flexcoders@yahoogroups.com, "foobone9" wrote:
>
> I would just create a custom item renderer who examines its own data and if
> it finds something it doesn't like it draws a red bordering using the drawing
> API in updateDisplayList.
It might be simpler to use this:
http://flexdiary.blog
;ve yet to be able to consistantly
> reproduce it with anything. I'm sort of at a loss for what to do since, I
> don't really know what's causing the issue... ??
It sounds like you have the old "trying to set properties in creationcomplete"
issue. Check out Q2 here
http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
to see if that is it.
HTH;
Amy
;t post code, it didn't click with me that you were using states.
I don't usually use states with Flex, when I use it, which has't been for a
few weeks.
Nevertheless, I suspect that if you look at the AddChild code, you'll find that
it works more like what you'd expect in AS vs. MXML.
HTH;
Amy
--- In flexcoders@yahoogroups.com, "Ritu Raj Tiwari" wrote:
>
> I am seeing some strange behaviour with TileList. I am hoping someone can
> shed some light on this:
> I have a TileList where I assign it an ArrayCollection for its dataProvider.
> As I add objects to this collection, the tile list
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote:
>
> The code that I replaced was adding the entire TabNavigator plus children
> and grandchildren in an AddChild tag.
> It appears that deferred instantiation of the grandchildren is
> non-functional in that case.
Duh.
When you do this:
--- In flexcoders@yahoogroups.com, "Jon Oxtoby" wrote:
>
> We're using FMS 3.0, unfortunately the downloading software we're attempting
> to block (Jaksta) can handle an rtmpe stream no problem. We have the SWF
> verification enabled and that prevents the software from opening a new
> stream,
before
you use addChild to add _it_. Even if you aren't, how would the application
know that you have some plan to add children later (that the creation process
isn' complete).
HTH;
Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote:
>
> Created a test case below (creation policy is the default null). Most of the
> time, the trace shows "One complete" and when you activate tabs Two and
> Three you see the trace from those creationComplete events, as expected.
>
> But I
s a circle rather than not
> showing up anything at all.
>
> SWF and source attached. The chart initially loads with data; when I change
> the DP to just one data point, nothing would show up.
>
> Can someone please help?
http://flexdiary.blogspot.com/2008/08/charting-example.html
HTH;
Amy
--- In flexcoders@yahoogroups.com, "Jack OMelia" wrote:
>
>
> That is VERY cool. And I like the way you use grouping in this app as well.
> Much appreciated.
You're welcome :-)
--- In flexcoders@yahoogroups.com, Aaron Hardy wrote:
>
> Try embedding your font.
Or setting the blendMode to "layer"
each Accordion "section", because you can only see one at a
time. So this only creates one and "rehomes" it when a new header is clicked.
-Amy
--- In flexcoders@yahoogroups.com, "stinasius" wrote:
>
> hi guys i have a problem with video display play button in flex 2. when i
> click the play button i get this error "TypeError: Error #1006: play is not a
> function.at custom_comps::home/__playButton_click()". here is my code please
> gu
--- In flexcoders@yahoogroups.com, Brad Bueche wrote:
>
> If you click the full screen option on the player (in screen) then it will
> go full screen and you wont have to scroll around. I always just click
> full screen as a matter of habit so I was not aware of the issue and didnt
> think to p
101 - 200 of 1088 matches
Mail list logo