[flexcoders] Loading an old swf file and trying to pass it params in my flex app but no luck

2008-02-22 Thread kuroiryu42
It is a chart swf and I am trying to pass it data on the url for the
loader.

In html the setup would be like:


http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0";
width="900" height="300" id="Column3D" >
   
   
   
   http://www.macromedia.com/go/getflashplayer"; />






in flex I am doing:

http://www.adobe.com/2006/mxml";
layout="absolute" applicationComplete="ready()">






  



in the inpect function i am looking at the params and i don't see any
nothing i put on the url seems to be getting through.

thanks



[flexcoders] Event handling question...

2008-02-22 Thread [p e r c e p t i c o n]
Hi All,
I need to know if there's a way to tell where an event is coming from using
RemoteObjec'ts result handler...I have several methods that i call using
RemotrObject, and need to take different action based on which remote method
i called...
any ideas??

thanks

p


RE: [flexcoders] Bug on IF..ELSE Condition Or What ?

2008-02-22 Thread Gordon Smith
That makes no sense and would be an extremely interesting bug if stat is
really being set to 1.
 
If you replace the line
 
var stat:Number = Number(arrPeriodeLirs.getItem(0).status);
 
with
 
var stat:Number = 1;
 
what do you get? Or, if you're using FlexBuilder, what do you see happen
as you step line by line through this code?
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Harry Saputra
Sent: Friday, February 22, 2008 8:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug on IF..ELSE Condition Or What ?



I get confuse with this. I have very2 simple conditional structure like
that
:

...
var stat:Number = Number(arrPeriodeLirs.getItemAt(0).status);

if (stat==2) 
{
Alert.show('Error number 2','error');
} 

else if ( stat==1 ) 
{
Alert.show('Error number 1','error');
}

else if (stat==0)
{
Alert.show('Error number 0','error');
}

else if ( dataMahasiswa.getItemAt(0).statusmhs != 'Active' )
{
Alert.show('Error number 4','error');
}

else 
{
semester();
}
...

What the problem ?

When I get stat value = 1 ( I check on service management ) , the result
is
'Error number 2'.. why ? 
Thanks



 


RE: [flexcoders] What is the best way to compare two arrayselement by element ignoring the order?

2008-02-22 Thread Gordon Smith
Yes, private methods are supposedly faster. But I haven't done timing
tests myself to prove that.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Friday, February 22, 2008 3:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What is the best way to compare two
arrayselement by element ignoring the order?



But sorting actually depends on array element type, thus solution can
not be abstract enough. It is bad suprise for me that anonymous
functions are bad. I like them very much for Array methods like
filter(), map(), some(), any() and forEach(). So if I create private
methods instead, it would be faster, right?


On Fri, Feb 22, 2008 at 11:31 PM, Gordon Smith <[EMAIL PROTECTED]
 > wrote:



Are you trying to compare two Arrays as sets, where [ 1, 3, 2, 1
] and [ 1, 1, 2, 3 ] are considered the same?
 
If so, I would sort() them -- which I would expect to take only
O(n ln n) -- and then compare them element by element until you found a
mismatch or reached the end.
 
Avoid using anonymous functions. My understanding is that they
don't perform as well as class methods because they require an
activation frame.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com
  [mailto:flexcoders@yahoogroups.com
 ] On Behalf Of Maciek Sakrejda
Sent: Friday, February 22, 2008 9:23 AM
To: flexcoders@yahoogroups.com
 
Subject: Re: [flexcoders] What is the best way to compare two
arrayselement by element ignoring the order?



Extra points for higher-order function, although that is going
to be
O(n^2) (unless Array.indexOf() has a weird implementation). If
you've
got really, really big arrays (or are doing this in a tight
loop) and
you have O(n) memory to spare, you could consider building a
hashmap of
the values in Array a, and then walking Array b and checking if
each
element is in the hashmap:

var differs:Boolean = (a.length != b.length);
if (!differs) {
var aContents = new Object();
a.forEach(function(item:Object, index:int, array:Array):void {
aContents[item] = true;
});
differs = b.some(function(item:Object, index:int,
array:Array):Boolean
{
return aContents[item] == null;
});
}

For small-ish arrays, though, I would expect your solution to be
faster
than mine (I won't define 'small-ish', since I would honestly be
pulling
a number out of my--err, out of thin air).

Also, neither your solution nor mine handles the case where the
same
item is in one array twice (yours fails for dupes in a and mine
for
dupes in b).

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com  

-Original Message-
From: Sergey Kovalyov <[EMAIL PROTECTED]
 >
Reply-To: flexcoders@yahoogroups.com
 
To: flexcoders@yahoogroups.com
 
Subject: [flexcoders] What is the best way to compare two arrays
element
by element ignoring the order?
Date: Fri, 22 Feb 2008 15:37:56 +0200

What is the best way to compare two arrays element by element
ignoring
the order? My solution:

var differs : Boolean =
(a.length != b.length) ||
a.some(
function(item : Object, index : int, array : Array) : Boolean {
return (b.indexOf(item) == -1);
});

May be the better solution exists?










 


[flexcoders] Bug on IF..ELSE Condition Or What ?

2008-02-22 Thread Harry Saputra
I get confuse with this. I have very2 simple conditional structure like that
:

...
var stat:Number =  Number(arrPeriodeLirs.getItemAt(0).status);

if (stat==2) 
{
Alert.show('Error number 2','error');
} 

else if ( stat==1 ) 
{
Alert.show('Error number 1','error');
}

else if (stat==0)
{
Alert.show('Error number 0','error');
}

else if ( dataMahasiswa.getItemAt(0).statusmhs != 'Active' )
{
Alert.show('Error number 4','error');
}

else 
{
semester();
}
...

What the problem ?

When I get stat value = 1 ( I check on service management ) , the result is
'Error number 2'.. why ? 
Thanks




Re: [flexcoders] what is the best way to refresh datagrid ?

2008-02-22 Thread Sherif Abdou
validateList(), call it from dataGrid or just try doing a refresh on the 
dataProvier


- Original Message 
From: annouss79 <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, February 22, 2008 5:53:42 PM
Subject: [flexcoders] what is the best way to refresh datagrid ?

i'm using Flex,hibernate and FDS.

1) i get an object 'user' from database:
userHibernateServic e.fill(usersList , "flex:hql", "from Users u where
u.userId = ?",paramMap) ;

2) then i'm filling datagrid by user's offers :
usertest = usersList.getItemAt (0) as Users;
offersList = usertest.offres;


when i add a new offer i want find the best way to refresh the
datagrid in order to show to new record too.

thx for help.





  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[flexcoders] Localizing Menus

2008-02-22 Thread Jhonny Everson
Hi,

I'm using resourceBundles ( .properties files) to define multiple locales,
it's working except that I have a MenuBar which uses an XML file to define
it's items. How can I can localize the menu items too?

-- 
Jhonny Everson


[flexcoders] Re: Cancelling Accordion change

2008-02-22 Thread guitarguy555
Thanks Beau!!

That's exactly what I needed. Really appreciate your help. You are a 
lifesaver.  I had played around with copying the Accordion code and 
trying to customize it - but couldn't get it to display correctly.  
Also tried some custom events etc but to no avail.  Your suggested 
solution works great.

Cheers!




--- In flexcoders@yahoogroups.com, "Beau Scott" <[EMAIL PROTECTED]> 
wrote:
>
> Doesn't work. If you look at the code for accordion you'll notice 
that this
> event is dispatched as a result of a previous event that sets the
> selectedIndex prior to the change event being dispatched, rather 
than
> selectedIndex being set as a result of the change event. So even if 
you
> could capture the event in capture phase (which doesn't seem to work
> either), cancelling it wouldn't have any effect on the accordion 
changing
> the selected child, it would just prevent any other listeners from
> responding.
> 
>  
> 
> Here's some code for a simple test to illustrate the problem. As it 
is, you
> can see that it listens for the change event in both the capture 
and target
> phases of the event. If the newIndex specified == 2 (the third 
tab), you
> would expect the 3rd tab's navigation to cancel, but since the 
event is not
> cancelable, it behaves as it normally would.
> 
> -
> 
> 
> 
> http://www.adobe.com/2006/mxml"; 
layout="vertical"
> creationComplete="onCreationComplete(event)">
> 
> 
> 
>   
> 
> 
> 
> 
> 
>height="100%" />
> 
>height="100%" />
> 
>height="100%" />
> 
>height="100%" />
> 
> 
> 
> 
> 
> 
> 
>  
> 
> One thing that you can do  is register event handlers for the 
capture phase
> on mouse clicking the headers and KeyboardEvent.KEY_DOWN to 
intercept those
> events before they trigger the accordion change. Here's some 
working code:
> 
>  
> 
> -
> 
>  
> 
> 
> 
> http://www.adobe.com/2006/mxml"; 
layout="vertical"
> creationComplete="onCreationComplete(event)">
> 
> 
> 
>   
> 
> 
> 
> 
> 
>height="100%" />
> 
>height="100%" />
> 
>height="100%" />
> 
>height="100%" />
> 
> 
> 
> 
> 
> --
> 
>  
> 
>  
> 
> Hope this helps!
> 
>  
> 
> Beau
> 
>  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Sherif Abdou
> Sent: Thursday, February 21, 2008 9:13 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Cancelling Accordion change
> 
>  
> 
> u need to do stopImmedatePropagation
> 
> - Original Message 
> From: guitarguy555 <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Thursday, February 21, 2008 2:42:46 PM
> Subject: [flexcoders] Cancelling Accordion change
> 
> I have an accordion control and I want to cancel moving to the next 
> accordion pane if my controls on the currently selected pane are in 
an 
> invalid state. 
> 
> The Accordion container uses the IndexChangedEvent which does not 
have 
> it's cancelable property set to true, so I cannot 
call .preventDefault 
> to stop this.
> 
> Has anybody else out there attempted something like this?
> 
> Thanks
> 
>  
> 
>  
> 
>_  
> 
> Looking for last minute shopping deals? HYPERLINK
> "http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/news
earch/ca
> tegory.php?category=shopping"Find them fast with Yahoo! Search.
> 
>  
> 
>  
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.9/1291 - Release Date: 
2/21/2008
> 11:05 AM
> 
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.20.9/1291 - Release Date: 
2/21/2008
> 11:05 AM
>




[flexcoders] Adding Canvas to viewStack - LinkBar dynamically

2008-02-22 Thread omarfouad83
Hi group..

I am creating some application where I need the menu to change
according  to the type of user that is loggin in this application.

So, based on which privileges this user has, I want to show some menu
items in the application.

I am using a simple LinkBar linked to the ViewStack component and I
need to Show/hide some Canvases to it dynamically.

for expample:

















As you see I added in the first Canvas a visible property set to
"FALSE" so it is supposed not be "visible" on the stage.

in this case I would set it visible on runtime using the actionscript
code C1.visible = true but it does not work.

I also tried 

var c:Canvas = new Canvas();
VS.addChild(c);

and it does show a new link in the LinkBar (and flex create a new
ViewStack Canvas for it) but at this point I would not be able to add
object in that specified canvas. So I'd prefer to create the Canvas
first in the ViewStack (with its objects) and set It invisible and
than setting it visible on runtime..

any Suggestion?

Thanks so much.

Cordially



[flexcoders] Re: application exit event?

2008-02-22 Thread annouss79
no idea sorry.



[flexcoders] what is the best way to refresh datagrid ?

2008-02-22 Thread annouss79
i'm using Flex,hibernate and FDS.

1) i get an object 'user' from database:
userHibernateService.fill(usersList, "flex:hql", "from Users u where
u.userId = ?",paramMap);

2) then i'm filling datagrid by user's offers :
usertest = usersList.getItemAt(0) as Users;
offersList = usertest.offres;


when i add a new offer i want find the best way to refresh the
datagrid in order to show to new record too.

thx for help.





[flexcoders] Shortcut Keys

2008-02-22 Thread David C. Moody
Performed a search and didn't turn up too much.

I know I can do shortcut keys inside flex, my question is, is there a 
way to trap ALL shortcut key combinations and not all the browser to 
process them? My current application (not flex-based) uses alot of 
shortcuts and it'd be nice to be able to still use them when I convert.

If not, does anyone know of a list of "browser" shortcuts? So I can 
determine how many things I have to cut out?

Thanks,
-David 



Re: [flexcoders] Where did the value go?

2008-02-22 Thread justSteve
@ Alex...i'm unclear about your questions... I have a datagrid that displays
a table of all rows of the given collection. When I select a row that record
is supposed to display in a separate - a detail - form.

The problem probably traces to the fact that the datagrid doesn't define
columns for each of the fields specified in the type 'Slide' - the datagrid
has columns representing only a subset of the properties in 'Slide'. But if
so, shouldn't that cause either a runtime (if not a compile-time) error?

thx to all
--steve...


