Re: [flexcoders] Re: AMFPHP 1.9 security problem

2007-11-16 Thread Muzak
See if this helps:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=3201

regards,
Muzak

- Original Message - 
From: danielvlopes [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 16, 2007 5:21 AM
Subject: [flexcoders] Re: AMFPHP 1.9 security problem


I found this topic in sephirot forum,
http://www.sephiroth.it/phpBB/showthread.php?t=7966, they said use
authenticate class in beforefilter amfphp function, i try look on this
class in my amfphp folder but i don't understand how use... everything
i found about authenticate in amfphp is for amfphp 1.2 and i using
1.9beta 2 .

Anyone can help?




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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: and dispatchEvent

2007-11-16 Thread Stephen Allison
Peter Hall writes: 

 [Bindable] actually makes a number of changes to your code... snip

Thanks for that, would now be interested to know how you found that out!? 

Stephen


[flexcoders] Can I have SWFLoader automatically scale the content swf?

2007-11-16 Thread Stephen Roy J. Tang
Hi,

I'm trying to do this thing where I have a VDividedBox, the top half
contains an SWFLoader that will load another Flex SWF. I want to
resize the SWFLoader automatically when the containing canvas is
resized by dragging the divider, and also for the content inside the
SWFLoader to scale automatically. Can this be done?

What I tried is something like:

test.mxml
=

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:VDividedBox width=543 height=312
mx:Canvas id=myCanvas height=300
mx:SWFLoader source=test2.swf id=ld 
maintainAspectRatio=true
height={myCanvas.height-20} scaleContent=true /
/mx:Canvas
mx:Canvas
mx:Text text=The bottom half of the vdivided box /
/mx:Canvas
/mx:VDividedBox
/mx:Application

test2.mxml
==

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Text x=22 y=10 text=I want this content to scale/
mx:Image x=22 y=36 width=197 height=28 source=untitled.jpg/
/mx:Application


Any advice would be greatly appreciated.

Thanks,

Roy



[flexcoders] depth problems, some help needed please

2007-11-16 Thread Mark
I have a Flash CS3 component that pops up a small text box on roll-
overs.  Those Flash text pop-ups come up behind Flex Labels. Is there 
a way to control the depth of each component?  The layout of these 
components are:

HBox
Label Left -- Flash Comp. -- Label Right

Any ideas?  Can I control this in Flash or Flex?

Thanks,
Mark



[flexcoders] Re: LCDS, AIR and Client Side Cacheing

2007-11-16 Thread christophers1228
--- In flexcoders@yahoogroups.com, christophers1228
[EMAIL PROTECTED] wrote:

 Hello,
 
 Is it possible to enable client side caching with AIR and LCDS when
 you have managed destinations?
 
 For example, if I have 4 related tables each having their own
destination.
 
 SalesPerson has many WorkOrders.
 WorkOrder has one SalesPerson.
 WorkOrder has many Proposals.
 Proposal has one WorkOrder.
 Proposal has many LineItems.
 LineItem has one Proposal.
 
 If I have the following mxml code.
 
 mx:DataService id=workOrderDS cacheId=workOrders
 destination=hibernate-work-order/
 
 workOrderDS.fill(model.workOrders,
 'WorkOrderVO.getWorkOrdersForSalesPerson', {user: model.user.id});
 
 Thanks for any pointers.


Anyone?



[flexcoders] Re: LCDS, AIR and Client Side Cacheing

2007-11-16 Thread Josh VanderBerg
That would certainly be a nice feature, but when I saw demos of using
the client side database in AIR at the Chicago Adobe Max, it didn't
look like there was much in the way of integration with LCDS.   

Unless something has changed, to do this you'd have to create client
side tables on your own, that mirror your server-side tables, and
manage the data stored there manually using a JDBC like API.  No small
feat.

__
Josh Vanderberg
vanderblog.typepad.com - Flex blog and open source flex components 

__



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

 Hello,
 
 Is it possible to enable client side caching with AIR and LCDS when
 you have managed destinations?
 
 For example, if I have 4 related tables each having their own
destination.
 
 SalesPerson has many WorkOrders.
 WorkOrder has one SalesPerson.
 WorkOrder has many Proposals.
 Proposal has one WorkOrder.
 Proposal has many LineItems.
 LineItem has one Proposal.
 
 If I have the following mxml code.
 
 mx:DataService id=workOrderDS cacheId=workOrders
 destination=hibernate-work-order/
 
 workOrderDS.fill(model.workOrders,
 'WorkOrderVO.getWorkOrdersForSalesPerson', {user: model.user.id});
 
 Thanks for any pointers.





[flexcoders] Default CSS file not found

2007-11-16 Thread Clint Modien
I'm creating a pure as3 application and when I use
[Frame(factoryClass=com.somepackage.SomeClass] I'm getting a compiler
warning...

How do I make the warning go away?


[flexcoders] Re: Changing default components texts

2007-11-16 Thread Josh VanderBerg
You would extend the DateField component and override the properties
in the new Class' constructor, for example:

package mycomponents
{
import mx.controls.DateField;

public class MyDateField extends DateField
{
public function MyDateField()
{

super();
monthNames=['Jan', 'Feb', 'Mar', 'Apr', 'May',
'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov',
'Dec']; 
}

}
}


Then in your code replace all references to DateField with MyDateField.

--
Josh Vanderberg
vanderberg.typepad.com - Flex blog and open source flex components


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

 Hi.
 
 I'm using Flex 2.01, and I'm looking for something to change the
values for all the 
 components of the same kind, by declaring it only once in the
application. For example:
 I want to use my personal monthNames and dayNames for the component
DateField, but I 
 want to declare my values only once, and not every time I add a
DateField component.
 
 I got the idea when I saw that I could define the labels for the OK,
Cancel, Yes and No buttons 
 from Alert messages, by changing the value of variables in the main
application like:
   Alert.yesLabel = Sí;
   Alert.noLabel = No;
   Alert.cancelLabel = Cancelar;
   Alert.okLabel = Aceptar;
 
 Can I do something similar with other components? Where can I find
the info about it?
 
 Thank you very much





[flexcoders] Generating flex client based on xml content

2007-11-16 Thread Bernardo O. Bennett
Hi All

Let's say my system has a rest xml interface fully functional and I want to 
write a lightweight flex client to visualize the data represented in the xmls. 
Does anyone know a framework/tool to generate the flex code based on the 
contents of my xmls?

Thanks in advance,
Bernardo




  Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/

[flexcoders] Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
Folks

Maybe I'm interpreating all the docs wrong but, I have a Custom Class which is 
one of several View Classes as part of an MVC model I'm using. I have an 
associated Controller class.

I want the Custom class to dispatch custom Event to the COntroller class, the 
Custom class is embedded somewhere in the Display list under a Base View Class.

 [Event(name=menuitemClicked, type=flash.events.Event)]
Custom Class {

  private function onClick(event:Event) {
   var e:Event = new Event(menuitemClicked, true, false);
   dispatchEvent(e);
   Alert.show(Event Dispatched);
  }
}

In the Controller Class {

 public function init() {
   Application.application.addEventListener(menuitemClicked, 
menuitemClickHandler);
  }
  
  //This MVC EventHandler
  public function menuitemClickHandler(event:Event) {
   Alert.show(Event received by COntroller);
  }
}

I've tried not using Application.appication and still get nothing, what am I 
not understanding about receiving events from another Class.

Cheers

Duncan


  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 


[flexcoders] Re: Problem printing component with

2007-11-16 Thread mitek17
Hi Alex,

I believe that there is a bug in FlashPlayer .
If I use Firefox with debug version of the FLashPlayer from Flex2 SDK
I've got the following sequence 

image::creationComplete
image::updateComplete
canvas::creatComplete
image::updateComplete


If I use IE7 with FlashPlayer 9.0.47

image::creationComplete
image::updateComplete
canvas::creatComplete

I've got only 3 events - the last updateComplete from the image does
not come.

What could be the reason for this?

Cheers,
Dmitri.


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

 At startup, the image is created so creationComplete fired and
 updateComplete also fires since that means the image has finished
 updating, but the image has no bits yet, they are still streaming in,
 kiadin external data is asynch,  later, a complete event will be
 dispatched which means the bits are stremed in, and the image will
 adjust, causing another updateComplete.  There is no reason to use
 creationComplete in this scenario
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of mitek17
 Sent: Friday, October 19, 2007 8:42 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Problem printing component with
 
  
 
 Hi Alex,
 
 Could you please explain the following:
 First 2 events are coming from the Image (creationComplete, 
 updateComplete)
 3rd event is coming from the top component - creation complete.
 
 Why does Image then sends update complete? If I don't wait for the 
 4th event - image is not visible. If I wait - everything is OK.
 
 1)[Event type=creationComplete bubbles=false cancelable=false 
 eventPhase=2] 
 CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000.vb_InnerVBo
 x.c_Header.img_logo
 
 2)[Event type=updateComplete bubbles=false cancelable=false 
 eventPhase=2] 
 CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000.vb_InnerVBo
 x.c_Header.img_logo
 
 3)[Event type=creationComplete bubbles=false cancelable=false 
 eventPhase=2] 
 CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000
 
 4)[Event type=updateComplete bubbles=false cancelable=false 
 eventPhase=2] 
 CAppointmentCheckOutPopUp2727.CTaxInvoiceFormPrintView3000.vb_InnerVBo
 x.c_Header.img_logo
 
 Thanks,
 Dmitri.
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  image
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of mitek17
  Sent: Wednesday, October 17, 2007 12:27 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Re: Problem printing component with
  
  
  
  Thanks, Alex!
  
  BTW, upodateEvent from Image or from the parent container?
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com  mailto:flexcoders%
 40yahoogroups.com
  , Alex Harui aharui@ wrote:
  
   It should be the updateComplete right after the complete event. 
 Note
   that you have to wait for this before starting to print.
  
 





[flexcoders] Re: AMFPHP 1.9 security problem

2007-11-16 Thread danielvlopes
Thanks Muzak, i will try use this code with session in php. ;-)


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

 See if this helps:

http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=3201
 
 regards,
 Muzak
 
 - Original Message - 
 From: danielvlopes [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, November 16, 2007 5:21 AM
 Subject: [flexcoders] Re: AMFPHP 1.9 security problem
 
 
 I found this topic in sephirot forum,
 http://www.sephiroth.it/phpBB/showthread.php?t=7966, they said use
 authenticate class in beforefilter amfphp function, i try look on this
 class in my amfphp folder but i don't understand how use... everything
 i found about authenticate in amfphp is for amfphp 1.2 and i using
 1.9beta 2 .
 
 Anyone can help?





Res: [flexcoders] Generating flex client based on xml content

2007-11-16 Thread Bernardo O. Bennett
What I meant was having a tool to generate a draft interface for me, based on 
the xml structure (most likely from the DTD).

- Mensagem original 
De: Paul Andrews [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviadas: Sexta-feira, 16 de Novembro de 2007 16:21:27
Assunto: Re: [flexcoders] Generating flex client based on xml content









  







- Original Message - 


  From: 
  Bernardo O. Bennett 

  To: [EMAIL PROTECTED] ups.com 

  Sent: Friday, November 16, 2007 4:18 
  PM

  Subject: [flexcoders] Generating flex 
  client based on xml content

  


  
  Hi All

Let's say my system has a rest xml interface fully 
  functional and I want to write a lightweight flex client to visualize the 
data 
  represented in the xmls. Does anyone know a framework/tool to generate the 
  flex code based on the contents of my xmls?

   


There's nothing stopping you from writing a flex 
application without a user interface, then creating the interface 'on the fly' 
by instantiating the user interface dynamically according to the XML 
content.

 

Paul


  

Thanks in advance,
Bernardo



  







!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#ff;text-decoration:none;}
--



!--

#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
--



!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc{
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o{font-size:0;}
.MsoNormal{
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq{margin:4;}
--








  Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/

Re: [flexcoders] Re: Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
No it doesn't, also doesn't matter what bubbles is set to either

Duncan



- Original Message 
From: bithroop [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 16 November, 2007 4:27:39 PM
Subject: [flexcoders] Re: Event dispatching and receiving

Are you saying it works with Application. application?

--- In [EMAIL PROTECTED] ups.com, duncan mcmillan [EMAIL PROTECTED]  wrote:

 Folks
 
 Maybe I'm interpreating all the docs wrong but, I have a Custom
Class which is one of several View Classes as part of an MVC model I'm
using. I have an associated Controller class.
 
 I want the Custom class to dispatch custom Event to the COntroller
class, the Custom class is embedded somewhere in the Display list
under a Base View Class.
 
 [Event(name= menuitemClicked , type=flash. events.Event )]
 Custom Class {
 
 private function onClick(event: Event) {
 var e:Event = new Event(menuitemClic ked, true, false);
 dispatchEvent( e);
 Alert.show( Event Dispatched) ;
 }
 }
 
 In the Controller Class {
 
 public function init() {
 Application. application. addEventListener (menuitemClicke d,
menuitemClickHandle r);
 }
 
 //This MVC EventHandler
 public function menuitemClickHandle r(event:Event) {
 Alert.show( Event received by COntroller) ;
 }
 }
 
 I've tried not using Application. appication and still get nothing,
what am I not understanding about receiving events from another Class.
 
 Cheers
 
 Duncan
 
 
  _ _ _ _ _ _
 Yahoo! Answers - Got a question? Someone out there knows the answer.
Try it
 now.
 http://uk.answers. yahoo.com/






  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

RE: [flexcoders] Re: Express Install question

2007-11-16 Thread Samuel R. Neff

I don't know if changing the parameter will work or not, and if it did work,
what you would actually put on your internal page to allow installing the
plugin without going to adobe.com (especially due to previously mentioned
legal concerns).

Sam 


---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Friday, November 16, 2007 10:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Express Install question

Thanks for the reply,

I was wondering if I can just go into the HTML and change the code 
right in there, or if that will just cause errors?  I'm thinking I 
can change the pluginspage paramater in the few spots it shows up 
with an internal page URL that gives my message and a link to the 
plug-in.  I don't know if that is considered the Express Insall or 
not.

What do you think (before I go and scew this up)?



AC_FL_RunContent(
src, playerProductInstall,

FlashVars, MMredirectURL=+MMredirectURL+'MMplayerType='+
MMPlayerType+'MMdoctitle='+MMdoctitle+,
width, 100%,
height, 100%,
align, middle,
id, app_withoutHeaders,
quality, high,
bgcolor, #869ca7,
name, app_withoutHeaders,
allowScriptAccess,sameDomain,
type, application/x-shockwave-flash,

pluginspage, http://www.adobe.com/go/getflashplayer;
);




[flexcoders] Hide titleBar of Panel

2007-11-16 Thread imjackson84
Hi,

I would like to be able to optionally hide the title bar of the main
Panel container in my application, so that the top border appears the
same as the other 3 sides. I have tried extending the Panel class with
a function to set the titleBar.height property to 0, but this did not
work. I also tried setting the explicitHeight and minHeight, but again
no joy.

Does anyone have any idea? I haven't been able to find any solutions
in my searches...

Iain



RE : [flexcoders] lable Rotation

2007-11-16 Thread Christophe Jolif

Hi,

For 1. Someone asked a similar question on ILOG Elixir forum. 

See:
http://groups.google.com/group/ilog-elixir/browse_frm/thread/a279ed3215730c21

For 2. I'm not sure what your question is. ILOG Elixir beta 1 is working with 
Adobe Flex Beta 2.

For 3. Watermark removal will be provided for paying customers when the product 
will be release (still in beta).

Hope this helps,

--
Christophe
http://flex.ilog.com

 Message d'origine
De: flexcoders@yahoogroups.com de la part de guna samba
Date: ven. 11/16/2007 2:02
À: flexcoders@yahoogroups.com
Objet : [flexcoders] lable Rotation
 
hi,

1. How could i rotate the label in Linerar axis ?
2. When ILOG 3d chart merge with Flex 3 beta ?
3. How Could i remove the Water mark appears in Ilod 3d chart.

Please update me.

 
Thank's  Regards,
Gunasekaran Sambandhan


  Did you know? You can CHAT without downloading messenger. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php/ 



[flexcoders] Re: Calling play() on VideoDisplayer from JS using Flex-Ajax bridge doesn't work

2007-11-16 Thread s_tibrewal
I am trying to trigger two things with the same button on the page. 

1. Start playing of the video in Flash
2. Show power point slides presentation synched with the video - which
 basically is images rotated with timeouts

Perhaps I could make the same call from within Flex and trigger both
of them but it just seemed easier to call play() on the VideoPlayer
and also trigger the presentation using a simple JS function triggered
by HTML button.

Hope that explains why. But irrespective, shouldn't the play()
function work or are there things that need to be done before calling
the play() function for it to work?

Thanks,

Sanjay.
--- In flexcoders@yahoogroups.com, Samuel D. Colak [EMAIL PROTECTED]
wrote:

 Umm - this may be an odd question but WHY on earth would you bother
with AJAX when you have Flex?
  
 Regards
 Samuel
 
 
 
 From: flexcoders@yahoogroups.com on behalf of s_tibrewal
 Sent: Fri 11/16/2007 11:29
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Calling play() on VideoDisplayer from JS using
Flex-Ajax bridge doesn't work
 
 
 
 Hello Folks,
 
 I have created a simple VideoDisplay where I can play a video file.
 
 I have setup the Flex-Ajax bridge so that when I click a button on the
 page, I can access the elapsed time using code as below
 
 var elapsedTime = flexApp.getInstructorWindow().getPlayheadTime();
 
 All this works fine. Now, instead of initiating the play from a button
 on the Flash window I want to do it from outside the flash windo - a
 button on the html page. I use that button to call a JS function as
 below which calls the ActionScript function startSync - same function
 that is called when the button on the flash player is pressed (and
 that works).
 
 function startPlayBack(){
 alert('In startPlayBack');
 flexApp.getInstructorWindow().startSync();
 
 alert('Calling slideshow');
 slideShow();
 }
 
 I get the first alert message but not the second one and my video
 player doesn't play anything. The startSync ActionScript function is
 as below.
 
 public function startSync():void {
 Alert.show(test1, test2);
 instructorWindow.source = videoFile;
 totalTimeArea.text = ;
 stopTimeArea.text = ;
 instructorWindow.play();
 // start_sync.send();
 }
 
 The videoFile variable is initialized when the VideoDisplay loads up
 using the code below
 
 videoFile = Application.application.parameters.videoFile;
 
 All this works fine when the button is pressed on the flash player but
 I can't get it to play with a call from JS from the web page. Any
 thoughts on what could be going wrong would be appreciated.
 
 I am on Win XP using FireFox 2.0.0.9 and Flash Player 9.
 
 Thanks much for any feedback.
 
 Sanjay.
 
 BTW: instructorWindow is the id of my VideoDisplay as below
 mx:VideoDisplay id=instructorWindow width=291 height=264 x=6
 y=7/





[flexcoders] Re: Event dispatching and receiving

2007-11-16 Thread bithroop
Are you saying it works with Application.application?

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

 Folks
 
 Maybe I'm interpreating all the docs wrong but, I have a Custom
Class which is one of several View Classes as part of an MVC model I'm
using. I have an associated Controller class.
 
 I want the Custom class to dispatch custom Event to the COntroller
class, the Custom class is embedded somewhere in the Display list
under a Base View Class.
 
  [Event(name=menuitemClicked, type=flash.events.Event)]
 Custom Class {
 
   private function onClick(event:Event) {
var e:Event = new Event(menuitemClicked, true, false);
dispatchEvent(e);
Alert.show(Event Dispatched);
   }
 }
 
 In the Controller Class {
 
  public function init() {
Application.application.addEventListener(menuitemClicked,
menuitemClickHandler);
   }
   
   //This MVC EventHandler
   public function menuitemClickHandler(event:Event) {
Alert.show(Event received by COntroller);
   }
 }
 
 I've tried not using Application.appication and still get nothing,
what am I not understanding about receiving events from another Class.
 
 Cheers
 
 Duncan
 
 
   ___
 Yahoo! Answers - Got a question? Someone out there knows the answer.
Try it
 now.
 http://uk.answers.yahoo.com/





[flexcoders] Securing flex swf file

2007-11-16 Thread ml12361
I am trying to secure my Flex SWF file by placing it above the wwwroot 
directory and using CFCONTENT to pull the file. This works fine in my 
staging server, but on my production machine, the file loads but I need 
to right-click on the flash document and select Forward or Play. Any 
ideas about what is going on and ho to fix it?



Re: [flexcoders] cairngorm design question, need suggestions

2007-11-16 Thread Ralf Bokelberg
Both is possible.

However, in our practice we try to test as much as possible.
The call to a cairngorm command is rather difficult to test,
whereas you can easily test if a ciarngorm event is dispatched
by adding a listener to the CairngormEventDispatcher.

Cheers
Ralf.



On Nov 16, 2007 12:34 PM, Yigit Boyar [EMAIL PROTECTED] wrote:






 hi all;
  i work in a project which includes the implementation of a RIA
  application in which the user will generate an XML based on an XSD
  defined language using dragdrops and etc. (user never sees the xml).

  at first, we developed a code generator using AIR that takes the XSD and
  generates vo's, commaders, events,model  controller. so we just hand
  coded the views. and the demo was very successful.

  now the second phase of the project came and there are huge differences
  in the XSD, so we had to handcode additional things into commanders,
  which violated the auto-generation approach and resulted in some bugs 
  inefficiency. then we decided to upgrade the code generator to create
  more clever commanders and more specific events.

  we have an important debate here for which we need suggestions, so i'm
  presenting you our question.

  when an event is being handled, there may be need to do some more things
  which is done by another commander and has a specific event. in such a
  situation,
  -- should the commander call the other commander just creating the event
  and sending it to the other's execute method
  or
  --should the commander create the event and just dispatch.

  the second is the normal way for the cairngorm specs but the first is
  much more efficient.
  so which one do you suggest?

  thnks.

  p.s. commanders are specific to VO's a a commander just edit's it's VO's
  data on the model.
  



-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


[flexcoders] lable Rotation

2007-11-16 Thread guna samba
hi,

1. How could i rotate the label in Linerar axis ?
2. When ILOG 3d chart merge with Flex 3 beta ?
3. How Could i remove the Water mark appears in Ilod 3d chart.

Please update me.

 
Thank's  Regards,
Gunasekaran Sambandhan


  Did you know? You can CHAT without downloading messenger. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php/ 

[flexcoders] Re: how do I freeze the users actions while data is loading

2007-11-16 Thread Mark
I guess sometimes the easy answer is the one we overlook.  I don't 
know why I didn't think about using some kind of wait message or 
progress bar in a pop-up.  Thanks.

I have one last question about this.  When do I destroy the pop-up?  
I'd like it to stay on until all the data has been parsed, sorted 
then loaded into the dataGrid.  I thought it would be on the 
dataGrid in UpdateComplete, but that fires off everytime the DG 
updates (doesn't it?).  So when is the best time to do this?

Thanks Again



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

 On Thursday 15 Nov 2007, Mark wrote:
  to blur the screen out during this time like when using a pop- 
up window?
 
 Why not pop up a model please wait box ?
 
 -- 
 Tom Chiverton
 Helping to widespreadedly orchestrate unique supply-chains
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office.  Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

2007-11-16 Thread handitan
Hi Mark,

Maybe this will help you:
http://www.tink.ws/blog/seemless-animated-skins-in-flex/


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

 Hi, does anyone know if it's possible to have an animated overSkin 
for a
 button? Our designer has created an overSkin which just extends the
 normal skin, making it feel like it grows when the mouse is over it.
 However, when I embed it in our flex application, it constantly 
flicks
 between 1 frame of the over skin and then back to the upSkin. How 
can I
 get flex to play nicely with the over state? (i.e. play the full 
symbol
 instead of just use 1 frame).
 
  
 
 Thanks,
 
  
 
 Mark





Re: Res: [flexcoders] Generating flex client based on xml content

2007-11-16 Thread Jehanzeb Musani
Hello,

I don;t think any such tool exist. You have to write
an flex application yourself that will request server
for the xml and then render the UI on the basis of
that XML.

I have done the same for my application. It calls a
webserivce when returns the xml that contains the
layout of the client. A prototype of that can be view
at the following link.

http://80.227.133.21/FlexTestExternal/ApplicationLayoutManager.html

If you don't like the idea of generating the client UI
at runtime, what you can do is write an application in
any language you are familiar with and genrate an MXML
application file based on the xml. You can then
include that file in your Flex project.

Regards,
Jehanzeb

--- Bernardo O. Bennett [EMAIL PROTECTED]
wrote:

 What I meant was having a tool to generate a draft
 interface for me, based on the xml structure (most
 likely from the DTD).
 
 - Mensagem original 
 De: Paul Andrews [EMAIL PROTECTED]
 Para: flexcoders@yahoogroups.com
 Enviadas: Sexta-feira, 16 de Novembro de 2007
 16:21:27
 Assunto: Re: [flexcoders] Generating flex client
 based on xml content
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 - Original Message - 
 
 
   From: 
   Bernardo O. Bennett 
 
   To: [EMAIL PROTECTED] ups.com 
 
   Sent: Friday, November 16, 2007 4:18 
   PM
 
   Subject: [flexcoders] Generating flex 
   client based on xml content
 
   
 
 
   
   Hi All
 
 Let's say my system has a rest xml interface fully 
   functional and I want to write a lightweight flex
 client to visualize the data 
   represented in the xmls. Does anyone know a
 framework/tool to generate the 
   flex code based on the contents of my xmls?
 

 
 
 There's nothing stopping you from writing a flex 
 application without a user interface, then creating
 the interface 'on the fly' 
 by instantiating the user interface dynamically
 according to the XML 
 content.
 
  
 
 Paul
 
 
   
 
 Thanks in advance,
 Bernardo
 
 
 
   
 
 
 
 
 
 
 
 !--
 
 #ygrp-mkp{
 border:1px solid
 #d8d8d8;font-family:Arial;margin:14px
 0px;padding:0px 14px;}
 #ygrp-mkp hr{
 border:1px solid #d8d8d8;}
 #ygrp-mkp #hd{

color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px
 0px;}
 #ygrp-mkp #ads{
 margin-bottom:10px;}
 #ygrp-mkp .ad{
 padding:0 0;}
 #ygrp-mkp .ad a{
 color:#ff;text-decoration:none;}
 --
 
 
 
 !--
 
 #ygrp-sponsor #ygrp-lc{
 font-family:Arial;}
 #ygrp-sponsor #ygrp-lc #hd{
 margin:10px

0px;font-weight:bold;font-size:78%;line-height:122%;}
 #ygrp-sponsor #ygrp-lc .ad{
 margin-bottom:10px;padding:0 0;}
 --
 
 
 
 !--
 
 #ygrp-mlmsg {font-size:13px;font-family:arial,
 helvetica, clean, sans-serif;}
 #ygrp-mlmsg table {font-size:inherit;font:100%;}
 #ygrp-mlmsg select, input, textarea {font:99% arial,
 helvetica, clean, sans-serif;}
 #ygrp-mlmsg pre, code {font:115% monospace;}
 #ygrp-mlmsg * {line-height:1.22em;}
 #ygrp-text{
 font-family:Georgia;
 }
 #ygrp-text p{
 margin:0 0 1em 0;}
 #ygrp-tpmsgs{
 font-family:Arial;
 clear:both;}
 #ygrp-vitnav{

padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
 #ygrp-vitnav a{
 padding:0 1px;}
 #ygrp-actbar{
 clear:both;margin:25px
 0;white-space:nowrap;color:#666;text-align:right;}
 #ygrp-actbar .left{
 float:left;white-space:nowrap;}
 .bld{font-weight:bold;}
 #ygrp-grft{
 font-family:Verdana;font-size:77%;padding:15px 0;}
 #ygrp-ft{
 font-family:verdana;font-size:77%;border-top:1px
 solid #666;
 padding:5px 0;
 }
 #ygrp-mlmsg #logo{
 padding-bottom:10px;}
 
 #ygrp-vital{

background-color:#e0ecee;margin-bottom:20px;padding:2px
 0 8px 8px;}
 #ygrp-vital #vithd{

font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
 #ygrp-vital ul{
 padding:0;margin:2px 0;}
 #ygrp-vital ul li{
 list-style-type:none;clear:both;border:1px solid
 #e0ecee;
 }
 #ygrp-vital ul li .ct{

font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
 #ygrp-vital ul li .cat{
 font-weight:bold;}
 #ygrp-vital a{
 text-decoration:none;}
 
 #ygrp-vital a:hover{
 text-decoration:underline;}
 
 #ygrp-sponsor #hd{
 color:#999;font-size:77%;}
 #ygrp-sponsor #ov{
 padding:6px
 13px;background-color:#e0ecee;margin-bottom:20px;}
 #ygrp-sponsor #ov ul{
 padding:0 0 0 8px;margin:0;}
 #ygrp-sponsor #ov li{
 list-style-type:square;padding:6px 0;font-size:77%;}
 #ygrp-sponsor #ov li a{
 text-decoration:none;font-size:130%;}
 #ygrp-sponsor #nc{
 background-color:#eee;margin-bottom:20px;padding:0
 8px;}
 #ygrp-sponsor .ad{
 padding:8px 0;}
 #ygrp-sponsor .ad #hd1{

font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
 #ygrp-sponsor .ad a{
 text-decoration:none;}
 #ygrp-sponsor .ad a:hover{
 text-decoration:underline;}
 #ygrp-sponsor .ad p{
 margin:0;}
 
=== message truncated ===



  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  

[flexcoders] Animated overSkin (how to use more than one frame of a symbol)

2007-11-16 Thread Mark Ingram
Hi, does anyone know if it's possible to have an animated overSkin for a
button? Our designer has created an overSkin which just extends the
normal skin, making it feel like it grows when the mouse is over it.
However, when I embed it in our flex application, it constantly flicks
between 1 frame of the over skin and then back to the upSkin. How can I
get flex to play nicely with the over state? (i.e. play the full symbol
instead of just use 1 frame).

 

Thanks,

 

Mark

 

 

 



RE: [flexcoders] Express Install question

2007-11-16 Thread Samuel R. Neff
Mark,

I don't know if this is still the case, but in the past installation of the
Flash Player was very tightly controlled.  There was an agreement available
that allowed deployment through automated push or by internal hosting, but
it required signing a contract (no money, just license) and the contract
gave Macromedia the rights to view your source code (presumably to confirm
you weren't doing anything you're not supposed to re distributing the
player).

Perhaps Adobe has changed these rules (they changed a lot for the better!)
but I don't know for sure and I didn't see anyone else answer your question.

That's from a legal standpoint...  From a technical standpoint, installation
of the flash player is very simple and it's pretty easy to write your own
installer (although I don't know if you can do your own automated install
the way it happens from adobe.com).

HTH,

Sam

---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Thursday, November 15, 2007 1:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Express Install question

I'm building an app for a company intranet site and the boss doesn't 
want the user to go outside to get the plug-in if needed.  I can't 
seem to find how to to modify the wrapper to do this.  It's the only 
thing I need changed on it.  Can someone point me to where that can be 
found, I just can't find it in the Help.

Thanks,
Mark



[flexcoders] List Filter Problem driving me crazy!

2007-11-16 Thread Rick Root
So I'm building an application which contains lists of items that I
want users to be able to filter, select some items, filter again,
select some more items, etc.

However, when a selected item is filtered out, when the filter is
removed, the item is no longer selected.

Take the following example:

http://www.it.dev.duke.edu/public/CheckBoxListTest/CheckBoxListTest.html

select Item 1 then filter for Item 2... don't select anything.
Remove the filter now.

Item 1 is no longer selected.  But the label still says it is
selected.. the label is bound to the
{cboRatings.selectedIndices.length} property.

In my test application I can't get it to work the way I want it to at
all.  In my real application, it works sometimes but not others.

I thought maybe it was the CheckBoxList component that someone had
written for me... or the CheckBoxListItemRenderer that was part of
that component, but i'm finding the same problem in the above test
application which only uses a simple, standard list component.

If it makes any different, I'm compiling the application with Flex
Builder 3 (beta 2).  I've compiled it with the Flex 2.0.1 HF3 SDK and
the latest Flex 3 beta SDK.

Why doesn't the list remember what's selected?  Doesn't the filter
simply prevent an item from displaying?

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com


Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Muzak
 I've tried not using Application.appication and still get nothing,
 what am I not understanding about receiving events from another Class.

That events dispatched from an instance not on the display list do not bubble.

regards,
Muzak

