[flexcoders] Client-side "save as" functionality

2006-09-25 Thread Jonas Windey










Hi,

 

This is a sort of a re-post but I’m gonna give it
another try. Does anyone know how you can save to a file without passing to a
server?

Like I have a string with some text in it, and I want to let
the user save this text to a file. I think in the timesheet sample application,
it had a save to xls that worked without passing to a server.

 

The goal is to import xml data to a datagrid, but still
provide a save to excel functionality, without re-requesting the data from the
server (since the xml data is already retrieved, and I would just need to save
this xml data as an xls sheet)

 

Thanks!

 


 
  
  
  
  
  Jonas Windey
  Web Developer
  T. +32 3 216 86 47
   
  Pixco Interactive Division
  T. +32 3 216 86 40
  F. +32 3 216 86 49
   
  http://www.pixco.com
  
 


 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





Re: [flexcoders] Re: parsing xml recursively help.

2006-09-25 Thread EECOLOR



Dont forget to check out the double dot operator in XML, it might prove usefull for your case.
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Overriding functions that you can't override

2006-09-25 Thread EECOLOR



Haha, 
 
yeah, its quite obvious, you are missing the override keyword:
 
override public function set source();
 
Good luck!
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Client-side "save as" functionality

2006-09-25 Thread EECOLOR



Hello,
 
As far as i know you cant save to the local disk. Flash does not have permissions for that. The only way is to initialize a download command using the FileReference class.
 
 
Greetz Erik
 
 
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] How to expand Tree Item, by clicking on Item itself?

2006-09-25 Thread EECOLOR



Hello,
 
just a guess that might help you further. Try and use something like this:
 
_tree.addEventListener(ItemClickEvent.ITEM_CLICK, _someHandler);
 
private function _someHandler(e:ItemClickEvent):void
{
   _tree.expandItem(_tree.selectedItem, true, true);
   // or
   _tree.expandChildrenOf(_tree.selectedItem, true);
   // or
  var openItems_arr:Array = _tree.openItems as Array;
  openItems_arr.push(_tree.selectedItem);
  _tree.openItems_arr = openItems_arr;
};
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] DataGrid Redraw ItemRenderers

2006-09-25 Thread EECOLOR



Hello,
 
you could redraw a datagrid in certain ways. However its recommended to use a collection as dataprovider, that way, if an item changes, it will automatically update your control. You can check the development guide for more info on collections. If a collection is not what you need please post some more details of your problem. If you want to redraw the datagrid, you could try and use the expensive invalidateDisplayList method.

 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] 2 know more about flex

2006-09-25 Thread Tom Chiverton
On Friday 22 September 2006 21:40, tawfekov wrote:
> i'd like 2 ask about more  recoures in learning flex 2, flex data
> services

The Adobe DevNet site has plenty of articles that include full code.

> and do i have to learn java to be able to build flex application or i
> can work with action script(2,3) and interacting with databases or
> anything else an be done with flex  ??

No, Flex applications don't have to have a Java backend.
ColdFusion and PHP, for instance, will work just as well.

-- 
Tom Chiverton
Helping to continually cluster unique networks



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

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




RE: [flexcoders] Client-side "save as" functionality

2006-09-25 Thread Jonas Windey












Yea, I wouldn’t want to write
directly to the disk, but I’d give a file-save as dialog (normal browser
behavior)

 

I’ll check the FileReference class,
tx for the tip.

 

Jonas

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR
Sent: maandag 25 september 2006
10:19
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Client-side "save as" functionality



 









Hello,





 





As far as i know you cant save to the local disk. Flash does not have
permissions for that. The only way is to initialize a download command using
the FileReference class.





 





 





Greetz Erik





 





 





 






__ NOD32 1.1772 (20060924) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Flex and Screen / application Sharing

2006-09-25 Thread brownd_92
Hi guys,
Soes anyone know of a solution of how to share applicaions or screens 
with everyone through Flex?
I was thinking of using a third part piece of software and putting an 
Iframe in the app. But if it can be done through Flex then it would be 
better.

Thanks

David






--
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] Flex and Screen / application Sharing

2006-09-25 Thread EECOLOR



Hello,
 
At osflash.org they are working on a VNC client, this might give you what you need.
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] video player playhead time updater, DateFormatter and netstream.time

2006-09-25 Thread Dan Rossi






Hi, im attempting to build a custom video player
interface and would like to display a playhead timer like 00:00:00 , im
using the DateFormatter formatter to format the time by first setting
the seconds then updating the playhead label



private function updatePlayHead(event:TimerEvent):void
{

    playHeadTime.setMinutes(0,ns.time,0);

    preloadBar.playHeadTime.text =
playHeadTimeFormat.format(playHeadTime).toString();
   
}


this works fine, however when watching the ram usage it increments by
doing it like this, is there a better way ?




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] Selected Tab Color

2006-09-25 Thread Tom Chiverton
On Thursday 21 September 2006 22:22, Bruce Denham wrote:
> Is there really only one way to color a selected tab in a TabBar?:

Have you played with 
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
?

-- 
Tom Chiverton
Helping to globally grow attention-grabbing communities



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

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Re: photo gallery

2006-09-25 Thread b0b0bb0b
Thanks for the help, I've found out what the problem was, and it 
wasn't a flex problem :) 
Somehow during the upload of my pictures, some of them do not appear 
to have been uploaded correctly. the properties and files size appear 
to be the same as on my local machine but they are not. 
So I just need to identify all of the pictures that have been 
uploaded incorrectly. (little bit unsure of best way to do this as 
I've uploaded about 1000!).

When I get some time going to try and write a loading bar for an 
image and if the data for the picture takes too long to load then 
stop it from loading so that the pictures that are correct can still 
load.
hopefully that way I'll be able to work out which pictures are at 
fault and replace them.

thanks. 



--- In flexcoders@yahoogroups.com, "Bela Hajzer" <[EMAIL PROTECTED]> 
wrote:
>
> 
> 
> --- In flexcoders@yahoogroups.com, "b0b0bb0b"  wrote:
> >
> > Cheers I had a look at SWFLoader, but it doesn't do anything
> > differently. I use a Image tag and set the source of the image at
> > run time. The actual source comes from an XML document which I use
> > for searching. I start of with a large XML document that contains
> > everything (this does not load any images), I then search that XML
> > for keywords and similiar and create a new smaller XML document. 
This
> > new XML documnet then creates the gallery, which gets loaded.
> >
> > When the app loads you get a loading bar, is there any way to get 
a
> > loading bar for each image? this might help find out whats 
happening.
> >
> > Thanks again.
> >
> > --- In flexcoders@yahoogroups.com, "Bela Hajzer" Bela.Hajzer@
> > wrote:
> >
> > > --
> > >
> > > Hi,
> > >
> > > Looks like you've got some resource problem.
> > >
> > > My first guess is that you should load your jpeg dynamically 
using
> > > SWFLoader controll instead of loading all
> > >
> > > at once in the PhotoService as.
> > >
> > > I am going to give a try myself in a few days time.
> > >
> > > Bye Bela
> > >
> >
> Hi again,
> 
> May I suggest to monitor this image loading, just put the following 
into
> your ThumbnailView.mxml:
> 
> * change="startTime(event)"//put it into photoList, your
> HorizontalList
> * complete="endTime(event)"   //put it into photoImage, your
> currently selected  image
> *//put it into e.x. your VBox, and 
the
> following into 
> *  private function startTime(e:Event):void {
> sTime = getTimer();
> }
> private function endTime(e:Event):void {
> var eTime:Number=getTimer();
> var totalTime:Number=eTime - sTime;
> ta1.text = "totalTime: " + totalTime;
> totalTime=0;
> }
> 
> So whenever you click any thumbnail you gonna get the elapsed time 
of
> the currently selected image's loading.
> 
> Bottleneck can occur at different level, just try to isolate it.
> 
> For the first time you get NaN in your ta1 TextArea, just ignore it.
> 
> ps: In the Build and Deploy pdf you can find two chapters about
> optimization.
> 
> Cheers Bela
>







--
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] Flex and Screen / application Sharing

2006-09-25 Thread Paul Andrews
What exactly do you mean by sharing applications/screens?

Paul
- Original Message - 
From: brownd_92
To: flexcoders@yahoogroups.com
Sent: Monday, September 25, 2006 10:52 AM
Subject: [flexcoders] Flex and Screen / application Sharing


Hi guys,
Soes anyone know of a solution of how to share applicaions or screens
with everyone through Flex?
I was thinking of using a third part piece of software and putting an
Iframe in the app. But if it can be done through Flex then it would be
better.

Thanks

David







--
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] Re: Architecting a large, modular Flex application

2006-09-25 Thread Dirk Eismann





76k? 
That seems quite large - mine is 9290 bytes only.
 
You 
may want to add the rpc.swc and utilities.swc to the external library path as 
the two SWCs add another bunch of dependencies to the resulting SWC 
file.
 
Dirk.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
  GianninasSent: Sunday, September 24, 2006 8:00 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: 
  Architecting a large, modular Flex application
  
  The cairngorm2-config.xml is used by 
  the compiler to know which classes/MXML files to compile (which it finds under 
  the src folder).
   
  the -external-library-path option 
  will use those file during compile time but not include them in the resulting 
  SWC.
   
  my cairngorm.swc is 
  76k.
   
  Dimitrios Gianninas
  RIA 
  Developer
  Optimal 
  Payments Inc.
   
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Derrick 
  GriggSent: Thursday, September 21, 2006 11:45 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Architecting a 
  large, modular Flex application
  
  
  Hey Dimitrios,I have tried using the 'compc' compiler that ships 
  with Flex2, but Iam still getting an SWC for cairngorm that's around 350k. 
  Using the'compc' compiler, the syntax is a little different from your 
  file'sbut I think it's all correct. I have noticed two 
  differences:1. you include '${SDK_LIB}/fds.swc' which I'm 
  assuming is Flex DataServices. I don't have that swc on my system, however 
  I do haverpc.swc, which my library will not compile without.2 you 
  use a config file 
  value="-load-config+=${basedir}/cairngorm2-config.xml"/> 
  which I alsocan not find anywhere in the Cairngorm package I downloaded 
  from Adobelabs. Is this a file you have created to exclude certain 
  classes?Derrick--- In [EMAIL PROTECTED]ups.com, 
  "Dimitrios Gianninas"[EMAIL PROTECTED]> 
  wrote:>> > Now that I am back in the office, here is the 
  full ant command weuse to compile cairngorm and exclude all unneccesary 
  libraries:> > > dir="${BUILD}" > vmlauncher="false"> 
  failonerror="true">> />> 
  > 
  value="-external-library-path+=${SDK_LIB}/playerglobal.swc,${SDK_LIB}/framework.swc,${SDK_LIB}/fds.swc"/>> 
  >  
  > > > Dimitrios Gianninas> RIA Developer> 
  Optimal Payments Inc.> > -Original Message-> 
  From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]On 
  Behalf Of Dimitrios Gianninas> Sent: Tuesday, September 19, 2006 6:26 
  PM> To: [EMAIL PROTECTED]ups.com> 
  Subject: RE: [flexcoders] Architecting a large, modular Flex 
  application> > Hi,> > I think you have setup 
  things pretty much the same way I would.Although I have never gone that 
  far... yet :)> > One thing I did notice which you can change is 
  that you said theentire flex framework gets included in the cairngorm.swc 
  ... doesn'thave to be. I build the carngorm.swc using the command-line 
  compilerand made sure to exclude the framework.swc, this did reduce the 
  sizeand is basically what I think you want to do. Don't remember the 
  exactswitch, will have to get that to you tomorrow once I'm back in the 
  office.> > Regards,> > Dimitrios Gianninas> 
  Optimal Payments Inc.> > > -Original 
  Message-> From: [EMAIL PROTECTED]ups.com 
  on behalf of derrickgrigg> Sent: Tue 9/19/2006 11:23 AM> To: [EMAIL PROTECTED]ups.com> 
  Subject: [flexcoders] Architecting a large, modular Flex application> 
  > I just want to bounce this idea/concept off the larger 
  Flexcommunity to see if there are any holes or possibly better 
  solutions.> > I am currently working with a team of developers 
  on a large, modularFlex application based on the Cairngorm framework. One 
  issue that weare trying to get our heads around is creating the 
  application in amodular fashion (ie seperate SWFs for application 
  modules). Eachmodule will only get loaded as needed by the main shell 
  application inorder to keep the overall size and memory use as small as 
  possible. > > The big issue that we are running into is how to 
  setup and developthe module flex projects in Flex Builder. We need to give 
  the moduleprojects access to the models, value objects etc (especially 
  bindable> properties) that they need from the main application without 
  havingthe actual application implemented version of those classes 
  getcompiled into the module swfs and causing problems when they 
  getloaded into the main application. Our current thinking is that 
  inorder to allow the modules to have full access to the models, 
  valueobjects, etc that have been defined in the main application we 
  createAbstract versions of those classes and put them in a seperate 
  flexlibrary project which will get compiled as an SWC and get 
  includedinto the seperate modules as a runtime shared library (RSL), 
  basicallyan library of Abstract classes only (and maybe some Interfaces). 
  Themodule projects will also include 

RE: [flexcoders] Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












Take a look at this... It *might* help you get some ideas.  http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and


 

Be sure to read further down, there is a
section on “Application Sharing”.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Monday, September 25, 2006 7:22
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex and
Screen / application Sharing



 







What exactly do you mean by sharing applications/screens?

Paul
- Original Message - 
From: brownd_92
To: [EMAIL PROTECTED]ups.com
Sent: Monday, September 25, 2006 10:52 AM
Subject: [flexcoders] Flex and Screen / application Sharing

Hi guys,
Soes anyone know of a solution of how to share applicaions or screens
with everyone through Flex?
I was thinking of using a third part piece of software and putting an
Iframe in the app. But if it can be done through Flex then it would be
better.

Thanks

David






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Tree Component Bug?

2006-09-25 Thread Battershall, Jeff
I'm experiencing a consistent behavior from the Tree Component where one
of the node labels isn't fully rendered - or appears to be clipped in
some fashion.  This goes away if the tree is expanded enough to require
a scrollbar - like a redraw is forced by the scrollbar appearing.  

I'm able to duplicate this behavior on a consistent basis - I'm using an
embedded font for the rendering (Arial), and overriding the default
icons.

Has anyone else experienced this? Any advice appreciated.

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





RE: [flexcoders] How to expand Tree Item, by clicking on Item itself?

2006-09-25 Thread Battershall, Jeff
Title: Message





I've 
done the same thing - works great.  Now here's a question - how to get the 
expansion to animate like it does when you click on the icon.  I haven't 
figured out how to do that just yet.
 
Jeff

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  EECOLORSent: Monday, September 25, 2006 4:32 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to expand 
  Tree Item, by clicking on Item itself?
  Hello,
   
  just a guess that might help you further. Try and use something like 
  this:
   
  _tree.addEventListener(ItemClickEvent.ITEM_CLICK, _someHandler);
   
  private function _someHandler(e:ItemClickEvent):void
  {
     _tree.expandItem(_tree.selectedItem, true, true);
     // or
     _tree.expandChildrenOf(_tree.selectedItem, true);
     // or
    var openItems_arr:Array = _tree.openItems as Array;
    openItems_arr.push(_tree.selectedItem);
    _tree.openItems_arr = openItems_arr;
  };
   
   
  Greetz Erik 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Custom Flex Components in Flex Builder design mode