On 2/22/08, Alex Harui <[EMAIL PROTECTED]> wrote:
>
>The DG's selectedItem is bound to selectedSlide so anything that
> tickles it will reset the selectedItem.  Maybe you want to call
> selectSlide(selectedSlide), or maybe you just want to init selectedItem once
> and not have it bound permanently?
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *justSteve
> *Sent:* Friday, February 22, 2008 2:06 PM
> *To:* flexcoders
> *Subject:* [flexcoders] Where did the value go?
>
>
>
> I have a datagrid that should send it's selectItem value to a detail form.
>
>  selectedItem="{selectedSlide}"
> change="selectSlide(event.target.selectedItem as Slide)"
> dataProvider="{slides}" >
>
> Placing a breakpoint on the change property and observing the
> event.target.selectedItem value shows the event is carrying the
> expected info. But when execution reaches the handler:
>
> public var selectedSlide:Slide;
> private function selectSlide(pSlide:Slide):void
> {
> selectedSlide = pSlide ; // pSlide is now null.
> dispatchEvent(new Event(SELECT, true));
> }
>
> the param is null. How do I go about figuring out where my error is? I
> reason that if there's something wrong with how I've typed 'Slide' I'd
> get a compile-time error.
>
> many thankx
> --steve...
>
>  
>


[flexcoders] Manual drag drop between canvases...

2008-02-22 Thread dsds99
Trying to add the dragged item to where it drops on the second canvas.

I have canvas.addChild(draggedItem);

1) How do I reference the draggedItem after that. I can only think of
canvas.getChildAt(canvas.numChildren - 1)..but that's definitely not
the right way to do it.
  
2) To position it where the proxy image hits the canvas and not where
the mouse hits the drop target.



Re: [flexcoders] application exit event?

2008-02-22 Thread Sherif Abdou
you would probably need to use some javascript, and detect it from there


- Original Message 
From: Maciek Sakrejda <[EMAIL PROTECTED]>
To: flexcoders 
Sent: Friday, February 22, 2008 6:22:42 PM
Subject: [flexcoders] application exit event?

I need to perform some cleanup when the user exits the application
(i.e., closes the page in which the application is embedded). Is there
an event I can listen for? I've tried Event.REMOVED, FlexEvent.REMOVE,
and Event.REMOVED_ FROM_STAGE, but none of those seem to fire targetting
the actual application object. Any ideas?
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso. com





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] application exit event?

2008-02-22 Thread Maciek Sakrejda
I need to perform some cleanup when the user exits the application
(i.e., closes the page in which the application is embedded). Is there
an event I can listen for? I've tried Event.REMOVED, FlexEvent.REMOVE,
and Event.REMOVED_FROM_STAGE, but none of those seem to fire targetting
the actual application object. Any ideas?
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com




RE: [flexcoders] Where did the value go?

2008-02-22 Thread Alex Harui
The DG's selectedItem is bound to selectedSlide so anything that tickles
it will reset the selectedItem.  Maybe you want to call
selectSlide(selectedSlide), or maybe you just want to init selectedItem
once and not have it bound permanently?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of justSteve
Sent: Friday, February 22, 2008 2:06 PM
To: flexcoders
Subject: [flexcoders] Where did the value go?

 

I have a datagrid that should send it's selectItem value to a detail
form.



Placing a breakpoint on the change property and observing the
event.target.selectedItem value shows the event is carrying the
expected info. But when execution reaches the handler:

public var selectedSlide:Slide;
private function selectSlide(pSlide:Slide):void
{
selectedSlide = pSlide ; // pSlide is now null.
dispatchEvent(new Event(SELECT, true));
}

the param is null. How do I go about figuring out where my error is? I
reason that if there's something wrong with how I've typed 'Slide' I'd
get a compile-time error.

many thankx
--steve...

 



Re: [flexcoders] ComboBox question...

2008-02-22 Thread [p e r c e p t i c o n]
Thank you All...
p

On Fri, Feb 22, 2008 at 11:29 AM, Tracy Spratt <[EMAIL PROTECTED]>
wrote:

>Define the "prompt" attribute: …prompt="" />
>
> It can be empty or a string like … prompt="Select a value" />
>
>
>
> Tracy
>
>
>  --
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *[p e r c e p t i c o n]
> *Sent:* Friday, February 22, 2008 2:17 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] ComboBox question...
>
>
>
> Hi Experts,
> I'm trying to do 2 things...one...i'd like theinitial item of my combobox
> to be empty...meaning not one of the selectable items, and secondly if this
> is not possible...i'd like to be able to handle a click on an already
> selected item...it seems that if it's the first one in the list and you
> click on it the event doesn't get dispatched...
> thanks
> percy
>
>  
>


RE: [flexcoders] Flex 2.0 with no history and cache

2008-02-22 Thread Tracy Spratt
Uncheck the History option in the flex compiler settings to disable the
history.

 

The most reliable way to prevent caching is to append a unique number to
the url.  Many people use Date.time.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ghus32
Sent: Friday, February 22, 2008 4:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 with no history and cache

 

Hello Everyone,

How would I go about making my completed application have no history or 
cache?

I am having problems with it remmbering tabs between states and 
remembering results from services.

Thanks

Steve

 



RE: [flexcoders] Where did the value go?

2008-02-22 Thread Beau Scott
>>> maybe try event.currentTarget.



True, your target could have changed, and using currentTarget will ensure
that you are referencing the DataGrid.

 

>>> and how are you calling selectSlide if it is private or is that a
mistake?

 

If it’s all in the same MXML, it’s accessible as private.

 

Beau

 

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Friday, February 22, 2008 3:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Where did the value go?

maybe try event.currentTarget.

and how are you calling selectSlide if it is private or is that a mistake?

- Original Message 
From: justSteve <[EMAIL PROTECTED]>
To: flexcoders 
Sent: Friday, February 22, 2008 4:05:30 PM
Subject: [flexcoders] Where did the value go?

I have a datagrid that should send it's selectItem value to a detail form.



Placing a breakpoint on the change property and observing the
event.target. selectedItem value shows the event is carrying the
expected info. But when execution reaches the handler:

public var selectedSlide: Slide;
private function selectSlide( pSlide:Slide) :void
{
selectedSlide = pSlide ; // pSlide is now null.
dispatchEvent( new Event(SELECT, true));
}

the param is null. How do I go about figuring out where my error is? I
reason that if there's something wrong with how I've typed 'Slide' I'd
get a compile-time error.

many thankx
--steve...

 

 

   _  

Looking for last minute shopping deals? HYPERLINK
"http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/ca
tegory.php?category=shopping"Find them fast with Yahoo! Search.

 

 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM
 

<><>

RE: [flexcoders] Where did the value go?

2008-02-22 Thread Beau Scott
Your type cast might be failing, causing pSlide to be null.

 

Try typing pSlide to Object and remove the type cast in the change event
handler, this will at least give you an idea of what’s happening.

 

Beau

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of justSteve
Sent: Friday, February 22, 2008 3:05 PM
To: flexcoders
Subject: [flexcoders] Where did the value go?

 

I have a datagrid that should send it's selectItem value to a detail form.



Placing a breakpoint on the change property and observing the
event.target.selectedItem value shows the event is carrying the
expected info. But when execution reaches the handler:

public var selectedSlide:Slide;
private function selectSlide(pSlide:Slide):void
{
selectedSlide = pSlide ; // pSlide is now null.
dispatchEvent(new Event(SELECT, true));
}

the param is null. How do I go about figuring out where my error is? I
reason that if there's something wrong with how I've typed 'Slide' I'd
get a compile-time error.

many thankx
--steve...

 

 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM
 

<><>

Re: [flexcoders] What is the best way to compare two arrayselement by element ignoring the order?

2008-02-22 Thread Sergey Kovalyov
But sorting actually depends on array element type, thus solution can not be
abstract enough. It is bad suprise for me that anonymous functions are bad.
I like them very much for Array methods like filter(), map(), some(), any()
and forEach(). So if I create private methods instead, it would be faster,
right?

On Fri, Feb 22, 2008 at 11:31 PM, Gordon Smith <[EMAIL PROTECTED]> wrote:

>Are you trying to compare two Arrays as sets, where [ 1, 3, 2, 1 ] and
> [ 1, 1, 2, 3 ] are considered the same?
>
> If so, I would sort() them -- which I would expect to take only O(n ln n)
> -- and then compare them element by element until you found a mismatch or
> reached the end.
>
> Avoid using anonymous functions. My understanding is that they don't
> perform as well as class methods because they require an activation frame.
>
> Gordon Smith
> Adobe Flex SDK Team
>
>  --
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Maciek Sakrejda
> *Sent:* Friday, February 22, 2008 9:23 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] What is the best way to compare two
> arrayselement by element ignoring the order?
>
>Extra points for higher-order function, although that is going to be
> O(n^2) (unless Array.indexOf() has a weird implementation). If you've
> got really, really big arrays (or are doing this in a tight loop) and
> you have O(n) memory to spare, you could consider building a hashmap of
> the values in Array a, and then walking Array b and checking if each
> element is in the hashmap:
>
> var differs:Boolean = (a.length != b.length);
> if (!differs) {
> var aContents = new Object();
> a.forEach(function(item:Object, index:int, array:Array):void {
> aContents[item] = true;
> });
> differs = b.some(function(item:Object, index:int, array:Array):Boolean
> {
> return aContents[item] == null;
> });
> }
>
> For small-ish arrays, though, I would expect your solution to be faster
> than mine (I won't define 'small-ish', since I would honestly be pulling
> a number out of my--err, out of thin air).
>
> Also, neither your solution nor mine handles the case where the same
> item is in one array twice (yours fails for dupes in a and mine for
> dupes in b).
>
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
>
> -Original Message-
> From: Sergey Kovalyov <[EMAIL PROTECTED]
> >
> Reply-To: flexcoders@yahoogroups.com 
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] What is the best way to compare two arrays element
> by element ignoring the order?
> Date: Fri, 22 Feb 2008 15:37:56 +0200
>
> What is the best way to compare two arrays element by element ignoring
> the order? My solution:
>
> var differs : Boolean =
> (a.length != b.length) ||
> a.some(
> function(item : Object, index : int, array : Array) : Boolean {
> return (b.indexOf(item) == -1);
> });
>
> May be the better solution exists?
>
> 
>


Re: [flexcoders] Where did the value go?

2008-02-22 Thread Sherif Abdou
maybe try event.currentTarget.
and how are you calling selectSlide if it is private or is that a mistake?

- Original Message 
From: justSteve <[EMAIL PROTECTED]>
To: flexcoders 
Sent: Friday, February 22, 2008 4:05:30 PM
Subject: [flexcoders] Where did the value go?

I have a datagrid that should send it's selectItem value to a detail form.



Placing a breakpoint on the change property and observing the
event.target. selectedItem value shows the event is carrying the
expected info. But when execution reaches the handler:

public var selectedSlide: Slide;
private function selectSlide( pSlide:Slide) :void
{
selectedSlide = pSlide ; // pSlide is now null.
dispatchEvent( new Event(SELECT, true));
}

the param is null. How do I go about figuring out where my error is? I
reason that if there's something wrong with how I've typed 'Slide' I'd
get a compile-time error.

many thankx
--steve...




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] Where did the value go?

2008-02-22 Thread justSteve
I have a  datagrid that should send it's selectItem value to a detail form.



Placing a breakpoint on the change property and observing the
event.target.selectedItem value shows the event is carrying the
expected info. But when execution reaches the handler:

public var selectedSlide:Slide;
private function selectSlide(pSlide:Slide):void
{
selectedSlide = pSlide ;  // pSlide is now null.
dispatchEvent(new Event(SELECT, true));
}

the param is null. How do I go about figuring out where my error is? I
reason that if there's something wrong with how I've typed 'Slide' I'd
get a compile-time error.

many thankx
--steve...


[flexcoders] Re: FileReference woes....

2008-02-22 Thread e_baggg
Jon, thanks for your help! We ended up just removing authentication
for the "upload" directory so the upload would work. It's an internal
app so that will work for now. The "jessionid" trick (append to
UrlReqest.url) does work, but only if I catch the IOError. That error
still gets thrown for me. Not sure if I want to catch that as a
solution so I'm going to test more but I am out of options. The bug
mentioned below is 'https' which I am not on. 

--- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]> wrote:
>
> 
> On Feb 22, 2008, at 12:56 PM, e_baggg wrote:
> 
> > Using a packet sniffer, I see the jsessionID is not getting included
> > in the FF POST request. I have seen blogs to tack it on the parameter
> > request but that will not work for me (it has to be a header). This
> > had worked in the past so I am not sure what went wrong. I was on the
> > prerelease version of FB3 (pointing to 2.0.1 hotfix 3)...so i thought
> > it might be my Flash player. I reinstalled the Flash Players for IE
> > and FF from the main Adobe site and no luck. I tried building the swf
> > from FlexBuilder 2...no dice. Really at a loss here. Any thoughts from
> > anyone?
> 
> 
> Man... what I'd be really interested in knowing is how in the world  
> it worked in the first place. AFAIK, file uploads with session  
> required have always been broken in FF - I don't know of any instance  
> where it worked without passing the session details back to the server.
> 
> Was there a change in your upload code in JSP to require  
> authentication? I found the error when our server was setup for  
> authentication but the code accepting the file upload ignored the  
> session details.
> 
> Open Bug (there may be others)
> 
> http://bugs.adobe.com/jira/browse/SDK-13196
> 
> good luck with it..
> 
> - j
>




RE: [flexcoders] Re: Adventures in Focus Management