- Original Message - 
From: duncan mcmillan [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 16, 2007 4:45 PM
Subject: [flexcoders] Event dispatching and receiving


Folks

Maybe I'm interpreating all the docs wrong but, I have a Custom Class which is 
one of several View Classes as part of an MVC model 
I'm using. I have an associated Controller class.

I want the Custom class to dispatch custom Event to the COntroller class, the 
Custom class is embedded somewhere in the Display list 
under a Base View Class.

 [Event(name=menuitemClicked, type=flash.events.Event)]
Custom Class {

  private function onClick(event:Event) {
   var e:Event = new Event(menuitemClicked, true, false);
   dispatchEvent(e);
   Alert.show(Event Dispatched);
  }
}

In the Controller Class {

 public function init() {
   Application.application.addEventListener(menuitemClicked, 
menuitemClickHandler);
  }

  //This MVC EventHandler
  public function menuitemClickHandler(event:Event) {
   Alert.show(Event received by COntroller);
  }
}

I've tried not using Application.appication and still get nothing, what am I 
not understanding about receiving events from another 
Class.

Cheers

Duncan



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Flexunit and Protected or Priovate method

2007-11-16 Thread exuperok
hello i have to integrate Fleunit testing into an existing/ongoing
project that have classes calling webservices. Those classes have two
types that methodes that are both declared like this override
protected methodname. I would like to know how one should proceed to
have a testcase on those methodes that are protected given that AS3
allow calls on method that are procted only from the class and the
ones that extend it...

and in general how would someone use flexunit to test the result of
XML-RPC calls?



[flexcoders] 3D Column Chart

2007-11-16 Thread Asim nazir
Hi,

I am working with 3D column chart which is an extension provided by
Flex.  I am facing following problem
- When data is changed in dataProvider of chart, It didnt clear the
previous columns and add new columns according to new data in the
chart
I want to refresh/ re-render the chart when ever data is changed in
dataProvider.

I have tried with InvalidateNow(), InvalidateSeriesStyle,
invalidateData etc but didnt work. Now as a work around i remove
that chart from parent.. i-e this.removeChild(3Dchart) and add it
again, though the problem is solved by doing so.. but it leads to an
other problem. After doing so the Xaxis, Yaxis and Zaxis angles are
reset to zero it tried to set them again at the time of adding the
charts again but didnt work.

- Any thoughts in re-rendring the 3D column chart in better way so
that its angles dont reset.

Thanks in advance.

--
Asim Nazir


[flexcoders] Re: how do I freeze the users actions while data is loading

2007-11-16 Thread Josh VanderBerg
I tend to avoid modal dialogs if at all possible.  Generally it's much
better to display some sort of a non-modal status message, such as a
progress meter, and disable those functions that the user shouldn't
have access to while the data is loading.

For example, a current application I am working on allows users to
open documents that contain multiple pages of multiple reports/charts.
 Each report involves a round trip data request to the server that can
take up to a minute.  The simple solution would be to create a modal
popup that stays up until all of the reports for a page have loaded.  

Instead I display a progress meter in each report, until the report
data has returned, then I display a chart containing the data.  I
allow the user to switch between pages, and even between documents
while reports are loading.  It was a pain to code, but it makes for a
much more usable application.

Your case might be simpler, and there might be nothing meaningful the
user can do while waiting for the data, but the application will still
look and feel more responsive if you find a way to avoid the modal
dialog.  And who knows, you might eventually find something they can
do while they wait...


--
Josh Vanderberg
vanderblog.typepad.com - Flex Blog and open source components

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

 I guess sometimes the easy answer is the one we overlook.  I don't 
 know why I didn't think about using some kind of wait message or 
 progress bar in a pop-up.  Thanks.
 
 I have one last question about this.  When do I destroy the pop-up?  
 I'd like it to stay on until all the data has been parsed, sorted 
 then loaded into the dataGrid.  I thought it would be on the 
 dataGrid in UpdateComplete, but that fires off everytime the DG 
 updates (doesn't it?).  So when is the best time to do this?
 
 Thanks Again
 
 
 
 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ 
 wrote:
 
  On Thursday 15 Nov 2007, Mark wrote:
   to blur the screen out during this time like when using a pop- 
 up window?
  
  Why not pop up a model please wait box ?
  
  -- 
  Tom Chiverton
  Helping to widespreadedly orchestrate unique supply-chains
  on: http://thefalken.livejournal.com
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at St James's Court Brown Street Manchester M2 
 2JF.  A list of members is available for inspection at the 
 registered office.  Any reference to a partner in relation to 
 Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
 Solicitors Regulation Authority.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named 
 above and may be confidential or legally privileged.  If you are not 
 the addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 2500.
  
  For more information about Halliwells LLP visit www.halliwells.com.
 





Re: RE : [flexcoders] lable Rotation

2007-11-16 Thread guna samba
Hi Christope Jolif

Thanks for your quick reply 

For 2.
   I think till know, Ilog Elixir 3d chart has an extension to the Flex 3 Beta 
2. it's not merged like Flex 2d charts.

 
Thank's  Regards,
Gunasekaran Sambandhan



- Original Message 
From: Christophe Jolif [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
Sent: Friday, 16 November, 2007 7:09:30 PM
Subject: RE : [flexcoders] lable Rotation



Hi,

For 1. Someone asked a similar question on ILOG Elixir forum.

See:
http://groups. google.com/ group/ilog- elixir/browse_ frm/thread/ 
a279ed3215730c21

For 2. I'm not sure what your question is. ILOG Elixir beta 1 is working with 
Adobe Flex Beta 2.

For 3. Watermark removal will be provided for paying customers when the product 
will be release (still in beta).

Hope this helps,

--
Christophe
http://flex. ilog.com

 Message d'origine--- -
De: [EMAIL PROTECTED] ups.com de la part de guna samba
Date: ven. 11/16/2007 2:02
À: [EMAIL PROTECTED] ups.com
Objet : [flexcoders] lable Rotation

hi,

1. How could i rotate the label in Linerar axis ?
2. When ILOG 3d chart merge with Flex 3 beta ?
3. How Could i remove the Water mark appears in Ilod 3d chart.

Please update me.


Thank's  Regards,
Gunasekaran Sambandhan


  Did you know? You can CHAT without downloading messenger. Go to 
http://in.messenger .yahoo.com/ webmessengerprom o.php/





  Why delete messages? Unlimited storage is just a click away. Go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

[flexcoders] Context menu in flex

2007-11-16 Thread yourName
Hi iam new to this group and working with flex about one month.
I want to add custom contex menu in tree component any one can help me or can 
send a code sample can i display  popup menu when some one right clicks on my 
tree menu.
Thanks in advance

Re: [flexcoders] Re: and dispatchEvent

2007-11-16 Thread Peter Hall
I found it out based on my experiences and seeing these results. But
you can verify it by using the  -keep-generated-actionscript compiler
flag.

Peter


On Nov 16, 2007 6:03 AM, Stephen Allison [EMAIL PROTECTED] wrote:






 Peter Hall writes:

   [Bindable] actually makes a number of changes to your code... snip

  Thanks for that, would now be interested to know how you found that out!?

  Stephen
  


[flexcoders] Re: Flex app security on IIS

2007-11-16 Thread carl_steinhilber
I'm still looking for a solution on this.
Paul, or anyone else... is there any further information?

My users are reporting that, even if they enter their login
information again, sometimes the file upload just sits and hangs... so
this seems to be a larger problem than I thought.

I *need* the file upload request to be seen as authenticated from the
get-go so there is no second authentication challenge.

Thanks again,
-Carl


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

 Thanks Paul, that's GREAT information.
 If URL-rewriting is a pain and only works in some cases... I'm not
 really sold on it, especially since I believe it would take an act of
 congress for our IT folk to set it up on the server.
 
 Sending a token seems to me to be a much more manageable idea, since I
 could set it all up myself and I'd be in charge of my own destiny.
 
 But I am a little confused. You mention having another request to grab
 a token. How does *that* request get authenticated? And once the token
 is acquired, doesn't it need to be sent in the upload request in a
 specific header to establish that it's authenticated? How is that
 possible?
 
 Any further insight would be greatly appreciated.
 
 Thanks again,
 -Carl
 
 
 --- In flexcoders@yahoogroups.com, Paul deCoursey paul@ wrote:
 
  This is a bug that I have reported before.  The upload request
does not 
  share the session with the other requests on the system.  ie, cookies 
  are not sent that have not been set by any other upload requests.  In 
  some cases I've been able to use URL-Rewriting to share the session,
 but 
  it's a pain.  My solution has been to allow unsecured uploads by 
  supplying a token to the request.  What I do it have another request 
  that is on the authenticated session request a token, we use a UUID 
  generated by the server. We pass that in as a parameter on the upload 
  request and that server side handler will then map that request to
the 
  correct session.  We use tokens because we can expire them after a 
  single use.  We had trouble with url-rewriting because by default all 
  the servers we were deploying on did not have that enabled by default 
  and some clients just didn't want to support that.
  
  Really url-rewriting for session management should do it for you.
  
  Paul
  
  
  carl_steinhilber wrote:
   I have a Flex2 app that sits on a secure intranet running IIS.
   One of the functions uploads a file from client-side to the server.
   I create the URLRequest to an .asp page receiver, set up params, and
   execute a .upload on a FileReference using that URLRequest.
  
   But for some reason, even though I've authenticated against the
server
   to access the app, I get a second authentication challenge/response
   when I hit the upload button.
  
   I've added a cross-domain.xml with 
  cross-domain-policy
 allow-access-from domain=* /
  /cross-domain-policy
   even though I don't think I should have to since the .asp page is on
   the exact same domain as the app. I've even modified the index
   template for the Flex project to use allowScriptAccess=always.
But I
   still get this second IIS login prompt. 
  
   If I authenticate again via this second dialog, the upload executes
   properly, so I know the logic and architecture is correct.
  
   Is there a way to pass the user's authenticated info with the
   URLRequest/FileReference.upload()? I've poured through the docs and
   can't find anything. Or is there something else I'm missing?
  
  
   Thanks in advance,
   -Carl
  
 





Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Muzak

- Original Message - 
From: Steve Hueners [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 16, 2007 7:08 PM
Subject: Re: [flexcoders] Event dispatching and receiving


 Under what circumstances could something not on the displayList be clickable?
 

Bad programming ;-)

 On 11/16/07, Muzak [EMAIL PROTECTED] wrote:
  I've tried not using Application.appication and still get nothing,
  what am I not understanding about receiving events from another Class.

 That events dispatched from an instance not on the display list do not 
 bubble.

 regards,
 Muzak



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Jehanzeb Musani
Hello,

As far as I understood your scenario, you should call
CustomClass's addEventListener() instead of
Application.application in the Controller class. That
is, the Controller class init() should look like that

In the Controller Class { 
  public function init() { 
 customClassInstance.addEventListener
  (menuitemClicked,
menuitemClickHandler);
  }

Regards,
Jehanzeb
--- duncan mcmillan [EMAIL PROTECTED] wrote:

 Folks
 
 Maybe I'm interpreating all the docs wrong but, I
 have a Custom Class which is one of several View
 Classes as part of an MVC model I'm using. I have an
 associated Controller class.
 
 I want the Custom class to dispatch custom Event to
 the COntroller class, the Custom class is embedded
 somewhere in the Display list under a Base View
 Class.
 
  [Event(name=menuitemClicked,
 type=flash.events.Event)]
 Custom Class {
 
   private function onClick(event:Event) {
var e:Event = new Event(menuitemClicked, true,
 false);
dispatchEvent(e);
Alert.show(Event Dispatched);
   }
 }
 
 In the Controller Class {
 
  public function init() {
   

Application.application.addEventListener(menuitemClicked,
 menuitemClickHandler);
   }
   
   //This MVC EventHandler
   public function menuitemClickHandler(event:Event)
 {
Alert.show(Event received by COntroller);
   }
 }
 
 I've tried not using Application.appication and
 still get nothing, what am I not understanding about
 receiving events from another Class.
 
 Cheers
 
 Duncan
 
 
  

___
 Yahoo! Answers - Got a question? Someone out there
 knows the answer. Try it
 now.
 http://uk.answers.yahoo.com/ 
 



  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ


[flexcoders] CuePointManager

2007-11-16 Thread Thomas Viktil
Hello!

I'm experiencing some strange behavior when using the CuePointManager
class. It doesn't seem to be able to sort the cue points correctly.

My cue points are loaded from a database using AMFPHP 1.9, and then
put into an array. I've also created a static array in the
actionscript, just to compare the results, and they are identical. So,
I've excluded the formatting of the result as a possible source for
this strange behaviour.

The cue points are attached to the VideoDisplay component like this:

videoDisplay.cuePointManager.setCuePoints(cuePoints);

where cuePoints is an Array, and videoDisplay is the id for the
videoDisplay component.

It seems to be going fine, but it doesn't. When I trace the Array
after getting it from AMFPHP it looks right. But when I trace the cue
points from the videoDisplay component, the sorting is not only
reversed, but all cue points placed before 10 seconds are also
reversed.

The sorting of the Array after getting it from the database:
3.05
5.8
7.43
12.48
14.5
18.5
21.44
23.57
27.06
34.3
50.9

The sorting after attaching it to the VideoDisplay component:
50.9
34.3
27.06
23.57
21.44
18.5
14.5
12.48
3.05
5.8
7.43

In the first example the Array starts with the lowest number and ends
up at the highest, which is how I like it. But after adding it to the
VideoDisplay component, it starts at the top, going down to 12.48, and
then reverses the order of the lower numbers.

I can't find any solution to this. Am I doing it wrong, or is there
something wrong with the CuePointManager class?


Best regards,
Thomas Viktil
Onkel Estrup AS


Re: [flexcoders] Internal build errors

2007-11-16 Thread duncan mcmillan
Thanks Sheriff

Turns out is was an XML variable statement in a Class that had whitespace. I'm 
putting all XML Models in MXML components from now on:)

Duncan



- Original Message 
From: Sheriff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, 15 November, 2007 10:17:11 PM
Subject: Re: [flexcoders] Internal build errors

usually it either means u have an empty switch statament or some invalid 
character on the side/ not acutally code

ex: a comma/period might be somewhere in the whitespace around the code


- Original Message 
From: duncan mcmillan [EMAIL PROTECTED] co.uk
To: [EMAIL PROTECTED] ups.com
Sent: Thursday, November 15, 2007 3:47:13 PM
Subject: [flexcoders] Internal build errors


Hi
 
I've suddenly been getting An internal build error has occurred please check 
the error log , has anyone got any refereces as to why these errors happen? 
also I've never used an error log  so could someone please tell how to set it 
up and refer to it.
 
Thanks again
 
Duncan


- Original Message 
From: Steve Hueners [EMAIL PROTECTED] ex.com
To: [EMAIL PROTECTED] ups.com
Sent: Thursday, 15 November, 2007 7:55:40 PM
Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?


Is there anyway to judge what level of user connections a given server can 
handle without requiring specialized loadsharing strategies? In a non-audio or 
video environment what's it take to stream an AS3 based swfs to 3-5 dozen 
connections? 




On 10/16/07, Anatole Tartakovsky anatole.tartakovsky @gmail.com wrote: 
I would try to see if you can scale application in any other way - 4 core 
single CPU and removal all business functionality to different servers is 
always an option. You might get even better scalablity by going RTMP route or 
provide pseudo-connectivity wrapper using non-blocking IO  via client - proxy - 
LCDS - Messaging - LCDS - proxy -client pish. 
 
Regards,
Anatole
 
On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com  wrote: 
Yeah, I'm using HTTPService right now with E4X results. The for large data 
results, however, XML is not desirable.

I'd prefer to use some framework that uses AMF3 in order to get more compact 
results.

Bruce 



On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] com  wrote: 
You can also just use HTTPService to do direct HTTP requests. I am 
using this for communications with a JAVA backend.

--- In [EMAIL PROTECTED] ups.com, Bruce Hopkins [EMAIL PROTECTED] 

wrote:

 Hi all,
 
 All I want to do is have my Flex client to communicate with my Java 
backend.
 Due to licensing restrictions, LCDS won't be an option for us. So 
far the
 biggest contenders are:
 
 1. Granite Data Services
 2. OpenAMF
 3. WebORB
 4. Red5
 
 Does anyone have any strong opinions, suggestions, or biases on 
either of
 these solutions?
 
 Thanks,
 
 Bruce














For ideas on reducing your carbon footprint visit Yahoo! For Good this month. 





Get easy, one-click access to your favorites. Make Yahoo! your homepage. 



  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html

[flexcoders] Event result not making sense

2007-11-16 Thread donvoltz
Hello everyone,

I have a form in an application that when it is edited, I want to send
the information back to the server to be updated in the database. I am
using focusOut to trigger the event at each text input field such as this

mx:TextInput id=first_name change=validateForm(event)
focusOut=updateUserFormField(event)/

The function I have writted to do the update is as follows

private function updateUserFormField(event:Event):void {
if (formType == update){
fieldName = event.target.parent.id;
fieldValue = event.target.parent.text;
Alert.show('Name = ' + fieldName);
Alert.show('Value = ' + fieldValue);
updateUserForm.send();
}
}

I put the alert's in for debugging to make sure I was extracting the
correct information to send in an httprequest call.

The question I have is why are both alert's displaying twice? This
function is somehow being called multiple times when I exit a field.
Does anyone have any insight into this?

Thanks in advance

Don



RE: [flexcoders] Internal build errors

2007-11-16 Thread Matt Horn
FYI, that error log that is mentioned is the Eclipse error log file. The
default location of this log file on Windows XP is c:\Documents and
Settings\user_name\workspace\.metadata\.log. For MacOS and Linux, the
default location is also in the workspace directory, but files and
directories that begin with a dot are hidden by default.

-matt  

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of duncan mcmillan
 Sent: Friday, November 16, 2007 10:40 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Internal build errors
 
 Thanks Sheriff
  
 Turns out is was an XML variable statement in a Class that 
 had whitespace. I'm putting all XML Models in MXML components 
 from now on:)
  
 Duncan
 
 
  
 - Original Message 
 From: Sheriff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, 15 November, 2007 10:17:11 PM
 Subject: Re: [flexcoders] Internal build errors
 
 
 
 usually it either means u have an empty switch statament or 
 some invalid character on the side/ not acutally code
 
 ex: a comma/period might be somewhere in the whitespace 
 around the code
 
 
 - Original Message 
 From: duncan mcmillan [EMAIL PROTECTED] co.uk
 To: [EMAIL PROTECTED] ups.com
 Sent: Thursday, November 15, 2007 3:47:13 PM
 Subject: [flexcoders] Internal build errors
 
 
 
 Hi
  
 I've suddenly been getting An internal build error has 
 occurred please check the error log , has anyone got any 
 refereces as to why these errors happen? also I've never used 
 an error log  so could someone please tell how to set it up 
 and refer to it.
  
 Thanks again
  
 Duncan
 
 
 - Original Message 
 From: Steve Hueners [EMAIL PROTECTED] ex.com
 To: [EMAIL PROTECTED] ups.com
 Sent: Thursday, 15 November, 2007 7:55:40 PM
 Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?
 
 
 
 Is there anyway to judge what level of user connections a 
 given server can handle without requiring specialized 
 loadsharing strategies? In a non-audio or video environment 
 what's it take to stream an AS3 based swfs to 3-5 dozen connections? 
 
 
 
 
 
 On 10/16/07, Anatole Tartakovsky anatole.tartakovsky 
 @gmail.com mailto:[EMAIL PROTECTED]  wrote: 
 
   
 
   I would try to see if you can scale application in any 
 other way - 4 core single CPU and removal all business 
 functionality to different servers is always an option. You 
 might get even better scalablity by going RTMP route or 
 provide pseudo-connectivity wrapper using non-blocking IO  
 via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. 

   Regards,
   Anatole
   

   On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com 
 mailto:[EMAIL PROTECTED]  wrote: 
 
   Yeah, I'm using HTTPService right now with E4X 
 results. The for large data results, however, XML is not desirable.
   
   I'd prefer to use some framework that uses AMF3 
 in order to get more compact results.
   
   Bruce 
 
   
   
   
   On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] 
 com mailto:[EMAIL PROTECTED]  wrote: 
 
   You can also just use HTTPService to do 
 direct HTTP requests. I am 
   using this for communications with a 
 JAVA backend.
   
   --- In [EMAIL PROTECTED] ups.com 
 mailto:flexcoders%40yahoogroups.com , Bruce Hopkins 
 [EMAIL PROTECTED] 
 
   
   wrote:
   