2006-09-25 Thread Tomas Lehuta



Hello Flexers,I need some help with Flex Builder..Is it possible to create ActionScript Flex UIComponent that uses some drawing API to create its contentand display it visually in Flex Builder 2 design mode? Does it handle also resizing of component in there?
What should I do with my UIComponent to be properly displayed in design mode?Can somebody help please?-lharp-

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] What is the difference in casting an object

2006-09-25 Thread boy_trike
Why does the following work

flag = int(event.result) 

and why doesn't the following

flag = event.result as int;


Thanks
Bruce






--
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: Invalid Root problem

2006-09-25 Thread cheftimbob
Ok, is there anyone working in this type of set up? How about AIX?



--- In flexcoders@yahoogroups.com, "cheftimbob" <[EMAIL PROTECTED]> wrote:
>
> Just a bump so this doesn't fall off. Any  experts out there with 
> ideas?
> 
> 
> --- In flexcoders@yahoogroups.com, "cheftimbob"  wrote:
> >
> > I'm new to this so please bear with me.
> > 
> > I've installed Flex2 IDE on my desktop PC. I have installed the 
FDS 
> on 
> > one of our test AIX servers running WAS 5.1. The samples 
> applications 
> > all work. 
> > 
> > I'm working through some of the tutorials for using the data 
> management 
> > services. When I create the new Flex Data Services project I get 
to 
> the 
> > point where I have to specify the root folder and root url. The 
> root 
> > url is easy enough. What do I put in for the root folder though? 
> All of 
> > the posts I've seen for this typically are where someone is 
trying 
> to 
> > access a server running on their desktop PC or on a mapped 
server. 
> This 
> > is an AIX box.
> >
>






--
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: Managed Attribute for Actionscript class objects

2006-09-25 Thread laidezmon
Ok one last effort to get this on the top. Hopefully someone can
answer this question.

--- In flexcoders@yahoogroups.com, "laidezmon" <[EMAIL PROTECTED]> wrote:
>
> Hoping to keep this from getting dropped to the bottom. 
> 
> Does anyone have any idea about this?
> 
> --- In flexcoders@yahoogroups.com, "laidezmon"  wrote:
> >
> > Question for the group here. 
> > 
> > I am working on an enterprise app, and I have gone through every piece
> > of documentation and training I can get my hands on. 
> > 
> > I noticed in all the help for Flex, the training/tutorials say to use
> > the [Managed] attribute on your bindable actionscript objects that
> > refer to java objects. 
> > 
> > However I am going through the Cairngorm 2 store stuff, and none of
> > thier actionscript objects have that attribute associated with them,
> > even though they are actionscript objects that are translated to and
> > from java objects. 
> > 
> > So when are you supposed to use it, and when are you now? Why is it
> > different in cairngorm? What does it really do?
> >
>







--
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] HSlider skin with masked symbol asset from flash8 and embedding assets

2006-09-25 Thread Dan Rossi






Hi there, im trying to work out a way to possibly
embed a masked movieclip symbol from flash8 which a designer is doing
to be used as a HSlider track skin. 

Basically i need to work out how to get the nested movieclip with a
coloured bitmap which is within a volume slider triangle mask if you
know what i mean controlled and sliding within the HSlider component. I
managed to get the container movieclip symbol embeded as a track skin
but the nested movieclip is obviouslly unable to be moved on the x
coordinates so all i can get at the moment is a triangle slider
trackbar with the default thumb over the top, i need the thumb to move
the white bar to give it a coloured volume slider effect. 

btw exporting the flash with flash 9 preview breaks the linkage id's in
fact its impossible to set linkage id's it only lets you add a class
name to link to, so if i set linkage id's in flash8, flash 9 will break
those, so everything becomes unusable in flex. I think this
developer/designer crossover has been unplanned and unthought out. 

let me know cheers.

Dan
 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Migration from flex1.5 to flex 2.0

2006-09-25 Thread hinishant28
Hi
  I have an application in flex1.5 installed in jboss server. Now i am 
supposed to migrate the application to flex 2.0. What all 
configuration changes, I need to do?
Can anyone help me in telling me that.
Thanks in Advance

Regards
Nishant 






--
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] What is the difference in casting an object

2006-09-25 Thread EECOLOR



Hello,
 
In the first case you are using a global function. In the second case you are telling flash that the result is of type int. The first case does a conversion while the second case doesnt. 
 
Greetz Erik 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] How to expand Tree Item, by clicking on Item itself?

2006-09-25 Thread EECOLOR



expandItem(item:Object, open:Boolean, animate:Boolean = false, dispatchEvent:Boolean = false, cause:Event = null):void
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Unable to access UserTransaction in DataService.

2006-09-25 Thread erik_jen5en
I have enabled the server debugging.  Although I do not see a java
stack trace I do get a lot of Flex messages.  The complete output is,

2006-09-25 13:41:57,695 INFO  [STDOUT] [Flex] After invoke service:
data-service
  reply: Flex Message (flex.data.messages.SequencedMessage) 