2008-02-22 Thread Alex Harui
I looked at your example.  It was only setting the button's
visible=false and not the canvas so the popup hadn't really become
invisible.  Changing to set the canvas invisible caused it to work
correctly w/o any additional code.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt
Sent: Friday, February 22, 2008 12:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adventures in Focus Management

 

Okay, I finally figured this one out myself. It helped having a much
simpler example to work with, but for anyone else who runs across this
I had to call SystemManager.deactivate(c) to deactivate the Canvas
that was popped up. Further, when I re-show something in the Canvas I
need to SystemManager.activate(c) to get it to work again.

Thanks for your help. :)

 



[flexcoders] FLV bug - using Flex compiler in an actionscript project with flv's in swc's

2008-02-22 Thread djhatrick
Hi,

I have an actionscript project that I am created in flex, I've created
multiple Flv's in timelines and export my swcs, in Flash my flv's play
correctly when I compile, but when I compile with the flex sdk 3, my
FLV's have scrambled video and all show as 1 flv, this happens when I
embed the swc as a swf too.  I don't know what's going on?  

Any suggestions out there?  Please help, this looks really bad.

Thanks,
Patrick



[flexcoders] Flex 2.0 with no history and cache

2008-02-22 Thread ghus32
Hello Everyone,

How would I go about making my completed application have no history or 
cache?

I am having problems with it remmbering tabs between states and 
remembering results from services.

Thanks

Steve



[flexcoders] EFFECT_END handler called twice

2008-02-22 Thread Greg
Hi All,

 

I have a fadeout effect that runs on a popup window. I am using an
EFFECT_END handler that calls the PopUpManager.removePopUp(). The handler is
being called twice. The repeat interval is default=1 and I have ensured this
is the only code calling the handler.

 

What am I doing wrong?

 

Any comments much appreciated,


Greg



Re: [flexcoders] ComboBox question...

2008-02-22 Thread Jehanzeb Musani
Hello,

Set the selectedIndex to -1 and prompt property to the
text you want display when no item is selected, for
example "Select...".

Hope this helps.

Regards,
Jehanzeb

--- "[p e r c e p t i c o n]" <[EMAIL PROTECTED]>
wrote:

> Hi Experts,
> I'm trying to do 2 things...one...i'd like
> theinitial item of my combobox to
> be empty...meaning not one of the selectable items,
> and secondly if this is
> not possible...i'd like to be able to handle a click
> on an already selected
> item...it seems that if it's the first one in the
> list and you click on it
> the event doesn't get dispatched...
> thanks
> percy
> 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


RE: [flexcoders] What is the best way to compare two arrayselement by element ignoring the order?

2008-02-22 Thread Gordon Smith
Are you trying to compare two Arrays as sets, where [ 1, 3, 2, 1 ] and [
1, 1, 2, 3 ] are considered the same?
 
If so, I would sort() them -- which I would expect to take only O(n ln
n) -- and then compare them element by element until you found a
mismatch or reached the end.
 
Avoid using anonymous functions. My understanding is that they don't
perform as well as class methods because they require an activation
frame.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Maciek Sakrejda
Sent: Friday, February 22, 2008 9:23 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What is the best way to compare two
arrayselement by element ignoring the order?



Extra points for higher-order function, although that is going to be
O(n^2) (unless Array.indexOf() has a weird implementation). If you've
got really, really big arrays (or are doing this in a tight loop) and
you have O(n) memory to spare, you could consider building a hashmap of
the values in Array a, and then walking Array b and checking if each
element is in the hashmap:

var differs:Boolean = (a.length != b.length);
if (!differs) {
var aContents = new Object();
a.forEach(function(item:Object, index:int, array:Array):void {
aContents[item] = true;
});
differs = b.some(function(item:Object, index:int, array:Array):Boolean
{
return aContents[item] == null;
});
}

For small-ish arrays, though, I would expect your solution to be faster
than mine (I won't define 'small-ish', since I would honestly be pulling
a number out of my--err, out of thin air).

Also, neither your solution nor mine handles the case where the same
item is in one array twice (yours fails for dupes in a and mine for
dupes in b).

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com  

-Original Message-
From: Sergey Kovalyov <[EMAIL PROTECTED]
 >
Reply-To: flexcoders@yahoogroups.com
 
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] What is the best way to compare two arrays element
by element ignoring the order?
Date: Fri, 22 Feb 2008 15:37:56 +0200

What is the best way to compare two arrays element by element ignoring
the order? My solution:

var differs : Boolean =
(a.length != b.length) ||
a.some(
function(item : Object, index : int, array : Array) : Boolean {
return (b.indexOf(item) == -1);
});

May be the better solution exists?



 


Re: [flexcoders] Re: How to retrieve the Button label name?

2008-02-22 Thread Scott Melby
You should probably just dispatch an event that bubbles from within the 
renderer when the button is clicked... you can then send the button (or 
just the label) in the event payload.  Your code that needs it can 
register as a listener for the event on the component that holds your 
items (list or whatever) and get data from the event when notified.  
Note: if you dispatch the event from the button itself the currentTarget 
will probably be a ref to your button object and you may not need a 
custom event.


hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



flexawesome wrote:



any suggestions?

Thanks

--- In flexcoders@yahoogroups.com 
, "flexawesome" <[EMAIL PROTECTED]> 
wrote:

>
> Hey there,
>
> Is there a way to retrieve the button label name once user click the
> button? ( the button label name is "CLICK HERE" and in itemRenderer )
>
>
> Main Application:
>
> http://ted.adobe.privatepaste.com/661uYqmygR 


>
>
> Components:
>
> http://ted.adobe.privatepaste.com/d70RBUknYg 


>
>
> SNOW today, stay warm
>

 


Re: [flexcoders] Re: How to retrieve the Button label name?

2008-02-22 Thread Andriy Panas
You should assign an identifier to the label, something like .

Then, in the code, you can access Label's current label by calling
'myLabel.text'.


[flexcoders] Re: How to retrieve the Button label name?

2008-02-22 Thread flexawesome

any suggestions?

Thanks




--- In flexcoders@yahoogroups.com, "flexawesome" <[EMAIL PROTECTED]> wrote:
>
> Hey there,
> 
> Is there a way to retrieve the button label name once user click the
> button? ( the button label name is "CLICK HERE" and in itemRenderer )
> 
> 
> Main Application:
> 
> http://ted.adobe.privatepaste.com/661uYqmygR
> 
> 
> Components:
> 
> http://ted.adobe.privatepaste.com/d70RBUknYg
> 
> 
> SNOW today, stay warm
>




[flexcoders] Re: Padding on a MenuBar

2008-02-22 Thread Dominic Pazula
That got it, thanks!
--- In flexcoders@yahoogroups.com, "Joan Lafferty" <[EMAIL PROTECTED]> wrote:
>
> Can you use verticalGap on the VBox?
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Dominic Pazula
> Sent: Thursday, February 21, 2008 6:40 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Padding on a MenuBar
> 
>  
> 
> I have a MenuBar above a DataGrid in a VBox. I would like the two 
to 
> meet without any padding between them. It seems MenuBar doesn't 
> implement padding styles. Aside from extending MenuBar and 
> implementing paddingTop and paddingBottom, is there another way to 
do 
> this?
> 
> If extending is the only option, does anyone have an example of 
this 
> already done?
> 
> thanks!
>




[flexcoders] IconUtility and TabBar

2008-02-22 Thread DT
Hello group, this is my first post and forgive me if this question has been 
asked before.

I am using IconUtility class written by Ben Stucki 
(http://blog.benstucki.net/?p=42), and i couldn't get it to work with TabBar 
component. Here is my MXML










 


 


 


  


and all 3 tabs show the same icon, which is the last one, Preview-32x32.png. 
Any idea how to get this to work?

Thanks.

DT




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] Re: Adventures in Focus Management

2008-02-22 Thread Matt
Okay, I finally figured this one out myself. It helped having a much
simpler example to work with, but for anyone else who runs across this
I had to call SystemManager.deactivate(c) to deactivate the Canvas
that was popped up. Further, when I re-show something in the Canvas I
need to SystemManager.activate(c) to get it to work again.

Thanks for your help. :)



[flexcoders] Re: What is the best way to compare two arrays element by element ignoring the o

2008-02-22 Thread Maciek Sakrejda
I don't believe that will do it, since the arrays aren't actually equal:
I believe Arrays (for the purposes of object comparison) are only equal
if they contain the same elements in the same order.

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Scot <[EMAIL PROTECTED]>
To: Maciek Sakrejda <[EMAIL PROTECTED]>
Subject: Re: What is the best way to compare two arrays element by
element ignoring the o
Date: Fri, 22 Feb 2008 19:10:17 -

Would ObjectUtil.compare(object1, object2); do the job?

http://livedocs.adobe.com/flex/2/langref/mx/utils/ObjectUtil.html#compare()



--- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> wrote:
>
> Extra points for higher-order function, although that is going to be
> O(n^2) (unless Array.indexOf() has a weird implementation). If you've
> got really, really big arrays (or are doing this in a tight loop) and
> you have O(n) memory to spare, you could consider building a hashmap of
> the values in Array a, and then walking Array b and checking if each
> element is in the hashmap:
> 
> var differs:Boolean = (a.length != b.length);
> if (!differs) {
>   var aContents = new Object();
>   a.forEach(function(item:Object, index:int, array:Array):void {
> aContents[item] = true;
>   });
>   differs = b.some(function(item:Object, index:int, array:Array):Boolean
> {
> return aContents[item] == null;
>   });
> }
> 
> For small-ish arrays, though, I would expect your solution to be faster
> than mine (I won't define 'small-ish', since I would honestly be pulling
> a number out of my--err, out of thin air).
> 
> Also, neither your solution nor mine handles the case where the same
> item is in one array twice (yours fails for dupes in a and mine for
> dupes in b).
> 
> -- 
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
> 
> -Original Message-
> From: Sergey Kovalyov <[EMAIL PROTECTED]>
> Reply-To: flexcoders@yahoogroups.com
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] What is the best way to compare two arrays element
> by element ignoring the order?
> Date: Fri, 22 Feb 2008 15:37:56 +0200
> 
> What is the best way to compare two arrays element by element ignoring
> the order? My solution:
> 
> var differs : Boolean =
>  (a.length != b.length) ||
>  a.some(
>   function(item : Object, index : int, array : Array) : Boolean {
>return (b.indexOf(item) == -1);
>   });
> 
> May be the better solution exists?
>







RE: [flexcoders] Padding on a MenuBar

2008-02-22 Thread Joan Lafferty
Can you use verticalGap on the VBox?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dominic Pazula
Sent: Thursday, February 21, 2008 6:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Padding on a MenuBar

 

I have a MenuBar above a DataGrid in a VBox. I would like the two to 
meet without any padding between them. It seems MenuBar doesn't 
implement padding styles. Aside from extending MenuBar and 
implementing paddingTop and paddingBottom, is there another way to do 
this?

If extending is the only option, does anyone have an example of this 
already done?

thanks!

 



[flexcoders] Re: Adventures in Focus Management

2008-02-22 Thread Matt
I've created a simple test to replicate this problem: test.mxml


When the page loads it will display two buttons: "Test" and "Test 2". 
If you click on "Test" a "Floating" button will appear in the top left
of the page. If you then click on the "Floating" button it will then
disappear and focus will be lost from the application until you
explicitly click back into the application. My problem is that I want to
explicitly give focus back to the "Test" button, but it refuses to get
it back and no matter how many times I hit tab, it never gets back to
any component. This is why I think it's another FocusManager that's
keeping me from being about to function, but I want to figure out a way
to force focus back to my application's FocusManager.

Thanks,

Matt Hicks

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I'm not clear which component  you are trying to give focus to.  Is it
> in the main app?  If you can post a mini-example we can take a look. 
In
> general, the framework should take care of restoring focus so you
> shouldn't have had to add any code.
>
>
>
> 
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Matt
> Sent: Friday, February 22, 2008 10:45 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Adventures in Focus Management
>
>
>
> Despite my spiffy title, this is a very frustrating issue I'm dealing
> with. I am clicking a button that uses PopUpManager to display a
> Container that contains items that can be clicked on. Upon click an
> item is selected and the Container is set to be invisible (NOTE: I'm
not
> using PopUpManager.removePopUp(...)). My problem is that even though I
> try to give focus back to the component via component.setFocus(), it
> does not receive tab focus like it should. I can tab perpetually and
> nothing ever highlights. If I click back onto the application or any
> component within the application I then get focus back, but only by
> physically clicking. It would appear this is PopUpManager applying
> another FocusManager for the popup container and not giving preference
> back to the default FocusManager upon setFocus(). However, I cannot
> seem to figure out a way to programmatically tell it to give focus
back
> to the default FocusManager.
>
> What I have tried:
>
>
ISystemManager(component['systemManager']).activate(IFocusManagerContain
> \
> er(parentComponent));
>
IFocusManager(component['focusManager']).setFocus(IFocusManagerComponent
> \
> (component));
> IFocusManager(component['focusManager']).showFocus();
>
> That code doesn't highlight, nor does it give tab focus. If I click a
> button that explicitly calls this it works, but I believe that's
simply
> because by clicking on the Button the default FocusManager is
activated.
> Help would be greatly appreciated.
>