Hi all,

All I want to do is have my Flex 
 client to communicate with my Java 
   backend.
Due to licensing restrictions, LCDS 
 won't be an option for us. So 
   far the
biggest contenders are:

1. Granite Data Services
2. OpenAMF
3. WebORB
4. Red5

Does anyone have any strong opinions, 
 suggestions, or biases on 
   either of
these solutions?

Thanks,

Bruce
   
   
   
 
   
 
   
 
 
   
 
   
 
   
 
 
   
 
   
 
 
 
 
 
 
 For ideas on reducing your carbon footprint visit Yahoo! For 
 Good 
 http://uk.promotions.yahoo.com/forgood/environment.html  
 this month. 
 
 
 
 
 Get easy, one-click access to your favorites. Make Yahoo! 
 your homepage. 
 

RE: [flexcoders] Seeking to Network with Flex users in Greater Boston

2007-11-16 Thread Matt Horn
There's the bfpug (Boston Flash Platform User Group)

http://tech.groups.yahoo.com/group/bfpug/

hth,
-matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Arnold Fertig
 Sent: Tuesday, November 13, 2007 3:29 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Seeking to Network with Flex users in 
 Greater Boston
 
 I'm seeking to network with Flex users in Greater Boston. 
 Does anyone know of usergroups or other places/people that I 
 might contact?
 
 Arnie Fertig
 Centre Street Associates, Inc.
 www.cstreetsearch.com 
 
 
 
  
 


RE: [flexcoders] internationalization

2007-11-16 Thread Matt Horn
I don't think so... however, you can generate the flexsdk/locale/es_ES
resources very easily. Just use the copylocale tool. 

-matt  

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss
 Sent: Wednesday, November 14, 2007 6:18 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] internationalization
 
 Hey,
 
 As soon as i change my compiler settings from -locale=en_US 
 to -locale=es_ES i get the error 'cannot open flexsdk/locale/es_ES'.
 
 This makes sense, but i there a way my i can just specify the 
 locale for my own application and not all the imported Libraries?
 
 regards,
 
 Bjorn
 
 
  
 


RE: [flexcoders] Internal build errors

2007-11-16 Thread Matt Horn
Sorry, I was referring to Flex Builder 3. Not sure where it is in FB 2,
but I doubt the file location has changed. try searching for a file
named *.log.

-matt  

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of duncan mcmillan
 Sent: Friday, November 16, 2007 1:59 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Internal build errors
 
 Thanks Matt
  
 But I cannot find .metadata\.log anywhere, regards the 
 workspace are you talking about Flex Builder 2 DIR?
  
 Duncan
 
 
  
 - Original Message 
 From: Matt Horn [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, 16 November, 2007 6:53:44 PM
 Subject: RE: [flexcoders] Internal build errors
 
 
 
 FYI, that error log that is mentioned is the Eclipse error 
 log file. The default location of this log file on Windows XP 
 is c:\Documents and Settings\user_ name\workspace\ .metadata\ 
.log. For MacOS and Linux, the default location is also in the 
workspace directory, but files and directories that begin 
 with a dot are hidden by default.
 
 -matt 
 
  -Original Message-
  From: [EMAIL PROTECTED] ups.com 
  mailto:flexcoders%40yahoogroups.com
  [mailto:[EMAIL PROTECTED] ups.com 
  mailto:flexcoders%40yahoogroups.com ] On Behalf Of duncan mcmillan
  Sent: Friday, November 16, 2007 10:40 AM
  To: [EMAIL PROTECTED] ups.com 
 mailto:flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Internal build errors
  
  Thanks Sheriff
  
  Turns out is was an XML variable statement in a Class that had 
  whitespace. I'm putting all XML Models in MXML components from now 
  on:)
  
  Duncan
  
  
  
  - Original Message 
  From: Sheriff [EMAIL PROTECTED] com mailto:sherif626%40yahoo.com 
  To: [EMAIL PROTECTED] ups.com 
 mailto:flexcoders%40yahoogroups.com
  Sent: Thursday, 15 November, 2007 10:17:11 PM
  Subject: Re: [flexcoders] Internal build errors
  
  
  
  usually it either means u have an empty switch statament or some 
  invalid character on the side/ not acutally code
  
  ex: a comma/period might be somewhere in the whitespace around the 
  code
  
  
  - Original Message 
  From: duncan mcmillan [EMAIL PROTECTED] co.uk
  To: [EMAIL PROTECTED] ups.com
  Sent: Thursday, November 15, 2007 3:47:13 PM
  Subject: [flexcoders] Internal build errors
  
  
  
  Hi
  
  I've suddenly been getting An internal build error has occurred 
  please check the error log , has anyone got any refereces 
 as to why 
  these errors happen? also I've never used an error log so could 
  someone please tell how to set it up and refer to it.
  
  Thanks again
  
  Duncan
  
  
  - Original Message 
  From: Steve Hueners [EMAIL PROTECTED] l ex.com
  To: [EMAIL PROTECTED] ups.com
  Sent: Thursday, 15 November, 2007 7:55:40 PM
  Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?
  
  
  
  Is there anyway to judge what level of user connections a 
 given server 
  can handle without requiring specialized loadsharing 
 strategies? In a 
  non-audio or video environment what's it take to stream an 
 AS3 based 
  swfs to 3-5 dozen connections?
  
  
  
  
  
  On 10/16/07, Anatole Tartakovsky anatole.tartakovsk y @gmail.com 
  mailto:anatole.tartakovsky @gmail.com 
 mailto:anatole.tartakovsky%40gmail.com   wrote:
  
  
  
  I would try to see if you can scale application in any 
 other way - 4 
  core single CPU and removal all business functionality to different 
  servers is always an option. You might get even better 
 scalablity by 
  going RTMP route or provide pseudo-connectivity wrapper using 
  non-blocking IO via client - proxy - LCDS - Messaging - 
 LCDS - proxy 
  -client pish.
  
  Regards,
  Anatole
  
  
  On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com 
  mailto:[EMAIL PROTECTED] com mailto:bhopkins%40apress.com 
   wrote:
  
  Yeah, I'm using HTTPService right now with E4X results. The 
 for large 
  data results, however, XML is not desirable.
  
  I'd prefer to use some framework that uses AMF3 in order to 
 get more 
  compact results.
  
  Bruce
  
  
  
  
  On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] 
  com mailto:[EMAIL PROTECTED] com 
 mailto:jschuenke%40troux.com   wrote: 
  
  You can also just use HTTPService to do direct HTTP requests. I am 
  using this for communications with a JAVA backend.
  
  --- In [EMAIL PROTECTED] ups.com
  mailto:flexcoders% 40yahoogroups. com , Bruce Hopkins 
  [EMAIL PROTECTED] .
  
  
  wrote:
  
   Hi all,
   
   All I want to do is have my Flex
  client to communicate with my Java
  backend.
   Due to licensing restrictions, LCDS
  won't be an option for us. So
  far the
   biggest contenders are:
   
   1. Granite Data Services
   2. OpenAMF
   3. WebORB
   4. Red5
   
   Does anyone have any strong opinions,
  suggestions, or biases on
  either of
   these solutions?
   
   Thanks,
   
   Bruce
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   _ 

RE: [flexcoders] Unicode/Foreign Character Entry

2007-11-16 Thread Matt Horn
very cool! Did you consider driving the available character sets from
external XML files? That would make it easier for folks to customize or
add/share new char sets. 

-matt  

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Shaun
 Sent: Monday, November 12, 2007 10:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Unicode/Foreign Character Entry
 
 Here is a control for allowing users to easily select special 
 characters for entry in Flex text controls.  
 
 Demo with Code http://www.capitalhcoder.com/  
 
 The basic idea is that by adding this control to your app and 
 associating it with a text control, you can then use it to 
 select unicode/foreign characters and add them to the text of 
 the control.
 
 I asked about this here on flexcoders a while back and didn't 
 get much response and I couldn't find much at all on the web, 
 so I'm posting it in the hopes that someone might get a jump 
 start from it in the future.
 
 Shaun
 


RE: [flexcoders] Changing default components texts

2007-11-16 Thread Alex Harui
Subclass and override the dayNames setter.  Also check out resources and 
resourceManager.  I think that's what you really want.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
cristian.mrsystem
Sent: Thursday, November 15, 2007 11:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Changing default components texts

 

Hi.

I'm using Flex 2.01, and I'm looking for something to change the values for all 
the 
components of the same kind, by declaring it only once in the application. For 
example:
I want to use my personal monthNames and dayNames for the component DateField, 
but I 
want to declare my values only once, and not every time I add a DateField 
component.

I got the idea when I saw that I could define the labels for the OK, Cancel, 
Yes and No buttons 
from Alert messages, by changing the value of variables in the main application 
like:
Alert.yesLabel = Sí;
Alert.noLabel = No;
Alert.cancelLabel = Cancelar;
Alert.okLabel = Aceptar;

Can I do something similar with other components? Where can I find the info 
about it?

Thank you very much

 



[flexcoders] advancedDataGrid drag over column calculating wrong index

2007-11-16 Thread Seth Caldwell
If I drag an element over a column of a datagrid, I would expect the index
to be the first in the list, or not accept the drag. The default behavior at
the moment is if you are dragging and releasing over the column, you are
'dropping' at the last index in the list. is this expected behavior for
anyone?

 

Seth

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Horn
Sent: Friday, November 16, 2007 11:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal build errors

 

Sorry, I was referring to Flex Builder 3. Not sure where it is in FB 2,
but I doubt the file location has changed. try searching for a file
named *.log.

-matt 

 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ]
On Behalf Of duncan mcmillan
 Sent: Friday, November 16, 2007 1:59 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] Internal build errors
 
 Thanks Matt
 
 But I cannot find .metadata\.log anywhere, regards the 
 workspace are you talking about Flex Builder 2 DIR?
 
 Duncan
 
 
 
 - Original Message 
 From: Matt Horn [EMAIL PROTECTED] mailto:mhorn%40adobe.com 
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Sent: Friday, 16 November, 2007 6:53:44 PM
 Subject: RE: [flexcoders] Internal build errors
 
 
 
 FYI, that error log that is mentioned is the Eclipse error 
 log file. The default location of this log file on Windows XP 
 is c:\Documents and Settings\user_ name\workspace\ .metadata\ 
.log. For MacOS and Linux, the default location is also in the 
workspace directory, but files and directories that begin 
 with a dot are hidden by default.
 
 -matt 
 
  -Original Message-
  From: [EMAIL PROTECTED] ups.com 
  mailto:flexcoders%40yahoogroups.com
  [mailto:[EMAIL PROTECTED] ups.com 
  mailto:flexcoders%40yahoogroups.com ] On Behalf Of duncan mcmillan
  Sent: Friday, November 16, 2007 10:40 AM
  To: [EMAIL PROTECTED] ups.com 
 mailto:flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Internal build errors
  
  Thanks Sheriff
  
  Turns out is was an XML variable statement in a Class that had 
  whitespace. I'm putting all XML Models in MXML components from now 
  on:)
  
  Duncan
  
  
  
  - Original Message 
  From: Sheriff [EMAIL PROTECTED] com mailto:sherif626%40yahoo.com 
  To: [EMAIL PROTECTED] ups.com 
 mailto:flexcoders%40yahoogroups.com
  Sent: Thursday, 15 November, 2007 10:17:11 PM
  Subject: Re: [flexcoders] Internal build errors
  
  
  
  usually it either means u have an empty switch statament or some 
  invalid character on the side/ not acutally code
  
  ex: a comma/period might be somewhere in the whitespace around the 
  code
  
  
  - Original Message 
  From: duncan mcmillan [EMAIL PROTECTED] co.uk
  To: [EMAIL PROTECTED] ups.com
  Sent: Thursday, November 15, 2007 3:47:13 PM
  Subject: [flexcoders] Internal build errors
  
  
  
  Hi
  
  I've suddenly been getting An internal build error has occurred 
  please check the error log , has anyone got any refereces 
 as to why 
  these errors happen? also I've never used an error log so could 
  someone please tell how to set it up and refer to it.
  
  Thanks again
  
  Duncan
  
  
  - Original Message 
  From: Steve Hueners [EMAIL PROTECTED] l ex.com
  To: [EMAIL PROTECTED] ups.com
  Sent: Thursday, 15 November, 2007 7:55:40 PM
  Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?
  
  
  
  Is there anyway to judge what level of user connections a 
 given server 
  can handle without requiring specialized loadsharing 
 strategies? In a 
  non-audio or video environment what's it take to stream an 
 AS3 based 
  swfs to 3-5 dozen connections?
  
  
  
  
  
  On 10/16/07, Anatole Tartakovsky anatole.tartakovsk y @gmail.com 
  mailto:anatole.tartakovsky @gmail.com 
 mailto:anatole.tartakovsky%40gmail.com   wrote:
  
  
  
  I would try to see if you can scale application in any 
 other way - 4 
  core single CPU and removal all business functionality to different 
  servers is always an option. You might get even better 
 scalablity by 
  going RTMP route or provide pseudo-connectivity wrapper using 
  non-blocking IO via client - proxy - LCDS - Messaging - 
 LCDS - proxy 
  -client pish.
  
  Regards,
  Anatole
  
  
  On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com 
  mailto:[EMAIL PROTECTED] com mailto:bhopkins%40apress.com 
   wrote:
  
  Yeah, I'm using HTTPService right now with E4X results. The 
 for large 
  data results, however, XML is not desirable.
  
  I'd prefer to use some framework that uses AMF3 in order to 
 get more 
  compact results.
  
  Bruce
  
  
  
  
  On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] 
  com mailto:[EMAIL PROTECTED] com 
 mailto:jschuenke%40troux.com   wrote: 
  
  You can also just use HTTPService to do direct HTTP 