sequenceId = 0
sequenceSize = 2
(no sequence proxies)
clientId = null
correlationId = null
destination = userDest
messageId = EC127CFE-A02C-5988-83D5-4F05075835D5
timestamp = 1159188117664
timeToLive = 0
body = 
[
  [EMAIL PROTECTED],
  [EMAIL PROTECTED]
]
2006-09-25 13:41:57,695 INFO  [STDOUT] [Flex] Serializing AMF/HTTP
response
Version: 3
  (Message #0 targetURI=/2/onResult, responseURI=)
(Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
  destination = null
  headers = (Object #1)
  correlationId = "A28C8CCD-5F32-1DF7-620C-E4FEF738545B"
  messageId = "EC127AC0-E50D-DD15-96A9-4CCAC48207B5"
  timestamp = 1.159188117429E12
  clientId = "0CCB8A6D-193B-57D4-2D18-E4FEF65E29F1"
  timeToLive = 0.0
  body = null

  (Message #1 targetURI=/3/onResult, responseURI=)
(Typed Object #0 'flex.data.messages.SequencedMessage')
  sequenceId = 0
  destination = "userDest"
  headers = (Object #1)
  dataMessage = null
  correlationId = "2A9E5067-E387-88A5-C19D-E4FEF738B4C8"
  messageId = "EC127CFE-A02C-5988-83D5-4F05075835D5"
  timestamp = 1.159188117664E12
  clientId = "0CCB8A6D-193B-57D4-2D18-E4FEF65E29F1"
  timeToLive = 0.0
  sequenceProxies = null
  sequenceSize = 2
  body = (Array #2)
[0] = (Typed Object #3
'uk.co.vianet.deviceRepository.users.dto.UserDTO')
  password = "testing"
  userType = 2
  username = "testUser"
  ownerName = "testOwner"
  id = 11
[1] = (Typed Object #4
'uk.co.vianet.deviceRepository.users.dto.UserDTO')
  password = "12vianet"
  userType = 1
  username = "root"
  ownerName = "System"
  id = 12
2006-09-25 13:42:00,883 INFO  [STDOUT] [Flex] Channel endpoint
my-polling-amf received request.
2006-09-25 13:42:00,883 INFO  [STDOUT] [Flex] Deserializing AMF/HTTP
request
Version: 3
  (Message #0 targetURI=null, responseURI=/4)
(Array #0)
  [0] = (Typed Object #0 'flex.data.messages.DataMessage')
operation = 7
body = (Array #1)
  [0] = (Typed Object #2 'flex.data.messages.DataMessage')
operation = 3
body = (Array #3)
  [0] = (Array #4)
[0] = "ownerName"
  [1] = (Object #5)
password = "12vianet"
ownerName = "System"
id = 12
userType = 1
username = "root"
  [2] = (Object #6)
password = "12vianet"
ownerName = "Syste"
id = 12
userType = 1
username = "root"
identity = (Object #7)
  id = 12
correlationId = "BC037721-1913-84B4-54EC-E4FF05049D96"
body = (Ref #3)
clientId = "0CCB8A6D-193B-57D4-2D18-E4FEF65E29F1"
timeToLive = 0
messageId = "5C8E9D2E-3AEC-4D64-59D3-E4FF04F4E34B"
destination = "userDest"
timestamp = 0
headers = (Object #8)
identity = null
correlationId = ""
body = (Ref #1)
clientId = null
timeToLive = 0
messageId = "BC037721-1913-84B4-54EC-E4FF05049D96"
destination = "userDest"
timestamp = 0
headers = (Object #9)
  DSEndpoint = "my-polling-amf"
2006-09-25 13:42:00,883 INFO  [STDOUT] [Flex] Before invoke service:
data-service
  incomingMessage: Flex Message (flex.data.messages.DataMessage) 
operation = transacted
id = null
clientId = EC129BB1-830C-074E-BBE1-5FEEFC9FA13B
correlationId = 
destination = userDest
messageId = BC037721-1913-84B4-54EC-E4FF05049D96
timestamp = 1159188120883
timeToLive = 0
body = 
[
  Flex Message (flex.data.messages.DataMessage) 
  operation = update
  id = ASObject(25605488){id=12}
  clientId = 0CCB8A6D-193B-57D4-2D18-E4FEF65E29F1
  correlationId = BC037721-1913-84B4-54EC-E4FF05049D96
  destination = userDest
  messageId = 5C8E9D2E-3AEC-4D64-59D3-E4FF04F4E34B
  timestamp = 0
  timeToLive = 0
  body = 
  [

[
  ownerName
],
{password=12vianet, userType=1, username=root,
ownerName=System, id=12},
{password=12vianet, userType=1, username=root,
ownerName=Syste, id=12}
  ]
]
hdr(DSEndpoint) = my-polling-amf
2006-09-25 13:42:05,726 INFO  [STDOUT] [Flex] Channel endpoint
my-polling-amf received request.
2006-09-25 13:42:05,726 INFO  [STDOUT] [Flex] Deserializing AMF/HTTP
request
Version: 3
  

[flexcoders] Differences between Cairngorm .99 and 2

2006-09-25 Thread laidezmon
Question. 

Is there a site or reference on the differences between cairngorm .99
and 2?

I am noticing the documentation for .99 and in it there are many
things, that dont seem to be implemented in the cairngorm store
version 2. Is there any documentation on the differences yet? 

JS






--
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 we run our existing Flex1.5 application on Flex2.0 platform?

2006-09-25 Thread hinishant28
can i have the migration guide for migrating to flex2.0 from flex 1.5

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Unfortunately no, the changes between 1.5 and 2.0 are pretty 
extensive.
> We do have a migration guide available as part of the docs.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of anjicn
> Sent: Thursday, September 21, 2006 3:17 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Can we run our existing Flex1.5 application 
on
> Flex2.0 platform?
> 
>  
> 
> Can we run our existing Flex1.5 application on Flex2.0 platform 
without 
> extra code-level modification?
> 
> In other words, can we run the flex1.5 allplication just modifying 
some 
> relevant configuration file?
>






--
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] How to Send the Entire Contents of a DataGrid to a CFC

2006-09-25 Thread cnewroth55
howdy all:
been awhile since i posted or asked anytyhing, but i am in desparate 
need of an example of how to send the ENTIRE contents of a datagrid 
that has been populated back to a CFC to update a DB. Peter Ent has 
been working with me and sending me some good code, but alas I am 
still clueless. I have what i think will work in the CFC, but how to 
get Flex 2.0 to send that to it has stumped me, and I confess that 
even tho Peter has helped alot, I am just not 'getting' it.

IF ANYONE has a working example, please email me @ 
[EMAIL PROTECTED] 
ANY help is greatly appreciated!!

Craig

code is below:
 mxml that i have *

http://www.adobe.com/2006/mxml"; 
layout="vertical"
creationComplete="getCLDesciptions.send()">

http://www.adobe.com/2006/mxml"; 
layout="vertical"
creationComplete="getCLDesciptions.send()">





http://130.38.115.8:8300/Cart/cart_orc/querys1a.cfc?wsdl"; 
id="getData">
  

{searchDeptsText.text}

  
  

{resultsDG.selectedItem.USER_ID}
{resultsDG.selectedItem.DEPT}


  
  

{resultsDG.selectedItem.USER_ID}

  
  
  


























   







This is the DataGrid you will 
use to update the CL field



 



















* the cfc function ***


 


update USAGE_RESPONSES
(NEW_CL)
values 
('#listgetat(Arguments.NEW_CL,i)#')
WHERE Prop_Tag = '#listgetat(Arguments.Prop_Tag,i)#'











--
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] Model is not persistent? Cairngorm, CFC to AS3 Mappings

2006-09-25 Thread lostinrecursion
Hi all,

I have a pretty odd issue and I can't narrow down the reason why. I
have  a CFC and a corresponding AS3 class.

For this example, MyValueObject.as and MyValueObject.cfc

I call the CFC and return the results to the onResult function in the
calling command. In my model, I have a property set called
MyModel.getInstance().myvalueobject which is to store this data for
view access and change.

Here is the problem:

The mapping between the CFC and AS3 component work as expected.
Meaning setting MyModel.getInstance().myvalueobject = event.result as
MyValueObject populates the object automatically.

When I trace my results from the command, I get the data I am looking
for. ex) trace(MyModel.getInstance().myvalueobject.someProperty);

HOWEVER, when I trace that same property from the View using the exact
same code, it returns null.

How can that possibly be?





--
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: Flex and Screen / application Sharing

2006-09-25 Thread brownd_92
Paul,
Im really only talking about someone being able to share something 
like a powerpoint presentation or something. Nothing too heavy.

Cheers

David

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> What exactly do you mean by sharing applications/screens?
> 
> Paul
> - Original Message - 
> From: brownd_92
> To: flexcoders@yahoogroups.com
> Sent: Monday, September 25, 2006 10:52 AM
> Subject: [flexcoders] Flex and Screen / application Sharing
> 
> 
> Hi guys,
> Soes anyone know of a solution of how to share applicaions or 
screens
> with everyone through Flex?
> I was thinking of using a third part piece of software and putting 
an
> Iframe in the app. But if it can be done through Flex then it 
would be
> better.
> 
> Thanks
> 
> David
>







--
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] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-25 Thread Peter Farland












Thanks Doug, I was just catching up on
this thread and was about to post this very point. It is VERY important to
understand this requirement when building Flex SWFs – you must introduce
a dependency on the ActionScript class that has a RemoteClass relationship to a
CFC so that the compiler links in the class when building the SWF. Also note
that the [RemoteClass] metadata does more than simply call flash.net.registerClassAlias
for your class – it ensures that the class is initialized and that this
alias registration happens statically before the Flex application is finished
initializing. This is important because all of this must happen before any RemoteObject
calls are made to the ColdFusion server.

 

Also, I saw someone mention that the
properties have to be in the same order... I don’t believe this is a
requirement.

 

Pete

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas Knudsen
Sent: Sunday, September 24, 2006
4:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
Going Bananas, CFC to AS3 Class Mapping



 







then the mapping ain't happening, eh?  Somewhere
in your code you have to have at least one instance of your AS class
private var myFooForTheCompiler:Foo = new Foo();
If you do not have htis, the compiler will not include Foo.as
in the SWF and thus it will not be available at runtime, and thus the magical
mapping can't work.  If you indeed did this, you may need to clean the
project and maybe even restart FB.  I've notice that the incremental
compiles can get messed up sometimes. 

DK



On 9/24/06, Paul
Hastings 
wrote:

On 9/24/06, Douglas
Knudsen 
wrote:

> Using the Flex Debugger you can see the array of objects are
typed.  Note you may need to instantiate a Foo.as
object somewhere in your code to insure the compiler includes the class at
compile time.

but i'm still seeing the array as an array of plain Objects.


--
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:flexcoders-digest@yahoogroups.com
mailto: flexcoders-fullfeat[EMAIL PROTECTED].com

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

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









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






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: Managed Attribute for Actionscript class objects

2006-09-25 Thread Dirk Eismann
Hi,

[Managed] is only useful if you use the Data Management feature of the
Flex Data Services (FDS). If you just use RemoteObject to connect to
your Java side, then [RemoteClass] should be enough (maybe you may want
to add [Bindable] to the class body or some of the public properties).

[Managed] does some behind-the-scenes-magic, most importantly it takes
your AS class makes it implement the mx.data.Imanaged interface. This
ensures that all changes to the object are propagated to the Flex 2
framework. It also enforces that all instances of the class have a
unique UID identifier.

Rule of thumb: 

1) if you use the Data Management feature (with or without Cairngorm),
your VO classes should be decorated with [Managed] and [RemoteClass]
metadata. You can leave out [Bindable] as this is implicit for [Managed]

2) if you use RemoteObject (with or without Cairngorm) your VO classes
should be decorated with the [RemoteClass] metadata and may be
[Bindable] as well

Dirk.

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
> Sent: Monday, September 25, 2006 2:38 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Managed Attribute for Actionscript 
> class objects
> 
> Ok one last effort to get this on the top. Hopefully someone 
> can answer this question.
> 
> --- In flexcoders@yahoogroups.com, "laidezmon" <[EMAIL PROTECTED]> wrote:
> >
> > Hoping to keep this from getting dropped to the bottom. 
> > 
> > Does anyone have any idea about this?
> > 
> > --- In flexcoders@yahoogroups.com, "laidezmon"  wrote:
> > >
> > > Question for the group here. 
> > > 
> > > I am working on an enterprise app, and I have gone through every 
> > > piece of documentation and training I can get my hands on.
> > > 
> > > I noticed in all the help for Flex, the training/tutorials say to 
> > > use the [Managed] attribute on your bindable actionscript objects 
> > > that refer to java objects.
> > > 
> > > However I am going through the Cairngorm 2 store stuff, 
> and none of 
> > > thier actionscript objects have that attribute associated 
> with them, 
> > > even though they are actionscript objects that are 
> translated to and 
> > > from java objects.
> > > 
> > > So when are you supposed to use it, and when are you now? 
> Why is it 
> > > different in cairngorm? What does it really do?
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 


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

<*> 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: Selected Tab Color

2006-09-25 Thread Bruce Denham
Hi Tom,
Thanks for replying. Yes, I have played with the Flex Style Explorer
and find it really cool and useful for lots of styling. 

Unfortunately, it seems that the SELECTED tab can only be styled using
backgroundColor. The non-selected tabs can use gradient fills, which
is what I'd like for the selected tab. I've tried to figure out a way
to skin it with an image (ideal) or get to it through another property
without success.

My workaround doesn't really get me what I want, but what I've done is
set a backgroundImage on the TabBar component (backgroundSize=100%)
and then set the selected tab to be transparent so that the background
image comes through when it's selected. That works...okay...but I'd
really like to control the background colors of the selected tabs
individually. Maybe Flex 3.

Thanks again,
Bruce

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Thursday 21 September 2006 22:22, Bruce Denham wrote:
> > Is there really only one way to color a selected tab in a TabBar?:
> 
> Have you played with 
>
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
> ?
> 
> -- 
> Tom Chiverton





--
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] Re: Flex and Screen / application Sharing

2006-09-25 Thread Paul Andrews
David,

I'm sure I'm missing some significant point.

Don't you just put it onto a server with a link to it?

What am I missing here? how can flex improve this sharing?

Paul
- Original Message - 
From: brownd_92 
To: flexcoders@yahoogroups.com 
Sent: Monday, September 25, 2006 2:14 PM
Subject: [flexcoders] Re: Flex and Screen / application Sharing


Paul,
Im really only talking about someone being able to share something 
like a powerpoint presentation or something. Nothing too heavy.

Cheers

David

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> What exactly do you mean by sharing applications/screens?
> 
> Paul





--
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] Re: Can we run our existing Flex1.5 application on Flex2.0 platform?

2006-09-25 Thread EECOLOR



Hello,
 
the guide is located at flex.org and called 'flex2_migrationguide.pdf'.
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread brownd_92
Paul,
this is part of a videoconferencing suite which I am developing with 
Flex and FMS. I would like the presenter to de able to "drive" the 
presentation from his own machine. A bit like Breeze but on a 
smaller scale.

Cheers

David

--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> David,
> 
> I'm sure I'm missing some significant point.
> 
> Don't you just put it onto a server with a link to it?
> 
> What am I missing here? how can flex improve this sharing?
> 
> Paul
> - Original Message - 
> From: brownd_92 
> To: flexcoders@yahoogroups.com 
> Sent: Monday, September 25, 2006 2:14 PM
> Subject: [flexcoders] Re: Flex and Screen / application Sharing
> 
> 
> Paul,
> Im really only talking about someone being able to share something 
> like a powerpoint presentation or something. Nothing too heavy.
> 
> Cheers
> 
> David
> 
> --- In flexcoders@yahoogroups.com, "Paul Andrews"  wrote:
> >
> > What exactly do you mean by sharing applications/screens?
> > 
> > Paul
>







--
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] Migration from flex1.5 to flex 2.0

2006-09-25 Thread EECOLOR



Hello,
 
Check out the 'flex2_migrationguide.pdf' at flex.org.
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












Granted, my example would need to be
tailored to fit your needs.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: Andrew Trice 
Sent: Monday, September 25, 2006
9:54 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Re: Flex
and Screen / application Sharing



 

The blog post that I mentioned earlier
shows how you can use shared objects (which can be used with FMS) to share the
BitmapData of a Flex application (or specific UIComponens).   This
sounds like exactly what you are looking for.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brownd_92
Sent: Monday, September 25, 2006
9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Screen / application Sharing



 







Paul,
this is part of a videoconferencing suite which I am developing with 
Flex and FMS. I would like the presenter to de able to "drive" the 
presentation from his own machine. A bit like Breeze but on a 
smaller scale.

Cheers

David

--- In [EMAIL PROTECTED]ups.com,
"Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> David,
> 
> I'm sure I'm missing some significant point.
> 
> Don't you just put it onto a server with a link to it?
> 
> What am I missing here? how can flex improve this sharing?
> 
> Paul
> - Original Message - 
> From: brownd_92 
> To: [EMAIL PROTECTED]ups.com

> Sent: Monday, September 25, 2006 2:14 PM
> Subject: [flexcoders] Re: Flex and Screen / application Sharing
> 
> 
> Paul,
> Im really only talking about someone being able to share something 
> like a powerpoint presentation or something. Nothing too heavy.
> 
> Cheers
> 
> David
> 
> --- In [EMAIL PROTECTED]ups.com,
"Paul Andrews"  wrote:
> >
> > What exactly do you mean by sharing applications/screens?
> > 
> > Paul
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












The blog post that I mentioned earlier
shows how you can use shared objects (which can be used with FMS) to share the BitmapData
of a Flex application (or specific UIComponens).   This sounds like exactly
what you are looking for.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brownd_92
Sent: Monday, September 25, 2006
9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Screen / application Sharing



 







Paul,
this is part of a videoconferencing suite which I am developing with 
Flex and FMS. I would like the presenter to de able to "drive" the 
presentation from his own machine. A bit like Breeze but on a 
smaller scale.

Cheers

David

--- In [EMAIL PROTECTED]ups.com,
"Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> David,
> 
> I'm sure I'm missing some significant point.
> 
> Don't you just put it onto a server with a link to it?
> 
> What am I missing here? how can flex improve this sharing?
> 
> Paul
> - Original Message - 
> From: brownd_92 
> To: [EMAIL PROTECTED]ups.com

> Sent: Monday, September 25, 2006 2:14 PM
> Subject: [flexcoders] Re: Flex and Screen / application Sharing
> 
> 
> Paul,
> Im really only talking about someone being able to share something 
> like a powerpoint presentation or something. Nothing too heavy.
> 
> Cheers
> 
> David
> 
> --- In [EMAIL PROTECTED]ups.com,
"Paul Andrews"  wrote:
> >
> > What exactly do you mean by sharing applications/screens?
> > 
> > Paul
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] ColdFusion adapter for remoting forgets super classes.

2006-09-25 Thread Tom Chiverton
On Friday 22 September 2006 13:18, EECOLOR wrote:
> Object props[] = (Object[])CFCMetaData.get("PROPERTIES");

The CF GetMetaData function has the same problem if there are properties in 
the class the object extends.

This did pose a problem for us, returning Reactor TOs. The fix was simply to 
copy the cfproperty tags from the reactor.project. class into the 
com.halliwells. classes.
This *does* make it a problem to stay in sync if your DB mappings are in flux, 
yeah :-)

-- 
Tom Chiverton
Helping to carefully maintain second-generation customers



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

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Re: parsing xml recursively help.

2006-09-25 Thread aaron smith



where can I find something about that.? didn't see it in the docs..thanksOn 9/25/06, EECOLOR <[EMAIL PROTECTED]
> wrote:












  



Dont forget to check out the double dot operator in XML, it might prove usefull for your case.
 
 
Greetz Erik

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread brownd_92
Great example by the way. Really smart.

David

--- In flexcoders@yahoogroups.com, "Andrew Trice" <[EMAIL PROTECTED]> 
wrote:
>
> Granted, my example would need to be tailored to fit your needs.
> 
>  
> 
> _
> 
> Andrew Trice
> 
> Cynergy Systems, Inc.
> 
> http://www.cynergysystems.com
> 
>  
> 
> Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
> 
> Email: [EMAIL PROTECTED]
> 
> Office: 866-CYNERGY 
> 
>  
> 
> 
> 
> From: Andrew Trice 
> Sent: Monday, September 25, 2006 9:54 AM
> To: 'flexcoders@yahoogroups.com'
> Subject: RE: [flexcoders] Re: Flex and Screen / application Sharing
> 
>  
> 
> The blog post that I mentioned earlier shows how you can use shared
> objects (which can be used with FMS) to share the BitmapData of a 
Flex
> application (or specific UIComponens).   This sounds like exactly 
what
> you are looking for.
> 
>  
> 
> _
> 
> Andrew Trice
> 
> Cynergy Systems, Inc.
> 
> http://www.cynergysystems.com
> 
>  
> 
> Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
> 
> Email: [EMAIL PROTECTED]
> 
> Office: 866-CYNERGY 
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of brownd_92
> Sent: Monday, September 25, 2006 9:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex and Screen / application Sharing
> 
>  
> 
> Paul,
> this is part of a videoconferencing suite which I am developing 
with 
> Flex and FMS. I would like the presenter to de able to "drive" the 
> presentation from his own machine. A bit like Breeze but on a 
> smaller scale.
> 
> Cheers
> 
> David
> 
> --- In flexcoders@yahoogroups.com 
> , "Paul Andrews"  wrote:
> >
> > David,
> > 
> > I'm sure I'm missing some significant point.
> > 
> > Don't you just put it onto a server with a link to it?
> > 
> > What am I missing here? how can flex improve this sharing?
> > 
> > Paul
> > - Original Message - 
> > From: brownd_92 
> > To: flexcoders@yahoogroups.com   
> > Sent: Monday, September 25, 2006 2:14 PM
> > Subject: [flexcoders] Re: Flex and Screen / application Sharing
> > 
> > 
> > Paul,
> > Im really only talking about someone being able to share 
something 
> > like a powerpoint presentation or something. Nothing too heavy.
> > 
> > Cheers
> > 
> > David
> > 
> > --- In flexcoders@yahoogroups.com
>  , "Paul Andrews"  
wrote:
> > >
> > > What exactly do you mean by sharing applications/screens?
> > > 
> > > Paul
> >
>






--
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: Interlace text over FLV video

2006-09-25 Thread kristian_wright2002
Yeah, thanks for that!!  I basically changed the text component to a
label one, as it's a DisplayObject type, and it works fine!!

Cheers!


--- In flexcoders@yahoogroups.com, "greg h" <[EMAIL PROTECTED]> wrote:
>
> K,
> 
> Flex 2's default layout management is flat, just x and y
coordinates.  With
> layout="horizontal" when you add a child it is laid out to the right
(at a
> greater x coordinate).  With layout="vertical" when you add a child
it is
> laid out below (at a greater y coordinate).
> 
> If I understand your question correctly, you would like to layer the
text
> above the video.  Design environments often refer to this as a
z-index or
> z-order.  Essentially a 3rd coordinate.  In Flex this requires you
using a
> container specifying layout="absolute".  When layout="absolute", the
last
> child added to the display list is on top.
> 
> In your case I think this will mean adding both the VideoDisplay and
a Label
> or TextArea to a container providing layout="absolute".  You can
then set
> the x and y coordinates of the text control overlapping the
coordinates of
> the VideoDisplay.  Since the last child added to the display list is
on top,
> you would first add the VideoDisplay with your text control added last.
> 
> Following are some notes from the training course:
> Flex 2: Programming the Visual
>
Experience
> 
> -- - - - - -
> 
> Layering content using absolute layout
> 
> Three Flex layout containers allow the use of absolute positioning:
> 
>- Application container with the layout property set to absolute.
>- Panel container with the layout property set to absolute.
>- Canvas container only allows absolute positioning.
> 
> You can create overlapping child components by setting your x and y
> properties appropriately.
> 
> If you have overlapping child components, the component MXML tag that is
> lower in the code will appear on top of the components whose tags
are higher
> in the code.
> 
> -- - - - - -
> 
> Please post back if this helps.
> 
> g
> 
> On 9/22/06, kristian_wright2002 <[EMAIL PROTECTED]> wrote:
> >
> > I have an FLV video which I can play using the VideoDisplay component.
> > I want to be able to interlace some text across this video when
> > playing it (but not have it recorded on the video itself, so I can
> > change it when required).
> >
> > I can't seem to see how this is done.  Adding the text as a child of
> > the VideoDisplay fails, as it's trying to add a DisplayObject, and not
> > a string.
> >
> > This leads me to think that I'll have to create the text as a
> > DisplayObject, but I'm not sure how...
> >
> > Any suggestions on how to achieve this?
> >
> > Cheers,
> > K.
> >
>






--
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] ColdFusion adapter for remoting forgets super classes.

2006-09-25 Thread EECOLOR



It indeed becomes quite unhandy and exposes you to another set of human errors. I tried to use an init method in which i would automatically check the super components for properties and add them to the property array of the current component. This however was (for me) a bit difficult because of my lack in good java skills: the properties array is not a normal array on which you can use the arrayAppend method.

 
I submitted it as a bug and hope they will give me the source code of the 2 responsible methods in the flashremoting-update.jar so that i can override the methods in order to use a modified version of the ASToCFSerializer. The modification would be a very simple one: check the extends property of the metadata and serialize those properties aswell.

 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Andrew Trice












Thanks, I hope it helps.  Good luck!

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brownd_92
Sent: Monday, September 25, 2006
10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex and
Screen / application Sharing



 







Great example by the way. Really smart.

David

--- In [EMAIL PROTECTED]ups.com,
"Andrew Trice" ...> 
wrote:
>
> Granted, my example would need to be tailored to fit your needs.
> 
> 
> 
> _
> 
> Andrew Trice
> 
> Cynergy Systems, Inc.
> 
> http://www.cynergysystems.com
> 
> 
> 
> Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
> 
> Email: andrew.trice@...
> 
> Office: 866-CYNERGY 
> 
> 
> 
> 
> 
> From: Andrew Trice 
> Sent: Monday, September 25, 2006 9:54 AM
> To: 'flexcoders@yahoogroups.com'
> Subject: RE: [flexcoders] Re: Flex and Screen / application Sharing
> 
> 
> 
> The blog post that I mentioned earlier shows how you can use shared
> objects (which can be used with FMS) to share the BitmapData of a 
Flex
> application (or specific UIComponens). This sounds like exactly 
what
> you are looking for.
> 
> 
> 
> _
> 
> Andrew Trice
> 
> Cynergy Systems, Inc.
> 
> http://www.cynergysystems.com
> 
> 
> 
> Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
> 
> Email: andrew.trice@...
> 
> Office: 866-CYNERGY 
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of brownd_92
> Sent: Monday, September 25, 2006 9:47 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: Flex and Screen / application Sharing
> 
> 
> 
> Paul,
> this is part of a videoconferencing suite which I am developing 
with 
> Flex and FMS. I would like the presenter to de able to "drive"
the 
> presentation from his own machine. A bit like Breeze but on a 
> smaller scale.
> 
> Cheers
> 
> David
> 
> --- In [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> , "Paul Andrews"  wrote:
> >
> > David,
> > 
> > I'm sure I'm missing some significant point.
> > 
> > Don't you just put it onto a server with a link to it?
> > 
> > What am I missing here? how can flex improve this sharing?
> > 
> > Paul
> > - Original Message - 
> > From: brownd_92 
> > To: [EMAIL PROTECTED]ups.com

40yahoogroups.com> 
> > Sent: Monday, September 25, 2006 2:14 PM
> > Subject: [flexcoders] Re: Flex and Screen / application Sharing
> > 
> > 
> > Paul,
> > Im really only talking about someone being able to share 
something 
> > like a powerpoint presentation or something. Nothing too heavy.
> > 
> > Cheers
> > 
> > David
> > 
> > --- In [EMAIL PROTECTED]ups.com
> 40yahoogroups.com> , "Paul
Andrews"  
wrote:
> > >
> > > What exactly do you mean by sharing applications/screens?
> > > 
> > > Paul
> >
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Re: parsing xml recursively help.

2006-09-25 Thread EECOLOR



You can find more info about it here:
 
http://livedocs.macromedia.com/flex/2/langref/operators.html#descendant_accessor
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Stack Overflow with circular managed associations.

2006-09-25 Thread thunderstumpgesatwork
So, a little more info on the managed associations.

If I have lazy="true" on the one, I don't get the stack overflow,
however the properties cannot be accessed. It is null. I would have
expected the "ItemPendingError" and the property to be fetched, but it
is just null.

Anyone know anything about this happening?

thanks,
Thunder


--- In flexcoders@yahoogroups.com, "thunderstumpgesatwork"
<[EMAIL PROTECTED]> wrote:
>
> 
> Hi guys,
> 
> I think this may be a bug. I have some classes that have
> bi-directional managed associations. If both sides are declared
> lazy=false, I'm getting a stack overflow error in Flex when the
> results are returned.
> 
> See the error output below. Any ideas? Shouldn't this work?
> 
> thanks,
> Thunder
> 
> Error: Error #1023: Stack overflow occurred.
>   at
>
mx.events::PropertyChangeEvent/clone()[C:\dev\GMC\sdk\frameworks\mx\events\PropertyChangeEvent.as:223]
>   at
>
mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:548]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::LevelKeyAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelKeyAttributesVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::LevelRelatedAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelRelatedAttributesVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::CubeItemVO/dispatchEvent()[C:\Flex\src\company\com\company\config\CubeItemVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::CubeContainerVO/dispatchEvent()[C:\Flex\src\company\com\company\config\CubeContainerVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::LevelVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::LevelKeyAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelKeyAttributesVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
mx.collections::ArrayList/mx.collections:ArrayList::itemUpdateHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:551]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::LevelRelatedAttributesVO/dispatchEvent()[C:\Flex\src\company\com\company\config\LevelRelatedAttributesVO.as:0]
>   at ()[C:\dev\enterprise_gmc\frameworks\mx\data\utils\Managed.as:412]
>   at
>
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
>   at flash.events::EventDispatcher/dispatchEvent()
>   at
>
com.company.config::CubeItemVO/dispatchEvent()[C:\Flex\src

Re: [flexcoders] Re: Flex and Screen / application Sharing

2006-09-25 Thread Darron J. Schall






Have you seen my FVNC project yet?

http://osflash.org/fvnc

It's a VNC client for ActionScript 3 that enables screen-sharing in
Flex applications.  The basic idea behind a presentation like you
describe would be:

* Host installs a VNC server, such as TightVNC
* Host configures VNC server to be "view only" so clients cannot
control the mouse or keyboard
* Host configures VNC server to allow multiple clients to be connected
* If behind a firewall, Host configures incoming VNC connections to be
allowed through the firewall and to the IP address of the hosts
machine, on port 5190 (usually)
* Viewers download FVNC.swf and run it from their computer
* Viewers enter IP address of server to connect to
* Viewers enter password
* Viewers are now connected and see the Hosts screen, which updates live

You can do this now, today, without having to code anything.  FVNC
still needs a few tweaks before I would call it really production
stable, but it works in general, and might be a good solution for you.

-d

brownd_92 wrote:


  
  Paul,
this is part of a videoconferencing suite which I am developing with 
Flex and FMS. I would like the presenter to de able to "drive" the 
presentation from his own machine. A bit like Breeze but on a 
smaller scale.
  
Cheers
  
David
  
  
  



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




RE: [flexcoders] Re: parsing xml recursively help.

2006-09-25 Thread Tracy Spratt












Aaron, be sure to look at all the e4x XML
class’ properties and methods.  They often remove the need to loop at
all.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of EECOLOR
Sent: Monday, September 25, 2006
10:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
parsing xml recursively help.



 









You can find more info about it here:





 





http://livedocs.macromedia.com/flex/2/langref/operators.html#descendant_accessor





 





 





Greetz Erik



 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Need help configuring JBoss and Flex 2/FDS samples

2006-09-25 Thread ericfillman
Hi.

I'm new to both JBoss and Flex, and I'm trying to get the FDS Sample 
applications to work in JBoss 4.04GA.

I think I've got everything configured according the installation 
instructions, and have spent countless hours Googling trying to find 
an answer, but so far nothing has worked.

The problem I'm having is that the sample apps aren't able to find 
any of the data services configured through data-management-
service.xml, or the JMS destinations configured in the remoting-
config.xml.

For example, when I try to run the Mini CRM Sample application, which 
connects to a temporary Hypersonic database, this is the error I get.

[MessagingError message='Unknown destination 'crm.employee' for 
service with id 'data-service'.']
at mx.messaging.config::ServerConfig$/getProperties()
at mx.data::Metadata$iinit()
at mx.data::ConcreteDataService$iinit()
at mx.data::ConcreteDataService$/getService()
at mx.data.mxml::DataService/set destination()
at mini/::_DataService1_i()
at mini$iinit()
at mx.managers::SystemManager/create()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()

When I try to run the Dashboard sample, which uses JMS, I get this:

[MessagingError message='Unknown destination 'dashboard_chat'.']
at mx.messaging.config::ServerConfig$/getChannelSet()
at 
mx.messaging::Consumer/mx.messaging:Consumer::initChannelSet()
at 
mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend()
at mx.messaging::Consumer/subscribe()
at Chat/::initComp()
at Chat/___Panel1_creationComplete()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()

I know that the Flex is working with JBoss, because I was able to get 
some other sample applications working that use web services to 
retrieve data from exteranl sources (a couple of samples that 
Cristophe had in his testdrive samples).

Anyway, I'm sure I'm missing something in the configuration with 
JBoss, but I just don't know what it is.  

If I need to provide additional information, please let me know.  Any 
help would be greatly appreciated.

Thanks.

Eric





--
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: Managed Attribute for Actionscript class objects

2006-09-25 Thread laidezmon
Thank you, that was very helpful/informative.

--- In flexcoders@yahoogroups.com, "Dirk Eismann" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> [Managed] is only useful if you use the Data Management feature of the
> Flex Data Services (FDS). If you just use RemoteObject to connect to
> your Java side, then [RemoteClass] should be enough (maybe you may want
> to add [Bindable] to the class body or some of the public properties).
> 
> [Managed] does some behind-the-scenes-magic, most importantly it takes
> your AS class makes it implement the mx.data.Imanaged interface. This
> ensures that all changes to the object are propagated to the Flex 2
> framework. It also enforces that all instances of the class have a
> unique UID identifier.
> 
> Rule of thumb: 
> 
> 1) if you use the Data Management feature (with or without Cairngorm),
> your VO classes should be decorated with [Managed] and [RemoteClass]
> metadata. You can leave out [Bindable] as this is implicit for [Managed]
> 
> 2) if you use RemoteObject (with or without Cairngorm) your VO classes
> should be decorated with the [RemoteClass] metadata and may be
> [Bindable] as well
> 
> Dirk.
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
> > Sent: Monday, September 25, 2006 2:38 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Managed Attribute for Actionscript 
> > class objects
> > 
> > Ok one last effort to get this on the top. Hopefully someone 
> > can answer this question.
> > 
> > --- In flexcoders@yahoogroups.com, "laidezmon"  wrote:
> > >
> > > Hoping to keep this from getting dropped to the bottom. 
> > > 
> > > Does anyone have any idea about this?
> > > 
> > > --- In flexcoders@yahoogroups.com, "laidezmon"  wrote:
> > > >
> > > > Question for the group here. 
> > > > 
> > > > I am working on an enterprise app, and I have gone through every 
> > > > piece of documentation and training I can get my hands on.
> > > > 
> > > > I noticed in all the help for Flex, the training/tutorials say to 
> > > > use the [Managed] attribute on your bindable actionscript objects 
> > > > that refer to java objects.
> > > > 
> > > > However I am going through the Cairngorm 2 store stuff, 
> > and none of 
> > > > thier actionscript objects have that attribute associated 
> > with them, 
> > > > even though they are actionscript objects that are 
> > translated to and 
> > > > from java objects.
> > > > 
> > > > So when are you supposed to use it, and when are you now? 
> > Why is it 
> > > > different in cairngorm? What does it really do?
> > > >
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>







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

<*> 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] Re: TextArea scrollbar not showing at runtime

2006-09-25 Thread Tom Chiverton
On Saturday 23 September 2006 17:45, Mike Britton wrote:
> I'm still having this problem, and have found no solution.  Has no one
> else ran into this problem where the Flex 2 TextArea scrollbar doesn't
> appear when text is loaded into it?  

Do you have a simple test case ?

-- 
Tom Chiverton
Helping to competently expedite eligible clusters



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

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




Re: [flexcoders] HTTP Status 500 Error using SSL endpoint

2006-09-25 Thread Tom Chiverton
On Friday 22 September 2006 20:31, syndrake7 wrote:
> on the remote server. I receive an HTTP: Status 500 error in its web
> log, and the same error code inside my Flex sample app.

That's an internal server error, and should include a description of what went 
wrong in a log file some where.

-- 
Tom Chiverton
Helping to assertively disseminate extensible patterns



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

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

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



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




RE: [flexcoders] Migration from flex1.5 to flex 2.0

2006-09-25 Thread Tracy Spratt












Your question implies that you have not
gotten very far with Flex 2.0 yet.

 

2.0 is very different  than
1.5.  Unless you are using FDS then there is no server to “configure”. 
In 2.0, you write mxml and as source, compile it, and deliver it in an HTML
wrapper.  Flex Builder 2.0 makes this easier, but it is not necessary, as
you can compile using the SDK.

 

There are major diffrences between AS2 and
AS3.  I have found data type issues to be the most problematic.  The syntax
changes themselves are easy enough to search and replace, if you have used good
coding techniques, like always specifying data types and scoping for functions
and variables.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hinishant28
Sent: Monday, September 25, 2006
8:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Migration
from flex1.5 to flex 2.0



 







Hi
I have an application in flex1.5 installed in jboss server. Now i am 
supposed to migrate the application to flex 2.0. What all 
configuration changes, I need to do?
Can anyone help me in telling me that.
Thanks in Advance

Regards
Nishant 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Duplicate/Copy Object

2006-09-25 Thread Travis Anderson
When I started this, I thought it would be simple, but I'm having a
hard time finding documentation on it.

I'm trying to duplicate an object. In this specific case, I have a
TabNavigator and I'm trying to copy the contents of the currently
selected tab into a new tab. However, the best I can do right now is
MOVE the contents from the original tab into the new tab.

Thanks in advance
 - Travis






--
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] Drill-Downs for ComboBox?

2006-09-25 Thread Daniel Freiman



I haven't seen a control or done it myself, but it should be pretty easy to implement.  Simply listen for keystrokes and filter the dataprovider collection.  If this is really all you need it might be less than 15 lines of code to do it.
On 9/24/06, Mike Anderson <[EMAIL PROTECTED]> wrote:
Hello All,Has anybody successfully written a custom ComboBox or ListBox, that asthe user types each subsequent character, it removes all the unrelateditems from the list, that no longer match the search query?
I guess it would have to be an editable ComboBox, so that the user couldactually type into the blank just above the items listed below.This control would be a spectacular addition to the Flex ToolBox.
If anybody has done this, or knows where to start with this, I'd beextremely interested in hearing about it.Thanks in advance,Mike--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: XML issues

2006-09-25 Thread jnewport
Thanks for your help so far.

Ok I have it working somewhat?  Here is my code and xml (sample). 

Something funny was I couldn't get the  to work until I backed 
out all the way to just 

Maybe flex is buggy?

Anyway, what I need to do now I am think is somehow convert my
xmldpAddress object to an Array or an ArrayCollection to populate my
datagrid, charts, and slider?  Or is there an easier way by just
leaving it as XML?  I have tried both

monthlyData=xmldpAddress as Array
monthlyData = event.result.list.month.source as Array;

but they don't work both show null.  I would rather not have to parse
my xml with several FOR (var i:number...etc) statements, but maybe
thats what it takes to turn my XML into an Array.
   

BEGIN CODE//

http://www.adobe.com/2006/mxml"; xmlns="*"
paddingTop="3"
creationComplete="feedRequest.send()"
pageTitle="Dashboard">
  
  

  











Revenue Timeline


















   













///END CODE/

///XML///






















END XML///

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> It is not the XML structure.  Either of those two examples would be
> fine.
> 
>  
> 
> Can you take this a step at a time?
> 
>  
> 
> Can you get data into a datagrid at all?  I don't do much charting, but
> can the line chart use the same dataProvider that the data grid does?
> Hard code a sample XML structure into an XML variable.
> 
>  
> 
> Structure your code so that the two controls are bound to a global
> variable dataProvider, probably an XMLListCollection.  Code a function
> that uses an e4x expression against the XML variable to set the value of
> that collection (use the collection API).
> 
>  
> 
> The slider dataProvider needs to ba a different var. A different e4x
> expression can return that collection or XMLList from the same base XML
> data  On the change event of the slider, call the function that uses the
> e4x expression to set the dataProvider for the grid and chart, filtering
> for the data you want.
> 
>  
> 
> You haven't said what problems you have been having. Or posted any code,
> so I can't be more specific.
> 
>  
> 
> What debugging techniques do you have available?
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jnewport
> Sent: Friday, September 22, 2006 4:00 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] XML issues
> 
>  
> 
> Ok, I have just wasted an entire week.and I think I am going to go
> insane. I have read every livedoc, flex doc and still no solution is
> working. 
> 
> Either the issue is my XML structure (though tried several)
> Or its my code or could be both.
> 
> Below are both xml structures. What I am trying to do is use the data
> (via a httpService) in BOTH a datagrid and linechart. And tie the
> datagrid and linechart to a slider. So I can map out the data for
> each state on a chart for the year and then let the slider control the
> months shown on the datagrid and linechart. I can't seem to pull the
> data out of the xml and use it to populate the datagrid, line chart,
> and slider. I tried e4x and bringing the data.xml file into an array
> like the example Adobe dashboard example. I would prefer not having
> to parse through the xml file and create several arrays for each
> region in the xml file unless I have to. I tried the new dot
> notation, but then I had issue with the slider and trying to convert
> the xml object into an array to populate the slider.
> 
> What is the best format for xml and what is the easiest way to
> populate the datagrid, slider, and linechart? 
> 
> [First Try XML]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> [Second Try XML]
> 
> 
> 
> Maine
> 34343
> 
> 
> Nebraska
> 23232
> 
> 
> Montana
> 6
> 
> 
> 
> 
> Maine
> 11343
> 
> 
> Nebraska
> 29932
> 
> 
> Montana
> 55644
> 
> 
> 
>





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

[flexcoders] Veiwstack reference

2006-09-25 Thread christophevond
I have an application that has a viewstack on the first page and in
the children of this viewstack, I would like to have a button that
changes the shown child of the viewstack.

This is what I was trying before, but it doesn't want to work:

[Bindable]
public var targetComponent:index; (Where index is the first page)

public function ChangeStack():void {
targetComponent.mainStack.selectedIndex = 1;   
}

mainStack is the ID of the viewstack on the first page.

Thanks.






--
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: Model is not persistent? Cairngorm, CFC to AS3 Mappings

2006-09-25 Thread lostinrecursion
I have figured it out! And unfortunately it is wholly due to my
inexperience. Hate when that happens. LOL

Basically it had to do with my referencing a shortcut to the model in
my View. I referenced it as myShortcut =
ApplicationModel.getInstance().shortcutTarget.

It should have only pointed to the bindable property of the class
which was the model instance itself, not any sub properties of it.

I could workaround this issue, for those that care, by also sticking a
[Bindable] tag above the property in the Model as well.

Se La Vi.
Thanks guys.
-LIR







--
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] Re: XML issues

2006-09-25 Thread Douglas Knudsen



have a look athttp://livedocs.macromedia.com/flex/2/langref/XML.htmlspecifically the examples.[EMAIL PROTECTED] is the pattern to see.  Nothing is buggy about it, use the E4X Luke!
DKOn 9/25/06, jnewport <[EMAIL PROTECTED]> wrote:
Thanks for your help so far.Ok I have it working somewhat?  Here is my code and xml (sample).Something funny was I couldn't get the  to work until I backedout all the way to just dataProvider="{xmldpAddress}then to dataProvider="{xmldpAddress.month
[0].region}so on and so forth.  I had to compile the app everytime walking my wayto Maybe flex is buggy?Anyway, what I need to do now I am think is somehow convert my
xmldpAddress object to an Array or an ArrayCollection to populate mydatagrid, charts, and slider?  Or is there an easier way by justleaving it as XML?  I have tried bothmonthlyData=xmldpAddress as Array
monthlyData = event.result.list.month.source as Array;but they don't work both show null.  I would rather not have to parsemy xml with several FOR (var i:number...etc) statements, but maybethats what it takes to turn my XML into an Array.
BEGIN CODE//http://www.adobe.com/2006/mxml" xmlns="*"paddingTop="3"
creationComplete="feedRequest.send()"pageTitle="Dashboard">
resultFormat="e4x" result="LoadXML(event)"/>

Revenue Timeline
snapInterval="1" minimum="0"
dataTipPlacement="bottom"/>
dataProvider="[EMAIL PROTECTED]" width="100"
height="100%" resize="false" allowMultipleSelection="true"dragEnabled="true"/>width="75%" height="100%">dataProvider="{xmldpAddress.month.region}" width="100%" height="100%"
allowMultipleSelection="true" dragEnabled="true">
dataField="revenue"/>
height="100%" />height="100%" />
///END CODEXML///



END XML///
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:>> It is not the XML structure.  Either of those two examples would be
> fine. Can you take this a step at a time? Can you get data into a datagrid at all?  I don't do much charting, but> can the line chart use the same dataProvider that the data grid does?
> Hard code a sample XML structure into an XML variable. Structure your code so that the two controls are bound to a global> variable dataProvider, probably an XMLListCollection.  Code a function
> that uses an e4x _expression_ against the XML variable to set the value of> that collection (use the collection API). The slider dataProvider needs to ba a different var. A different e4x
> _expression_ can return that collection or XMLList from the same base XML> data  On the change event of the slider, call the function that uses the> e4x _expression_ to set the dataProvider for the grid and chart, filtering
> for the data you want. You haven't said what problems you have been having. Or posted any code,> so I can't be more specific. What debugging techniques do you have available?
 Tracy >> From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On> Behalf Of jnewport> Sent: Friday, September 22, 2006 4:00 PM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] XML issues
 Ok, I have just wasted an entire week.and I think I am going to go> insane. I have read every livedoc, flex doc and still no solution is> working.>> Either the issue is my XML structure (though tried several)
> Or its my code or could be both.>> Below are both xml structures. What I am trying to do is use the data> (via a httpService) in BOTH a datagrid and linechart. And tie the> datagrid and linechart to a slider. So I can map out the data for
> each state on a chart for the year and then let the slider control the> months shown on the datagrid and linechart. I can't seem to pull the> data out of the xml and use it to populate the datagrid, line chart,
> and slider. I tried e4x and bringing the data.xml file into an array> like the example Adobe dashboard example. I would prefer not having> to parse through the xml file and create several arrays for each
> region in the xml file unless I have to. I tried the new dot> notation, but then I had issue with the slider and trying to convert> the xml object into an array to populate the slider.>> What is

[flexcoders] MXML Constructor

2006-09-25 Thread Marvin Froeder



Is possible to create a Constructor in MXML files?Marvin

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Model is not persistent? Cairngorm, CFC to AS3 Mappings

2006-09-25 Thread Mike Anderson
See, I am glad you did that - posting a reply/solution to your original
problem.

That really does aid people, that may express interest in your thread,
when searching for the same problem at a later time.  I wish everybody
did that - as it provides a full-circle solution, to problems posted on
this list.

Just wanted to say "nice job", as this is a good practice to adopt on
lists of this fashion.

Mike 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lostinrecursion
Sent: Monday, September 25, 2006 11:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Model is not persistent? Cairngorm, CFC to AS3
Mappings

I have figured it out! And unfortunately it is wholly due to my
inexperience. Hate when that happens. LOL

Basically it had to do with my referencing a shortcut to the model in my
View. I referenced it as myShortcut =
ApplicationModel.getInstance().shortcutTarget.

It should have only pointed to the bindable property of the class which
was the model instance itself, not any sub properties of it.

I could workaround this issue, for those that care, by also sticking a
[Bindable] tag above the property in the Model as well.

Se La Vi.
Thanks guys.
-LIR







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






 





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

<*> 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] Duplicate/Copy Object

2006-09-25 Thread EECOLOR



Hello,
 
as far as i know there is no such thing as duplicateMovieClip. Anyway, the contents of a TabNavigator are an instance of a class. So you could just create a new instance and add that instance as a child under a new tab, this however will not copy the data.

 
One other thing you might look into is copying via a ByteArray:
 
var ba:ByteArray = new ByteArray();
ba.writeObject(objectToCopy);
ba.position = 0;
var copiedObject:Object = ba.readObject();
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: services-config.xml No Destination Found

2006-09-25 Thread Mete Atamel



How are you compiling your mxml? Are you pointing to the services-config.xml during compilation?-MeteBrendan Meutzner <[EMAIL PROTECTED]> wrote: Hi Jeff,Sorry to keep bugging you about this, but something in my brain obviously isn't connecting.  I see from your example below that my structure is correct, although I am doing this with CF.  Here's where I'm at: 1) the services-config.xml file on both my local dev machine and my production box are identical.  2) When I compile the
 application to use my local machine (which has a CF instance on it) everything works fine.  (this is the 'myMachine' instance).  I set up the CF instances exactly the same. 3) When I compile to use either of my production servers (production1 or production2) is when I receive the error "No Destination 'production1'/'production2' exists in service flex.messenging.services.RemotingService "I'm attaching a copy of my services-config.xml file, as well as the trace output from the call attempt.  Also attaching a copy of the crossdomain.xml file that exists on all instances.  I'm sure this is something minor, but I'm missing it. Thanks for your help,BrendanOn 9/22/06,  Jeff Vroom <[EMAIL PROTECTED]com> wrote:  Sure, check out samples/WEB-INF/flex/remoting-config.xml and the services-config.xml in that directory.   The pattern we ship the samples with splits out the destination definitions of remoting, proxy, messaging, and data-management into different config files each of which are included by services-config.xml.  So the services-config.xml looks like:        
                                    And then remoting-config.xml would look like:         class="flex.messaging.services.RemotingService"      messageTypes="flex.messaging.messages.RemotingMessage">                                           
                    samples.sqladmin.DatabaseService                                 samples.dashboard.Feed      application               This is for the Java
 adapter though… do you need a CF specific configuration sample?     Jeff     From: [EMAIL PROTECTED]  ups.com [mailto: [EMAIL PROTECTED] ups.com] On Behalf Of Brendan Meutzner Sent: Friday, September 22, 2006 3:02 PM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Re: services-config.xml No Destination Found Jeff,  I believe you've put me on the right track now... however, would you be able to provide me with a sample of a services-config.xml file which has more than
 one destination and channel defined?  Thanks,  Brendan  On 9/22/06, Jeff Vroom <  [EMAIL PROTECTED]com> wrote:  Hi Brendan, That message is being generated from the server.   I take it the error is actually: "No destination 'CF_SFProdServer' exists in service flex.messaging.services.RemotingService" If that is the case, take a look at the  tag in your services-config.xml file.  That should exist inside of a tag that looks like:     class="flex.messaging.services.RemotingService"    messageTypes="flex.messaging.messages.RemotingMessage">    … your  tag should be here ….  The class and messageTypes attributes should match exactly… the "id" is not important.  Destination names are scoped both by the class of message(s) they receive as well as the type of service that is defining that destination.  Both of those are going to have to match what the server expects or the message is not going to get delivered.  It looks like your destination is just being defined as part of the wrong service, or maybe it has the wrong messageTypes? I hope this helps. Jeff  
 From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED]   ups.com] On Behalf Of Brendan Meutzner Sent: Friday, September 22, 2006 12:05 PM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Re: services-config.xml No Destination Found  
 Hi Jeff,  I'm getting "No destination 'detinationName' exists in service flex.messaging.services.RemotingService"  Here's a snippet of the TraceTarget output...   '14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer sending message 'A48825BE-FD16-7223-221D-D6D674320226'  'SFProdServer' channel endpoint set to http://   SFProdServer.xxx.com/flex2gateway/ 'SFProdServer' channel settings are:      SFProdServer.xxx.com/flex2gateway/"/>        false  
   ' SFProdServer' pinging endpoint. ' SFProdServer' channel is connected. 'SFProdServer' channel sending message:  (mx.messaging.messages::RemotingMessage)#0   body = (Array)#1     [0] ""   clientId = (null)   destination = " CF_SFProdServer"   headers = (Object)#2   messageId = "A48825BE-FD16-7223-221D-D6D674320226"   operation = "saveXML"   source = " reports.cf.cfc.metricXML"   timestamp = 0   timeToLive = 0 '14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer connected. '14A6969C-42E5-E3CA-9BA4-D6D63