Re: [flexcoders] Re: Alternate row color of DataGridColumn

2008-02-22 Thread Vadim Melnik
Hello Sreenivas,

Thanks for interesting example, just my 2c : by applying 
paddingTop/paddingBottom="0" styles, it's possible to make background color 
fitting entire data grid cell space, but it will hide row selection UI then...

Vadim.

  - Original Message - 
  From: sreeni_r 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, February 21, 2008 8:29 AM
  Subject: [flexcoders] Re: Alternate row color of DataGridColumn



  I have posted a sample here 

  http://flexpearls.blogspot.com/2008/02/alternate-row-color-in-
  datagrid-per.html

  -Sreenivas

  --- In flexcoders@yahoogroups.com, Danish Tehseen <[EMAIL PROTECTED]> 
  wrote:
  >
  > DataGrid alternate item's color can be set by datagrid's 
  alternatingItemColors property, but is there a way to change 
  alternating item color of DataGridColumn? There is a case where i 
  have to set different alternate row colors to different 
  DataGridColumn. If not possible in DataGrid, is it possible in 
  AdvanceDataGrid control.
  > 
  > Thanks & Regards,
  > 
  > Danish
  > 
  > 
  > 
  __
  __
  > Looking for last minute shopping deals? 
  > Find them fast with Yahoo! Search. 
  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
  >



   

[flexcoders] Re: How to duplicate a Component?

2008-02-22 Thread Gus
Hi,

I had a similar problem and resolved it by using the descriptor
property and the createComponentFromDescriptor method from the
Containers...

here are some samples

http://kb.adobe.com/selfservice/viewContent.do?externalId=45fc6cf2&sliceId=1

in the flex help there is a lot of documentation too..

P.S: there also an open source project called FlexReport, maybe you
could use it... is at http://www.kemelyon.com/bts/

HTH
Gus

--- In flexcoders@yahoogroups.com, "lucas_bwd" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm building an app in which I gotta print some charts. There's
> standard Printing Template, which contains header, footer, and the
> charts receive some treatment as well. So for each module, there's a
> call to my Printing class, passing the chart I want to print. The
> problem is that when I add a chart to the template (using addChild),
> it disappears. So I need to duplicate it first. But there's no such
> thing as duplicateMovieClip(). Any thoughts on that?
> Thanks,
> Lucas
>




Re: [flexcoders] if i buy flex2 now, will i have to pay again for flex3 (how soon is it?)

2008-02-22 Thread Tom McNeer
>
>
>
> > And especially this response from Matt Chotin at Adobe:
> > http://tech.groups.yahoo.com/group/flexcoders/message/96531
> >
> >
>





And given the fact that Matt's post, written on Dec. 14, says you shouldn't
be "overly concerned" about the 90-day beta period expiring before the
release date ...


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


RE: [flexcoders] if i buy flex2 now, will i have to pay again for flex3 (how soon is it?)

2008-02-22 Thread Merrill, Jason
See this Flexcoders thread and the responses:
http://tech.groups.yahoo.com/group/flexcoders/message/96423
 
And especially this response from Matt Chotin at Adobe:
http://tech.groups.yahoo.com/group/flexcoders/message/96531
 
 

Jason Merrill 
Bank of America 
GT&O L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 


Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog

and & subscribe
 . 




 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tom McNeer
Sent: Friday, February 22, 2008 2:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] if i buy flex2 now, will i have to pay
again for flex3 (how soon is it?)



Robert,


On Fri, Feb 22, 2008 at 1:48 PM, Robert Thompson
<[EMAIL PROTECTED]  >
wrote:


I need to purchase FLEX Builder 2 with Charting for the
Mac OSX (too bad Adobe doesn't provide Universal Binaries).

 


 
Well, that would be a little tough in this case, since
FlexBuilder is a plug-in for Eclipse (even the standalone version), and
Eclipse is pure Java. So Intel vs. PowerPC isn't actually an issue.



I would like to know if the date of release for FLEX
Builder 3 is close enough that I would get a free upgrade if I purchase
FLEX Builder 2 today?



I'm sure you're not the only one who would like to know that.
But Adobe doesn't announce its official release date ahead of time, and
they don't announce their upgrade policies until the release.



But I need to know now as I have a contract opportunity,
but I don't want to pay, then just pay all over againhow soon is it
to FLEX Builder 3 release date (not beta, but stable release for sale on
the site).



First off, you shouldn't worry so much about the beta. Adobe has
announced that it is the final beta, and many people are already
building production applications with it.

Second, Adobe has said publicly that the release of FlexBuilder
3 will occur sometime around the middle of the first quarter. Given the
fact that today is February 22 -- and given the fact that the 360Flex
conference begins on Monday, and Adobe has promised a "major
announcement" at the conference -- I don't think you'll have to wait too
long.





-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com  
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560 



 



RE: [flexcoders] as3 global variables - no more

2008-02-22 Thread Merrill, Jason
Global is bad and went directly against OOP.  To do it right, you want
your component to broadcast an event, and the other componet to listen
for that event and then call another method when the event is heard.
 

Jason Merrill 
Bank of America 
GT&O L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 


Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog

and & subscribe
 . 




 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dsds99
Sent: Friday, February 22, 2008 1:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] as3 global variables - no more



Yes, using global variables was easy solution to referencing
movieclips from anywhere.

I'm trying to link up my play button to play the selected track
in a
listbox. The two components are in separate classes.

one solution is that in my main class I pass a reference of the
listbox to my playbutton.

Are there alternative solutions to this...Better OOP practice.



 



RE: [flexcoders] Re: ItemEditor looses focus and then crash

2008-02-22 Thread Alex Harui
In Flex 3, set editedItemPosition = null, wait for ITEM_EDIT_END
reason=Cancelled" then callLater to post the alert.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitri Girski
Sent: Friday, February 22, 2008 6:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ItemEditor looses focus and then crash

 

Hi Andrii,

Thank you for reply. Actually, I wasn't clear on the details of the
problem - I really want to cancel editing and quit, but as soon as I
close Alert box datagrid resumes editing operation. And I don't want
this.
So the questions is - how can I cancel editing before showing the
Alert box?

Cheers,
Dmitri.

--- In flexcoders@yahoogroups.com 
, "andrii_olefirenko" <[EMAIL PROTECTED]>
wrote:
>
> I remember the same problem - I did check for event.reason ==
> DataGridEventReason.OTHER in order to prevent showing Alert window
> when the editor loses focus, not on canceling via Esc.
> In my case i couldn't use callLater because my Alert was actually
> asking (Yes/No) and not just warning
> Hope this help to solve your problem
> 
> Andrii Olefirenko
> 
> --- In flexcoders@yahoogroups.com
 , "Dmitri Girski" 
wrote:
> >
> > Hi Alex and all,
> > 
> > I was so inspired with the last victory over my focus problem
> > (http://tech.groups.yahoo.com/group/flexcoders/message/102706
 )
> > so I just went through the list of all focus related bugs.
> > 
> > I've got another case of some weird behaviour regarding the loosing
> > the focus.
> > 
> > Test case is very simple - editable DataGrid, click anywhere in the
> > cell, start editing and then press ESC key - the parent component
> > keyboard events handler will throw an Alert box. If you choose Yes
> > (discard changes and close the window) system crashes. 
> > Debugging shows that after Alert control has been closed Flex tries
to
> > resume editing in DataGrid - it starts again with editBegin event
and
> > then it crashes because system already started the removal of the
> window.
> > 
> > The question is - what I am doing wrong? 
> > 
> > SWF: 
> > http://mitek.id.au/flex/TestItemEditorEsc.html
  
> > 
> > Source code:
> > http://mitek.id.au/flex/TestItemEditorEsc.mxml
  
> > http://mitek.id.au/flex/TestItemEditor.mxml
 
> > 
> > 
> > Thanks in advance!
> > 
> > Dmitri.
> >
>

 



RE: [flexcoders] ComboBox question...

2008-02-22 Thread Tracy Spratt
Define the "prompt" attribute: ...prompt="" />

It can be empty or a string like ... prompt="Select a value" />

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [p e r c e p t i c o n]
Sent: Friday, February 22, 2008 2:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ComboBox question...

 

Hi Experts,
I'm trying to do 2 things...one...i'd like theinitial item of my
combobox to be empty...meaning not one of the selectable items, and
secondly if this is not possible...i'd like to be able to handle a click
on an already selected item...it seems that if it's the first one in the
list and you click on it the event doesn't get dispatched...
thanks
percy

 



RE: [flexcoders] How to tell a UIComponent to refresh because properties changed?

2008-02-22 Thread Alex Harui
It would need to be [Bindable("someEvent")].  It won't do much good to
have the private backing variables be bindable since nobody from the
outside can tell what events to listen to.  The pattern is that the
public property dispatches an event when changed and the Bindable
metadata tells the binding subsystem which event to look for.

For read-only props, usually some other combination of setters fire
events that update the read-only value and all of those events should be
listed.

[Bindable] by itself causes the compiler to generate function get/set
pairs and a stock propertyChange event, but it is generally more
efficient to customize the event name.  The framework never uses
[Bindable] without specifying the event name.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, February 22, 2008 6:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to tell a UIComponent to refresh because
properties changed?

On Friday 22 Feb 2008, Jerry DuVal wrote:
>  public function get displayGroupBy():Boolean

Does adding a [Bindable] here help ?

-- 
Tom Chiverton
Helping to enthusiastically scale plug-and-play bandwidth
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  A list of members is available for inspection at
the registered office. Any reference to a partner in relation to
Halliwells LLP means a member of Halliwells LLP.  Regulated by The
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links





[flexcoders] Re: if i buy flex2 now, will i have to pay again for flex3 (how soon is it?)

2008-02-22 Thread jmfillman
Given Ted Patrick's somewhat cryptic post yesterday 
(http://www.onflex.org/), I'm guessing the release of FlexBuilder 3 
is less than a week away, but I don't work for Adobe and can only 
speculate.

--- In flexcoders@yahoogroups.com, "Tom McNeer" <[EMAIL PROTECTED]> wrote:
>
> Robert,
> 
> On Fri, Feb 22, 2008 at 1:48 PM, Robert Thompson <
> [EMAIL PROTECTED]> wrote:
> 
> >   I need to purchase FLEX Builder 2 with Charting for the Mac OSX 
(too bad
> > Adobe doesn't provide Universal Binaries).
> >
> 
> 
> 
> 
> Well, that would be a little tough in this case, since FlexBuilder 
is a
> plug-in for Eclipse (even the standalone version), and Eclipse is 
pure Java.
> So Intel vs. PowerPC isn't actually an issue.
> 
> I would like to know if the date of release for FLEX Builder 3 is 
close
> > enough that I would get a free upgrade if I purchase FLEX Builder 
2 today?
> >
> 
> I'm sure you're not the only one who would like to know that. But 
Adobe
> doesn't announce its official release date ahead of time, and they 
don't
> announce their upgrade policies until the release.
> 
> But I need to know now as I have a contract opportunity, but I 
don't want to
> > pay, then just pay all over againhow soon is it to FLEX 
Builder 3
> > release date (not beta, but stable release for sale on the site).
> >
> 
> First off, you shouldn't worry so much about the beta. Adobe has 
announced
> that it is the final beta, and many people are already building 
production
> applications with it.
> 
> Second, Adobe has said publicly that the release of FlexBuilder 3 
will occur
> sometime around the middle of the first quarter. Given the fact 
that today
> is February 22 -- and given the fact that the 360Flex conference 
begins on
> Monday, and Adobe has promised a "major announcement" at the 
conference -- I
> don't think you'll have to wait too long.
> 
> 
> 
> 
> -- 
> Thanks,
> 
> Tom
> 
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>




[flexcoders] ComboBox question...

2008-02-22 Thread [p e r c e p t i c o n]
Hi Experts,
I'm trying to do 2 things...one...i'd like theinitial item of my combobox to
be empty...meaning not one of the selectable items, and secondly if this is
not possible...i'd like to be able to handle a click on an already selected
item...it seems that if it's the first one in the list and you click on it
the event doesn't get dispatched...
thanks
percy


RE: [flexcoders] ComboBox Dropdown Tooltips?

2008-02-22 Thread Alex Harui
Customize the itemRenderers in the dropdown.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wwwpl
Sent: Friday, February 22, 2008 6:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ComboBox Dropdown Tooltips?

 

I want to create ComboBox tool tips that show up over the drop down
list items. The only way I can find to do that is to do dataTips. 
But I don't like how they cover up the list text. Here is an example
that shows how to add dataTips: 
http://kanuwadhwa.wordpress.com/2007/09/20/add-tooltip-in-listcombobox-c
ontrol/
 

Is there a way I can move them over to the side like tool tips? 

I know I can do tool tips in the ComboBox control if the list items
are truncated (in a custom item renderer Label).

I have tried adding event mouseOver, mouseOut listeners to the
ComboBox.dropDown in the ComboBox creationComplete, but my listeners
don't get called.

Any ideas?

 



RE: [flexcoders] stage/ html resizing- is this possible?

2008-02-22 Thread Alex Harui
I I think this is possible via ExternalInterface and some javascript to
resize the swf object in HTML.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bmilesp
Sent: Friday, February 22, 2008 7:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] stage/ html  resizing- is this possible?

 

hello everyone,

I would like to have flex mimic a regular html page as closely as
possible. 

Specifically, i want the flex html  to RESIZE if content is
added to it, rather than simply add a scroll bar to the parent flex
container (which is normally expected of flex/flash apps).

So for example, if rows of data fill a container component, i would
like not only that container height to automatically adjust to fit
the number of rows within the container, but also adjust the height of
the stage to fit the container.

This would then make the flash object act like an html page populated
with content via javascript, which would be a really nice effect.

thanks in advance -bp

 



RE: [flexcoders] How to duplicate a Component?

2008-02-22 Thread Alex Harui
You could create a new instance of the chart and hand it the same set of
properties so it can effectively duplicate itself.

 

Today, however, you can't get screen updates once you start the print
job so if you move the chart after starting the print job it shouldn't
disappear.  However, I'm hoping this gets fixed in player 10 so we can
do background printing in which case you'll have this problem.

 

One possible way to cheat is to make a bitmap of your screen and place
that over the app while you move stuff around underneath.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lucas_bwd
Sent: Friday, February 22, 2008 8:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to duplicate a Component?

 

Hi,
I'm building an app in which I gotta print some charts. There's
standard Printing Template, which contains header, footer, and the
charts receive some treatment as well. So for each module, there's a
call to my Printing class, passing the chart I want to print. The
problem is that when I add a chart to the template (using addChild),
it disappears. So I need to duplicate it first. But there's no such
thing as duplicateMovieClip(). Any thoughts on that?
Thanks,
Lucas

 



RE: [flexcoders] as3 global variables - no more

2008-02-22 Thread Tracy Spratt
Events are the preferred solution, but from anywhere in an app,
including swfs loaded using SWFLoader, you can access any public member
in the main application scope doing:

Import mx.core.Application;

Then:

var myVar:String = Application.application.publicStringVarInMainApp;
//works for public functions and components too.

 

I typically create a var, _app:Application, to shorten the code.  If you
type _app to the exact class (file name) of the main app, you will get
the benefits of code hinting in FB.

 

Tracy

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Friday, February 22, 2008 1:50 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] as3 global variables - no more

 

