[flexcoders] regarding eventListener with Alert control

2005-11-15 Thread Jignesh Dodiya




?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml
 xmlns=* backgroundColor=#FF alpha=
10 height=300 width=300


mx:Script
![CDATA[

import mx.controls.Alert;
import mx.events.AlertClickEvent
function click(evt:AlertClickEvent)
{
if(evt.detail == Alert.OK)
{ txt2.text = txt1.text; }
Alert.show(Click the right Button, Alert Box,
Alert.OK | Alert.CANCEL | Alert.NO | Alert.YES);
}

]]
/mx:Script

mx:TextInput id=txt1 width=100 /
mx:TextInput id=txt2 width=200 /
mx:Button id=m_btn label=CLICK click=click(evt:AlertClickEvent)
/
/mx:Application

Above is my code..

I want to use Alert button with Event listener that only event executed only after clicking YES button in Alert dialog box.
But it gives error that EXPECTING RIGHTPAREN BEFORE COLON. 

I have highlighted both events with bold  UnderlinedNo idea how to solve that

Any suggestion will be appreciate..

-- jignesh dodiya 






--
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
  
  
Computer software 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] How to display the saved data to combobox to update

2005-11-15 Thread padma vathi




Hi All,

How to display the saved data to combbox as the selecteditem ,to update.

Padma Ch
		 
Enjoy this Diwali with Y! India Click here





--
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] How to give dynamic title to panel

2005-11-15 Thread sandip_patil01
Hi All,

I want to give dynamic title to panel.

Here is my scenorio,
mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml;
title= Steps: 1   2   3
Here this is my panel.

 I have buttons FIRST SECOND THIRD
When I click on button FIRST the number 1 should Highligtened 
If I click on button SECOND the number 2 should Highligtened 
lly,If I click on button THIRD the number 3 should Highligtened 

If anybody know this I appreciate the help

Thx,
sandip









 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] Print datagrid with picture in Flex2 alhpha

2005-11-15 Thread Sandip Patil



Here is the link regarding data grid examples.  Which also contains printing of datagrid.  Just see demo examples  then go through source code.http://philflash.inway.fr/example.htmlZhu Feng [EMAIL PROTECTED] wrote:  Hi, All,does the Flexprintdatagrid support printing pictures?when I use the browser's print, it works correctly, while when i use my own funciton of printing, something seems wrong.and My codes are like this:PicForm.mxml:?xml version="1.0"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns:local="*"  mx:Script
 ![CDATA[ // Data includes URL to album cover. import mx.print.FlexPrintJob;   import mx.collections.ArrayCollection; [Bindable] public var initDG:Array = [ { Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, Cover:'robot.jpg'}, { Artist:'Pavement', Album:'Brighten the Corners',
 Price:11.99, Cover:'rover.jpg'} ];   public function dgprint():Void{  var pj:FlexPrintJob = new FlexPrintJob();  if(pj.start())  {  var numRows:uint = myGrid.dataProvider ? myGrid.dataProvider.length : 0;
  trace("!!!ZF, numRows = " + numRows );  // var view:FormView = new FormView();  var ptl:PrintTL = new PrintTL();  ptl.width=pj.pageWidth;  ptl.height=pj.pageHeight;  addChild(ptl);  var length:int =
 myGrid.columnCount; var array:Array = new Array(); var i:int; for(i = 0; i  length; i ++){  array.push(myGrid.getColumnAt(i).columnName); }  ptl.columns = array;
 ptl.ini();   ptl.pdg.dataProvider = this.myGrid.dataProvider;  var headerShift:int = ptl.pdg.showHeaders ? 1 : 0;  trace("!!! ptl.pdg.showHeaders ?" + ptl.pdg.showHeaders);  trace(" ptl.pdg.columnCount:" + ptl.pdg.columnCount);  if((ptl.pdg.vPosition + (ptl.pdg.rowCount - headerShift)) =
 numRows)  {  pj.addObject(ptl);  }  else  {   pj.addObject(ptl); 
   while(true)  {  ptl.pdg.nextPage();   if((ptl.pdg.vPosition + (ptl.pdg.rowCount - headerShift)) = numRows)  {
  if(ptl.pdg.vPosition = numRows)  {  ptl.pdg.height = 0;  ptl.pdg.visible = false;
  }   pj.addObject(ptl);  break;  }  else
  {pj.addObject(ptl);  }  }  }  pj.send(); 
 removeChild(ptl);  }  delete pj; } ]] /mx:Script mx:DataGrid id="myGrid" dataProvider="{initDG}" variableRowHeight="true"  mx:columns mx:DataGridColumn columnName="Artist"/ mx:DataGridColumn
 columnName="Album"/ mx:DataGridColumn columnName="Cover" cellRenderer="RendererDGImage"/ mx:DataGridColumn columnName="Price"/ /mx:columns  /mx:DataGrid  mx:Button id="btn" label="print form" click="dgprint()"/ /mx:Applicationand the PrintTL.mxml:?xml version="1.0" encoding="utf-8"?mx:VBox xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*"
 creationComplete="ini()"mx:Script ![CDATA[  public var columns:Array = new Array();  public function ini():Void{   var name:String = "";   var i:int;   for(i = 0; i  columns.length; i ++){name = columns[i].toString();pdg.addColumn(name);   }  } ]]/mx:Script mx:PrintDataGrid id="pdg"/mx:PrintDataGrid/mx:VBox-- Best
 Regards!Zhu FengMSN: [EMAIL PROTECTED]   
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 





--
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
  
  
Computer software 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: another event, instead move?

2005-11-15 Thread keishichi2001
You are the man, Matt !

it works as i wanted...


Thanks,
Keishichi



--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 No, something more like this:
 
  
 
 mx:Image ... moveEvent=Move /
 
  
 
 function onEffectStart(event:Object):Void
 
 {
 
   var effect:Object = event.effect;
 
   effect.duration = 300;
 
  
 
   ...
 
   effect.yFrom=0;
 
   effect.yTo = -365;
 
   ...
 
 }
 
  
 
 Don't use quotes when assigning to those properties, you want to pass
 all numbers not strings.
 
  
 
 Matt
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of keishichi2001
 Sent: Monday, November 14, 2005 7:16 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: another event, instead move?
 
  
 
 Thanks Matt.
 
 I wrote following code. Is it what you wanted to say?
 Following code actually doesn't work...
 Am i wrong at any place?
 
 =
 function onEffectStart(event:Object) : Void
 {
   var initObj:Object = new Object();
   initObj.yFrom = ;
   initObj.yTo = ;
   initObj.duration = 300;
 
   switch (ModelLocator.catEffect) {
 case movePageU2M:
   initObj.yFrom = 0;
   initObj.yTo = -365;
   break;
 case movePageM2B:
   initObj.yFrom = -365;
   initObj.yTo = -730;
   break;
 case movePageB2M:
   initObj.yFrom = -730;
   initObj.yTo = -365;
   break;
 case movePageM2U:
   initObj.yFrom = -365;
   initObj.yTo = 0;
   }
 
   this.createClassObject(mx.effects.Move, imgeffect,
 getNextHighestDepth(), initObj);
 
   event.effect = imgeffect;
 
 }
 
 ...
 
 
   mx:Image x=0 y=0 source=page-0001.jpg
 effectStart=onEffectStart(event); moveEffect=imgeffect /
 =
 
 
 Best Regards,
 Keishichi
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 
  Assign the moveEffect before you do any moving.  Add an effectStart
  handler to the Image, the event property will contain an effect
  property which is the instance of the effect that you're using.  Set
 the
  yFrom and yTo properties right then.
  
   
  
  Haven't tried this, but it's a thought...
  
   
  
  Good luck!
  
   
  
  Matt
  
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of keishichi2001
  Sent: Thursday, November 10, 2005 1:05 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] another event, instead move?
  
   
  
  env : Flex1.5 + Cairngorm
  
  little bit difficult to explain my situation
  
  ===
  
  i've trying to develop a catalog-viewer application with Flex.
  Multiple components i have...
  
  Main.mxml : this is the main application that user access.
  cat1.mxml : catalog application 1.
  cat2.mxml : catalog application 2.
  ...
  catn.mxml : catalog application n.
  
  Single catalog application may contain about 10 pages, so i used
  ViewStack and 10 pages are all child(mx:Image) of the ViewStack.
  The size of a page is vertical-rectangle(ie, 300x900).
  However size of the ViewStack - that i mentioned above - is 300x300.
  Which means, each page should have vertical scrollbar that user could
  browse top, middle, bottom of the page.
  
  Now, Main.mxml has 'catalog chooser' so that user could choose a
  catalog they want to browse.
  Main.mxml also has the catalog-controller so that user can move pages
  either 'previous' or 'next'.
  Also they could browse any part of the current page - top, middle,
  bottom.
  
  All of catalog applications are defined within Main.mxml as follows.
  
  mx:Loader contentPath=catalog/cat1.mxml.swf ... /
  
  which means, the catalog user specified should be loaded dynamically.
  In this case, AS code inside of Main.mxml doesn't work against
  cat1.mxml.
  Therefore i use ModelLocator of Cairngorm, so that both main
  application and catalog application should be able to share
  information, like Y-axis of the image.(yes, sharing Y-axis does work
  correctly.)
  
  =
  
  Now, my issue
  
  Remember, single page of a catalog application has 300x900 size.
  So user can move top to middle, middle to bottom, whatever
  I'd like to give the page(mx:Image) with Effect(moveEffect), for
  natural page moving...
  I reallized i should at least have four Effects as following.
  
  mx:Effect
mx:Move name=movePageU2M yFrom=0 yTo=-300 duration=300 /
mx:Move name=movePageM2B yFrom=-300 yTo=-600 duration=300
 /
mx:Move name=movePageB2M yFrom=-600 yTo=-300 duration=300
 /
mx:Move name=movePageM2U yFrom=-300 yTo=0 duration=300 /
  /mx:Effect
  
  And either of them should be set against moveEffect of mx:Image, when
  user act on catalog-controller of Main.mxml.
  
  For this, i've already tryied move event of mx:Image.
  The event object 

[flexcoders] why change event of the MenuBar is not trigger?

2005-11-15 Thread ykt_zju
I write a MenuBar component, but the change event of the MenuBar is
not working while other event (like createComplete and rollOver) works!

I don't know what's the problem , will any one tell me why? 

Thanks!

Following are pieces of related code:

code creating the menuBar
columnMenuBar=PopUpManager.createPopUp(this, ColumnMenuBar, false,
undefined, true);   
columnMenuBar.addEventListener(mouseDownOutside,mx.utils.Delegate.create(this,mouseOutsideMenuBar));