Re: [flexcoders] MXML Constructor

2006-09-25 Thread EECOLOR



Hello,
 
i dont think its possible to create a constructor. Components that extend UIComponent should not use a constructor with arguments. Flex provides alot of hooks which you can use to do the initialization of your component. I recommend reading the 'flex2_createextendcomponents.pdf', the info starting at page 142: 'About the component instantiation life cycle' may interest you.

 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: tabbing in flex

2006-09-25 Thread stephenmartin2
There is some mention of implementing IFocusManager in the doc. In the
Creating Components book when describing how to implement AS components:
 
http://livedocs.macromedia.com/flex/2/docs/1727.html
 
And an example in the doc on creating item editors:
 
http://livedocs.macromedia.com/flex/2/docs/0863.html
 
But it probably deserves a section on its own. We should be able to
add something for the next release.
 
Stephen

--- In flexcoders@yahoogroups.com, dordea cosmin <[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply. I wasn't aware that you actually have to
write in the code 
> "implement IFocusManager"  to have focus enabled. I took a look in the 
> UI component source code and in the Button component source code and
saw what I had to do.
> Now back to my original question, is this specified anywhere in the
official documentation? .When reading the UIComponent
> documentation ,  focus options  looked like activated by default.
The effort to have focus is minimal, but i didn't see anywhere
> that you have to "implement the FocusManager interface" to have them
activated.  Thanks.
> 
> - Original Message 
> From: Dustin Mercer <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Friday, September 22, 2006 2:43:53 AM
> Subject: RE: [flexcoders] Re: tabbing in flex
> 
>
>   Yeah, this one was a bit annoying… Here is what I had to do to
get it working. I had to set the tabChilden property to true in your
custom component, override the setFocus method, and implement the
IFocusManagerCompon ent interface.  This is only if your component is
a pure AS component.  I found the mxml components tabbed fine.  One
side note:  There still seems to be some really weird tabbing issues
when tabbing out of the component.  Sometimes when you tab out of the
component, it tabs back to the beginning of the form.  Just some weird
things, I didn’t have a chance to trace it down though.  I’ll see
if I can get some time to fix that.  I included the source to a time
picker component that I built If you need something to reference
(it’s not perfect, but it should illustrate the solution).
>  
>  
>   From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED]
ups.com ] On Behalf Of khelonium
>  Sent: Thursday, September 21, 2006 8:04 AM
>  To: [EMAIL PROTECTED] ups.com
>  Subject: [flexcoders] Re: tabbing in flex
>
> 
>  I have the same problem and don't have a solution yet.
>  If I extend the UIComponent , shouldn't all the focus aspects work by
>  default? The documentation specifies that focus is enabled by
>  default. But it doesn't . If I try to use setFocus in a mouse event ,
>  focusEvents are not received by my component. Is there something that
>  I must do and it is not specified in the documentation to have
>  focusing work(mouse click , tab ,focus events)? Thank you.
>  
>  --- In [EMAIL PROTECTED] ups.com, "b0b0bb0b" 
wrote:
>  >
>  > well there are two things, one is a controlBar with buttons in it, 
>  > and when tabbed the first button will be highlighted then it will 
>  > just move onto the next text box in the VBox rather than the other 
>  > buttons in the controlBar. I haven't implented the below, so I was 
>  > just using the default settings. I then tried telling flex to make 
>  > them all true but the program tabbed in the same way.
>  > 
>  > 
>  > The other custom component is a mxml file that contains a dateField 
>  > and a text box. this get skiped altoghter when tabbing.
>  > 
>  > thanks
>  > 
>  > 
>  > 
>  > 
>  > 
>  > --- In [EMAIL PROTECTED] ups.com, "JesterXL"  wrote:
>  > >
>  > > Does it extend UIComponent (or a sub-class)? Does it implment:
>  > > 
>  > > tabChildren = false;
>  > > tabEnabled = true;
>  > > focusEnabled = true;
>  > > 
>  > > ???
>  > > 
>  > > - Original Message - 
>  > > From: "b0b0bb0b" 
>  > > To: <[EMAIL PROTECTED] ups.com>
>  > > Sent: Friday, July 21, 2006 10:04 AM
>  > > Subject: [flexcoders] tabbing in flex
>  > > 
>  > > 
>  > > if I have a Vbox with say 10 items in it. from buttons to text 
>  > boxes, 
>  > > as well as a custom component which I've extended. then when the 
>  > app 
>  > > loads I tab my way through the app which works fine until it comes 
>  > to 
>  > > the custom component. it has a tabIndex like the rest of the 
>  > buttons 
>  > > and text boxes, but it never recieves focus if you tab. the focus 
>  > moves 
>  > > straight to the next non-custom component.
>  > > Any ideas how to get around this.
>  > > cheers. I'm using flex 1.5
>  > > 
>  > > 
>  > > 
>  > > 
>  > > 
>  > > 
>  > > 
>  > > --
>  > > 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
>  > >
>  >
>






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

