I solved it so forget the previous post
(my bad) J
But I ran into another weird behaviour: My
app does not compile properly when compiled with mxmlc!! It reports some errors
(all valid errors so far) and fails. The funny thing is that it does compile
when compiled on flex server!!
Hi,
does anyone know how you can determine the length of text in mx:Text
component before the component is drawn?
In other words, is it possible to find out that the to-be contents of
a Text component are too big to fit into the component without
clipping? The Text component here is of fixed
OK, probably managed to solve this. I can always compare
preferredHeight with height and preferredWidth with width, and this
seems to work for now.
Satu
--- In flexcoders@yahoogroups.com, svktiilikainen
[EMAIL PROTECTED] wrote:
Hi,
does anyone know how you can determine the length of
Hi Brendan,
It would need to resize itself at run-time, but not to the extent that
scaling the window will trigger a resize. If I explain the required
result a little more, hopefully it'll make more sense! An informational
bar is collapsed by default, showing minimum information. On selecting
Mika,
Are you trying to access remote
objects/web services etc (anything that essentially leaves the client)? Or is
your app not getting past the initial progress screen? Is your compiled swf the
expected byte size? Mxmlc as far as I am aware can produce zero byte swfs if
compilation is
Hi Satu,
Is the question I am asking 'Dynamically increasing size of container to
fit all characters' of interest? I haven't got any solutions as yet,
but it may be useful...
Leon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of svktiilikainen
No worries, I fixed the errors mxmlc
complained about (mainly some imports with case-sensitivity issues). And now it
compiles ok on both.
I also noticed huge performance boost
since it now frees up a big chunk of memory on server. When compiling on server
it eats up a whopping 550 Mb
Mika,
Good stuff. I agree its a much
better way to deploy to production!
Leon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen
Sent: 10 January 2006 10:44
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] mxml
compile
Hi,
and yes, I already viewed your question which is close to what I was
seeking. In my case, I do not need dynamic size increase, just to
find out that contents are larger than the component can show. It
would also be great to be able to tackle, after setting the text,
the contents that CAN
Hi,
I think in any case, we'll need a fixed width font... Could be wrong
though...
Do you mean you would like to know how to show the clipped contents
within the text area/input?
Leon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
--- In flexcoders@yahoogroups.com, Leon Tanner [EMAIL PROTECTED]
wrote:
Hi,
I think in any case, we'll need a fixed width font... Could be
wrong
though...
Do you mean you would like to know how to show the clipped contents
within the text area/input?
Leon
Hi,
mx:Text component can and
Hello all!
For anyone wanting to work on a Flex project with large
exposure, Yahoo! Maps is currently looking to contract several
Flex/Actionscript developers. You would need to be able to work onsite in
our offices in Santa Clara,
CA. If interested, please
send your resume to [EMAIL
Hi All,
I have a database with a large list of records that I want to access
from Flex. I wrote a custom class based on mx.collections.IList that
retrieves the data in pages, handles caching and recycling of old items.
Everything works fine so far. I've used a technique similar to Matt
Chotin
Hi everybody,
Im new
here: This is my first post. Hope Im not doing anything wrong.
Here goes:
I have an example
of a problem I cant solve http://195.41.47.16:8700/mingoville/test/index.mxml
I want to scale
the Y-axis as is done on the top chart, and keep the x-axis as it is
Not really a solution but... We've seen something happen in SSL and Remoting with Internet Explorer and certificates that are NOT fully verified.Take a look at this blog post on Gary Matthew Roger's site and see if that make sense:
Hi,We're currently evaluating Flex for an ATM software platform. One of our requirements is that we need to control some of the devices of the machine (the machine mailbox, printer, etc). One possibility we've been investigating is to host an HTTP server that would control all the devices. The
Hi,
I am not sure about licensing in Flex 1.5, where you can
not embed Flex apps in windows-application. However, I tell how I have done
something in past in my previous company in some similar projects using
Flash:
* Embed Flash application in windows-application
(VB/C++/C#) and do
Leif
Thanx for the link, I've tried it before and it does not help. I think
problem is in IE security, no idea but it does not send any https
remoting call to the server.
On 1/10/06, Leif Wells [EMAIL PROTECTED] wrote:
Not really a solution but... We've seen something happen in SSL and
Thanks for the tips.
Martin
Abdul Qabiz wrote:
Hi,
I am not sure about licensing in
Flex 1.5, where you can not embed Flex apps in windows-application.
However, I tell how I have done something in past in my previous
company in some similar projects using Flash:
*
I have got two cell renderers on my
datagridone is a simple checkbox, the other is a yes/no radio button
group. If the user checks one of the checkboxes but then picks a different
date which causes the data in the datagrid to refresh with a new datasetdespite
it being new data in the
What does your setValue function look
like?
- Original Message -
From: Robert Brueckmann
To: flexcoders@yahoogroups.com
Sent: Tuesday, January 10, 2006 11:01 AM
Subject: [flexcoders] cell renderer question
I have got two cell
renderers on my datagridÂ…one is a simple checkbox,
Flex will not allow me to add a UIComponent to my PlotChart, it says
that I may not add visual children because it is not a container.
If I just add the UIComponent to the application, how will I be able
to determine where the chart is so that I can draw on top of it?
Doug
--- In
On 1/9/06, JesterXL [EMAIL PROTECTED] wrote:
I didn't use String because I got compilation errors or some such issue when
trying to add an embedded image to the display list, bitching about it being
a string or whatever. Will have to go back and find out why.
If you type is as String, use
Is this behaviour a bug then? Should I be implementing it a different
way?
--- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED]
wrote:
Hi Roger,
Well, that get's me one step closer. If I extend MyMovieAsset from
either MovieClip or SkinMovieClip it gives me the
On 1/10/06, Brendan Meutzner [EMAIL PROTECTED] wrote:
Well, that get's me one step closer. If I extend MyMovieAsset from
either MovieClip or SkinMovieClip it gives me the following RTE
TypeError: Error #1034: Type Coersion failed: cannot convert
[EMAIL PROTECTED] to mx.core.IUIComponent
On 1/10/06, Angus Johnson [EMAIL PROTECTED] wrote:
Is it possible to use more than one application container? I can envisage a
master application container which has our main shell (global nav bar's
etc) and each widget running it's own application container.
Yes. See the structure of the
Hi all,
Had a question on how to handle databinding related visual changes in a custom AS component.
Say, we have a custom AS component myComp that extends off a VBox.
myComp has a data object property called dataModel
myComp handles all ui creation by overriding the createChildren method
I've tried adding it directly on the Application root, and also inside
a VBox container.
It seems that the only way to embed a swf so that it plays properly,
is to associate it with a class which derives from MovieClip. It
appears that anything added to a container must extend from
IUIComponent.
Sorry Roger, didn't see your reply before I submitted my previous
post. I'll give this a try and report...
Brendan
--- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote:
Hrm, no, not a bug. I thought MXML containers could add
IFlexDisplayObjects as children, but I'm
Roger,
Thank you. I managed to get it to work. I had tried referencing the
class as the source yesterday, but must have forgotten to wrap the
class name in {} as it didn't work then (feeling sheepish). However,
it works now. So here's the final solution:
//MyMovieAsset.as
package
{
On 1/8/06, Manish Jethani [EMAIL PROTECTED] wrote:
On 1/5/06, Michael Hansen [EMAIL PROTECTED] wrote:
Check out the example here:
http://www.mindinteraction.com/bin/TestDataGrid2.html (Note Flex2 app)
Drag an item to generate an exception.
Basically it's a drag enabled datagrid
Another possiblity, I forgot to
mention:
XMLSocket in Macromedia Flash Player 7, if you are making
Flex 1.5 application.
Flex App (in browser) XMLSocket
Socket Server (in OS App) - Other apps
-abdul
From: flexcoders@yahoogroups.com
[mailto:[EMAIL
If you can reorg the data provider a little, you can then specify the
field and nameField of the pie series like this:
?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
mx:Script![CDATA[
public var USAMedals:Object = [
{Color: Gold, Amount: 35},
Martin,
What is the platform of the ATM?
There are several "projectors" that will give you access to the low-level
functionality. You can also communicate with "outside"world within the local
machine via _javascript_ - and that can utilize "trusted" activeXs or applets. The
main question
This may be the result of adding the HTTP header pragma no-cache.
It's antiquated at best, but it actually causes IE and Flash to fail
on remote service calls that would otherwise suceed. It's part of a
common recipe to avoid the ugliness when a browser caches server requests.
--
Thanks, Doug, for the tip. This function will be useful.
Satu
--- In flexcoders@yahoogroups.com, douglowder [EMAIL PROTECTED]
wrote:
Hi Satu,
Have you taken a look at TextFormat.getTextExtent() function? It
sounds like that may be what you want. Documentation on the
TextFormat class
36 matches
Mail list logo