ColumnMenuBar.mxml
mx:MenuBar xmlns:mx=http://www.macromedia.com/2003/mxml; 
creationComplete=createBar()  rollOver=rollOverMenu()
change=columnMenuBarHandler(event) width=100 marginLeft=0
mx:Script
![CDATA[

function rollOverMenu(){
trace(roling over the menu);
}

function createBar(){
trace(!!!menubar created!);
}
function columnMenuBarHandler(event) {   
trace(change event in menubar);
}
]]
/mx:Script
mx:dataProvider
mx:XML
menuitem label=COLUMN UTILITIES
menuitem label=Insert Column data=insert /
menuitem label=Expand Extract Column data=expand 
/
menuitem label=Remove Column data=remove /
menuitem type=separator /
menuitem label=Sort by Ascending data=sortByAsc /
menuitem label=Sort by Descending data=sortByDes 
/
/menuitem
/mx:XML
/mx:dataProvider
/mx:MenuBar








 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] regarding Event Listner with Alert Control

2005-11-15 Thread Jignesh Dodiya




?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml
 xmlns=* backgroundColor=#FF alpha=
10 height=300 width=300

mx:Script
![CDATA[
import mx.controls.Alert;
import mx.events.AlertClickEvent
function click(evt:AlertClickEvent)
{
if(evt.detail == Alert.OK)
{ txt2.text = txt1.text; }
Alert.show(Click the right Button, Alert Box,
Alert.OK | Alert.CANCEL | Alert.NO | Alert.YES);
}
]]
/mx:Script

mx:TextInput id=txt1 width=100
 /
mx:TextInput id=txt2 width=200
 /
mx:Button id=m_btn label=CLICK
 click=click(evt:AlertClickEvent) color=#ff /

/mx:Application






--
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
  
  
Computer software 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] diff between mx:ImageButton mx:Button

2005-11-15 Thread JIGNESH M. DODIYA
hi,

Can anybody explain what is the exect difference between 
mx:ImageButton  mx:Button

Imagebutton is there for different skinning of the button stages like 
up, down, over , desable etc...

but what about buttonState in both
is all the property of Imagebutton inherited by Button??

 





 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] Flash player 8.5 auto install?

2005-11-15 Thread Tolulope Olonade










Hi Flexcoders,



Can anybody show me
how to make Flash 8.5 player auto download for installation to a clients
machine in case he doesnt have flash player installed or he is running
an earlier version of the player?



Many Thanks.









--
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
  
  
Computer software 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: Question about Enable / Disable Validator

2005-11-15 Thread Libby
I am disabling the right one, but that's all I am doing. It seems to
me I need to do something to tell flex to repaint the screen, which
would then remove the red border since the validator is not being
invoked. Is this wrong?

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:

 Hmm, disabling the validator usually does clear any borders, you sure
 you disabled the right one? 
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Libby
 Sent: Monday, November 14, 2005 5:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Question about Enable / Disable Validator
 
  
 
 If you have a validator enabled and an error has been thrown (the
 field is red border), then you disable the validator, the border stays
 red. How can you force the red border to go away after you disable the
 validator? Somehow you need to repaint the screen...?
 
 Thanks,
 Libby
 
 
 
 
 
 --
 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=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw  
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
 
  
 
  
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







 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 / Jrun Instability?

2005-11-15 Thread Steve Cox










Guys 
Girls,

Seem to be
having an odd problem with getting and keeping a Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action=history_js'/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve













--
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] extends mx.core.Application with AS2 class in AS3

2005-11-15 Thread rastaresidencia
Hello list !!

I'm newbie on Flex, and try some tests. I would like to extends
mc.core.Application with my own class, and attach MXML Form
documents into a viewState.

So I have created a simple mxml base document like that :


?xml version=1.0 encoding=utf-8?
test:Application 
xmlns:test=test.*
xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
width=550 height=400
creationComplete=initApp();
mx:ViewStack id=screens
mx:layoutConstraints
mx:EdgeAnchor top=100 left=0 right=0 bottom=0/
/mx:layoutConstraints
/mx:ViewStack
mx:Text id=t x=104 y=48 text=Text/
 
/test:Application


I have allready created a test package and an Application.as class,
to extends mx.core.Application. 

package test {


import flash.util.trace;
import mx.controls.Text;
import flash.events.Event;
import mx.controls.Button;


public class Application extends mx.core.Application 
{
private var t:Text;

public function Application()
{
}

public function initApp():Void
{
trace( 'this is a test...' );

var b:Button = new Button();
b.addEventListener( 'click', test );
addChild( b );
}

private function test( evt:Event ):Void
{
trace( t );
trace( 'test : '+ this + :: + 
mx.core.Application.application.t );
mx.core.Application.application.t.text = hello world;
}
}



In the mxml document, I have added a Text control called t. My
problem is that I don't know how to link this t control to the AS
class. I have declared a private var t:Text;, I have tried with
public state, but no solution.
In the test function, the first trace return null and the second
return 'test : Application_XX :: Application_XX.t.

I cannot direct access to the control of the form from the AS class,
except if I use mx.core.Application to point on the control...

But the call to initApp is ok, so the link between my AS Class and the
MXML document seems to be ok. 

Anyone can explain me how to access the controls ?? is my technic wrong ?


Thanks in advance for any answer :)


Thierry





 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] diff between mx:ImageButton mx:Button

2005-11-15 Thread Jignesh Dodiya



it is given in the help tutorial that ImageButton is the control and flex-2 alpha -1 gives the error saying its not supporting the mx:ImageButton as control..



Example: a simple ImageButton control 
The following code creates a toggle button with an image for up, down over and disabled states. The button has both a label and an icon. 

mx:ImageButton 
 label=Image Button 
 id=b2 toggle=true color=0xAA

 textRollOverColor=0x55 textSelectedColor=0x00 
upImage=@Embed('assets/buttonUp.gif') 
 overImage=@Embed('assets/buttonOver.gif') 
 downImage=@Embed('assets/buttonDown.gif') 
 disabledImage=@Embed('assets/buttonDisabled.gif') 
 icon=@Embed('assets/FlexLogo.gif') / 

the above example is simply copied from the flex-2 help... button control chaptor...
but ImageButton control and properties like upImage,downImage,disabledImage are not compitable with flex -2 as Error says
Any Idea regarding..Any other way to change the skin of the button???
Jignesh





On 11/15/05, JIGNESH M. DODIYA [EMAIL PROTECTED] wrote:
hi,Can anybody explain what is the exect difference between mx:ImageButton  mx:Button
Imagebutton is there for different skinning of the button stages like up, down, over , desable etc...but what about buttonState in bothis all the property of Imagebutton inherited by Button??
--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 

Computer software 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. 



-- jignesh dodiya 






--
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
  
  
Computer software 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: Question about Enable / Disable Validator

2005-11-15 Thread Libby
Ok, further testing makes me think that my pointer to the current
document is not always good. I am getting it by using
mx.application.application.objectName.objectName...   Is this the
wrong way to do this, is there a better way to get to the current
document? I apologize if this is a dumb question as I am pretty new to
Flex development.

Thanks,
Libby

--- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:

 I am disabling the right one, but that's all I am doing. It seems to
 me I need to do something to tell flex to repaint the screen, which
 would then remove the red border since the validator is not being
 invoked. Is this wrong?
 
 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 
  Hmm, disabling the validator usually does clear any borders, you sure
  you disabled the right one? 
  
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Libby
  Sent: Monday, November 14, 2005 5:52 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Question about Enable / Disable Validator
  
   
  
  If you have a validator enabled and an error has been thrown (the
  field is red border), then you disable the validator, the border stays
  red. How can you force the red border to go away after you disable the
  validator? Somehow you need to repaint the screen...?
  
  Thanks,
  Libby
  
  
  
  
  
  --
  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=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+des
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
  ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
  
  Computer software development
 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
  acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
  
  Software design and development
 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Software
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
  practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
  
  Macromedia flex
 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 
developmentw2=Computer+software+developmentw3=Software+design+and+deve
 
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
  66.sig=OO6nPIrz7_EpZI36cYzBjw  
  
  Software development best practice
 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
 
w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 
are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
  st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw  
  
   
  
   
  
  
  
  YAHOO! GROUPS LINKS 
  
   
  
  *Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders  on the web.

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

  *Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/ . 
  
   
  
  
 







 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] Flex / Jrun Instability?

2005-11-15 Thread Matt Horn





You can use the sniffer tool to find out if the history 
code is being returned properly. (It's in the bin 
directory.)

That request (/flex/flex-internal?action="" 
should return something that looks like this:


--begin
HTTP/1.0 200 OK

Date: Tue, 15 Nov 2005 15:03:36 GMT

Expires: Thu, 01 Jan 1970 00:00:01 GMT

Content-Type: application/x-_javascript_

Content-Length: 1244

Server: JRun Web Server



// $Revision: 1.49 $// VarsVars = function(qStr) 
{this.numVars = 0;if(qStr != null) {var 
nameValue, name;var pairs = 
qStr.split('');var pairLen = 
pairs.length;for(var i = 0; i  pairLen; i++) 
{var pair = pairs[i];if( 
(pair.indexOf('=')!= -1)  (pair.length  3) ) 
{var nameValue = 
pair.split('=');var name = 
nameValue[0];var value = 
nameValue[1];if(this[name] == null  
name.length  0  value.length  0) { 
this[name] = 
value;this.numVars++;}}} 
}}Vars.prototype.toString = function(pre) {var 
result = '';if(pre == null) { pre = ''; }for(var i in this) 
{if(this[i] != null  typeof(this[i]) != 'object' 
 typeof(this[i]) != 'function'  i != 'numVars') 
{result += pre + i + '=' + this[i] + 
'';}}if(result.length  0) result = 
result.substr(0, result.length-1);return result;}function 
getSearch(wRef) {var searchStr = 
'';if(wRef.location.search.length  1) {searchStr = 
new String(wRef.location.search);searchStr = 
searchStr.substring(1, searchStr.length);}return 
searchStr;}var lc_id = Math.floor(Math.random() * 
10).toString(16);if (this != top){top.Vars = 
Vars;top.getSearch = getSearch;top.lc_id = 
lc_id;}

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Steve 
  CoxSent: Tuesday, November 15, 2005 7:37 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex / Jrun 
  Instability?
  
  
  Guys 
   Girls,
  Seem 
  to be having an odd problem with getting and keeping a Jrun server 
  stable.The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action=history_js'/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve
  
  





--
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
  
  
Computer software 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] CSS text formatting Flex 1.5 or Flex 2.0

2005-11-15 Thread AC
Does anyone know if Flex 1.5 or Flex 2.0 has
{text-decoration:line-through} Or how this can be achieved within the
Text or Label control.

Response appreciated





 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] CSS text formatting Flex 1.5 or Flex 2.0

2005-11-15 Thread Manish Jethani
On 11/15/05, AC [EMAIL PROTECTED] wrote:
 Does anyone know if Flex 1.5 or Flex 2.0 has
 {text-decoration:line-through} Or how this can be achieved within the
 Text or Label control.

