I wrote a function to change state of details based on arg[0]
(off_on):
true - show
false - hide
null - toggle
Seems ok, but if off_on is declared Boolean we get a warning: 1096:
Illogical comparison with null. Variables of type Boolean cannot be
null.
Shucks ... :(~
So I now have
Use int instead of Boolean ?
-1 (instead of null)
0 (instead of false)
1 (instead of true)
regards,
Muzak
- Original Message -
From: Shannon [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, April 22, 2007 8:11 AM
Subject: [flexcoders] Booleans and Stardust
I wrote a
Too bad! This would be handy when building with Apollo.
--- In flexcoders@yahoogroups.com, Steve Kellogg @ Project SOC
[EMAIL PROTECTED] wrote:
Thanks, Gordon.
Steve
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent:
--- In flexcoders@yahoogroups.com, munene_uk [EMAIL PROTECTED] wrote:
i've got two canvases in a tabnavigator which are named students and
courses
the student canvas contains alot more information than the courses
canvas
my idea is that when the user click on the course tab the
Hello,
The standard behavior for a combobox is to grow in width until it's wide
enough to display the current selection.
Is there anyway to tell a ComboBox to Truncate the current displayed
Selection if it's too wide for a ComboBox?
I've tried setting both the left and right for the
ive downloaded this sample
http://blogs.adobe.com/aharui/CheckBoxList/listSample.swf from
http://blogs.adobe.com/aharui/ http://blogs.adobe.com/aharui/
and im tryin to use it in my course management application.
im using amfphp 1.9
i simply want the app to retrieve the list of courses
Boolean cannot be null. The default value is false if not initialised.
I think you want to use int with predefined constants.
On 4/22/07, Muzak [EMAIL PROTECTED] wrote:
Use int instead of Boolean ?
-1 (instead of null)
0 (instead of false)
1 (instead of true)
regards,
Muzak
-
Don't suppose you have some code you could post as an example?
Are you actually going through the process of extending Resize and
making it so if it ends on a percentage value when the effect finishes
it actually does change to a percentage (so if you resize it acts
appropriately)?
If that's not
Set resizeToContent on the tab navigator to true.
On 4/22/07, munene_uk [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, munene_uk [EMAIL PROTECTED] wrote:
i've got two canvases in a tabnavigator which are named students and
courses
the student canvas contains alot more
Hello,
i have one application with several sections. Each section is created
with:
section=addChild(new MySection());
and destroyed with:
removeChild(section);
section=null;
Everytime i create one section, i destroy the previous ones.
The section MySection has one component MyComponent that
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
Set resizeToContent on the tab navigator to true.
On 4/22/07, munene_uk [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, munene_uk munene_uk@ wrote:
i've got two canvases in a tabnavigator which are
Those are good suggestions, but I've already tried both of them.
I don't think sticking the DataGrid in a big Canvas is a good solution
because not only does it looks ugly, and you lose the feature of
scrolling in increments of data columns.
I optimized my item renderers by eliminating them.
I have created a minimal flex app to show the problem. You can access
it on
http://www.riapt.org/opensource/removeChildTest/removeChildTest.html.
The source is available (right click- view source).
As you can see, after creating, destroying and creating again (by
pressing twice the first
As promised, the url, VS Enabled.
I'd be grateful for any help.
http://shawngibson.com/imagesmech/main.html
Shawn
--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED]
wrote:
Paul,
How many enterprise / companies do you know are shopping around for
electronic forms built in PDF vs SAAS solutions?
Quite a few actually. The company I work for provides this as a
service for many fortune 500
I swear to god I'm doing the best I can here, and I do seem to be
getting closer.
My problem right now is that I don't seen to be able to get the main
image (orthe text label) to load after a particular thumb is clicked.
I SEEM to be loading the entire array...which of course makes no
sense. The
you wrote,
How many enterprise / companies do you know are shopping around for
electronic forms built in PDF vs SAAS solutions? PDF is a danger in some
organisations, it's something they want to put as much distance away from as
possible and prefer to leave them buried in the Document Management
Hi there Shawn,
I'm a relative newbie here as well but I thought I'd take a look. I
learn as I do so I try. :-)
It seems when your loadMainImage event is being triggered, you are
parsing the data from the XML file correctly actually. But what you want
to do is pull the unique data from the
When I was writing that e-mail I was thinking about that, as I have some
code that does something similar... so, my argument may be completely
wrong... needs investigation.
Anyone from Adobe care to comment?
Troy.
On 4/21/07, Ronnie Liew [EMAIL PROTECTED] wrote:
Hi Troy,
U mentioned that
Thank you for the response,
Boolean cannot be null. The default value is false if not
initialised.
So you're saying that AS3 sets a Boolean to false even without
assignment?
It takes some getting used to, but I suppose a compiler
error makes sense then :)
So in your reply:
I think you want
And this has a helper function for intelligently truncating a string:
http://www.adobe.com/devnet/flex/quickstart/accessing_xml_data/
Michael
Steve Kellogg wrote:
Hello,
The standard behavior for a combobox is to grow in width until it's
wide enough to display the current selection.
Have you tried maxWidth? I am not sure how it handles the truncation though.
Michael
Steve Kellogg wrote:
Hello,
The standard behavior for a combobox is to grow in width until it's
wide enough to display the current selection.
Is there anyway to tell a ComboBox to Truncate the
Thanks for your response:
Use int instead of Boolean ?
-1 (instead of null)
0 (instead of false)
1 (instead of true)
You are right, this is better than declaring b:*.
Hindsite tells me I would be a better programmer if I just created a
second function (one to toggleDetails and one to
Any chance anyone well connected wants to discuss this? It's a pretty
serious issue and really impairs the binary socket API, at least for
uploading large amounts of data.
--- In flexcoders@yahoogroups.com, Tim [EMAIL PROTECTED] wrote:
Is there a way to get a progress event on a socket write
you can also check out the html component at
www.drumbeatinsight.com/htmlcomponent follow the quickstart guide to get
going.
On 4/20/07, gotjosh819i [EMAIL PROTECTED] wrote:
Mane,
(blog entry)
http://www.deitte.com/archives/2006/05/update_to_embed.htm
A cpl things that need to be done
No I did not extend the resize effects. I used absolute values for
x,y,width and height, and computed the percentage relative to its
container. But I only had a few of them, so I did not create a custom
effect..
--- In flexcoders@yahoogroups.com, Matt [EMAIL PROTECTED] wrote:
Don't suppose
You can use the AnimateProperty effect on the
percentWidth/percentHeight property.
On 4/22/07, Matt [EMAIL PROTECTED] wrote:
Is there any way to use the Resize effect to either resize from 0 to a
percentage or from a percentage to 0?
--
Flexcoders Mailing List
FAQ:
From looking at the API docs, my guess is that flush() is a blocking
operation that returns only when it's complete. If for some reason the
flush fails, it'll throw an I/O error. You could verify this by
writing a large amount of data to the buffer, calling flush() and then
pulling the plug on
Michael: You did it! Thanks. And what makes it both wonderful for me
and also very frustrating (but just in a DOH! way) is that I totally
understand what you did. I guess I've lost a bit of perspective here,
and need to step back a bit, because even I should have been able to
figure that
On 4/22/07, Shannon [EMAIL PROTECTED] wrote:
Thank you for the response,
Boolean cannot be null. The default value is false if not
initialised.
So you're saying that AS3 sets a Boolean to false even without
assignment?
Every type of variable has a default value. Boolean is false, int is
0,
itemRenderer=mx.controls.Label
That, and you set the width to a fixed width.
On 4/22/07, Steve Kellogg [EMAIL PROTECTED] wrote:
Hello,
The standard behavior for a combobox is to grow in width until it's wide
enough to display the current selection.
Is there anyway to tell a
Luckly i was doing something last week that i think can help you.
(or at least give you some directions)
here is the code. try change the tabs to see the resize.
i dont know yet how to find the amount to shrink automaticly... if
you or someone find the answer and share with us that
On 4/22/07, munene_uk [EMAIL PROTECTED] wrote:
thanks for the reply but for some reason it doesn't seem to work can
you maybe exaplin to me in a bit more detail how this should be
implemented?
You're looking for a way to automatically resize a TabNavigator to the
size of its currently
Thanks,
Patrick
Hi everyone,
I have following problem:
Created a custom component by extending UIComponent using AS3.
Added a Canvas to the Application container and then added an instance
of that custom component.
What the component does is load an image in a Loader instance and
scales it down to fit into the
Looks like the binding for the MyCanvas object is still around. You'll
have to remove the MyCanvas object from the MyComponent object
explicitly. Make sure you've assigned an id to it.
MyCanvas myVar={...} id=myCanvas /
Script
function removeCanvas() {
removeChild(myCanvas);
myCanvas
--- In flexcoders@yahoogroups.com, munene_uk [EMAIL PROTECTED] wrote:
ive downloaded this sample
http://blogs.adobe.com/aharui/CheckBoxList/listSample.swf from
http://blogs.adobe.com/aharui/ http://blogs.adobe.com/aharui/
and im tryin to use it in my course management application.
im
The DataGrid only updates the dataField (status_code in your case). If
you want to update the other fields based on the value of the
status_code field, you can listen for the itemEditEnd event and update
it there.
For example:
DataGrid id=dg itemEditEnd=foo() ...
function foo() {
Paul: How many?
Seriously, throw the numbers on the table because I got to tell you, both
pre-Microsoft and post-Microsoft things haven't changed that radically that
DMS is more favoured then SAAS. SAAS is the new SOA dream, and people want
it because it's less red-tape to fight for a capital
Hi guys,
I create a vbox and some xopmponent inside. And this vbox also inside of a
repeter.
Why are those vbox overlapping in my repeter. What is wrong?
thnx.
Erhan Kayar
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
Taking a break from the data aspect of my project, and have a visual
part I'd like to get working (more for a breather than anything else,
though I do have to get it working eventually...).
I have a HorizontalList populated by HTTPService/xml file...it loads
thumbnails, as many as are in the
Great!!! It works as a charm
So, for every component i want to remove, i need to make sure that i
remove also sub-components with bindings, right? Is there an easier
way to achieve this? I have several views being added or removed by
addChild or removeChild, each one of them it a lot of bindings
What is the repeater inside of? Can you post the MXML?
On 4/22/07, Erhan Kayar [EMAIL PROTECTED] wrote:
Hi guys,
I create a vbox and some xopmponent inside. And this vbox also inside of a
repeter.
Why are those vbox overlapping in my repeter. What is wrong?
thnx.
Erhan Kayar
Is the size of the UIComponent really changing? Is
invalidateDisplayList() getting called on the Canvas internally? If
not, try calling it explicitly and your Canvas should show scrollbars.
On 4/21/07, vitcheff [EMAIL PROTECTED] wrote:
Hi everyone,
I have following problem:
Created a custom
At the moment, yes, it looks like you have to remove *every* object
with a binding on it explicitly or the binding still remains in the
background (and the setter keeps getting called). This is definitely a
bug in the Flex framework. (Probably someone from Adobe should log it
using your standalone
Hello,
First of all, the example:
http://www.riapt.org/opensource/states_test/states_test.html (with
view source enabled).
I have two components, Component1.mxml and Component2.mxml, both with
two states. The default state has it's inner components proper placed,
and the hidden state has the
Hey, I can't stand that scrollbar either!
You can turn it off by setting horizontalScrollPolicy to off. Then
on roll over or whatever (two buttons on either side) you can set
horizontalScrollPosition.
On 4/23/07, shawn.gibson [EMAIL PROTECTED] wrote:
Taking a break from the data aspect of my
Hey,
I'm getting an annoying error when i try to do a bitmap draw of an
image loaded via a remote domain.
**Error: A policy file is required, but the checkPolicyFile flag was
not set when this media was loaded**
To confirm i have a breakpoint where i set the source of the image
tag, and
--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED]
wrote:
Paul: How many?
37... I don't know... I don't even work in that group. I just know
that it has been very lucrative. I shouldn't even be responding to
this rant. I'm not too sure how to respond to it really. I don't
Any chance anyone well connected wants to discuss this? It's a pretty
serious issue and really impairs the binary socket API, at least for
uploading large amounts of data.
The same here: Socket doesnt't dispatch/throws *ANY* kind of activity
related to emptying output buffer after flush:(
Hi Paul,
You made me laugh out loud when I read:
I shouldn't even be responding to this rant.
I've had a very similar feeling!
Some news that may be of interest from the FITC conference here in
Toronto summarized by Aral Balkan:
http://aralbalkan.com/922
/*I'm very excited about the back-end
Hello,
I'm looking for someone with experience who can create something similar to
this;
http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html
Here are some details. It's not to run from an online server or WEB. It's to
run on a
desktop using the local machine HD.
Wow, that seems like it should be easy. I got it about 1/2 done,
already works, sort of. I'll figure out the rest, I'm sure...Was for
once something I could wrap my brain around - thanks:)
Shawn
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
Hey, I can't stand that
Hello All,
I have an Image Component, which holds an image that is quite large -
and I only want a certain region of the image to be shown.
What I was hoping to do, is set the Width and Height settings of the
Image Component itself, and then set the ScaleX, ScaleY, X and Y
Properties of the
Oh yeah!..i agree.. I kind of wanted to dump and run on this rant as well...
Happy to let it die of the natral death it deserves heheeh.
On 4/23/07, Brian Lesser [EMAIL PROTECTED] wrote:
Hi Paul,
You made me laugh out loud when I read:
I shouldn't even be responding to this rant.
I've
I have one viewStack with two views, both of them with the following
effects:
mx:Parallel id=showEffect duration=600
mx:Parallel target={p1} duration=600
mx:Move xTo=35/
mx:Fade alphaTo=1/
/mx:Parallel
You're probably better off re-writing your own Image component that
does exactly that.
You could borrow what you need from the existing class i guess to
make it easier.
Perhaps Ely Greenfield SuperImage already handles clipping, I'm not
sure, either way another good place to start from.
4) I tried to follow the Use the Data Management Service tutorial
in the Flex Manual and got hung up in two places. First, I get a
compiler error that says: Unexpected attribute 'url' found in
'endpoint' from file: services-config.xml (I assume I look in the
WEB-INF/flex dir for this file,
Yeah, you would also say that when .NET was supported wonderfully and we
got the problem with Java or ColdFusion connectivity? Now I can really
care less about Java myself, but I can do tell that would hear the same
sounds then.
Of course, it ain't difficult to write some good connector .NET
Hmm, as far as I know you can't really control such things with TCP
sockets in general. I mean the TCP(/IP) itself doesn't enable to force
sending the bytes from the buffer. It makes it own decision what and
when to send stuff. I wants to send the stuff as efficient as possible.
No, I have to
Scott,
This is all FUD. You contributed a lot to the Flex community for years,
but the below is just so off-base.
a) Flex 1.0 and 1.X did not crash and burn. It was one of the most
successfull new product introductions in the history of the company. It
was a 1.X product, and it wasn't
...but I haven't seen it yet! I've seen the code but when I run it it
doesn't work!
How do allow for a datagrid to drop into a tree? All i need it to do
is have DragManger.acceptDragDrop(UIComponent(event.currentTarget))
on drag enter work! Everytime i do it I get a little red x.
Anyone have
I don't think you can. I've had to write my own viewstack-like component in
the past to achieve a series of animation effects. In my case it was a fade
out, resize, fade in.
You might have to write your own component as well if you can't live with
the effects that you come up with using a
Hello All,
I am having a hard time understanding how to use mx:http / with our
xmlrpc server. I understand how to send a request with name value
pairs and how to format the results etc., however, I have no idea how
I can specify the xmlrpc method to use with the mx:http / tag or
via
Hi Bjorn,
I don't think it will allow you to do this for a remote domain.
See Docs for BitMapData:
The source object and (in the case of a Sprite or MovieClip object) all of
its child objects must come from the same domain as the caller, or must be
in a SWF file that is accessible to the caller
No problem. I know the pain, believe me. I'm working on an app now as I
am starting out with Flex and decided to dive in with Cairngorm for it.
There is definitely a learning curve but it really helps with the
separation.
Glad it worked out for you there.
Michael
shawn.gibson wrote:
Hi everyone:
I think I have found a bug in the text area control and its htmlText
property. When you set the fontsize property of an textarea to 11, it
interprets it as 11 pixels (nb: 11px would not a valid value for this
property). On screen it looks about right. Now when you get the htmlText
Hey Hilary,
The guys at cynergy claimed they had a solution
http://www.cynergysystems.com/blogs/page/karljohnson?
entry=working_around_security_sandbox_errors
But this is 101, i mean the only difference i can see with my
implementation is that they're using mxml and binding for the
In my case I dont have control of the remote domain, so I cant do nuffink
about it!
Would just have been nice to do effects on a live streaming video ;-)
Hilary
--
On 4/23/07, Bjorn Schultheiss [EMAIL PROTECTED] wrote:
Hey Hilary,
The guys at cynergy claimed they had a solution
Hi I'm having the same problem here, but I still haven't figured out
how to deal with it.
After calling LineSeries(h.element).yField, I got the name of the data
series, which is great. But how do I then retrieve the y value of this
data series for the datatip?
For example, I get DATE after
70 matches
Mail list logo