[flexcoders] Binding Combo-Boxes

2006-09-25 Thread Colin Shreffler



I have a situation where I am populating 3 different combo boxes with 3 different collections of objects that are returned from web services.In two of the cases, the combo box automatically selects the first item in the collection and automatically displays it in the combo boxes.
In one of the cases, the combo box does NOT automatically select or display any of the items in the collection to which its being bound.All comboboxes are being bound in exactly the same fashion: using the dataProvider="{
serviceName.MethodName.lastResult}".  Has anyone else experienced this inconsistency?Is there a way to explicitly tell the combobox NOT to automatically select the first item in the collection to which its being bound?
Thank you,CLS

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Architecting a large, modular Flex application

2006-09-25 Thread Derrick Grigg
Thanks everyone. Using Flex Builder I created a new flex library
project, added the cairngorm source files (com/adobe/cairngorm) and in
the project properites, set all the libraries in 'Flex Build
Path/Library Path' to 'external'. This reduced the compiled swc from
around 350k to 6k. Plugged the new swc into a project and everything
worked great.

--- In flexcoders@yahoogroups.com, "Dirk Eismann" <[EMAIL PROTECTED]> wrote:
>
> 76k? That seems quite large - mine is 9290 bytes only.
>  
> You may want to add the rpc.swc and utilities.swc to the external
library path as the two SWCs add another bunch of dependencies to the
resulting SWC file.
>  
> Dirk.
> 
> 
> 
> 
>   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas
>   Sent: Sunday, September 24, 2006 8:00 PM
>   To: flexcoders@yahoogroups.com
>   Subject: RE: [flexcoders] Re: Architecting a large, modular Flex
application
>   
>   
>   The cairngorm2-config.xml is used by the compiler to know which
classes/MXML files to compile (which it finds under the src folder).
>
>   the -external-library-path option will use those file during
compile time but not include them in the resulting SWC.
>
>   my cairngorm.swc is 76k.
>
>   Dimitrios Gianninas
>   RIA Developer
>   Optimal Payments Inc.
>
> 
> 
> 
>   From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Derrick Grigg
>   Sent: Thursday, September 21, 2006 11:45 AM
>   To: flexcoders@yahoogroups.com
>   Subject: [flexcoders] Re: Architecting a large, modular Flex
application
>   
>   
> 
>   Hey Dimitrios,
>   
>   I have tried using the 'compc' compiler that ships with Flex2, but I
>   am still getting an SWC for cairngorm that's around 350k. Using the
>   'compc' compiler, the syntax is a little different from your file's
>   but I think it's all correct. I have noticed two differences:
>   
>   1. you include '${SDK_LIB}/fds.swc' which I'm assuming is Flex Data
>   Services. I don't have that swc on my system, however I do have
>   rpc.swc, which my library will not compile without.
>   
>   2 you use a config filevalue="-load-config+=${basedir}/cairngorm2-config.xml"/> which I also
>   can not find anywhere in the Cairngorm package I downloaded from Adobe
>   labs. Is this a file you have created to exclude certain classes?
>   
>   Derrick
>   
>   --- In flexcoders@yahoogroups.com
 , "Dimitrios Gianninas"