No, the Player's textfield object doesn't support strikethrough, so
the Flex text components don't have this feature.


 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] diff between mx:ImageButton mx:Button

2005-11-15 Thread Manish Jethani
On 11/15/05, JIGNESH M. DODIYA [EMAIL PROTECTED] wrote:

 Can anybody explain what is the exect difference between
 mx:ImageButton  mx:Button

I don't know about the exact different (I guess ImageButton had better
skinning?), but now in Flex 2 there's only one control -- Button.  Any
functionality that was there in ImageButton has now been rolled into
Button.

Manish


 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] extends mx.core.Application with AS2 class in AS3

2005-11-15 Thread Manish Jethani
On 11/15/05, rastaresidencia [EMAIL PROTECTED] wrote:

 ?xml version=1.0 encoding=utf-8?
 test:Application
 xmlns:test=test.*
 xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
 width=550 height=400
 creationComplete=initApp();
...

 mx:Text id=t x=104 y=48 text=Text/

In your base class, you can set the variable to a different name, say
t1.  In the initApp, you asssign t1 to t.  That should do it.

Manish


 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] Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread nostra72



Do you do it the same way you do a picture





--
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
  
  
Computer software 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] Flash player 8.5 auto install?

2005-11-15 Thread Manish Jethani
On 11/15/05, Tolulope Olonade [EMAIL PROTECTED] wrote:

  Can anybody show me how to make Flash 8.5 player auto download for 
 installation to a clients machine in case he doesn't have flash player 
 installed or he is running an earlier version of the player?

Dunno about auto download.  It's available here:
http://labs.macromedia.com/downloads/


 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: Cairngorm is bad?

2005-11-15 Thread Renaun Erickson
The code example fit Mykola's arguments well, which I see as a case
for a component that self contains everything.  The Model, ViewHelper,
and Command for these specific components would never be reused
outside the component it self.  Is there a need for this?  Could be,
but a lot of times Models run across multiple Views hence the need for
more hefty patterns.

For example you have one component that is the form to update a User
(UserFormView), self containing all the ViewHelper, Model, and Command
in the component is much easier then 5 different files.  This is
probably perfectly fine if the UserFormView component is truly self
contained.  But most applications require a lot of reuse and coupling
is not so distinct and sometimes not so predictable.  

Some of the different view points depend on the way the Application
are conceived and developed.  A server business logic driven
application like Mykola's case below might warrant strict self
contained components.  The Use Case driven Cairngorm methodology
creates more robust components that are unaware of each other (excuse
me for my broad statement here).

Where I start to see self contained components break down is where the
Model should be used across multiple Views.  It nice to have a command
setup a Collection of data that is bound across multiple views, and
then to change you logic of when it gets loaded is really simple.  You
dont have to worry about all the places the Collection is used, all
you have to worry about is the asynchronous of the Command call.

I believe there is some room for discussion on the specific uses of
self contained components and maybe some ways of integrating both
ideas into Cairngorm.  Of course with Flex 2 and the Data Services
handling CRUD functions we'll have lots to discuss in the future.

Renaun


--- In flexcoders@yahoogroups.com, Mykola Paliyenko [EMAIL PROTECTED]
wrote:

 Hi Steven.
 First of all thanks for quick and very substantial reply. I would never
 start this discussion if I had no ideas how to make things better.
Also I
 have already implemented some of them and I'm ready to share this
stuff with
 all of you. However my vision of framework differs from yours I use some
 your classes (Responder and ViewHelper) also I use your FlexUnit
slightly
 patched to support asynch tests. The framework is still raw since I've
 started it only week ago and I am using flex only for 2-3 weeks, but
anyway
 what I'm suggesting is following.
 
 1. Use as much generated ActionScript as it is possible
 Since our project is based on the Java and Spring/Hibernate backend
server
 it is to expensive to keep Java interfaces in synch with ActionScript
 manually. That is why good old XDoclet come in handy. For now I'm
generating
 ValueObjects and even Delegates for all our Remote services. It is
not hard
 to implement such code generation the main problem is how to distinguish
 that interface is needed by Flex and that object is ValueObject and
need to
 be generated. I'm using for that our own IValueObject interface and
 java.rmi.Remote respectively. As a result our action script is always in
 synch with server.
 
 2. Create functional unit tests to ensure you client work.
 We faced a problem that we have a lot of code that does not work simply
 because it contains no tests. Also Flex IDEs does not always check
the code
 (you can use FDT it checks the AS but does not recognize mxml) and
you may
 commit code that does not compile. All this becomes a hell and can make
 anyone getting test-infected. Also debug in flex is really hell. So
to deal
 with functional tests we have to be able to run asynch tests, to do
it I've
 patched FlexUnit sources a bit and now I'm able to do it, however it is
 still not easy and highly depends on usage. For now I can only test
 delegates but I'm planning to implement full testing (button click -
 [request - asynch response]*N - test what we get). However this will
 requires knowledge on how we handle button clicks (do we use command
 approach or something else).
 
 3. No static services
 Since if you use them you need to add their declaration in root
application
 mxml file and also some of them can be reused if you have several
separate
 applications and it makes no sense either to add them all in one file or
 duplicate. For example AuthService is used in all applications, then
I need
 to add it in all Services.mxml for each small application. My opinion is
 that static loading is bad and we can resolve it using mx.rcp.*, I
do not
 use mx:RemoteObject, instead I'm using own ServiceLocator that
creates them
 dynamically. What I get is that the only thing I need to access
something on
 server is to import some delegate and use it I do not care about
 services.mxml any more and it is cool don't you think?
 The only drawback now is that all services are using Java
RemoteObjects over
 http for now but it can be also configured when we need it.
 
 OK what we get now is very flexible fully generated interface 

Re: [flexcoders] access to individual days on DateChooser

2005-11-15 Thread Manish Jethani
On 11/15/05, keishichi2001 [EMAIL PROTECTED] wrote:
 Flex 2.0

 Can i display a day on DateChooser either Bold or Italic?
 i'm gonna build calendar application and if a day has any plans, then
 the day should be displayed bold.
 Can i do this?

I don't think so.  There's a weekDayStyleName, and there's a
todayStyleName, but there's no selectedDayStyleName unfortunately.

Manish


 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] regarding eventListener with Alert control

2005-11-15 Thread Manish Jethani
On 11/15/05, Jignesh Dodiya [EMAIL PROTECTED] wrote:

 mx:Button id=m_btn label=CLICK click=click(evt:AlertClickEvent)  /

 Above is my code..

 But it gives error that EXPECTING RIGHTPAREN BEFORE COLON.

 click=click(event)

Then you're get another error about having the wrong type, but I guess
you know how to deal with that.

Manish


 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] Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread Manish Jethani
On 11/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Do you do it the same way you do a picture

You mean PDF?  The one way to do this I'm aware of is by converting it
to SWF and loading it using the Loader component.  This has come up
before so you could look up the archived for more information.

Manish


 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] Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread Aldo Bucchi
Mmmh, a visionary question... methinks

On 11/15/05, Manish Jethani [EMAIL PROTECTED] wrote:
 On 11/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   Do you do it the same way you do a picture

 You mean PDF?  The one way to do this I'm aware of is by converting it
 to SWF and loading it using the Loader component.  This has come up
 before so you could look up the archived for more information.

 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









--
: Aldo Bucchi :
mobile (56) 8 429 8300


 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] diff between mx:ImageButton mx:Button

2005-11-15 Thread Jignesh Dodiya



Thanx Manish(As ulways like to help me)

but

properties like upImage,downImage,disabledImage for button control are not compitable with flex-2 i think
On 11/15/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 11/15/05, JIGNESH M. DODIYA 
[EMAIL PROTECTED] wrote: Can anybody explain what is the exect difference between mx:ImageButton  mx:ButtonI don't know about the exact different (I guess ImageButton had better
skinning?), but now in Flex 2 there's only one control -- Button. Anyfunctionality that was there in ImageButton has now been rolled intoButton.Manish
--Flexcoders Mailing ListFAQ: 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. 



-- jignesh dodiya 






--
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] Flex / Jrun Instability?

2005-11-15 Thread Steve Cox











Thanks for that.



Ok so it gets even more confusing.



When refreshing or making a request with
IE, sometimes its sending 2 GET requests in the same header. EG:



GET /Symph/Symphony.mxml
HTTP/1.1



Accept: */*



Accept-Language: en-gb



Accept-Encoding: gzip,
deflate



If-Modified-Since: Tue, 15 Nov 2005 15:38:53 GMT



User-Agent: Mozilla/4.0 (compatible; MSIE
5.5; Windows NT 5.1; SV1; .NET CLR 1.1.4322)



Host: dev



Connection: Keep-Alive







GET /Symph/flex-internal?action=history_js HTTP/1.1



Accept: */*



Referer: http://localhost:9000/Symph/Symphony.mxml



Accept-Language: en-gb



Accept-Encoding: gzip,
deflate



User-Agent: Mozilla/4.0 (compatible; MSIE
5.5; Windows NT 5.1; SV1; .NET CLR 1.1.4322)



Host: localhost:9000



Connection: Keep-Alive





IIS/ JRUN is then
only sending back the result for the first request. There-on-in it does nothing
else. Now at frist I suspected some dodgy IE bug, but
connecting directly to Jruns app port it runs
100% every time.



Any ideas? 





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Horn
Sent: 15 November 2005 15:06
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex /
Jrun Instability?



