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
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
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
, and then operate on
that.
HTH;
Amy
--- In flexcoders@yahoogroups.com, christophe_jacquelin
christophe_jacque...@... 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
subclass
from either class without breaking the way the two interact.
-Amy
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... 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
://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/
.
-Amy
/getting-help-in-flex-builder.html
HTH;
Amy
--- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... 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
--- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... 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, Manish Jethani manish.jeth...@... wrote:
On Wed, Jun 3, 2009 at 10:26 PM, Manish Jethani
manish.jeth...@... wrote:
2009/6/3 j2me_soul j2me_s...@...:
override protected function measure():void{
this.explicitMinWidth = this.explicitMinHeight = 50;
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... 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, Gordon Smith gosm...@... 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, Cordova Aaron basic...@... 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, Tracy Spratt tr...@... 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, Jason B nos...@... 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
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
changes.
HTH;
Amy
change, since
it's almost inevitably going to trigger another ui change.
HTH;
Amy
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... 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.
--- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@... 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.
--- In flexcoders@yahoogroups.com, Jake Churchill j...@... 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, Gordon Smith gosm...@... 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
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, Tim Hoff timh...@... 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.
(or however
many are visible without scrolling), and then add to the collection after those
are drawn.
-Amy
--- In flexcoders@yahoogroups.com, inevative inevat...@... 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
--- In flexcoders@yahoogroups.com, lambovell lambov...@... 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
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 are drawn.
By doing this, if a user want to see older
--- In flexcoders@yahoogroups.com, grimmwerks gr...@... 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:
it actually
is).
HTH;
Amy
' /
/mx:Application
You're removing a new child you created and never added, not one that already
existed. Consider using a repeater to handle this for you.
HTH;
Amy
enableAutoUpdate).
If that doesn't help, I'm not sure what else to suggest without looking at your
code.
HTH;
Amy
--- In flexcoders@yahoogroups.com, j2me_soul j2me_s...@... 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
, 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
.
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
--- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote:
On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panasa.pa...@... 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
anyone know why this happens?
Thanks;
Amy
--- In flexcoders@yahoogroups.com, fourctv four...@... 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
overrides of any sort.
tia
julio
http
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 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
--- In
flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
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
--- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... 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...
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, skwasha sas...@... 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
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
.
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
--- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... 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
--- In flexcoders@yahoogroups.com, Thomas Silvester thomas_...@... 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
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, Chris zomgfore...@... 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
--- In flexcoders@yahoogroups.com, Chris zomgfore...@... wrote:
You can bind the width of the text field to the dimensions of its parent:
mx:Canvas id=mainContainer width=100% height=100% styleName=debug1
mx:Text width={mainContainer.width} text=here is a very very
very very
a
labelFunction.
HTH;
Amy
() 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
--- In flexcoders@yahoogroups.com, Tim Romano tim_rom...@... 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
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, Sergio Alvarez Real
sergio.alvarez...@... 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.
--- In flexcoders@yahoogroups.com, xiaoming_w...@... 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
--- In flexcoders@yahoogroups.com, dfalling dfall...@... 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
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... 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, artgrater art.gra...@... 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
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, Nick Middleweek n...@... 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 evaluate e4x
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... 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 correctly...
Try calling the service from
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
Copy and paste the XML to a file and then try opening the file in a browser.
That might not show problems like lt;, since those may well be masked by
toString() or toXMLString(). Just sayin...
Amy
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
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
is XML, and will have all the properties,
methods, and data available to that data type.
HTH;
Amy
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
linking to it, or
making a swc and dropping it into your libs folder?
HTH;
Amy
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
--- In flexcoders@yahoogroups.com, ag_rcuren robert.vancuren...@... 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
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
(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
--- In flexcoders@yahoogroups.com, trefalgar trefal...@... wrote:
--- In flexcoders@yahoogroups.com, trefalgar trefalgar@ wrote:
--- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
I always use mx.rpc.Responder instead of AsyncResponder (is that a custom
class?). There's
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
-by-michael-labriola/
HTH;
Amy
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
/controls/dataGridClasses/class-list.html
Thanks;
Amy
the target property to see if the LinkBar is in some
way a parent of whatever was clicked.
HTH;
Amy
to be data driven.
HTH;
Amy
generate the question answered/question skipped events.
You shouldn't really need next/previous events, because the next and previous
navigation elements (buttons) would generate events that would both change the
state of the quiz and populate your QuestionView.
HTH;
Amy
for the Bitmap, I assume.
Set the scale9 grid on the graphic asset so it does what it was (i.e. set the
top or bottom grid piece to be all the way at the top or bottom).
HTH;
Amy
loaded. Then, in
the JS function that gets called from there, I will make my initialization type
calls.
HTH;
Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
What I do is go to
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
and add the bin-debug folder to the list.
I haven't personally tried this, but this may work as well.
they are, which makes text sizes wonky inside
renderers.
For a rundown on how this works, check out
http://www.insideria.com/2009/12/handling-delayed-instantiation-1.html
-Amy
dataGridColumn.
HTH;
Amy
when they do something stupid and YOUR logic errors out.
In short, you have to work together with your other team members one way or
another to make this work. Why not just shortcut to the most performant method?
-Amy
there are some XML folks out there that can offer some advice .
I think you'll need to use a groupingFunction to group on
.attribute('name').child('text').text()=='Category'
(Sorry, for some reason my blog doesn't email me these days when I get a
comment.)
HTH;
Amy
body that probably doesn't really see that either?
JMO;
Amy
-iis-and-microso-1.html
HTH;
Amy
, resending the service call by doing op.send(args). I
don't know yet on how-to copy over all saved infos from the previous
service-call's token into this new one.
The token should have the Responder still attached. I think you can probably
just grab it and put it into the new token.
HTH;
Amy
at Object or Dictionary.
However, you may also want to consider just adding the date as a property of
your Class that lives in the ArrayCollection, then just use a Filter or a
Cursor to locate the appropriate item.
HTH;
Amy
you to display both images stored
on a server and data held within mysql tables in flex in a tilelist via php?
I'm struggling to find any good examples/tutorials on this.
http://flexdiary.blogspot.com/2009/01/example-of-casting-contets-of-swfloader.html
HTH;
Amy
:)
-Amy
that function contain anything that
populates listItems (which I don't see a declaration for)? If not, maybe you
should try binding to _queryVariables, which is the only ListCollectionView I
see getting populated here.
HTH;
Amy
--- In flexcoders@yahoogroups.com, Krunal Panchal panchal_...@... wrote:
Hi,
You have to create the copy of ArrayCollection using the Utility.Copy command
which we help you to keep the copy of original one and create the copy of
existing one.
Apply the filter condition on newly
--- In flexcoders@yahoogroups.com, handitan handi@... wrote:
@Amy:
I sort of found out why I was having issue in assigning the token.
For some reasons that I still don't know, the ws resend is always failing due
to Parameter-fault message, which is weird because I put all the same
I be able to specify the
datafield if I am going to reuse the same with other datagrid columns?
That is what the DataGridColumn parameter is for. Look at its dataField
property.
HTH;
Amy
901 - 1000 of 1081 matches
Mail list logo