RE: [flexcoders] SplitPane in Flex

2005-08-31 Thread Shlomi Cohen
Title: Mercury Email Signature





Guys , 

 
i'm reposting 
this , since i still haven't found a suitable solution .
can you give it 
few minutes ?
 
thanks
 
Shlomi


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Shlomi 
CohenSent: Thursday, August 18, 2005 15:47To: 
'flexcoders@yahoogroups.com'Subject: [flexcoders] SplitPane in 
Flex

Hi
 
I need a 
splitpane control in Flex, something with the ability to be closed immediately 
not just dragged to the end.
(something  like the [Shlomi Cohen] splitpane  we have in 
Flex Builder)
 
i've looked into a SplitPane written by Joan Garnet 
()
and i think this component is only for Flash 
applications.
 
Did anyone wrote something similar in Flex ? extended 
the DividedBox class for example 
?
 
I saw there is a call named ScrollPane which is not 
shiped with Flex - is this by mistake or we can't use it in Flex 
?
 
 
thanks
 
Shlomi__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










RE: [flexcoders] Re: Embedding a slideshow swf that calls image files

2005-08-31 Thread Philippe Maegerman





I thought you found the trick by using 'progress' 
instead of 'load' or 'creationComplete' but that doesn't work for 
me.
 
I have a flex file that is loading swfVar.swf and 
assigns a value to the property 't' like this:
 
http://www.macromedia.com/2003/mxml">
 
The swf contains one TextField called 'my_txt', its 
text is populated with a variable 't' that should have been assigned a 
value by the mxml file as you suggest:
 
swfVar.swf
-
var t:String;my_txt.text = t;
 
But the textfield always shows 
'undefined'
 
Maybe I didn't understand what you were blogging about, 
do not hesitate to correct me.
 
Cheers,
 
Philippe 
Maegerman

 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
kaibabsowatsSent: mardi 30 août 2005 20:15To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Embedding a 
slideshow swf that calls image files
I blogged some more info on the SWF FlashVar, view it 
at:http://renaun.com/blog/?p=4





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


Re: [flexcoders] Re: Cairngorm question

2005-08-31 Thread Alberto Albericio Salvador
Alex

Got it. I have it working now and fits quite fine in the Cairngorm 
architecture.

Thanks for your help

Alex Uhlmann escribió:

>Alberto,
>
>your responder is probably of type Responder and Responder is the interface 
>that only contains onResult and onFault. See Cairngorm docs. I suggest you 
>implement the communication from your listener to the command via 
>EventBroadcaster.
>
>Best,
>Alex
>
>  
>


-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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: NumericStepper as editor/cellrenderer in DataGrid

2005-08-31 Thread Max Westen
H Replying on my own mail now...

Getting there slowly. To help others with this I'm posting my 
development.
It now works. There are some small issues with the focus; the 
NumericStepper that is selected the last is still enabled when 
selecting other components on the form.

The contents of NumericRenderer.as follows:

import mx.core.UIComponent
import mx.controls.NumericStepper
import mx.controls.Label;


class NumericRenderer extends UIComponent
{
var stepper : NumericStepper;
var myLabel : Label;
var listOwner : MovieClip; // the reference we receive to the 
list
var getCellIndex : Function; // the function we receive from the 
list
var getDataLabel : Function; // the function we receive from 
the list

function createChildren(Void):Void
{
super.createChildren();
createClassObject( Label, "myLabel", 1, {styleName:this, 
owner:this});
createClassObject( NumericStepper, "stepper", 2, { 
styleName:this, owner:this, selectable:true, editable:true } );
stepper.minimum = 1;
stepper.maximum = 200;

stepper.addEventListener("enter", this);
stepper.addEventListener("change", this);
}

function layoutChildren() {
stepper.setSize(layoutWidth, layoutHeight);
myLabel.setSize(layoutWidth, layoutHeight);
}

function getValue(){
return stepper.value;
}

function setValue(value, item:Object, selection:String):Void
{
if ( item == undefined )
{
  myLabel.visible = false;
  stepper.visible = false;
  return;
}
if ( selection == "normal" || selection == "highlighted" )
{
  stepper.value = item[ getDataLabel() ];
  stepper.visible = false;
  myLabel.visible = true;
}
else if ( selection == "selected" )
{
  myLabel.visible = false;
  stepper.visible = true;
  stepper.setFocus( false );
}
}

function getPreferredHeight(Void) : Number
{
return stepper.getPreferredHeight();
}

function getPreferredWidth(Void) : Number
{
return stepper.getPreferredWidth();
}

  function change()
  {
listOwner.editField(getCellIndex().itemIndex, getDataLabel(), 
stepper.value);
myLabel.text = stepper.value;
  }

  function enter()
  {
if ( stepper.value != undefined )
{ 
  listOwner.editField(getCellIndex().itemIndex, getDataLabel(), 
stepper.value);
  myLabel.text = stepper.value;
}
  }


function focusOut() {
//  listOwner.editField(getCellIndex().itemIndex, 
getDataLabel(), stepper.value);
//stepper.visible = false;
//myLabel.visible = true;
//editing = false;
}

}





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Re: Model changed when used as dataProvider (Cairngorm)

2005-08-31 Thread João Fernandes





Thank you for your reply,
 
This is very odd, it's been a while that i'm having this weird behavior, 
everything is fine now without changing my code, I just stopped my flex 
instance, deleted generated files and re-launched the instance. It's not the 
first time this happens.
 
 

João Fernandes
Secção de Desenvolvimento
Departamento de Informática
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
kaibabsowatsSent: quarta-feira, 31 de Agosto de 2005 
6:18To: flexcoders@yahoogroups.comSubject: [flexcoders] 
Re: Model changed when used as dataProvider (Cairngorm)
This is a stab in the dark.When 
calling"EventBroadcaster.getInstance().broadcastEvent("someCommand",modelLocator.myArray)" 
the EventBroadcaster takes themodelLocator.myArray parameter and sets the 
event.data object, whichactaully keeps a pointer to 
modelLocator.myArray.  Then it callsdispatchEvent( event ).  
Somewhere in the event object the event.datawill be set to some undefined or 
some unwanted value.  To alleviate this just create a new instance 
of the myArray beforecalling the broadcastEvent funciton like 
this:var tmpArray:Array = new Array();for( var a in 
modelLocator.myArray ) {    tmpArray[ a ] = 
modelLocator.myArray[ a 
];}EventBroadcaster.getInstance().broadcastEvent("someCommand", 
tmpArray);This will work for simple arrays, if they are nested objects 
you mightwant to double check that all the data is created in the new temp 
Array.--- In flexcoders@yahoogroups.com, João Fernandes 
<[EMAIL PROTECTED]>wrote:> Hi there,>  > 
When broadcasting an event in cairngorm an using an array from 
mymodelLocator as parameter it works fine till I use the same 
parameteras dataProvider (for some component).> > If I broadcast without using ModelLocator.myArray as a 
dataProvider,the array passed is the correct but if I use something like 
this : >   what Iget in my command is an 
array of length of 1 with my array inside it.>  >  I'm 
binding directly the modelLocator.myArray because any changesin the dataGrid 
updates my model. >  > Anyone knows this issue? or knows a 
workaround? > Thanks>  > > João 
Fernandes> > Secção de Desenvolvimento> > 
Departamento de Informática





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Metamorphosing RadioButtonGroup

2005-08-31 Thread Markus Ansamaa
Title: Message





I have been trying 
to dynamically create RadioButtonGroup (due to the problem I posted earlier). I 
managed to create the group but getting access to the RadioButtonGroup object 
seems to be quite hard. I create the group during initialize event, 
but when I try to access the group, it seems to be totally different object. For 
example, if I set id property for the group during initialization it has 
disappeared when accessed later. 
 
 Here's some 
sample code demonstrating the problem:
 
RadioProblem.mxml:
http://www.macromedia.com/2003/mxml" xmlns:my="*"> 
 
RadioGroup.as:
import 
mx.controls.*;import mx.containers.*;
 
class RadioGroup 
extends Panel{ public var radioTrue; public var 
radioFalse; public var radioUnknown; public var 
radioGroup; public var label1; public var 
label2;  public function 
RadioGroup() {  super();  addEventListener( 
"initialize", mx.utils.Delegate.create( this, onInitialization ) 
);  addEventListener( "creationComplete", 
mx.utils.Delegate.create( this, onCreationComplete ) 
); }  private function 
onInitialization() {  var id:String = 
getId();radioGroup = createChild( 
RadioButtonGroup, undefined, { id:id } );  radioTrue = 
createChild( RadioButton, undefined, { groupName:id, id:"radioTrue", 
marginRight:20 } );  radioFalse = createChild( RadioButton, 
undefined, { groupName:id, id:"radioFalse", marginRight:20 } 
);  radioUnknown = createChild( RadioButton, undefined, { 
groupName:id, id:"radioUnknown", marginRight:20 } );   label1 
= createChild( Label, undefined, {} );  label2 = createChild( 
Label, undefined, {} );
  label1.text = "label1: " + radioGroup.id; 
// "myId" }  private function 
onCreationComplete() {  label2.text = "label2: " + 
radioGroup.id; // undefined }  private function 
getId():String {  return 
"myId"; }}





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Metamorphosing RadioButtonGroup

2005-08-31 Thread Manish Jethani
On 8/31/05, Markus Ansamaa <[EMAIL PROTECTED]> wrote:

> I have been trying  to dynamically create RadioButtonGroup (due to the 
> problem I posted earlier). I  managed to create the group but getting access 
> to the RadioButtonGroup object  seems to be quite hard. I create the group 
> during initialize event,  but when I try to access the group, it seems to be 
> totally different object. For  example, if I set id property for the group 
> during initialization it has  disappeared when accessed later.  

It the same object, but for some reason the id is changing.   No idea.
 But why not make it an MXML component?  That way you don't have to
struggle with createChild even.

Manish


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] SplitPane in Flex

2005-08-31 Thread Manish Jethani
On 8/31/05, Shlomi Cohen <[EMAIL PROTECTED]> wrote:

\> i'm reposting this , since i still haven't found a suitable solution . 
> can you give it few minutes ? 

In case you want to write one on your own, start overriding the
DividedBox class.

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/DividedBox.html

Listen to mouseDown, etc., on the individual dividers (see
getDividerAt), then when the mouse is clicked you snap them to their
new positions using moveDivider.

Manish


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Metamorphosing RadioButtonGroup

2005-08-31 Thread Markus Ansamaa
> > I have been trying  to dynamically create RadioButtonGroup 
> (due to the problem I posted earlier). I  managed to create 
> the group but getting access to the RadioButtonGroup object  
> seems to be quite hard. I create the group during initialize 
> event,  but when I try to access the group, it seems to be 
> totally different object. For  example, if I set id property 
> for the group during initialization it has  disappeared when 
> accessed later.  
> 
> It the same object, but for some reason the id is changing.   No idea.
>  But why not make it an MXML component?  That way you don't have to
> struggle with createChild even.

Umm.. well... maybe I could use mxml. RadioButtonGroup and the RadioButtons
constitue a boolean component in our software. And if there are several
RadioButtonGroups with the same id in a form, focus transition with tab key
won't work correctly. So the need was to set unique id dynamically and I
thought it cannot be done with mxml. But why not, maybe I should try that.
However, it still would be nice to know the reason for the "metamorphosis"
since unsolved mysteries are irritating.



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Metamorphosing RadioButtonGroup

2005-08-31 Thread Manish Jethani
On 8/31/05, Markus Ansamaa <[EMAIL PROTECTED]> wrote:
> > > I have been trying  to dynamically create RadioButtonGroup
> > (due to the problem I posted earlier). I  managed to create
> > the group but getting access to the RadioButtonGroup object
> > seems to be quite hard. I create the group during initialize
> > event,  but when I try to access the group, it seems to be
> > totally different object. For  example, if I set id property
> > for the group during initialization it has  disappeared when
> > accessed later.
> >
> > It the same object, but for some reason the id is changing.   No idea.
> >  But why not make it an MXML component?  That way you don't have to
> > struggle with createChild even.
> 
> Umm.. well... maybe I could use mxml. RadioButtonGroup and the RadioButtons
> constitue a boolean component in our software. And if there are several
> RadioButtonGroups with the same id in a form, focus transition with tab key
> won't work correctly. So the need was to set unique id dynamically and I
> thought it cannot be done with mxml. But why not, maybe I should try that.
> However, it still would be nice to know the reason for the "metamorphosis"
> since unsolved mysteries are irritating.

I would love to dig deeper to find out why this is happening, but
currently I'm more interested in the future than the past. ;)

Would it help if you used an undocumented property called 'group'
instead of 'groupName'?  No guarantees it'll make life easier for you
or even work at all (without quietly breaking something else), but
give it a try.  See RadioButton.as in your flexforflash.zip.

Manish


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] NumberFormatter question