RE: [flexcoders] Event result not making sense

2007-11-16 Thread Alex Harui
It is generally unwise to use alerts to debug things that happen when
focus is lost as the alerts steal and restore focus.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of donvoltz
Sent: Friday, November 16, 2007 2:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Event result not making sense

 

Hello everyone,

I have a form in an application that when it is edited, I want to send
the information back to the server to be updated in the database. I am
using focusOut to trigger the event at each text input field such as
this

mx:TextInput id=first_name change=validateForm(event)
focusOut=updateUserFormField(event)/

The function I have writted to do the update is as follows

private function updateUserFormField(event:Event):void {
if (formType == update){
fieldName = event.target.parent.id;
fieldValue = event.target.parent.text;
Alert.show('Name = ' + fieldName);
Alert.show('Value = ' + fieldValue);
updateUserForm.send();
}
}

I put the alert's in for debugging to make sure I was extracting the
correct information to send in an httprequest call.

The question I have is why are both alert's displaying twice? This
function is somehow being called multiple times when I exit a field.
Does anyone have any insight into this?

Thanks in advance

Don

 



[flexcoders] Re: Animated overSkin (how to use more than one frame of a symbol)

2007-11-16 Thread scalenine
Hi Mark,

Using the Flex Component Kit and Flash CS3 you can do what you're
looking for. I just wrote a tutorial about using the FCK to create a
stateful skin with transitions. You can read it here :
http://tinyurl.com/yoxqcq .

The tutorial describes how to make a basic transition, but you could
easily elaborate on it to do what you're looking for.

Hope that helps.

Juan

scalenine.com : degrafa.com


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

 Hi, does anyone know if it's possible to have an animated overSkin for a
 button? Our designer has created an overSkin which just extends the
 normal skin, making it feel like it grows when the mouse is over it.
 However, when I embed it in our flex application, it constantly flicks
 between 1 frame of the over skin and then back to the upSkin. How can I
 get flex to play nicely with the over state? (i.e. play the full symbol
 instead of just use 1 frame).
 
  
 
 Thanks,
 
  
 
 Mark





Re: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-16 Thread Jens Halm

  
  
  
  
  

  Hello,
  I am just starting to use graniteDS and starting to likie it. My -ONLY-
  problem was that, I cannot make it work from within my flexbuilder
  environment.

  I want to be able to debug my flexbuilder application talking to my Java

  All I want to do is have my Flex client to communicate with my Java
  backend.
  Due to licensing restrictions, LCDS won't be an option for us. So far the
  biggest contenders are:
 
  1. Granite Data Services
  2. OpenAMF
  3. WebORB
  4. Red5

Btw: if you want AMF3 support you can rule out OpenAMF and WebORB
which only support AMF0.

Furthermore, since early November there is a new option: Cinnamon.
http://www.spicefactory.org/cinnamon/.

It's a bit different than Granite since it does not use the
RemoteObject API (so Cinnamon can also be used in pure AS3 projects
without Flex). Cinnamon has full AMF3 support, optional integration
with Spring configuration and a lot of flexibility for mapping AS3
classes to Java classes.


Jens Halm
Spicefactory



[flexcoders] Adobe Share and PDF inside Flex

2007-11-16 Thread frank_sommers
Hi, 

I just signed up for the Adobe Share beta. The most interesting thing so far 
about this 
service is what appears to be a PDF document displayed inside a Flex component. 
The 
component allows one to page through the document, zoom, etc.

I wonder if someone on this list who is also familiar with Share could shed 
some light on 
how that's done - is there a Flex component that can display PDF pages? I've 
been looking 
for something like that for a while, but haven't had much luck finding one. The 
only option 
I've seen so far was to convert the PDF pages to a set of PNG images, and then 
display those 
inside a Flex component. What I'd much prefer would be the ability to display 
PDF inside 
Flex.

Thanks, 

-- Frank 



Re: [flexcoders] Generating flex client based on xml content

2007-11-16 Thread Paul Andrews
- Original Message - 
  From: Bernardo O. Bennett 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, November 16, 2007 4:18 PM
  Subject: [flexcoders] Generating flex client based on xml content


  Hi All

  Let's say my system has a rest xml interface fully functional and I want to 
write a lightweight flex client to visualize the data represented in the xmls. 
Does anyone know a framework/tool to generate the flex code based on the 
contents of my xmls?

There's nothing stopping you from writing a flex application without a user 
interface, then creating the interface 'on the fly' by instantiating the user 
interface dynamically according to the XML content.

Paul


  Thanks in advance,
  Bernardo

RE: [flexcoders] Flex for database apps; compare to .net

2007-11-16 Thread Michael Pengi

Thanks everyone, all of your posts were useful, Samuel's in particular.


Samuel R. Neff wrote:
 
 
 Flex does not talk to a database directly (except with AIR but I gather
 you're talking about a web app).  Flex talks to a back end which then can
 talk to a database.  Flex works really well with pretty much any back end,
 so if you're familiar with .NET stick to that, no reason to go to FDS/LCDS
 or anything else.
 
 The best way to communicate between Flex and .NET is through AMF Remoting.
 With that you can call .NET methods directly and the middle-ware libraries
 take care of the details for you.  We use an open-source library called
 Fluorine but there is also a commercial library called WebOrb available.
 
 http://fluorine.thesilentgroup.com/fluorine/index.html
 
 You definitely want to start with Flex Builder 3.  No reason to use Flex
 Builder 2, the IDE is very stable.  You can choose to target either the
 Flex
 2 or Flex 3 SDK's and that choice depends on your release date.  If you're
 releasing before about March 2008 then you may want to stick with the Flex
 2
 SDK.  If later, then use Flex 3 SDK.  An exact date has not been announced
 for Flex 3 release, but they've said Q1 2008.
 
 I would suggest ignoring Cairngorm for now--start out learning to develop
 flex apps and just use your pre-existing knowledge to partition out your
 apps well so you don't have an ugly mess of spaghetti code.  After you're
 more familiar with Flex you can decide if Cairngorm or any framework is
 right for you and your apps.
 
 HTH,
 
 Sam
 
 ---
 We're Hiring! Seeking a passionate developer to join our team building
 Flex
 based products. Position is in the Washington D.C. metro area. If
 interested
 contact [EMAIL PROTECTED]
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Michael Pengi
 Sent: Saturday, November 10, 2007 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex for database apps; compare to .net
 
 
 I am considering flex for building data centric applications for use over
 the
 lan or internet. I have some experience with .net and am curious to hear
 from other that are familiar with .net and how it compares. I have read a
 couple of times that Visual Studio might be considered 'ahead' of Flex
 Builder. But my #1 interest is being able to wire up sql databases to the
 ui
 in the simplest manner possible, ie not a ton of code.
 
 For experiments with flex, I would most like to take apart a tutorial or
 sample app that does standard db crud stuff, with multiple forms, related
 tables, data entry, that sort of thing. Can someone point me to the best
 example app of this type? Most demo apps I've seen are not mostly about
 crud.
 
 From what I've read, flex data services (or whatever it's been renamed as)
 has a free version that is ok to use for commercial purposes, though
 non-clustered. Not sure what the other limitations of the free version
 are?
 
 I've read about Cairngorm, but am not really sure were it fits into the
 flex
 scheme.
 
 Finally, would it be good to start with Flex 3 beta 2, or should I stick
 with Flex 2 for now?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Flex-for-database-apps--compare-to-.net-tf4784184.html#a13785689
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Changing default components texts

2007-11-16 Thread cristian.mrsystem
Hi.

I'm using Flex 2.01, and I'm looking for something to change the values for all 
the 
components of the same kind, by declaring it only once in the application. For 
example:
I want to use my personal monthNames and dayNames for the component DateField, 
but I 
want to declare my values only once, and not every time I add a DateField 
component.

I got the idea when I saw that I could define the labels for the OK, Cancel, 
Yes and No buttons 
from Alert messages, by changing the value of variables in the main application 
like:
  Alert.yesLabel = Sí;
  Alert.noLabel = No;
  Alert.cancelLabel = Cancelar;
  Alert.okLabel = Aceptar;

Can I do something similar with other components? Where can I find the info 
about it?

Thank you very much



[flexcoders] Calling play() on VideoDisplayer from JS using Flex-Ajax bridge doesn't work

2007-11-16 Thread s_tibrewal
Hello Folks,

I have created a simple VideoDisplay where I can play a video file.

I have setup the Flex-Ajax bridge so that when I click a button on the
page, I can access the elapsed time using code as below

var elapsedTime = flexApp.getInstructorWindow().getPlayheadTime();

All this works fine. Now, instead of initiating the play from a button
on the Flash window I want to do it from outside the flash windo - a
button on the html page. I use that button to call a JS function as
below which calls the ActionScript function startSync - same function
that is called when the button on the flash player is pressed (and
that works).

function startPlayBack(){
alert('In startPlayBack');
flexApp.getInstructorWindow().startSync();

alert('Calling slideshow');
slideShow();
}

I get the first alert message but not the second one and my video
player doesn't play anything. The startSync ActionScript function is
as below.

public function startSync():void {
Alert.show(test1, test2);
instructorWindow.source = videoFile;
totalTimeArea.text = ;
stopTimeArea.text = ;
instructorWindow.play();
// start_sync.send();
}

The videoFile variable is initialized when the VideoDisplay loads up
using the code below

videoFile = Application.application.parameters.videoFile;

All this works fine when the button is pressed on the flash player but
I can't get it to play with a call from JS from the web page. Any
thoughts on what could be going wrong would be appreciated.

I am on Win XP using FireFox 2.0.0.9 and Flash Player 9.

Thanks much for any feedback.

Sanjay.

BTW: instructorWindow is the id of my VideoDisplay as below
mx:VideoDisplay id=instructorWindow width=291 height=264 x=6
y=7/



Re: SPAM-LOW: Re: [flexcoders] Flex Remoting Options - Any Opinions?

2007-11-16 Thread Jeffry Houser


Jens Halm wrote:
 
   Hello,
   I am just starting to use graniteDS and starting to likie it. My -ONLY-
   problem was that, I cannot make it work from within my flexbuilder
   environment.
 
   I want to be able to debug my flexbuilder application talking to my Java
 
   All I want to do is have my Flex client to communicate with my Java
   backend.
   Due to licensing restrictions, LCDS won't be an option for us. So far the
   biggest contenders are:
  
   1. Granite Data Services
   2. OpenAMF
   3. WebORB
   4. Red5
 
 Btw: if you want AMF3 support you can rule out OpenAMF and WebORB
 which only support AMF0.

  I'm pretty sure that the update for WebORB for Java (Due out next week 
I understand) will support AMF3.  However, such updates are not yet 
reflected on the WebORB web site, yet.

http://www.themidnightcoders.com/licensing/



-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com



RE: [flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-16 Thread Alex Harui
The bitmap obscures the highlight/selection rectangle.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of icepaco33
Sent: Friday, November 16, 2007 11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: List renderer's malfunction because of Bitmap

 

Hello,
my problem isn't the fact that the Bitmap doesn't show, it's that once
I add the bitmap (using AreaText.AddChild(myBitmap) ) to my renderer
then I can no longer select or rollover the other item renderers in
the list...

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Alex Harui [EMAIL PROTECTED] wrote:

 The highlight/selection is drawn under the renderer. If the bitmap
 obscures it, you won't see it. You can add your own
highlight/selection
 over the bitmap by overriding updatedisplaylist, checking
 isItemHighlighted and isItemSelected
 
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of icepaco33
 Sent: Thursday, November 15, 2007 7:15 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] List renderer's malfunction because of Bitmap
 
 
 
 Greetings everyone,
 I have a problem with my List item renderer :
 I use a bitmap class (Bitmap) which I put in my TextArea to simululate
 a highlighter.
 
 The TextArea is used in a List renderer.
 
 However when I add this Bitmap to the TextArea then the Renderer
 starts to act very weird :
 
 once I 'highlight' a given renderer I can no longer select / rollover
 some of the other items in the list.
 
 (However if I remove the bitmap then everything work fine)
 
 Any ideas ?


 



RE: [flexcoders] remove a single lineTo() of many lineTo()'s from graphics class?

2007-11-16 Thread Alex Harui
No way to read back what you've done in graphics.  I would store an
array of data objects that track what is being done that get interpreted
into moveTo/lineTo/etc and re-run that array after modifying the array

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cohcoloco
Sent: Friday, November 16, 2007 11:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] remove a single lineTo() of many lineTo()'s from
graphics class?

 

is it possible to remove a line after ive drawn it to the
sprite.graphics or am I forced to redraw the entire thing if one piece
changes? i know i can store each line as a seperate DisplayObject,
but how then would set a fill to it?

 



RE: [flexcoders] Scrollbar weirdness

2007-11-16 Thread Shaun Mccran
No thoughts on this?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of smccran
Sent: 15 November 2007 15:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Scrollbar weirdness

 

Hi all,
I have a datagrid that has longer data in some rows than others. The 
problem is that my scrollbar is changing size! Does anyone know how 
to stop the scrollbar changing height?

A sample code is below.

Thanks
Shaun

Code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=HYPERLINK
http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml;

mx:XMLList id=employees
employee
nameChristina Coenraets/name
phone555-219-2270/phone
emailHYPERLINK
mailto:ccoenraets%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameJoanne Wall/name
phone555-219-2012/phone
emailHYPERLINK mailto:jwall%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMaurice Smith/name
phone555-219-2012/phone
emailHYPERLINK
mailto:maurice%40fictitious.com[EMAIL PROTECTED]/email
activefalse/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHeadmaster of Hogwarts School of Witchcraft and 
Wizardry 

Order of Merlin and other honors. 

Chocolate Frog card: Considered by many the greatest wizard of 
modern times. Dumbledore is particularly famous for his defeat of the 
dark wizard Grindelwald in 1945, for the discovery of the twelve uses 
of dragon's blood, and his work on alchemy with his partner, Nicolas 
Flamel. Prof. Dumbledore enjoys chamber music and tenpin 
bowling. 

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away before [the Mirror of Erised], entranced by 
what they have seen, or been driven mad, not knowing if what it shows 
is real or even possible. 

Rigged mirror to help those who wanted to find the stone but not.

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away before [the Mirror of Erised], entranced by 
what they have seen, or been driven mad, not knowing if what it shows 
is real or even possible. 

Rigged mirror to help those who wanted to find the stone but not use 
it. 

Spiral escalator to office; large and beautiful circular room. 

Auburn hair 50 years ago. 

Suspended as headmaster. 
/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHYPERLINK
mailto:mjones%40fictitious.com[EMAIL PROTECTED]/email
activetrue/active

[flexcoders] Re: List Filter Problem driving me crazy!