You can
use the sniffer tool to find out if the history code is being returned
properly. (It's in the bin directory.)



That
request (/flex/flex-internal?action="" should return something that
looks like this:





--begin

HTTP/1.0
200 OK







Date: Tue, 15 Nov 2005 15:03:36 GMT







Expires:
Thu, 01 Jan 1970 00:00:01 GMT







Content-Type:
application/x-_javascript_







Content-Length:
1244







Server:
JRun Web Server















//
$Revision: 1.49 $
// Vars
Vars = function(qStr) {
this.numVars = 0;
if(qStr != null) {
var nameValue, name;
var pairs = qStr.split('');
var pairLen = pairs.length;
for(var i = 0; i  pairLen; i++) {
var pair = pairs[i];
if( (pair.indexOf('=')!= -1)  (pair.length  3)
) {
var nameValue = pair.split('=');
var name = nameValue[0];
var value = nameValue[1];
if(this[name] == null  name.length  0
 value.length  0) { 
this[name] = value;
this.numVars++;
}
}
} 
}
}
Vars.prototype.toString = function(pre) {
var result = '';
if(pre == null) { pre = ''; }
for(var i in this) {
if(this[i] != null  typeof(this[i]) != 'object'
 typeof(this[i]) != 'function'  i != 'numVars') {
result += pre + i + '=' + this[i] + '';
}
}
if(result.length  0) result = result.substr(0, result.length-1);
return result;
}
function getSearch(wRef) {
var searchStr = '';
if(wRef.location.search.length  1) {
searchStr = new String(wRef.location.search);
searchStr = searchStr.substring(1, searchStr.length);
}
return searchStr;
}
var lc_id = Math.floor(Math.random() * 10).toString(16);
if (this != top)
{
top.Vars = Vars;
top.getSearch = getSearch;
top.lc_id = lc_id;
}











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox
Sent: Tuesday, November 15, 2005 7:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun
Instability?

Guys  Girls,

Seem to be having an odd problem with getting and keeping a
Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve












--
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: Cairngorm is bad?

2005-11-15 Thread Mykola Paliyenko



Good point Renaun, 
but how often do you need model to be shared across views that are
backed by different mxmls? Even if you need it you can access one view
from another, you can create some more general ViewHelper in this case
that will contain that model. I'm my project 90% cases are just dummy
calls to the server and displaying the results. If I'll need something
that does not fit this concept and makes viewhelper very complex I can
always refactor, but why should I start having in mind that I'm writing
something very complex. My principle is use the simplest reasonable way
that works. If it works for JSF, Struts, Webwork, Tapestry then why it
does not work for RIA, only because client has more logic? Maybe cause
I have no DnD in Java and some effects but all the rest seems to be the
same. 
Anyway I'm glad that people realize that this approach can work. All I
want is just not to do the sings more complex than they are.
Refactoring will help if I'm wrong, but in most cases it will not be
required.  Mykola PaliyenkoSenior Software Engineer at Sonopia

On 11/15/05, Renaun Erickson [EMAIL PROTECTED] wrote:




The code example fit Mykola's arguments well, which I see as a case
for a component that self contains everything. The Model, ViewHelper,
and Command for these specific components would never be reused
outside the component it self. Is there a need for this? Could be,
but a lot of times Models run across multiple Views hence the need for
more hefty patterns.

For example you have one component that is the form to update a User
(UserFormView), self containing all the ViewHelper, Model, and Command
in the component is much easier then 5 different files. This is
probably perfectly fine if the UserFormView component is truly self
contained. But most applications require a lot of reuse and coupling
is not so distinct and sometimes not so predictable. 

Some of the different view points depend on the way the Application
are conceived and developed. A server business logic driven
application like Mykola's case below might warrant strict self
contained components. The Use Case driven Cairngorm methodology
creates more robust components that are unaware of each other (excuse
me for my broad statement here).

Where I start to see self contained components break down is where the
Model should be used across multiple Views. It nice to have a command
setup a Collection of data that is bound across multiple views, and
then to change you logic of when it gets loaded is really simple. You
dont have to worry about all the places the Collection is used, all
you have to worry about is the asynchronous of the Command call.

I believe there is some room for discussion on the specific uses of
self contained components and maybe some ways of integrating both
ideas into Cairngorm. Of course with Flex 2 and the Data Services
handling CRUD functions we'll have lots to discuss in the future.

Renaun







--
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] access to individual days on DateChooser

2005-11-15 Thread Aldo Bucchi
Manish,

Changing the style of any individual day sounds like a reasonable
feature request.
But then the problem would be the means to specify the style... given
that there are an infinite number of days...

I can't think of an elegant way of doing it. But then again, I haven't
had any coffee so far today. Anyone?

mx:DateChooser getDayStyleCallback=getDayStyle /

public function getDayStyle( day:Date ):CSSStyleDeclaration
{
  // custom logic to create a CSSStyleDeclaration and return it when appropriate
  // it will override any other on the chain
}



On 11/15/05, Manish Jethani [EMAIL PROTECTED] wrote:
 On 11/15/05, keishichi2001 [EMAIL PROTECTED] wrote:
  Flex 2.0
 
  Can i display a day on DateChooser either Bold or Italic?
  i'm gonna build calendar application and if a day has any plans, then
  the day should be displayed bold.
  Can i do this?

 I don't think so.  There's a weekDayStyleName, and there's a
 todayStyleName, but there's no selectedDayStyleName unfortunately.

 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









--
: Aldo Bucchi :
mobile (56) 8 429 8300


 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] Flash player 8.5 auto install?

2005-11-15 Thread Tolulope Olonade










Ok Lemme rephrase.

Here is what I mean.

Lets say I develop a flex 2 application.

Flex 2 requires flash player 8.5

I have the solution deployed on http://helloworldserver/quickstart.swf

User A clicks the link but he doesnt
have flash player 8.5 installed

I have the installable of flashplayer 8.5
placed on the server cause I dont want the user to have to connect to
the internet for flashplayer 8.5 download.



So, how do I make the flashplayer 8.5
available on http://helloworldserver auto deployed unto the connecting
machine ?



Many Thanks..











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani
Sent: 15 November 2005 04:26
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?





On 11/15/05, Tolulope Olonade [EMAIL PROTECTED]
wrote:

 Can anybody show me how to make Flash
8.5 player auto download for installation to a clients machine in case he
doesn't have flash player installed or he is running an earlier version of the
player?

Dunno about auto download. It's available
here:
http://labs.macromedia.com/downloads/








--
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] Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread Tolulope Olonade










Have you tried flash paper printer?

I know you can print a PDF document to
flash paper printer.

So maybe there is some programmable API
that can do that









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 15 November 2005 04:25
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can you put
an Adobe Acrobat file on a flex page





Do you do it the same way you do a
picture 







--
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] Re: Cairngorm is bad?

2005-11-15 Thread Renaun Erickson
Mykola Paliyenko

 but how often do you need model to be shared across views that are
backed by different mxmls? 

This definitely depends on the type of applications you are creating.
 The one I am working on now has roughly 20 tables and only 3 are
changed by the user.  I do more reading and interactivity with the
data then worrying about the 3 tables to maintain.  This leads me to
share a single model across different Views, letting me keep my model
the same as the Views change over time.  Every time I want to display
the same information in a different way I don't have to worry about
the Model being generated by a specific View.

 Even if you need it you can access one view from another, you can
create some more general ViewHelper in this case that will contain
that model. 

Are you inferring that each ViewHelper will have its own model? 
Duplicate data?  Or are you thinking of a ViewHelper-Model driven
idea.  This might be interesting for you debate about the model being
static versus lazy loading the model structure.

 I'm my project 90% cases are just dummy calls to the server and
displaying the results. 

Do you see a case where loading one set of data and using across
multiple Views is needed?  There is some power in realizing we have
options to use the power of RIA and flash client, it is not tied to a
paged semi-static presentation layer.

 If I'll need something that does not fit this concept and makes
viewhelper very complex I can always refactor, but why should I start
having in mind that I'm writing something very complex. My principle
is use the simplest reasonable way that works. 

This can be answered only by experience to your specific application
and development team.  I would agree with you on this one, keeping it
simple but always refactoring is good.

 If it works for JSF, Struts, Webwork, Tapestry then why it does not
work for RIA, only because client has more logic? Maybe cause I have
no DnD in Java and some effects but all the rest seems to be the same. 

With Flex 2 there will be more differences, but this is such a big
area where some things make sense to compare and some things don't
compare at all.  I don't have a good comparison on any of these
points.  The simple difference is that one ends up as D/HTML pages
while the other has the power of a Flash client.  Either one can be
used for bad or good.


Renaun






 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] Flex / Jrun Instability?

2005-11-15 Thread Matt Horn





hmmm... I dont have IIS set up. This sounds like a bug, 
although maybe someone with the IIS-JRun connector can chime in and see 
if they see the same kind of activity in their logs.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Steve 
  CoxSent: Tuesday, November 15, 2005 10:59 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex / Jrun 
  Instability?
  
  
  Thanks for 
  that.
  
  Ok so it gets even 
  more confusing.
  
  When refreshing or 
  making a request with IE, sometimes its sending 2 GET requests in the same 
  header. EG:
  
  GET /Symph/Symphony.mxml HTTP/1.1
  
  Accept: 
  */*
  
  Accept-Language: 
  en-gb
  
  Accept-Encoding: gzip, deflate
  
  If-Modified-Since: 
  Tue, 15 Nov 
  2005 
  15:38:53 
  GMT
  
  User-Agent: 
  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.1; SV1; .NET CLR 
  1.1.4322)
  
  Host: 
  dev
  
  Connection: 
  Keep-Alive
  
  
  
  GET /Symph/flex-internal?action=history_js HTTP/1.1
  
  Accept: 
  */*
  
  Referer: 
  http://localhost:9000/Symph/Symphony.mxml
  
  Accept-Language: 
  en-gb
  
  Accept-Encoding: gzip, deflate
  
  User-Agent: 
  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.1; SV1; .NET CLR 
  1.1.4322)
  
  Host: localhost:9000
  
  Connection: 
  Keep-Alive
  
  
  IIS/ JRUN is then only sending back the result for the first request. 
  There-on-in it does nothing else. Now at frist I 
  suspected some dodgy IE bug, but connecting directly to Jruns app port it runs 100% every 
  time.
  
  Any ideas? 
  
  
  
  -Original 
  Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt HornSent: 15 November 
  2005 15:06To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex / Jrun 
  Instability?
  
  You can 
  use the sniffer tool to find out if the history code is being returned 
  properly. (It's in the bin directory.)
  
  That 
  request (/flex/flex-internal?action="" should return something that 
  looks like this:
  
  
  --begin
  HTTP/1.0 
  200 OK
  
  
  Date: 
  Tue, 15 Nov 
  2005 
  15:03:36 
  GMT
  
  
  Expires: 
  Thu, 01 Jan 
  1970 
  00:00:01 
  GMT
  
  
  Content-Type: 
  application/x-_javascript_
  
  
  Content-Length: 
  1244
  
  
  Server: 
  JRun Web Server
  
  
  
  
  
  // 
  $Revision: 1.49 $// VarsVars = function(qStr) {this.numVars 
  = 0;if(qStr != null) {var nameValue, 
  name;var pairs = qStr.split('');var 
  pairLen = pairs.length;for(var i = 0; i  pairLen; i++) 
  {var pair = pairs[i];if( 
  (pair.indexOf('=')!= -1)  (pair.length  3) ) 
  {var nameValue = 
  pair.split('=');var name = 
  nameValue[0];var value = 
  nameValue[1];if(this[name] == null  
  name.length  0  value.length  0) { 
  this[name] = 
  value;this.numVars++;}}} 
  }}Vars.prototype.toString = function(pre) {var 
  result = '';if(pre == null) { pre = ''; }for(var i in 
  this) {if(this[i] != null  typeof(this[i]) != 
  'object'  typeof(this[i]) != 'function'  i != 'numVars') 
  {result += pre + i + '=' + this[i] + 
  '';}}if(result.length  0) result 
  = result.substr(0, result.length-1);return result;}function 
  getSearch(wRef) {var searchStr = 
  '';if(wRef.location.search.length  1) {searchStr 
  = new String(wRef.location.search);searchStr = 
  searchStr.substring(1, searchStr.length);}return 
  searchStr;}var lc_id = Math.floor(Math.random() * 
  10).toString(16);if (this != top){top.Vars = 
  Vars;top.getSearch = getSearch;top.lc_id = 
  lc_id;}
  




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve CoxSent: Tuesday, November 15, 
2005 7:37 
AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex / Jrun 
Instability?
Guys 
 Girls,
Seem 
to be having an odd problem with getting and keeping a Jrun server 
stable.The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve







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

Re: [flexcoders] Flash player 8.5 auto install?

2005-11-15 Thread JesterXL





You can't because of licensing, even with Flash 
Player 8 and below.

If you want, you can deploy the Flash Player 
installation exe to a company Intranet, or on a CD-ROM, but on the internet, 
you'll either have to point your user to Macromedia.com, have faith in the CAB 
file updating in IE, or utilize Express Install which is a combo of the above + 
Flash Player 6.0.64.0's install ability.

Because 8.5 is alpha, you can't even do that 
because Macromedia, thankfully, hasn't made it installable from the internet; 
you have to download it from labs.macromedia.com.

- Original Message - 
From: Tolulope Olonade 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, November 15, 2005 11:36 AM
Subject: RE: [flexcoders] Flash player 8.5 auto install?


Ok Lemme 
rephrase.
Here is what I 
mean.
Lets say I develop a 
flex 2 application.
Flex 2 requires flash 
player 8.5
I have the solution 
deployed on http://helloworldserver/quickstart.swf
User A clicks the link 
but he doesnÂ’t have flash player 8.5 installed
I have the installable 
of flashplayer 8.5 placed on the server cause I donÂ’t want the user to have to 
connect to the internet for flashplayer 8.5 
download.

So, how do I make the 
flashplayer 8.5 available on http://helloworldserver auto deployed unto 
the connecting machine ?

Many 
Thanks..





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish JethaniSent: 15 November 2005 04:26To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player 8.5 
auto install?

On 11/15/05, Tolulope Olonade 
[EMAIL PROTECTED] wrote: Can anybody show me how to make Flash 8.5 player 
auto download for installation to a clients machine in case he doesn't have 
flash player installed or he is running an earlier version of the 
player?Dunno about auto 
download. It's available here:http://labs.macromedia.com/downloads/





--
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] Re: Cairngorm is bad?