2005-08-31 Thread Robert Brueckmann









Hey
guys...I saw in the archive there was a long thread about decimals and the
NumberFormatter but none of them really addressed what I'm encountering so I
figured I'd throw this out there to see if anyone else has seen this behavior
and if they're simply converting the number to a string as a workaround or if
there is something valid I can do to handle this situation:

 

I'm
getting XML from the database that contains a whole slew of calculations. 
We're parsing the XML and populating a datagrid with this data and on the cells
showing the numbers I have a custom cell renderer that simply uses a
NumberFormatter to ensure negative numbers are represented with parentheses and
all numbers are rounded to a precision of 3 decimal places as well as some
additional logic to ensure negative numbers are colored red.  Well, when
we get small numbers and ActionScript internally represents them in exponential
format, for example, 9.6345e-4...oddly, the number being displayed in the
datagrid is (4.000) 
Another number being returned is 3.3123e-12 and what's being shown in the
datagrid is (12.000).

 

Why
the heck is the number formatter ignoring the actual number and simply applying
the formatter to the exponent value?!  I would expect for both of these
numbers, the resulting value would simply be .000, no?

 

Any
help is greatly appreciated.

 

Thanks,

 

robert
l. brueckmann

senior
web developer

merlin
securities

595 madison avenue

new york,
ny 10022

p:
212.822.4821

f:
212.822.4820




 



This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] canvas flickering on hideEffect

2005-08-31 Thread Jaime Bermudez
Ok Manish... I'm still stuck on this one.  Are you saying that I have
to do something on the resize event of the preview panel?  Do stacked
components inside a canvas not resize like other components?

On 8/29/05, Manish Jethani <[EMAIL PROTECTED]> wrote:
> On 8/29/05, Jaime Bermudez <[EMAIL PROTECTED]> wrote:
> 
> > Now, another issue I'm having is that when a preview panel is
> > displayed, the search window gets cut off, even though it's width is a
> > percentage.  You'll see what I mean if you run the following app,
> > select the first row to cause the preview panel to show, then click
> > "Search Options".  Any idea on why the search box is taking up more
> > than 100% of the Box width and how to confine it to the width of the
> > box?
> 
> Haven't had time to play with this, but here's a clue: if you open the
> search box first and then click on the first item in the DataGrid, the
> search box remains much wider (and is completely off the visible
> area).  :-/  I'll look into this tomorrow.
> 
> Manish
> 
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> 
>


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] canvas flickering on hideEffect

2005-08-31 Thread Manish Jethani
On 8/31/05, Jaime Bermudez <[EMAIL PROTECTED]> wrote:
> Ok Manish... I'm still stuck on this one.  Are you saying that I have
> to do something on the resize event of the preview panel?  Do stacked
> components inside a canvas not resize like other components?

Can you apply a workaround?  Set the size of the search box on
effectEnd?  You've set it to 100%, instead you'll have to reset it to
obj.parent.width (where obj is the search box).

Manish


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] loader component question

2005-08-31 Thread Robert Brueckmann
Scenario:

I kick off 5 asynchronous actions...all of which make a db call, get
XML, pass it to our report generation engine, which returns a report
object to my Flex app, when that report object comes back with the id
that matches the id of the kicked off process, I display that report in
a HorizontalList component as being ready to view.  When the user clicks
on the icon of the report in the Horizontal list (meanwhile the other 4
processes are still off in various stages of retrieving and generating
the report which ends up being in SWF format), the screen expands
upwards and displays the finished report in a Loader component.  Problem
is, the report does not load into the Loader component until the other 4
reports are done and are displayed in the HorizontalList component.  If
I only kick off 2 processes and the first report comes back before the
second and I click on that report, it shows up in the loader, as soon as
I go past more than one report still processing when trying to display
the finished report in the Loader, it kind of just hangs there until the
rest of the processes are complete.

Sometimes, in the case of the 5 processes being kicked off, and the one
report completes and shows up in the horizontal list and I click on it
to display it, I get a blank screen for about 30 seconds and then my
defined brokenImage image appears as if the report doesn't really exist,
and then when the rest of the processes finish, the loader refreshes
itself and displays the report correctly, replacing the brokenImage
image by itself.

Very strange.  Why is the Loader component dependent upon the other
processes going on on the server?  I figured since all I'm doing is
setting the source of the Loader component to the path to the available
SWF report file, it would just go out and load it in, regardless of the
other processes going on on the server...not so much.

Thoughts?  Should I just avoid asynchronous altogether in this case?  I
just thought it would be great to allow the user to kick off a handful
of reports and start viewing them as they became available, but it's not
working.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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: Embedding a slideshow swf that calls image files

2005-08-31 Thread kaibabsowats
Try progress="event.target.content.my_txt.text ='Hello World'"

The example code off my blog uses a dynamic textfield variable but
this should work also.  

Make sure the parent SWF (flex) and the loaded SWF are in the same
domain or you will get cross-domain security issues.

Renaun

--- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL PROTECTED]> 
wrote:
> I thought you found the trick by using 'progress' instead of 'load'
or 'creationComplete' but that doesn't work for me.
>  
> I have a flex file that is loading swfVar.swf and assigns a value to
the property 't' like this:
>  
> 
> http://www.macromedia.com/2003/mxml";>
> 
> 
> 
>  
> The swf contains one TextField called 'my_txt', its text is
populated with a variable 't' that should have been assigned a value
by the mxml file as you suggest:
>  
> swfVar.swf
> -
> var t:String;
> my_txt.text = t;
>  
> But the textfield always shows 'undefined'
>  
> Maybe I didn't understand what you were blogging about, do not
hesitate to correct me.
>  
> Cheers,
>  
> Philippe Maegerman
> 
>  
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of kaibabsowats
> Sent: mardi 30 août 2005 20:15
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Embedding a slideshow swf that calls image
files
> 
> 
> I blogged some more info on the SWF FlashVar, view it at:
> 
> http://renaun.com/blog/?p=4
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> Web site design development

Software design and development

Macromedia flex


> Software development best practice


> 
> 
> 
> YAHOO! GROUPS LINKS 
> 
> 
>   
> *  Visit your group "flexcoders
 " on the web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
 
> 
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service  . 
> 
> 
> 
> 
> 
> 
> --
> **STATEMENT OF CONFIDENTIALITY** 
> 
> This e-mail and any attached files are confidential and intended
solely for the use of the individual to whom it is addressed. If you
have received this email in error please send it back to the person
that sent it to you. Any views or opinions presented are solely those
of author and do not necessarily represent those the Emakina Company.
Unauthorized publication, use, dissemination, forwarding, printing or
copying of this email and its associated attachments is strictly
prohibited.
> 
> We also inform you that we have checked that this message does not
contain any virus but we decline any responsability in case of any
damage caused by an a non detected virus.
> --





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] loader component question

2005-08-31 Thread Abdul Qabiz
Hi,

Need to understand problem and investigate to know the exact reason. But
I think it could be because of concurrent requests browser can make to
server.

I think IE has limit of two concurrent requests and firefox has the same
limit.

You can tweak the maxrequest in firefox and then check, if it works.
Check out this link:

http://www.feld.com/blog/archives/2005/06/speed_up_firefo.html


I am not sure this would solve the problem, but we can narrow down the
cases.


If you are using the same RemoteObject for all four requests then IMO
they would be processed one by one...


-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Wednesday, August 31, 2005 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loader component question

Scenario:

I kick off 5 asynchronous actions...all of which make a db call, get
XML, pass it to our report generation engine, which returns a report
object to my Flex app, when that report object comes back with the id
that matches the id of the kicked off process, I display that report in
a HorizontalList component as being ready to view.  When the user clicks
on the icon of the report in the Horizontal list (meanwhile the other 4
processes are still off in various stages of retrieving and generating
the report which ends up being in SWF format), the screen expands
upwards and displays the finished report in a Loader component.  Problem
is, the report does not load into the Loader component until the other 4
reports are done and are displayed in the HorizontalList component.  If
I only kick off 2 processes and the first report comes back before the
second and I click on that report, it shows up in the loader, as soon as
I go past more than one report still processing when trying to display
the finished report in the Loader, it kind of just hangs there until the
rest of the processes are complete.

Sometimes, in the case of the 5 processes being kicked off, and the one
report completes and shows up in the horizontal list and I click on it
to display it, I get a blank screen for about 30 seconds and then my
defined brokenImage image appears as if the report doesn't really exist,
and then when the rest of the processes finish, the loader refreshes
itself and displays the report correctly, replacing the brokenImage
image by itself.

Very strange.  Why is the Loader component dependent upon the other
processes going on on the server?  I figured since all I'm doing is
setting the source of the Loader component to the path to the available
SWF report file, it would just go out and load it in, regardless of the
other processes going on on the server...not so much.

Thoughts?  Should I just avoid asynchronous altogether in this case?  I
just thought it would be great to allow the user to kick off a handful
of reports and start viewing them as they became available, but it's not
working.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.



--
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



 




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Re: Embedding a slideshow swf that calls image files

2005-08-31 Thread Philippe Maegerman





I tried it and noticed it worked, but couldn't guess 
why assigning a value to a variable wouldn't work.
That was the original problem where variables were 
passed through Flashvars and used later in a XML download.
It was just puzzling me ;))
 