2007-11-16 Thread ben.clinkinbeard
Maybe call invalidateList() when the filter changes? Just a guess.


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

 So I'm building an application which contains lists of items that I
 want users to be able to filter, select some items, filter again,
 select some more items, etc.
 
 However, when a selected item is filtered out, when the filter is
 removed, the item is no longer selected.
 
 Take the following example:
 
 http://www.it.dev.duke.edu/public/CheckBoxListTest/CheckBoxListTest.html
 
 select Item 1 then filter for Item 2... don't select anything.
 Remove the filter now.
 
 Item 1 is no longer selected.  But the label still says it is
 selected.. the label is bound to the
 {cboRatings.selectedIndices.length} property.
 
 In my test application I can't get it to work the way I want it to at
 all.  In my real application, it works sometimes but not others.
 
 I thought maybe it was the CheckBoxList component that someone had
 written for me... or the CheckBoxListItemRenderer that was part of
 that component, but i'm finding the same problem in the above test
 application which only uses a simple, standard list component.
 
 If it makes any different, I'm compiling the application with Flex
 Builder 3 (beta 2).  I've compiled it with the Flex 2.0.1 HF3 SDK and
 the latest Flex 3 beta SDK.
 
 Why doesn't the list remember what's selected?  Doesn't the filter
 simply prevent an item from displaying?
 
 -- 
 Rick Root
 Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
 www.opensourcecf.com





[flexcoders] Re: Default CSS file not found

2007-11-16 Thread Clint Modien
Here are a couple code files to replicate the issue:

--- DefaultCSSBug.as --

package {
import flash.display.Sprite;

[Frame(factoryClass=SysManager)]
public class DefaultCSSBug extends Sprite
{
public function DefaultCSSBug()
{
}
}
}

-- SysManager.as --

package {
import flash.display.MovieClip;

public class SysManager extends MovieClip
{
public function SysManager()
{
}
}
}