>wrote:
>   >
>   > 
>   > Now that I am back in the office, here is the full ant command we
>   use to compile cairngorm and exclude all unneccesary libraries:
>   > 
>   >> dir="${BUILD}" 
>   > vmlauncher="false"
>   > failonerror="true">
>   > 
>   > 
>   >  
value="-external-library-path+=${SDK_LIB}/playerglobal.swc,${SDK_LIB}/framework.swc,${SDK_LIB}/fds.swc"/>
>   > 
>   >  
>   > 
>   > 
>   > Dimitrios Gianninas
>   > RIA Developer
>   > Optimal Payments Inc.
>   > 
>   > -Original Message-
>   > From: flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com  ]
>   On Behalf Of Dimitrios Gianninas
>   > Sent: Tuesday, September 19, 2006 6:26 PM
>   > To: flexcoders@yahoogroups.com  
>   > Subject: RE: [flexcoders] Architecting a large, modular Flex
application
>   > 
>   > Hi,
>   > 
>   > I think you have setup things pretty much the same way I would.
>   Although I have never gone that far... yet :)
>   > 
>   > One thing I did notice which you can change is that you said the
>   entire flex framework gets included in the cairngorm.swc ... doesn't
>   have to be. I build the carngorm.swc using the command-line compiler
>   and made sure to exclude the framework.swc, this did reduce the size
>   and is basically what I think you want to do. Don't remember the exact
>   switch, will have to get that to you tomorrow once I'm back in the
office.
>   > 
>   > Regards,
>   > 
>   > Dimitrios Gianninas
>   > Optimal Payments Inc.
>   > 
>   > 
>   > -Original Message-
>   > From: flexcoders@yahoogroups.com
  on behalf of derrickgrigg
>   > Sent: Tue 9/19/2006 11:23 AM
>   > To: flexcoders@yahoogroups.com  
>   > Subject: [flexcoders] Architecting a large, modular Flex application
>   > 
>   > I just want to bounce this idea/concept off the larger Flex
>   community to see if there are any holes or possibly better solutions.
>   

Re: [flexcoders] Re: services-config.xml No Destination Found

2006-09-25 Thread Brendan Meutzner



Compiling from within FlexBuilder and have the services-config.xml file referenced in the Compiler settings for the project.BrendanOn 9/25/06, 
Mete Atamel <[EMAIL PROTECTED]> wrote:













  



How are you compiling your mxml? Are you pointing to the services-config.xml during compilation?-MeteBrendan Meutzner <
[EMAIL PROTECTED]> wrote: Hi Jeff,Sorry to keep bugging you about this, but something in my brain obviously isn't connecting.  I see from your example below that my structure is correct, although I am doing this with CF.  Here's where I'm at: 
1) the services-config.xml file on both my local dev machine and my production box are identical.  2) When I compile the
 application to use my local machine (which has a CF instance on it) everything works fine.  (this is the 'myMachine' instance).  I set up the CF instances exactly the same. 3) When I compile to use either of my production servers (production1 or production2) is when I receive the error "No Destination 'production1'/'production2' exists in service 
flex.messenging.services.RemotingService "I'm attaching a copy of my services-config.xml file, as well as the trace output from the call attempt.  Also attaching a copy of the crossdomain.xml file that exists on all instances.  I'm sure this is something minor, but I'm missing it. 
Thanks for your help,BrendanOn 9/22/06,  Jeff Vroom <
[EMAIL PROTECTED]> wrote:
  Sure, check out samples/WEB-INF/flex/remoting-config.xml and the services-config.xml in that directory.   The pattern we ship the samples with splits out the destination definitions of remoting, proxy, messaging, and data-management into different config files each of which are included by 
services-config.xml.  So the services-config.xml looks like:     
   
       
      
        
            
   And then remoting-config.xml
 would look like:     
    class="flex.messaging.services.RemotingService"
      messageTypes="flex.messaging.messages.RemotingMessage">
     
            
         
      
          
 
    
          
      samples.sqladmin.DatabaseService  
      
         
      
          samples.dashboard.Feed
      application  
      
    
   This is for the Java
 adapter though… do you need a CF specific configuration sample?     
Jeff  
   
From: [EMAIL PROTECTED]
  ups.com [mailto:
 [EMAIL PROTECTED] ups.com] On Behalf Of Brendan Meutzner 
Sent: Friday, September 22, 2006 3:02 PM To: [EMAIL PROTECTED]
ups.com Subject: Re: [flexcoders] Re: services-config.xml No Destination Found
 Jeff,  I believe you've put me on the right track now... however, would you be able to provide me with a sample of a 
services-config.xml file which has more than
 one destination and channel defined?  Thanks,  Brendan  On 9/22/06, 
Jeff Vroom <  [EMAIL PROTECTED]> wrote:  
Hi Brendan,  
   That message is being generated from the server.   I take it the error is actually:
   
  "No destination 'CF_SFProdServer' exists in service flex.messaging.services.RemotingService"  
   If that is the case, take a look at the  tag in your 
services-config.xml file.  That should exist inside of a tag that looks like: 
  
      class="flex.messaging.services.RemotingService"  
      messageTypes="flex.messaging.messages.RemotingMessage"> 
   … your  tag should be here ….  
   
   
  The class and messageTypes attributes should match exactly… the "id" is not important.  Destination names are scoped both by the class of message(s) they receive as well as the type of service that is defining that destination.  Both of those are going to have to match what the server expects or the message is not going to get delivered.  It looks like your destination is just being defined as part of the wrong service, or maybe it has the wrong messageTypes?
   
  I hope this helps.   
  Jeff 

 
 From: [EMAIL PROTECTED] 
ups.com [mailto:[EMAIL PROTECTED]
   ups.com] On Behalf Of Brendan Meutzner Sent: Friday, September 22, 2006 12:05 PM 
To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Re: 
services-config.xml No Destination Found 
 
 Hi Jeff,  I'm getting "No destination 'detinationName' exists in service flex.messaging.services.RemotingService"  Here's a snippet of the TraceTarget output...   '14A6969C-42E5-E3CA-9BA4-D6D63C8631BA' producer sending message 'A48825BE-FD16-7223-221D-D6D674320226' 
 'SFProdServer' channel endpoint set to http:// 
  SFProdServer.xxx.com/flex2gateway/ 'SFProdServer' channel settings are:     
 SFProdServer.xxx.com/flex2gateway/"/>        false  
   ' SFProdServer' pinging endpoint. ' SFProdServer' channel is connected. 'SFProdServer' channel sending message:  (mx.messaging.messages::RemotingMessage)#0   body = (Array)#1
     [0] ""   clientId = (null)   destination = 

[flexcoders] States - add/remove vs create/destroy

2006-09-25 Thread Paul Spitzer
Hey all,

I'm at the start of a new Flex 2 project and am evaluating whether heavy 
use of states is a good idea. I really like how states and the state 
management works in Flex 2. I've done some prototyping and have seen 
some really clean results by writing and binding to state managers. 
Anyway... I've been digging into the state management code (in the Flex 
2 framework) a bit and have a concern...

 From what I can tell DisplayObject children created with AddChild and 
removed with RemoveChild are only removed from the display list and not 
completely destroyed. I don't necessarily think this is bad. In general 
it's probably preferred. However, I'm concerned that with large 
applications with many screens and components and heavy use of states 
that this might cause memory / perf issues. It also isn't desirable if a 
state is only accessed once and never seen again. I'm considering 
overriding some of the default state management behavior in order to 
have a create / destroy scenario. Before I get too deep into it I wanted 
to get some thoughts.

Does this sound like a valid concern? Do you think it will ever be an 
issue? Maybe I should just tackle it when / if it becomes an issue and 
not worry about it until then? Thoughts?

thanks,

Paul




--
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] Re: services-config.xml No Destination Found

2006-09-25 Thread EECOLOR





3) When I compile to use either of my production servers (production1 or production2) is when I receive the error "No Destination 'production1'/'production2' exists in service flex.messenging.services.RemotingService
 "
 
In you config you have definations named: CF_production1 and CF_production2, could this be the problem. In your description you are refering to 'production1' and 'production2' which are your channel names.

 
 
Greetz Erik 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Need help configuring JBoss and Flex 2/FDS samples

2006-09-25 Thread Peter Farland












Are you using an exploded or unexploded
WAR file? If the latter, can you try exploding it for deployment instead?

 

When you’re compiling the samples,
are you using the browser to invoke the .mxml files and thus relying on the FDS
webtier to do the compilation for you? Or are you using Flex Builder? If the
former, then have you checked that the /WEB-INF/flex/services-config.xml file
is present in your web application? If the latter, have you provided the
necessary –-services and –contextRoot MXML compiler arguments to
specify the location of the top-level services-config.xml file and the J2EE web
application context root of your deployed samples.war file?

 

Double check the destination names used in
the samples MXML code and compare them to the corresponding services-config.xml
file (or, if it is using includes (which it is likely to be by default),
compare them to the destinations in the appropriate service include config file
as referenced by the top level config).

 

Note that JMS destinations should be defined
under the message service which by default is configured though the messaging-config.xml
include.

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ericfillman
Sent: Monday, September 25, 2006
11:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need help
configuring JBoss and Flex 2/FDS samples



 







Hi.

I'm new to both JBoss and Flex, and I'm trying to get the FDS Sample 
applications to work in JBoss 4.04GA.

I think I've got everything configured according the installation 
instructions, and have spent countless hours Googling trying to find 
an answer, but so far nothing has worked.

The problem I'm having is that the sample apps aren't able to find 
any of the data services configured through data-management-
service.xml, or the JMS destinations configured in the remoting-
config.xml.

For example, when I try to run the Mini CRM Sample application, which 
connects to a temporary Hypersonic database, this is the error I get.