Philippe 
Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
kaibabsowatsSent: mercredi 31 août 2005 15:59To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Embedding a 
slideshow swf that calls image files
Try progress="event.target.content.my_txt.text ='Hello 
World'"The example code off my blog uses a dynamic textfield variable 
butthis should work also.  Make sure the parent SWF (flex) and 
the loaded SWF are in the samedomain or you will get cross-domain security 
issues.Renaun--- In flexcoders@yahoogroups.com, "Philippe 
Maegerman" <[EMAIL PROTECTED]> wrote:> I thought you found the trick by 
using 'progress' instead of 'load'or 'creationComplete' but that doesn't 
work for me.>  > I have a flex file that is loading 
swfVar.swf and assigns a value tothe property 't' like this:>  
> > http://www.macromedia.com/2003/mxml">> 
> 
> >  > The 
swf contains one TextField called 'my_txt', its text ispopulated with a 
variable 't' that should have been assigned a valueby the mxml file as you 
suggest:>  > swfVar.swf> -> var 
t:String;> my_txt.text = t;>  > But the textfield 
always shows 'undefined'>  > Maybe I didn't understand what 
you were blogging about, do nothesitate to correct me.>  
> Cheers,>  > Philippe Maegerman> 
>  > > > From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of 
kaibabsowats> Sent: mardi 30 août 2005 20:15> To: 
flexcoders@yahoogroups.com> Subject: [flexcoders] Re: Embedding a 
slideshow swf that calls imagefiles> > > I blogged some 
more info on the SWF FlashVar, view it at:> > http://renaun.com/blog/?p=4> 
> > > > --> Flexcoders Mailing List> 
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > > > > SPONSORED LINKS > Web site 
design development  
Software design and development  
Macromedia flex  
> Software development best practice  
> > > > YAHOO! 
GROUPS LINKS > > >   > 
*  Visit your group "flexcoders 
" on the web.>     > 
*  To unsubscribe from this group, send an email 
to:>   
[EMAIL PROTECTED] 
>     > 
*  Your use of Yahoo! Groups is subject to the 
Yahoo! Terms ofService  
. > > > > > 
> > 
--> 
**STATEMENT OF CONFIDENTIALITY** > > This e-mail and any attached 
files are confidential and intendedsolely for the use of the individual to 
whom it is addressed. If youhave received this email in error please send it 
back to the personthat sent it to you. Any views or opinions presented are 
solely thoseof author and do not necessarily represent those the Emakina 
Company.Unauthorized publication, use, dissemination, forwarding, printing 
orcopying of this email and its associated attachments is 
strictlyprohibited.> > We also inform you that we have checked 
that this message does notcontain any virus but we decline any 
responsability in case of anydamage caused by an a non detected 
virus.> 
--





--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached

RE: [flexcoders] loader component question

2005-08-31 Thread Robert Brueckmann
Thanks Abdul...that makes sense.  Wasn't aware of that restriction.
Makes sense given my example...so thanks for the help!  I'll just simply
limit the user to having 2 reports kicked off at any given time to
circumvent this situation in the meantime.

Thanks again for the help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Wednesday, August 31, 2005 10:03 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] loader component question

Hi,

Need to understand problem and investigate to know the exact reason. But
I think it could be because of concurrent requests browser can make to
server.

I think IE has limit of two concurrent requests and firefox has the same
limit.

You can tweak the maxrequest in firefox and then check, if it works.
Check out this link:

http://www.feld.com/blog/archives/2005/06/speed_up_firefo.html


I am not sure this would solve the problem, but we can narrow down the
cases.


If you are using the same RemoteObject for all four requests then IMO
they would be processed one by one...


-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Wednesday, August 31, 2005 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loader component question

Scenario:

I kick off 5 asynchronous actions...all of which make a db call, get
XML, pass it to our report generation engine, which returns a report
object to my Flex app, when that report object comes back with the id
that matches the id of the kicked off process, I display that report in
a HorizontalList component as being ready to view.  When the user clicks
on the icon of the report in the Horizontal list (meanwhile the other 4
processes are still off in various stages of retrieving and generating
the report which ends up being in SWF format), the screen expands
upwards and displays the finished report in a Loader component.  Problem
is, the report does not load into the Loader component until the other 4
reports are done and are displayed in the HorizontalList component.  If
I only kick off 2 processes and the first report comes back before the
second and I click on that report, it shows up in the loader, as soon as
I go past more than one report still processing when trying to display
the finished report in the Loader, it kind of just hangs there until the
rest of the processes are complete.

Sometimes, in the case of the 5 processes being kicked off, and the one
report completes and shows up in the horizontal list and I click on it
to display it, I get a blank screen for about 30 seconds and then my
defined brokenImage image appears as if the report doesn't really exist,
and then when the rest of the processes finish, the loader refreshes
itself and displays the report correctly, replacing the brokenImage
image by itself.

Very strange.  Why is the Loader component dependent upon the other
processes going on on the server?  I figured since all I'm doing is
setting the source of the Loader component to the path to the available
SWF report file, it would just go out and load it in, regardless of the
other processes going on on the server...not so much.

Thoughts?  Should I just avoid asynchronous altogether in this case?  I
just thought it would be great to allow the user to kick off a handful
of reports and start viewing them as they became available, but it's not
working.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.



--
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 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] MXMLC Compression

2005-08-31 Thread Steve Cox










Is it possible to turn off compression in the command line
compiler?

 

Cheers

Steve









--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] canvas flickering on hideEffect

2005-08-31 Thread Jaime Bermudez
Sorry Manish.  It turns out that I forgot to call the "restoreMyWidth"
function on the effectEnd of the search box.  It works just fine now
that I added that in.  Sorry about that one and thanks again for the
initial advice.

On 8/31/05, Manish Jethani <[EMAIL PROTECTED]> wrote:
> On 8/31/05, Jaime Bermudez <[EMAIL PROTECTED]> wrote:
> > Ok Manish... I'm still stuck on this one.  Are you saying that I have
> > to do something on the resize event of the preview panel?  Do stacked
> > components inside a canvas not resize like other components?
> 
> Can you apply a workaround?  Set the size of the search box on
> effectEnd?  You've set it to 100%, instead you'll have to reset it to
> obj.parent.width (where obj is the search box).
> 
> Manish
> 
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> 
> 
>


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Flex & Cairngorm + ColdFusion + Framework?

2005-08-31 Thread Simon Barber
I recently started building an application in Flex using the
Cairngorm 
framework. The server side logic will come from ColdFusion but I was 
wondering if anyone implements any MVC style framework on the 
ColdFusion side? 

I have looked at a few and the Tartan framework has a lot of 
similarities with Cairngorm. Do you think it would be worth 
implementing an MVC framework on the server side like Tartan for 
instance?

Has anyone done this and had great success?





 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] SplitPane in Flex

2005-08-31 Thread Shlomi Cohen





Hi 

 
thanks 
Manish , 
 
i 
considered this idea ,but didn't know if its possible to replace the icon 
and control the click position , 
i mean 
that i wanted it to go both up or down , so i can benefit from 
enlarging the upper display area or the lower one . 
 
i will 
look through it again ,
 
Can 
you please answer the question about the ScrollPane.as class from framework 2. 

is it 
possible to use it in Flex ? why it wasn't shipped with Flex 
?
 
 
thanks
 
Shlomi
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Manish 
JethaniSent: Wednesday, August 31, 2005 15:20To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SplitPane in 
Flex
On 8/31/05, Shlomi Cohen <[EMAIL PROTECTED]> 
wrote:\> i'm reposting this , since i still haven't found a suitable 
solution . > can you give it few minutes ? In case you want to 
write one on your own, start overriding theDividedBox class.http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/DividedBox.htmlListen 
to mouseDown, etc., on the individual dividers (seegetDividerAt), then when 
the mouse is clicked you snap them to theirnew positions using 
moveDivider.Manish__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Embedding images in an array

2005-08-31 Thread zipo13
Hi,
I'm trying to embed a bunch of images into an array instead of a string.
I think my failure to do that comes from the fact that I don't know
what this syntax actually does:

[Embed(source="/assets/lock.png")]
var lockImage:String;

I understand that this causes lockImage to somehow get a string that
represents the embedded image but I'm not sure how this happens - does
the compiler just "knows" to pick the string var that is defined right
after it?

in that in mind I tried the following:

var viewImages:Array = new Array();
[Embed(source="/assets/lock.png")]
viewImages["lockImage"];

in the hope that this string will get into the array under "lockImage"
but as expected it didn't work.

Any ideas?





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] "Browserless" Flex?

2005-08-31 Thread J.A. Rottman
Steve I am working on something very similar. I have
found that using Zinc by mdm helps a whole lot. Mind
you it is a bit pricy, but well worth the cost/outcome
ratio.

--- Steve Ocean <[EMAIL PROTECTED]> wrote:

> can they have a player installed?
> 
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
> 
> 
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> > 
> > Hello all,
> > 
> > I am just about to start a very large project and
> have convinced the 
> > client that Flex is the way to go.
> > 
> > The one thing they would like to be able to do is
> run the app without a 
> > browser. I was able to do this with the previous
> version (I built in Flash) 
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> > 
> > Can I accomplish something similar in Flex?
> > 
> > the reason this is such a big deal is because due
> to security constraints 
> > some of the machines they will need run the app
> on, they dont have web 
> > browsers installed (if that makes sense).
> > 
> > any ideas?
> > 
> > -- 
> > -chris.alvarado
> > [application developer] 
> > 
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> > 
> > 
> > 
> >  SPONSORED LINKS 
> >   Web site design
>
development
>  Software 
> > design and
>
development
>  Macromedia 
> >
>
flex
>   Software 
> > development best
>
practice
>  
> >  --
> > YAHOO! GROUPS LINKS 
> > 
> > 
> >- Visit your group
>
"flexcoders"
> 
> >on the web.
> > - To unsubscribe from this group, send an
> email to:
> >   
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of 
> >Service . 
> > 
> > 
> >  --
> >
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Jboss throws out of memory error

2005-08-31 Thread relisanhard52
Hi
I am using JBoss 3.2.2. I deploy some sample flex demo code. Sometimes 
it is throwing this error - OutOfMemoryError.
Considering my sample demo applications are hardly 8files together this 
is starting to concern me..

Any ideas/advise.


Regards
Husain

Btw, Alistair/Steven - your book not sold/published in India?(I had to 
get a copy from amazon!)




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] "Browserless" Flex?

2005-08-31 Thread Dirk Eismann
Please be aware that the Flex EULA might not allow you to embed a Flex SWF into 
another application. This topic has been covered here multiple times so you 
might want to check the list archive.
 
Dirk.



Von: flexcoders@yahoogroups.com im Auftrag von J.A. Rottman
Gesendet: Mi 31.08.2005 17:47
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] "Browserless" Flex?



Steve I am working on something very similar. I have
found that using Zinc by mdm helps a whole lot. Mind
you it is a bit pricy, but well worth the cost/outcome
ratio.

--- Steve Ocean <[EMAIL PROTECTED]> wrote:

> can they have a player installed?
>
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
>
>
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am just about to start a very large project and
> have convinced the
> > client that Flex is the way to go.
> >
> > The one thing they would like to be able to do is
> run the app without a
> > browser. I was able to do this with the previous
> version (I built in Flash)
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> >
> > Can I accomplish something similar in Flex?
> >
> > the reason this is such a big deal is because due
> to security constraints
> > some of the machines they will need run the app
> on, they dont have web
> > browsers installed (if that makes sense).
> >
> > any ideas?
> >
> > --
> > -chris.alvarado
> > [application developer]
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design
>
development
>  Software
> > design and
>
development
>  Macromedia
> >
>
flex
>   Software
> > development best
>
practice
> 
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >- Visit your group
>
"flexcoders"
>
> >on the web.
> > - To unsubscribe from this group, send an
> email to:
> >  
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >Service .
> >
> >
> >  --
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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










 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] "Browserless" Flex?

2005-08-31 Thread Vinny Timmermans
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: woensdag 31 augustus 2005 18:00
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] "Browserless" Flex?

Please be aware that the Flex EULA might not allow you to embed a Flex SWF
into another application. This topic has been covered here multiple times so
you might want to check the list archive.
 
Dirk.



Von: flexcoders@yahoogroups.com im Auftrag von J.A. Rottman
Gesendet: Mi 31.08.2005 17:47
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] "Browserless" Flex?



Steve I am working on something very similar. I have found that using Zinc
by mdm helps a whole lot. Mind you it is a bit pricy, but well worth the
cost/outcome ratio.

--- Steve Ocean <[EMAIL PROTECTED]> wrote:

> can they have a player installed?
>
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
>
>
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am just about to start a very large project and
> have convinced the
> > client that Flex is the way to go.
> >
> > The one thing they would like to be able to do is
> run the app without a
> > browser. I was able to do this with the previous
> version (I built in Flash)
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> >
> > Can I accomplish something similar in Flex?
> >
> > the reason this is such a big deal is because due
> to security constraints
> > some of the machines they will need run the app
> on, they dont have web
> > browsers installed (if that makes sense).
> >
> > any ideas?
> >
> > --
> > -chris.alvarado
> > [application developer]
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design
>
development
>  Software
> > design and
>
development
>  Macromedia
> >
>
flex
>   Software
> > development best
>
practice
> 
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >- Visit your group
>
"flexcoders"
>
> >on the web.
> > - To unsubscribe from this group, send an
> email to:
> >  
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]
m?subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >Service .
> >
> >
> >  --
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.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










 Yahoo! Groups Sponsor ~--> Get
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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



 



 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

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

<*> Your use of 

[flexcoders] Re: Embedding a slideshow swf that calls image files

2005-08-31 Thread kaibabsowats
It has to do with the timing of everything.

The last example code of your SWF was:
var t:String;  // which sets to undefined
myText.text = t;

So when the SWF's first frame plays it sets myText.text to "undefined".

It seems that your SWF goes on past the first frame ( or stops
execution ) before the Loader.content gets to set the variable "t".  

So the execution sequence would look something like this:
Loader calls SWF.
SWF calls first frame action script and sets myText.text = t (which is
undefined)
SWF moves on to or stops executing first frame actionscript.
Loader.content.t is set.
Now myText.text = t is never called again and the new value is not set.

In the case where you call myText.text directly you are not setting a
variable that has a execution based on some timeline but directly to
the correct value you want to change.

An alternate is do:
progress="event.target.content.t ='Hello
World';event.target.content.gotoAndPlay(1)"

But the setting of variables directly is much better.

Talking to loaded SWF's are not exactly like FlashVars because it
depends on the nature of the SWF where things are initialized/set.

I hope that makes sense,

Renaun  

--- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL PROTECTED]> 
wrote:
> I tried it and noticed it worked, but couldn't guess why assigning a
value to a variable wouldn't work.
> That was the original problem where variables were passed through
Flashvars and used later in a XML download.
> It was just puzzling me ;))
>  
> Philippe Maegerman
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of kaibabsowats
> Sent: mercredi 31 août 2005 15:59
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Embedding a slideshow swf that calls image
files
> 
> 
> Try progress="event.target.content.my_txt.text ='Hello World'"
> 
> The example code off my blog uses a dynamic textfield variable but
> this should work also.  
> 
> Make sure the parent SWF (flex) and the loaded SWF are in the same
> domain or you will get cross-domain security issues.
> 
> Renaun
> 
> --- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL PROTECTED]>
wrote:
> > I thought you found the trick by using 'progress' instead of 'load'
> or 'creationComplete' but that doesn't work for me.
> >  
> > I have a flex file that is loading swfVar.swf and assigns a value to
> the property 't' like this:
> >  
> > 
> > http://www.macromedia.com/2003/mxml";>
> > 
> > 
> > 
> >  
> > The swf contains one TextField called 'my_txt', its text is
> populated with a variable 't' that should have been assigned a value
> by the mxml file as you suggest:
> >  
> > swfVar.swf
> > -
> > var t:String;
> > my_txt.text = t;
> >  
> > But the textfield always shows 'undefined'
> >  
> > Maybe I didn't understand what you were blogging about, do not
> hesitate to correct me.
> >  
> > Cheers,
> >  
> > Philippe Maegerman
> > 
> >  
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of kaibabsowats
> > Sent: mardi 30 août 2005 20:15
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Embedding a slideshow swf that calls image
> files
> > 
> > 
> > I blogged some more info on the SWF FlashVar, view it at:
> > 
> > http://renaun.com/blog/?p=4
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > 
> > 
> > 
> > 
> > SPONSORED LINKS 
> > Web site design development
>

>   Software design and development
>

>   Macromedia flex
>

>   
> > Software development best practice
>

>   
> > 
> > 
> > 
> > YAHOO! GROUPS LINKS 
> > 
> > 
> >   
> > *  Visit your group "flexcoders
>  " on the web.
> > 
> > *  To unsubscribe from this group, send an email to:
> >   [EMAIL PROTECTED]
> 

RE: [flexcoders][Macromedia Comment?] "Browserless" Flex?

2005-08-31 Thread Keldon Rush
Embedding the flex SWF into a program as a resource is one thing, creating a
network aware client that is not based in a browser that downloads the flex
SWF from the licensed server is allowed as far as I understand.  This is
basically creating your own browser to download the SWF - and browsers have
caching systems...

 

Could an MM person weigh in on this subject?

 

Thanks,

Keldon

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Wednesday, August 31, 2005 9:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] "Browserless" Flex?

 

Please be aware that the Flex EULA might not allow you to embed a Flex SWF
into another application. This topic has been covered here multiple times so
you might want to check the list archive.

 

Dirk.

 

  _  

Von: flexcoders@yahoogroups.com im Auftrag von J.A. Rottman
Gesendet: Mi 31.08.2005 17:47
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] "Browserless" Flex?

Steve I am working on something very similar. I have
found that using Zinc by mdm helps a whole lot. Mind
you it is a bit pricy, but well worth the cost/outcome
ratio.

--- Steve Ocean <[EMAIL PROTECTED]> wrote:

> can they have a player installed?
>
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
>
>
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am just about to start a very large project and
> have convinced the
> > client that Flex is the way to go.
> >
> > The one thing they would like to be able to do is
> run the app without a
> > browser. I was able to do this with the previous
> version (I built in Flash)
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> >
> > Can I accomplish something similar in Flex?
> >
> > the reason this is such a big deal is because due
> to security constraints
> > some of the machines they will need run the app
> on, they dont have web
> > browsers installed (if that makes sense).
> >
> > any ideas?
> >
> > --
> > -chris.alvarado
> > [application developer]
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design
>
development
&k=Web+site+design+development&w1=Web+site+design+development&w2=Software+de
sign+and+development&w3=Macromedia+flex&w4=Software+development+best+practic
e&c=4&s=131&.sig=FkTWphZzV9mFulU7V3u7pQ>
>  Software
> > design and
>
development
&k=Software+design+and+development&w1=Web+site+design+development&w2=Softwar
e+design+and+development&w3=Macromedia+flex&w4=Software+development+best+pra
ctice&c=4&s=131&.sig=w0jnvy4gyxC04c4dhRnw6A>
>  Macromedia
> >
>
flex
&k=Macromedia+flex&w1=Web+site+design+development&w2=Software+design+and+dev
elopment&w3=Macromedia+flex&w4=Software+development+best+practice&c=4&s=131&
.sig=XXu7YeegB3Vi-5Qngf6oNQ>
>   Software
> > development best
>
practice
&k=Software+development+best+practice&w1=Web+site+design+development&w2=Soft
ware+design+and+development&w3=Macromedia+flex&w4=Software+development+best+
practice&c=4&s=131&.sig=ZT_U6e_iPgXSriY_dI9nIg>
> 
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >- Visit your group
>
"flexcoders"
>
> >on the web.
> > - To unsubscribe from this group, send an
> email to:
> >  
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]
m?subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >Service .
> >
> >
> >  --
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group

[flexcoders] Re: Flex & Cairngorm + ColdFusion + Framework?

2005-08-31 Thread kaibabsowats
The nature of Remoting does limit the benifits of frameworks for the
backend.  Let me restate this.  It doesn't warrant anything fancy for
the actual Remote Object interface.  Of course you should use patterns
for business logic but the actual Remote Object interface is just API
structure of folders. (ie:  com.store.ProductService,
com.setup.UserService)

The actual business logic and other backend resources that
ProductService and UserService uses to get the correct data is where
you can use Patterns.  The patterns would probably be more along the
lines of Business Logic, Database, State, etc... not UI patterns. 

So my quick answer is yes and no, does that make sense?

Renaun

--- In flexcoders@yahoogroups.com, "Simon Barber" <[EMAIL PROTECTED]> wrote:
> I recently started building an application in Flex using the
> Cairngorm 
> framework. The server side logic will come from ColdFusion but I was 
> wondering if anyone implements any MVC style framework on the 
> ColdFusion side? 
> 
> I have looked at a few and the Tartan framework has a lot of 
> similarities with Cairngorm. Do you think it would be worth 
> implementing an MVC framework on the server side like Tartan for 
> instance?
> 
> Has anyone done this and had great success?




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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: Jboss throws out of memory error

2005-08-31 Thread kaibabsowats
Most likely its a JVM issue.  What JVM are you using?

If its Sun's set the -Xms and -Xmx parameters.

Renaun

--- In flexcoders@yahoogroups.com, "relisanhard52"
<[EMAIL PROTECTED]> wrote:
> Hi
> I am using JBoss 3.2.2. I deploy some sample flex demo code. Sometimes 
> it is throwing this error - OutOfMemoryError.
> Considering my sample demo applications are hardly 8files together this 
> is starting to concern me..
> 
> Any ideas/advise.
> 
> 
> Regards
> Husain
> 
> Btw, Alistair/Steven - your book not sold/published in India?(I had to 
> get a copy from amazon!)




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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: Embedding images in an array

2005-08-31 Thread kaibabsowats
Try,

var viewImages:Array = new Array();
[Embed(source="/assets/lock.png")]
var lockImage:String;
viewImages[ "lockImage" ] = lockImage;