2005-11-15 Thread tiago_simoes



That is why Flex community still cannot write neither functionaltests nor unittests, and they don't write them. That is why XP orAgile is impossible. That is why continious integration is impossible.This is not true. With AutoTestFlash you can create functional tests very easily. Even easier than with watir orselenium for the web.With some care you can incorporate this in your continuous integration process.Cheers,Tiagohttp://softwareaddiction.blogspot.com/--- In flexcoders@yahoogroups.com, Mykola Paliyenko [EMAIL PROTECTED] wrote: Dear Flexcoders. I want to start here discussion about development enterprise  applications using Flex. Our company has choosen Cairngorm as a  framework to do it, but I believe it has some drawbacks My comments are here: http://jroller.com/page/mickolka?entry=cairngorm_is_bad I'm new to Flex but not new to the ActionScript and _javascript_, also I  know lots of Java Web MVC frameworks so I have a vision about how  framework should look like to make your project succeed. Thanx for any comments.  Regards, Mykola






--
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] Flex Projects

2005-11-15 Thread Dekayd Media Inc.
Title: Flex Projects










[EMAIL PROTECTED]



www.dekaydmedia.com















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha
Sent: Monday, November 14, 2005
1:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex
Projects





Hi all,

We are looking into outsourcing our Flex projects to companies who have expertise in
this area and are not very expensive. We use CF on the backend. I need contact
info for as many companies as possible so
that we can start talking to them.

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

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
  
  
Computer software 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: Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread huhgawz
I do it using an IFrame.
This article helps you:

http://coenraets.com/viewarticle.jsp?articleId=95


--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:

 Do you do it the same way you do a picture









 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: Getting the value of a repeated list box

2005-11-15 Thread mackdoyle
Is there a way to see what properties are in an object, [Object
object], in the debug or can I iterate over it and trace it?





 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: Getting the value of a repeated list box

2005-11-15 Thread JesterXL
function dProps(o)
{
for(var p in o)
{
trace(o + :  + o[p]);
}
}

dProps(yourObject);

- Original Message - 
From: mackdoyle [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 15, 2005 12:23 PM
Subject: [flexcoders] Re: Getting the value of a repeated list box


Is there a way to see what properties are in an object, [Object
object], in the debug or can I iterate over it and trace it?






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




[flexcoders] change style of validation errors

2005-11-15 Thread Bob Remeika
Ok,

I already know how to change the the ErrorTip for form fields, but the
problem I am having is that I would like to change the initial border
thickness when an error occurs on one of my validation listeners.  I
would like to make it the same size as when you focus in on a field
that has an error.  I would also like to change the background of that
field.

My initial thought was to subclass one of the validators and change
these properties on the listener when an error occurs, but it looks
like this is something that flex does internally.  Does anybody have
any tips?

Thanks,
Bob





 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] access to individual days on DateChooser

2005-11-15 Thread Manish Jethani
On 11/15/05, Aldo Bucchi [EMAIL PROTECTED] wrote:

 Changing the style of any individual day sounds like a reasonable
 feature request.
 But then the problem would be the means to specify the style... given
 that there are an infinite number of days...

 I can't think of an elegant way of doing it. But then again, I haven't
 had any coffee so far today. Anyone?

Exactly.

Maybe you should be able to tag dates.

 function tagDates(tagName:String, dates:Arrray):Void

Then you can specify style declarations for the given tag:

 function setTagStyleName(tagName:String, styleName:CSSStyleDeclaration):Void

Usage:

  tagDates(doctor_appoinments, [new Date(2005, 10, 25), new
Date(2005, 10, 28)]);
  setTagStyleName(doctor_appoinments,
StyleManager.getStyleDeclaration(DoctorAppointmentsStyle));

  // CSS
  DoctorAppointmentsStyle {
font-weight: bold;
  }

I'd try to implement this by subclassing DateChooser if I had the time.

Manish


 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] diff between mx:ImageButton mx:Button

2005-11-15 Thread Manish Jethani
On 11/15/05, Jignesh Dodiya [EMAIL PROTECTED] wrote:

 but

 properties like upImage,downImage,disabledImage for button control are not
 compitable with flex-2 i think

Well, you can do that on Button using the upSkin, downSkin, etc., styles.

 mx:Button upSkin=@Embed('image.jpg') /

Manish


 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] Flex Projects

2005-11-15 Thread John Wilker



Kevin London at RoundPeg

[EMAIL PROTECTED]

www.roundpeg.comOn 11/14/05, Mehdi, Agha
 [EMAIL PROTECTED] wrote:











Hi all,

We are looking into outsourcing our Flex projects to companies who have expertise in this area and
 are not very expensive. We use CF on the backend.

 I need contact info for as many companies as possible so that we can start talking to them.

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 209.275.0482

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







  




  
  
  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.





  








-- John WilkerWriter/Web Consultantwww.johnwilker.com / 
www.red-omega.comThe measure of success is not whether you have a tough problem to deal with, 
but whether it's the same problem you had last year.~John Foster Dulles, Former US Sec. of State.







--
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
  
  
Computer software 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] Re: Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread Robert Thompson



Why not as Flash Paper?I do think, however, the Flex group should offer some sort of economical way for developers to support, at least,the creation of Flash Paper files w/in Flex.I followed some efforts in the late 90's related to PScript and other processors and displaying them in Flash -- I felt it was sort of a shame to charge $79 per user for a Flash Paper printed.Perhaps some sort of happy medium for Flex developers?-r  huhgawz [EMAIL PROTECTED] wrote:  I do it using an IFrame.This article helps you:http://coenraets.com/viewarticle.jsp?articleId=95--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED]
 wrote: Do you do it the same way you do a picture  
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 





--
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: Cairngorm is bad?

2005-11-15 Thread Anatole Tartakovsky





Mikola,
 Dumb terminal tend to have 
some effect on programs written for them. RIA tries to change that by offering 
richer event-driven paradigm that allow you to show data in more ways and 
interact with it in more ways. As such, the responses from the server become 
smaller, more granulated/targeted toward UI, requests need to become faster. 
etc..

 You indeed can reduce 90% of 
the SERVER work with more of the usage of standard components or generated code 
provided that STATE is transparently supported by front-end components. 


 You can use Struts - but 
without much benefit in terms of code size. Tapestry is great, but needs layer 
of support to work with controls so it is rapid application developments rather 
then optimizing 90% of 20%.

 Refactoring of Flex 
applications is no fun - there are to many areas that can break and go unchecked 
- your best line of defense (as 10 years ago)is still to amount the least 
amount of code and use more reliable components. That is were Frameworks come in 
the play - by advertising that the code in them has been used and tested and 
does 80% of what you need to do.
 
 I personally do not like 
frameworks. They usually evolve out of applications. That imposes 2 
problems:
1. The problem is thatit have to 
"fit". Let us say you are building motorbikes, cars and trucks. You can 
share concepts, but not the complex parts - they would either brake or would not 
fit. At best, you would have smaller thing that are interchangeable - nuts 
and bolts and signals. Can I reuse the shopping cart? Not likely, not without 
refactoring that would be bigger effort then writing from scratch. Serving 20 
requests /sec and 2,000 require me to build differently - no abstraction 
survives the load, sorry. There is one thing that is indeed shared by companies 
making bikes, cars, trucks, planes, etc - tools to make concept into a product 
and base components.

2. Second problem is that frameworks formalize 
the process of building software by providing the "coding style" to adhere to. 
Some people call it patterns, some experience, but in the end it is just the 
base language constructs youare thinking with. It offers communication 
platform for larger group of people by abstraction.Internet revolution was 
a cultural shock that introduced most ofpatterns as the only way to 
express yourself as the sizes of development teams went out of control. Lack of 
tools caused use of manpower instead of tools, canned designs and manufacturing 
instead of custom design and engineering. It works, do not get me wrong, but it 
reaps most of the developers from the main benefit of intellectual work - 
creativity and individualism. 

I think that part of Flex community might want an 
alternative to frameworksand that alternative isTooling and 
Components. Here is simple test:
1.Try not to use some framework or library or 
component for a week. Change remoteObject to WebService or XML/HTTP Request. At 
the end of the week look at code thathas been done and you would see that 
you created better performing, more powerful way to do things that fits better 
your style and applications. 
2. Now try not to use your favorite IDE (Eclipse 
or such) or code generator (Struts or Tapestry ) and observe amount of code or 
extra steps you are making. In a week you are worse then before as your 
productivity is down and no solution is coming.

For the last 15 yearscompany I am working 
atwould spend at least 50% of my time manufacturing tools and components 
and the rest doing applications to make money while putting these 
tools/components to the test. Works both ways - you are getting reusable parts 
of applications as you manufacture them - and cleanly separate tools 
from components from application code.

