Hi, I had a question,
When I create an application from a Database (Flex / Data / Create
Application from Database).
Can I modify the code to convert it into a module?
I have a main application that I would like to load the Database as a
module. I tried replacing the mx:Application Tags to
my iPhone
On Oct 10, 2008, at 8:41 AM, sailorsea21 [EMAIL PROTECTED]
wrote:
Hi, I had a question,
When I create an application from a Database (Flex / Data / Create
Application from Database).
Can I modify the code to convert it into a module?
I have a main application that I
How can I prevent a module from being cached?
Thanks.
Hi everyone,
I can find a solution to my problem...
Loading, unloading and then re-loading a module with a chart
populated from a MySQL database gives me this error:
TypeError: Error #1034: Type Coercion failed: cannot convert
mx.managers::[EMAIL PROTECTED] to mx.managers.IDragManager.
Hello everyone,
How can I create a dynamic button that adds a new panel or canvas in my
mx:Tile/mx:Tile everytime I click it?
Thanks!
Hi everyone.
I have a chart that is populated from a MySQL database via PHPXML.
The chart is automatically updated every 30 seconds.
This works perfectly in Firefox but in Internet Explorer it never
updates
Here is my script, hope this can help:
mx:Script
![CDATA[
Hi everyone, how can I add the progress loading box when I load a
module? Is it an automated thing with flex or must I code it?
Thanks.
:)
Hi,
I have a Tile in my application:
mx:Tile width=100% height=100% id=tiletest/
I also have a linkbutton that loads moduleloaders in mx:Tile:
mx:LinkButton label=Load click=loadmodule() buttonMode=true/
mx:Script
Hi Tracy, thank you for your quick response.
I'm a little stuck on this one... I can't get it to work...
I'm now able to load a module and unload it. But if I load several
modules, I'm only able to unload the latest one.
When I try unloading the other loaded modules I receive the follow
.
Tracy
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of sailorsea21
Sent: Thursday, October 16, 2008 4:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: sailorsea21 - RemoveChild question.
Hi Tracy
]);
tiletest.removeChild(event.target);
}// onClickUnload
Try this. it is untested.
Tracy
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of sailorsea21
Sent: Friday, October 17, 2008 11:45 AM
To: flexcoders
]
at content_module_template_blank/unloadclick()
[C:\Inetpub\wwwroot\LWY\UI\UI Score\UI Score 004
\src\content_module_template_blank.mxml:39]
Thanks.
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message -
From: sailorsea21 [EMAIL PROTECTED]
To: flexcoders
to keep references to the Vbox instead, and remove
that.
Tracy
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of sailorsea21
Sent: Friday, October 17, 2008 3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of sailorsea21
Sent: Friday, October 17, 2008 3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: sailorsea21 - RemoveChild question.
Thanks Paul, that fixed
.
You now need to keep references to the Vbox instead, and remove
that.
Tracy
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of sailorsea21
Sent: Friday, October 17, 2008 3:21 PM
To: flexcoders@yahoogroups.com
Subject
Hi Tracy,
These are the errors I received in the debug:
_aChildren[iIndexClicked] = errors during evaluation
No such variable: undefined
but the _aChildren variable is set as follows:
private var _aChildren:Array=[];
and the iIndexClicked variable is set as
I got it working! Thanks Tracy.
I removed the following line:
modulestile.removeChild(DisplayObject(event.target));
I removed the following id:
main_vbox.id = String(NewVbox);
and assigned it to the unload button
Thanks for all your help :)
--- In flexcoders@yahoogroups.com, Tracy Spratt
Hey everyone,
I populate my chart from a MySQL database.
My php script retrieves the data and then converts it into XML for my
flex chart.
I needed to have the chart refreshed every 30sec without refreshing
the entire page.
I got a script working perfectly for Firefox.
Every 30sec the chart
I'm using POST and a unique string for the url. See below.
[Bindable]
private var HTTPService_url:String = company.php?ForceIEReloadms= +
new Date().getTime();
mx:HTTPService url={HTTPService_url} method=POST id=data
resultFormat=e4x result=xmlResultHandler(event);
This worked! Thank you very much. :)
-David
--- In flexcoders@yahoogroups.com, SAAGAR SHETTY
[EMAIL PROTECTED] wrote:
Hi,
Since you are using
private var HTTPService_ url:String = company.php? ForceIEReload
ms=
+
new Date().getTime( );
at the start of your code, it is being
Hey everyone, I have a value of 3 stored in a MySQL database.
I call this value and import it in flex via HTTPService (PHP XML):
mx:HTTPService url=value.php method=POST id=rate
useProxy=false result=getRate(event)/
I now have a timer:
var myTimer:Timer = new Timer(3);
Can I
that the variable is getting populated
with the correct value and that the timer is being created after the
getRate function completes.
-Mike Chabot
On Mon, Oct 27, 2008 at 4:11 PM, sailorsea21 [EMAIL PROTECTED]
wrote:
Hey everyone, I have a value of 3 stored in a MySQL database.
I call
Hi everyone,
I have an HTTPService that I load in a module. When I unload the module
the HTTPService keeps working...
This is my HTTPService:
mx:HTTPService url=test.php method=POST id=rate useProxy=false
result=getRate(event) fault=FaultHandler() showBusyCursor=true/
I start my HTTPService
It doesn't seem to work... When I try to reload my module and re-
establish my HTTPService, it never connects... ?
The cursor is always busy...
Thanks.
--- In flexcoders@yahoogroups.com, florian.salihovic
[EMAIL PROTECTED] wrote:
How about the cancel method of HTTPService?
Best regards.
Hi everyone, I have the following timer:
private function initTimer():void {
var myTimer:Timer = new Timer(3);
myTimer.addEventListener(TimerEvent.TIMER, updateData);
myTimer.start();
}
How can I stop the following timer?
Can it be stopped using another function?
Thanks.
-David
Is the reference global?
My reference myTimer cannot be access from another function...
Can you clarify? Thanks.
--- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED]
wrote:
The target property in the TimerEvent when it fires contains a
reference
to the Timer Object that you
Hello everyone,
How can I add the % symbol on my vertical axis after my value?
mx:LinearAxis id=percent interval=10/
mx:LineSeries verticalAxis={percent} yField=test
showDataEffect=interpolate/
Thanks
-David
Hi everyone, is it possible to display all my series in my chart but
not in my legend?
Thanks.
Hi everyone,
I have a multiple series graph: ColumnSeries and LineSeries.
How can I modify the value displayed in my ColumnSeries datatip?
The value is a numeric value like 20465.
I would like to apply a numberFormatter to the value displayed in the
ColumnSeries datatip without affecting the
Hello everyone,
I have several panels. They each have a print and a save button.
Is it possible to have only one function to target the panel from the
buttons?
Here's my code:
private function print(event:MouseEvent):void
{
var Printbutton:FlexPrintJob = new FlexPrintJob();
var
.
-David
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, sailorsea21 sailorsea21@
wrote:
Hi everyone,
I have a multiple series graph: ColumnSeries and LineSeries.
How can I modify the value displayed in my ColumnSeries datatip?
The value
Hi everyone, I have 2 HTTPServices that populate my array:
[Bindable]
public var ArrayStats:ArrayCollection = new ArrayCollection;
[Bindable]
private var XMLStats:XML;
private function get(event:ResultEvent):void
{
XMLStats = event.result as XML;
for each(var ourxml:XML in XMLStats.elements() )
} else {
...your lineSeries code here
}
-Eddie
--- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
--- In flexcoders@yahoogroups.com, sailorsea21 sailorsea21@
wrote:
Hi Amy,
My graph is a multiple series (Column and Line).
I successfully modified the column series
Hi everyone, when I add a showDataEffect on my LineSeries, my
itemRenderer on my LineSeries is no longer visible.
Here's my code:
mx:SeriesInterpolate id=seriesInterpolate duration=1000 /
mx:LineSeries showDataEffect={seriesInterpolate}
itemRenderer=mx.charts.renderers.BoxItemRenderer
Hello everyone,
if I have 2 panels, each with their print buttons, can I simply have
1 function for both buttons? This way, if I have 15 panels, I can
only use one function for all the print buttons instead of 15...
This is my simplified script:
private function print(event:MouseEvent):void
{
Hi Gregor,
are there any examples? How can I go about it?
Thanks again.
--- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED]
wrote:
yes
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London
Printbutton. addObject(event.Target. ???);
How do I target the panels?
I would like each button to target their panel using the same
function...
Thanks.
private function print(event: MouseEvent) :void
{
var Printbutton: FlexPrintJob = new FlexPrintJob( );
var printConfirmed: Boolean =
This worked! Thanks again :)
--- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED]
wrote:
Something like...
((Its been a while since I looked at the printing stuff, but this
should
give you a head start))
private function print(comp: UIComponent) :void
{
var
Hi everyone, I have a ColumnChart with 2 ColumnSeries and 2
LineSeries.
My LineSeries look like this:
mx:LineSeries itemRenderer=mx.charts.renderers.CircleItemRenderer
yField=test/
Everything works ok until I add an Interpolate effect to my 4 series.
My LineSeries now look like this:
Is there a way to simplify the script below without using the if /
else if?
How can I directly access the yField data?
If I type: value = event.item.yField; I get nothing insead of the
data in my xml...
private function myDataTipFunction(event:HitData):String
{
var value:String;
Hi everyone, how can I get my CircleItemRenderer to work with my
interpolate on a LineSeries??? If I remove the Interpolate, the
ItemRenderer works fine but when I add the Interpolate, the
itemRenderer disapears???
Do I need to import anything to make this work??? (import mx.charts...)
This
Hi everyone, I have a button which renders my component to JPG.
How can I attach a progress bar to show the progress of the rendering?
mx:Button label=render click=renderasJPEG()/
public function renderasJPEG():void
{
convertToImage(component001, new JPEGEncoder(100));
Hi everyone, I have a button which renders my component to JPG.
How can I attach a progress bar to show the progress of the rendering?
mx:Button label=render click=renderasJPEG ()/
public function renderasJPEG( ):void
{
convertToImage( component001, new JPEGEncoder( 100));
}
private function
Hi everyone, why are my .as files being excluded when I build my
project?
Thanks.
I'm working with Flex Buildre 3.
All my .as files are in a folder called as.
I link to them as follows:
mx:Script source=as/myfile.as/
Here is the file:
?xml version=1.0 encoding=UTF-8?
actionScriptProperties mainApplicationPath=uiscores.mxml
version=3
compiler
Hi Tracy, I innitially had all my actionscript embedded in my mxml.
I decided to clean up the file and put the actionscript in an .as
file in a folder called as.
After I build my application, the as folder and the .as files are
not copied in my bin-debug folder therefore when I run the app, it
Thanks Tracy, the problem was not my .as file...
For some reason, ie was not showing me any errors, the app was simply
not working so I figured that it was not loading my .as files...
I tested in firefox and received an error. I was able to fix the bug.
Thanks for the help! :)
--- In
Hi everyone, I think I'm having some issues with memory leaks.
The memory of my Cumulative Memory and of my Memory keep increasing.
When I unload modules, the memory doesn't drop and if I reload the
modules, the memory keeps climbing...
When I use the import command (ie:import
Hi everyone, how can I place my label on my column chart series
vertically?
Thanks!
-David
I was able to set my column labels vertically but now my vertical axis
labels disappeared... How can I fix this issue?
Thanks.
Hi everyone, I'm actually talking about the labels for my
ColumnSeries.
I got something visually working but it doesn't always display the
correct data. The data in my Column DataTips are precise but the data
from my ColumnSeries Labels aren't always precise
This is what I did:
On my
Hey everyone, I can't get my ColumnSeries labels to display the correct
data...
My DataTips always display the correct data but some labels in my
ColumnSeries are (at times or always) wrong...
Can anyone help me out with this?
Thanks.
-David
Hi everyone, can I use a nested XML element as a dataprovider for my
pie chart?
I have the following XML file:
?xml version='1.0' encoding='UTF-8' ?
data
result
test001464/test001
test002425/test002
test00326/test003
test00463/test004
test0054573/test005
subresult
Hi everyone, can I use a nested XML node as a dataprovider for my
pie chart?
I have the following XML file:
?xml version='1.0' encoding='UTF- 8' ?
data
result
test001464 /test001
test002425 /test002
test00326 /test003
test00463 /test004
test0054573 /test005
subresult
answerYes /answer
Hi everyone, How can I force the labels on my ColumSeries to always
remain vertical? At the moment, if the labels are short enough, they
will remain horizontal.
This is what I have in my code:
mx:ColumnChart showLabelVertically=true ...
mx:ColumnSeries labelPosition=outside ...
This is what I
Is there a way to include MXML inside another MXML like PHP include ?
Thanks.
www.xoriant.com
From: sailorsea21 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 28 November, 2008 7:56:30 PM
Subject: [flexcoders] Is there a way to include MXML inside another
MXML like PHP include ?
Is there a way to include MXML
Hi everyone, I would like to clean up my main mxml file since it's
getting farely big. Is there an include command that will allow me to
split up my MXML code in several MXML files. Something like the PHP
INCLUDE command?
Thanks.
Hi everyone, is it possible to export to Excel?
If I have a chart or a datagrid, is it possible to export it to
Microsoft Excel?
Thanks.
-David.
Hi everyone, how can I display the ID of my HTTPService in my
FaultEvent? The following script doesn't work and I can't understand
why.
private function get_fault(event:FaultEvent):void
{
mx.controls.Alert.show(event.currentTarget.id + .,
event.fault.faultString + :);
Hi everyone, I have a script that copies data from a datagrid to a
clipboard and I can then paste it in Excel. How can I modify this
script if I would like to copy data from 2 or more datagrids???
Here's the script:
mx:Button label=Copy It click=copyDataGrid(thedataGrid)/
public function
Hi everyone, I created an animated pie chart that is divided into 3
segments.
mx:PieChart dataProvider={test}
mx:series
mx:PieSeries labelPosition=outside nameField=name
field=field
mx:showDataEffect
mx:SeriesInterpolate/
/mx:showDataEffect
/mx:PieSeries
Hi everyone, I created an animated pie chart that is divided into 3
segments.
mx:PieChart dataProvider= {test}
mx:series
mx:PieSeries labelPosition= outside nameField=name
field=field
mx:showDataEffect
mx:SeriesInterpola te/
/mx:showDataEffect
/mx:PieSeries
/mx:series
/mx:PieChart
The pie
Hi everyone, is there a way to force a canvas to rerender/refresh?
Thanks.
David
Hi everyone, I have the following:
mx:XML id=testID format=e4x source=xml/test.xml/
mx:Text text={testID.result.(@now=='today').date}/
What var type can I use for testID.result.(@now=='today') to simply
my text string?
I would like to have the following:
[Bindable]
public var xmlvar:String =
Hi everyone, how can I switch my cursor to a hand pointer when it goes
over the accordion header?
Thanks.
-David.
I loaded the following xml as an ArrayCollection.
data
result id=1
datetoday/date
yes13154/yes
no654321/no
/result
result id=1
dateyesterday/date
yes21354/yes
no5468432/no
/result
result id=2
datetoday/date
yes2665/yes
I have a series of 3 linkButtons.
I am able to switch the styleName of a linkButton when I click on it
as follows:
[Bindable]
private var linkButton:String = 'linkButton';
[Bindable]
private var linkButtonOff:String = 'linkButtonOff';
mx:LinkButton id=test001 label=001 styleName={linkButton}
Hi everyone, when I create my layout with mxml components, my layout is
dynamic. If I resize my browser window, my components are also resized.
How can I achieve this in actionscript using addChild???
var Layout:Canvas = new Canvas();
graphLayout.width=testlayout.width/2;
Hi everyone,
how can I format the text in my custom labelFunction (bold, center, color...)
CategoryAxis: labelFunction=test_labelFunc.
private function
test_labelFunc(item:String,previousItem:Object,axis:CategoryAxis,labelItem:XML):String
{
var labelArray:Array = item.split('?');
return
Hi everyone, I have the folowing script that adds the % symbol:
public function dataGridPercent(item:Object, column:DataGridColumn):String
{
var str:String = item[column.dataField];
return str + %;
}
This works fine but it breaks my export to excel script. I'm thinking because
Hi everyone,
I have the following script:
var columnChart:ColumnChart = new ColumnChart();
var axisVRenderer:AxisRenderer = new AxisRenderer();
axisVRenderer.placement = left;
axisVRenderer.axis = int_20;
Hi everyone, I'm trying to set a SeriesInterpolate for my ColumnSeries, this is
my code:
var columnChart:ColumnChart = new ColumnChart();
(...)
var action:SeriesInterpolate= new SeriesInterpolate();
action.duration = 1000;
action.minimumElementDuration =
MXML:
mx:SeriesInterpolate id=action duration=1000 minimumElementDuration=200/
ACTIONSCRIPT:
var pie:PieSeries = new PieSeries();
pie.setStyle(showDataEffect,action);
Does anyone know why the following doesn't animate my chart? Thanks.
Hi everyone, with a ColumnChart, I can set my custom Legend name by setting the
displayName attribute in my ColumnSeries.
How can I set a custom name to my PieChart Legend Label??
Thanks.
Hi everyone, How can I call a function from a class?
// MAIN FILE
import test.layout;
private function callClassFunction():void
{
test.layout_QT.traceTest();
}
// CLASS FILE layout.as
package test
{
public class layout
{
public function
Hi everyone, is it possible to include an .as file in actionscript within a
function but not have the included .as be restricted within the function?
private function loaded():void
{
include axis.as;
}
Above, the include file will only apply to the function. How can I include a
file to
Hi everyone, is it possible to do something similar to this on the MXML file:
include this[parentApplication.filename + .as];
I want to dynamically include an .as file depending on what is received from
my AMFPHP object...
If this is not possible, is there a simpler way to accomplish this?
Hi everyone,
how can I have this following class return me an ArrayCollection whenever I
call it
[Bindable]
public class Services
{
public var serviceArray:ArrayCollection;
public var serviceXML:XML;
public function getServices():void
{
var
Just wanted to wish everyone a HAPPY EASTER !!! :)
Hi everyone,
How can I create an event that calls a function once an ArrayCollection is
filled?
This is what I'm using at the moment but I would like to avoid setTimeout:
public function checkArrayCollection():void
{
if(myArrayCollection)
{
}
else
{
Hi everyone, I need to set a label...
The actual label is in a ArrayCollection.
I can access is like this:
parentApplication.MyLabelArray.getItemAt(0).label001
or
parentApplication.MyLabelArray.getItemAt(0).label002
or
parentApplication.MyLabelArray.getItemAt(0).label003
and so on...
Is it
Hi everyone, if I have an array as
var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);
Is there a function that will return me the smallest value within that array?
Thanks.
-David
Hi everyone, I have a question on viewstacks.
I have my viewstack created on MXML with the main canvas also created in MXML.
something like:
mx:Viewstack id='myViewstack' creationPolicy='all'
initialize='getOtherCanvases()'
mx:Canvas id='mainCanvas'/
/mx:Viewstack
At initialize I call
Hi everyone, I have a BarChart with the following AxisRenderer.
I am unable to change the fontsize of my label
and my label does not display fully, it is shorten with '...'.
Thanks
barChart.verticalAxis= axisV;
var axisVRenderer:AxisRenderer = new AxisRenderer();
Hi everyone, is it possible to pass a variable when I call a class???
This is what I'm doing:
bar.setStyle('itemRenderer', new ClassFactory(BarColorRenderer));
My class is 'BarColorRenderer' and I would like to also pass it a variable. Is
it possible?
This is my class:
public class
Hi everyone, is it possible to create a 4 Axis Plot Chart forming a + ?
Left to Center: 0 - 50
Center to Right: 50 - 100
Bottom to Center: -100 - 0
Center to Top: 0 - 100
Thanks.
Hi everyone, I'm having a problem with sorting columns in a datagrid when using
itemRenderer.
Without the itemRenderer, everything works fine but when I use an itemRenderer,
the column with the itemRenderer doesn't sort, it simply rotates the rows of
that column
dgColumn.itemRenderer =
Hi everyone, how can I force a ColumnSeries label to always display vertically?
Thanks.
-David
Hey everyone, what class should I extend to manipulate the label inside my
ColumnSeries ???
I would like to force the labels in my ColumnSeries to always display
vertically and if there isn't enough room inside the column to automatically
display outside the column...
Thanks guys!
-David
Does anyone know why I get the following error when I CTRL-CLICK on a chart
Class???
Source could not be found for mx.charts.series.ColumnSeries in
C:\ProgramFiles\Adobe\Flex Builder
3\sdks\3.2.0\frameworks\libs\datavisualization.swc.
I'm using Adobe Flex Builder 3.0 (build 3.0.2.214193)
???
Hi everyone, is it possible to create a class which extends ColumnSeries to
force all the labels in my ColumnChart to rotate vertically?
I am unable to accomplish this...
Any thoughts or ideas???
Thanks everyone.
92 matches
Mail list logo