Hi Jeff,
Have you found a solution to this, cause I'm having exactly the same problem,
and didn't
found a way to solve it.
_rico
--- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED]
wrote:
I'm using Flex 3 Beta 3. I have a TabNavigator component where the
children are
Quoted from Adobe Flex Developers Guide, page 78
However, it is best practice to use the addEventListener() method.
This method gives you greater control over the event by letting
you configure the priority and capturing settings, and use event constants.
In addition, if you use
Hello,
I use LCDS 2.6 and JBoss 4.2.2, I start to work with these technologies
and have a problem with the data mapping between java and actionscript.
I will try to be as clear as possible to express my problem :
Server side, I use the java.util.Vector class and my design is
OBECT_A
Hi All,
Is there any way(method) by which we can get the expanded nodes of
advanceddatagrid while printing irrespective of the current (expanded)
state of advanceddatagrid.
i.e. lets say i a collapsed ADG but when i click print button the
printed ADG must have all the nodes expanded without
Here is how I arrived at this:
var res:Number;
var a:Number = 5;
var b:Number = 4.8;
res = a - b;
trace(result: + res + , a: + a + , b: + b);
The trace clearly shows that the value of a is 5, and the value of b
is 4.8. However the end result is clearly shown as 0.2018.
Ok, I
well, u can use number.tofixed(2);
--- In flexcoders@yahoogroups.com, b_alen [EMAIL PROTECTED] wrote:
Here is how I arrived at this:
var res:Number;
var a:Number = 5;
var b:Number = 4.8;
res = a - b;
trace(result: + res + , a: + a + , b: + b);
The trace clearly shows that the
Instead of waiting for an answer i just ran a lil' test:
?xml version=1.0 encoding=utf-8?
mx:Application creationComplete=eventListener(event)
xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
import flash.utils.getQualifiedClassName;
import mx.events.FlexEvent;
you could compile with the -keep option to see what is output underneath the
covers.
and then what i think might be the case
pure speculation follows
consider that the mxml gets converted to as. now in mxml you could have
something event={a=1}
or
something event=function(event,'sdfdsf')
or...
now
this is well discussed and a side effect of dealing with Floats
On Mon, Jul 21, 2008 at 12:03 PM, Kuldeep Atil [EMAIL PROTECTED]
wrote:
well, u can use number.tofixed(2);
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, b_alen
[EMAIL PROTECTED] wrote:
Here is how I
I don't have an example to hand, but from memory :
Storing images is a question of reading the original image file as a
bytearray and inserting that byteArray varaible into a blob field in the
database.
Reading is much the same, select the record and read/cast it into a
byteArray.
It's then
My buddy Mike had just written a blog posting on this -
http://mikeorth.com/?p=8
--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED]
wrote:
this is well discussed and a side effect of dealing with Floats
On Mon, Jul 21, 2008 at 12:03 PM, Kuldeep Atil [EMAIL PROTECTED]
wrote:
Hi,
here I got a way to do it here
http://code.google.com/p/maashaack/wiki/Singleton
note that a lot of people will debate on how to define singleton in AS3,
I don't say that the solution I mention above is the best but imho
it's the most standard-way to do it and the closest to the AS3
language
So far so good in the application currently in development, I feel
like I'm in the home stretch. However something has come up which
could prove to be a roadblock in the near future. There are some
values which need to be totaled up and some of those need decimals.
Now I realize that the int
Yes, toFixed() is a better option. It still does not solve the problem as we
don't know to what value to fix the numbers to achieve consistent behavior.
In practice using something like toFixed(8) for every Number should do the
job, but then again we can't be sure.
I also found this blog that
I think you can find the answers here :
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/?localDatabase
SQLSupport.html#dataTypes
(I'd been meaning to look this up in any case, you just prompted me! Not
finished reading it all as yet.)
-Original Message-
From:
Was anybody able to view the css styles swf that I posted earlier? I'm still
unable to
implement runtime css because of the SWF is not a loadable module error. Any
further
help would be greatly appreciated.
Thank you,
--j
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]
In a project I'm working on I would like to represent data flowing
through the system with dashed/dotted lines moving between two or more
points.
I've done one implementation using the lineGradientStyle function to
create dashes. This works, but I'm not pleased with the CPU load while
the script
Amy,
I got the results I wanted prior to my post with states, but the code
is extremely unwieldy and limiting. I'll check out the repeater and
post my results back here.
Sherm
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, daddyo_buckeye
Hi people! Situation as follows:
MYARRAYCOLLECTION (Example fields)
- TITLE
- URL
INDEX.MXML
- TILELIST
- DataProvider={MyArrayCollection}
- ItemRenderer =MyRenderer
MYRENDERER.MXML
- LABEL (data.TITLE) (WORKS FINE)
- LINECHART
--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED]
wrote:
you could compile with the -keep option to see what is output
underneath the
covers.
and then what i think might be the case
pure speculation follows
consider that the mxml gets converted to as. now in mxml you could
I'm trying to find information on using singletons in AS3/Flex. I've
got an .AS file set up but I'm having issues calling the data/functions
within that function in other classes. Does anyone have a good resource
on the web for creating and using singletons?
As others have probably pointed
Tim
Yes, it can be done but it ain't easy.
I have just completed an application that creates form items on the
fly from a database. The PHP code returns value objects with fields
including FieldName, FieldLabel, FieldType etc.
So, first, I create a custom class that extends Form. Then, in the
Does anyone know how to change the color/alpha of the background when
using a popupmanager to add a popup to the screen?
Not being able to do this has caused me to create my own popups, which
might not be the best way to do it :)
HALP!
are you allowed to say that on a yahoo forum?
ps. I was looking at google when I found this, so yes, google is my
friend!
--- In flexcoders@yahoogroups.com, David Gironella [EMAIL PROTECTED] wrote:
Here can find information:
Here can find information:
http://blog.flexexamples.com/2007/08/14/changing-a-modal-alert-controls-blur
-transparency-and-transparency-color/
Google is your friend!!!
Giro.
-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre
de tchredeemed
Enviado el:
actually, i dont see how to use that with the popupmanager, that works
with alerts, and the solution below steps into mx_internal, which I
would rather avoid...
--- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote:
are you allowed to say that on a yahoo forum?
ps. I was
also, i can use global {}, but id rather use a popupmanager specific
style... might not be possible?
--- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote:
are you allowed to say that on a yahoo forum?
ps. I was looking at google when I found this, so yes, google is my
Hi Zdenek:
I was able to reproduce this and have logged a bug for it.
We will look into it. Thanx for bringing it to our attention.
-David Stanten
LCDS QE
--- In flexcoders@yahoogroups.com, Zdenek Mikan [EMAIL PROTECTED] wrote:
I have just downloaded LCDS 2.6, installed it on Tomcat 6.0.16
I am testing something with Flex3 and need some guidance.
I have a security camera that I can only see as a jpeg 320x240 and I
am trying to get a flex program to display an image every 3 seconds.
I have used the image control and created a timer event to refresh
the image every 5 seconds.
The
I have a strange behavior for me as a newbie. I have an image which I drop
to a box. The image is accepted if only if the box is white. I cannot figure
it out the reason of this behavior.
The code,
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
Hey all,
I have been watching this group for a while and figured many of you
could benefit from a project I started called the Flex Dashboard.
The google group is http://groups.google.com/group/flex-dashboard
Its basically a database driven module loader. It is currently using
MSSQL Server as
I solved it doing this,
backgroundColor=#FF backgroundAlpha=0
in the box.
It is not nice! But works. Why is this behavior?
On Mon, Jul 21, 2008 at 7:43 AM, Fernando Wermus [EMAIL PROTECTED]
wrote:
I have a strange behavior for me as a newbie. I have an image which I drop
to a box. The
Background of the popup? You specify that by making a selector of the
name of the MXML file that defines the popup.
Backgorund of the app behind the popup? You have to specify the
modalTransparency and related styles
From: flexcoders@yahoogroups.com
With regard to Troy's comment on making it *impossible* to create
multiple instances... - I would add.. multiple instances shouldn't be
a huge problem unless you are using modules in your app. If you are -
it is quite important to make sure you watch that like a hawk.
I'm unable to download those files. Try to find another way to make
them available.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jamalwally
Sent: Monday, July 21, 2008 5:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Genius - it works - thanks Tim!
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Hi,
Here's a way that you can embed an external xml file into your app:
[Embed('/data/myStubData.xml')]
private var myStubDataXML : Class;
private function onInitialize() : void {
Bingo, thanks that I believe was exactly what I needed, it would seem
that when I'm making the database tables, it would be best to use REAL
and/or NUMBER as opposed to NUMERIC and/or INTEGER to best utilize
numbers with decimal points.
Brian Ross Edwards
Tech-Connect LLC
--- In
The syntax you tried is e4x (ECMAscript for XML) and only works with XML
data. For an ArrayCollection you could use a filterFunction to filter the
data. Check out, for instance,
http://www.boyzoid.com/blog/index.cfm/2006/10/19/Filtering-Data-in-Flex
or the filterFunction property of
I am using chart annotations like the following example:
var annotationElement:MyAnnotationElement = new MyAnnotationElement();
myChart.annotationElements = [annotationElement];
The problem is, I need the annotations to start a few pixels above my
chart's dataRegion.
Does anybody know how to
Hello All,
Well, I'm stuck. I've approached this about 3 different ways and have run
into (different) dead ends on all of them. I've tried using multiple
datagrids, which I got working fabulously, but setting the datagrid to width
100% does really wacky things with the column sizes. I've also
is something like this possible in Flex 3?
http://www.design2dev.com/dragSelect.jpg
has anyone successfully achieved this?
if so..any direction would be greatly appreciated.
thanks
artur
How come when I create an HBox in view mode, it allows verticalGap=30
but when I create an HBox dymanically it says there is no such property
movieBox.verticalGap=30;
1119: Access of possibly undefined property verticalGap through a
reference with static type mx.containers:HBox.
Also, I asked
Hi,
I have a combobox which is populate by an XML file and works fine.
code:
mx:ComboBox creationComplete=userProjects.send()
dataProvider={userProject} labelField=projectname
change=setCompanyName(event) width=313 /mx:ComboBox
Once, the combo box is changed it fills a label with the value
Hi All,
My application has a global data model representing a file system. I
have a tree control allowing users to navigate the file system
directories. I am using a global data model so that rename, delete,
add operations automatically propogate to other UIComponents bound to
file children
There's a footer example on my blog
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Clark Hess
Sent: Monday, July 21, 2008 11:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to display a total row on a DataGrid
TileList with allowMutipleSelection=true?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of artur_desig2dev
Sent: Monday, July 21, 2008 11:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tile Component // Mutliple Drag
Added a code project for those interested
http://code.google.com/p/flex-dashboard/
--- In flexcoders@yahoogroups.com, gjessup1 [EMAIL PROTECTED] wrote:
Hey all,
I have been watching this group for a while and figured many of you
could benefit from a project I started called the Flex
It is a style so you have to use setStyle()
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, July 21, 2008 11:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HBox verticalGap
How come when I
Looking at the ASP .NET Date Tutorial at
http://www.easerve.com/developer/tutorials/asp-net-tutorials-dates.aspx
you can figure out how the dates work. Using that I came up with the
following which should help you out:
?xml version=1.0 encoding=utf-8?
mx:Application pageTitle=World Time
Tyr binding the label to the combobox's selectedItem.projectname
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Cathal
Sent: Monday, July 21, 2008 11:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Populate label with item
In theory, you can override createItemRenderer and return different
kinds of renderers based on the data
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Hess
Sent: Monday, July 21, 2008 12:06 PM
To: flexcoders@yahoogroups.com
If I have a canvas with height set to 100%, how do I get its absolute height?
(in pixels)
the height attribute is giving me 0.
You're accessing the 'height' property before the LayoutManager has
determined what its height should be. You need to wait at least until
the component has dispatched an updateComplete event.
Gordon Smith
Adobe Flex SDK Team
From:
From line 559 of ScheduleViewer:
[Bindable]
public function get allowMultipleSelection() :
Boolean
{
return
entryViewer.allowMultipleSelection;
}
Why can't i just call removeEventListener in ActionScript on the type
of event declared in MXML?
Because you don't know what to pass for the handler reference. When you
write MXML code like
Button click=a=1; b=2/
the MXML compiler autogenerates an event handler method whose body
Your examples were some of the first I looked at. I don't remember now why
I thought I couldn't use them. I'll try the Flex 3 DataGrid Footers post
again and see if I run into the same problems I'm experiencing (mismatched
column widths, 100% width not working).
Thanks for the reminder
On Mon,
Hi,
I am trying to store an image into Sqlite database from an air
application and also trying to display the image by reading data from
the database. I am using blob datatype for this. I am getting the
following error while doing it...
Error #2044: Unhandled IOErrorEvent:. text=Error #2124:
Want to know what we've got cookin' for the next major release of Flex,
codenamed Gumbo? Take a look at
http://opensource.adobe.com/wiki/display/flexsdk/Gumbo
Deepa's whitepaper on the new Gumbo Component Architecture
It looks like if I implement mouseOverHandler then itemRollOver event
is not fireing, or at least it's not getitng into its handler.Can I use
both events somehow?
Thanks
Is there a way to attach a displayobject to more than one container?
I have a canvas that I instantiated and drew onto, but I want to attach
it onto two separate containers without having 2 separate instances of
it.
When I do this:
var obj:MyCanvas = new MyCanvas();
container1.addChild(obj);
A display object can only have a single parent, so you will have to have two
instances.
On Mon, Jul 21, 2008 at 3:31 PM, blc187 [EMAIL PROTECTED] wrote:
Is there a way to attach a displayobject to more than one container?
I have a canvas that I instantiated and drew onto, but I want to
So when you set to true, what happens?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, July 21, 2008 12:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Tile Component // Mutliple Drag
Did you call super.mouseOverHandler?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Monday, July 21, 2008 1:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mouseOverHandler and itemRollOver Listener
Can't. You might have two parents, but display objects can only have
one.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of blc187
Sent: Monday, July 21, 2008 1:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] attaching one
Yes, that was the problem. Thanks!
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Did you call super.mouseOverHandler?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Monday,
just to clarify..
im not talking about the ability to drag around multiple tiles.
im looking to select multiple tiles via clickdrag.
while at the same time generating a selection box over the tiles.
thanks
See this presentation by Ely. You will know why:
http://tv.adobe.com/#v=http%3A//adobe.edgeboss.net/flash/adobe/adobetvprod/adc_presents/64_adc_018.flv%3Frss_feedid%3D1216%26xmlvers%3D2
Thanks for the reply Alex - Most of the examples I see are using the
DataGrid and working with the DataGridItemRenderer. Do you have any
specific examples using ListItemRenderer and a List? I have been
googling modifying ListItemRenderer but can't seem to see any
examples. The only examples I
Wow!!! Great Gordon. I feel link suspend my project till Flex 4
comes out. :-)). Really liked Ely's demo.
On Mon, Jul 21, 2008 at 1:07 PM, Gordon Smith [EMAIL PROTECTED] wrote:
Want to know what we've got cookin' for the next major release of Flex,
codenamed Gumbo? Take a look at
Is there a way of highlighting a cell that was right mouse clicked on
right before contextmenu showed up?
Thanks
Hi All,
I have a tree control who's data provider is an ArrayCollection
holding a single File object I defined. The File object represents the
root of a remote file system hierarchy that has children getter that
supports the tree control and each child is rendered in the tree with
an
Hi all,
i started a project and at the time i didn't need a server, but now i do.
is there a way to modify the settings to use a server after the fact?
thanks and
cheers
percy
I am recommending that you modify your renderer in Actionscript instead
of MXML. It will be much more efficient, and you can use
ListItemRenderer as a template, and borrow background modification code
from the examples on my blog for DataGridItemRenderer (which is a
TextField).
No breath-holding, please... Gumbo isn't even alpha yet and we haven't
announced any ship date! But you'll be able to watch us develop it
checkin-by-checkin, and try it out. You can build it now, or download
builds. We worked on a private branch for a few months while we figured
out the high-level
Nice to see the recipe being altered to taste.
This shows some good cooks in the kitchen.
Peace,
Mike
On Mon, Jul 21, 2008 at 6:06 PM, Gordon Smith [EMAIL PROTECTED] wrote:
No breath-holding, please... Gumbo isn't even alpha yet and we haven't
announced any ship date! But you'll be able
Thanks.
I got it to accept verticalGap, but it didn't do what I wanted.
I have an application with vertical layout I want an HBox to have a 20
topmargin. How do I do that?
I have also tried topMargin=20 , and y=20
Alex Harui wrote:
It is a style so you have to use setStyle()
Hi Alex,
How do I achieve this?
I've tryed doing lbl.text = selectedItem.projectname but I beleave
this needs an event first, no? Any suggestions?
Thanks,
Cathal
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Tyr binding the label to the combobox's
I'm not sure why you're using Base64Encoder/Base64Decoder here, tbh (perhaps
you really need to send over the net as text at some point?).
Unless it's because you are using only a string for the insert statement?
You can insert binary data into a blob field in the AIR database directly,
though
paddingTop
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, July 21, 2008 3:48 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HBox verticalGap
Thanks.
I got it to accept verticalGap, but
In MXML, you might have
mx:Label id=lbl text={cb.selectedItem.projectname} /
mx:ComboBox id=cb /
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Cathal
Sent: Monday, July 21, 2008 3:40 PM
To: flexcoders@yahoogroups.com
I meant
I have an application with horizontal layout I want an HBox to have a 20
topmargin. How do I do that?
[EMAIL PROTECTED] wrote:
Thanks.
I got it to accept verticalGap, but it didn't do what I wanted.
I have an application with vertical layout I want an HBox to have a 20
I've embedded some images like so:
[Embed(source=images/image1.png)]
private var image1:Class;
[Embed(source=images/image2.png)]
private var image2:Class;
I can't seem to reference these class names from a String like so:
override public function set data(value:Object):void {
img =
I'm currently working with a custom classes which are composites. I display the
needed
data via custom ItemRenderer which extends the mx.controls.Text component. It
works
pretty nice and is pretty flexible. But i need to sort my data as well. After
some researches
i learned to implement a
Here's what I need:
A single row containing a right-aligned PopUpButton and to its left,
an mx:Label that fills the remaining space. The label has
truncateToFit=true ad should display an ellipsis when necessary (the
label can have very long contents).
Ideally the PopUpButton could be of variable
I thought of that but since my box has a border it won't work. I guess I
could wrap it in another box but I was hoping to avoid that.
Alex Harui wrote:
paddingTop
Dear list,
For Horizontal scroll list, when the scrollbar's arrow is clicked, one item is
moved at a time.
Is there a way to set the horizontal lineScrollSize? I want to be able to have
more than one item to move at a time .
Thanks!
Yoko
Sorry for the typo in the previous email.
I meant to say HorizontalList instead of Horizontal scroll list.
Here is the question:
For HorizontalList, when the scrollbar's arrow is clicked, one item is moved at
a time.
Is there a way to set the horizontal lineScrollSize? I want to be able to
I'm curious - has anyone had any experience pulling in a limelight
feed into flex?
I've written a flash player that uses NSConnection and successfully
pulls in the stream; but in trying to pull this same stream into flex
-- there's no connection/display whatsoever.
Hi Team
I am trying to use LogAxis with the LineChart. I have attached the
piece of code. If i change the axis to Linear Axis it works but if i
chnage to LogAxis it fails. Can anybody let me know why
Thanks
ilikeflex
?xml version=1.0 ?
!-- Simple example to demonstrate the ColumnChart and
I'm not sure why this is not working but I can't seem to get it to work
correctly...
I've got the following code:
mx:State name=Startup
mx:AddChild position=lastChild
mx:Image x=31 y=30 source=images/FT.gif/
(this one displays the
Hi All,
I am working on runtime localization. I am using Flex 3 and LCDS 2.5.
I have few resource bundles specific to application along with some resource
bundles in Flex SDK and LCDS.
When compile all resource bundles (specific to my app, Flex, LCDS) into a
single swf/swc, the
the namespace is vellum:http://vellum/prerelease, i spent an hour trying to
just see what i can do with it but nothing is going up on the screen. it looks
like html tags that are native in flash player but i have no idea how to use it
since i searched and there is nothing on it. Anyone know
videoButtonBox. is an VBox with HBoxes for children.
How do I change styles as I iterate thru children?
videoButtonBox.getChildAt(i).setStyle() is not a function.
var numChildren:Number = videoButtonBox.numChildren;
for (var i:int = 0; i numChildren; i++) {
videoButtonBox.getChildAt(i)
It is if you cast everything correctly
IStyleClient(videoButtonBox.getChildAt(i)).setStyle(...).
The compile is trying to help you out so the return types of methods and
properties are important
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Try overriding configureScrollBars and set lineScrollSize if the
horizontalScrollBar exists
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Yochikoh Haruomi
Sent: Monday, July 21, 2008 6:25 PM
To: flexcoders@yahoogroups.com
Subject:
If the property identified by the column's dataField doesn't actually
exist, I think that's when you get this error. A sortCompareFunction on
a column specifies a SortField's compare function. You can also specify
a custom Sort with a global compareFunction that shouldn't check for the
existence
96 matches
Mail list logo