[MessagingError message='Unknown destination 'crm.employee' for 
service with id 'data-service'.']
at mx.messaging.config::ServerConfig$/getProperties()
at mx.data::Metadata$iinit()
at mx.data::ConcreteDataService$iinit()
at mx.data::ConcreteDataService$/getService()
at mx.data.mxml::DataService/set destination()
at mini/::_DataService1_i()
at mini$iinit()
at mx.managers::SystemManager/create()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()

When I try to run the Dashboard sample, which uses JMS, I get this:

[MessagingError message='Unknown destination 'dashboard_chat'.']
at mx.messaging.config::ServerConfig$/getChannelSet()
at 
mx.messaging::Consumer/mx.messaging:Consumer::initChannelSet()
at 
mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend()
at mx.messaging::Consumer/subscribe()
at Chat/::initComp()
at Chat/___Panel1_creationComplete()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()

I know that the Flex is working with JBoss, because I was able to get 
some other sample applications working that use web services to 
retrieve data from exteranl sources (a couple of samples that 
Cristophe had in his testdrive samples).

Anyway, I'm sure I'm missing something in the configuration with 
JBoss, but I just don't know what it is. 

If I need to provide additional information, please let me know. Any 
help would be greatly appreciated.

Thanks.

Eric






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Re: services-config.xml No Destination Found

2006-09-25 Thread Brendan Meutzner



Peter... I went through and changed machine names to post the files publicly... I see now I missed a spot, and hope that's not confusing everyone...  Anyway, I am calling my remote object like so:    And the relevant parts of the 
services-config.xml are:                
        *        false    remote
            false    false
    false            
        http://production1.xxx.xxx/flex2gateway/
" class="flex.messaging.endpoints.AMFEndpoint"/>        false    
    false            Does this clear things up?
Greetz... are you saying my naming structure could be causing problems, or are you referring to the same thing Peter has pointed out?Thanks guys!BrendanOn 9/25/06, 
EECOLOR <[EMAIL PROTECTED]> wrote:













  





3) When I compile to use either of my production servers (production1 or production2) is when I receive the error "No Destination 'production1'/'production2' exists in service flex.messenging.services.RemotingService

 "
 
In you config you have definations named: CF_production1 and CF_production2, could this be the problem. In your description you are refering to 'production1' and 'production2' which are your channel names.

 
 
Greetz Erik 

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Invalid Root problem

2006-09-25 Thread cheftimbob
Can anyone suggest a different forum where I could get an answer for 
this?



--- In flexcoders@yahoogroups.com, "cheftimbob" <[EMAIL PROTECTED]> wrote:
>
> Ok, is there anyone working in this type of set up? How about AIX?
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "cheftimbob"  wrote:
> >
> > Just a bump so this doesn't fall off. Any  experts out there with 
> > ideas?
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "cheftimbob"  
wrote:
> > >
> > > I'm new to this so please bear with me.
> > > 
> > > I've installed Flex2 IDE on my desktop PC. I have installed the 
> FDS 
> > on 
> > > one of our test AIX servers running WAS 5.1. The samples 
> > applications 
> > > all work. 
> > > 
> > > I'm working through some of the tutorials for using the data 
> > management 
> > > services. When I create the new Flex Data Services project I 
get 
> to 
> > the 
> > > point where I have to specify the root folder and root url. The 
> > root 
> > > url is easy enough. What do I put in for the root folder 
though? 
> > All of 
> > > the posts I've seen for this typically are where someone is 
> trying 
> > to 
> > > access a server running on their desktop PC or on a mapped 
> server. 
> > This 
> > > is an AIX box.
> > >
> >
>







--
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: Binding Combo-Boxes

2006-09-25 Thread Tim Hoff
Hi Colin,

It sounds like the ComboBox in question isn't receiving it's data.  
I would work backwards to verify that the dataProvider contains 
data, the RPC is coded correctly, middle tier queries work and 
webservice works.  Somewhere along the way there is an inconsistency.

> Is there a way to explicitly tell the combobox NOT to
> automatically select the first item in the collection to which its 
> being bound?

The default ComboBox selectedIndex == -1 (none selected).  You can 
set the ComboBox prompt property to initially display a message 
("Please Select a State") instead of the first item in the list.

-TH

--- In flexcoders@yahoogroups.com, "Colin Shreffler" 
<[EMAIL PROTECTED]> wrote:
>
> I have a situation where I am populating 3 different combo boxes 
with 3
> different collections of objects that are returned from web 
services.
> 
> In two of the cases, the combo box automatically selects the first 
item in
> the collection and automatically displays it in the combo boxes.
> 
> In one of the cases, the combo box does NOT automatically select 
or display
> any of the items in the collection to which its being bound.
> 
> All comboboxes are being bound in exactly the same fashion: using 
the
> dataProvider="{serviceName.MethodName.lastResult}".
> 
> Has anyone else experienced this inconsistency?
> 
> Is there a way to explicitly tell the combobox NOT to 
automatically select
> the first item in the collection to which its being bound?
> 
> Thank you,
> CLS
>






--
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] using an OCX with Flex

2006-09-25 Thread John Dowdell
boy_trike wrote:
> I am considering re-writing a traditional client-server application in Flex.  
> This will be an 
> INTRANET application and all of the clients have a registered OCX that my app 
> has to 
> communicate with (Interfaces with a phone dialer).

If all of your audience must use an OCX phone-dialer, then it sounds 
like they're all using the Microsoft browser for Windows. (This is the 
only browser family which uses ActiveX as an extension mechanism.)

Flex lives in your development flow and on your server, and it's a SWF 
which is delivered to their browsers to render. SWFs in IE can 
communicate with other ActiveX Controls, with the best communication 
being with those ActiveX Controls which expose a VBScript/JScript 
interface (Microsoft's "JavaScript" analogues).

Two steps here:
--  First confirm that the OCX dialer supports a suitable JavaScript 
API; then
--  Do a Google search on "externalinterface flex" to find the range of 
resources on implementing it.

Such work is usually a little trickier than standalone work, because 
you're asking the plugin, the browser, and the third-party control to 
all behave as you expect, but it's definitely an achievable goal.

jd


-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


--
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] flex 2 on mac resources?

2006-09-25 Thread Simeon Bateman



Hi smith,I have blogged several times on this topic.  I even have an ant script that does the same transformation features from the html-template folder that flex builder does.You can read through some of my posts on my site.  
http://simb.netBut feel free to post here if you have any specific questions.simeonOn 9/23/06, aaron smith
 <[EMAIL PROTECTED]> wrote:













  



Hey All,My work is going to be switching us developers to macs, I would like to find out about using Flex 2 SDK on Mac. Not neccessarily Flex Builder, I realize it's not out yet, but what about just using the compiler? Any good resources or places that document using the compiler on a mac? Any good resources for using this all with Textmate?
thankssmith

  


.
 












__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: flex 2 on mac resources?

2006-09-25 Thread Chris Griffith
The limited experiments I have been doing have all be inside Eclipse on 
my Mac. With a little help, have been using ANT to run the command line 
compiler, so I never had to leave Eclipse.

I would go take read through at : 
http://www.johnbarrett.net/blog/index.cfm/2006/7/6/Flex-now-compiles

Good Luck, and let's see what October might bring us...

Chris Griffith


--
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: Need help configuring JBoss and Flex 2/FDS samples

2006-09-25 Thread ericfillman
I was using the unexploded WAR file.

I deleted that, exploded the samples.war into it's own directory, and 
what do you know?

It works!!!

That was the only thing I did differently.

Thanks for the idea and the help.

Eric

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> Are you using an exploded or unexploded WAR file? If the latter, 
can you
> try exploding it for deployment instead?
> 
>  
> 
> When you're compiling the samples, are you using the browser to 
invoke
> the .mxml files and thus relying on the FDS webtier to do the
> compilation for you? Or are you using Flex Builder? If the former, 
then
> have you checked that the /WEB-INF/flex/services-config.xml file is
> present in your web application? If the latter, have you provided 
the
> necessary --services and -contextRoot MXML compiler arguments to 
specify
> the location of the top-level services-config.xml file and the J2EE 
web
> application context root of your deployed samples.war file?
> 
>  
> 
> Double check the destination names used in the samples MXML code and
> compare them to the corresponding services-config.xml file (or, if 
it is
> using includes (which it is likely to be by default), compare them 
to
> the destinations in the appropriate service include config file as
> referenced by the top level config).
> 
>  
> 
> Note that JMS destinations should be defined under the message 
service
> which by default is configured though the messaging-config.xml 
include.
> 
>  
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of ericfillman
> Sent: Monday, September 25, 2006 11:33 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Need help configuring JBoss and Flex 2/FDS 
samples
> 
>  
> 
> Hi.
> 
> I'm new to both JBoss and Flex, and I'm trying to get the FDS 
Sample 
> applications to work in JBoss 4.04GA.
> 
> I think I've got everything configured according the installation 
> instructions, and have spent countless hours Googling trying to 
find 
> an answer, but so far nothing has worked.
> 
> The problem I'm having is that the sample apps aren't able to find 
> any of the data services configured through data-management-
> service.xml, or the JMS destinations configured in the remoting-
> config.xml.
> 
> For example, when I try to run the Mini CRM Sample application, 
which 
> connects to a temporary Hypersonic database, this is the error I 
get.
> 
> [MessagingError message='Unknown destination 'crm.employee' for 
> service with id 'data-service'.']
> at mx.messaging.config::ServerConfig$/getProperties()
> at mx.data::Metadata$iinit()
> at mx.data::ConcreteDataService$iinit()
> at mx.data::ConcreteDataService$/getService()
> at mx.data.mxml::DataService/set destination()
> at mini/::_DataService1_i()
> at mini$iinit()
> at mx.managers::SystemManager/create()
> at mx.managers::SystemManager/::initializeTopLevelWindow()
> at mx.managers::SystemManager/::frameEndHandler()
> 
> When I try to run the Dashboard sample, which uses JMS, I get this:
> 
> [MessagingError message='Unknown destination 'dashboard_chat'.']
> at mx.messaging.config::ServerConfig$/getChannelSet()
> at 
> mx.messaging::Consumer/mx.messaging:Consumer::initChannelSet()
> at 
> mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend()
> at mx.messaging::Consumer/subscribe()
> at Chat/::initComp()
> at Chat/___Panel1_creationComplete()
> at 
> 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
> entFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.core::UIComponent/set initialized()
> at mx.managers::LayoutManager/::doPhasedInstantiation()
> at Function/http://adobe.com/AS3/2006/builtin::apply
>  ()
> at mx.core::UIComponent/::callLaterDispatcher2()
> at mx.core::UIComponent/::callLaterDispatcher()
> 
> I know that the Flex is working with JBoss, because I was able to 
get 
> some other sample applications working that use web services to 
> retrieve data from exteranl sources (a couple of samples that 
> Cristophe had in his testdrive samples).
> 
> Anyway, I'm sure I'm missing something in the configuration with 
> JBoss, but I just don't know what it is. 
> 
> If I need to provide additional information, please let me know. 
Any 
> help would be greatly appreciated.
> 
> Thanks.
> 
> Eric
>






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

[flexcoders] Viewstack with canvas + centered panel

2006-09-25 Thread Jeroen Beckers
Hi,

I'm fairly new to Flex, but I have been developing in Flash for some 
years now. The reason why I mailed you guys is that I'm having trouble 
with the viewstack component...

This is what I want:

-viewstack
-Canvas
-Panel

The Canvas has to cover the entire stage and the Panel has to be 
centered on the stage (both vertically as horizontally).

Could anyone give me a push in the right direction? Maybe a little mxml 
or something ?

I can get a canvas + panel into a viewstack, but I really can't figure 
out how to center the panel and 'stretch' the canvas ...

Greets,
Jeroen Beckers
[EMAIL PROTECTED]
http://www.dauntless.be


--
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] SOAP with attachments... not possible?

2006-09-25 Thread ben.clinkinbeard
Hello, I came across some info (after unsuccessfully trying myself)
stating that it is not possible to make SOAP calls with attachments in
Flex because:

The problem with the Flex file upload using FileReference is that it
does not provide support for sending SOAP attachments.

   1. Headers cannot be added (therefore we cannot specify SOAPAction)
   2. Content-Type is fixed as multipart/Form-Data which may not work
with our webservice
   3. It doesn't allow you to arrange/ specify in what order the
multiparts appear in, or if you want the generated blocks to appear at all
   4. Doesn't seem to pick up the entire file as binary output when
monitoring the outgoing request using TCP/IP monitor.


Is this true? What is the best solution for an app that requires a
file be uploaded and its contents returned to the Flash player?

Thanks,
Ben






--
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] Overriding functions that you can't override

2006-09-25 Thread David Harris



The other Christmas I got a 2 new keys for my computer keyboard...one was "Panic" and the other one was "duh"...I think I'll be pressing the "duh" key now :-sThanks Eric for your help!
On 9/25/06, EECOLOR <[EMAIL PROTECTED]> wrote:













  



Haha, 
 
yeah, its quite obvious, you are missing the override keyword:
 
override public function set source();
 
Good luck!
 
 
Greetz Erik

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] How does a component communicate with the Application

2006-09-25 Thread boy_trike
I am trying to build a modular application (that means, with a lot of 
components).  I have a lot 
of common code  that I would like to include ONCE in the application and make 
available to 
all of the components.  My question is how do I have a component access a 
function / 
variable that is in the main application?

Thanks

Bruce






--
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] Viewstack with canvas + centered panel

2006-09-25 Thread Ashish Goyal












To stretch the Canvas you can set the
width and height to 100%.

 

To get the Panel centered on the stage (Canvas),
set horizontalCenter and verticalCenter properties on the Panel to 0. These are
constrained based layout properties and they work only if the component is a
child of Canvas as in your case.

 

-Ashish

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen Beckers
Sent: Monday, September 25, 2006
1:13 PM
To: flexcoders
Subject: [flexcoders] Viewstack
with canvas + centered panel



 







Hi,

I'm fairly new to Flex, but I have been developing in Flash for some 
years now. The reason why I mailed you guys is that I'm having trouble 
with the viewstack component...

This is what I want:

-viewstack
-Canvas
-Panel

The Canvas has to cover the entire stage and the Panel has to be 
centered on the stage (both vertically as horizontally).

Could anyone give me a push in the right direction? Maybe a little mxml 
or something ?

I can get a canvas + panel into a viewstack, but I really can't figure 
out how to center the panel and 'stretch' the canvas ...

Greets,
Jeroen Beckers
[EMAIL PROTECTED]be
http://www.dauntless.be






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: using an OCX with Flex

2006-09-25 Thread boy_trike
Thanks for the response!  Since this is an INTRANET (and the SWF is sitting on 
an 
accessable file server) I can either use a browser OR the flash player to run 
the SWF.  My 
choice. (which ever is EASIER).  This OCX is  written in VB and expects to run 
under most 
3GL's (Delphi, VB, C, etc.).   Does this make my implimentation easier?

Thanks

Bruce

--- In flexcoders@yahoogroups.com, John Dowdell <[EMAIL PROTECTED]> wrote:
>
> boy_trike wrote:
> > I am considering re-writing a traditional client-server application in 
> > Flex.  This will be 
an 
> > INTRANET application and all of the clients have a registered OCX that my 
> > app has to 
> > communicate with (Interfaces with a phone dialer).
> 
> If all of your audience must use an OCX phone-dialer, then it sounds 
> like they're all using the Microsoft browser for Windows. (This is the 
> only browser family which uses ActiveX as an extension mechanism.)
> 
> Flex lives in your development flow and on your server, and it's a SWF 
> which is delivered to their browsers to render. SWFs in IE can 
> communicate with other ActiveX Controls, with the best communication 
> being with those ActiveX Controls which expose a VBScript/JScript 
> interface (Microsoft's "JavaScript" analogues).
> 
> Two steps here:
> --  First confirm that the OCX dialer supports a suitable JavaScript 
> API; then
> --  Do a Google search on "externalinterface flex" to find the range of 
> resources on implementing it.
> 
> Such work is usually a little trickier than standalone work, because 
> you're asking the plugin, the browser, and the third-party control to 
> all behave as you expect, but it's definitely an achievable goal.
> 
> jd
> 
> 
> -- 
> John Dowdell . Adobe Developer Support . San Francisco CA USA
> Weblog: http://weblogs.macromedia.com/jd
> Aggregator: http://weblogs.macromedia.com/mxna
> Technotes: http://www.macromedia.com/support/
> Spam killed my private email -- public record is best, thanks.
>






--
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] background discoloration when using embedded fonts

