I've used it with no trouble with svn. Rather than creating a project
that points to an existing svn directory, you may have to create a new
empty project and then import from svn.
--- In flexcoders@yahoogroups.com, discollective [EMAIL PROTECTED]
wrote:
Can anyone tell me if the Flex II
That only happens it you are explicitly setting the scale for the
charts. So if you just let flex adjust the scale to the data you'll
be fine. If you need to control the scale, you'll have to recalc the
max value based on the height of the largest stack.
--- In flexcoders@yahoogroups.com,
I have a photo gallery application. The initial view is of the first
image in each gallery arranged in a grid via a repeater inside a tile
layout. When you click on an image you get another view with a much
larger image that runs as a slide show.
I've got that working fine, but what I'd like
I am finding that ASDoc (2.01) is ignoring bindable properties in mxml
files
public var myProperty:String
gets documented
[Bindable]
public var myBindableProperty:String
does not
set/get pairs are also affected
I just had a discussion this morning about the limits of unit testing
relative to ui issues, so I would definately be interested in a tool
like this
--- In flexcoders@yahoogroups.com, brian.knorr [EMAIL PROTECTED] wrote:
Automating functional tests is critical to the way we develop software
Fabio, great work.
--- In flexcoders@yahoogroups.com, Fabio Terracini [EMAIL PROTECTED] wrote:
Folks,
As my commitment to community I'm releasing, with DClick support, our
Adobe Flex Coding Guidelines, a document about Flex (MXML and
ActionScript) coding conventions that we use on a
I have a column chart with drill down functionality. When you click
on a column, it displays a more detailed chart for that item. The
more detailed chart is in a view stack with the drill down chart so
the main thing I do to get it to display is to change the selected
index of the view stack.
an unfortunate bug. If you set showDataTips to false,
it should clear it immediately.
Ely.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jer_ela
Sent: Thursday, February 15, 2007 11:16 AM
To: flexcoders@yahoogroups.com
Subject
There appears to be a bug with using a showDataEffect with a stacked
column chart.
I have a column chart with a showDataEffect set to SeriesInterpolate.
It works fine with a single data series or if clustered, but if I
changed the type to stacked or 100%, it fails while rendering the
effect.
The following code gets the x and y positions of an image that has
been clicked on that was generated by a repeater. Getting the coords
for a button should be pretty much the same.
stageX and Y are the x and y coords of the mouse position relative to
the application stage. mainCanvas is a
I have a simple flex app: riaction.com that is the website of the
Capital District Flex Developer Network. It works fine for me on
various PCs and browsers, but for at least one user it isn't working
correctly.
What should happen is that when the app launches you get a welcome
message on a dark
::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
This might account for what is happening with your user.
Hope this helps.
Claude
--- In flexcoders@yahoogroups.com, jer_ela gela@ wrote:
I have a simple flex app: riaction.com
You can have multiple modelLocators and frontControlers but only one
serviceLocator. Your use case is one where multiple modelLocators make
sense.
ModelLocators are just a way of making a single instance of the model
data available throughout the application. As long as you understand
that and
this should work
if (node.ItemSource.(hasOwnProperty(Media))
--- In flexcoders@yahoogroups.com, kc7cia [EMAIL PROTECTED] wrote:
Hi,
I was hoping someone could tell me how to check to see if an XML
element exists in AS3. I have an XML structure that looks like this:
ItemSource
In the Creating and extending Flex components manual, the event
metadata tag syntax to be:
[Event(name=eventName, type=package.EventType)]
If I use that syntax with the quotes around the package name within a
metadata tag in and mxml file in FB3, it breaks code hinting. If I
remove the quotes,
Flex requires variables to be declared somewhere in a function, but
doesn't care where it just rolls all variable definitions to the top
of the function, so there is a phantom var val:String; at the top of
the function. At the point where you call validateRequired val
exists, but hasn't had a
This is how to set fills programatically:
fills:Array = [];
var fill:RadialGradient = new RadialGradient();
var entries:Array = [];
entries.push( new GradientEntry(color, ratio, alpha))
entries.push( new GradientEntry(color2, ratio2, alpha2))
//additional entries as needed
fill.entries = entries;
Flex Applications generally have 3 levels of events.
Those you don't care about. You just let the flash player and flex
framework deal with these.
Those that only matter to the current view. Just listen for and
handle these events with addEventListener at the appropriate place in
the view.
I had to do something similar and used an approach that looks
something like this
public function CustomObject(argsObject:Object)
{ for (var arg:String in argsObject)
{ switch (arg)
{ case somePropName:
//code for a property that needs special handling
Binding is designed so that components can react when data changes.
But you don't really care if extLinkURL changes. What you care about
is what its value is when the linkButton is clicked. So what you need
in the click attribute is just a normal function call with a normal
variable as the
var timeLeft:int = 300 - minuteTimer.currentCount;
this method turns seconds into minutes + fractional minutes or hours
plus fractional hours, but doing hours minutes seconds will be the
same idea.
private function formatTime(seconds:int):String
{ var timeLabel:String = seconds.toString()
dataTipFunction is a property of the chart, not the series, so you
will have to have a single function that looks at the hitData to
determine which series the mouse is over. The hitData.element
property will give you access to the properties of the series that the
mouse is over. If you give the
There is no correct way of doing this. However it would make for
better encapsulation if you instead called the getData method in each
component's show method. That way the tabnavigator would need to know
less about its children.
--- In flexcoders@yahoogroups.com, iilsley [EMAIL PROTECTED]
You're stuck with having a single ServiceLocator because of how it is
located, but you can have seperate ModelLocators and FrontControllers
for each module.
The FrontControllers all use the singleton CairngormEventDispathcer so
your event types have to be globally unique even though you are
Flex has a couple of built in methods to do that. The ColorUtil class
has 2 methods adjustBrightness and adjustBrightness2
newColor = ColorUtil.adjustBrightness2(0xffddaa, -25) will reduce the
brightness of the r g and b values by 25% each.
--- In flexcoders@yahoogroups.com, Webdevotion [EMAIL
I think the following will do what what your want
var R:Object = {};
for (var gridRows:int=15; gridRows 2895;gridRows += 20){
var R[gridRows] = (gridRows / 5);
}
you can't dynamically generate var names, but you can dynamically
generate object keys.
since gridRows is a number it can be the
if (property in object)
{ // do stuff with property
}
--- In flexcoders@yahoogroups.com, Clinton D. Judy [EMAIL PROTECTED] wrote:
No other explanation needed, really. How do I see if an object/variable
exists before I test other conditions of it?
Unnecessary explanation: I use two
If you use the square brackets then you don't use the dot so it should be:
dataProvider={chartXML2.lastResult[month].day}
--- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote:
I'm no e4xpert, but
dataProvider={chartXML2.lastResult.[month].day}
should do it.
--
-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jer_ela
Sent: Friday, February 01, 2008 3:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Embedding String Variable in dataprovider name
If you use the square brackets then you don't use the dot so
ActionScript doesn't have multi-dimentional arrays, but you can get
the equivelent by having arrays where each element is and array to
arbitrary depth. Also for associative arrays you should use generic
objects. So you can do the following:
var my3DArray:Object = {}; //this creates a new empty
waring but then the chart itself blows
up saying its getting null objects.
brad
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jer_ela
Sent: Monday, February 04, 2008 4:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re
Take a look at the windowshade component on FlexLib
http://code.google.com/p/flexlib/wiki/ComponentList
--- In flexcoders@yahoogroups.com, YOGESH JADHAV [EMAIL PROTECTED] wrote:
ya, exactly .
Initially i was totally unaware that that flex3 now comes with
accordian source. I searched
What I do is get the url the flex app was loaded from with
application.url, parse out the protocol, serverName and port with
URLUtil, build the gateway url from these and then set the
RemoteObject endpoints to this value.
It seems like kind of a kludge but I haven't found anything cleaner.
---
I had the same thing. I believe it is due to the interpolate effect
not liking stacked or 100% charts. When you change the type, the
effect runs and that is what is blowing up. I had this problem with
both area and column charts. I added code to remove the effect before
changing to a stack or
If have a similar application. For drill downs I just filter the data
without changing the display. To switch between different types of
charts I use viewstacks.
--- In flexcoders@yahoogroups.com, Brad Bueche [EMAIL PROTECTED] wrote:
I'm doing a charting application that allows the user
You can use a regular expression. \b matches the transition between
word and nonword characters. So \bword\b will only match word if it
is a whole word.
--- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED]
wrote:
In FB Ctrl+H does nothing.
Ctrl+Shift+F will open the file
While there are ways to work around nesting to a known depth, it gets
ugly quickly, and nesting to an arbitrary depth is beyond the ability
of regexes to match directly.
What you can do is write a parser that uses regular expression and
additional code to find the substring you are searching for.
There appears to be a bug with the formatter property of
AdvancedDataGridColumn. It seems to display my GMT offset where it
should be displaying the year. A format string of MM/DD/ is
displaying as 03/03/500, while a format string of MM/DD/YY is displaying
as 03/03/0. Using the same
Just build a wrapper component that reverses the order of the
dataprovider before giving it to the chart.
--- In flexcoders@yahoogroups.com, scott.royston [EMAIL PROTECTED]
wrote:
Is there an easy way to get a BarChart to render items from top to
bottom rather than bottom to top? (i.e. the
create an array property textInputs to hold the references to the
dynamically create TextInputs. Then use code like this:
for(var o:uint = 0; o NumText; o++)
{
textInputs[o] = new TextInput();
textInputs[o].width=356,
textInputs[o].text=Text Goes Here;
its not clear where board comes from, but assuming it exists and is an
xml var that has an id attrib one of the following should work
trace(board.attribute(id));
trace([EMAIL PROTECTED]);
--- In flexcoders@yahoogroups.com, Tony Armstrong [EMAIL PROTECTED]
wrote:
Hello all,
I am using an
since the names you are trying to create are just based on the
position in the mData array, why not just stick the assetProxys in an
array with the same index.
var startUpProxies:Array = []
for(var i:Number=0; imData.length; i++){
startUpProxies.push(new AssetProxy( mData[i] ));
}
-- In
you made callID bindable but don't use it in for binding, but you
didn't make callStatus bindable and it needs to be. That's what your
warning is about.
Make your timer a class property, rather than a local var. The local
var should cease to exist as soon as the method finishes.
--- In
I assume that when a new window is opened you have an event that
causes the data it needs to be loaded into the model locator. And you
will probably have a check to see if the data is already loaded so you
don't load it twice.
Just keep track in the model of how many users there are for that
Here is one I have been working on. It serializes the object with AMF
so it only needs one table. Note that your classes need to have a
[RemoteClass] metadata tag ( no alias needed) in order for them to be
deserialized correctly. Note that the static initialize method needs
to be called before
Simpleist case, use extended search in FlexBuilder and search for \n
that will give you number of literal lines of text in your project.
To get a little more complex you can search for \)$|\):\w+$|;$ as a
regex and get most logical lines in .as code. If you consider each
tag to be a line of code
Mike Labriola did a very good in depth presentation on how binding
works at 360 Flex which was recorded and is available online. It runs
about an hour and 20 minutes and is well worth the time if you want to
understand how bindings work.
Diving in the Data Binding Waters with Michael Labriola
try itemClick
--- In flexcoders@yahoogroups.com, markgoldin_2000
[EMAIL PROTECTED] wrote:
I am using Tree control for my navigation needs.
I have implemented a change event handler that would show a form when a
node is clicked. Now I am adding another Tree control that does the
same: show
I'm guessing that these aren't just random values that you want in the
opposite order of how you got them, but are sorted, but in the wrong
direction. If that is the case you can apply a sort to the array
collection that puts them in the order you want them.
--- In flexcoders@yahoogroups.com,
I tried
menuTree.openItems = menuData..node;
but the tree doesn't expand.
What does work for me is
callLater(menuTree.expandChildrenOf, [menuTree.dataProvider[0], true]);
--- In flexcoders@yahoogroups.com, Paul Kukiel [EMAIL PROTECTED] wrote:
I was stuck with this aswell a while ago this
just set the endpoint in your air code
myRemoteObject.endpoint = http://192.168.0.181/flex2gateway;;
--- In flexcoders@yahoogroups.com, markflex2007 markflex2...@...
wrote:
Hi
I am doing an AIR application and the coldfusion server in a network
pc(192.168.0.181).the application need use
That's the default. I'm not sure how or even if you can change it.
It's worked for every CF server I've worked with.
It looked like you were going against a specific server, in which case
see if it works and if so don't worry about cases where it won't.
If you need to be able to talk to
The graphics object for the image or the container it is in, is below
the content so it is hidden behind the image. Stick a display object
such as a sprite on top or it and draw on its graphics object.
--- In flexcoders@yahoogroups.com, christophe_jacquelin
christophe_jacque...@... wrote:
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
If the new rows have a timestamp of when they were added, you can use
the AdvancedDataGrid styleFunction to change the style of a cell based
on that timestamp. Both AdvancedDataGrid and AdvancedDataGridColumn
have the property.
Here is a style function I used that made the text bright red for
It tells you the the serial number is invalid. You'll have to wait for the
public beta release, to get a working FlexBuilder 4 again.
--- In flexcoders@yahoogroups.com, endrone endrone endr...@... wrote:
Hello,
does anyone know what happens when I enter my Flex Builder 3 serial for the
adl, the development runtime for AIR is crashing on me. This seems to be
related to using SQL lite. It had been crashing at one place in the code
intemittently, then was stable for a while. Now it is crashing consistantly at
another place in the code. Changing the sdk from 3.2 to 3.3 didn;t
All of our applications have to run over SSL. On the dev and eval servers we
use internally generated certificates. With firefox once you install the
certificate everything is fine.
But with IE, if you just tell it to proceed to the website, all http calls to
the the server work including
Just have your cfc return the results as a query, or as an array of structs.
The first will be converted into an ArrayCollection of generic objects in Flex,
and the second into an Array of objects. Each of these objects will have a
property for each column in the record.
Flex will be quite
I assume that what you want to do is round to to decimal places.
If all you want to do is display the rounded number, you can use the
NumberFormatter class. This can give you a string representation of the number
rounded as you want it, which is fine for display.
If you need to actually round
You can add line series to an area chart, but you are better off using
a cartesian chart as it doesn't have any functionalities are are chart type
specific that can cause problems. Be aware that if the area series are going
to be stacked, that you need to put them in an AreaSet, or they will
Check out the ImageMap component in FlexLib
http://flexlib.googlecode.com/svn/trunk/docs/flexlib/controls/ImageMap.html
It works the same way in imagemap works in html, and you can use any of the
tools used to define imagemap coords for html, to define the coords. Fireworks
for example.
---
The HTC Hero has a flash player that appears to be version 9. And it does play
some flash content. But it is also unable to play a lot including even a hello
world written in flex.
Is there any documentation available at to what this player does and doesn't
support? Why is it labeled flash
Do you need A class objects (ie ones w/o the C property) in your app?
If not just add the C property to the A class. It should still be converted
correctly.
If you still need the A class, add an exportAsB method to create a B class
equivelent.
--- In flexcoders@yahoogroups.com, bnsmeets
how do I actually get the data back to a caller function?
you can't. The request is async. The caller has long since finished executing
when the result comes back.
Have the resultHandler do whatever needs to be done with the result.
--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@...
ADG columns have a sortCompareFunction property. The function will get 2
objects representing 2 of the datagrid rows. The function decides how to
compare the object for sorting purposes. So whatever data you have that
determines which icon to display can be used to determine how the column
http://mate.asfusion.com/forums/
--- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote:
Is there a board specifically for Mate?
Thanks
Dan
A better workaround is to drag it into gauge and then use move to put it into
controls which will get expanded and you will be able to drag stuff to it
thereafter.
I like the way they roll up the empty packages, as it saves a lot of clicks if
you have a deep package structure. That does
You shouldn't create an instance of the event map for a unit test. There
shouldn't be enough code in your event map to test. It should just wire the
rest of the app together. The rest of the app shouldn't even know it is a mate
app and so should be testable without any need for the event
The flexUnit and fluint projects have merged into FlexUnit4, so which was
better no longer matters. You can get FlexUnit4 at flexunit.org.
--- In flexcoders@yahoogroups.com, Nini7016 Nini7016 nahloulaha...@... wrote:
Hello :)
I 'm currently doing units test for my application
I have found that selecting Include all classes, doesn't actually include all
classes. Selecting Select classes to include in library and then checking
the checkbox next to the src directory seems to work get all the classes
included.
--- In flexcoders@yahoogroups.com, Adnan Doric
I've never tried to display more than 20 or so series, but I do have an app
that has 5692 records with 4 series each for a total of 17076 data points. It
is displayed in a bar chart. Well it isn't actually displayed since that's
about 17 bars per pixel, but the bars are actually there and you
72 matches
Mail list logo