I think time came to put an effort in the 
creation of Flash/Flex components with high reusability - that would take away 
most of the framework appeal without giving false promises.

Thank you,
Anatole Tartakovsky
[EMAIL PROTECTED]





- Original Message - 

  From: 
  Mykola 
  Paliyenko 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, November 15, 2005 11:05 
  AM
  Subject: Re: [flexcoders] Re: Cairngorm 
  is bad?
  Good point 
  Renaun, but how often do you need model to be shared across views that are 
  backed by different mxmls? Even if you need it you can access one view from 
  another, you can create some more general ViewHelper in this case that will 
  contain that model. I'm my project 90% cases are just dummy calls to the 
  server and displaying the results. If I'll need something that does not fit 
  this concept and makes viewhelper very complex I can always refactor, but why 
  should I start having in mind that I'm writing something very complex. My 
  principle is use the simplest reasonable way that works. If it works for JSF, 
  Struts, Webwork, Tapestry then why it does not work for RIA, only because 
  client has more logic? Maybe cause I have no DnD in Java 

[flexcoders] AddTreeNode sometimes does not add but instead replaces the top node.

2005-11-15 Thread Oscar . Cortes

  I created a Tree using something like treeDP= new TreeNode(), and adding
branches and items. I have some functionality that inserts new nodes to an
existent branch. Sometimes, the AddTreeNode works fine and sometimes it
doesn't add a node but instead replaces the top one.   I am using this
syntax.

 node.AddTreeNode(object)

   Is there anything that I am missing?

---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




 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] SOLUTION: focus alert box problem

2005-11-15 Thread sir_janksalot
in reality it was not a focus alert box problem, the alert had focus,
but when I pressed Enter it wouldn't recognize it (it did the first
time and then died after that)

I figured it out by extending mx.controls.Alert and putting in a
little something like this:

m.contentAlert[m.contentAlert.defButtonName].keyDown = function( e :
Object ):Void
{
if( e.code == Key.ENTER )

m.contentAlert[m.contentAlert.defButtonName].clickHandler();
}





 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] Effects Problem

2005-11-15 Thread Andora, Greg





I missed that, it didn't help, but thanks for catching 
that. It looks like we are going to go in a different direction, so I may 
not have to worry about this (at the moment) after all. 
Thanks.

Thank 
you,Greg 
Andora


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Monday, November 14, 2005 10:59 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Effects 
Problem


I don't really have 
time to set this up but have you tried passing this as the target to the 
Parallel effect's constructor? I saw you did it for the Move and Resize 
but maybe the Parallel needs it as well.

Matt





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Andora, GregSent: Friday, November 11, 2005 5:27 
PMTo: 'flexcoders@yahoogroups.com'Subject: [flexcoders] Effects 
Problem


Hi 
all,



I'm running into a problem with a 
parallel effect and don't know what else to try to fix it. About 1 in 20 
times, the "move" of the effect happens, but the "resize" does not. This 
is just a prototype application in the brainstorming phase, but that 5% chance 
always seems to happen during a meeting with the stakeholders of the 
project.



I've attached a ZIP file with all of 
the files for the app, the only way I can get the parallel effect to "break" is 
by following the steps below...I have not been able reproduce the problem any 
other way and this is the only situation it happens in, the "Articles" panel 
should shrink up into a button-like object in the top right of the application 
after a picture of the California map moves up into the space above the 
map.

  Load or 
  Refresh the application 
  Click 
  anywhere on the US Map. 



The effect isdefined in a 
function called "shrink" inside MinimizablePanel.mxml and is called from the 
"expandoManagement" function in Index.mxml which itself in this case is being 
called from the effectEnd event on line 379.



Any help would be much 
appreciated.


Thanks,Greg 
Andora



To ensure compliance with requirements imposed by the IRS, we 
inform you that any U.S. federal tax advice contained in this document 
(including any attachments) is not intended or written to be used, and cannot be 
used, for the purpose of (i) avoiding penalties under the Internal Revenue Code 
or (ii) promoting, marketing or recommending to another party any transaction or 
matter addressed herein.This email may contain confidential and 
privileged material for the sole use of the intended recipient(s). Any review, 
use, distribution or disclosure by others is strictly prohibited. If you are not 
the intended recipient (or authorized to receive for the recipient), please 
contact the sender by reply email and delete all copies of this 
message.To reply to our email administrator directly, send an email 
to[EMAIL PROTECTED]Littler Mendelson, 
P.C.http://www.littler.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



  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.



  










To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com



RE: [flexcoders] Remote Object call - Server Response code

2005-11-15 Thread Matt Chotin










Were investigating this further and
will work with Sridhar offline



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boddula, Sridhar
Sent: Thursday, November 10, 2005
7:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object call - Server Response code






We use AMF Remote Object calls to get data from
server.
Our server is protected by siteminder.
Due to multiple logins sever is sending response
code 302 for RO call.
But client side RO is not able interpret any
response codes other than
200.
RO call is just clocking.

Does any one know how to read server response
codes when we use AMF RO
calls?

Thanks,

Sridhar Boddula,
EIS - New Tech. Development
617-664-8566(Work)








--
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
  
  
Computer software 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] Flex Book Sample Code Updates?

2005-11-15 Thread bobk_at
Does anybody know where to get updates for the code samples 
for Developing Rich Clients with Macromedia Flex?






 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] Flex2 :: mx.controls.HorizontalList-like control

2005-11-15 Thread Matt Chotin










Unfortunately its still a Repeater
thats going to be your best bet or a custom control that you right. We wont
support variableWidth in the HorizontalList.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of flexhansen
Sent: Monday, November 14, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control





Hi list,

What would be the recommended approach for doing a
mx.controls.HorizontalList-like control for
elements of unequal width
using flex2?

Cheers

 -michael












--
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
  
  
Computer software 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] Flex Book Sample Code Updates?

2005-11-15 Thread Aldo Bucchi
what kind of updates... Flex2?

If that is the case, then I'm afraid you're out of luck... a lot has
happened since that book was written.
I believe Steven ( and many others ) must be waiting for Flex2 to hit
the road to release new literature.


On 11/15/05, bobk_at [EMAIL PROTECTED] wrote:
 Does anybody know where to get updates for the code samples
 for Developing Rich Clients with Macromedia Flex?







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









--
: Aldo Bucchi :
mobile (56) 8 429 8300


 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/
 




FW: [flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Rawdyn





Hi Steve,

I 
have come across this in my own setup (using JRun4, ColdFusioin and 
IIS).

Here is a post from the MACR forum about the lc_id
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1056843
If you search the forums (particularly the CF one) there are more 
threads.

I 
can't guarantee the info is 100% so if anyone has more on the subject lets hear 
it.

Steve, how did you go with the IIS setup at large? At the time I was 
doing mine I had enormous trouble (and indeed couldn't) get it to what I 
considered a production level. See thread below.
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1065342

If anyone has any good articles on configuring JRun4 and IIS I'd be glad 
to read them.


Rawdy





  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Steve 
  CoxSent: Tuesday, 15 November 2005 11:37 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex / Jrun 
  Instability?
  
  
  Guys 
   Girls,
  Seem 
  to be having an odd problem with getting and keeping a Jrun server 
  stable.The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action=history_js'/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve
  
  





--
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
  
  
Computer software 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] Links to Nice-looking Flex Apps

2005-11-15 Thread Merrill, Jason










My client wants some visual examples of some
really nice portal pages, perhaps done with Flex  to demonstrate
possibilities. 



Anyone have some links to some really nice
Flex applications that have multiple sections or applications
 I need something really excellent in a visual sense. I have already
looked at what Macromedia has on their site.



Thanks.





Jason Merrill | E-Learning
Solutions | icfconsulting.com 



















NOTICE:
This message is for the designated recipient only and may 
contain privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original.Any 
other use of this e-mail by you is prohibited.






--
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] Re: Links to Nice-looking Flex Apps

2005-11-15 Thread Renaun Erickson
You might get some mileage from the samples off flexauthority.com

http://www.flexauthority.com/samplesIndex.cfm

The Harely-Davidson one is a nice example, you can find the link the
the past posts.

--- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote:

 My client wants some visual examples of some really nice portal pages,
 perhaps done with Flex - to demonstrate possibilities. 
 
  
 
 Anyone have some links to some really nice Flex applications that have
 multiple sections or applications - I need something really
 excellent in a visual sense.  I have already looked at what Macromedia
 has on their site.
 
  
 
 Thanks.
 
  
 
 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com 
 
  
 
  
 
  
 
 
 
 
 NOTICE:
 This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in
error, please notify the sender immediately and delete the original.
Any other use of this e-mail by you is prohibited.







 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] Flex2 :: mx.controls.HorizontalList-like control

2005-11-15 Thread Michael Hansen



Matt,

Thank you very much for your reply. 

I've been looking for a in-depth description of how to create a custom components in flex2 for doing such a component, i.e. 

1. What events are fired, and when
2. Which methods must be implemented
3. How to access child tags
4. How to do measures...
5. etc.

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

 -michael




On 11/15/05, Matt Chotin [EMAIL PROTECTED] wrote:

















Unfortunately it's still a Repeater
that's going to be your best bet or a custom control that you right. We won't
support variableWidth in the HorizontalList.



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of flexhansen
Sent: Monday, November 14, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control





Hi list,

What would be the recommended approach for doing a
mx.controls.HorizontalList-like control for
elements of unequal width
using flex2?

Cheers

 -michael












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

Computer software 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
  
  
Computer software 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: Links to Nice-looking Flex Apps

2005-11-15 Thread Dave Wolf
Jason,

Drop me a line and I can get you access to LifeCoach a multi award
winning  Flex based portal. LifeCoach is very good looking (skinned so
it doesnt look like the traditional HALO LnF) and integrates together
about 5 different applications and services.  The application is in
production for a large Fortune 50 company.  We host a sanitized
version of LifeCoach on our demo server.  I'd be glad to give you a tour.

We have several other Flex applications also hosted on our demo server
if you want to compare and contrast.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Merrill, Jason [EMAIL PROTECTED] wrote:

 My client wants some visual examples of some really nice portal pages,
 perhaps done with Flex - to demonstrate possibilities. 
 
  
 
 Anyone have some links to some really nice Flex applications that have
 multiple sections or applications - I need something really
 excellent in a visual sense.  I have already looked at what Macromedia
 has on their site.
 
  
 
 Thanks.
 
  
 
 Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com 
 
  
 
  
 
  
 
 
 
 
 NOTICE:
 This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in
error, please notify the sender immediately and delete the original.
Any other use of this e-mail by you is prohibited.







 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] Re: Scrollbar in canvas

2005-11-15 Thread superabe superabe



Anybody find the answer to this yet?

i.e is there any method that will force a container (in this case a Canvas) to recalculate / activate its scrollbars?

TIA,

- superabe