- Original Message - 
From: "dsds99" <[EMAIL PROTECTED]  >
To: mailto:flexcoders%40yahoogroups.com> >
Sent: Friday, February 22, 2008 6:41 PM
Subject: [flexcoders] as3 global variables - no more

> Yes, using global variables was easy solution to referencing
> movieclips from anywhere.
>
> I'm trying to link up my play button to play the selected track in a
> listbox. The two components are in separate classes.
>
> one solution is that in my main class I pass a reference of the
> listbox to my playbutton.
>
> Are there alternative solutions to this...Better OOP practice.

I thin k you either have a class missing, or the wrong push button
class.

The button gets pressed and should fire off an event. In your
application 
there needs to be a class that responds to the pushbutton. That class is

also aware of the list, so it can know the button is pressed then access
the 
current item on the list and activate the playing.

A method of this application class can be called by the buttons click 
handler..

Paul 

 



[flexcoders] Carousel component - help yourself

2008-02-22 Thread Giles Roadnight
Hi All

A friend needed a carousel compnent the other and I had a pretty good idea
of how to implement it so I went ahead and had a go one evening.

I'm really pleased with the result and have uploaded it and the code:

http://giles.roadnight.name/components.cfm

If anyone wants to make use of it please do. I'd appreciate it if you could
let me know if you do use it.

Comments and feedback appreciated.

-- 
Giles Roadnight
http://giles.roadnight.name


RE: [flexcoders] Re: How to turn off exception messages in release version.

2008-02-22 Thread Alex Harui
Unless your user is also a Flash or Flex dev and has the debugger
player, your users will not see exceptions.  If you know where and why
you get exceptions then it is fine to use try/catch, but otherwise, you
should be glad those few Flash or Flex devs use your software and report
those errors so you can improve your code.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gaurav Jain
Sent: Friday, February 22, 2008 9:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to turn off exception messages in release
version.

 

try
{
// You code here
}
catch (error:Error)
{
// swallow the error and continue.
}

--- In flexcoders@yahoogroups.com 
, "lytvynyuk" <[EMAIL PROTECTED]> wrote:
>
> How to turn off exception messages ( e.g. ActionScript errors ) in
> release version?
>

 



Re: [flexcoders] if i buy flex2 now, will i have to pay again for flex3 (how soon is it?)

2008-02-22 Thread Tom McNeer
Robert,

On Fri, Feb 22, 2008 at 1:48 PM, Robert Thompson <
[EMAIL PROTECTED]> wrote:

>   I need to purchase FLEX Builder 2 with Charting for the Mac OSX (too bad
> Adobe doesn't provide Universal Binaries).
>




Well, that would be a little tough in this case, since FlexBuilder is a
plug-in for Eclipse (even the standalone version), and Eclipse is pure Java.
So Intel vs. PowerPC isn't actually an issue.

I would like to know if the date of release for FLEX Builder 3 is close
> enough that I would get a free upgrade if I purchase FLEX Builder 2 today?
>

I'm sure you're not the only one who would like to know that. But Adobe
doesn't announce its official release date ahead of time, and they don't
announce their upgrade policies until the release.

But I need to know now as I have a contract opportunity, but I don't want to
> pay, then just pay all over againhow soon is it to FLEX Builder 3
> release date (not beta, but stable release for sale on the site).
>

First off, you shouldn't worry so much about the beta. Adobe has announced
that it is the final beta, and many people are already building production
applications with it.

Second, Adobe has said publicly that the release of FlexBuilder 3 will occur
sometime around the middle of the first quarter. Given the fact that today
is February 22 -- and given the fact that the 360Flex conference begins on
Monday, and Adobe has promised a "major announcement" at the conference -- I
don't think you'll have to wait too long.




-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


RE: [flexcoders] Adventures in Focus Management

2008-02-22 Thread Alex Harui
I'm not clear which component  you are trying to give focus to.  Is it
in the main app?  If you can post a mini-example we can take a look.  In
general, the framework should take care of restoring focus so you
shouldn't have had to add any code.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt
Sent: Friday, February 22, 2008 10:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adventures in Focus Management

 

Despite my spiffy title, this is a very frustrating issue I'm dealing
with. I am clicking a button that uses PopUpManager to display a
Container that contains items that can be clicked on. Upon click an
item is selected and the Container is set to be invisible (NOTE: I'm not
using PopUpManager.removePopUp(...)). My problem is that even though I
try to give focus back to the component via component.setFocus(), it
does not receive tab focus like it should. I can tab perpetually and
nothing ever highlights. If I click back onto the application or any
component within the application I then get focus back, but only by
physically clicking. It would appear this is PopUpManager applying
another FocusManager for the popup container and not giving preference
back to the default FocusManager upon setFocus(). However, I cannot
seem to figure out a way to programmatically tell it to give focus back
to the default FocusManager.

What I have tried:

ISystemManager(component['systemManager']).activate(IFocusManagerContain
\
er(parentComponent));
IFocusManager(component['focusManager']).setFocus(IFocusManagerComponent
\
(component));
IFocusManager(component['focusManager']).showFocus();

That code doesn't highlight, nor does it give tab focus. If I click a
button that explicitly calls this it works, but I believe that's simply
because by clicking on the Button the default FocusManager is activated.
Help would be greatly appreciated.

 



Re: [flexcoders] FileReference woes....

2008-02-22 Thread Jon Bradley


On Feb 22, 2008, at 12:56 PM, e_baggg wrote:


Using a packet sniffer, I see the jsessionID is not getting included
in the FF POST request. I have seen blogs to tack it on the parameter
request but that will not work for me (it has to be a header). This
had worked in the past so I am not sure what went wrong. I was on the
prerelease version of FB3 (pointing to 2.0.1 hotfix 3)...so i thought
it might be my Flash player. I reinstalled the Flash Players for IE
and FF from the main Adobe site and no luck. I tried building the swf
from FlexBuilder 2...no dice. Really at a loss here. Any thoughts from
anyone?



Man... what I'd be really interested in knowing is how in the world  
it worked in the first place. AFAIK, file uploads with session  
required have always been broken in FF - I don't know of any instance  
where it worked without passing the session details back to the server.


Was there a change in your upload code in JSP to require  
authentication? I found the error when our server was setup for  
authentication but the code accepting the file upload ignored the  
session details.


Open Bug (there may be others)

http://bugs.adobe.com/jira/browse/SDK-13196

good luck with it..

- j

Re: [flexcoders] as3 global variables - no more

2008-02-22 Thread Aaron Miller
One way is to use singleton classes.


# package pkg {
#
# public class SingletonClass  {
#
#  public var someVar:String = 'Hello World';
#
#   //singleton instance makes sure there is only one instance of the class
#   static private var myInstance:SingletonClass;
#
#   public function SingletonClass( singletonEnforcer:SingletonEnforcer ){}
#
#   //returns an instance to the node and enforces singleton class
#   public static function getInstance( ): SingletonClass  {
#
# if( SingletonClass .myInstance == null )
#   SingletonClass.myInstance = new SingletonClass( new
SingletonEnforcer() );
#
# return SingletonClass.myInstance;
#   }
#
# }
# }
#
#
# //publicly inacsessable dummy class used to enforce signleton
# class SingletonEnforcer { }

Your class instance could then be accessed anywhere in the application with:

# import pkg.SingletonClass;
#
# trace( SingletonClass.getInstance().someVar );

Regards,
~Aaron

On 2/22/08, dsds99 <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Yes, using global variables was easy solution to referencing
> movieclips from anywhere.
>
> I'm trying to link up my play button to play the selected track in a
> listbox. The two components are in separate classes.
>
> one solution is that in my main class I pass a reference of the
> listbox to my playbutton.
>
> Are there alternative solutions to this...Better OOP practice.
>
> 



-- 
Aaron Miller
Chief Technology Officer
Splash Labs, LLC.
[EMAIL PROTECTED]  |  360-255-1145
http://www.splashlabs.com


Re: [flexcoders] as3 global variables - no more

2008-02-22 Thread Paul Andrews
- Original Message - 
From: "dsds99" <[EMAIL PROTECTED]>
To: 
Sent: Friday, February 22, 2008 6:41 PM
Subject: [flexcoders] as3 global variables - no more


> Yes, using global variables was easy solution to referencing
> movieclips from anywhere.
>
> I'm trying to link up my play button to play the selected track in a
> listbox. The two components are in separate classes.
>
> one solution is that in my main class I pass a reference of the
> listbox to my playbutton.
>
> Are there alternative solutions to this...Better OOP practice.

I thin k you either have a class missing, or the wrong push button class.

The button gets pressed and should fire off an event. In your application 
there needs to be a class that responds to the pushbutton. That class is 
also aware of the list, so it can know the button is pressed then access the 
current item on the list and activate the playing.

A method of this application class can be called by the buttons click 
handler..

Paul 



[flexcoders] How to retrieve the Button label name?

2008-02-22 Thread flexawesome
Hey there,

Is there a way to retrieve the button label name once user click the
button? ( the button label name is "CLICK HERE" and in itemRenderer )


Main Application:

http://ted.adobe.privatepaste.com/661uYqmygR


Components:

http://ted.adobe.privatepaste.com/d70RBUknYg


SNOW today, stay warm



[flexcoders] if i buy flex2 now, will i have to pay again for flex3 (how soon is it?)

