I'm getting a compiler message saying Event
type 'events.CustomEvent' is unavailable, and I don't understand
why. I'm hoping a second eye might catch the problem.
My custom event class is called CustomEvent.as: (the dao.Person class
is just a dummy class that stores a firstName, middleName,
Hi,
I think you are given wrong event type in this metadata tag,
mx:Metadata
[Event(name=testEvent, type=events.CustomEvent)]
/mx:Metadata
rather it should be complete package structure as,
mx:Metadata
[Event(name=testEvent, type=actionscript.CustomEvent)]
/mx:Metadata
Regards,
*Pravin*
Hi, list,
I'm having a problem with FlexBuilder 3 Dynamic Help . It was working well
until a couple of days ago.
The dynamic help isn't working anymore and I keep getting these error
messages :
- An internal error occured during : Indexing help ...
- invalid format
The Help Contents is also
Hi All,
Any idea how the following code using Action script..
Code:
mx:DataGridColumn headerText=Online dataField=online
mx:itemRenderer
mx:Component
mx:CheckBox id=chkBox/
/mx:Component
/mx:itemRenderer
/mx:DataGridColumn
As
Hi Nate,
Thanks, it works
But I have one problem,
How can I show seperate details for each of the images?
rememver I have one cell that includes several images side by side
drawn from the loop bellow, and each one need to popup different data
on a tooltip.
private var tooltipData:String;
I think that I need to create a new panel for each image,
let say if I have 3 images in one cell and the event is fired,
now I get one panel for all with the same data and its not good for
me, i need 3 panels with different data,
How do I do it??
Can it be done?
Thanks again
Jo
--- In
well, i managed doing that :)
Using one panel, I use the currentTarget object of the evevnt allows
me to retrieve the dataPorvider elements
private function tooltipDetailCreate(event:ToolTipEvent):void {
var tt:PanelToolTip = new PanelToolTip();
var innerImage:Object =
Dear all,
we have some Flex Skins made in Flash exported as swc, as described in
this article: http://devote.your.life.auricom.com/?p=70.
We have Bitmaps in the Skins and the Bitmaps don't scale in Flex. We
import the skins as artwork in Flex.
It seems that we have encountered a bug which is
Hello,
I have an XML file with points inside :
root
Point
x0343/x0
y0350/y0
x1343/x1
y1359/y1
/Point
Point
x0344/x0
y0349/y0
x1344/x1
y1359/y1
Hi,
i create a class that extends datadrid
package actionscriptcomponent
{
import mx.controls.DataGrid;
public class CustomDataGrid extends DataGrid
{
private var _nrows:uint = 6;
private var
- Original Message -
From: christophe_jacquelin christophe_jacque...@yahoo.fr
To: flexcoders@yahoogroups.com
Sent: Friday, February 20, 2009 11:01 AM
Subject: [flexcoders] Problem accessing data of an XML file
Hello,
I have an XML file with points inside :
root
Point
x0343/x0
Ah, so that's what you were wanting to do. AFAIK, the tool tip for the
class can't be substituted. What you should probably do instead is to
turn off the tooltips, use the mouse over (or roll over) event, and when
you detect mouse over, use the PopUpManager to show your custom component.
~Nate
var dgc:DataGridColumn=new DataGridColumn();
dgc.itemRenderer = new ClassFactory(CheckBox);
~ Nate
kotha poornima wrote:
Hi All,
Any idea how the following code using Action script..
Code:
mx:DataGridColumn headerText=Online dataField=online
mx:itemRenderer
mx:Component
You can't directly because there is no way to create a component on
the fly in actionscript.
Create the component (mx:label) as a stand alone file; either with
MXML or ActionScript.
Then create the DataGridColumn in AS, something like this:
var DGC : DataGridColumn = new
Read the below link, it may give an insight as to why your scaling isn't
working.
http://opensource.adobe.com/wiki/display/flexsdk/Scale9+in+FXG
also you could try the below
http://www.adobe.com/devnet/fireworks/articles/9-slice_scaling.html
Here is the code...I am getting 3 columns for each set instead of 2
coloumns with a grouped header...Obviously I am missing something...A
nudge in the right direction would be helpful...
var length : int = Storesdp.length;
for( var i : int = 0; i length; i++ ){
oColumnDef_amt = new
I am having some issues creating AdvancedDataGridColumnGroup (ing) in
Actionscript...
Here is what I have tried...
var length : int = Storesdp.length;
for( var i : int = 0; i length; i++ )
Hello,
Is there a way to define custom aggregation functions in SQLite using
AIR?
From the documentation, I noticed that AIR supports SUM, MIN, MAX,
AVG, COUNT, and TOTAL:
http://www.adobe.com/go/learn_air_aslr_en?localDatabaseSQLSupport.html
SQLite lets you define your own functions in C:
Hello,
I'm trying to draw something on a component skinned using a Flash
skin, but nothing is drawn (or better said, I don't see anything
because the drawing is done beneath the skin).
My code looks something like
public class TestButton extends Button
{
public function TestButton()
{
Hi,
I have a requirement to display data in a AdvancedDataGrid with a
complexheader structure as follows :
Example :
|Place | Occupation | (How to show
this column header as a part of Grid??)
|Country|State |Field| Sub-field|
|India |AP
Hello,
What is the best database for Flex: mySql or SQLServer ?
Is it possible to use an Microsoft Access database with Flex ?
Thank you,
Christophe,
There is no silver bullet
The database choice need to be done knowing the requirements, without that,
you will get just personal preferences.
Regards,
PS
On Fri, Feb 20, 2009 at 10:06 AM, christophe_jacquelin
christophe_jacque...@yahoo.fr wrote:
Hello,
What is the best database for
Flex is database independant. There is no data classes with Flex, unless you
are working with AIR. With Flex you connection to your data using either
ColdFusion RemoteObjects or Web Services with any (CF, PHP, .NET, etc) so it is
more based on what each language can use (which is all of them)
processing.. do you mean manipulation? I think the bitmap class is what you
need to check out
also this is a good start:
http://www.insideria.com/2008/03/image-manipulation-in-flex.html
hth
From: christophe_jacquelin christophe_jacque...@yahoo.fr
To:
Flex generates a Flash movie (SWF) file that runs in the browser
(client side). It's therefore a presentation layer for your
application. It calls your Java, PHP, ASP.NET, CFML, etc., server
side code to do such things as fetching database records,
authenticating/authorizing a user, etc. Your
--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote:
I prefer CF because it is what I know. Since it comes from Adobe
it's
integration w/ Flex is top notch.
After 2 days of trying, I gave up trying to get PHP to work on my
dev
machine; so I'm amused by the claim it can
Has anyone ever created an algorithm that can work out the max size of a
square tile for X number of tiles inside a container of dynamic size.
So if I create a container that is 100 * 100 and it contains 2 tiles
(non overlapping) then the max size of the tile is 50*50.
If I take the same
hello frnds,
could we save an image or all things(which is on our application) snap
on desktop with allow option to users as SaveAS .
thx in advanced.
abhishekche...@gmail.com
I have tried using a Sprite as the topmost child and drawing on it
I think that's the way to do it. To make sure that your sprite is always on
top, just add addChild(yourSprite) at the end of the updateDisplayList
function. If the sprite is not on the display list, it's going to be added to
Two answers:
1. Flex has nothing to do with it. You don't call a DB from Flex - you
call a server script that calls a DB.
2. SQLLite through AIR or MySQL through assql
(http://code.google.com/p/assql/wiki/Examples#MySqlService_Example)
Answer #2 is more of a geeky nature
All you have to do is draw the Application into a BitmapData, put the
BitmapData through a JPEG/PNGEncoder and save the resulting ByteArray via
File/FileStream. You can certainly let the user descide where the file should
be saved.
/Johan
From: flexcoders@yahoogroups.com
I am looking for a solution of starting either a Flex or Air
application from a regular win32 executable. I haven't tried AIR yet,
but with Flex I have two options: Open Browser with a link to html page
(standard with Flex) or with HTA file. If I do html page then I am
getting sandbox
Check this out:
http://www.onflex.org/ted/2007/06/flex-3-wednesday-components-and-
sdk.php
--- In flexcoders@yahoogroups.com, shishirpra...@...
shishirpra...@... wrote:
Hi,
I have a requirement to display data in a AdvancedDataGrid with a
complexheader structure as follows :
Thank you for your answer Laurent.
I was doing something similar, but more complicated: calling
addChild(sprite) in createChildren() and then setting the index of the
sprite to numChildren - 1 in updateDisplayList.
Apparently the answer is to wrap the sprite in a UIComponent and adding that
Is there a way to essentially disable the rowCount property of an
accordion and just have it show as much content (including partial
rows) in the vertical space that is available? I'm finding that if I
set a rowCount which takes up less space than the expanded section has
available I get an
I figured out what I was missing..
I had to go into the project properties and add the modules to load ...
Eric W Dunn
Adaption Technologies
281-465-3326
ed...@adpt-tech.com
I've searched Google on this topic for a few hours with no success so
I wanted to throw this out for the list to comment on. I'm working on
an Air application that loads 20+ large png files. For some extreme
cases we are seeing our application spike up to 800-1200m of operating
system
Hello,
Did the type Pointer exist in Flex/ActionScript like in C.
int *ptr;
Thank you,
Christophe,
I have four comboboxes populated from arrays. I have a datagrid populated
by an ArrayCollection. I can filter the ArrayCollection from each combo
box individually, but I need to filter by multiple selections. For
example, I may want to filter by UserID and Carrier and Origin.
The obvious
Have you checked out the example dashboard application?
http://examples.adobe.com/flex3/devnet/dashboard/main.html
--- In flexcoders@yahoogroups.com, todd.bruner todd.bru...@... wrote:
I have developed a small flex charting app that displays a graph based
on xml returned from a web service.
No, there's no pointers. All the objects are passed to functions by reference,
except for the basic types (Number, String, etc.) which are passed by value.
--
Laurent Cozic
Flash, Flex and Web Application development
http://pogopixels.com
--- On Fri, 2/20/09, christophe_jacquelin
Is it possible to use Flex localization without creating additional
folders in ...\Flex Builder 3 Plug-in\sdks\3.1.0\frameworks\locale ?
I'm asking for the sake of version control - I would like to add
localization capabilities to my Flex app but don't want to check the
Flex SDK in or depend on
It's easy to get things done / setup if you already know what you're
doing. But, lets compare apples to apples here.
It seems logical to me that someone wanting to install CF would start
at Adobe.com , and from there could easily find and download the
installers.
I chose, Products
Hi all,
I have a question about using creative relatively-sized layouts:
The default behavior
http://livedocs.adobe.com/flex/3/langref/mx/containers/Panel.html
of many containers is to use adopt a height just large enough to fit all
of it's children content. Manually specifying a relative
That's what I thought.. but it always has an array containing only
en_US although I have four different keyboard layouts and none of them
is en_US ! the only place where en_US is mentioned is in the project
properties...
I will assume it is a bug og Air framework then.
--- In
If I understand your problem correctly you just need column groups.
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_09.html
--- In flexcoders@yahoogroups.com, wpageiii bi...@... wrote:
I am having some issues creating AdvancedDataGridColumnGroup (ing) in
Actionscript...
You have to set ADG.groupedColumns and not columns when grouping.
--- In flexcoders@yahoogroups.com, wpageiii bi...@... wrote:
I am having some issues creating AdvancedDataGridColumnGroup (ing) in
Actionscript...
Here is what I have tried...
var length : int
Although I prefer open source software, it's true that most of the time it's
harder to use an open source version that a paid for equivalent. Coldfusion
is easier to setup than PHP, Photoshop or Word are more user friendly than Gimp
or OpenOffice and so on.
Open source software is free but
Hi,
I build a Flex Module with cairngorm ,I load the module in main
application and I need to load it many times.
it works fine when I load the module at first time but I get error
when I load it again.
The error message is : Only one ServiceLocator instance can be
instantiated
Do you have a
I know there is never an official announcement about release dates from
Adobe until right before it happens... I have searched the archives
because I know it was mentioned before, but anyone have a good
idea/guess when Flexbuilder 4 will be released? Even just your best
(somewhat informed)
But first, do not use mx:Model, it will not work with e4x expressions.
Instead, use mx:XML.
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Paul Andrews
Q4 2009
On 2/20/09 9:05 AM, Jason jason.merr...@bankofamerica.com wrote:
I know there is never an official announcement about release dates from
Adobe until right before it happens... I have searched the archives
because I know it was mentioned before, but anyone have a good
idea/guess when
Generate the wrapper withut the history management. It is a checkbox on
the Project, Compiler dialog.
Obviously, history managmeent makes no sense with an hta.
In case anyone is following this, in this context, the tla hta means
HML Application, which is a way to run html in an IE
I don't think I have ever set rowCount with Accordion, and have never
seen the problem you describe. What happens if you do not set it?
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com
Why not just do all the logic in the filter fuction?
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of m_ba...@goodyear.com
Sent: Friday, February 20, 2009
My flex 3 application, deployed on JBoss with BlazeDS, uses a Remote
Object to get data from a class in a jar file. The application worked
fine while all the code was deployed as a single Application mxml file.
I then moved some of the code to a Module mxml file, which I navigated
thru a Tab
Hello,
The frameworks/flex-config.xml file contains this entry, which tells the
compiler to look for a directory for the locale:
path-elementlocale/{locale}/path-element
First, you can remove this entry or create an empty
frameworks/locale/Your_Locale directory to make the compiler happy. I
I see, thanks.
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:
Generate the wrapper withut the history management. It is a
checkbox on
the Project, Compiler dialog.
Obviously, history managmeent makes no sense with an hta.
In case anyone is following
Hi Rob,
thanks for your hints. It's all perfectly understandable except this:
create an empty frameworks/locale/Your_Locale directory to make the
compiler happy. You mean to create the empty directory inside the
installed Flex Builder SDK? That would still mean manually modifying
the SDK, though
Thanks Matt!
--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:
Q4 2009
On 2/20/09 9:05 AM, Jason jason.merr...@... wrote:
Well, first, you are specifying that the two panels take up a total of
100% of the app height, so what you describe is what you are asking for.
You can use an expression in binding braces. Try this, see if it does
what you want:
mx:Panel height={this.height/4}
Tracy Spratt
Lariat
That's true. It's the lowest-impact change I'm aware of.
On 2/20/09 9:53 AM, Borek bore...@yahoo.co.uk wrote:
Hi Rob,
thanks for your hints. It's all perfectly understandable except this:
create an empty frameworks/locale/Your_Locale directory to make the
compiler happy. You mean to create the
Ack! I stand corrected - had to go back and look at my code - it is
the TileList that has the rowCount behavior that I don't like. I
have An accordion where each panel is a canvas that contains a
TileList.
So it's the TileList that I need to have look differently. I think
the default
Got it figured out. The height propery of the TileList works fine in
my case.
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:
I don't think I have ever set rowCount with Accordion, and have
never
seen the problem you describe. What happens if you do not set it?
Hi all,
My forehead is becoming flatter by the minute as I bang my head
against the wall on this one
In my dashboard application, I have a tab navigator with a canvas
that defines each tab. A single tab/canvas has numerous panels and each
panel has a swfloader swf file. When a
Is there a simple way to use the AdvancedDataGrid with hierarchical data
from XML, while excluding all but certain node types from the navigation
hierarchy?
For example, with the following XML, I don't want the name node showing up
as a folder in the nav tree. Obviously, if name were an attribute
i have a data grid in my application and am pulling data from a MYSQL
DB using php. is there a way to store all that data into an array and
pass it to a function or is it possible to just store the data
directly coming from php into an array
Yes, you are correct I was not doing that properly...
I have modified the code so now my columns are correct...But for any
grouped column the data is not displaying...For an ungrouped column
the data shows...I am assuming the issue is in the dataField property
of my GroupedColumn...But not sure
This should do the trick
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600
mx:Panel height=75%
mx:Text text=This panel should take up 75% of the
application's height /
/mx:Panel
I like your humour Adrian!
The loitering objects can be caused by many things. During my track down
on leaks, I found out that most of the time, it was forgetting to set a
property to null, not removing listeners as I expected, etc. Without
seeing code, it's difficult to help you out properly.
Hi,
I get the following message in debug console,do you know what this means?
*** Security Sandbox Violation ***
SecurityDomain 'file:///D:/WORKSPACE/Flex Builder
3/Reflex4/bin-debug/TabNavigatorDemo.html' tried to access
incompatible context 'file:///D:/WORKSPACE/Flex Builder
You need a loggedIn property somewhere in your model. It is initially
set to false and when the user successfully logs in your controller
code sets it to true.
Any views that need to react to the log in have that property bound to
a set method which fires off whatever code is appropriate when
Myabe you broke your html wrapper?
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markflex2007
Sent: Friday, February 20, 2009 1:58 PM
To:
There is no way to do this currently, but, a *great* feature request.
Please visit www.adobe.com/go/wish and make the request.
jw
--- In flexcoders@yahoogroups.com, fan...@... fan...@... wrote:
Hello,
Is there a way to define custom aggregation functions in SQLite using
AIR?
From
--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@...
wrote:
I could, but display (since the CalendarEditor component expects data
from a Calendar) is still an issue, no? Perhaps I should just be doing
what the DataGrid does when outfitted with an itemEditor and just
assume
that
remote object? result=myfunction(event)
private function myfunction(resulte:resultEvent):void
{
yourArrc = new arrayCollection(ArrayUtil.toArray(resulte.result))
or
mydg.dataprovider = resulte.result (and no variable on dataprovider)
}
dg id=mydg dataprovider={yourArrc} /
--- In
I'd have to test it to know for sure, but I was just theorizing on why
you were not able to access the id array for the image. I could
further
theorize that the image tag, being a child of the repeated container,
is
treated differently by Repeater than the container, but that is
Thanks.
But I never change the html code.
the html code is generated with flex builder.
Mark
Thank you both for the suggestions.
You can use an expression in binding braces. Try this, see if it
does
what you want:
mx:Panel height={this.height/4}
This could work if I computed the desired height during initialization
and set it, however, this would mean that I would need to update
I am not writing things in AIR, therefore, I cannot rely on
rightclick event.
I assigned contextMenu of each PieSeries and ColumnSeries to my
custom ContextMenu. Therefore, I was able to solve problem #1 as you
said.
When a user clicks on any item of my custom ContextMenu, I catch an
event
It is unfortunate that there is no good way to see what OS level resources are
being used and how. Generally, bitmaps can use resources outside that measured
by system.totalMemory. If 20 large PNGs eat 800Mb, that's 40MB per image which
I don't think is impossible for large PNGs
Alex Harui
To elaborate on Matt's post.
Adobe (Macromedia) have traditionally had an 18 month release cycle.
Since Flex 3 was released about a year ago [give or take a week]; you
can add 6 months to today's date and that puts us in the beginning of
September. Releases often (but not always) coincide
Wonder if the process explorer from sysinternals would provide any help?
Greg
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alex Harui
Sent: Friday, February 20, 2009 3:01 PM
To: flexcoders@yahoogroups.com
Subject: RE:
Is that possible?
Thanks
You could try http://www.bytearray.org/?p=27
--- In flexcoders@yahoogroups.com, christophe_jacquelin
christophe_jacque...@... wrote:
Hello,
How to send a confirmation Email in the flex program when the user get
register ?
Thank you,
Christophe,
Oh right. It is probably returning the preferred languages in Internet
Options Languages (if you're on Windows IE), rather than the OS
language locales. Unfortunately because it is somewhat hidden in the
control panel, most people have it set to en-US by default.
But I think if you install
hi, flexCoders!
thanks for all ur help in the past!
Does Flex maintain your record pointer while reading an xml file?
basically what i want to do is read each line and when I hit certain
values, read on for 4 or 5 records, then return to the original
process without starting back at the last
You could use a different variable name in the inner loop, that way it
won't change the object in the outer loop.
On 2/21/09, Libby libbychan...@yahoo.com wrote:
hi, flexCoders!
thanks for all ur help in the past!
Does Flex maintain your record pointer while reading an xml file?
basically
Alex,
Sorry but i think you are wrong here...
An uncompressed png (ready for drawing, ie in some form of bitmap data) can
be far bigger than 40MBs.
Example,
2000x2000 png:
2000 x 2000 pixels x 4 channels per pixel x 4 bytes per pixel(32bit int) =
around 60MBs
Let me know if i got my
I think Alex said that size was not impossible and you read it as
possible. So I think he's agreeing with you. I figured that a
compressed PNG would be far larger in a bitmap data format.
Scott
Hi,
I'd like to set an application variable on my CF server which is recognized
in the various cfc's I'm using through LiveCycle Data Services. However, if
I set a variable inside an Application.cfm file, it doesn't get recognized
inside the cfc functions when called through LCDS Destinations.
Normally Security Sandbox Violation errors will come when trying to
access local resources.
If you are using any server side applcaitions like Java/php means then
try tp access the files after creating one applicaiton for Flex
Gnanz.../
http://gnanz-flexworld.blogspot.com
--- In
Found the issue...I left this in my code...as I was doing some
experimenting...
var columnGroup:AdvancedDataGridColumnGroup=new
AdvancedDataGridColumnGroup(String(i));
Changing to...
var columnGroup:AdvancedDataGridColumnGroup=new
AdvancedDataGridColumnGroup();
Solved the issue...Now is
Yap, you are right...
Sorry Alex...
On Fri, Feb 20, 2009 at 11:31 PM, Scott Delap
scott-li...@richclientsolutions.com wrote:
I think Alex said that size was not impossible and you read it as
possible. So I think he's agreeing with you. I figured that a
compressed PNG would be far larger
i am working on a project that is displaying html in the Flex Text component
(via htmlText). it works great for showing basic html (b, i, u) but when i
add an image it does not show the correct size.
- is there a way to know when the image(s) have loaded in the text
component?
- i looked at a
I would suggest that you do not think in terms of reading the file.
Rather, use e4x to find the node you want to process, then go from
there.
OTOH, it is acceptable to manipulate an XMLList, especially if your data
is a single level.
Tracy Spratt
Lariat Services
Flex development
Certainly. Why would you think not?
Though to speak accurately, you would use XMLList or XMLListCollection
as the dataProvider.
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com
Did you clean the project?
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markflex2007
Sent: Friday, February 20, 2009 2:43 PM
To:
I need to build a DataGrid that has header rows which span the whole
grid. Basically, it's an invoice and items on the invoice are grouped
by type. For each group, I want to have a row which spans across the
whole grid, with text that will also span across multiple columns.
I am hoping I can do
Here you go, i think this is it :) if so, always pay attention to the
absolute and vertical layout of the components
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600
mx:Panel
1 - 100 of 106 matches
Mail list logo