2006-09-25 Thread JClouz





When I create a text field and use an embedded font 
I get a discoloration in the text field.  Instead of being transparent 
outside of the text, it's discolored and looks bad.  Often I can click on 
it in the Flash Player and it will go away, often times it won't.
 
 
Any advice?  It really looks bad.  
Thanks!
 
 
 
Jamie
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] How does a component communicate with the Application

2006-09-25 Thread dordea cosmin


All visual components that extend the UIComponent have the parentApplication property which is what I think you need.For more information  check http://livedocs.macromedia.com/flex/2/langref/mx/core/UIComponent.html#parentApplication- Original Message From: boy_trike <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Monday,
 September 25, 2006 11:44:52 PMSubject: [flexcoders] How does a component communicate with the Application





I am trying to build a modular application (that means, with a lot of components).  I have a lot 
of common code  that I would like to include ONCE in the application and make available to 
all of the components.  My question is how do I have a component access a function / 
variable that is in the main application?

Thanks

Bruce


  


 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


Re: [flexcoders] How does a component communicate with the Application

2006-09-25 Thread Paul Andrews
- Original Message - 
From: boy_trike
To: flexcoders@yahoogroups.com
Sent: Monday, September 25, 2006 9:44 PM
Subject: [flexcoders] How does a component communicate with the Application


> I am trying to build a modular application (that means, with a lot of 
> components). I have a lot
> of common code that I would like to include ONCE in the application and 
> make available to
> all of the components.

Isn't that what classes are for?

> My question is how do I have a component access a function /
> variable that is in the main application?

A better approach (to avoid having sphagetti code) would be to use events 
for inter-component/application communication rather than invoking functions 
directly. Your components will not be reusable otherwise.

Paul

>Thanks
>
>Bruce




--
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] Veiwstack reference

2006-09-25 Thread Tracy Spratt












You can certainly do what you ask.

 

Is “targetComponent” a valid reference?

Are you passing in a reference to “this”
when you instantiate the child components?



  

 

You could also just do: 

Application.application.mainStack.selectedIndex
= 1;

 

But then you can only use the child
component in a viewstack in the main app scope.  The first wayt lets you
have a different component parent.

 

Another way, preferred by many, is to have
your component emit a custom event, and have a listener respond to it.

 

Tracy









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of christophevond
Sent: Monday, September 25, 2006
12:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Veiwstack
reference



 







I have an application that has a viewstack on the
first page and in
the children of this viewstack, I would like to have a button that
changes the shown child of the viewstack.

This is what I was trying before, but it doesn't want to work:

[Bindable]
public var targetComponent:index; (Where index is the first page)

public function ChangeStack():void {
targetComponent.mainStack.selectedIndex = 1; 
}

mainStack is the ID of the viewstack on the first page.

Thanks.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] BindingUtils, initial bindings that produce errors

2006-09-25 Thread aaron smith



I have a situation where I need to use the binding utils. I set up the binding on a creation complete call of one of the views. but the problem is that my model doesn't have any data in it. How do you set up bindings on vars that initially don't have values, using BindingUtils.. 
thanks.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] background discoloration when using embedded fonts

2006-09-25 Thread Daniel Freiman



I've never seen this before and work alot with embeded fonts.  Exactly what control are you using?On 9/25/06, JClouz <
[EMAIL PROTECTED]> wrote:








When I create a text field and use an embedded font 
I get a discoloration in the text field.  Instead of being transparent 
outside of the text, it's discolored and looks bad.  Often I can click on 
it in the Flash Player and it will go away, often times it won't.
 
 
Any advice?  It really looks bad.  
Thanks!
 
 
 
Jamie





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: XML issues

2006-09-25 Thread Steve Kellogg @ Project SOC










Douglas (or anyone else that feels like following up)..

 

I’m trying to solve a specific
problem currently that actually involves the Descendant Accessor (..).

 

 

I need to search a whole tree for a node
with a specific node that has a specific attribute set to a specific value…

 

I have THAT CODE WORKING…  But I
only NEED to get ONE such node each time I do the search (this is for a
background task).

 

Is there any way to LIMIT the quantity
that an XMLList should return?

 

 

Best Regards,

 

Steve

 

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
Sent: Monday, September 25, 2006
10:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: XML
issues



 

have a look at
http://livedocs.macromedia.com/flex/2/langref/XML.html
specifically the examples.

[EMAIL PROTECTED] is the pattern to see.  Nothing is buggy about
it, use the E4X Luke! 

DK



On 9/25/06, jnewport
<[EMAIL PROTECTED]>
wrote:

Thanks for your help so
far.

Ok I have it working somewhat?  Here is my code and xml (sample).

Something funny was I couldn't get the  to work until I backed
out all the way to just 
dataProvider="{xmldpAddress}

then to 
dataProvider="{xmldpAddress.month [0].region}

so on and so forth.  I had to compile the app everytime walking my
way
to 

Maybe flex is buggy?

Anyway, what I need to do now I am think is somehow convert my 
xmldpAddress object to an Array or an ArrayCollection to populate my
datagrid, charts, and slider?  Or is there an easier way by just
leaving it as XML?  I have tried both

monthlyData=xmldpAddress as Array 
monthlyData = event.result.list.month.source as Array;

but they don't work both show null.  I would rather not have to parse
my xml with several FOR (var i:number...etc) statements, but maybe
thats what it takes to turn my XML into an Array. 


BEGIN CODE//

http://www.adobe.com/2006/mxml"
xmlns="*"
paddingTop="3" 
creationComplete="feedRequest.send()"
pageTitle="Dashboard">

  

  

 


resultFormat="e4x" result="LoadXML(event)"/>
 







Revenue
Timeline






snapInterval="1" minimum="0" 
dataTipPlacement="bottom"/>



 



dataProvider="[EMAIL PROTECTED]"
width="100" 
height="100%"
resize="false" allowMultipleSelection="true"
dragEnabled="true"/>


width="75%" height="100%">

dataProvider="{xmldpAddress.month.region}" width="100%"
height="100%" 
allowMultipleSelection="true" dragEnabled="true">

 

dataField="revenue"/>








height="100%" />

height="100%" />

 



///END CODE/

///XML///




 


 




 


 






END XML/// 

--- In flexcoders@yahoogroups.com,
"Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> It is not the XML structure.  Either of those two examples would
be 
> fine.
>
>
>
> Can you take this a step at a time?
>
>
>
> Can you get data into a datagrid at all?  I don't do much
charting, but
> can the line chart use the same dataProvider that the data grid does? 
> Hard code a sample XML structure into an XML variable.
>
>
>
> Structure your code so that the two controls are bound to a global
> variable dataProvider, probably an XMLListCollection.  Code a
function 
> that uses an e4x _expression_ against the XML variable to set the value of
> that collection (use the collection API).
>
>
>
> The slider dataProvider needs to ba a different var. A different e4x 
> _expression_ can return that collection or XMLList from the same base XML
> data  On the change event of the slider, call the function that
uses the
> e4x _expression_ to set the dataProvider for the grid and chart, filtering 
> for the data you want.
>
>
>
> You haven't said what problems you have been having. Or posted any code,
> so I can't be more specific.
>
>
>
> What debugging techniques do you have available? 
>
>
>
> Tracy
>
>
>
> 
>
> From: flexcoders@yahoogroups.com
[mailto: flexcoders@yahoogroups.com]
On
> Behalf Of jnewport
> Sent: Friday, September 22, 2006 4:00 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] XML issues 
>
>
>
> Ok, I have just wasted an entire week.and I think I am going to go
> insane. I have read every livedoc, flex doc and still no s

[flexcoders] many-to-many destinations help

2006-09-25 Thread passive_thoughts
Can anyone provide an example of what the metadata section of my
destinations should look like in a many-to-many scenario?

3 tables: patient, doctor, doctorpatient

patient can have many doctors, doctor can have many patients.

I'd like to implement lazy loading as well, only calling up doctors on
a patient when user requests it, as well as the reverse.

Here's my guess...

for destination patient:
 

for destination doctor:
 

for destination docpatient (do i need this?):
 
 

My mind is fried. Please help.

Vic





--
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] styling questions

2006-09-25 Thread aaron smith



how can I change just the font color of a panel's title, and not let the children inherit that?Also, when I put a Panel{} style in my external style sheet, it tells me that it is an unused type, but I have 3 Panels in my app, why would it do that?
thanks.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] many-to-many destinations help

2006-09-25 Thread hank williams
Someone will probably answer this question and make it totally clear
to me, but what are you talking about. By that I mean is this FDS
related? I use FDS, but only for remoting and so have not yet set up a
Data Service, and I am just curious.

Hank

On 9/25/06, passive_thoughts <[EMAIL PROTECTED]> wrote:
> Can anyone provide an example of what the metadata section of my
> destinations should look like in a many-to-many scenario?
>
> 3 tables: patient, doctor, doctorpatient
>
> patient can have many doctors, doctor can have many patients.
>
> I'd like to implement lazy loading as well, only calling up doctors on
> a patient when user requests it, as well as the reverse.
>
> Here's my guess...
>
> for destination patient:
>  destination="app.medical.docpatient" lazy="false"/>
>
> for destination doctor:
>  destination="app.medical.docpatient" lazy="false"/>
>
> for destination docpatient (do i need this?):
>  lazy="false"/>
>  lazy="false"/>
>
> My mind is fried. Please help.
>
> Vic
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>


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

<*> 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: styling questions

2006-09-25 Thread Tim Hoff
That would be titleStyleName my man. docs, docs, docs.

-TH

--- In flexcoders@yahoogroups.com, "aaron smith" 
<[EMAIL PROTECTED]> wrote:
>
> how can I change just the font color of a panel's title, and not 
let the
> children inherit that?
> 
> Also, when I put a Panel{} style in my external style sheet, it 
tells me
> that it is an unused type, but I have 3 Panels in my app, why 
would it do
> that?
> 
> 
> thanks.
>







--
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] Webservices from actionscript...

2006-09-25 Thread Ken Bromberger










Hi!,

Does any one have some good references/examples on calling
webservices from actionscript? I would like to see some examples sending
parameters etc to the webservice using actionscript. - Ken

 

 

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





RE: [flexcoders] File - flexcodersFAQ.txt

2006-09-25 Thread Matt Chotin
BTW, I did send Steven an update to this a few months ago but he hasn't
had time to post it.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 24, 2006 10:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] File - flexcodersFAQ.txt


 Flexcoders Frequently Asked Questions
  Last Updated: 30th May 2005
 

 Contributors:

Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,
 Peter Farland, Abdul Qabiz, Tracy Spratt, Jesse Warden, Dan Harfleet,
  Manish Jethani, Dimitrios Gianninas


1. What is Flexcoders?
2. How does Flexcoders relate to the Macromedia Flex Forum on
   www.macromedia.com?
3. Who posts to Flexcoders?
4. Resources to check before asking a question
5. Guidelines for effective question-asking
6. FAQ


1. What is Flexcoders?

Flexcoders is a forum where developers can ask questions about Flex,
FlexBuilder, and Flex-related technologies (like Cairngorm, FlexUnit and
SynergyFLEX).  The community is made up of everyday Flex developers as
well as Macromedia employees. However, this is not an official
Macromedia-sponsored forum, it is actually moderated by the folks at
iteration::two, a consultancy responsible for authoring the book
Developing Rich Internet Applications with Macromedia Flex.


2. How does Flexcoders relate to the Macromedia Flex Forum on
   www.macromedia.com?

Both the Macromedia Flex Forum and Flexcoders provide help on issues
related to Flex, and neither is an official support mechanism.  Some
people monitor both forums, some only one.  It is up to you to decide
where you might have a better experience getting a question answered and
being able to subsequently help others.


3. Who posts to Flexcoders?

Everyone who has a question or an answer.  Many members of the Flex
development team read and respond to Flexcoders as well as other
Macromedia folks who monitor the community.

Some recurring Macromedia folks are:

David Mendels: EVP and GM, highest-level executive in charge of Flex.
Lucian Beebe: Sr. Product Manager, Flex. Matt Chotin, Manish Jethani,
Abdul Qabiz, Gordon Smith, Peter Farland and many more: Engineers on
Flex.

Active community members include:

Steven Webster (Technical Director at iteration::two and co-author of
Developing Rich Clients with Macromedia Flex), Alistair McLeod
(Development Director at iteration::two and co-author of Developing Rich
Clients with Macromedia Flex), Jesse Warden (JesterXL - Flash badass
playing with Flex), Tracy Spratt (long-time member, holder of all
knowledge related to 32K limits), Jeff Steiner (maintainer of
www.flexauthority.com), Tariq Ahmed (maintainer of www.cflex.net), Jimmy
Gianninas (long-time member, developer at Optimal Payments).

And so many more!


4. Resources to check before asking a question

The Flexcoders Mail Archive (better searching than YahooGroups):
http://www.mail-archive.com/flexcoders%40yahoogroups.com

http://www.cflex.net/showfaq.cfm
http://livedocs.macromedia.com/flex/15/asdocs_en/index.html
http://www.macromedia.com/go/flex15_java_livedocs
http://www.macromedia.com/cfusion/knowledgebase/index.cfm
http://www.cflex.net http://www.flexauthority.com
http://www.macromedia.com/devnet/flex http://coenraets.com
http://weblogs.macromedia.com/mxna/ http://www.google.com 

The Book "Developing Rich Clients with Macromedia Flex" (check your
favorite bookstore)



5. Guidelines to effective question-asking

Include a useful subject; this will help people find their own questions
and answers later.

Explain what you are trying to accomplish.

Explain the error (include compilation errors or a description of the
runtime behavior).

Be prepared to break your problem down into a simpler scenario in case
someone wants to try to debug the code themselves.  Remember, private
web services are inaccessible; you may need to create some dummy data to
emulate problems.

Phrases to avoid:

"URGENT" (we all have deadlines, no one is intentionally delaying a
response to you)

"Please send code" (this is very frustrating to read as it implies you
aren't interested in learning anything on your own.  Where code is
appropriate you can expect someone to provide it, but in many cases you
will learn more by doing it on your own with appropriate guidance.  It
may be that you're on a deadline and just want to finish, but many of
those who respond regularly would prefer to "teach you to fish" so that
you can answer your own questions next time and even help out others).


6. Mini-FAQ



Q: Can I mail Matt, Manish, Abdul, Pete, Gordon, iteration::two, or
anyone else for that matter off-line with my question?

A: Please don't!  If someone is capable of answering your question on-
list please believe that it will be done.  Everyone on the list has
full-time jobs doing their own work and often answer flex

  1   2   >