Renaun

--- In flexcoders@yahoogroups.com, "zipo13" <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to embed a bunch of images into an array instead of a string.
> I think my failure to do that comes from the fact that I don't know
> what this syntax actually does:
> 
> [Embed(source="/assets/lock.png")]
> var lockImage:String;
> 
> I understand that this causes lockImage to somehow get a string that
> represents the embedded image but I'm not sure how this happens - does
> the compiler just "knows" to pick the string var that is defined right
> after it?
> 
> in that in mind I tried the following:
> 
> var viewImages:Array = new Array();
> [Embed(source="/assets/lock.png")]
> viewImages["lockImage"];
> 
> in the hope that this string will get into the array under "lockImage"
> but as expected it didn't work.
> 
> Any ideas?




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Referencing results from NetConnection Debugger

2005-08-31 Thread coldfs
Hi,

Here's the RO result using the NetConnection Debugger.  I have a 
function that can always read the first array element, but the others 
aren't readable.  I've tried every combination but can't reference 
the other array elements.  I would greatly appreciate any help? 

Thanks,
Darius

--AS function

private function handleSearchResult(result:Array):Void{
/this works, displays 'Inactive'
var result:Array = result[0];
alert(result["CStatus"]);

//this doesn't work, blank value
var result:Array = result[1];
alert(result["CStatus"]);

--NetConnection Debugger--

Result (object #2)
.[0] (object #3)
..AStatus: ""
..CStatus: "Inactive"
..PStatus: ""
..BirthDate (object #4)
..."Tue May 1 01:00:00 GMT-0700 2001"
.[1] (object #5)
..AStatus: ""
..CStatus: "Active"
..PStatus: ""
..BirthDate (object #6)
..."Sat May 7 01:00:00 GMT-0700 2000"
.[2] (object #7)
..AStatus: ""
..CStatus: "Inactive"
..PStatus: "Never"
..BirthDate (object #8)
..."Sun Feb 2 00:00:00 GMT-0800 1998"
.[3] (object #9)
..RecordCount: 1





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Referencing results from NetConnection Debugger

2005-08-31 Thread Kelly R


Dont name your internal variable result:
var result:Array = result[0];Name it something else like myResult:
var myResult:Array = result[0];




From: "coldfs" <[EMAIL PROTECTED]>Reply-To: flexcoders@yahoogroups.comTo: flexcoders@yahoogroups.comSubject: [flexcoders] Referencing results from NetConnection DebuggerDate: Wed, 31 Aug 2005 17:43:43 -Hi,Here's the RO result using the NetConnection Debugger.  I have a function that can always read the first array element, but the others aren't readable.  I've tried every combination but can't reference the other array elements.  I would greatly appreciate any help? Thanks,Darius--AS functionprivate function handleSearchResult(result:Array):Void{/this works, displays 'Inactive'var result:Array = result[0];alert(result["CStatus"]);//this doesn't work, blank valuevar result:Array = 
result[1];alert(result["CStatus"]);--NetConnection Debugger--Result (object #2).[0] (object #3)..AStatus: ""..CStatus: "Inactive"..PStatus: ""..BirthDate (object #4)..."Tue May 1 01:00:00 GMT-0700 2001".[1] (object #5)..AStatus: ""..CStatus: "Active"..PStatus: ""..BirthDate (object #6)..."Sat May 7 01:00:00 GMT-0700 2000".[2] (object #7)..AStatus: ""..CStatus: "Inactive"..PStatus: "Never"..BirthDate (object #8)..."Sun Feb 2 00:00:00 GMT-0800 1998".[3] (object #9)..RecordCount: 1--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 



Web site design development 
Software design and development 
Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email to: [EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 








--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  













[flexcoders] "Browserless" Flex? - legal?

2005-08-31 Thread Keldon Rush
Embedding the flex SWF into a program as a resource is one thing, creating a
network aware client that is not based in a browser that downloads the flex
SWF from the licensed server is allowed as far as I understand.  This is
basically creating your own browser to download the SWF - and browsers have
caching systems...

 

Could an MM person weigh in on this subject?

 

Thanks,

Keldon

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Wednesday, August 31, 2005 9:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] "Browserless" Flex?

 

Please be aware that the Flex EULA might not allow you to embed a Flex SWF
into another application. This topic has been covered here multiple times so
you might want to check the list archive.

 

Dirk.

 

  _  

Von: flexcoders@yahoogroups.com im Auftrag von J.A. Rottman
Gesendet: Mi 31.08.2005 17:47
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] "Browserless" Flex?

Steve I am working on something very similar. I have
found that using Zinc by mdm helps a whole lot. Mind
you it is a bit pricy, but well worth the cost/outcome
ratio.

--- Steve Ocean <[EMAIL PROTECTED]> wrote:

> can they have a player installed?
>
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
>
>
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am just about to start a very large project and
> have convinced the
> > client that Flex is the way to go.
> >
> > The one thing they would like to be able to do is
> run the app without a
> > browser. I was able to do this with the previous
> version (I built in Flash)
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> >
> > Can I accomplish something similar in Flex?
> >
> > the reason this is such a big deal is because due
> to security constraints
> > some of the machines they will need run the app
> on, they dont have web
> > browsers installed (if that makes sense).
> >
> > any ideas?
> >
> > --
> > -chris.alvarado
> > [application developer]
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design
>
development
&k=Web+site+design+development&w1=Web+site+design+development&w2=Software+de
sign+and+development&w3=Macromedia+flex&w4=Software+development+best+practic
e&c=4&s=131&.sig=FkTWphZzV9mFulU7V3u7pQ>
>  Software
> > design and
>
development
&k=Software+design+and+development&w1=Web+site+design+development&w2=Softwar
e+design+and+development&w3=Macromedia+flex&w4=Software+development+best+pra
ctice&c=4&s=131&.sig=w0jnvy4gyxC04c4dhRnw6A>
>  Macromedia
> >
>
flex
&k=Macromedia+flex&w1=Web+site+design+development&w2=Software+design+and+dev
elopment&w3=Macromedia+flex&w4=Software+development+best+practice&c=4&s=131&
.sig=XXu7YeegB3Vi-5Qngf6oNQ>
>   Software
> > development best
>
practice
&k=Software+development+best+practice&w1=Web+site+design+development&w2=Soft
ware+design+and+development&w3=Macromedia+flex&w4=Software+development+best+
practice&c=4&s=131&.sig=ZT_U6e_iPgXSriY_dI9nIg>
> 
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >- Visit your group
>
"flexcoders"
>
> >on the web.
> > - To unsubscribe from this group, send an
> email to:
> >  
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]
m?subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >Service .
> >
> >
> >  --
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group

RE: [flexcoders] "Browserless" Flex? - legal?

2005-08-31 Thread Matt Chotin
Title: Re: [flexcoders] "Browserless" Flex?










You only asked 3 hours ago, have patience J  I believe what you’ve
proposed falls within the license but you can talk to a sales rep for further
confirmation.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Keldon Rush
Sent: Wednesday, August 31, 2005
12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
"Browserless" Flex? - legal?



 

Embedding the flex SWF into a program as a
resource is one thing, creating a network aware client that is not based in a
browser that downloads the flex SWF from the licensed server is allowed as far
as I understand.  This is basically creating your own browser to download
the SWF – and browsers have caching systems…

 

Could an MM person weigh in on this
subject?

 

Thanks,

Keldon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk Eismann
Sent: Wednesday, August 31, 2005 9:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
"Browserless" Flex?



 





Please be aware that the Flex EULA might
not allow you to embed a Flex SWF into another application. This topic has been
covered here multiple times so you might want to check the list archive.





 





Dirk.







 







Von: flexcoders@yahoogroups.com im Auftrag von J.A.
Rottman
Gesendet: Mi 31.08.2005 17:47
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders]
"Browserless" Flex?





Steve I am working on something very similar.
I have
found that using Zinc by mdm helps a whole lot. Mind
you it is a bit pricy, but well worth the cost/outcome
ratio.

--- Steve Ocean <[EMAIL PROTECTED]>
wrote:

> can they have a player installed?
>
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
>
>
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am just about to start a very large project and
> have convinced the
> > client that Flex is the way to go.
> >
> > The one thing they would like to be able to do is
> run the app without a
> > browser. I was able to do this with the previous
> version (I built in Flash)
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> >
> > Can I accomplish something similar in Flex?
> >
> > the reason this is such a big deal is because due
> to security constraints
> > some of the machines they will need run the app
> on, they dont have web
> > browsers installed (if that makes sense).
> >
> > any ideas?
> >
> > --
> > -chris.alvarado
> > [application developer]
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design
>
development
>  Software
> > design and
>
development
>  Macromedia
> >
>
flex
>   Software
> > development best
>
practice
> 
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >    - Visit your group
>
"flexcoders"
>
> >    on the web.
> > - To unsubscribe from this group, send an
> email to:
> >  
>
[EMAIL PROTECTED]<[EMAIL PROTECTED]?subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >    Service .
> >
> >
> >  --
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


 Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~->

--
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:

[flexcoders] Reflection and RemoteObjects

2005-08-31 Thread Michel Bertrand
Title: Reflection and RemoteObjects








Hello !


I would like to use reflection, As2lib Reflection API, over published RemoteObjects, , 

is there any way to do that ? Can I manipulate RemoteObject references using ActionScript ?


As2lib Reflection API - http://www.simonwacker.com/blog/archives/2005_06.php


Thanks in advance !

Michel.










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Custom Tree Control

2005-08-31 Thread Mehdi, Agha
Title: Custom Tree Control







Hi All,

I have to modify tree control so that child nodes are DataGrids. The reason I need it to be like this is so that I can expand all of the nodes and have grouped results, which just made me think what if I use nested repeaters to do the same thing?

What do you think?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax:   408.284.2766









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Very simple security need: where to start?

2005-08-31 Thread Tracy Spratt
Title: Very simple security need:  where to start?








I have a simple distributed architecture with an outward facing IIS 6 web server running a secured ASP.NET application.  Part of that application is a custom wrapper containing a Flex app running from a dedicated server under Tomcat 5.0, and accessed through an ISAPI filter – based “connector.”

I want the Flex application / server to be accessible only from that IIS web server, only from the custom wrapper, in fact, and for it to refuse any other access.  Currently, an url with the proper context path bypasses the web server security and can go straight to the mxml on the Flex server.

All the security documentation I have read starts at a much more complicated level, with challenges, and logins and “realms”, and other arcane stuff.

I apologize for being a bit off topic and am heading out to find a Tomcat forum to join, but I would appreciate hearing from anyone who can narrow my search..

Tracy







--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Does Flex have equivalent of JSTL ?

2005-08-31 Thread cruegger2000

I need to iterate through a collection of polymorphic objects
and build a form dynamically. Depending on the current type
of object, I  need to output 1, 2, or 3  components.
I'm using a Repeater to iterate through the collection.

Does Flex have the equivalent of JSTL  or some other
logic tags that will let me conditionally generate mxml?

Thanks in advance.






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Custom Tree Control

2005-08-31 Thread Tracy Spratt
Title: Custom Tree Control










See if this will help:

http://www.cayambe.com/plog/index.php?op=ViewArticle&articleId=5&blogId=1

 

Tracy

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mehdi, Agha
Sent: Wednesday, August 31, 2005
4:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Custom Tree
Control



 

Hi All,

I have to modify tree control so that child
nodes are DataGrids. The reason I need it to be like this is so that I can
expand all of the nodes and have grouped results, which just made me think what
if I use nested repeaters to do the same thing?

What do you think?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax:   408.284.2766









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] "Browserless" Flex? - legal?

2005-08-31 Thread Scott Barnes



My thoughts: This is a good time to air this publically, do's and don'ts and then we can put it in the Flexcoders FAQ?

Questions would be:

1) What defines an agent and how long is that agent allowed to "cache" FLEX swfs
2) What are the grounds for embedding, in that can I as a FLEX
developer embed an empty swf inside my thickware app, that then
downloads swf's from remote FLEX server(s) *which i think is legal*

Just the ya know, run of the mill hypothetical legal do's and don'ts hehehe
On 9/1/05, Matt Chotin <[EMAIL PROTECTED]> wrote:

























You only asked 3 hours ago, have patience 
J  I believe what you've
proposed falls within the license but you can talk to a sales rep for further
confirmation.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Keldon Rush
Sent: Wednesday, August 31, 2005
12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
"Browserless" Flex? - legal?



 

Embedding the flex SWF into a program as a
resource is one thing, creating a network aware client that is not based in a
browser that downloads the flex SWF from the licensed server is allowed as far
as I understand.  This is basically creating your own browser to download
the SWF – and browsers have caching systems…

 

Could an MM person weigh in on this
subject?

 

Thanks,

Keldon

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Dirk Eismann
Sent: Wednesday, August 31, 2005 9:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
"Browserless" Flex?



 





Please be aware that the Flex EULA might
not allow you to embed a Flex SWF into another application. This topic has been
covered here multiple times so you might want to check the list archive.





 





Dirk.







 







Von:
 flexcoders@yahoogroups.com im Auftrag von J.A.
Rottman
Gesendet: Mi 31.08.2005 17:47
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders]
"Browserless" Flex?





Steve I am working on something very similar.
I have
found that using Zinc by mdm helps a whole lot. Mind
you it is a bit pricy, but well worth the cost/outcome
ratio.

--- Steve Ocean <[EMAIL PROTECTED]>
wrote:

> can they have a player installed?
>
>
http://www.gold-software.com/SWFLivePreview-review20489.htm
>
>
> On 8/30/05, chris.alvarado
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am just about to start a very large project and
> have convinced the
> > client that Flex is the way to go.
> >
> > The one thing they would like to be able to do is
> run the app without a
> > browser. I was able to do this with the previous
> version (I built in Flash)
> > by publishing a .exe that made a loadmovie call to
> load the "initial" swf.
> >
> > Can I accomplish something similar in Flex?
> >
> > the reason this is such a big deal is because due
> to security constraints
> > some of the machines they will need run the app
> on, they dont have web
> > browsers installed (if that makes sense).
> >
> > any ideas?
> >
> > --
> > -chris.alvarado
> > [application developer]
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design
>
development<
http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Software+design+and+development&w3=Macromedia+flex&w4=Software+development+best+practice&c=4&s=131&.sig=FkTWphZzV9mFulU7V3u7pQ
>
>  Software
> > design and
>
development<
http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Software+design+and+development&w3=Macromedia+flex&w4=Software+development+best+practice&c=4&s=131&.sig=w0jnvy4gyxC04c4dhRnw6A
>
>  Macromedia
> >
>
flex<
http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Software+design+and+development&w3=Macromedia+flex&w4=Software+development+best+practice&c=4&s=131&.sig=XXu7YeegB3Vi-5Qngf6oNQ
>
>   Software
> > development best
>
practice<
http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Software+design+and+development&w3=Macromedia+flex&w4=Software+development+best+practice&c=4&s=131&.sig=ZT_U6e_iPgXSriY_dI9nIg
>
> 
> >  --
> > YAHOO! GROUPS LINKS
> >
> >
> >    - Visit your group
>
"flexcoders"
>
> >    on the web.
> > - To unsubscribe from this group, send an
> email to:
> >  
>
[EMAIL PROTECTED]<
[EMAIL PROTECTED]?subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> >    Service .
> >
> >
> >  --
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
htt

[flexcoders] Re: CAIRNGORM 0.99 QUESTION

2005-08-31 Thread flexcoding
Hi,

Thanks for the reply. You must be a very experienced programmer 
because you just looked at the suggestion and found the problem it 
will create two steps down. I have experienced the same problem that 
you mentioned below if I use recommended  tag 
instead of  tag, but I had to spend 
considerable time to nail down the cause, which I believe, and like 
you said, is that the ServiceLocator.getInstance() is failing 
because it hasn't been initialized yet.

1. How can I ensure that my services are created before my front 
controller in the Index?

2. Does this approach of creating delegates in Command Constructor 
has any advantage/disadvantage?

Thanks & Regards,

Rohit Chhabra.

--- In flexcoders@yahoogroups.com, "Daniel Harfleet" 
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> you would need to be carefull, because the command instances are
> created once only at creation of the FrontController. By creating a
> delegate instance, you are using the ServiceLocator to look up the
> remote object, however, if your service locator hasn't been
> initialized yet, you may get  a no service found error. So make 
sure
> your services are created before you front controller if you are 
going
> to take this approach.
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "flexcoding" <[EMAIL PROTECTED]> 
wrote:
> > Is it OK to have a constructor in the Command classes and have 
> > delegate initialized there rather than doing it in every time 
> > execute method is called?
> > 
> > So Could the code of LoginCommand of sample code that came with 
> > CAIRNGORM 0.99 be changed to:
> > 
> > class org.nevis.cairngorm.samples.login.commands.LoginCommand 
> > implements Command, Responder
> > {
> >private var delegate: CustomerDelegate;
> > 
> >public function LoginCommand ()
> >{
> >   delegate = new CustomerDelegate( this );
> >}
> > 
> >public function execute( event:Event ) : Void
> >{
> >   var loginVO : LoginVO = LoginVO( event.data );
> >   delegate.login( loginVO );
> >}
> > 
> > //---

> > --
> > 
> >public function onResult( event : Object ) : Void
> >{  
> >   ModelLocator.workflowState = 
> > ModelLocator.VIEWING_LOGGED_IN_SCREEN;
> >   
> >   var loginDate : Date = Date( event.result );   
> >   ModelLocator.loginDate = loginDate;
> >}
> > 
> > //---

> > --
> > 
> >public function onFault( event : Object ) : Void
> >{
> >   ModelLocator.statusMessage = "Your username or password 
was 
> > wrong, please try again.";
> >}
> > }
> > 
> > from
> > 
> > /*
> > 
> > Copyright 2005 iteration::two Ltd
> > 
> > Licensed under the Apache License, Version 2.0 (the "License");
> > you may not use this file except in compliance with the License.
> > You may obtain a copy of the License at
> > 
> > http://www.apache.org/licenses/LICENSE-2.0
> > 
> > Unless required by applicable law or agreed to in writing, 
software
> > distributed under the License is distributed on an "AS IS" BASIS,
> > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
> > implied.
> > See the License for the specific language governing permissions 
and
> > limitations under the License.
> > 
> > @ignore
> > */
> > import org.nevis.cairngorm.business.Responder;
> > import org.nevis.cairngorm.commands.Command;
> > import org.nevis.cairngorm.control.Event;
> > import 
org.nevis.cairngorm.samples.login.business.CustomerDelegate;
> > import org.nevis.cairngorm.samples.login.vo.LoginVO;
> > import org.nevis.cairngorm.samples.login.model.ModelLocator;
> > 
> > /**
> >  * @version $Revision: 1.4 $
> >  */
> > class org.nevis.cairngorm.samples.login.commands.LoginCommand 
> > implements Command, Responder
> > {
> > 
> >public function execute( event:Event ) : Void
> >{
> >   var delegate: CustomerDelegate = new CustomerDelegate( 
> > this ); 
> >   var loginVO : LoginVO = LoginVO( event.data );
> >   delegate.login( loginVO );
> >}
> > 
> > //---

> > --
> > 
> >public function onResult( event : Object ) : Void
> >{  
> >   ModelLocator.workflowState = 
> > ModelLocator.VIEWING_LOGGED_IN_SCREEN;
> >   
> >   var loginDate : Date = Date( event.result );   
> >   ModelLocator.loginDate = loginDate;
> >}
> > 
> > //---

> > --
> > 
> >public function onFault( event : Object ) : Void
> >{
> >   ModelLocator.statusMessage = "Your username or password 
was 
> > wrong, please try again.";
> >}
> > }





 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--

RE: [flexcoders] Very simple security need: where to start? - solved

2005-08-31 Thread Tracy Spratt
Title: Very simple security need: where to start?










For anyone who cares, the solution is to
declare a “Valve” element in the …\conf\server.xml file
within the   tag like these
examples:

 

  


allow="*.mycompany.com,www.yourcompany.com"/>

  


deny="192.168.1.*"/>

 

Tracy









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, August 31, 2005
4:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Very simple
security need: where to start?



 

I
have a simple distributed architecture with an outward facing IIS
6
web
server running a secured ASP.NET application.  Part of
that application is a custom wrapper containing a
Flex
app running from a dedicated server under Tomcat 5.0, and
accessed
through an ISAPI filter – based “connector.”

I
want the Flex application / server to be accessible only from
that IIS web server, only from
the custom wrapper, in fact, and for it to refuse any other
access.  Currently, an url with the proper context
path
bypasses the web server security and can go straight to the mxml on the
Flex
server.

All
the security documentation I have read starts at a much more complicated level,
with challenges, and logins and “realms”, and other
arcane stuff.

I
apologize for being a bit off topic and am heading out to find a Tomcat forum
to join, but I would appreciate hearing from anyone
who
can narrow my search..

Tracy









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Referencing results from NetConnection Debugger

2005-08-31 Thread dfatta





That 
was it!! One day, my brain will inevitably explode from a syntax 
error...:-)
 
Many 
thanks!
Darius

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Kelly RSent: 
  Wednesday, August 31, 2005 12:01 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Referencing 
  results from NetConnection Debugger
  
  Dont name your internal variable result:
  var result:Array = 
  result[0];Name it something else like myResult:
  var myResult:Array = 
  result[0];
  
  
  

From: "coldfs" <[EMAIL PROTECTED]>Reply-To: 
flexcoders@yahoogroups.comTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Referencing 
results from NetConnection DebuggerDate: Wed, 31 Aug 2005 
17:43:43 -Hi,Here's the RO result using the 
NetConnection Debugger.  I have a function that can always read the 
first array element, but the others aren't readable.  I've tried 
every combination but can't reference the other array elements.  I 
would greatly appreciate any help? Thanks,Darius--AS 
functionprivate function 
handleSearchResult(result:Array):Void{/this works, displays 
'Inactive'var result:Array = 
result[0];alert(result["CStatus"]);//this doesn't work, blank 
valuevar result:Array = 
result[1];alert(result["CStatus"]);--NetConnection 
Debugger--Result (object #2).[0] (object 
#3)..AStatus: ""..CStatus: 
"Inactive"..PStatus: ""..BirthDate (object 
#4)..."Tue May 1 01:00:00 GMT-0700 2001".[1] (object 
#5)..AStatus: ""..CStatus: 
"Active"..PStatus: ""..BirthDate (object 
#6)..."Sat May 7 01:00:00 GMT-0700 2000".[2] (object 
#7)..AStatus: ""..CStatus: 
"Inactive"..PStatus: "Never"..BirthDate (object 
#8)..."Sun Feb 2 00:00:00 GMT-0800 1998".[3] (object 
#9)..RecordCount: 
1--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web 
  site design development 
Software 
  design and development 
Macromedia 
  flex 
  
Software 
  development best practice 


YAHOO! GROUPS LINKS 

   Visit your group "flexcoders" on the 
  web.  
   To unsubscribe from this group, send an email 
  to: [EMAIL PROTECTED]  
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Referencing results from NetConnection Debugger

2005-08-31 Thread Tracy Spratt










Hey man, don’t feel bad, the goldurn
compiler really should catch reserved words!

Tracy

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005
6:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Referencing results from NetConnection Debugger



 



That was it!! One day, my brain will
inevitably explode from a syntax error...:-)





 





Many thanks!





Darius





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf
Of Kelly R
Sent: Wednesday, August 31, 2005
12:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Referencing results from NetConnection Debugger



Dont name
your internal variable result:

var result:Array = result[0];

Name it something else like myResult:

var myResult:Array = result[0];













From: "coldfs" <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Referencing results
from NetConnection Debugger
Date: Wed, 31 Aug 2005 17:43:43 -

Hi,

Here's the RO result using the NetConnection
Debugger.  I have a 
function that can always read the first array
element, but the others 
aren't readable.  I've tried every
combination but can't reference 
the other array elements.  I would greatly
appreciate any help? 

Thanks,
Darius

--AS function

private function
handleSearchResult(result:Array):Void{
/this works, displays 'Inactive'
var result:Array = result[0];
alert(result["CStatus"]);

//this doesn't work, blank value
var result:Array = result[1];
alert(result["CStatus"]);

--NetConnection Debugger--

Result (object #2)
.[0] (object #3)
..AStatus: ""
..CStatus: "Inactive"
..PStatus: ""
..BirthDate (object #4)
..."Tue May 1 01:00:00 GMT-0700
2001"
.[1] (object #5)
..AStatus: ""
..CStatus: "Active"
..PStatus: ""
..BirthDate (object #6)
..."Sat May 7 01:00:00 GMT-0700
2000"
.[2] (object #7)
..AStatus: ""
..CStatus: "Inactive"
..PStatus: "Never"
..BirthDate (object #8)
..."Sun Feb 2 00:00:00 GMT-0800
1998"
.[3] (object #9)
..RecordCount: 1





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






SPONSORED
LINKS 




 
  
  Web
  site design development 
  
  
  Software
  design and development 
  
  
  Macromedia
  flex 
  
 
 
  
  Software
  development best practice 
  
  
   
  
  
   
  
 


 







YAHOO!
GROUPS LINKS 

 


  Visit your group
 "flexcoders"
 on the web.
   
  To unsubscribe
 from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of
 Yahoo! Groups is subject to the Yahoo!
 Terms of Service. 


 







 













--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Referencing results from NetConnection Debugger

2005-08-31 Thread Kelly










Whether it is a reserved word or not had
nothing to do with why it didn’t work in this particular instance.

 

It didn’t work because the same
variable name was being used in two places.

 

var result:Array =
result[0];

 

This line was overwriting every value in
the array except for the first one.

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Wednesday, August 31, 2005
6:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Referencing results from NetConnection Debugger



 

Hey man, don’t feel bad, the goldurn
compiler really should catch reserved words!

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005
6:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Referencing
results from NetConnection Debugger



 



That was it!! One day, my brain will
inevitably explode from a syntax error...:-)





 





Many thanks!





Darius





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On Behalf Of Kelly R
Sent: Wednesday, August 31, 2005
12:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Referencing results from NetConnection Debugger



Dont name
your internal variable result:

var result:Array = result[0];

Name it something else like myResult:

var myResult:Array = result[0];

 









From: "coldfs" <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Referencing results
from NetConnection Debugger
Date: Wed, 31 Aug 2005 17:43:43 -

Hi,

Here's the RO result using the NetConnection
Debugger.  I have a 
function that can always read the first array
element, but the others 
aren't readable.  I've tried every
combination but can't reference 
the other array elements.  I would greatly
appreciate any help? 

Thanks,
Darius

--AS function

private function
handleSearchResult(result:Array):Void{
/this works, displays 'Inactive'
var result:Array = result[0];
alert(result["CStatus"]);

//this doesn't work, blank value
var result:Array = result[1];
alert(result["CStatus"]);

--NetConnection Debugger--

Result (object #2)
.[0] (object #3)
..AStatus: ""
..CStatus: "Inactive"
..PStatus: ""
..BirthDate (object #4)
..."Tue May 1 01:00:00 GMT-0700
2001"
.[1] (object #5)
..AStatus: ""
..CStatus: "Active"
..PStatus: ""
..BirthDate (object #6)
..."Sat May 7 01:00:00 GMT-0700
2000"
.[2] (object #7)
..AStatus: ""
..CStatus: "Inactive"
..PStatus: "Never"
..BirthDate (object #8)
..."Sun Feb 2 00:00:00 GMT-0800
1998"
.[3] (object #9)
..RecordCount: 1





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





SPONSORED
LINKS 




 
  
  Web
  site design development 
  
  
  Software
  design and development 
  
  
  Macromedia
  flex 
  
 
 
  
  Software
  development best practice 
  
  
   
  
  
   
  
 


 











YAHOO!
GROUPS LINKS 

 


  Visit your group
 "flexcoders"
 on the web.
   
  To unsubscribe
 from this group, send an email to:
  [EMAIL PROTECTED]
   
  Your use of
 Yahoo! Groups is subject to the Yahoo!
 Terms of Service. 


 











 














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Referencing results from NetConnection Debugger

2005-08-31 Thread dfatta





Ahhh...That makes more 
sense...Thanks!!

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of KellySent: 
  Wednesday, August 31, 2005 4:21 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Referencing 
  results from NetConnection Debugger
  
  Whether it is a 
  reserved word or not had nothing to do with why it didn’t work in this 
  particular instance.
   
  It didn’t work 
  because the same variable name was being used in two 
  places.
   
  var result:Array = 
  result[0];
   
  This line was 
  overwriting every value in the array except for the first 
  one.
   
   
   
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Tracy 
  SprattSent: Wednesday, 
  August 31, 2005 6:50 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Referencing 
  results from NetConnection Debugger
   
  Hey man, don’t feel 
  bad, the goldurn compiler really should catch reserved 
  words!
  Tracy
   
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of 
  [EMAIL PROTECTED]Sent: Wednesday, August 31, 2005 6:38 
  PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Referencing 
  results from NetConnection Debugger
   
  
  That was it!! One 
  day, my brain will inevitably explode from a syntax 
  error...:-)
  
   
  
  Many 
  thanks!
  
  Darius
  
-Original 
Message-From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]On Behalf Of Kelly RSent: Wednesday, August 31, 2005 12:01 
PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Referencing 
results from NetConnection Debugger

Dont 
name your internal variable result:
var result:Array = 
result[0];Name it something else like 
myResult:
var myResult:Array = 
result[0];
 

  
  
  
  From: "coldfs" 
  <[EMAIL PROTECTED]>Reply-To: flexcoders@yahoogroups.comTo: 
  flexcoders@yahoogroups.comSubject: 
  [flexcoders] Referencing results from 
  NetConnection DebuggerDate: Wed, 31 Aug 2005 17:43:43 
  -Hi,Here's the RO result using the NetConnection 
  Debugger.  I have a function that can always read the first array element, 
  but the others aren't 
  readable.  I've tried every combination but can't reference 
  the other array 
  elements.  I would greatly appreciate any help? 
  Thanks,Darius--AS 
  functionprivate function 
  handleSearchResult(result:Array):Void{/this works, displays 
  'Inactive'var result:Array = 
  result[0];alert(result["CStatus"]);//this doesn't work, blank 
  valuevar result:Array = 
  result[1];alert(result["CStatus"]);--NetConnection 
  Debugger--Result 
  (object #2).[0] (object 
  #3)..AStatus: 
  ""..CStatus: 
  "Inactive"..PStatus: 
  ""..BirthDate (object 
  #4)..."Tue May 1 
  01:00:00 GMT-0700 2001".[1] (object #5)..AStatus: ""..CStatus: "Active"..PStatus: ""..BirthDate (object 
  #6)..."Sat May 7 
  01:00:00 GMT-0700 2000".[2] (object #7)..AStatus: ""..CStatus: "Inactive"..PStatus: "Never"..BirthDate (object 
  #8)..."Sun Feb 2 
  00:00:00 GMT-0800 1998".[3] (object #9)..RecordCount: 
  1--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  SPONSORED 
  LINKS 
  
  

  
Web 
site design development 
  
Software 
design and development 
  
Macromedia 
flex 

  
Software 
development best practice 
  
 
  
 
   
  
  
  
  
  YAHOO! GROUPS 
  LINKS 
  
   
  
 Visit your 
group "flexcoders" on the 
web.  
 To unsubscribe 
from this group, send an email to: [EMAIL PROTECTED]  

 Your use of 
Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 

   
  
  
  
  
   






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development 

[flexcoders] Re: Very simple security need: where to start?

2005-08-31 Thread Jason R. Weiss
Take a look at RemoteHostValve and the RemoteAddrValve in the Tomcat 
docs.  They'll give you what you want. You should be able to do 
something like this in server.xml:



  
  ...



This example would only allow connections from 128.146.*.* clients.

HTH,

Jason Weiss


--
Jason Weiss
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.832.444.2246








 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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: Does Flex have equivalent of JSTL ?

2005-08-31 Thread Jason R. Weiss
Short answer: No.

Long answer:  You have to realize that JSTL tags logically give you 
dynamic template text but physically ALL of the text in the JSP page 
is included in the servlet.  Since JSPs rely on a request/response 
model on the server, it is easy for that  tag to be evaluated 
as a true if block and stream back the appropriate content.  
However, the architecture of Flex doesn't rely on the 
request/response model.  The first time the .mxml file is requested 
it is compiled into a .swf file and that entire .swf is sent down to 
the client.  Even if someone were to write the equivalent of a 
 tag, the result would be controls that essentially are 
visible or invisible- but they all were created when the .mxml was 
turned into the .swf file.  In other words to accomplish a  
tag equivalent the compiler would be forced to create the 
corresponding controls and then create the corresponding logic to 
show or hide the controls based on the logic path.  JSPs work 
against a stream back to the client, so the client browser never 
knows that there was an alternate path thru.  In our .swf world, 
there is no request/reply going on so the client would have to know 
ahead of time that it has to dynamically show/hide controls.


I'm not sure if I've helped or hindered with this post-- that's what 
I get for posting on the groups late at night!

--
Jason Weiss
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.832.444.2246








 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Re: Jboss throws out of memory error

2005-08-31 Thread Husain Kitabi



Hi
I am using Sun JDK 1.4
What does those parameters signify.
 
Regards
Husainkaibabsowats <[EMAIL PROTECTED]> wrote:
Most likely its a JVM issue.  What JVM are you using?If its Sun's set the -Xms and -Xmx parameters.Renaun--- In flexcoders@yahoogroups.com, "relisanhard52"<[EMAIL PROTECTED]> wrote:> Hi> I am using JBoss 3.2.2. I deploy some sample flex demo code. Sometimes > it is throwing this error - OutOfMemoryError.> Considering my sample demo applications are hardly 8files together this > is starting to concern me..> > Any ideas/advise.> > > Regards> Husain> > Btw, Alistair/Steven - your book not sold/published in India?(I had to > get a copy from amazon!)hussain__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] loader component question

2005-08-31 Thread Abdul Qabiz
Robert, I am not also sure that this problem is because of browser
restriction. But you can try your application in Firefox by changing
maxhttprequest limit.

If it works in Firefox, then it would be confirmed.

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Wednesday, August 31, 2005 7:37 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] loader component question

Thanks Abdul...that makes sense.  Wasn't aware of that restriction.
Makes sense given my example...so thanks for the help!  I'll just simply
limit the user to having 2 reports kicked off at any given time to
circumvent this situation in the meantime.

Thanks again for the help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Abdul Qabiz
Sent: Wednesday, August 31, 2005 10:03 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] loader component question

Hi,

Need to understand problem and investigate to know the exact reason. But
I think it could be because of concurrent requests browser can make to
server.

I think IE has limit of two concurrent requests and firefox has the same
limit.

You can tweak the maxrequest in firefox and then check, if it works.
Check out this link:

http://www.feld.com/blog/archives/2005/06/speed_up_firefo.html


I am not sure this would solve the problem, but we can narrow down the
cases.


If you are using the same RemoteObject for all four requests then IMO
they would be processed one by one...


-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Brueckmann
Sent: Wednesday, August 31, 2005 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loader component question

Scenario:

I kick off 5 asynchronous actions...all of which make a db call, get
XML, pass it to our report generation engine, which returns a report
object to my Flex app, when that report object comes back with the id
that matches the id of the kicked off process, I display that report in
a HorizontalList component as being ready to view.  When the user clicks
on the icon of the report in the Horizontal list (meanwhile the other 4
processes are still off in various stages of retrieving and generating
the report which ends up being in SWF format), the screen expands
upwards and displays the finished report in a Loader component.  Problem
is, the report does not load into the Loader component until the other 4
reports are done and are displayed in the HorizontalList component.  If
I only kick off 2 processes and the first report comes back before the
second and I click on that report, it shows up in the loader, as soon as
I go past more than one report still processing when trying to display
the finished report in the Loader, it kind of just hangs there until the
rest of the processes are complete.

Sometimes, in the case of the 5 processes being kicked off, and the one
report completes and shows up in the horizontal list and I click on it
to display it, I get a blank screen for about 30 seconds and then my
defined brokenImage image appears as if the report doesn't really exist,
and then when the rest of the processes finish, the loader refreshes
itself and displays the report correctly, replacing the brokenImage
image by itself.

Very strange.  Why is the Loader component dependent upon the other
processes going on on the server?  I figured since all I'm doing is
setting the source of the Loader component to the path to the available
SWF report file, it would just go out and load it in, regardless of the
other processes going on on the server...not so much.

Thoughts?  Should I just avoid asynchronous altogether in this case?  I
just thought it would be great to allow the user to kick off a handful
of reports and start viewing them as they became available, but it's not
working.

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitatio

[flexcoders] Charts Explorer XML source files

2005-08-31 Thread Sreejith Unnikrishnan
Hi

This is regarding the statesdata.xml and other xml files in the Charts 
Explorer by Christophe.

I know that Matt had some time send this out.
[ http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06891.html ]
The files seem to be truncated in the archive and I have lost my local 
copy.
If anybody has these xml files, can you re-post or send it to me please.

Regards
Sree



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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 set a WebService endpoint?

2005-08-31 Thread Matt Chotin










Oops, bug in the doc.  setEndPointURI
should really be setEndpointURI (lower-case ‘p’).  I posted to
livedocs.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mink, Joseph
Sent: Tuesday, August 30, 2005
4:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
set a WebService endpoint?



 

Note, the line in the post
below:

uiMgrWs.getAlert.setEndPointURI
("http://10.1.10.2:8080/uimanager/UIManagerService");

Was something I tried after 1st trying the
following:

uiMgrWs.setEndPointURI
("http://10.1.10.2:8080/uimanager/UIManagerService");

Niether seemed to work, though.

Thanks...

-Original Message-
From: Mink, Joseph 
Sent: Tuesday, August 30, 2005 7:52 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] How to set a WebService
endpoint?

Thanks for the reply...although, it doesn't seem
to be working...I have
the following webservice declaration:

    
   
fault="wsFault (event/*.faultString*/)"
   
id="uiMgrWs"
   
protocol="http"
   
wsdl="http://10.1.10.2:8080/uimanager/UIManagerService?wsdl">
   
(event.result)"/>
    

And the following AS code is used to invoke the
webservice:

function wsGetAlert ():Void
{
  trace ("begin
wsGetAlert()");
 
uiMgrWs.getAlert.setEndPointURI
("http://10.1.10.2:8080/uimanager/UIManagerService");
  uiMgrWs.getAlert
();
  trace ("end
wsGetAlert()");
}

But when reviewing the flex.log file, the
following line can be observed
for each WS call:
08/30 07:43:19 INFO -- POST :
http://localhost:8080/uimanager/UIManagerService

I'm confused!  Thanks for the reply though!



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Tuesday, August 30, 2005 12:52 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to set a WebService
endpoint?



It is automatically determined from the
WSDL.  If you need to specify a
different endpoint check the docs here:

http://livedocs.macromedia.com/flex/15/flex_docs_en/0770.htm



From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Mink, Joseph
Sent: Monday, August 29, 2005 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set a WebService
endpoint?



This may be a stupid question, but how do you set
the endpoint for a
WebService object?


  
concurrency="multiple|single|last"
   fault="No default."
   id="No default."
   load="No default."
   port="No default."
   protocol="http|https"
   result="No default."
   service="No default."
   serviceName="No default."
   showBusyCursor="false|true"
   useProxy="true|false"
   wsdl="No default."
/> 

In the above, there is no place (that I can see)
to set the endpoint.  I
figured it interpreted it from the wsdl
somehow?  Any thoughts are most
appreciated!



--
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 


 
*  Visit your group "flexcoders

" on the web.
    
*  To unsubscribe
from this group, send an email to:
 
[EMAIL PROTECTED]


    
*  Your use of Yahoo!
Groups is subject to the Yahoo! Terms of
Service 
. 













--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] reference to a webservice object

2005-08-31 Thread Matt Chotin










WebService will really be a reference to
mx.servicetags.Service but you should be able to use it to make calls.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of inajamaica
Sent: Tuesday, August 30, 2005
6:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reference to
a webservice object



 

Is it possible to pass a
reference to your webservice object, if you
create the object in mxml?

For instance, I tried the following:



In AS code:

someObj.setRefToWS (mySvc);

But I've found that mySvc is actually a ServiceTag
object, & not a
WebService object...so when I try to make
webservice calls in someObj
with its local reference to mySvc, it doesn't
work.

Is it possible to do this?  Thanks...

Joey










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Software design and development
  
  
Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: Jboss throws out of memory error

2005-08-31 Thread kaibabsowats
The Xms and Xmx JVM parameters set the default memory settings.  By
default Sun's JVM is set to 64Mb which is not high enough for most
server applications.

I dont know JBoss well enough, but you should be able to Google on
JBoss and Xms and Xmx settings.  It will have to do with JAVA_OPTS or
the JAVA command line call "java.exe" in the run scripts.  They should
look something like -Xms256Mb -Xmx256Mb ( or higher ).

You can always use another JVM like IBM, JRockit (I use this one for
servers), Oracle, or Borland.



--- In flexcoders@yahoogroups.com, Husain Kitabi <[EMAIL PROTECTED]>
wrote:
> Hi
> I am using Sun JDK 1.4
> What does those parameters signify.
>  
> Regards
> Husain
> 
> kaibabsowats <[EMAIL PROTECTED]> wrote:
> Most likely its a JVM issue.  What JVM are you using?
> 
> If its Sun's set the -Xms and -Xmx parameters.
> 
> Renaun
> 
> --- In flexcoders@yahoogroups.com, "relisanhard52"
> <[EMAIL PROTECTED]> wrote:
> > Hi
> > I am using JBoss 3.2.2. I deploy some sample flex demo code.
Sometimes 
> > it is throwing this error - OutOfMemoryError.
> > Considering my sample demo applications are hardly 8files together
this 
> > is starting to concern me..
> > 
> > Any ideas/advise.
> > 
> > 
> > Regards
> > Husain
> > 
> > Btw, Alistair/Steven - your book not sold/published in India?(I
had to 
> > get a copy from amazon!)
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> SPONSORED LINKS 
> Web site design development Software design and development
Macromedia flex Software development best practice 
> 
> -
> YAHOO! GROUPS LINKS 
> 
> 
> Visit your group "flexcoders" on the web.
>   
> To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service. 
> 
> 
> -
> 
> 
> 
> 
> hussain
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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: Embedding images in an array

2005-08-31 Thread zipo13
While this will work - why does the intermediate string is needed
here, or why can't the compiler just put the string into the array on
the first place?

--- In flexcoders@yahoogroups.com, "kaibabsowats" <[EMAIL PROTECTED]> wrote:
> Try,
> 
> var viewImages:Array = new Array();
> [Embed(source="/assets/lock.png")]
> var lockImage:String;
> viewImages[ "lockImage" ] = lockImage;
> 
> Renaun
> 
> --- In flexcoders@yahoogroups.com, "zipo13" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I'm trying to embed a bunch of images into an array instead of a
string.
> > I think my failure to do that comes from the fact that I don't know
> > what this syntax actually does:
> > 
> > [Embed(source="/assets/lock.png")]
> > var lockImage:String;
> > 
> > I understand that this causes lockImage to somehow get a string that
> > represents the embedded image but I'm not sure how this happens - does
> > the compiler just "knows" to pick the string var that is defined right
> > after it?
> > 
> > in that in mind I tried the following:
> > 
> > var viewImages:Array = new Array();
> > [Embed(source="/assets/lock.png")]
> > viewImages["lockImage"];
> > 
> > in the hope that this string will get into the array under "lockImage"
> > but as expected it didn't work.
> > 
> > Any ideas?




 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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/