On 8/26/05, Rajesh Jayabalan [EMAIL PROTECTED] wrote:
Hi Igor,It works sometimes it does not work some times.. how do I use theauto.length function on which component?
Rajesh J--- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: If you set as 100% will never function, but you can also, use the
 auto.Legthto active the scroll.2005/8/26, Manish Jethani [EMAIL PROTECTED]:   On 8/20/05, Rajesh Jayabalan [EMAIL PROTECTED] wrote:I have vScrollPolicy=auto in a canvas and a vbox inside it with a
   repreater which creates a buch of elements (labels, combos) In some cases the scrollbar works fine and shows correctly, but in   some cases the scrollbar does not show up at all, I have tried
setting   it to on and in that case it shows a solid bar where the scroll bar   should be again this happens only some times..   Could be a bug. If you can consistently reproduce the behaviour with
  a given set of data, that would help us fix it for the next release  and also provide you a workaround in the meanwhile.   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 
   -- Igor Costa What's next? www.igorcosta.com http://www.igorcosta.com
 www.mxstudio.com.br http://www.mxstudio.com.br 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 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
  
  
Computer software 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] 3rd party component developer questions

2005-11-15 Thread David Mendels





Hi,

It is absolutely our intent for there to be a rich third 
party component developer market. Specifics of how the EULA works I am 
going to ask product management or developer relations to help 
answer.

_David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Teoti 
  GraphixSent: Monday, November 14, 2005 5:00 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 3rd party component 
  developer questions
  Hello and quick question,I have been looking around but not 
  found an answer.Is it against any EULA when Flex2 is released and a 
  legal license is aquired to to sell swc(I am guessing this is the format that 
  a component would have to be since the extension manager seems to be obsolete 
  with Flex) custom components?Obviously the components would not be 
  just slightly modifed version of existing Flex2 components.Does 
  any one know the current status of 3rd party developers for Flex 
  components?Peace, 
  Mike





--
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
  
  
Computer software 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] Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread David Mendels





Hi,

I am interested in any 
feedback from anyone on this list on integration with Acrobat/PDF. Let us 
know

-David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: Tuesday, November 15, 2005 7:25 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  Can you put an Adobe Acrobat file on a flex page
  Do you do it the same way you do a picture 





--
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: Links to Nice-looking Flex Apps

2005-11-15 Thread David Mendels
Yahoo Maps!

-David 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Renaun Erickson
 Sent: Tuesday, November 15, 2005 1:53 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Links to Nice-looking Flex Apps
 
 You might get some mileage from the samples off flexauthority.com
 
 http://www.flexauthority.com/samplesIndex.cfm
 
 The Harely-Davidson one is a nice example, you can find the 
 link the the past posts.
 
 --- In flexcoders@yahoogroups.com, Merrill, Jason 
 [EMAIL PROTECTED] wrote:
 
  My client wants some visual examples of some really nice 
 portal pages, 
  perhaps done with Flex - to demonstrate possibilities.
  
   
  
  Anyone have some links to some really nice Flex 
 applications that have 
  multiple sections or applications - I need something really 
  excellent in a visual sense.  I have already looked at what 
 Macromedia 
  has on their site.
  
   
  
  Thanks.
  
   
  
  Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com 
  
   
  
   
  
   
  
  
  
  
  NOTICE:
  This message is for the designated recipient only and may contain
 privileged or confidential information. If you have received 
 it in error, please notify the sender immediately and delete 
 the original.
 Any other use of this e-mail by you is prohibited.
 
 
 
 
 
 
 
  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
 
 
 
  
 
 
 


 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: FW: [flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Tariq Ahmed






Oh for the lc_id stuff, I believe that's a result of an IIS setting
where you set the execute permission to Scripts only. Change it to
Scripts  Executables.


Rawdyn wrote:

  
  
  
  
  

  
  
  
  
  
  
  

 From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Steve Cox
Sent: Tuesday, 15 November 2005 11:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun Instability?



Guys 
Girls,
Seem to be
having an odd problem with getting and keeping a Jrun server stable.
The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .

Looking at the source code the following line is obviously pulling in some _javascript_:
script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action=history_js'/script

Now the _javascript_ error Im getting suggests this file is not loaded.

Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.

Ta

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] Re: Links to Nice-looking Flex Apps

2005-11-15 Thread Merrill, Jason










Yeah, thanks  seen both of those (HarleyD,
Yahoo) too J as
I mentioned, I have seen the ones on Macromedia.com  looking for some
other good ones if they are out there. Thanks,





Jason
Merrill | E-Learning Solutions |
icfconsulting.com 






















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels
Sent: Tuesday, November 15, 2005
5:42 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Links to Nice-looking Flex Apps





Yahoo Maps!

-David 













NOTICE:
This message is for the designated recipient only and may 
contain privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original.Any 
other use of this e-mail by you is prohibited.






--
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
  
  
Computer software 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] difference between data models and collectionviews?

2005-11-15 Thread Sean Tierney
can anyone explain how they are different and when it's appropriate to
use each?  My current understanding is that both create a local object
that serves as a handle to better manipulate the underlying data it
represents.  I'm not clear on when it's appropriate to use one vs. the
other though- seems like using mx:model is easier since it can turn
XML data into an Actionscript object automatically... or maybe they
are for totally different purposes and i'm just missing something
entirely.

thanks
sean
--
www.LightsOutProduction.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] ioError # 2038 - Any help?

2005-11-15 Thread Nikmd23
I'm hoping someone might have some insight here.

I'm using the FileReference class to download an image from the 
server to the client.  It works great, as long as the image I'm 
downloading it small.  (The largest one I've been able to download 
so far is 4.0K)

I haved caught the error and called it's toString() method.  It 
returns this: [IOErrorEvent type=ioError bubbles=false 
cancelable=false text=Error #2038: File I/O Error. URL: 
http://localhost:8500/360/images/layout.jpg;]

The path is correct - acctually, all the other images in the same 
directory work, as long as they are 4.0K or smaller.

I also receive the exact same error when the URL I provide 
FileReference's download() method is a .cfm file which uses 
cfcontent to return the same 4.0K image that has worked when 
called directly.  (The CF code also works on it's own.)

Does anyone know anything about this?

Thank You,
Nik





 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] Can you put an Adobe Acrobat file on a flex page

2005-11-15 Thread JesterXL





Well, you could do it internally via BlazePDF. It renders a PDF in 
Flash. However, hurricane Katrina fubarred Gregg Wygonik's website, and I 
reckon he doesn't want to utilize his Red Cross check on his site vs. his house, 
poor bloke...

:: goes to look for cache ::

http://72.14.207.104/search?q=cache:T4t9g77K0WcJ:www.blazepdf.com/+blazepdfhl=en

Another way is embedding via Christophe's iframe technique:
http://coenraets.com/viewarticle.jsp?articleId=95

Apparently, there is a way to convert:
http://www.laflash.org/forum/archive/index.php/t-714.html

Or you could utilize FlashPaper instead; I believe ColdFusion can 
dynamically maybe convert both.


- Original Message - 
From: David 
Mendels 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, November 15, 2005 5:37 PM
Subject: RE: [flexcoders] Can you put an Adobe Acrobat file on a 
flex page

Hi,

I am interested in any 
feedback from anyone on this list on integration with Acrobat/PDF. Let us 
know

-David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, 
  November 15, 2005 7:25 AMTo: flexcoders@yahoogroups.comSubject: 
  [flexcoders] Can you put an Adobe Acrobat file on a flex 
  page
  Do you do it the same way you do a picture 





--
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
  
  
Computer software 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] ioError # 2038 - Any help?

2005-11-15 Thread Jason Weiss










Unfortunately I dont have any
specific insight into solving your problem per se, but sometimes its
helpful to know that the class does work. We have successfully implemented download
over both HTTP and HTTPS using the fileio.swfs wrapper of the
FileReference class without incident. I guess the advice Im offering is
that it is likely something specific to your installation because weve
never seen the 4K limit youve described. I believe the MM docs state
that the limit is around 100MB, if memory serves.



Jason







__ 
Jason Weiss 
Cynergy Systems, Inc. 
Macromedia Flex Alliance
Partner 
http://www.cynergysystems.com 


Email: jasonDOTweissATcynergysystemsDOTcomNOSPAM
Office: 866-CYNERGY 















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nikmd23
Sent: Tuesday, November 15, 2005
6:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ioError #
2038 - Any help?





I'm hoping someone might have some insight here.

I'm using the FileReference class to download an
image from the 
server to the client. It works great, as
long as the image I'm 
downloading it small. (The largest one I've
been able to download 
so far is 4.0K)

I haved caught the error and called it's
toString() method. It 
returns this: [IOErrorEvent
type=ioError bubbles=false 
cancelable=false text=Error #2038: File I/O
Error. URL: 
http://localhost:8500/360/images/layout.jpg]

The path is correct - acctually, all the other
images in the same 
directory work, as long as they are 4.0K or
smaller.

I also receive the exact same error when the URL I
provide 
FileReference's download() method is a .cfm file
which uses 
cfcontent to return the same 4.0K image
that has worked when 
called directly. (The CF code also works on
it's own.)

Does anyone know anything about this?

Thank You,
Nik











--
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] eBay Free's Their API

2005-11-15 Thread JesterXL
Pimp, now connecting Flex to this is free!

http://www.sixapart.com/pronet/weblog/2005/11/ebay_frees_the.html


 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] eBay Free's Their API

2005-11-15 Thread JesterXL
BTW, here's the WSDL if you want to see all the cool methods:
http://developer.ebay.com/webservices/latest/eBaySvc.wsdl

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Tuesday, November 15, 2005 10:35 PM
Subject: [flexcoders] eBay Free's Their API


Pimp, now connecting Flex to this is free!

http://www.sixapart.com/pronet/weblog/2005/11/ebay_frees_the.html



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




[REPOST: [flexcoders] Amazon Web Service]

2005-11-15 Thread Sreejith Unnikrishnan






When I access these 2 URLs in the
browser, I can see that they are significantly different.
The new one has some properties called "literals". I have absolutely no
clue what these are and some googling talks about how not all
technologies support XML *literals* or something like that and I have no idea what *literals* are . Now that Flex Builder throws a "fetch
failed" error could be because of this, or something with the WSDL
itself that I need to write more code to consume it ... I am confused
... infact no clue.

It would be nice if anyone can help here.

Regards
Sree

 Original Message 

  

  Subject: 
  [flexcoders] Amazon Web Service through FlexBuilder 1.5.


  Date: 
  Fri, 11 Nov 2005 21:58:23 +0530


  From: 
  Sreejith Unnikrishnan [EMAIL PROTECTED]


  Reply-To: 
  flexcoders@yahoogroups.com


  To: 
  flexcoders@yahoogroups.com

  




I am trying to access one of the
Amazon Web Services through FlexBuilder 1.5.

The following WSDL gives me a "WSDL fetch failed" error!
http://awis.amazonaws.com/AWSAlexa/AWSAlexa.wsdl