2008-02-22 Thread Robert Thompson
I need to purchase FLEX Builder 2 with Charting for the Mac OSX (too bad Adobe 
doesn't provide Universal Binaries).

I would like to know if the date of release for FLEX Builder 3 is close enough 
that I would get a free upgrade if I purchase FLEX Builder 2 today?

Usually companies do this for 90 days, sometimes longer.

But I need to know now as I have a contract opportunity, but I don't want to 
pay, then just pay all over againhow soon is it to FLEX Builder 3 release 
date (not beta, but stable release for sale on the site).

-r

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

[flexcoders] Adventures in Focus Management

2008-02-22 Thread Matt
Despite my spiffy title, this is a very frustrating issue I'm dealing
with.  I am clicking a button that uses PopUpManager to display a
Container that contains items that can be clicked on.  Upon click an
item is selected and the Container is set to be invisible (NOTE: I'm not
using PopUpManager.removePopUp(...)).  My problem is that even though I
try to give focus back to the component via component.setFocus(), it
does not receive tab focus like it should.  I can tab perpetually and
nothing ever highlights.  If I click back onto the application or any
component within the application I then get focus back, but only by
physically clicking.  It would appear this is PopUpManager applying
another FocusManager for the popup container and not giving preference
back to the default FocusManager upon setFocus().  However, I cannot
seem to figure out a way to programmatically tell it to give focus back
to the default FocusManager.

What I have tried:

ISystemManager(component['systemManager']).activate(IFocusManagerContain\
er(parentComponent));
IFocusManager(component['focusManager']).setFocus(IFocusManagerComponent\
(component));
IFocusManager(component['focusManager']).showFocus();

That code doesn't highlight, nor does it give tab focus.  If I click a
button that explicitly calls this it works, but I believe that's simply
because by clicking on the Button the default FocusManager is activated.
Help would be greatly appreciated.




[flexcoders] as3 global variables - no more

2008-02-22 Thread dsds99
Yes, using global variables was easy solution to referencing
movieclips from anywhere.

I'm trying to link up my play button to play the selected track in a
listbox. The two components are in separate classes.

one solution is that in my main class I pass a reference of the
listbox to my playbutton.

Are there alternative solutions to this...Better OOP practice.



[flexcoders] DateTimeAxis does not work correctly when "minField" set?

2008-02-22 Thread Nate Pearson
hey, I'm trying to make some floating bars with dates.  If minField is
set under my bar series the dates come up at 1908 and 1909.  If i
remove minField the dates work correctly. Any ideas?

Code below.  Place the xml file in date/SampleData.xml.  Try it once
the way it is and once without the "minField"


http://www.adobe.com/2006/mxml";
layout="absolute">








  


























[flexcoders] Chart Category Axis Label Word Wrap

2008-02-22 Thread Nate Pearson
Is there an easy way to wrap the text on a category axis label of a
chart?  

I'm thinking I have to use a label function and count the width in
chars that I want then add line breaks to it...not sure what i use as
a line break char (/n?).  

Thanks,

Nate



Re: [flexcoders] flex version of html float?

2008-02-22 Thread Eric Cancil
Maciek, I'm going to shoot you an email.

On Fri, Feb 22, 2008 at 12:44 PM, Maciek Sakrejda <[EMAIL PROTECTED]>
wrote:

>   Eric,
>
> I looked at the source, and it seems like your container does not
> support horizontalAlign="center" and verticalAlign="middle" (unless I'm
> missing something). Any chance of adding that support? It's the main
> thing keeping us with the FlowBox from FlexLib. If you're not interested
> in adding that support, would you accept a patch (I can't guarantee I'll
> have time to actually implement this, but my company is certainly
> interested in a better flow container)?
>
> Thanks,
>
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
>
> -Original Message-
> From: Eric Cancil <[EMAIL PROTECTED] >
> Reply-To: flexcoders@yahoogroups.com 
> To: flexcoders@yahoogroups.com 
> Subject: Re: [flexcoders] flex version of html float?
> Date: Fri, 22 Feb 2008 11:36:24 -0500
>
> Hi, I have created a flow container component that fixed a lot of the
> bugs that existed in the one that existed in FlexLib - you can find it
> at http://blog.3r1c.net/?p=89
>
> On Fri, Feb 22, 2008 at 11:07 AM, Maciek Sakrejda
> <[EMAIL PROTECTED] > wrote:
> Jerry, check out the FlowBox container from FlexLib:
>
>
>
>
> http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf
>
> http://code.google.com/p/flexlib/
>
>
> I haven't actually used it for adjusting layout when resizing:
> we need
> to handle layout of a varying set of children of different
> sizes. It
> does have some quirks, but it works reasonably well.
>
> A friend also suggested Eric Cancil's FlowContainer:
>
> http://blog.3r1c.net/?p=89
>
> I have not tried it yet, but have been meaning to.
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
>
>
>
> -Original Message-
> From: Jerry DuVal <[EMAIL PROTECTED] >
> Reply-To: flexcoders@yahoogroups.com 
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] flex version of html float?
> Date: Thu, 21 Feb 2008 18:21:51 -0500
>
> I have a HBox that contains form items. When the window is
> resized to a
> smaller window flex automatically places the horizontal scroll
> bar. Is
> there any way to float the items to the next line instead of
> having the
> scroll bar.
>
> 
>
> 
>
> 
>
> 
>
>  text="bar"/>
>
> 
>
> 
>
>  id="expressionField" text="foo"/>
>
> 
>
> 
>
> 
>
> 
>
>  text="{parentDocument.field.description}" editable="true"
> width="355"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.checkAll}"/>
>
> 
>
> 
>
> 
>
> 
>
>  selected="{parentDocument.field.noWrap}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.autosize}"/>
>
> 
>
> 
>
>  text="{parentDocument.field.size}" editable="true" width="40"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.hidden}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.editable}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.required}"/>
>
> 
>
> 
>
> 
>
> 
>
> Jerry DuVal
>
> Pace Systems Group, Inc.
>
> 800.624.5999
>
> www.Pace2020.com
>
>
>
>  
>


[flexcoders] Menu labels do not display (Full screen mode, Windows Firefox 2.0)

2008-02-22 Thread Robert Csiki

Hello,

Just wondering if this is a known Firefox plugin issue or I'm doing
something wrong. When running this with firefox in full screen mode, the
second menuitem does not display the label when the menu pops up;
sometimes even the first one behaves the same. On Firefox but normal
mode, everything is fine. On IE (both normal and full screen modes)
everything is fine.

Any ideas? Thanks in advance. Here's the code:

 // menu-specific variables
 private var point1:Point = new Point();
 private var myMenu:Menu;

 // Create and display the Menu control.
 private function showSaveMenu():void
 {
 myMenu = Menu.createMenu(this, saveMenu, false);
 myMenu.labelField ="@label"
 myMenu.addEventListener("itemClick", menuHandler);

 // Calculate position of Menu in Application's
coordinates.
 point1.x=saveBttn.x;
 point1.y=saveBttn.y;
 point1=saveBttn.localToGlobal(point1);

myMenu.show(point1.x - 115, point1.y + 25);
 }


  
 
 
 
 
 








[flexcoders] FileReference woes....

2008-02-22 Thread e_baggg
I am rather experienced with the FileReference class but have come
across a major problem. Basically, the file uploading just stopped
working. It works for me in IE (though I still receive the "Error 203"
File I/O Error which on the server is a 403 'not authenticated). It
does not work at all in Firefox for me (same error). So it is clear
Tomcat is not receiving the jsessionID header (which I validated with
a packet sniffer). IE is receiving it which is why that works though
I'm confused as to why I get the error if the upload took.

I am using Tomcat to handle my uploads. Basically, we use a JSP for
the  user to login (which adds the jsessionID header) and then
redirect the user to Flex app (.html and .swf) upon valid login. From
there, any upload should (and did) pass that header. But that stopped
working and now the errors. 

Using a packet sniffer, I see the jsessionID is not getting included
in the FF POST request. I have seen blogs to tack it on the parameter
request but that will not work for me (it has to be a header). This
had worked in the past so I am not sure what went wrong. I was on the
prerelease version of FB3 (pointing to 2.0.1 hotfix 3)...so i thought
it might be my Flash player. I reinstalled the Flash Players for IE
and FF from the main Adobe site and no luck. I tried building the swf
from FlexBuilder 2...no dice. Really at a loss here. Any thoughts from
anyone?

Cheers,
Kevin



[flexcoders] Re: How to turn off exception messages in release version.

2008-02-22 Thread Gaurav Jain
try
{
// You code here
}
catch (error:Error)
{
// swallow the error and continue.
}

--- In flexcoders@yahoogroups.com, "lytvynyuk" <[EMAIL PROTECTED]> wrote:
>
> How to turn off exception messages ( e.g. ActionScript errors ) in
> release version?
>




RE: [flexcoders] How to turn off exception messages in release version.

2008-02-22 Thread Beau Scott
I’ve always wondered and have been too lazy to try, but if you don’t have
the debug version of the flash play installed, do you still get the
exception messages?

 

Beau

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Friday, February 22, 2008 10:43 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to turn off exception messages in release
version.

 

- Original Message - 
From: "lytvynyuk" mailto:lytvynyuk%40yahoo.com"[EMAIL PROTECTED]>
To: mailto:flexcoders%40yahoogroups.com"flexcoders@yahoogroups.com>
Sent: Friday, February 22, 2008 5:40 PM
Subject: [flexcoders] How to turn off exception messages in release version.

> How to turn off exception messages ( e.g. ActionScript errors ) in
> release version?

Fix the errors? 

 

 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM
 

<><>

Re: [flexcoders] How to turn off exception messages in release version.

2008-02-22 Thread Paul Andrews
- Original Message - 
From: "lytvynyuk" <[EMAIL PROTECTED]>
To: 
Sent: Friday, February 22, 2008 5:40 PM
Subject: [flexcoders] How to turn off exception messages in release version.


> How to turn off exception messages ( e.g. ActionScript errors ) in
> release version?

Fix the errors? 



Re: [flexcoders] flex version of html float?

2008-02-22 Thread Maciek Sakrejda
Eric,

I looked at the source, and it seems like your container does not
support horizontalAlign="center" and verticalAlign="middle" (unless I'm
missing something). Any chance of adding that support? It's the main
thing keeping us with the FlowBox from FlexLib. If you're not interested
in adding that support, would you accept a patch (I can't guarantee I'll
have time to actually implement this, but my company is certainly
interested in a better flow container)?

Thanks,
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Eric Cancil <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] flex version of html float?
Date: Fri, 22 Feb 2008 11:36:24 -0500

Hi, I have created a flow container component that fixed a lot of the
bugs that existed in the one that existed in FlexLib - you can find it
at http://blog.3r1c.net/?p=89




On Fri, Feb 22, 2008 at 11:07 AM, Maciek Sakrejda
<[EMAIL PROTECTED]> wrote:
Jerry, check out the FlowBox container from FlexLib:




http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf

http://code.google.com/p/flexlib/


I haven't actually used it for adjusting layout when resizing:
we need
to handle layout of a varying set of children of different
sizes. It
does have some quirks, but it works reasonably well.

A friend also suggested Eric Cancil's FlowContainer:

http://blog.3r1c.net/?p=89

I have not tried it yet, but have been meaning to.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com



-Original Message-
From: Jerry DuVal <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex version of html float?
Date: Thu, 21 Feb 2008 18:21:51 -0500

I have a HBox that contains form items. When the window is
resized to a
smaller window flex automatically places the horizontal scroll
bar. Is
there any way to float the items to the next line instead of
having the
scroll bar. 

















































































Jerry DuVal

Pace Systems Group, Inc.

800.624.5999

www.Pace2020.com




 




[flexcoders] How to turn off exception messages in release version.

2008-02-22 Thread lytvynyuk
How to turn off exception messages ( e.g. ActionScript errors ) in
release version?



[flexcoders] Brajeshwar wants to keep up with you on Twitter

2008-02-22 Thread Brajeshwar
To find out more about Twitter, visit the link below:

http://twitter.com/i/295c8c238aa325b226f53f3f9beb55e76528e441

Thanks,
-The Twitter Team

About Twitter

Twitter is a unique approach to communication and networking based on the 
simple concept of status. What are you doing? What are your friends doing—right 
now? With Twitter, you may answer this question over SMS, IM, or the Web and 
the responses are shared between contacts.


Re: [flexcoders] What is the best way to compare two arrays element by element ignoring the order?

2008-02-22 Thread Maciek Sakrejda
Extra points for higher-order function, although that is going to be
O(n^2) (unless Array.indexOf() has a weird implementation). If you've
got really, really big arrays (or are doing this in a tight loop) and
you have O(n) memory to spare, you could consider building a hashmap of
the values in Array a, and then walking Array b and checking if each
element is in the hashmap:

var differs:Boolean = (a.length != b.length);
if (!differs) {
  var aContents = new Object();
  a.forEach(function(item:Object, index:int, array:Array):void {
aContents[item] = true;
  });
  differs = b.some(function(item:Object, index:int, array:Array):Boolean
{
return aContents[item] == null;
  });
}

For small-ish arrays, though, I would expect your solution to be faster
than mine (I won't define 'small-ish', since I would honestly be pulling
a number out of my--err, out of thin air).

Also, neither your solution nor mine handles the case where the same
item is in one array twice (yours fails for dupes in a and mine for
dupes in b).

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Sergey Kovalyov <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What is the best way to compare two arrays element
by element ignoring the order?
Date: Fri, 22 Feb 2008 15:37:56 +0200

What is the best way to compare two arrays element by element ignoring
the order? My solution:

var differs : Boolean =
 (a.length != b.length) ||
 a.some(
  function(item : Object, index : int, array : Array) : Boolean {
   return (b.indexOf(item) == -1);
  });

May be the better solution exists?


 




Re: [flexcoders] flex version of html float?

2008-02-22 Thread Eric Cancil
My component is a completely different component / implementation than what
is in flexLib - i have no control over flexlib - someone would have to speak
with those in charge of flexlib

On Fri, Feb 22, 2008 at 11:43 AM, Carl-Alexandre Malartre <
[EMAIL PROTECTED]> wrote:

