Try this:
package com.whatever.anotherwhatever.gradientbox
{
import mx.containers.Box;
[Style(name=fillColors, type=Array, arrayType=Number,
format=Color, inherit=no)]
public class GradientBox extends Box
{
import flash.display.*;
Hi,
I would like to know if it possible to remove the Arrow Button from
ComboBox in Flex1.5.If anybody has a clue please reply.
Thanks.
Hi Valdhor,
Thank you for your answer but this sample shows clasical way that I
used in php.
every class that you use is included in index.php since in flex you
dont have index.php I shoul be able to create inheritence between
classes without put includes in beginin of every class page. I hope
maybe I should get some idea from
SuperTabNavigator(flexlib/dougmccune)
Yeah, I forgot about that.
There are probably 20 different ways you could implement something like
this. From my experience you want to start out thinking abstraction and not
program to much into your views.
Mike
On Thu, Oct 9, 2008 at 7:16 AM, nathanleewei [EMAIL PROTECTED] wrote:
maybe I
Hi. I'm reading a custom properties.xml file into a Flex app but it
gives an error when I try to set an HTTPService's url to a value from
that file. Here's the code that fetches the XML file,
private var servicePropReader:HTTPService = new HTTPService();
private function getPropertiesXML():void
@Josh
Well buddy, this dads gotta make money for the little people in his house
but, since you are one of the groupies around here, I could use some beta
testers and then flip you it for free (for your time ;-)
@Tim
Thanks, and these frameworks were designed with love. If you look at my
blog, it
Hi All,
I have a problem which I am trying to solve since days but unfortunately
without success [:(] .
Here is the story: I have a TextArea component where I set the htmlText
property equal to a simple html with an img tag pointing to an
external swf file. The swf file is loaded in the
The application and the module are different objects, you can't access the
variables of one object from the other one without referencing the first one
some how!
It's better to use the ResourceManager to handle the different languages.
When you get the strings from the db, just set them in the
I kept getting errors in new projects that Delivery is in doubt.
Older projects using the exact same code would work. Then it got
screwier. Code in old projects would start giving the same error.
I have multiple calls to different services and some would work and
others wouldn't. Then suddenly,
Hello,
I am trying to drag an item from a DataGrid onto a TabBar, which eventually is
supposed
to cause changes in the original datagrid.
In order to implement this feature, I have manually enabled the dragDrop and
dragEnter
methods for the TabBar. On the application, I can see successfully
For prosperity I added this to the discussion. (I'm not crazy, someone else
tried!)
Just saw this
http://www.richinternet.de/blog/index.cfm?mode=entryentry=E0626A2C-AD30-2D81-D6A356949044893B
[...]So in the end I created a simple prototype that is actually capable of
loading a single SWF file at
On Thursday 09 Oct 2008, Abdul Razak PM wrote:
Please provide some links to study more about it.
Is Google and Adobe's docs site broken ?
Also What's the
possibility of Hacking our code if we didn't make it secure?
Threat assessment is a whole skill into itself, you'd have to explain a lot
I don't know if there's a way to access it (probably it's not even
initialized at that point), but even if you could, this would make your
preloader too heavy I think. I would put static text in the preloader and
display it depending on the user's preferred language. I don't know how you
detect
I know its not through HTTPServices..
We were using SabreAMF when we were using PHP for the data... but we
have changed to RoR, does anyone know what the best way to get data is?
Tracy
The ComboBox dataProvider is set from a RemoteObject call that returns
an array of strings that are the unique Platforms in the database.
eg. SELECT Platform FROM theDB WHERE Platform IS NOT NULL ORDER BY
Platform
while ($row = fetchAssoc())
{$platformsArray[] = $row['Platform']}
For something that won't work, it works extemely well.
--- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote:
Nope, this won't work.
Next call creates new instances which don't correspond to the
instances from the first call.
You have to loop through the dataProvider,
I've figured out what's going on. The HTTPService that opens the XML
property file wasn't done before the other HTTPService was called,
referring to values that didn't exist yet. I was doing the
Alert.show() from the Result handler of the property XML file's
HTTPService, so of course it had a
I'd first give the WindowShade (posted in this thread already) - if you
still want to try this you can use the includeInLayout visible
properties (already mentioned) but in order to do that - you'd need to
set accordion.selectedIndex to accordion.length-1 - which opens the
last child.
This works because strings are compared by value. It wouldn't work for other
objects, which are compared by reference!
var s1:String = My String;
var s2:String = My String;
s1 == s2 returns true, this will work!
var l1:Label = new Label();
l1.text = My String;
var l2:Label = new Label();
Hello everyone,
I'm a longtime Flash developer tackling his first Flex project.
The layout I'm implementing specifies two-line tab labels for the
TabNavigator, which doesn't seem to be supported by Flex per default.
I'm a bit confused as to how I would approach changing the
TabNavigator's tab
Thanks for your suggestion.
I have already browsed the source code of flexlib-MDI and
idw(infonode.net). And I designed the structure according to idw:
DockingWindow(abstract class in JAVA): Base class for all types of
docking windows.
View: content component and some buttons.
RootWindow:
PureMVC - MultiCore is your answer :)
http://www.nutrixinteractive.com/blog/?p=136
http://trac.puremvc.org/PureMVC_AS3_MultiCore
Simon
On 9 Oct 2008, at 02:26, Kyle wrote:
I have been playing aroung with PureMVC a bit lately and the part that
I still get a bit confused on is how to use the
I answered the same question last week. The response was...
Yes, but it's convoluted! (Please, if there is an easier way to do
this,
I'd be interested!)
TabNavigator has a TabBar, which uses the Tab class to create its
navigation items.
You'd have to subclass Tab to create a version
Hi,
I have written a custom control(ASCX component developed in C# and
.NET) to display flex charts through web-service.
For this, i have embeded a .swf file in the custom control, that
creates charts.
Now I am calling this control in my master page using LoadControl
which finally gets added to
Hi,
I am extending the Flex tooltips to make them more powerful. Right now
I need that the tooltip can access the component that is responsible
for making it appear, but it seems it hasn't a reference to that component
Any suggestion?
Thanks!,
João Saleiro
Hi all,
I use the popUpManager to show a TitleWindow. I want it modal, but exlude
the component from where I create the popUp. The result should be, that this
one component and the titleWindow can be clicked on or interacted with and
all other components should not react to user interaction.
Hello All
I'm trying to create a datagrid from an arraycollection using action
script. This arraycollection is sent by a server without any extra
information of its contents.
My problem is how do i create the datagrid columns by inspecting the
arraycollection? How do i know each column
When expanding/collapsing a Tree branch, I notice that the Tree does not gain
focus. Is this what a user would normally expect?
--
View this message in context:
http://www.nabble.com/Expanding-collapsing-branch-on-Tree-does-not-give-focus-to-Tree-tp19895221p19895221.html
Sent from the
Ok, I can answer my own question now...
On the underlying textfield component of the textarea, set the
useRichTextClipboard property to false.
Mark Carter wrote:
I should have mentioned, this is within the same flex app.
Therefore, I suppose I don't need to use the System clipboard at
Are you implementing this in AMFPHP? The reason why I'm asking, is
because I came across a post yesterday that said something about
AMFPHP taking over / managing all the headers to and from the client.
I can't remember he details, but that was the gist of it.
So, came up with a more elegant (I
Hi,As I yesterday mentioned we started some app to write in
flex+amfphp one thing that we need to do is to seperate appliacation
in modules. As this application needs to be multilingual I got all
content from database in one ArrayCollection and Bind every part with
rigth object. but here some
Wow THANK YOU SHAUN FROM DOWN UNDER !
For anyone dealing with the Combobox save issue
Here is an example of a great solution from someone whom I really owe.
thank you Shaun for solving this for me!
The App is here
http://www.archaeolibrary.com/Gezer/Staff.html
The View source is here.
Hello,
I am trying to convert an existing Flex/AMFPHP app to Cairngorm but am
having trouble returning value objects from PHP.
public function login($userVO)
{
$user = new UserVO();
// yada yada yada, user authenticated, logged and full details
received
OK, this is a small example:
===
The MySQL Dump of the database:
/*Table structure for table `MenuItemsTesting` */
DROP TABLE IF EXISTS `MenuItemsTesting`;
CREATE TABLE `MenuItemsTesting` (
`ID` int(10) unsigned NOT NULL
Does the UserVO constructor require arguments? If it does can you
set defaults?
--- In flexcoders@yahoogroups.com, creativepragmatic
[EMAIL PROTECTED] wrote:
Hello,
I am trying to convert an existing Flex/AMFPHP app to Cairngorm but
am
having trouble returning value objects from PHP.
Think of the include directives as the PHP way of using import
directives. In Flex, if you want to inherit from another class you
import that class. In PHP, if you want to inherit from another class
you include that class.
Maybe I don't understand what you want here. Could you try putting it
into
No, this is not implemented with AMFPHP.
Basically, I create a link Export to Excel with a click event that
does a navigateToURL(exportDataURL,_top). The exportDataURL is the
URL of the PHP script that generates the spreadsheet (As I showed in
my last post).
So, there are no files to
Have you looked at WebORb for Ruby on Rails?
http://www.themidnightcoders.com/weborb/rubyonrails/
--- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote:
I know its not through HTTPServices..
We were using SabreAMF when we were using PHP for the data... but we
have changed
It does. Here is the class.
[RemoteClass(alias=com.xtremesecurity.security.vo.UserVO)]
[Bindable]
public class UserVO implements ValueObject
{
public var id:int;
public var email:String;
public var username:String;
I have 5 different data grids with rows of data. (Each data grid has 2
columns column1 with string values and column2 with integer values)
I drag one or more row (from each data grid) in other data grid(i.e)
6th data grid.
Now i want to add the column2 values (integer ones) in the 6th
datagrid.
I made a small change in a project and now FlexBuilder will not export a
release build. It fails with An internal build error has occured and says I
can right click for more information. Right clicking only yields a 'copy'
option. There are no errors or warnings displayed in the source view and
Can you either get rid of the arguments in the constructor or set
defaults ( probably to empty strings )?
--- In flexcoders@yahoogroups.com, creativepragmatic
[EMAIL PROTECTED] wrote:
It does. Here is the class.
[RemoteClass(alias=com.xtremesecurity.security.vo.UserVO)]
Of course I understand that. You would need to override the = method
to do a deep comparison for custom objects.
So, to boil down this whole thread:
If you have simple strings in your arrayCollection, you can use:
myComboBox.selectedItem = mySimpleString;
If you have objects in your
I have a TileList for which I am using an itemRenderer to populate.
The itemRenderer consists of an image and label components. The items
for the TileList are the results of an HTTPService call.
What is the best way to incorporate a preloader until the TileList is
completely populated with my
Hrmmm... thanks for the picture of the bike.
For total spanking newbies reading this:
See Amy's code and also this simplified version
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_intro_7.html
stuff I didn't get that tripped me up-
1) You don't have to use the mx:ColumnChart at all - you can do
everything in AS instead.
I have a large amount of data to pass to a servlet. I JSP I could
access the HTTP Sessioin and store an object, access the object from
another jsp or servlet. I want to do the same in Flex. Can this be
done?
Thanks for the help
Have you tried Project - Clean...?
-TH
--- In flexcoders@yahoogroups.com, Cordova Aaron [EMAIL PROTECTED] wrote:
I made a small change in a project and now FlexBuilder will not export
a release build. It fails with An internal build error has occured and
says I can right click for more
I have the following quandary:
I have a container which most of the time resizes to what it's
holding. Fine.
But sometimes I need it to be an explicit height- so i set the height-
also fine.
Then I need to set it back to resize to it's content. Problem. Setting
height to null doesn't work. How
Hello all,
where can I find some good AMHPHP tutorials.
I will prefer some video tutorials. I tried
on tv.adobe.com. But they do not have any.
Best regards..
The following sample code has a simple Label as HeaderRenderer.
1. The background sort icon on AdvDataGridColumn is gone.
2. Default Column Sorting is lost (when sortExpertMode=false)
Any help on how to retain the above functionailty and yet use
my own HeaderRenderer?
?xml version=1.0
UniqueCategoryAxis -- CategoryAxis with unique values
import mx.charts.CategoryAxis;
import mx.collections.ListCollectionView;
import mx.collections.Sort;
import mx.collections.SortField;
public class UniqueCategoryAxis extends CategoryAxis {
I am building a common library to shre it between diffrent projects.
First of all it will be used for data access. I am using HTTPService
for all my data needs. Data retrival is a generic operaton, but data
processing is not. I need to provide a custom callback function for
each
I'm trying to do a quick and dirty extension of LegendItem to fix the
fact that, since the UITextFields don't wordwrap, they don't respect
the 100% width given to them by Legend. When I try to override
createChildren to get my fingers on the UITextField, I get a compiler
error 1150: The
Thanks very much Tracy, that's exactly what I was missing. For the
record, here's the label function:
package com.myco.components {
import mx.controls.dataGridClasses.DataGridColumn;
import mx.formatters.DateFormatter;
public class DateRenderer {
private var
I have a combobox that is unpopulated on open but is editable. As the
user types, I check the length of the text field and at a certain
point I fire off a RemoteObject call to the server. This returns a
list of items that match what the user enters. Great, this bit works.
Now, I want to populate
Is that something I need to take a look into?
Program works fine after all.
Forgot to ask: Also, how do I get the combobox to popup its list when
the combobox populates with the returned items.
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
I have a combobox that is unpopulated on open but is editable. As the
user types, I check the length of the
Hi,
You have a brace mismatch in your class/package. :)
Mike
On Thu, Oct 9, 2008 at 4:59 PM, Amy [EMAIL PROTECTED] wrote:
I'm trying to do a quick and dirty extension of LegendItem to fix the
fact that, since the UITextFields don't wordwrap, they don't respect
the 100% width given to them
This means that you have forgotten to set a variable as [Bindable] but
have used it in a binding expression eg. text={myVariable}
--- In flexcoders@yahoogroups.com, markgoldin_2000
[EMAIL PROTECTED] wrote:
Is that something I need to take a look into?
Program works fine after all.
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Hi,
You have a brace mismatch in your class/package. :)
I think I just picked that up accidentally in copy and paste, as I
already checked that carefully. But I certainly will go back and
recheck. Thanks :-)
O, yeah, that's right. Thanks
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
This means that you have forgotten to set a variable as [Bindable] but
have used it in a binding expression eg. text={myVariable}
--- In flexcoders@yahoogroups.com, markgoldin_2000
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Hi,
You have a brace mismatch in your class/package. :)
Still trying to troubleshoot this. Even just this throws the same
error:
package com.magnoliamultimedia.views
{
import flash.display.DisplayObject;
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
OK, this is a small example:
Thanks :-). This project is on hold right now, but I will be able to
use this soon.
--- In flexcoders@yahoogroups.com, john fisher [EMAIL PROTECTED] wrote:
For total spanking newbies reading this:
See Amy's code and also this simplified version
http://livedocs.adobe.com/flex/3/html/help.html?
content=charts_intro_7.html
stuff I didn't get that tripped me up-
1) You
Hi,
You Do have a mismatch brace
package com.magnoliamultimedia.views
{
import flash.display.DisplayObject;
import mx.charts.LegendItem;
import mx.core.UITextField;
public class WrappingLegendItem extends LegendItem
{
public function WrappingLegendItem()
{
super();
}
} --- WRONG
I've built a flex gui that I want to display html files (or least that
was my original thought). I tried doing some of the IFrame
techniques but it doesn't seem to work on a mac.
Anyway, the end-goal is for creating a help system. When certain
links are clicked, I just want to display text
I thought I'd try a quick proof of concept of runtime localization, without
resource bundles, and building with FlexBuilder only.
I have en_US and ja_JP folders with a bundle called text.properties. The
Japanese version has a subset of the strings.
Almost all the code is in a library project,
Did you compile both locales by specifying the compilation option
-locale=en_US,ja_JP? Did you put someFolder/{locale} on your source path?
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard
Rodseth
Sent: Thursday, October 09, 2008 4:08 PM
To:
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Hi,
You Do have a mismatch brace
package com.magnoliamultimedia.views
{
import flash.display.DisplayObject;
import mx.charts.LegendItem;
import mx.core.UITextField;
public class WrappingLegendItem
Hi Gordon
I do now. I also had to have -locale enUS ja_JP (no commas) in both the
library project and the application project (or maybe its just the app).
When I had one locale, I had someFolder/{locale} on the source path (but set
via the panel, not the additional command line arguments). I
--- In flexcoders@yahoogroups.com, Ryan [EMAIL PROTECTED] wrote:
I have the following quandary:
I have a container which most of the time resizes to what it's
holding. Fine.
But sometimes I need it to be an explicit height- so i set the height-
also fine.
Then I need to set it back to
Hi All,
Even after adding my-secure-amf channel to remote-config.xml, our flex
application coludn,t make remote calls.
I am seeing a failover to HTTP from a HTTPS request in the http url log, dont
know why it is failing over to
HTTP://context/messagebroker/amf from
So when I load a wav file, does flash (through flex) first import it
in as mp3 and then play? That could explain the long delay when the
wav files were over the net while almost none when they are a local
file (after taking security sandbox differences into account).
Posted by: Alexander
Here is the exact error message that i am seeing in the server console
secure endpoint /messageborker/secureamf must be contacted via secure protocol
Please help me on this.
Thanks Regards,
Venkat.
- Original Message
From: venkateswarlu naidu [EMAIL PROTECTED]
To:
Thanks for reading.
I'm using an open source video player found
here: http://www.fxcomponents.com/flex-video-player/
http://www.fxcomponents.com/flex-video-player/
The video in this player shows up distorted even though I've verified
that maintainAspectRatio is set to true, the ratio between the
Hello all,
I could use some advice on a Flex design. I am needing to
create a form, a rather lengthy one, using Flex. I was thinking of
starting with a Flex Component, in particular a Custom component based
on the Form component.
In particular, it will have this:
mx:Form
I sometimes get this when performing a build (not release) but have always
solved the problem by restarting FlexBuilder...
basicasm wrote:
I made a small change in a project and now FlexBuilder will not export a
release build. It fails with An internal build error has occured and
says I
Hi,
I have a 1 row, 6 column tilelist that i want to scroll left and right
via two buttons, but not via the skin (its not appropriate for a bunch
of reasons). What should I be calling from the buttons to scroll the
tilelist forward and backwards through the dataprovider items ?? I
have
Is your apache http server redirecting to http from https?
Ryan Gravener
http://twitter.com/ryangravener
On Thu, Oct 9, 2008 at 11:23 PM, venkateswarlu naidu
[EMAIL PROTECTED] wrote:
Here is the exact error message that i am seeing in the server console
secure endpoint
81 matches
Mail list logo