On Nov 16, 2007 8:38 AM, Clint Modien [EMAIL PROTECTED] wrote:
 I'm creating a pure as3 application and when I use
 [Frame(factoryClass=com.somepackage.SomeClass] I'm getting a compiler
 warning...

 How do I make the warning go away?



Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
Jehanzeb suggested, changing the Controller to reference the 
CustomClassInstance as below, but this is the problem the CustomClass is so 
deep in the Display list that this is difficult programmatically. I thought 
that if you declared the Custom Event using Metatags that anyClass could handle 
it? This is what I am having a problem with?? Any furthe suggestions??



In the Controller Class { 
public function init() { 
customClassInstance .addEventListene r
(menuitemClicked ,
menuitemClickHandle r);
}


Thanks again

Duncan


- Original Message 
From: Muzak [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 16 November, 2007 6:14:27 PM
Subject: Re: [flexcoders] Event dispatching and receiving


- Original Message - 
From: Steve Hueners [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, November 16, 2007 7:08 PM
Subject: Re: [flexcoders] Event dispatching and receiving


 Under what circumstances could something not on the displayList be clickable?
 

Bad programming ;-)

 On 11/16/07, Muzak [EMAIL PROTECTED] wrote:
  I've tried not using Application.appication and still get nothing,
  what am I not understanding about receiving events from another Class.

 That events dispatched from an instance not on the display list do not 
 bubble.

 regards,
 Muzak



--
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! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 


Re: [flexcoders] Internal build errors

2007-11-16 Thread duncan mcmillan
Thanks Matt

But I cannot find .metadata\.log anywhere, regards the workspace are you 
talking about Flex Builder 2 DIR?

Duncan



- Original Message 
From: Matt Horn [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 16 November, 2007 6:53:44 PM
Subject: RE: [flexcoders] Internal build errors

FYI, that error log that is mentioned is the Eclipse error log file. The
default location of this log file on Windows XP is c:\Documents and
Settings\user_ name\workspace\ .metadata\ .log. For MacOS and Linux, the
default location is also in the workspace directory, but files and
directories that begin with a dot are hidden by default.

-matt 

 -Original Message-
 From: [EMAIL PROTECTED] ups.com 
 [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of duncan mcmillan
 Sent: Friday, November 16, 2007 10:40 AM
 To: [EMAIL PROTECTED] ups.com
 Subject: Re: [flexcoders] Internal build errors
 
 Thanks Sheriff
 
 Turns out is was an XML variable statement in a Class that 
 had whitespace. I'm putting all XML Models in MXML components 
 from now on:)
 
 Duncan
 
 
 
 - Original Message 
 From: Sheriff [EMAIL PROTECTED] com
 To: [EMAIL PROTECTED] ups.com
 Sent: Thursday, 15 November, 2007 10:17:11 PM
 Subject: Re: [flexcoders] Internal build errors
 
 
 
 usually it either means u have an empty switch statament or 
 some invalid character on the side/ not acutally code
 
 ex: a comma/period might be somewhere in the whitespace 
 around the code
 
 
 - Original Message 
 From: duncan mcmillan [EMAIL PROTECTED] co.uk
 To: [EMAIL PROTECTED] ups.com
 Sent: Thursday, November 15, 2007 3:47:13 PM
 Subject: [flexcoders] Internal build errors
 
 
 
 Hi
 
 I've suddenly been getting An internal build error has 
 occurred please check the error log , has anyone got any 
 refereces as to why these errors happen? also I've never used 
 an error log so could someone please tell how to set it up 
 and refer to it.
 
 Thanks again
 
 Duncan
 
 
 - Original Message 
 From: Steve Hueners [EMAIL PROTECTED] l ex.com
 To: [EMAIL PROTECTED] ups.com
 Sent: Thursday, 15 November, 2007 7:55:40 PM
 Subject: Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?
 
 
 
 Is there anyway to judge what level of user connections a 
 given server can handle without requiring specialized 
 loadsharing strategies? In a non-audio or video environment 
 what's it take to stream an AS3 based swfs to 3-5 dozen connections? 
 
 
 
 
 
 On 10/16/07, Anatole Tartakovsky anatole.tartakovsk y 
 @gmail.com mailto:anatole.tartakovsky @gmail.com  wrote: 
 
 
 
 I would try to see if you can scale application in any 
 other way - 4 core single CPU and removal all business 
 functionality to different servers is always an option. You 
 might get even better scalablity by going RTMP route or 
 provide pseudo-connectivity wrapper using non-blocking IO 
 via client - proxy - LCDS - Messaging - LCDS - proxy -client pish. 
 
 Regards,
 Anatole
 
 
 On 10/16/07, Bruce Hopkins [EMAIL PROTECTED] com 
 mailto:[EMAIL PROTECTED] com  wrote: 
 
 Yeah, I'm using HTTPService right now with E4X 
 results. The for large data results, however, XML is not desirable.
 
 I'd prefer to use some framework that uses AMF3 
 in order to get more compact results.
 
 Bruce 
 
 
 
 
 On 10/16/07, Jeff Schuenke [EMAIL PROTECTED] 
 com mailto:[EMAIL PROTECTED] com  wrote: 
 
 You can also just use HTTPService to do 
 direct HTTP requests. I am 
 using this for communications with a 
 JAVA backend.
 
 --- In [EMAIL PROTECTED] ups.com 
 mailto:flexcoders% 40yahoogroups. com , Bruce Hopkins 
 [EMAIL PROTECTED] . 
 
 
 wrote:
 
  Hi all,
  
  All I want to do is have my Flex 
 client to communicate with my Java 
 backend.
  Due to licensing restrictions, LCDS 
 won't be an option for us. So 
 far the
  biggest contenders are:
  
  1. Granite Data Services
  2. OpenAMF
  3. WebORB
  4. Red5
  
  Does anyone have any strong opinions, 
 suggestions, or biases on 
 either of
  these solutions?
  
  Thanks,
  
  Bruce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  _ _ __
 
 For ideas on reducing your carbon footprint visit Yahoo! For 
 Good 
 http://uk.promotion s.yahoo.com/ forgood/environm ent.html 
 this month. 
 
 
  _ _ __
 
 Get easy, one-click access to your favorites. Make Yahoo! 
 your homepage. 
 http://us.rd. yahoo.com/ evt=51443/ *http://www. yahoo.com/ r/hs 
 
 
  _ _ __
 
 For ideas on reducing your carbon footprint visit Yahoo! For 
 Good 
 http://uk.promotion s.yahoo.com/ forgood/environm ent.html 
 this month. 
 
 
 




  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

[flexcoders] Re: Express Install question

2007-11-16 Thread Mark
My company already distributes the plug-in to its employees, so I'm 
sure we're all up-to-date on the legal issues.  Most of the company 
has the latest and greatest, but there may be some other country IT 
departments that haven't gotten it yet to install... so what I'm 
saying is I don't have to worry about that.  It's just the user 
experience I need to think about.  Keeping them within the firewall 
is the number one priority for the org I'm building it for.

Thanks




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

 
 I don't know if changing the parameter will work or not, and if it 
did work,
 what you would actually put on your internal page to allow 
installing the
 plugin without going to adobe.com (especially due to previously 
mentioned
 legal concerns).
 
 Sam 
 
 
 ---
 We're Hiring! Seeking a passionate developer to join our team 
building Flex
 based products. Position is in the Washington D.C. metro area. If 
interested
 contact [EMAIL PROTECTED]
  
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Mark
 Sent: Friday, November 16, 2007 10:27 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Express Install question
 
 Thanks for the reply,
 
 I was wondering if I can just go into the HTML and change the code 
 right in there, or if that will just cause errors?  I'm thinking I 
 can change the pluginspage paramater in the few spots it shows 
up 
 with an internal page URL that gives my message and a link to the 
 plug-in.  I don't know if that is considered the Express Insall or 
 not.
 
 What do you think (before I go and scew this up)?
 
 
 
 AC_FL_RunContent(
   src, playerProductInstall,
   
   FlashVars, MMredirectURL=+MMredirectURL+'MMplayerType='+
 MMPlayerType+'MMdoctitle='+MMdoctitle+,
   width, 100%,
   height, 100%,
   align, middle,
   id, app_withoutHeaders,
   quality, high,
   bgcolor, #869ca7,
   name, app_withoutHeaders,
   allowScriptAccess,sameDomain,
   type, application/x-shockwave-flash,
   
   pluginspage, http://www.adobe.com/go/getflashplayer;
   );





RE: [flexcoders] Can I have SWFLoader automatically scale the content swf?

2007-11-16 Thread Alex Harui
Flex hates to scale things.  Resizing the SWFLoader resizes the test2
application.  You'll need logic in test2 that scales the content based
on application width/height

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stephen Roy J. Tang
Sent: Friday, November 16, 2007 1:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can I have SWFLoader automatically scale the
content swf?

 

Hi,

I'm trying to do this thing where I have a VDividedBox, the top half
contains an SWFLoader that will load another Flex SWF. I want to
resize the SWFLoader automatically when the containing canvas is
resized by dragging the divider, and also for the content inside the
SWFLoader to scale automatically. Can this be done?

What I tried is something like:

test.mxml
=

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
layout=absolute
mx:VDividedBox width=543 height=312
mx:Canvas id=myCanvas height=300
mx:SWFLoader source=test2.swf id=ld maintainAspectRatio=true
height={myCanvas.height-20} scaleContent=true /
/mx:Canvas
mx:Canvas
mx:Text text=The bottom half of the vdivided box /
/mx:Canvas
/mx:VDividedBox
/mx:Application

test2.mxml
==

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
layout=absolute
mx:Text x=22 y=10 text=I want this content to scale/
mx:Image x=22 y=36 width=197 height=28 source=untitled.jpg/
/mx:Application

Any advice would be greatly appreciated.

Thanks,

Roy

 



Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Steve Hueners
Under what circumstances could something not on the displayList be clickable?

On 11/16/07, Muzak [EMAIL PROTECTED] wrote:
  I've tried not using Application.appication and still get nothing,
  what am I not understanding about receiving events from another Class.

 That events dispatched from an instance not on the display list do not bubble.

 regards,
 Muzak


RE: [flexcoders] Scrollbar weirdness

2007-11-16 Thread Alex Harui
Don' t have time to set this up right now.  Is the scrollbar changing
height or just the thumb?  The thumb should change height since it
represents the percentage of total rows that you can see.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun Mccran
Sent: Friday, November 16, 2007 10:15 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar weirdness

 

No thoughts on this?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of smccran
Sent: 15 November 2007 15:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Scrollbar weirdness

 

Hi all,
I have a datagrid that has longer data in some rows than others. The 
problem is that my scrollbar is changing size! Does anyone know how 
to stop the scrollbar changing height?

A sample code is below.

Thanks
Shaun

Code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 

mx:XMLList id=employees
employee
nameChristina Coenraets/name
phone555-219-2270/phone
email[EMAIL PROTECTED] mailto:ccoenraets%40fictitious.com
/email
activetrue/active
/employee
employee
nameJoanne Wall/name
phone555-219-2012/phone
email[EMAIL PROTECTED] mailto:jwall%40fictitious.com /email
activetrue/active
/employee
employee
nameMaurice Smith/name
phone555-219-2012/phone
email[EMAIL PROTECTED] mailto:maurice%40fictitious.com /email
activefalse/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
emailHeadmaster of Hogwarts School of Witchcraft and 
Wizardry 

Order of Merlin and other honors. 

Chocolate Frog card: Considered by many the greatest wizard of 
modern times. Dumbledore is particularly famous for his defeat of the 
dark wizard Grindelwald in 1945, for the discovery of the twelve uses 
of dragon's blood, and his work on alchemy with his partner, Nicolas 
Flamel. Prof. Dumbledore enjoys chamber music and tenpin 
bowling. 

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away before [the Mirror of Erised], entranced by 
what they have seen, or been driven mad, not knowing if what it shows 
is real or even possible. 

Rigged mirror to help those who wanted to find the stone but not.

Nitwit! Blubber! Oddment! Tweak! 

Shining silver hair. 

Men have wasted away before [the Mirror of Erised], entranced by 
what they have seen, or been driven mad, not knowing if what it shows 
is real or even possible. 

Rigged mirror to help those who wanted to find the stone but not use 
it. 

Spiral escalator to office; large and beautiful circular room. 

Auburn hair 50 years ago. 

Suspended as headmaster. 
/email
activetrue/active
/employee
employee
nameMary Jones/name
phone555-219-2000/phone
email[EMAIL PROTECTED] mailto:mjones%40fictitious.com /email
activetrue/active
/employee
employee

[flexcoders] cairngorm design question, need suggestions

2007-11-16 Thread Yigit Boyar
hi all;
i work in a project which includes the implementation of a RIA 
application in which the user will generate an XML based on an XSD 
defined language using dragdrops and etc. (user never sees the xml).

at first, we developed a code generator using AIR that takes the XSD and 
generates vo's, commaders, events,model  controller. so we just hand 
coded the views. and the demo was very successful.

now the second phase of the project came and there are huge differences 
in the XSD, so we had to handcode additional things into commanders, 
which violated the auto-generation approach and resulted in some bugs  
inefficiency. then we decided to upgrade the code generator to create 
more clever commanders and more specific events.

we have an important debate here for which we need suggestions, so i'm 
presenting you our question.

when an event is being handled, there may be need to do some more things 
which is done by another commander and has a specific event. in such a 
situation,
-- should the commander call the other commander just creating the event 
and sending it to the other's execute method
or
--should the commander create the event and just dispatch.

the second is the normal way for the cairngorm specs but the first is 
much more efficient.
so which one do you suggest?

thnks.

p.s. commanders are specific to VO's a a commander just edit's it's VO's 
data on the model.


RE: [flexcoders] Re: List Filter Problem driving me crazy!

2007-11-16 Thread Alex Harui
Which version of Flex?  Filtering essentially removes items from the
List so it should drop its notion of what is selected.  There were
problems with selectedIndices in 2.x that should be fixed in 3.0

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Friday, November 16, 2007 10:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: List Filter Problem driving me crazy!

 

Maybe call invalidateList() when the filter changes? Just a guess.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Rick Root [EMAIL PROTECTED] wrote:

 So I'm building an application which contains lists of items that I
 want users to be able to filter, select some items, filter again,
 select some more items, etc.
 
 However, when a selected item is filtered out, when the filter is
 removed, the item is no longer selected.
 
 Take the following example:
 

http://www.it.dev.duke.edu/public/CheckBoxListTest/CheckBoxListTest.html
http://www.it.dev.duke.edu/public/CheckBoxListTest/CheckBoxListTest.htm
l 
 
 select Item 1 then filter for Item 2... don't select anything.
 Remove the filter now.
 
 Item 1 is no longer selected. But the label still says it is
 selected.. the label is bound to the
 {cboRatings.selectedIndices.length} property.
 
 In my test application I can't get it to work the way I want it to at
 all. In my real application, it works sometimes but not others.
 
 I thought maybe it was the CheckBoxList component that someone had
 written for me... or the CheckBoxListItemRenderer that was part of
 that component, but i'm finding the same problem in the above test
 application which only uses a simple, standard list component.
 
 If it makes any different, I'm compiling the application with Flex
 Builder 3 (beta 2). I've compiled it with the Flex 2.0.1 HF3 SDK and
 the latest Flex 3 beta SDK.
 
 Why doesn't the list remember what's selected? Doesn't the filter
 simply prevent an item from displaying?
 
 -- 
 Rick Root
 Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
 www.opensourcecf.com


 



RE: [flexcoders] Calling play() on VideoDisplayer from JS using Flex-Ajax bridge doesn't work

2007-11-16 Thread Samuel D. Colak
Umm - this may be an odd question but WHY on earth would you bother with AJAX 
when you have Flex?
 
Regards
Samuel



From: flexcoders@yahoogroups.com on behalf of s_tibrewal
Sent: Fri 11/16/2007 11:29
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling play() on VideoDisplayer from JS using Flex-Ajax 
bridge doesn't work



Hello Folks,

I have created a simple VideoDisplay where I can play a video file.

I have setup the Flex-Ajax bridge so that when I click a button on the
page, I can access the elapsed time using code as below

var elapsedTime = flexApp.getInstructorWindow().getPlayheadTime();

All this works fine. Now, instead of initiating the play from a button
on the Flash window I want to do it from outside the flash windo - a
button on the html page. I use that button to call a JS function as
below which calls the ActionScript function startSync - same function
that is called when the button on the flash player is pressed (and
that works).

function startPlayBack(){
alert('In startPlayBack');
flexApp.getInstructorWindow().startSync();

alert('Calling slideshow');
slideShow();
}

I get the first alert message but not the second one and my video
player doesn't play anything. The startSync ActionScript function is
as below.

public function startSync():void {
Alert.show(test1, test2);
instructorWindow.source = videoFile;
totalTimeArea.text = ;
stopTimeArea.text = ;
instructorWindow.play();
// start_sync.send();
}

The videoFile variable is initialized when the VideoDisplay loads up
using the code below

videoFile = Application.application.parameters.videoFile;

All this works fine when the button is pressed on the flash player but
I can't get it to play with a call from JS from the web page. Any
thoughts on what could be going wrong would be appreciated.

I am on Win XP using FireFox 2.0.0.9 and Flash Player 9.

Thanks much for any feedback.

Sanjay.

BTW: instructorWindow is the id of my VideoDisplay as below
mx:VideoDisplay id=instructorWindow width=291 height=264 x=6
y=7/



 
winmail.dat

[flexcoders] Issues with ASDoc and AIR

2007-11-16 Thread Walt Schlender
Hello,

We have a rather large AIR application which we're trying to generate docs
for. We CANNOT get ASDOC to work. It keeps spitting out strange errors. We
have included the AIR libraries as args along with some other custom
libraries.

Here's our ant task source:

target name=createASdocs description=Create AS Docs
exec executable=${FLEX_HOME}/bin/asdoc.exe failonerror=true
arg line=-doc-sources ${srcdir}/air/arg
arg line=-library-path '${FLEX_HOME}/frameworks/libs/'/arg
arg line=-library-path
'${FLEX_HOME}/frameworks/libs/air'/arg
arg line=-library-path
'${FLEX_HOME}/frameworks/libs/player'/arg
arg line=-library-path
'${FLEX_HOME}/frameworks/locale/en_US'/arg
/exec
/target


Here's a partial dump of the error output:

createASdocs:
 [exec] Loading configuration file C:\Program Files\Adobe\Flex Builder
3\sdks\3.0.0\frameworks\flex-config.xml
 [exec] This beta will expire on Thu Jan 31 00:00:00 PST 2008.
 [exec] C:\Documents and Settings\Walt
Schlender\Desktop\Alt7Rev3\src\client\air\com\alt7\air\browser\controls\A7FindPanel.mxml(11):
Error: Type was not found or was not a compile-time constant: HTMLControl.
 [exec]
 [exec] public function
initFindPanel(html:HTMLControl):void{
 [exec]
 [exec] C:\Documents and Settings\Walt
Schlender\Desktop\Alt7Rev3\src\client\air\com\alt7\gps\RosterAddUI.mxml(25):
Error: Type was not found or was not a compile-time constant: A7Roster.
 [exec]
 [exec] public function init(host:String,
roster:A7Roster):void{
 [exec]
 [exec] C:\Documents and Settings\Walt
Schlender\Desktop\Alt7Rev3\src\client\air\com\alt7\air\browser\Alt7BrowserPanel.mxml(59):
Error: Type was not found or was not a compile-time constant: HTMLControl.
 [exec]
 [exec] public function get htmlControl():HTMLControl{



-- 
Walt Schlender
510-280-4586
[EMAIL PROTECTED]
weblog: www.dice.cx - business, computers, food
_
bLine Creations - An Interactive Internet Company
www.blinecreations.com

--Referrals are the life's blood of my business.
If you or anyone you know needs a developer,
please contact me!


Re: [flexcoders] Re: how do I freeze the users actions while data is loading

2007-11-16 Thread Douglas Knudsen
this is cake in a framework like Cairngorm.  Setup a command, event, etc.
one event would be 'showLoading'
 which has a command that increments a variable by 1 and if this variable 
0, shows the popup.  Another event is called say 'hideLoading'.  It
decrements this variable, if this variable is 1, destroy the popup.

DK


On Nov 16, 2007 7:50 AM, Mark [EMAIL PROTECTED] wrote:

   I guess sometimes the easy answer is the one we overlook. I don't
 know why I didn't think about using some kind of wait message or
 progress bar in a pop-up. Thanks.

 I have one last question about this. When do I destroy the pop-up?
 I'd like it to stay on until all the data has been parsed, sorted
 then loaded into the dataGrid. I thought it would be on the
 dataGrid in UpdateComplete, but that fires off everytime the DG
 updates (doesn't it?). So when is the best time to do this?

 Thanks Again

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tom
 Chiverton [EMAIL PROTECTED]

 wrote:
 
  On Thursday 15 Nov 2007, Mark wrote:
   to blur the screen out during this time like when using a pop-
 up window?
 
  Why not pop up a model please wait box ?
 
  --
  Tom Chiverton
  Helping to widespreadedly orchestrate unique supply-chains
  on: http://thefalken.livejournal.com
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  Halliwells LLP is a limited liability partnership registered in
 England and Wales under registered number OC307980 whose registered
 office address is at St James's Court Brown Street Manchester M2
 2JF. A list of members is available for inspection at the
 registered office. Any reference to a partner in relation to
 Halliwells LLP means a member of Halliwells LLP. Regulated by The
 Solicitors Regulation Authority.
 
  CONFIDENTIALITY
 
  This email is intended only for the use of the addressee named
 above and may be confidential or legally privileged. If you are not
 the addressee you must not read it and must not use any information
 contained in nor copy it nor inform any person other than Halliwells
 LLP or the addressee of its existence or contents. If you have
 received this email in error please delete it and notify Halliwells
 LLP IT Department on 0870 365 2500.
 
  For more information about Halliwells LLP visit www.halliwells.com.
 

  




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


RE : [flexcoders] 3D Column Chart

2007-11-16 Thread Christophe Jolif

Hi Asim,

Which 3D charts are you using? 

--
Christophe
http://flex.ilog.com


 Message d'origine
De: flexcoders@yahoogroups.com de la part de Asim nazir
Date: ven. 11/16/2007 6:08
À: flexcoders@yahoogroups.com
Objet : [flexcoders] 3D Column Chart
 
Hi,

I am working with 3D column chart which is an extension provided by
Flex.  I am facing following problem
- When data is changed in dataProvider of chart, It didnt clear the
previous columns and add new columns according to new data in the
chart
I want to refresh/ re-render the chart when ever data is changed in
dataProvider.

I have tried with InvalidateNow(), InvalidateSeriesStyle,
invalidateData etc but didnt work. Now as a work around i remove
that chart from parent.. i-e this.removeChild(3Dchart) and add it
again, though the problem is solved by doing so.. but it leads to an
other problem. After doing so the Xaxis, Yaxis and Zaxis angles are
reset to zero it tried to set them again at the time of adding the
charts again but didnt work.

- Any thoughts in re-rendring the 3D column chart in better way so
that its angles dont reset.

Thanks in advance.

--
Asim Nazir


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






[flexcoders] remove a single lineTo() of many lineTo()'s from graphics class?

2007-11-16 Thread cohcoloco
is it possible to remove a line after ive drawn it to the
sprite.graphics or am I forced to redraw the entire thing if one piece
changes?  i know i can store each line as a seperate DisplayObject,
but how then would set a fill to it?



RE: [flexcoders] loading components 1 by 1 [passing value from 1st component to other]

2007-11-16 Thread Alex Harui
Create the instance of the component when you detect the appropriate
event from the other component.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Girish
Sent: Friday, November 16, 2007 2:22 AM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] loading components 1 by 1 [passing value from 1st
component to other]

 

Hi All,

can anyone tell that how to load component one after one.
In my application I have created components and placed in another
component. when i load the page each component is loading the data
Asyncronesly. But i want to load 1st component 1st and then set value
to other components from 1st component.

In 1st component i am filling dropdown and setting property in that
component after setting the property i want to pass that value to
other components and based on that property i set the corresponding
data should be populated in ohter component. how can i achieve this.

like in second component i am filling tje datagrid items based on
selected value from the dropdown in 1st component..

I just want to pass the property which i set in 1st component to other
components and load the other components after the 1st component is
loaded completely with data..

reply asap
Girish

 



RE: [flexcoders] Event dispatching and receiving

2007-11-16 Thread Alex Harui
Menus are popups and not children of the application so the bubble won't
pass through the app.  Listen to Application.application.systemManager

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of duncan mcmillan
Sent: Friday, November 16, 2007 10:47 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Event dispatching and receiving

 

Jehanzeb suggested, changing the Controller to reference the
CustomClassInstance as below, but this is the problem the CustomClass is
so deep in the Display list that this is difficult programmatically. I
thought that if you declared the Custom Event using Metatags that
anyClass could handle it? This is what I am having a problem with?? Any
furthe suggestions??

In the Controller Class { 
public function init() { 
customClassInstance .addEventListene r
(menuitemClicked ,
menuitemClickHandle r);
}

Thanks again

Duncan

- Original Message 
From: Muzak [EMAIL PROTECTED] mailto:p.ginneberge%40telenet.be

To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Sent: Friday, 16 November, 2007 6:14:27 PM
Subject: Re: [flexcoders] Event dispatching and receiving

- Original Message - 
From: Steve Hueners [EMAIL PROTECTED]
mailto:steve%40stevelearnsflex.com 
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Sent: Friday, November 16, 2007 7:08 PM
Subject: Re: [flexcoders] Event dispatching and receiving

 Under what circumstances could something not on the displayList be
clickable?
 

Bad programming ;-)

 On 11/16/07, Muzak [EMAIL PROTECTED]
mailto:p.ginneberge%40telenet.be  wrote:
  I've tried not using Application.appication and still get nothing,
  what am I not understanding about receiving events from another
Class.

 That events dispatched from an instance not on the display list do
not bubble.

 regards,
 Muzak


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

__
Yahoo! Answers - Got a question? Someone out there knows the answer. Try
it
now.
http://uk.answers.yahoo.com/ http://uk.answers.yahoo.com/  

 



[flexcoders] Re: Adobe Share and PDF inside Flex

2007-11-16 Thread danielvlopes
I'm not sure but i think in case of Adobe Share the pdf area converted
to flash document... i try find some components to visualize pdf
inside flex but i only found adobe tool can convert pdf to flash document.

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

 Hi, 
 
 I just signed up for the Adobe Share beta. The most interesting
thing so far about this 
 service is what appears to be a PDF document displayed inside a Flex
component. The 
 component allows one to page through the document, zoom, etc.
 
 I wonder if someone on this list who is also familiar with Share
could shed some light on 
 how that's done - is there a Flex component that can display PDF
pages? I've been looking 
 for something like that for a while, but haven't had much luck
finding one. The only option 
 I've seen so far was to convert the PDF pages to a set of PNG
images, and then display those 
 inside a Flex component. What I'd much prefer would be the ability
to display PDF inside 
 Flex.
 
 Thanks, 
 
 -- Frank





[flexcoders] Re: Scrollbar weirdness

2007-11-16 Thread tomeuchre
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
Nitwit! Blubber! Oddment! Tweak! 

What?

If I were a scrollbar, and somebody put that text in a DataGridColumn 
friend of mine, I'd freak out also.



RE: [flexcoders] Adobe Share and PDF inside Flex

2007-11-16 Thread Samuel R. Neff

That's called Flash Paper.  It's a format developed by Macromedia that
basically competes with PDF and was touted as a much faster and smaller way
to share content on the web.  When Adobe bought Macromedia, Flash Paper
pretty much died (not surprising) but apparently is resurrected in Share
(which is surprising).

Sam


---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of frank_sommers
Sent: Friday, November 16, 2007 2:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adobe Share and PDF inside Flex

Hi, 

I just signed up for the Adobe Share beta. The most interesting thing so far
about this 
service is what appears to be a PDF document displayed inside a Flex
component. The 
component allows one to page through the document, zoom, etc.

I wonder if someone on this list who is also familiar with Share could shed
some light on 
how that's done - is there a Flex component that can display PDF pages? I've
been looking 
for something like that for a while, but haven't had much luck finding one.
The only option 
I've seen so far was to convert the PDF pages to a set of PNG images, and
then display those 
inside a Flex component. What I'd much prefer would be the ability to
display PDF inside 
Flex.

Thanks, 

-- Frank 



[flexcoders] Scrolling/viewstack

2007-11-16 Thread Richard Rodseth
I have two components A and B in a ViewStack controlled by a link bar.
B is simple, with no scrolling and some centered content.

A is quite complex and includes a VBox containing a Repeater
containing non-scrolling List instances. On its own A performs well
and the VBox gets it's vertical scrollbar as needed.

However, in the ViewStack, A does not shrink to match the ViewStack,
and the VBox does not scroll.

Update: If I set creationPolicy to all it *does* work. Sounds like a bug, no?

Any ideas? I don't like using creationPolicy all. I suppose I could
use View States rather than a ViewStack.


[flexcoders] Re: Event result not making sense

2007-11-16 Thread donvoltz
Thank Alex,

I did not realize this and have since changed the two alerts to trace 
statements. When I run the app in debug mode, I still see that the 
event is being sent twice. Any other ideas??

Thanks

Don



RE: [flexcoders] SDK compiler, can I distribute it with my application

2007-11-16 Thread Matt Chotin
Hi, sorry I missed this one earlier...

 

Once we have released the Flex SDK as open source (which will happen at
the same time as final release of Flex 3) you will be able to distribute
the compiler with your application.  However, before then (including
with Flex 2) this is not allowed without a specific license (which we're
actually not really granting any more of right now because they take
forever to work out and we have Flex 3 coming, etc.).

 

Hope this helps,

Matt

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hatipovic
Sent: Wednesday, November 14, 2007 12:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SDK compiler, can I distribute it with my
application

 

Hello,
I want to build a shareware application that uses the mxmlc complier.
May I distribute the complier freely with my application and sell the
program or has Adobe something against it?

Regards,
Mirza

 



[flexcoders] Re: PopUpManager.removePopUp Not Removing Modal Overlay

2007-11-16 Thread bryanpoopbartow
I think I may have found my problem.  Upon removing my pop-up, I'm calling a 
function 
which displays another component depending on the button the user clicks on in 
the 
pop-up.  If I comment the code out, the pop-up dismisses gracefully and I can 
continue 
using the app as usual.  Then, I figured I'd just listen for the event the 
PopUpManager 
dispatches once the modal overlay has been dismissed.  Of course, there is no 
such event.  
I can only conclude that the display manager gets confused when it's trying to 
remove the 
modal overlay and at the same time changing the display underneath the overlay. 
 Any 
thoughts on how to get around this?

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

 I'm using Flex 3 Beta 2. compiling against 2.0.1 Hotfix 3.  Created a custom 
 component 
 extending TitleWindow.  Using PopUpManager to show it.  It works as expected. 
  
However, 
 when calling PopUpManager.removePopUp the component itself is removed, while 
 the 
modal 
 overlay stays intact.  I can not interact with the application in any way.  I 
 can't get the 
modal 
 overlay to go away.  Has anyone experienced this or have any ideas why it 
 might be 
 happening?  I should say that I've used this component in other apps with no 
 problems 
 whatsoever.






[flexcoders] contents of a swf?

2007-11-16 Thread blc187
Is there a tool you can use to determine everything that is being 
compiled into a swf?
I have a fairly large project and am wondering if there is anything out 
there that can help me determine if I am including older unused files 
or graphics, that way I can delete them to reduce my total swf size.



RE: [flexcoders] Re: how do I freeze the users actions while data is loading

2007-11-16 Thread Randy Martin
Consider using States. You can have the app in one state and the progress
meter for your downloading in another. Whenever you're downloading data,
just make the progress-meter state the currentState. When you're all done
with the data processing, switch back to the other state.
 
~randy


   _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Friday, November 16, 2007 10:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: how do I freeze the users actions while data
is loading



this is cake in a framework like Cairngorm.  Setup a command, event, etc.
one event would be 'showLoading'
 which has a command that increments a variable by 1 and if this variable 
0, shows the popup.  Another event is called say 'hideLoading'.  It
decrements this variable, if this variable is 1, destroy the popup. 

DK




On Nov 16, 2007 7:50 AM, Mark HYPERLINK
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:


I guess sometimes the easy answer is the one we overlook. I don't 
know why I didn't think about using some kind of wait message or 
progress bar in a pop-up. Thanks.

I have one last question about this. When do I destroy the pop-up? 
I'd like it to stay on until all the data has been parsed, sorted 
then loaded into the dataGrid. I thought it would be on the 
dataGrid in UpdateComplete, but that fires off everytime the DG 
updates (doesn't it?). So when is the best time to do this?

Thanks Again

--- In HYPERLINK mailto:flexcoders%40yahoogroups.com;
[EMAIL PROTECTED], Tom Chiverton [EMAIL PROTECTED] 


wrote:

 On Thursday 15 Nov 2007, Mark wrote:
  to blur the screen out during this time like when using a pop- 
up window?
 
 Why not pop up a model please wait box ?
 
 -- 
 Tom Chiverton
 Helping to widespreadedly orchestrate unique supply-chains
 on: HYPERLINK http://thefalken.livejournal.com;
\nhttp://thefalken.-livejournal.-com
 
 -*-*-*-*-
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF. A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by The 
Solicitors Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged. If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents. If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit HYPERLINK
http://www.halliwells.com; \nwww.halliwells.-com.








-- 
Douglas Knudsen
HYPERLINK http://www.cubicleman.comhttp://www.cubiclem-an.com
this is my signature, like it? 



 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007
8:57 PM
 


RE: [flexcoders] advancedDataGrid drag over column calculating wrong index

2007-11-16 Thread Seth Caldwell
Sorry, column header*

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Seth Caldwell
Sent: Friday, November 16, 2007 11:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] advancedDataGrid drag over column calculating wrong
index

 

If I drag an element over a column of a datagrid, I would expect the index
to be the first in the list, or not accept the drag. The default behavior at
the moment is if you are dragging and releasing over the column, you are
'dropping' at the last index in the list. is this expected behavior for
anyone?

 

Seth

 

 

 



RE: [flexcoders] Flex Code Styling

2007-11-16 Thread Gordon Smith
We're hoping to have a coding standards document ready around the time that we 
make the framework open-source. In the meantime, I suggest looking at framework 
classes (e.g., frameworks/projects/framework/src/mx/controls/Button.as) to see 
code that follows our standards.
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Damian 
Farina
Sent: Wednesday, November 14, 2007 12:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Code Styling



Does anybody know a code styling standard for flex? I just found an
old document from Macromedia and another wrote by someone I dont know
who is

Thanks

-- 
Damián Farina


 


[flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-16 Thread icepaco33
If I understand what you're saying then once I put the bitmap in place
I should no longer be able to select / highlight the same renderer...

However the problem is that I can no longer select the other renderers.

The renderer with the bitmap works fine.  The others (without bitmap)
are no longer selectable / rollover able)

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

 The bitmap obscures the highlight/selection rectangle.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of icepaco33
 Sent: Friday, November 16, 2007 11:37 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: List renderer's malfunction because of Bitmap
 
  
 
 Hello,
 my problem isn't the fact that the Bitmap doesn't show, it's that once
 I add the bitmap (using AreaText.AddChild(myBitmap) ) to my renderer
 then I can no longer select or rollover the other item renderers in
 the list...
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  The highlight/selection is drawn under the renderer. If the bitmap
  obscures it, you won't see it. You can add your own
 highlight/selection
  over the bitmap by overriding updatedisplaylist, checking
  isItemHighlighted and isItemSelected
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of icepaco33
  Sent: Thursday, November 15, 2007 7:15 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] List renderer's malfunction because of Bitmap
  
  
  
  Greetings everyone,
  I have a problem with my List item renderer :
  I use a bitmap class (Bitmap) which I put in my TextArea to simululate
  a highlighter.
  
  The TextArea is used in a List renderer.
  
  However when I add this Bitmap to the TextArea then the Renderer
  starts to act very weird :
  
  once I 'highlight' a given renderer I can no longer select / rollover
  some of the other items in the list.
  
  (However if I remove the bitmap then everything work fine)
  
  Any ideas ?
 





Re: [flexcoders] Event dispatching and receiving

2007-11-16 Thread duncan mcmillan
I seemed to have solved this Alex, with the combination of bubbles=true and 
Application .addEvent...etc

Thanks anyway...god this flexgroup is so responsive it's unbelievable! Keep up 
the good work.

Duncan




- Original Message 
From: Alex Harui [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, 16 November, 2007 9:10:28 PM
Subject: RE: [flexcoders] Event dispatching and receiving

Menus are popups and not children of the application so the bubble won’t pass 
through the app.  Listen to Application. application. systemManager
 



From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of duncan mcmillan
Sent: Friday, November 16, 2007 10:47 AM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] Event dispatching and receiving
 
Jehanzeb suggested, changing the Controller to reference the 
CustomClassInstance as below, but this is the problem the CustomClass is so 
deep in the Display list that this is difficult programmatically. I thought 
that if you declared the Custom Event using Metatags that anyClass could handle 
it? This is what I am having a problem with?? Any furthe suggestions? ?

In the Controller Class { 
public function init() { 
customClassInstance .addEventListene r
(menuitemClicked ,
menuitemClickHandle r);
}

Thanks again

Duncan

- Original Message 
From: Muzak p.ginneberge@ telenet.be
To: [EMAIL PROTECTED] ups.com
Sent: Friday, 16 November, 2007 6:14:27 PM
Subject: Re: [flexcoders] Event dispatching and receiving

- Original Message - 
From: Steve Hueners [EMAIL PROTECTED] ex.com
To: [EMAIL PROTECTED] ups.com
Sent: Friday, November 16, 2007 7:08 PM
Subject: Re: [flexcoders] Event dispatching and receiving

 Under what circumstances could something not on the displayList be clickable?
 

Bad programming ;-)

 On 11/16/07, Muzak p.ginneberge@ telenet.be wrote:
  I've tried not using Application. appication and still get nothing,
  what am I not understanding about receiving events from another Class.

 That events dispatched from an instance not on the display list do not 
 bubble.

 regards,
 Muzak


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

 _ _ _ _ _ _
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers. yahoo.com/ 



  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

[flexcoders] Re: Default CSS file not found

2007-11-16 Thread Clint Modien
Figured it out...

Drop a css in the root of your source… (e.g. Main.css)

Add this to the compiler options.
-defaults-css-url=Main.css


On Nov 16, 2007 8:38 AM, Clint Modien [EMAIL PROTECTED] wrote:
 I'm creating a pure as3 application and when I use
 [Frame(factoryClass=com.somepackage.SomeClass] I'm getting a compiler
 warning...

 How do I make the warning go away?



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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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


[flexcoders] Re: Can I have SWFLoader automatically scale the content swf?

2007-11-16 Thread Stephen Roy J. Tang
Thanks Alex. :)

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

 Flex hates to scale things.  Resizing the SWFLoader resizes the test2
 application.  You'll need logic in test2 that scales the content based
 on application width/height
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Stephen Roy J. Tang
 Sent: Friday, November 16, 2007 1:30 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Can I have SWFLoader automatically scale the
 content swf?
 
  
 
 Hi,
 
 I'm trying to do this thing where I have a VDividedBox, the top half
 contains an SWFLoader that will load another Flex SWF. I want to
 resize the SWFLoader automatically when the containing canvas is
 resized by dragging the divider, and also for the content inside the
 SWFLoader to scale automatically. Can this be done?
 
 What I tried is something like:
 
 test.mxml
 =
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml 
 layout=absolute
 mx:VDividedBox width=543 height=312
 mx:Canvas id=myCanvas height=300
 mx:SWFLoader source=test2.swf id=ld maintainAspectRatio=true
 height={myCanvas.height-20} scaleContent=true /
 /mx:Canvas
 mx:Canvas
 mx:Text text=The bottom half of the vdivided box /
 /mx:Canvas
 /mx:VDividedBox
 /mx:Application
 
 test2.mxml
 ==
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml 
 layout=absolute
 mx:Text x=22 y=10 text=I want this content to scale/
 mx:Image x=22 y=36 width=197 height=28 source=untitled.jpg/
 /mx:Application
 
 Any advice would be greatly appreciated.
 
 Thanks,
 
 Roy





[flexcoders] Datagrid tab order?

2007-11-16 Thread Stephen Roy J. Tang
Hi,

I'm a bit confused about the tab order in a datagrid. The problem is I
have a datagrid with 3 columns: 
column 1 - renderer is a checkbox control. I use onchange of the
checkbox to update the underlying data
column 2 - normal text column, editor is a editbox
column 3 - checkbox, similar to column 1

Using tab to traverse the datagrid has weird behavior, i.e. first it
seems to traverse all the column 2 editboxes (top rows first then
bottom rows); then it traverses the checkboxes in each row (starting
from top row again); after it has traversed everything, the tab order
seems random now - it jumps around from editbox to checkbox or whatever.

Is it because of the way the actual renderer/editor instances are
created? Is there something I should be specifying to guarantee a
nice, left-to-right top-to-bottom tab order?

Thanks,

Roy



RE: [flexcoders] Datagrid tab order?

2007-11-16 Thread Alex Harui
Sounds like editable!=true, so the DG's tab handling code isn't running.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stephen Roy J. Tang
Sent: Friday, November 16, 2007 9:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid tab order?

 

Hi,

I'm a bit confused about the tab order in a datagrid. The problem is I
have a datagrid with 3 columns: 
column 1 - renderer is a checkbox control. I use onchange of the
checkbox to update the underlying data
column 2 - normal text column, editor is a editbox
column 3 - checkbox, similar to column 1

Using tab to traverse the datagrid has weird behavior, i.e. first it
seems to traverse all the column 2 editboxes (top rows first then
bottom rows); then it traverses the checkboxes in each row (starting
from top row again); after it has traversed everything, the tab order
seems random now - it jumps around from editbox to checkbox or whatever.

Is it because of the way the actual renderer/editor instances are
created? Is there something I should be specifying to guarantee a
nice, left-to-right top-to-bottom tab order?

Thanks,

Roy

 



RE: [flexcoders] Re: List renderer's malfunction because of Bitmap

2007-11-16 Thread Alex Harui
Maybe their backgrounds have become opaque.  Renderers get recycled so
one instance can end up somewhere else in the list.  Make the textarea
smaller than it should be and see if you can see the selection peeking
out from behind.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of icepaco33
Sent: Friday, November 16, 2007 4:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: List renderer's malfunction because of Bitmap

 

If I understand what you're saying then once I put the bitmap in place
I should no longer be able to select / highlight the same renderer...

However the problem is that I can no longer select the other renderers.

The renderer with the bitmap works fine. The others (without bitmap)
are no longer selectable / rollover able)

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Alex Harui [EMAIL PROTECTED] wrote:

 The bitmap obscures the highlight/selection rectangle.
 
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of icepaco33
 Sent: Friday, November 16, 2007 11:37 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: List renderer's malfunction because of
Bitmap
 
 
 
 Hello,
 my problem isn't the fact that the Bitmap doesn't show, it's that once
 I add the bitmap (using AreaText.AddChild(myBitmap) ) to my renderer
 then I can no longer select or rollover the other item renderers in
 the list...
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 , Alex Harui aharui@ wrote:
 
  The highlight/selection is drawn under the renderer. If the bitmap
  obscures it, you won't see it. You can add your own
 highlight/selection
  over the bitmap by overriding updatedisplaylist, checking
  isItemHighlighted and isItemSelected
  
  
  
  
  
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of icepaco33
  Sent: Thursday, November 15, 2007 7:15 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] List renderer's malfunction because of Bitmap
  
  
  
  Greetings everyone,
  I have a problem with my List item renderer :
  I use a bitmap class (Bitmap) which I put in my TextArea to
simululate
  a highlighter.
  
  The TextArea is used in a List renderer.
  
  However when I add this Bitmap to the TextArea then the Renderer
  starts to act very weird :
  
  once I 'highlight' a given renderer I can no longer select /
rollover
  some of the other items in the list.
  
  (However if I remove the bitmap then everything work fine)
  
  Any ideas ?
 


 



RE: [flexcoders] Re: PopUpManager.removePopUp Not Removing Modal Overlay

2007-11-16 Thread Alex Harui
I'd have to debug through it to see why.  Can you make a small
test-case?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bryanpoopbartow
Sent: Friday, November 16, 2007 3:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: PopUpManager.removePopUp Not Removing Modal
Overlay

 

I think I may have found my problem. Upon removing my pop-up, I'm
calling a function 
which displays another component depending on the button the user clicks
on in the 
pop-up. If I comment the code out, the pop-up dismisses gracefully and I
can continue 
using the app as usual. Then, I figured I'd just listen for the event
the PopUpManager 
dispatches once the modal overlay has been dismissed. Of course, there
is no such event. 
I can only conclude that the display manager gets confused when it's
trying to remove the 
modal overlay and at the same time changing the display underneath the
overlay. Any 
thoughts on how to get around this?

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, bryanpoopbartow [EMAIL PROTECTED] wrote:

 I'm using Flex 3 Beta 2. compiling against 2.0.1 Hotfix 3. Created a
custom component 
 extending TitleWindow. Using PopUpManager to show it. It works as
expected. 
However, 
 when calling PopUpManager.removePopUp the component itself is removed,
while the 
modal 
 overlay stays intact. I can not interact with the application in any
way. I can't get the 
modal 
 overlay to go away. Has anyone experienced this or have any ideas why
it might be 
 happening? I should say that I've used this component in other apps
with no problems 
 whatsoever.


 



RE: [flexcoders] contents of a swf?

2007-11-16 Thread Alex Harui
-link-report might help.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of blc187
Sent: Friday, November 16, 2007 3:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] contents of a swf?

 

Is there a tool you can use to determine everything that is being 
compiled into a swf?
I have a fairly large project and am wondering if there is anything out 
there that can help me determine if I am including older unused files 
or graphics, that way I can delete them to reduce my total swf size.

 



RE: [flexcoders] Re: Event result not making sense

2007-11-16 Thread Alex Harui
Maybe the internal textfield is sending one.  See if the event.target is
different and what it is.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of donvoltz
Sent: Friday, November 16, 2007 1:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Event result not making sense

 

Thank Alex,

I did not realize this and have since changed the two alerts to trace 
statements. When I run the app in debug mode, I still see that the 
event is being sent twice. Any other ideas??

Thanks

Don

 



RE: [flexcoders] Scrolling/viewstack

2007-11-16 Thread Alex Harui
Which one is the first visible child of the viewstack?

 

When you say A does not shrink, does it bleed out the bottom of the VS
(turn on borders to help see it).  Are there scrollbars on the VS?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Friday, November 16, 2007 1:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Scrolling/viewstack

 

I have two components A and B in a ViewStack controlled by a link bar.
B is simple, with no scrolling and some centered content.

A is quite complex and includes a VBox containing a Repeater
containing non-scrolling List instances. On its own A performs well
and the VBox gets it's vertical scrollbar as needed.

However, in the ViewStack, A does not shrink to match the ViewStack,
and the VBox does not scroll.

Update: If I set creationPolicy to all it *does* work. Sounds like a
bug, no?

Any ideas? I don't like using creationPolicy all. I suppose I could
use View States rather than a ViewStack.

 



[flexcoders] ItemRenderer

2007-11-16 Thread jitendra jain
Hi guys,

Iam using an itemRenderer in DataGridColumn. For some reasons the data is not 
sorted. Please help.

Thanks,

with regards,
Jitendra

   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

  1   2   >