As is usually the case, I spend all my time trying to figure out the
solution to the problem and then finally give up and post a message.
Then five minutes later I figure out the solution. ;)
Here's an example:
obj = new Tree();
dataProvider = new
hi barry,
i emailed you offlist. sorry, i have been in the process of moving. so my
time has been eaten up.
On 5/17/07, barry.beattie [EMAIL PROTECTED] wrote:
many thanks Michael, I'll check it out to see if it fits
such a shame about HTMLcomponent.swc. It was just what I needed after
being
what are you testing this in?
On 5/15/07, barry.beattie [EMAIL PROTECTED] wrote:
http://www.flexcapacitor.com/htmlcomponent/examples/HTMLFrameInApplication.html
I'm using the HTML component in IFRAME mode on a canvas with other
controls.
When ever I click a button, the HTML content
Ah, i gotcha. Totally possible. I do the same thing except backwards
from .NET to Flex.
So you want to pass N number of People.
People is an object that contains fields like first name, last name,
phone, ect...
I would create a class called person with these fields in it. I would
add N
The server I am running on is a 900mhz machine while the desktops at
work are 3.0 Pentium 4s. I figured client side would be quicker.
I am filtering off on a string. I there wasn't a nice computer
sciencey way to do it I was going to use pointers to jump around in
the sorted list.
Any one
I implemented my tree using ArrayCollection for the data provider but the
elements were simple objects...I would add deeper levels by manipulating the
objects thru references rather than thru the dataprovider itself
var tree:Tree = new Tree();
var hashOfNodes:Object = new Object();
var
You could also use nested Array and Object literal syntax to do this in
one statement:
myTree.dataProvider =
[
{ label: Top level, children:
[
{ label: First },
{ label: Second }
]
},
{ label: Another top level }
];
When you set the
If you don't specify a height for your TextField, flash *assumes*
that it's 100 pixels tall? That's what my trace was telling me 20
pixels tall before I added the TextField and then 100 pixels tall
after i added a Textfield without
the height specified.
This has to be a bug, right?
I'm trying to make a growl type notification bar on the bottom of my
app. I can get the transparent bar to show up but I can't get a label
to show up in it. In the code below i have described one in MXML and
added one dynamically.
I think it has to do with my resize function. I am going from 0
If you just need to display the swf movie, then why dont you use the
SWF loader that is a built in component of flex?
--- In flexcoders@yahoogroups.com, helihobby [EMAIL PROTECTED] wrote:
Hello all,
I have a a Intro.swf ( made in Flash CS3 ) which is compiled and
ready to go ( has a
I'm running Flex Builder Plugin 2.01 , yet the built-in help seems to
be @ 2 . Is there an update for the built-in help ?
If your list is already sorted, the performance of a binary search is
pretty hard to beat. It'd probably still be a good choice even if
you have to perform the sort first.
You could also check out an associative array or dictionary, but I
don't know how well that will perform with thousands
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
And if loose coupling is not a key issue for you, you can simply
access
public members in the loaded swf using the content property of
SWFLoader. If you are loading appliations, use SWFLoader, not
Image.
Access
It seems that fade effects (fade in or fade out) do not fully work on
labels, at least not the way I have implemented the fading.
I have created MXML components containing labels that use embedded fonts
configured through a style sheet. The fonts look fine, except that
during a fade transition
I'm using an embedded font in an mx:text object.
When the text goes into multiple lines, there's a large amount of space between
each line. Almost looks like it's double or triple spaced.
Anyway I can tighten this up? Or is it a function of my embedded font?
Please help!
Thanks!
-Jamie
one of the lists is sorted. Can I you do or operators on strings
in flex?
I think I'll sort the smaller compare list and use pointers to tell
where I am in the list. I think I will only step through each list
once this way; which should be acceptable performance.
if sorting the compare
Hi,
the xml that I put in my post is only a section of an rss feed. i
didn't want to copy the whole xml feed in the post and didn't relies
the the mxml namespace at the top of the document were important.
thanks for the explanations.
the namespace is defined at the top of the xml document like
Wonderful. Thanks for the help Petro!
Linc
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Petro Bochan
Sent: Friday, 18 May 2007 1:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How do you generate inactive icon states
Hi,
Sure,
I have a horizontal list and I want to hide the scrollbar, since I use
buttons/images to scroll left or right. How do I go about doing this?
Paul
its not really the way to do it. First you need to disable he drag
drop ,drag enter and drag move on trees so that is does not call the
default functions when you are dragging an item from the datagrid,
then you need to implement the following :
dropEnabled=false /*Set the
Hi Jurgen,
It seems that fade effects (fade in or fade out) do not fully work on
labels, at least not the way I have implemented the fading.
That's because you're using device fonts instead of embedded fonts. If
you use native fonts, certain effects like fade and rotate do not work.
This
many thanx Ely, that got it going. you are indeed correct and it makes
sence now (mea maximus culpa)
but does that mean the docs are wrong? look at the month attribute:
The tree still needs to drag/drop inside its self. The prevent
default disables the standard dropEnabled when you drop from the
datagrid.
--- In flexcoders@yahoogroups.com, pereanend [EMAIL PROTECTED] wrote:
its not really the way to do it. First you need to disable he drag
drop ,drag
The as operator is not really the same as a conversion function. If the
expression is not of the specified datatype it usually returns null.
Number cannot be null, so I'd expect it to result in 0.
However, implicit coercion rules were added to the as operator in
ECMAScript 4 (and hence AS3)...
Ely,
I find runtime MXML something that would be invaluable.
It is something that if implemented could make developing in flex a lot
more scaleable and integration with the server end would be a lot more
feasible. (As in doing HTTPRequests where serverside MXML could be
generated through
Hi all,
I am building out a datagrid in AS, and the mx piece is:
mx:DataGrid id=tables dataProvider={gridData}
change=selectTable(event) sortableColumns=true width=100%
height=100% /
Now, when I create the grid, everything shows up great but at the end
of the populating the grid code I have a
You can easily integrate a compile on demand system using the Flex SDK
and Tomcat. The problem is the compilers are not very fast. I'm
guessing that the Apache/IIS module does some caching so that compiles
run faster because they don't have to reload large libraries each time.
Once the
Hi Brian,
Well, that may be the reason indeed. That's where Flex is getting a bit
funky. I've embedded the fonts into the application, but for some reason
Flex is not taking them.
I've had mixed results embedding system/native fonts in Flex. Some of
them take fine, others won't.
I'll dig
I have a DataGrid that has a dataProvider bound to an ArrayCollection.
code
mx:DataGrid id=dgEmployees
dataProvider={__employees}
...
/code
I also have another DataGrid (dgAllEmployees) that is within a popup,
which I use as a source for Drag Drop operations to populate the
dgEmployee
--- In flexcoders@yahoogroups.com, IrfanAsrar [EMAIL PROTECTED] wrote:
Hi All,
I have a licence question for the Adobe Flex Charting component. to
sell a web app based on Flex, and was wondering if anyone knew that
if
I used Adobe Flex Charts in the Web App, if there are any
I've been working on this big project for the last 5 weeks and all of a
sudden today started getting errors on all my Embed statements in my
style sheet.
The following lines are an example of what Flex Builder now thinks are
invalid statements:
.trashButton
{
Hi all,
This is driving me nuts. How do I use ASDoc with multiple source
directories?
Like:
src1\mylib1\src ... etc etc
src2\mylib2\src ... etc etc
src3\mylib3\src ... etc etc
plus a main project dir:
src\com\ etc etc
It seems like no combination of -doc-sources or -source-path
Hey Adam,
Maintain the state of the tree in your model and map this state to the
tree in your View using Data Binding.
The command changes the state and the bindings refresh your view.
You don't need to explicitly call methods on the tree.
Cheers,
Aman
You can call methods on the tree via binding by using the observe tag
discussed by Alex Ulhmann
On 18/05/2007, at 12:15 PM, Thind, Aman wrote:
Hey Adam,
Maintain the state of the tree in your model and map this state to
the tree in your View using Data Binding.
The command changes the
Perhaps I shopuld not be trying to do this, but here it is anyway...
I have a compound MXML component that I have created that has a few
MXML children and 2 states. It serves as an agnostic visual control
that Value Objects get assigned to for dipslay.
I want to reuse the MXML control several
Yea - I'm mainly just thinking it would be great to have some dynamic
layout code
that you could fire off to an html layout guy and he could use MXML for
dynamic
layout and positioning.
This could create some awesome workflows I feel, because it would open
up the
editing to non-flex designers
Hi, I've been working with Flex for a month now, and I am currently facing a
problem I don't have any leads on how to address. Basically I want to let
the user save the data on a grid or chart to its local drive (the user
should be also able to choose the destination file path). I have an XML
Hello all,
I was wondering if it is possible to use the ever so groovy
DistortionEffects as prepared by Alex Uhlmann, within an itemRenderer.
Specifically a HorizontalList itemRenderer. I get a #2015 invalid
BitmapData error currently when trying to trigger a SimpleFlip from one
viewstack
You can copy data to your clipboard and then paste it into a file.
I don't think you can step out of the flash sandbox and create files on
the local disk due to security constraints.
System.setClipboard(YourXMLObject.toXMLString())
Cheers,
Aman
From:
You're probably looking for the leading style which in Flash/Flex is
defined as Additional vertical space between lines of text. (Although
designers tell me that this isn't the real definition of leading, this is
how flash uses the term.) You should be able to set this value to negative
numbers
Aman is correct.
Apollo will be able to do it but it's still in pre-release form. There are
workaround that involve using additional techniques and technologies. These
workarounds obviously have drawbacks. One is bouncing the file off a server
(which requires an upload and then download).
Are you switching to another Eclipse Workspace when you see this?
Eclipse has this bizarre behavior where your preferences are stored per
workspace.
- Brian Morearty
Intuit
--- In flexcoders@yahoogroups.com, li wenzhi [EMAIL PROTECTED] wrote:
I use flexbuilder2.0.1 in windowsXP, when i
this issue has been successfully resolved offlist and input from the
flexcomponents list. and just in the nick of time too.
followup info can be read on the support forums for this component:
http://drumbeatinsight.com/forums/viewforum.php?f=15
I now have no hesitation recommending this
A little further investigation looks like the error comes in because of
the highlighting at the mouseOver which is when I am trying to trigger
it. And it occasionally works if I have the mouse move the right way at
the right time. I'll keep digging. I was trying to get it to work on a
I just confirmed that the problem is in fact caused by being triggered
by the mouseOver or rollOver event. Being trigger by a mouseUp event is
fine. Still digging.
Thanks,
Michael
Michael Wills wrote:
A little further investigation looks like the error comes in because of
the highlighting
101 - 145 of 145 matches
Mail list logo