It sounds like you have a complex identity object – i.e. not a set of primitive
properties. Try adding a toString() method in your identity class which
returns a unique string for each instance. I think that we fixed this in 2.6
so that is not necessary (now available on our web site).
Ok, so I guess this is fair enough.
But what happens when you need to know the xmouse and ymouse position during
the drag operation?
Can anyone help out here? There _has_ to be a way to do this.
I need to provide visual feedback in my component that requires knowing the
mouse's
Has java client (thick) for LCDS been tried? Any ideas how can this be
done.
-Shailesh
If you have:
mx:Component id=inlineEditor className=MyClass
mx:Canvas/
/mx:Component
You get a subclass of Canvas named MyClass, and a local public scoped
instance of an IFactory called inlineEditor, right?
-Josh
On Thu, Jul 24, 2008 at 3:36 PM, Alex Harui [EMAIL PROTECTED] wrote:
If
That is basically how it works but only if you have auto-sync enabled=true and
cache-items=true on your destination settings. The auto-sync feature requires
that we maintain at least the identities of all objects managed on every client
so that we know where to push changes. The goal here
Hello People,
Sopra India is looking for keen development professional who are
interested in making a career with the company.
In one of teams at Sopra India we are developing a full-fledged,
browser based Process Modeling tool that uses Flex technologies
extensively.
For that team presently
J I had this issue a few days ago and spent a few hours trying lots of
weird and wonderful ways of trying to figure out where the mouse was,
then within 5 mins of posting to flexcoders (typical really) I
remembered that I could just listen to the drag event (enter / over
should do).
I have created few fonts css and compiled them into swf to load them
at run time.
There is one custom component Card, is placed into a Module and this
Module is loaded by main application.
The Card component contains TextArea, MyTextArea(custom component) and
ComboBox (which display font list).
Thank you very much for this suggestion. I can see it is a much better
approach than all
the others I have tried and failed with. Exactly the kind of answer I hoped to
elicit by
phrasing the question in this way. I will study this technique for my homework
:)
Thanks Amy, I truly
I have a medium size project and am trying to reduce .swf size. There
are several places in my project where I can either 1) put a bunch of
code in a mx:script tag or included .as file or 2) subclass to make
things look cleaner. In some quick tests, it looks like creating a new
class adds ~80
oops. I left our international language class in there. Take out the
ULang jive inside of the headerText.
--- In flexcoders@yahoogroups.com, zyzzx00_99 [EMAIL PROTECTED] wrote:
Hey all. I have a numeric stepper and would like to set the max value
from another data.field. Certainly there
By LCDS, you mean DataService in Java? I haven't heard anyone try
implementing that in Java. I don't think it'll be that easy though
because, first you need to implement all Channels (or at least one
that you'll use in your application) in Java and that by itself is not
trivial. You need to figure
Hey all. I have a numeric stepper and would like to set the max value
from another data.field. Certainly there are dozens of code-around
fixes for problems like these, but it seems like this should work:
(I'm copying and pasting code form a project I'm working on and with
the init function I'm
Hello,
I don't know if this was already discussed so sorry in advance.
After few days of hard debugging, I sadly noted that Flex 3 preloader
is completely broken while using # in the URL.
It doesn't show at all.
Does anyone have any workarounds as preloading 2Mb without preloader
is actually
Hi All,
I am facing an issue of scrollbar in my barchart. If the data grows to
bigger size, the width of the bar starts decreasing. I intend to fix width
of bars and if data grows, scrollbar should appear so that data is readable.
Please let me know how can I do this?
My code:
mx:VBox
I ran into this yesterday and so far have not figured out what's the
problem. So I have this piece of code:
private function foo(value:XMLList):void{
trace(foo);
if (value == null || value.length() == 0)
// a comment line here
// another comment here
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
If you've defined a component via mx:Component, the name is
auto-generated as Josh says, but it generates an IFactory, so you
can
use the factory to get new instances
mx:List id=myList
Hello,
i'm trying to create a custom component which is basically a button
which i can drag, but it also has a child button which, when pressed,
disables dragging but allows the component to be resized.
similar to this:
http://www.aboutflex.net/flex/resizable-panel/
except i'm using a button
Hi all,
I have an automate script that converts a Form to params in both ways:
HTTP or Flex.
So, if you want to pick information from Form to be used in the Flex
application, you simply do var params:Object = form1.getParamObject();
Also, I optimized it to work ok in HTTPServices, do it becomes
I saw that you can turn cache-items to false and it will only store
the IDs in memory, but at the expense of paging, or at least more
efficient paging. Is this true? I thought the docs said that to do
paging it would have to grab all the objects again, then grab the
subset of data you want.
In
Does anyone know of any reason why streaming audio in flex would work in
firefox but not IE.
The sound clips do not play in IE unless the entire file has loaded, but
in firefox it plays immediately?
I'm not using a media server or similar, just loading a music file
through a URLRequest.
I fixed myself.
That was easy... I just need another eye to not do stupid questions and things.
Solution:
var selection:XML = formItem.selectedItem as XML;
params[formItem.id] = (httpFormat)
? (selection.hasOwnProperty('id')
? XML(selection.id).toString()
: XMLList([EMAIL
I have an application that when you click on a button, it loads an image in a
panel. There is a progress bar that shows progress on the image being
loaded. The progress bar works fine when I load the first image but when I
load subsequent images, it still shows the last status of the first
Thanks in advance to anyone who can help me with this.
I have a toggleButton bar with the following CSS definition
ToggleButtonBar{
button-style-name: MenuTab;
}
.MenuTab{
font-family: PowerWindows;
color: #FF;
font-size: 12pt;
Five minutes later I figure this out. ;)
I needed to set the font-weight style.
font-family: PowerWindows;
font-weight: normal;
I would have assumed that normal was the default value but
apparently not.
--- In flexcoders@yahoogroups.com, djepyon [EMAIL PROTECTED] wrote:
progressBar.setProgress( 0, 100 );
--- In flexcoders@yahoogroups.com, gabsaga [EMAIL PROTECTED] wrote:
I have an application that when you click on a button, it loads an
image in a
panel. There is a progress bar that shows progress on the image being
loaded. The progress bar works fine when
Is there a way to bring the first and last data points on a line
chart in from the sides so that the item renderer dots aren't cut in
half?
Thanks;
Amy
i added
this.mouseChildren = true;
and now it works, yay...
--- In flexcoders@yahoogroups.com, dlymbo [EMAIL PROTECTED] wrote:
Hello,
i'm trying to create a custom component which is basically a button
which i can drag, but it also has a child button which, when pressed,
disables
Hello Everyone,
I have a form and I am using a validation script to enable button when
form is filled out.. I need to have 2 buttons activated not just one.
Is it possible to do this, or to classify 2 buttons into one group?
utils:ValidatorForm
id=addEmployeeForm
http://reenie.org/test/ScrubTest3/ScrubTest.html
This flex application has a video which plays an flv file, but the
scrubber, built with an HSlider, does not work.
It does work with other flv files, so what is it about this particular
file that the scrubber doesn't like? Any idea what the
Actually, to my surprize, this example does allow you to move the video,
so it does actually work, however, the bar to indicate progress is a
thick grey line, instead of the usual parallel lines. (usually when that
happens, it won't work at all).
[EMAIL PROTECTED] wrote:
Gee, I hope not. The defaultButton is the button that gets clicked
when you hit Enter. I don't think you want both buttons to fire at the
same time do you?
You might want to have some focusIn logic that switches what the
defaultButton is.
From:
Var a's scope is the whole function, thus the duplicate variable
warning.
However, the assignment is subject to the conditional. If the condition
is not satisfied the assignment does not happen and var a is null.
Tracy
From: flexcoders@yahoogroups.com
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails\
postId=1921productId=2
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetail\
spostId=1921productId=2
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Try it in a small test case and post the whole test case if you still
have a problem.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lynxoid7
Sent: Thursday, July 24, 2008 7:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
You can't add to the class definition of the Canvas at runtime.
ClassFactory has a properties bag where you can have properties slapped
on the new instance, but that's not really a new class definition.
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Maximum is set when the component is created and data isn't valid yet.
It will be later, so binding might pick it up, but binding to functions
could cause the value change to be missed.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
The overhead of classes and methods is currently higher than we like,
and maybe future players (post FP10) will reduce that overhead. In
general, I wouldn't let 80 bytes keep me from using good programming
practices if the entire SWF is going to be 500K or more.
It was a really simple issue: I accidentally deleted the return
statement after the if(), so the next line of code was skipped bc the
if statement evaluated to false:)
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Try it in a small test case and post the whole test
Are you embedding fonts? Or just setting the font family?
What kinds of selectors are you using to tell MyTextArea about its font?
What does MyTextArea extend?
Is the code that loads the CSS SWF in the module or main app?
From:
Yes, I think you can specify the name of the class as you did. Not sure
if it gets further decorated or what happens if you have a collision of
names.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, July
The attached SWF works fine for me.
Maybe clean the project and rebuild. Make sure the SDK version you are
using for both SWFs are the same. Post the test app SWF if there are
still problems
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
I want to make a custom component and I think I can extend the tile
container to do it.
Here's what I want to do:
Have four boxes fill up the screen. If I click on one of the boxes
that box zooms to fill the whole screen and the other three boxes
shrink to nothing.
Inside of that box I want
I have tried progressBar.setProgress(0, 100) but it looks like it doesn't
have any effect. Is it because the mode in my progress bar is set to
polled ? When I change the mode to manual, I don't see any progress. It
says at 0 all the time.
Adnan Doric wrote:
progressBar.setProgress( 0, 100
I don't mean for this to be a cross-post, I sent it to Flashcoders
accidentally.
This must have been done many times before. How can I translate the
ColorPicker.selectedValue to a 6 digit hex number? i.e. if the color
selected is, 66, if I trace ColorPicker.selectedColor, traces 102. I
tried
On the change event for dgCountry, do another httpService call passing in
the country identifier as a parameter (e.g. dgCountry.selectedItem.id) to
filter your store query by the country.
Scott
On Wed, Jul 23, 2008 at 8:15 PM, spark.edesigns [EMAIL PROTECTED]
wrote:
New to Flex but enjoying
thanks, alex. that worked like a charm.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
I'd start with mx.controls.listClasses.ListItemRenderer. It can
already
display an icon and text. Copy the source and modify as needed.
Putting stuff at negative coordinates is
Just additional information to make everything clear.
In my ActionScript, I have the following:
private var progressBar:ProgressBar;
public function clickHandler(event:MouseEvent):void
{
image1.source = list.selectedItem.photoUrl;
progressBar = new ProgressBar();
--- In flexcoders@yahoogroups.com, Everson Alves [EMAIL PROTECTED] wrote:
Hi,
I need to use alternate colors for items within a ADG.
alternatingItemColors
is not what i'm looking for because I need that child objects have
the same
color as their parent. So the only alternating colors is
Anyone know if it is possible to control the order of buttons in an
alert? According to the docs adobe has predetermined the button order
for us.
Currently the alert's buttons read [yes] [no], however our entire app
has all our controls in reverse order [no] [yes]. This design decision
is
I'm trying to have action script handle selecting an item on the
datagrid then loading a httpservice already defined.
The code works in terms of selecting the item on the grid but only works
on a second call ...it's almost like i need a pause in between the
selectedIndex and the http service call.
Thanks, Tracy.
What I meant was that I was adding Objects like { object:myObject } to
ArrayCollection -
where myObject was an instance of a proxy class - and whose properties were
getting
changed.
I have now gone to a slightly different scheme, adding Objects like {
object:mpObject,
Thanks. My swf is now down to 65.7K (probably about 110KB with ADG).
Still seems large, but it's much more manageable.
How do you do a link report?
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:
ADG also brings in the largest classes in the Flex framework. I
just
FYI
it works on the second call to the function im using but not the first
call?
Check out Number.toString(). You can pass it a radix parameter of 16
to convert the output to hex.
--- In flexcoders@yahoogroups.com, Merrill, Jason
[EMAIL PROTECTED] wrote:
I don't mean for this to be a cross-post, I sent it to Flashcoders
accidentally.
This must have been done many times
I suppose you could switch the labels Alert uses for Yes and No and
handle the click events appropriately.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of joshua gatcke
Sent: Thursday, July 24, 2008 12:43 PM
To:
Maybe a call to validateNow will help.
Note that send() is asynchronous so the list won't have items to select
until the result event.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jason B
Sent: Thursday, July 24, 2008 1:22 PM
To:
You understand that all data service calls are asynchronous?
I assume the code you posted is just excerpted lines? If that is really
the way it is written, then that is the problem, and you do NOT
understand that data service calls are asynchronous!
Post a little more code, specifically
That sounds like unnecessary work.
Again, when you say and whose properties were getting changed, how are
they getting changed? By simple assignment?
If so, then you can call the ArrayCollection.itemUpdated() method.
Tracy
From:
Thanks guys, here was my solution:
public static function decimalToHexidecimal(number:Number,
upperCase:Boolean=false, addPound:Boolean=false, addOx:Boolean=false ):String
{
var hexString:String = Number(number).toString(16);
while (hexString.length 6) hexString = 0 + hexString;
Quick test:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=cc()
mx:Script
![CDATA[
import flash.utils.getDefinitionByName;
import flash.utils.describeType;
import
Cool. Here are a couple other ways to pad the 0's, for anyone with
an aversion to loops:
hexString = 00.substr(0, 6 - hexString.length) + hexString;
or:
var pads: Array = [00, 0, , 000, 00, 0, ];
hexString = pads[hexString.length] + hexString;
--- In
I need to build a web-based Application which
has data in Client Server, sync is required.
AIR
---
Support SQLite in client side - It's ok but we
want web-based so that installation is not
required. Go to anywhere, just a click to see
data.
FLEX
It can't have database operation such
Is there a lightweight Eclipse IDE or a lightweight notepad for Flex Builder
that does not consume as much memory as eclipse. I need at least
autocompletion, Starting Eclipse almost takes 250,000K of ram and
debugging/running sometimes shots it up to 350,000K. I am running Vista
with 2GB and by
Amy,
and how would you add elements to the canvas?! or to the itemrender
itself? because the myRenderer wont have addChild so i can add new
elements. And how do you change the properties of the Canvas? You
adding the Class but you aint adding the whole component i was talking
about.
Suppose that
Hi, all;
Is there any way to center a bar chart's labels vertically? The
labelAlign style only changes the horizontal alignment.
Thanks;
Amy
Thank you Jeff,
Yes, I'm using combination of 3 properties (String - Long - Long) as an
identity,
Also I'd like to confirm that toString() does the trick. Thanks
On 7/24/08, Jeff Vroom [EMAIL PROTECTED] wrote:
It sounds like you have a complex identity object – i.e. not a set of
primitive
I found this class
package modules.renderers
{
import mx.core.ClassFactory;
import org.osflash.thunderbolt.Logger;
public class InitFactory extends ClassFactory
{
private var initObject:Object;
public
Coders,
Think: HttpService used for REST service calls. On a POST method I
would like to supply a user/password set of parameters in the
following XML format.
?xml version='1.0' encoding='UTF-8'?
login xmlns=http://mydomain.com/project;
xmlns:foo=http://mydomain.com/parms;
userfoo/user
You can POST arbitrary xml data to HttpService. What you can't do is
anything other than GET or POST which makes interacting with most (true)
REST services difficult or impossible.
-Josh
On Fri, Jul 25, 2008 at 10:23 AM, ron_mori [EMAIL PROTECTED] wrote:
Coders,
Think: HttpService used for
Anything that lives in a browser is not going to be able to have a local
database, going to microsoft won't change that.
On Fri, Jul 25, 2008 at 11:03 AM, itdanny2002 [EMAIL PROTECTED] wrote:
I need to build a web-based Application which
has data in Client Server, sync is required.
AIR
---
See my comments inline
--- In flexcoders@yahoogroups.com, Rafael Faria
[EMAIL PROTECTED] wrote:
I found this class
package modules.renderers
{
import mx.core.ClassFactory;
import org.osflash.thunderbolt.Logger;
public class InitFactory extends ClassFactory
I guess you could use the PopUpManager class to create your own alert
style box. You could then mimic all of the Alert functionality, but
have your own Alert box that could do whatever you want to with it.
You could even add an OK/Yes button if you wanted :)
--- In flexcoders@yahoogroups.com,
You can't really do what you want, without creating custom item renderer
components or custom IFactories. You could possibly create one base
component, and pass in a callback function as one of the parameters in
initObject for an InitFactory, but that's a terrible idea for any number of
reasons,
Both of which will be significantly more memory efficient than the loop.
The array of constants is probably most efficient
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doug Lowder
Sent: Thursday, July 24, 2008 4:06 PM
To:
DragOver.. Have no idea how I missed it!
Thanks Kenneth =)
Hi, I have some highlightAlphas style setting for my panel header,
however, if I rotate the panel between 0~90 degree, I notice that the
highlight style on the titlebar is lost. (If I rotate anywhere
between 91+ to 360 degree, it looks fine)
I also have highlightAlphas for a button in the
I often mimic Alert with a mxml component based on tileWindow, and just add
a static show method that calls out to PopupManager.createPopup() and
centrePopup(), it's easy as pie.
-Josh
On Fri, Jul 25, 2008 at 11:36 AM, lampei [EMAIL PROTECTED] wrote:
I guess you could use the PopUpManager
Are all 10-15 markers visible at one time? If not, you might want to
consider the 'recycle' method that is employed with item renderers.
Either that... or have a single MEGA WONKA sprite where each marker is
drawn at the appropriate location.
Rick Winscot
On Wed, Jul 23, 2008 at 12:42 PM, Alex
Is there any way to override how the fill color is determined for a
PieSeries? I would like to use specific colors based on the data. For
example, I have a series of data like this
monday, 30
tuesday, 20
wednesday, 20
thursday, 20
monday, 10
sunday, 5
I would like to make sure both items with
Well, let's be fair. You can't create new class defs at runtime, and it
would help to have a better definition of the problem so we aren't
taking stabs in the dark.
However, to take one last stab, let's assume that Rafael is trying to
have declarative or runtime data-schema mapping to a
who can help me ?
--- In flexcoders@yahoogroups.com, xieyf0413 [EMAIL PROTECTED] wrote:
I'm trying to connect to our JMS service (Apache ActiveMQ), if I
add my jms service to my app application , everything goes well ,
flex can consumer the jms message ; but if my app application is
But if the only to do the sync is to
install a program in desktop. Then,
any benefit of AIR is better than
Microsoft'stuf ? Sorry, it is a management
question so that we can sell our management
while our other development is on MS platform.
Inshort, any good point in AIR which is better ?
Well the benefits (assuming silverlight as the other option) become:
* Cross platform
* Much more traction and an established user base
* Standard (client-side) libraries are allegedly a lot broader in Flex than
Silverlight. Just repeating what I've heard here though, I don't know for
sure.
* Not
Cross Platform - depends on application. Our siutation - don't mind
Cheaper - we bought VS.net already.
This one sounds good:-
Standard (client-side) libraries are allegedly
a lot broader in Flex than Silverlight.
Anyone has examples which related to database application ?
--- In
It sounds like this won't matter in your case, but there is the often important
point that flex and air applications run not only on Windows, but also on OS X,
and maybe even on Linux as well.
I don't know enough about .net to address this question, but I do wonder
whether it provides for a
We know plenty about AIR, but you're in the wrong place to ask about
Silverlight I think.
-Josh
On Fri, Jul 25, 2008 at 2:45 PM, itdanny2002 [EMAIL PROTECTED] wrote:
Cross Platform - depends on application. Our siutation - don't mind
Cheaper - we bought VS.net already.
This one sounds
Speech-to-text again?
I've been ready for Millie for weeks, but she just doesn't return my calls
:)
On Fri, Jul 25, 2008 at 2:53 PM, Sid Maskit [EMAIL PROTECTED] wrote:
It sounds like this won't matter in your case, but there is the often
important point that flex and air applications run
Alex,
Thanks for quick response. Following are the answers to your questions.
1. Yes I have embed each fonts in .swf, and use following css
@font-face {
src: url(adlib_embed.swf);
fontFamily: Ad Lib;
}
2. Sorry I have no idea on selectors. Is it the thing which I am missing?
Yeah, she doesn't return my calls either.
My favorite signature is from somebody on the speechcoders mailing group. It
goes like this: This message written using speech recognition software. It
makes mistakes. I correct some of them.
I do most of my message writing using speech recognition,
90 matches
Mail list logo