while, the beta version of the same service succeeds
http://aws-beta.amazon.com/AWSAlexa/AWSAlexa.wsdl

Can anyone please shed some light on this.

Regards
Sree









--
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] why change event of the MenuBar is not trigger?

2005-11-15 Thread Matt Chotin










Is that a MenuBar with each of those being
its own menu or is it one menu with 6 subitems? I believe the change
event only fires for the subitems, not if you simply click on the top-level
menu entry.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ykt_zju
Sent: Tuesday, November 15, 2005
2:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] why
change event of the MenuBar is not trigger?





I write a MenuBar component, but the change event of the MenuBar is
not working while other event (like createComplete
and rollOver) works!

I don't know what's the problem , will any one
tell me why? 

Thanks!

Following are pieces of related code:

code creating the menuBar
columnMenuBar=PopUpManager.createPopUp(this,
ColumnMenuBar, false,
undefined, true);
 
columnMenuBar.addEventListener(mouseDownOutside,mx.utils.Delegate.create(this,mouseOutsideMenuBar));

ColumnMenuBar.mxml
mx:MenuBar xmlns:mx=http://www.macromedia.com/2003/mxml

creationComplete=createBar()
rollOver=rollOverMenu()
change=columnMenuBarHandler(event)
width=100 marginLeft=0
 mx:Script

 ![CDATA[


 function rollOverMenu(){

 
trace(roling over the menu);

 }

 

 function createBar(){

 
trace(!!!menubar created!);

 }
 function
columnMenuBarHandler(event)
{ 

 
trace(change event in menubar);
 }
]]
 /mx:Script

mx:dataProvider
 mx:XML

 menuitem label=COLUMN
UTILITIES

  menuitem
label=Insert Column data="" /

  menuitem
label=Expand Extract Column data=""
/  

  menuitem
label=Remove Column data="" /

  menuitem
type=separator /

  menuitem
label=Sort by Ascending data="" /

  menuitem
label=Sort by Descending data=""
/  

 /menuitem
 /mx:XML

/mx:dataProvider
/mx:MenuBar














--
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
  
  
Computer software 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] How to give dynamic title to panel

2005-11-15 Thread Matt Chotin










This is a little tough. Its
completely unsupported, but what youd need to do is get through to the
underlying TextField that represents the title and change it to use HTML
instead of regular text. Then youd update the title using HTML so that
the proper number is highlighted. As I said, totally unsupported (look at the
panels back_mc.title_mc I think in the debugger and see what you can
find ). Might you consider simply changing the title to be something like: Step
1 of 3, Step 2 of 3, Step 3 of 3 which is
obviously trivial to implement?



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sandip_patil01
Sent: Monday, November 14, 2005
9:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to give
dynamic title to panel





Hi All,

I want to give dynamic title to panel.

Here is my scenorio,
mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml
title= Steps: 1 2
3
Here this is my panel.

 I have buttons FIRST SECOND
THIRD
When I click on button FIRST the number 1 should
Highligtened 
If I click on button SECOND the number 2 should
Highligtened 
lly,If I click on button THIRD the number 3 should
Highligtened 

If anybody know this I appreciate the help

Thx,
sandip















--
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
  
  
Computer software 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] Re: Question about Enable / Disable Validator

2005-11-15 Thread Matt Chotin










Where are you trying to disable the
validator from. The document is always the object on which the
Validator itself lives. So if youre calling code from the MXML file
itself youd always use this. If youre calling it
from a ViewHelper or something you could use the Application.application route
or if you already have a reference to the MXML file just use that.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby
Sent: Tuesday, November 15, 2005
6:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Question
about Enable / Disable Validator





Ok, further testing makes me think that my pointer to the
current
document is not always good. I am getting it by
using
mx.application.application.objectName.objectName...
Is this the
wrong way to do this, is there a better way to get
to the current
document? I apologize if this is a dumb question
as I am pretty new to
Flex development.

Thanks,
Libby

--- In flexcoders@yahoogroups.com,
Libby libby[EMAIL PROTECTED]
wrote:

 I am disabling the right one, but that's all
I am doing. It seems to
 me I need to do something to tell flex to
repaint the screen, which
 would then remove the red border since the
validator is not being
 invoked. Is this wrong?
 
 --- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] wrote:
 
  Hmm, disabling the validator usually
does clear any borders, you sure
  you disabled the right one? 
  
  
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
  Behalf Of Libby
  Sent: Monday, November 14, 2005 5:52 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Question about
Enable / Disable Validator
  
  
  
  If you have a validator enabled and an
error has been thrown (the
  field is red border), then you disable
the validator, the border stays
  red. How can you force the red border to
go away after you disable the
  validator? Somehow you need to repaint
the screen...?
  
  Thanks,
  Libby
  
  
  
  
  
  --
  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=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+des
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 
ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
  
  Computer software development
 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 
acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
  
  Software design and development
 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Software
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
  practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ

  
  Macromedia flex
 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 
developmentw2=Computer+software+developmentw3=Software+design+and+deve
 
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 
66.sig=OO6nPIrz7_EpZI36cYzBjw 
  
  Software development best practice
 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practice
 
w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 
are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 
st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
  
  
  
  
  
  
  
  YAHOO! GROUPS LINKS 
  
  
  
  * Visit
your group flexcoders
  http://groups.yahoo.com/group/flexcoders
 on the web.

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


  * Your use
of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/
. 
  
  
  
  
 













--
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
  
  
Computer software 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! 

RE: [flexcoders] AddTreeNode sometimes does not add but instead replaces the top node.

2005-11-15 Thread Matt Chotin










Not that I can see from your description
so you might need to give us more code











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005
11:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AddTreeNode
sometimes does not add but instead replaces the top node.






 I created a Tree using something like
treeDP= new TreeNode(), and adding
branches and items. I have some functionality that
inserts new nodes to an
existent branch. Sometimes, the AddTreeNode works
fine and sometimes it
doesn't add a node but instead replaces the top
one. I am using this
syntax.

 node.AddTreeNode(object)

 Is there anything that I am missing?

---
This e-mail message (including attachments, if
any) is intended for the use
of the individual or entity to which it is
addressed and may contain
information that is privileged, proprietary ,
confidential and exempt from
disclosure. If you are not the intended
recipient, you are notified that
any dissemination, distribution or copying of this
communication is
strictly prohibited. If you have received
this communication in error,
please notify the sender and erase this e-mail
message immediately.
---










--
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] Flex2 :: mx.controls.HorizontalList-like control

2005-11-15 Thread Matt Chotin










Have you read the various documentation
chapters available off of labs? http://labs.macromedia.com/wiki/index.php/Flex_Framework#Documentation



One to look at would be Creating
and Extending Flex Components



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Hansen
Sent: Tuesday, November 15, 2005
2:00 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control





Matt,

Thank you very much for your reply. 

I've been looking for a in-depth description of how to create a custom
components in flex2 for doing such a component, i.e. 

1. What events are fired, and when
2. Which methods must be implemented
3. How to access child tags
4. How to do measures...
5. etc.

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

 -michael








On 11/15/05, Matt
Chotin [EMAIL PROTECTED]
wrote:



Unfortunately it's still a Repeater that's going to be your
best bet or a custom control that you right. We won't support
variableWidth in the HorizontalList.



Matt











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of flexhansen
Sent: Monday, November 14, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
mx.controls.HorizontalList-like control







Hi list,

What would be the recommended approach for doing a
mx.controls.HorizontalList-like control for
elements of unequal width
using flex2?

Cheers

 -michael







--
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 
  
  
  Computer software 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
  
  
Computer software 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] difference between data models and collectionviews?

2005-11-15 Thread Matt Chotin










An ICollectionView is used for
representing a collection of data and is passed to the various List-based
controls. A change to the collection (like removing an item) is automatically
noticed by a control which makes it easy for the developer. A Model is just a
nice way of describing an anonymous object structure. It feels like XML
somewhat so its nice for quickly putting together a data model. If you
expect the data to change a fair amount and it needs to show up in a DataGrid
or List, use the ICollectionView (in this case ArrayCollection) directly. If
you just want to write out a data structure use the Model.



In Flex 2 I think well encourage
using strongly typed classes more and more and also encourage using
mx:XML instead of Models since e4x will be supported. But it will be
interesting to see where people want to use what



HTH,

Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean Tierney
Sent: Tuesday, November 15, 2005
3:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] difference
between data models and collectionviews?





can anyone explain how they
are different and when it's appropriate to
use each? My current understanding is that
both create a local object
that serves as a handle to better manipulate the
underlying data it
represents. I'm not clear on when it's appropriate
to use one vs. the
other though- seems like using mx:model is
easier since it can turn
XML data into an Actionscript object
automatically... or maybe they
are for totally different purposes and i'm just
missing something
entirely.

thanks
sean
--
www.LightsOutProduction.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



  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] Flash player 8.5 auto install?

2005-11-15 Thread Tolulope Olonade










But hopefully after the final release of
the player.

Will macromedia make available the
installable .cab file that can auto install for people like me that want to
deploy it on the company intranet?

That will be even make the flex platform
more attractive for deployment.



Thanks Jester Manish n everybody











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: 15 November 2005 06:09
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?







You can't because of licensing, even with Flash Player 8 and
below.











If you want, you can deploy the Flash Player installation
exe to a company Intranet, or on a CD-ROM, but on the internet, you'll either
have to point your user to Macromedia.com, have faith in the CAB file updating
in IE, or utilize Express Install which is a combo of the above + Flash Player
6.0.64.0's install ability.











Because 8.5 is alpha, you can't even do that because
Macromedia, thankfully, hasn't made it installable from the internet; you have
to download it from labs.macromedia.com.











- Original Message - 



From: Tolulope
Olonade 





To: flexcoders@yahoogroups.com






Sent: Tuesday, November
15, 2005 11:36 AM





Subject: RE: [flexcoders]
Flash player 8.5 auto install?











Ok Lemme rephrase.

Here is what I mean.

Lets say I develop a flex 2 application.

Flex 2 requires flash player 8.5

I have the solution deployed on http://helloworldserver/quickstart.swf

User A clicks the link but he
doesnt have flash player 8.5 installed

I have the installable of flashplayer 8.5
placed on the server cause I dont want the user to have to connect to
the internet for flashplayer 8.5 download.



So, how do I make the flashplayer 8.5
available on http://helloworldserver auto deployed unto the connecting
machine ?



Many Thanks..











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani
Sent: 15 November 2005 04:26
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
player 8.5 auto install?





On 11/15/05, Tolulope Olonade
[EMAIL PROTECTED] wrote:

 Can anybody show me how to make Flash
8.5 player auto download for installation to a clients machine in case he
doesn't have flash player installed or he is running an earlier version of the
player?

Dunno about auto download. It's available
here:
http://labs.macromedia.com/downloads/









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