>Hi Eric, will you commit it back in FlexLib?
>
>
>
> Thanks,
> Carl
>
> Carl-Alexandre Malartre
> Directeur de projets, Scolab
> 514-528-8066, 1-888-528-8066
>
> Besoin d'aide en maths?
> www.Netmaths.net
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Eric Cancil
> *Sent:* Friday, February 22, 2008 11:36 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] flex version of html float?
>
>
>
> Hi, I have created a flow container component that fixed a lot of the bugs
> that existed in the one that existed in FlexLib - you can find it 
> athttp://blog.3r1c.net/?p=89
>
>  On Fri, Feb 22, 2008 at 11:07 AM, Maciek Sakrejda <[EMAIL PROTECTED]>
> wrote:
>
> Jerry, check out the FlowBox container from FlexLib:
>
>
>
>
> http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf
>
> http://code.google.com/p/flexlib/
>
> I haven't actually used it for adjusting layout when resizing: we need
> to handle layout of a varying set of children of different sizes. It
> does have some quirks, but it works reasonably well.
>
> A friend also suggested Eric Cancil's FlowContainer:
>
> http://blog.3r1c.net/?p=89
>
> I have not tried it yet, but have been meaning to.
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
>
>
>
> -Original Message-
> From: Jerry DuVal <[EMAIL PROTECTED] >
> Reply-To: flexcoders@yahoogroups.com 
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] flex version of html float?
> Date: Thu, 21 Feb 2008 18:21:51 -0500
>
> I have a HBox that contains form items. When the window is resized to a
> smaller window flex automatically places the horizontal scroll bar. Is
> there any way to float the items to the next line instead of having the
> scroll bar.
>
> 
>
> 
>
> 
>
> 
>
>  text="bar"/>
>
> 
>
> 
>
>  id="expressionField" text="foo"/>
>
> 
>
> 
>
> 
>
> 
>
>  text="{parentDocument.field.description}" editable="true" width="355"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.checkAll}"/>
>
> 
>
> 
>
> 
>
> 
>
>  selected="{parentDocument.field.noWrap}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.autosize}"/>
>
> 
>
> 
>
>  text="{parentDocument.field.size}" editable="true" width="40"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.hidden}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.editable}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.required}"/>
>
> 
>
> 
>
> 
>
> 
>
> Jerry DuVal
>
> Pace Systems Group, Inc.
>
> 800.624.5999
>
> www.Pace2020.com
>
>
>
>   
>


RE: [flexcoders] HTTP service, XML with namespaces

2008-02-22 Thread Beau Scott
Try this:

 

 

public namespace itunesNS = "http://www.itunes.com/";;

use namespace itunesNS;

 

Obviously you’d need to change what the itunes namespace value really is.

 

Beau

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bobby_world
Sent: Friday, February 22, 2008 9:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTP service, XML with namespaces

 

Can someone post an example of how to get XML from an HTTP service that uses

Namespace?

I am trying to parse a RSS feed from a podcast with a namespace of itunes:

Thanks
Bobby

 

 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.9/1291 - Release Date: 2/21/2008
11:05 AM


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1293 - Release Date: 2/22/2008
9:21 AM
 

<><>

RE: [flexcoders] flex version of html float?

2008-02-22 Thread Carl-Alexandre Malartre
Hi Eric, will you commit it back in FlexLib?

 

Thanks,
Carl

Carl-Alexandre Malartre
Directeur de projets, Scolab
514-528-8066, 1-888-528-8066

Besoin d'aide en maths?
www.Netmaths.net

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cancil
Sent: Friday, February 22, 2008 11:36 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] flex version of html float?

 

Hi, I have created a flow container component that fixed a lot of the bugs
that existed in the one that existed in FlexLib - you can find it at
http://blog.3r1c.net/?p=89  



On Fri, Feb 22, 2008 at 11:07 AM, Maciek Sakrejda <[EMAIL PROTECTED]>
wrote:

Jerry, check out the FlowBox container from FlexLib:



http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf

http://code.google.com/p/flexlib/

I haven't actually used it for adjusting layout when resizing: we need
to handle layout of a varying set of children of different sizes. It
does have some quirks, but it works reasonably well.

A friend also suggested Eric Cancil's FlowContainer:

http://blog.3r1c.net/?p=89

I have not tried it yet, but have been meaning to.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com



-Original Message-
From: Jerry DuVal <[EMAIL PROTECTED]  >
Reply-To: flexcoders@yahoogroups.com  
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] flex version of html float?
Date: Thu, 21 Feb 2008 18:21:51 -0500

I have a HBox that contains form items. When the window is resized to a
smaller window flex automatically places the horizontal scroll bar. Is
there any way to float the items to the next line instead of having the
scroll bar. 

















































































Jerry DuVal

Pace Systems Group, Inc.

800.624.5999

www.Pace2020.com

 

 



Re: [flexcoders] flex version of html float?

2008-02-22 Thread Eric Cancil
Hi, I have created a flow container component that fixed a lot of the bugs
that existed in the one that existed in FlexLib - you can find it
athttp://blog.3r1c.net/?p=89


On Fri, Feb 22, 2008 at 11:07 AM, Maciek Sakrejda <[EMAIL PROTECTED]>
wrote:

>   Jerry, check out the FlowBox container from FlexLib:
>
>
>
> http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf
> http://code.google.com/p/flexlib/
>
> I haven't actually used it for adjusting layout when resizing: we need
> to handle layout of a varying set of children of different sizes. It
> does have some quirks, but it works reasonably well.
>
> A friend also suggested Eric Cancil's FlowContainer:
>
> http://blog.3r1c.net/?p=89
>
> I have not tried it yet, but have been meaning to.
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
>
>
> -Original Message-
> From: Jerry DuVal <[EMAIL PROTECTED] >
> Reply-To: flexcoders@yahoogroups.com 
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] flex version of html float?
> Date: Thu, 21 Feb 2008 18:21:51 -0500
>
> I have a HBox that contains form items. When the window is resized to a
> smaller window flex automatically places the horizontal scroll bar. Is
> there any way to float the items to the next line instead of having the
> scroll bar.
>
> 
>
> 
>
> 
>
> 
>
>  text="bar"/>
>
> 
>
> 
>
>  id="expressionField" text="foo"/>
>
> 
>
> 
>
> 
>
> 
>
>  text="{parentDocument.field.description}" editable="true" width="355"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.checkAll}"/>
>
> 
>
> 
>
> 
>
> 
>
>  selected="{parentDocument.field.noWrap}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.autosize}"/>
>
> 
>
> 
>
>  text="{parentDocument.field.size}" editable="true" width="40"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.hidden}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.editable}"/>
>
> 
>
> 
>
>  selected="{parentDocument.field.required}"/>
>
> 
>
> 
>
> 
>
> 
>
> Jerry DuVal
>
> Pace Systems Group, Inc.
>
> 800.624.5999
>
> www.Pace2020.com
>
>  
>


[flexcoders] HTTP service, XML with namespaces

2008-02-22 Thread bobby_world
Can someone post an example of how to get XML from an HTTP service that uses 
Namespace?

I am trying to parse a RSS feed from a podcast with a namespace of itunes:

Thanks
Bobby



[flexcoders] How to duplicate a Component?

2008-02-22 Thread lucas_bwd
Hi,
I'm building an app in which I gotta print some charts. There's
standard Printing Template, which contains header, footer, and the
charts receive some treatment as well. So for each module, there's a
call to my Printing class, passing the chart I want to print. The
problem is that when I add a chart to the template (using addChild),
it disappears. So I need to duplicate it first. But there's no such
thing as duplicateMovieClip(). Any thoughts on that?
Thanks,
Lucas



Re: [flexcoders] flex version of html float?

2008-02-22 Thread Maciek Sakrejda
Jerry, check out the FlowBox container from FlexLib:

http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf
http://code.google.com/p/flexlib/

I haven't actually used it for adjusting layout when resizing: we need
to handle layout of a varying set of children of different sizes. It
does have some quirks, but it works reasonably well.

A friend also suggested Eric Cancil's FlowContainer:

http://blog.3r1c.net/?p=89

I have not tried it yet, but have been meaning to.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Jerry DuVal <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex version of html float?
Date: Thu, 21 Feb 2008 18:21:51 -0500

I have a HBox that contains form items.  When the window is resized to a
smaller window flex automatically places the horizontal scroll bar.  Is
there any way to float the items to the next line instead of having the
scroll bar.  

 

















































































 

Jerry DuVal

Pace Systems Group, Inc.

800.624.5999

www.Pace2020.com

 


 




[flexcoders] Re: flex version of html float?

2008-02-22 Thread Gus
you could try the FlowBox in the flexlib

http://code.google.com/p/flexlib/wiki/ComponentList
Sample:
http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf

HTH
Gus

--- In flexcoders@yahoogroups.com, "Jerry DuVal" <[EMAIL PROTECTED]> wrote:
>
> I have a HBox that contains form items.  When the window is resized to a
> smaller window flex automatically places the horizontal scroll bar.  Is
> there any way to float the items to the next line instead of having the
> scroll bar.  
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  text="bar"/>
> 
> 
> 
> 
> 
>  text="foo"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  text="{parentDocument.field.description}" editable="true" width="355"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.checkAll}"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.noWrap}"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.autosize}"/>
> 
> 
> 
> 
> 
>  text="{parentDocument.field.size}" editable="true" width="40"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.hidden}"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.editable}"/>
> 
> 
> 
> 
> 
>  selected="{parentDocument.field.required}"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Jerry DuVal
> 
> Pace Systems Group, Inc.
> 
> 800.624.5999
> 
> www.Pace2020.com
>




[flexcoders] stage/ html resizing- is this possible?

2008-02-22 Thread bmilesp
hello everyone,

I would like to have flex mimic a regular html page as closely as
possible. 

Specifically, i want the flex html  to RESIZE if content is
added to it, rather than simply add a scroll bar to the parent flex
container (which is normally expected of flex/flash apps).

So for example, if rows of data fill a container component, i would
like  not only that container height to automatically adjust to fit
the number of rows within the container, but also adjust the height of
the stage to fit the container.

This would then make the flash object act like an html page populated
with content via javascript, which would be a really nice effect.

thanks in advance -bp







Re: [flexcoders] Sprite.children

2008-02-22 Thread Troy Gilbert
> In my Sprite object, how come I can't do:
>
>  for each( var child:Sprite in this.children ) {
>  // do something
>  }
>
>  I can do a simple for loop, but this can not be run in parallel on a
>  multicore chip. Whereas the above code could (100 children, 100 cores
>  on my chip = each core runs the code)

In theory, yes, a foreach could be optimized by a compiler to leverage
mutlicores whereas a forloop cannot... but in the case of Flash, in
particular the AVM2 (the Actionscript Virtual Machine v2) is not
designed to distribute code across multiple cores.

If that's something that you're looking for, Flash may be the wrong
environment for you... ;-)

Troy.


[flexcoders] Re: how does mx:DataGrid state work?

2008-02-22 Thread fourctv
try this:
- set the column width to 0 for the hidden columns
- make sure datagrid's horizontalScrollPolicy is set to 'auto'.

I've had similar situations where non-visible columns would reappear if you 
simply resized  
a visible column. The trick above fixed it for me.

hth
julio

--- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote:
>
> 
> yes. i think that's the case.
> 
> thanks
> 
> 
> 
> 
> Alex Harui wrote:
> > 
> > In certain cases, resetting the DP can reset the columns.
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> > Behalf Of coder3
> > Sent: Thursday, February 21, 2008 10:34 AM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] how does mx:DataGrid state work?
> > 
> >  
> > 
> > 
> > no. i am not doing anything to the columns. just want it to use the new
> > data.. 
> > 
> > but seems like it automatically resets the columns to all.
> > 
> > -c
> > 
> > Alex Harui wrote:
> >> 
> >> If you refresh, are you resetting the set of columns?
> >> 
> >> 
> >> 
> >> 
> >> 
> >> From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com 
> > ] On
> >> Behalf Of coder3
> >> Sent: Wednesday, February 20, 2008 11:26 AM
> >> To: flexcoders@yahoogroups.com  
> >> Subject: [flexcoders] how does mx:DataGrid state work?
> >> 
> >> 
> >> 
> >> 
> >> Hi All,
> >> 
> >> I am trying to use "state" to change to column fields of mx:DataGrid.
> >> 
> >> for example, if it's state1, i show column1, column3 only. if it's
> >> state2, i
> >> show column2, column3 only.
> >> 
> >> so i made it this way:
> >> 
> >>  
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >>  
> >> 
> >> it works fine right after i change the state. but if i refresh the
> >> table,
> >> even it's still in the same state, all the columns will show. 
> >> 
> >> did i do it wrong? what's the right approach?
> >> 
> >> thanks!!
> >> 
> >> c.
> >> -- 
> >> View this message in context:
> >>
> > http://www.nabble.com/how-does-mx%3ADataGrid-state-work--
tp15596181p1559
> >  > 9> 
> >> 6181.html
> >>
> >  >  >> 
> >> 96181.html> 
> >> Sent from the FlexCoders mailing list archive at Nabble.com.
> >> 
> >> 
> >> 
> >> 
> >> 
> > 
> > -- 
> > View this message in context:
> > http://www.nabble.com/how-does-mx%3ADataGrid-state-work--
tp15596181p1561
> > 7934.html
> >  > 17934.html> 
> > Sent from the FlexCoders mailing list archive at Nabble.com.
> > 
> >  
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/how-does-mx%3ADataGrid-
state-work--tp15596181p15628582.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>





Re: [flexcoders] Inherit from sprite - can't set alpha?

2008-02-22 Thread Troy Gilbert
>  I have a number of objects which inherit from Sprite, in my new
>  object when I set this.alpha = 0.3 the object still shows opaque.

No idea why this would occur. Unless I'm having a brain fart, you're
doing everything right.

>  Also, say Bar contains many children - would all of these also
>  become alpha=0.3? I want them to all fade out...

Yes, any kind of "color transform" (like alpha) or "spatial transform"
(like scale, x, y, rotation) are concatenated down the DisplayList
hierarchy. Note: the alpha value of your children will still be their
original values, they're just multiplied by their parent's values when
rendered.

Troy.


[flexcoders] Re: Web conferencing with Flex

2008-02-22 Thread Glenn Williams
I'm amazed by the negative views on Adobes Collaborative
  software. It's truly wonderful
stuff.

 

I'm not sure if you are aware but they are in the processes of final
development and release of an API called Cocomo
 .

 

The API contains all the base class used in building Adobe Biro. This is not
a Biro API, rather a class library for building flex, actionScpit 3
Collaborative applications. It you company didn't like Biro, or connect,
then get the API when it's available and use the base classes  and Adobes
Servers to build your own UI. Amazing! 

 

Building this kind of application from the ground up, and not taking
advantage of these tools is beyond reason.

 

At the moment the private beta is closed (I also just missed out on the
sign-up, but have been following Cocomo's progress with excitement). I for
one will jump on this library as soon as I'm able, I can hardly wait.

 

 

 

Glenn Williams



[EMAIL PROTECTED]

 

 

 



RE: [flexcoders]Flex Charting - Export to PDF and Images

2008-02-22 Thread Carl-Alexandre Malartre
Your server software could start an instance of an Air app (with some
command line parameters). That Air app could use an ActionScript 3 JPEG or
PNG encoder and output it to a folder specified in the parameters.

 

Thanks,
Carl

Carl-Alexandre Malartre
Directeur de projets, Scolab
514-528-8066, 1-888-528-8066

Besoin d'aide en maths?
www.Netmaths.net

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eduardo Dias
Sent: Friday, February 22, 2008 8:49 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]Flex Charting - Export to PDF and Images

 

we know that itext can generate the pdf in the server, but and about the
image? are there any way to generate an image from flex chart in the
server-side?




On Thu, Feb 21, 2008 at 6:31 AM, Paul Hastings <[EMAIL PROTECTED]>
wrote:

> We're using java

maybe have a look at iText.

 

 



[flexcoders] ComboBox Dropdown Tooltips?

2008-02-22 Thread wwwpl
I want to create ComboBox tool tips that show up over the drop down
list items.  The only way I can find to do that is to do dataTips. 
But I don't like how they cover up the list text.  Here is an example
that shows how to add dataTips: 
http://kanuwadhwa.wordpress.com/2007/09/20/add-tooltip-in-listcombobox-control/

Is there a way I can move them over to the side like tool tips?  

I know I can do tool tips in the ComboBox control if the list items
are truncated (in a custom item renderer Label).

I have tried adding event mouseOver, mouseOut listeners to the
ComboBox.dropDown in the ComboBox creationComplete, but my listeners
don't get called.

Any ideas?



Re: [flexcoders] How to tell a UIComponent to refresh because properties changed?

2008-02-22 Thread Tom Chiverton
On Friday 22 Feb 2008, Jerry DuVal wrote:
>  public function get displayGroupBy():Boolean

Does adding a [Bindable] here help ?

-- 
Tom Chiverton
Helping to enthusiastically scale plug-and-play bandwidth
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] How to tell a UIComponent to refresh because properties changed?

2008-02-22 Thread Jerry DuVal

> Behalf Of Tom Chiverton
> Subject: Re: [flexcoders] How to tell a UIComponent to refresh because
> properties changed?
> It should do... when you say 'a custom class', what's the code for that
> ?
> 
> --
> Tom Chiverton

package org.pace2020.epace.editors.data
{
import org.pace2020.epace.editors.data.TreeNode;
import org.pace2020.epace.editors.data.ListModel;
import org.pace2020.epace.editors.data.FieldRelated;
import org.pace2020.epace.editors.data.events.*;
import flash.events.Event;

public class Sort extends TreeNode implements DataObject, FieldRelated
{
[Bindable]
private var m_fieldDefinition:Field;
[Bindable]
 private var m_field:String = "";
[Bindable]
private var m_groupBy:Boolean = false;
[Bindable]
private var m_collapsed:Boolean = false;

[Bindable]
private var m_sort:XML;

public function Sort( data:XML, parent:DataObject, model:ListModel )
{
super(parent, model);

initialize(data);
} 

public function setFieldDefinition():void
{
   if( null != field && "" != field )
   {
var fieldset:Fieldset = getParentFieldset(
getParent() as DataObject );

if( null != fieldset )
{
if(
fieldset.getFieldsMap().hasOwnProperty(field) )
{
m_fieldDefinition =
fieldset.getFieldsMap()[field];
}
}
   }
} 
  

private function initialize(data:XML):void
{
setProperties(data);
setFieldDefinition();   

if( null != fieldDefinition )
{
var listener:FieldEventListener = new
FieldEventListener(this);

listener.registerForFieldNameChanges();
listener.registerForFieldEditableChanges();
}
}

public function handleItemEvent(e:FieldEvent):void
{
if( null != m_sort && e is FieldNameChangedEvent )
{
  m_sort.elements()[EMAIL PROTECTED] = getDisplayName();

var fieldset:Fieldset = getParentFieldset( getParent() as
DataObject );

if( null != fieldset )
{
fieldset.refreshFieldsAvailForSort();
}
}
else if( e is FieldEditableChangedEvent )
{
if( groupBy && e.field.editable )
{
groupBy = false;
}
}
}

public function get fieldDefinition():Field
{
   return m_fieldDefinition;
}

 private function setProperties(data:XML):void
{
field = [EMAIL PROTECTED];
groupBy = "true" == [EMAIL PROTECTED]; 
collapsed = "true" == [EMAIL PROTECTED];
}


public function get groupBy():Boolean
{
return m_groupBy;
}

public function set groupBy( object:Boolean ):void
{
m_groupBy = object;

if( null != m_sort )
{
m_sort.elements()[EMAIL PROTECTED] = groupBy;
}

if( !object)
{
collapsed = false;
} 
}   

public function get collapsed():Boolean
{
return m_collapsed;
}

public function set collapsed( object:Boolean ):void
{
m_collapsed = object && groupBy;
}

public function get field():String
{
return m_field;
}

public function set field( object:String ):void
{
if( null != object && "" != object )
{
m_field = object;
}
}

public function get displayGroupBy():Boolean
{
var list:ListForm = getParentList( getParent() as DataObject );

return null != field && "" != field && ( list.readOnly ||
!fieldDefinition.editable );
}
}
}




Re: [flexcoders] Re: AlivePDF to create PDF on coldfusion Server

2008-02-22 Thread Jon Bradley


On Feb 21, 2008, at 3:36 PM, smustafa77 wrote:


Can u please provide with a sample,how can we convert to byte array
and store the PDF on the server



Hit up alivepdf.org and/or http://code.google.com/p/alivepdf/

Here's a tutorial:

http://alivepdf.bytearray.org/wp-content/tutorials/alivepdf-tutorial- 
flex-application.swf


The saving methods are all included within the Alive PDF library  
source. The saving methods were written quite well and allow you to  
save directly to a remote or file source (AIR).


The AlivePDF library comes with a create.php method that will take  
the resulting PDF stream and bounce it back to the client if you are  
using it online.
somePDF.savePDF(Method.REMOTE, "pathto_create.php_method",  
Download.ATTACHMENT, "somePDF.pdf");


Of course, you can use any server language you want. Just basically  
mimic the functionality in the create.php source.


The svn includes the create.php source, among other stuff.

I don't use AlivePDF with PHP personally. I use it with Django and  
DjangoAMF and use report-lab on the server to perform additional  
server-side work on the PDF files.


cheers,

jon



Re: [flexcoders] How to tell a UIComponent to refresh because properties changed?

2008-02-22 Thread Tom Chiverton
On Friday 22 Feb 2008, Jerry DuVal wrote:
> If I update the value of sort.displayGroupBy ( which is bound to a simple
> custom class ) the enabled does not change.

It should do... when you say 'a custom class', what's the code for that ?

-- 
Tom Chiverton
Helping to dynamically introduce sticky portals
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] Re: ItemEditor looses focus and then crash

2008-02-22 Thread Dmitri Girski
Hi Andrii,

Thank you for reply. Actually, I wasn't clear on the details of the
problem - I really want to cancel editing and quit, but as soon as I
close Alert box datagrid resumes editing operation. And I don't want this.
So the questions is -  how can I cancel editing before showing the
Alert box?

Cheers,
Dmitri.



--- In flexcoders@yahoogroups.com, "andrii_olefirenko" <[EMAIL PROTECTED]>
wrote:
>
> I remember the same problem - I did check for event.reason ==
> DataGridEventReason.OTHER in order to prevent showing Alert window
> when the editor loses focus, not on canceling via Esc.
> In my case i couldn't use callLater because my Alert was actually
> asking (Yes/No) and not just warning
> Hope this help to solve your problem
> 
> Andrii Olefirenko
> 
> --- In flexcoders@yahoogroups.com, "Dmitri Girski"  wrote:
> >
> > Hi Alex and all,
> > 
> > I was so inspired with the last victory over my focus problem
> > (http://tech.groups.yahoo.com/group/flexcoders/message/102706)
> > so I just went through the list of all focus related bugs.
> > 
> > I've got another case of some weird behaviour regarding the loosing
> > the focus.
> > 
> > Test case is very simple - editable DataGrid, click anywhere in the
> > cell, start editing and then press ESC key - the parent component
> > keyboard events handler will throw an Alert box. If you choose Yes
> > (discard changes and close the window) system crashes. 
> > Debugging shows that after Alert control has been closed Flex tries to
> > resume editing in DataGrid - it starts again with editBegin event and
> > then it crashes because system already started the removal of the
> window.
> > 
> > The question is - what I am doing wrong? 
> > 
> > SWF: 
> > http://mitek.id.au/flex/TestItemEditorEsc.html 
> > 
> > Source code:
> > http://mitek.id.au/flex/TestItemEditorEsc.mxml 
> > http://mitek.id.au/flex/TestItemEditor.mxml
> > 
> > 
> > Thanks in advance!
> > 
> > Dmitri.
> >
>




[flexcoders] How to tell a UIComponent to refresh because properties changed?

2008-02-22 Thread Jerry DuVal
If I update the value of sort.displayGroupBy ( which is bound to a simple
custom class ) the enabled does not change.

 



   

 





 

Jerry DuVal

Pace Systems Group, Inc.

800.624.5999

www.Pace2020.com

 



[flexcoders] Re: Debugging an external application

2008-02-22 Thread imjackson84
Thank you, that was much simpler than I'd honestly expected! The
documentation didn't really make it clear how to debug external
applications, perhaps I was looking in the wrong place... anyway, it's
all working now.

Thanks again,

Iain


--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Friday 22 Feb 2008, imjackson84 wrote:
> > Unfortunately, my application is quite complex and needs to be run as
> > part of an external website to work - it requires JavaScript function
> > calls to configure it and loads data feeds from a server-side data
> > source. The application won't even fully start without some form of
> > external input.
> 
> Debug icon, debug as 'Flex Application', untick 'default paths' and
enter a 
> web address ?
> 
> > To complicate matters even further, most of the code for my
> > application has been moved into a separate component library, which
> > obviously needs to be rebuilt before I can compile the application
> > when I've made any changes. I assume this would also pose a problem in
> > any potential debugging setup?
> 
> Not really.
> Builder should handle all of that for you.
> 
> -- 
> Tom Chiverton
> Helping to preemptively streamline high-end developments
> on: http://thefalken.livejournal.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  A list of members is available for inspection at
the registered office. Any reference to a partner in relation to
Halliwells LLP means a member of Halliwells LLP.  Regulated by The
Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




Re: [flexcoders] Problems with an example hosted in cairngormdocs ("Cafe Townsend Multi-View Contact Management”)

2008-02-22 Thread Fernando Ghisi
No, I was not doing this. It solved my problem.

Thanks Tom.


2008/2/22, Tom Chiverton <[EMAIL PROTECTED]>:
> On Friday 22 Feb 2008, Fernando Ghisi wrote:
>  > *** Security Sandbox Violation ***
>  > Connection to assets/Employees.xml halted - not permitted from
>  > file:///C:/Projetos/Flex/Cairngorm/CafeTownsend/bin-debug/CafeTownsend.swf
>
>
> Are you compiling with --use-network=false ?
>
>  --
>  Tom Chiverton
>  Helping to elementarily restore scalable solutions
>  on: http://thefalken.livejournal.com
>
>  
>
>  This email is sent for and on behalf of Halliwells LLP.
>
>  Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
> of members is available for inspection at the registered office. Any 
> reference to a partner in relation to Halliwells LLP means a member of 
> Halliwells LLP.  Regulated by The Solicitors Regulation Authority.
>
>  CONFIDENTIALITY
>
>  This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged.  If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents.  If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 2500.
>
>  For more information about Halliwells LLP visit www.halliwells.com.
>
>
>  --
>  Flexcoders Mailing List
>  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>  Yahoo! Groups Links
>
>
>
>


-- 
Fernando Benedet Ghisi


  1   2   >