RE: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread Jason Hawryluk
Looks good I’ll take a look, and see if I can't get some ideas working. I'm
certainly willing to share Mike that’s really no problem. I just think that
being able to re-brand a app with out recompile would be so handy especially
to me, and most likely many others. But to be able to do it with out going
through every control and using the built in setStyle would be the cherry on
the cake.

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Michael Schmalle
Envoyé : lundi 5 juin 2006 17:00
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3


ok,

Well, there is two properties now in the framework, inheritingStyles and
nonInheritingStyles. I didn't have these things to work with in the v2
framework. From testing about a month ago when this question came up, I
realized alots of possiblities using these objects.

Not to mention the whole way styles cascade and are registered are completly
different.

The way I see it;

I didn't even notice but there is no load() on the StyleSheet object
anymore.

What I did with my runtime in AS2 was created an ExternalStyleSheet class.
Then I created an ExternalStyleCache class that was a singleton.

Well, I will just post the two classes. If anybody uses any of this, please
just run me a note becasue I would like to make it to, just not enough time
to do it all.

Mind you, this was from AS2 v2 components and it DID work great. I am just
posting this becasue I actually think a pattern like this might actually
work. I havn't had enough time to actually figure out if it will work in
FLex 2.

And.. there is no applyStyles() in this, that was in my extended framework.

Peace, Mike

ExternalStyleCache ::


import mx.events.EventDispatcher;
import com.teotigraphix.styles.external.ExternalStyleSheet;

/*

var cache = ExternalStyleCache.getStyleCache();

- If the static _styleCache is not created
- _styleCache = new ExternalStyleCache
- _global.styleCache = this
- getDataProvider()
- __dataProvider = new Array()
- EventDispatcher.initialize(this);




*/







/**
 * This is used with all ObjectUI classes to track externally loaded and
internally loaded style sheets.
 * pAdds creation, loading and removing methods to the styleCache API./p
 * @author Michael J. Schmalle
 * @email [EMAIL PROTECTED]
 * @date 01-11-05
 * @version 0.9.0
 * @updated 01-12-05 MS [0.1.1] Commenting, got this class to work on
proto level.
 * @updated 02-23-05 MS [0.2.0] MAJOR refactoring, new file and new
algorithm for accessing styles.
 * @updated 03-07-05 MS [0.3.0] Created new file in hopes to get good
abstraction and encapsulation going.
 * @updated 03-16-05 MS [0.9.0] I like this version, commented and pruned
all methods. Looks good now!
 * @updated 08-23-05 MS [0.9.1] Working to encapsulate this into a compiled
SWF component.
 */
class com.teotigraphix.styles.external.ExternalStyleCache
{
// mixed in from event dispatcher
public var dispatchEvent:Function;
public var removeEventListener:Function;
public var addEventListener:Function;
var EVT:Function = mx.utils.Delegate.create;

/**
The instance class name of this class.
*/
var className:String = ExternalStyleCache;

/**
 * The reference to or single instance of the ExternalStyleCache
 */
private static var _styleCache:ExternalStyleCache = null;

/**
 * The single object of external .css files.
 */
private var __dataProvider:Object;

/**
 * The private constructor, we also initialize some other stuff.
 * pThe EventDispatcher and a lazy reference to this singleton class
in the _global.styleCache property./p
 */
private function ExternalStyleCache()
{
if (_global.styleCache == undefined) {
_global.styleCache = this;
getDataProvider();
EventDispatcher.initialize(this);
}
}

/**
 * Returns the only access point into this class.
 * Create the _styleCache private static property, call getDataProvider
() which initializes the __dataProvider
 * array for all the ExternalStyleSheet instances to be hung.
 * @return the singleton ExternalStyleCache instance.
 * @usage var styleCache = ExternalStyleCache.getStyleCache ();
 */
public static function getStyleCache():ExternalStyleCache
{
if (_styleCache == null) {
_styleCache = new ExternalStyleCache();
}
return _styleCache;
}

/**
 * Returns the cache's dataProvider array, which why would I want this
public?
 * @return the cache's dataProvider array.
 */
private static function getDataProvider():Array
{
var cache = getStyleCache();
if (cache.__dataProvider == undefined) {
cache.__dataProvider = new Object(); //new Array();
}

RE: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread Jason Hawryluk






Definitely interested 
in collaborating on a solid solution, even if Adobe does come out with it built 
in at a later date. However if it's going to be in the final release of Flex 
2.0I would rather not waste the time. AFAIK it is not slated for Flex 2.0, 
but then I don't work for Adobe.

Can anyone from Adobe 
confirm or not if runtime style sheet loading will be built in within the 
context we have been discussing?

Anyway between what I 
have, you have, and mikes work with a little elbow grease I should be able to 
get a solution going. Keep in mind I have not looked at your code yet which may 
simply solve the problem. 

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de mailEnvoyé: lundi 5 juin 2006 17:43À: 
  flexcoders@yahoogroups.comObjet: RE: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3I've done some 
  work in this area as well, and postedan example a few weeks ago on my 
  blog ( http://blog.benstucki.net/?id=22). 
  With a slight change it can be used to update the style of anything in the 
  application, not just custom styles. I will try to update it toward that end 
  tonight. Also, I would be happy to collaborate with anyone else working on 
  similar functionality until we hear what Adobe's timeline is for it. 
  Ben Stuckihttp://blog.benstucki.net/
  
  From: "Jason Hawryluk" [EMAIL PROTECTED]Sent: Monday, 
  June 05, 2006 7:34 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3 
  yes 
  exactly, basicly they load a bare bones application component with a defined 
  mx:Styleand boom all styles changed. I guess they replaced the 
  loaded style that was compiled in or somthing. Anyway that was flex 
  1.5,I think... it's been a while, and i'm trying to do this in Flex 
  2.It did not do any parseing of it at all which is why it rocked 
  :) 
  
  Jason 
  
-Message d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Michael SchmalleEnvoyé: lundi 5 juin 2006 
15:07À: flexcoders@yahoogroups.comObjet: 
Re: [flexcoders] Runtime CSS Styles Flex 2.0 
B3Hmm,I don't follow, you mean load a style 
sheet that changes fill color styles?Peace, Mike
On 6/5/06, Jason 
Hawryluk [EMAIL PROTECTED] 
wrote:

  
  
  I was thinking more along 
  the lines of styles for components fill colors etc. Someone had done it 
  inFlex 1.5 and it was very slick or it may have been in the alpha 
  (can't recollect).
  
  
-Message 
d'origine-De:flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
13:33À:flexcoders@yahoogroups.comObjet: Re: 
[flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  Hi,Search the list, 
  there are a couple of posts on this. You need to use the styleSheet load 
  of the TextField. Then custom parse through values. I am sure there will 
  be some class libraries for this in the future. Gordon Smith (Adobe) 
  hinted that there might also be this in a future version of Flex, I am 
  sure of this.The 'apply' part of the algorithm is the hardest. I 
  created this in Flash8 for components, havn't finished it to Flex2. When I 
  do I will post the code as it's kinda fun loading css from styleSheets at 
  runtime ;-)Peace, Mike
  On 6/5/06, sourcecoderia [EMAIL PROTECTED] wrote: 
  
  

Has anyone figured out a way to do runtime CSS file loading? Is it 
possible? I know in Flex 1.5 it was, but the framework has changed 
so extensively that I have not figured out a way to do it 
yet.Any idea or help 
appreciatedJason--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED 
LINKS

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


YAHOO! GROUPS LINKS

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


-- What 
  goes up, does come down. --Flexcoders Mailing ListFAQ: 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  SPONSORED 
  LINKS
  


  Web site design development
  Computer software development
  

[flexcoders] sharing images between projects

2006-06-06 Thread Paolo Bernardini
I'm having problems sharing images between projects.
I have my workspace folder that contain several projects and I have 
a shared folder where I keep images and css that I want to share 
with all the projects in the workspace.
The structure looks like this:

workspace
 |_project1
 |_project2
 |_shared
 |_assets(where I have images and swf)
 |_css

So I create a new flex project called project1, and than added the 
shared folder to the source path. When I'm done I can see that the 
shared folder has been added to the navigation view, and I'm able to 
browse all its content.
But then when I try to use any file in that folder, it seems that 
flexBuilder isn't able to find it:

[Embed(shared/assets/images/windows.png)]
public var pcIcon:Class;

if I move the assets folder from shared to project1 folder then it 
works:

[Embed(assets/images/windows.png)]
public var pcIcon:Class;

but that is not what I want since I want to be able to share that 
folder between other projects without having to copy the same 
content in each project folder.

I'm I doing something wrong or this is a limitation of eclipse?






 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] FP9 crashes Firefox frequently

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 01:52, Michael Schmalle (and also who ever moaned 
about some sites killed FP9) wrote:
 I actually had it crash 2 days ago from FlexBuilder2 and debug, crashed
 FireFox, nuked all of my bookmarks! No virus, I know this.

Do you have any other extensions installed ?
What happens if you start with a new clean profile ?
Did you submit a talkback crash dump ?

I'm using the latest FireFox with just the Flash9 player and tabmix plugins 
fine. On linux. Under wine :-) 

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Best way to design for Speed and Responsiveness

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 01:19, blomasky wrote:
 have a small swf with the login view and logic and have it load the LARGER
 application code in background while the user logs on.  This seems like it
 can be much faster.  If so, can anyone give me somg guidance as how to
 write this.

Run time shared libraries in the docs sounds like it might do what your after.

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] sharing images between projects

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 10:08, Paolo Bernardini wrote:
 But then when I try to use any file in that folder, it seems that
 flexBuilder isn't able to find it:

 [Embed(shared/assets/images/windows.png)]
 public var pcIcon:Class;

Don't you need a '../' on the front of your path ?


-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] sharing images between projects

2006-06-06 Thread Paolo Bernardini



I've tryed, but no luck
On 6/6/06, Tom Chiverton [EMAIL PROTECTED] wrote:







On Tuesday 06 June 2006 10:08, Paolo Bernardini wrote: But then when I try to use any file in that folder, it seems that flexBuilder isn't able to find it: [Embed(shared/assets/images/windows.png)]
 public var pcIcon:Class;
Don't you need a '../' on the front of your path ?-- Tom ChivertonThis 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.
CONFIDENTIALITYThis 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.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Cairngorm question

2006-06-06 Thread Steven Webster





Bjorn,

This is high on our list of priorities (Flex Data Services 
and Cairngorm) !

Best,
Steven



  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0)7917 428 947[EMAIL PROTECTED] 
  


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn 
  SchultheissSent: 06 June 2006 01:10To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Cairngorm 
  question
  
  
  Steven,As a 
  request. 
  
  I am very interested 
  in your teams ideas of the cairngorm framework that fully utilizes Flex Data 
  Services.
  I assume the Flex2 
  release isnt far away and I hope an example of this isnt 
  either.
  
  Bjorn
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Steven 
  WebsterSent: Tuesday, 6 June 
  2006 7:41 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Cairngorm 
  question
  
  Hi guys,As I'm sure you're aware, 
  the product team are gearing up for Flex 2release. As the product 
  goes through it's final revs towards release,we're focussing our time on 
  ensuring that the next release of Cairngormand the samples are aligned 
  with the final product release.There will be a significant increase in 
  the amount of docs and articlesfrom that point forwards.In the 
  meantime, if you have any specific questions, we'll do our utmostto answer 
  them here in the meantime 
  !Best,Steven Steven 
  WebsterPractice Director (Rich Internet Applications)Adobe 
  ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108m: 
  +44 (0) 7917 428 947 [EMAIL PROTECTED]  -Original 
  Message- From: flexcoders@yahoogroups.com  
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Mike Britton Sent: 05 June 2006 20:11 To: 
  flexcoders@yahoogroups.com 
  Subject: [flexcoders] Re: Cairngorm question  For what it's 
  worth, I'm also interested in either the  updated articles for 
  CG2B3/Flex 2.0 or a *basic* sample  application, before the Flex 2 
  release if possible.  Mike
 Yahoo! Groups Sponsor  
  ~-- Protect your PC from spy ware with  award 
  winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM 
  -- 
  --~-   -- Flexcoders Mailing List FAQ: 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives:  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links  
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex 2.0 on ATG

2006-06-06 Thread tinywhistles
Hi 

Has somebody integrated ATG with Flex? I am trying to integrate Flex 
2.0 on ATG 7.1 using AMF.

Is there a way to invoke the ATG servlet pipeline from Flex using AMF? 
That way we can use all the components of ATG as is. 

Would be a great help if anyone can share his/her experience on this.

Rohan 

 





 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Flex 2.0 Localizing Flex Applications

2006-06-06 Thread xltevez
In Flex 2.0 Localizing Flex Applications, I don't quite understand the 
description of the live doc. Where should I put the properties files 
and the mxml files?
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/js/html
/wwhelp.htm?href=0916.html

Thanks!







 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Extracting Form Parameters in Remote Class (Flex 2 Beta 3)

2006-06-06 Thread tinywhistles



Hi All :)
I am working on a project using Remoting(Http) on F2B3.
I have a form with some input text boxes and a submit button. On submit, I am making an AMF call to my remote class. I need to extract the value of these form parameters here in this class. As I understand it cannot be done using flex.messaging.FlexContext.getHttpRequest().getParameter("firstName"). 
I am able to get the HttpSession and HttpServletRequest objects but can anyone please tell me how to extract the form parameters in the remote class?
My MXML looks like: 
?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute" mx:RemoteObject id="remoteTagInfo" destination="someDestination" mx:method name="getInfo" result="resultHandler(event.result)"/ /mx:RemoteObject
 mx:Script
 ![CDATA[ import mx.utils.ObjectUtil; [Bindable] public var infoStr:String; public function getdata():void { remoteTagInfo.getInfo(); }  public function resultHandler(result:Object):void { infoStr= ObjectUtil.toString(result); } ]] /mx:Script
 mx:Panel title="Remote Object Panel" width="60%" height="45%"mx:Form
mx:FormItem label="fname" required="false" mx:TextInput id="firstName" width="200"/ /mx:FormItem
 mx:Button label="Get Data" click="getdata();"/ mx:TextArea text="{infoStr}" width="100%" height="100%"//mx:Form /mx:Panel/mx:Application
RegardsRohan

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread Michael Schmalle



 But to be able to do it with out going

through every control and using the built in setStyle would be the cherry on

the cake.

yeah, it's nice.

I agree with you on Adobe, and getting a timeline. That is why I have
been dragging my feet on this. Knowing adobe, they did a good job and
it's almost done ;-)

Peace, MikeOn 6/6/06, Jason Hawryluk [EMAIL PROTECTED] wrote:









  







Definitely interested 
in collaborating on a solid solution, even if Adobe does come out with it built 
in at a later date. However if it's going to be in the final release of Flex 
2.0I would rather not waste the time. AFAIK it is not slated for Flex 2.0, 
but then I don't work for Adobe.

Can anyone from Adobe 
confirm or not if runtime style sheet loading will be built in within the 
context we have been discussing?

Anyway between what I 
have, you have, and mikes work with a little elbow grease I should be able to 
get a solution going. Keep in mind I have not looked at your code yet which may 
simply solve the problem. 

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]De la part 
  de mailEnvoyé: lundi 5 juin 2006 17:43À: 
  flexcoders@yahoogroups.comObjet: RE: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3I've done some 
  work in this area as well, and postedan example a few weeks ago on my 
  blog ( http://blog.benstucki.net/?id=22). 
  With a slight change it can be used to update the style of anything in the 
  application, not just custom styles. I will try to update it toward that end 
  tonight. Also, I would be happy to collaborate with anyone else working on 
  similar functionality until we hear what Adobe's timeline is for it. 
  Ben Stuckihttp://blog.benstucki.net/

  
  From: Jason Hawryluk [EMAIL PROTECTED]Sent: Monday, 
  June 05, 2006 7:34 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3 
  yes 
  exactly, basicly they load a bare bones application component with a defined 
  mx:Styleand boom all styles changed. I guess they replaced the 
  loaded style that was compiled in or somthing. Anyway that was flex 
  1.5,I think... it's been a while, and i'm trying to do this in Flex 
  2.It did not do any parseing of it at all which is why it rocked 
  :) 
  
  Jason 
  
-Message d'origine-De: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]De la part 
de Michael SchmalleEnvoyé: lundi 5 juin 2006 
15:07À: flexcoders@yahoogroups.comObjet: 
Re: [flexcoders] Runtime CSS Styles Flex 2.0 
B3Hmm,I don't follow, you mean load a style 
sheet that changes fill color styles?Peace, Mike
On 6/5/06, Jason 
Hawryluk [EMAIL PROTECTED] 
wrote:

  
  
  I was thinking more along 
  the lines of styles for components fill colors etc. Someone had done it 
  inFlex 1.5 and it was very slick or it may have been in the alpha 
  (can't recollect).
  
  
-Message 
d'origine-De:flexcoders@yahoogroups.com [mailto:
 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
13:33À:flexcoders@yahoogroups.comObjet: Re: 
[flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  Hi,Search the list, 
  there are a couple of posts on this. You need to use the styleSheet load 
  of the TextField. Then custom parse through values. I am sure there will 
  be some class libraries for this in the future. Gordon Smith (Adobe) 
  hinted that there might also be this in a future version of Flex, I am 
  sure of this.The 'apply' part of the algorithm is the hardest. I 
  created this in Flash8 for components, havn't finished it to Flex2. When I 
  do I will post the code as it's kinda fun loading css from styleSheets at 
  runtime ;-)Peace, Mike
  On 6/5/06, sourcecoderia [EMAIL PROTECTED] wrote: 
  
  

Has anyone figured out a way to do runtime CSS file loading? Is it 
possible? I know in Flex 1.5 it was, but the framework has changed 
so extensively that I have not figured out a way to do it 
yet.Any idea or help 
appreciatedJason--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

SPONSORED 
LINKS

  
  

Web site design development

Computer software development

Software design and development
  

Macromedia flex

Software development best 
  practice


YAHOO! GROUPS LINKS

  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email 
  to: 
  [EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to 

Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread Jeremy Lu




Ely post in Ben's comment saying Adobe is working on this thing (although it might not make it to the v2 release). 

Maybe engineers from Adobe can confirm this ?

On 6/6/06, Michael Schmalle [EMAIL PROTECTED] wrote:









  



 But to be able to do it with out going

through every control and using the built in setStyle would be the cherry on

the cake.

yeah, it's nice.

I agree with you on Adobe, and getting a timeline. That is why I have
been dragging my feet on this. Knowing adobe, they did a good job and
it's almost done ;-)

Peace, MikeOn 6/6/06, Jason Hawryluk 
[EMAIL PROTECTED] wrote:









  







Definitely interested 
in collaborating on a solid solution, even if Adobe does come out with it built 
in at a later date. However if it's going to be in the final release of Flex 
2.0I would rather not waste the time. AFAIK it is not slated for Flex 2.0, 
but then I don't work for Adobe.

Can anyone from Adobe 
confirm or not if runtime style sheet loading will be built in within the 
context we have been discussing?

Anyway between what I 
have, you have, and mikes work with a little elbow grease I should be able to 
get a solution going. Keep in mind I have not looked at your code yet which may 
simply solve the problem. 

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:

flexcoders@yahoogroups.com]De la part 
  de mailEnvoyé: lundi 5 juin 2006 17:43À: 
  flexcoders@yahoogroups.comObjet: RE: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3I've done some 
  work in this area as well, and postedan example a few weeks ago on my 
  blog ( http://blog.benstucki.net/?id=22). 
  With a slight change it can be used to update the style of anything in the 
  application, not just custom styles. I will try to update it toward that end 
  tonight. Also, I would be happy to collaborate with anyone else working on 
  similar functionality until we hear what Adobe's timeline is for it. 
  Ben Stuckihttp://blog.benstucki.net/


  
  From: Jason Hawryluk [EMAIL PROTECTED]
Sent: Monday, 
  June 05, 2006 7:34 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3 
  yes 
  exactly, basicly they load a bare bones application component with a defined 
  mx:Styleand boom all styles changed. I guess they replaced the 
  loaded style that was compiled in or somthing. Anyway that was flex 
  1.5,I think... it's been a while, and i'm trying to do this in Flex 
  2.It did not do any parseing of it at all which is why it rocked 
  :) 
  
  Jason 
  
-Message d'origine-De: 
flexcoders@yahoogroups.com [mailto:

flexcoders@yahoogroups.com]De la part 
de Michael SchmalleEnvoyé: lundi 5 juin 2006 
15:07À: flexcoders@yahoogroups.comObjet: 
Re: [flexcoders] Runtime CSS Styles Flex 2.0 
B3Hmm,I don't follow, you mean load a style 
sheet that changes fill color styles?Peace, Mike
On 6/5/06, Jason 
Hawryluk [EMAIL PROTECTED] 
wrote:

  
  
  I was thinking more along 
  the lines of styles for components fill colors etc. Someone had done it 
  inFlex 1.5 and it was very slick or it may have been in the alpha 
  (can't recollect).
  
  
-Message 
d'origine-De:flexcoders@yahoogroups.com [mailto:

 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
13:33À:flexcoders@yahoogroups.comObjet: Re: 
[flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  Hi,Search the list, 
  there are a couple of posts on this. You need to use the styleSheet load 
  of the TextField. Then custom parse through values. I am sure there will 
  be some class libraries for this in the future. Gordon Smith (Adobe) 
  hinted that there might also be this in a future version of Flex, I am 
  sure of this.The 'apply' part of the algorithm is the hardest. I 
  created this in Flash8 for components, havn't finished it to Flex2. When I 
  do I will post the code as it's kinda fun loading css from styleSheets at 
  runtime ;-)Peace, Mike
  On 6/5/06, sourcecoderia [EMAIL PROTECTED] wrote: 
  
  

Has anyone figured out a way to do runtime CSS file loading? Is it 
possible? I know in Flex 1.5 it was, but the framework has changed 
so extensively that I have not figured out a way to do it 
yet.Any idea or help 
appreciatedJason--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

SPONSORED 
LINKS

  
  


Web site design development


Computer software development


Software design and development
  


Macromedia flex


Software development best 
  

[flexcoders] how to set a specific node in a tree to be bold?

2006-06-06 Thread shemeshkale
hi,
i have a tree in flex 1.5
how do i set a specific node to be bold?
i need 2 methods - 1: by the node name.  2: by node location in tree.

for the first - is it possible to do this with labelFunction?
tried this without success (it returns the b as text):
function lblFunk(item:Object) : String{
 if(item.getProperty('label')==First){
  return b+item.getProperty('label')+/b;
 }
}

is there a way to do those without a cell renderer?





 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Bug in Runtime Style Declarations

2006-06-06 Thread Jim Robson










When setting the fill colors
for a component class at runtime, Flex breaks.

It's possible to set the
fill colors for an instance, but not for a class. 



Take a look at the code
below. The first function, setInstanceStyle, works fine. The second function,
setClassStyle, causes the MenuBar to disappear and the buttons to stop working.



It's possible to change
other styles using the same method as is used in setClassStyle. For example, I
can change background color, border color, and text styles using the same
methodology as is used in setClassStyle. But when I try to set fillColors using
that method, the component disappears and the program hangs.



As far as I can tell, this
is a bug. I haven't found any other mention of it, though.



Does anyone have any more
info on this? Am I missing something? 





?xml
version=1.0 encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute

 mx:XML
id=mainMenuData format=e4x
source=mainMenu.xml /

 

 mx:Script

 ![CDATA[

  import
mx.styles.*;

 

 private
var menuBarStyle:CSSStyleDeclaration = new
CSSStyleDeclaration(menuBarStyle);

 

 private
function

setInstanceStyle(event:MouseEvent):void{

  mainMenu.setStyle('fillColors',[0xCC,0xCC]);



  

  }

  private
function

setClassStyle(event:MouseEvent):void{



menuBarStyle.setStyle('fillColors',[0xCC,0xCC]);



StyleManager.setStyleDeclaration('MenuBar',menuBarStyle,true);

  }

 ]]

 /mx:Script

 

 mx:MenuBar
id=mainMenu dataProvider={mainMenuData.menuitem}

labelField=@label
width=100% /

 

 mx:Button
id=instanceButton label=Set Instance Style

click=setInstanceStyle(event);
x=20 y=40 /

 mx:Button
id=classButton label=Set Class Style

click=setClassStyle(event);
x=180 y=40 /

 

/mx:Application





!-- Here's the xml used
for the menu (mainMenu.xml) -- ?xml version=1.0
encoding=utf-8? root

 menuitem
label=File

 menuitem
label=New /

 menuitem
label=Open /

 menuitem
label=Exit /

 /menuitem

 menuitem
label=View

 menuitem
label=Toolbars /

 menuitem
label=Source /

 /menuitem

 menuitem
label=Help

 menuitem
label=Online Help /

 menuitem
label=About Style Test /

 /menuitem

/root








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Flex2 and TIFF image format

2006-06-06 Thread Carlos Rovira



Hi,I have a client that wants to use Flex2 for a project, but he want to display TIFF images. As FP9 doesn't support this image format natively, I want to know, from someone who has some experience with this format, the possiblilities that I could follow and pros and cons of these possibilities.
Any original idea is very wellcome :).-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Connecting to a sql or an access database through flex

2006-06-06 Thread rama satoskar
Hi all,
Can anyone teach a way to connect the flex application to an access
database or sql database.What i need is a simple tutorial or a sample
example. 
Kindly help.
Thanks in advance.

Rama.






 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Repeater XML Attribute

2006-06-06 Thread mepaninaresh



Hi, I am trying to retrieve a certain XML node using the attribute value, tried various syntax. Just can't get it to work. Sample code below.
Any ideas?
Thanks for any help.
Amount Type="Number_of_Records" Units="1" Format="Actual"256/AmountAmount Type="Number_of_Critical_Changes" Units="1" Format="Actual"10/Amount Amount Type="High_Risk" Units="1" Format="Percentage"55/Amount 
mx:Repeater id="list" dataProvider="{myHomePageAC}" mx:GridRow width="778" paddingLeft="4" mx:GridItem mx:LinkButton label="{list.currentItem.Amount[0]}" textAlign="center" / /mx:GridItemmx:GridItem mx:LinkButton label="{list.currentItem.Amount[Type=='High_Risk']}" textAlign="center" / /mx:GridItem /mx:GridRow/mx:Repeater

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] how to get a tree item in flex 2.0 beta 3 ?

2006-06-06 Thread Franca Daniel


   HI,

   I am trying to jump to beta 3 but getItemAt does
not exists anymore in  Trees, so how to do that ?

  Thanks!











__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 


 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Flex2B3 :: Panel anti-aliasing :: How do I get it back

2006-06-06 Thread Michael Schmalle



Are you embedding the fonts?

No, see the weird thing is, I have an app with two panels, standard
left 250 right 100%. anything in thoses panels smooth the text. I am
not talking about emebed font anti-alias, just the players smooth
anti-alias.

But is seems that when I use the PopUpMnager to create a popup of a
mxml component of TItleWindow, all the fonts of the window, title,
content are all as jagged as you can get.

see;

http://www.flex2components.com/screenshots/documentfx/anti-aliasMess.jpg

Thanks,


Mike

On 6/6/06, Jason Hawryluk [EMAIL PROTECTED] wrote:









  



Are you embedding the fonts?

Perhaps a screen shot of the worst case so we can see the extent of the
problem.

Jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]De la
part de Michael Schmalle
Envoyé : lundi 5 juin 2006 19:12
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Flex2B3 :: Panel anti-aliasing :: How do I get it back

Hi,

I have been having this problem a lot. When I create my own Panels IE
TitleWindows, they look bad becasue there is no anti-aliasing going on. I
mean the text looks ragged.

I see a lot of other apps out there and they look the way they should,
smooth.

What am I doing wrong, dosn't make sense becasue I am not going out of my
way to set something different. Most I am loading components into them.

Peace, Mike

--
What goes up, does come down.

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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

SPONSORED LINKS Web site design development Computer software development
Software design and development
Macromedia flex Software development best practice

YAHOO! GROUPS LINKS

Visit your group flexcoders on the web.

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

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


  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] ComboBox default label.

2006-06-06 Thread Ranadheer Reddy



Hisimple example of the combobox given below :?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"mx:Script  ![CDATA[[Bindable]  public var cards: Array = [ {label:"Hyperion", data:1},   {label:"August technologies", data:2}, {label:"VoIP Services", data:3} ];[Bindable]  public var selectedItem:Object;  ]]  /mx:Scriptmx:Panel title="ComboBox Control Example" height="75%" width="75%"   paddingTop="10" paddingLeft="10"mx:HBox  mx:ComboBox dataProvider="{cards}" width="150"   change="selectedItem=ComboBox(event.target).selectedItem"/mx:VBox width="250"  mx:Text text="Select a type of CreditCard."
 width="200"/  mx:Label text="You selected: {selectedItem.label}"/  mx:Label text="Data: {selectedItem.data}"/  /mx:VBox   /mx:HBox  /mx:Panel/mx:Application  regards  Joshi Pattabhi  [EMAIL PROTECTED]  Hyperion Technologies (Flex Team)  willmorganuk [EMAIL PROTECTED] wrote:  Hi All,Any idea
 how I can add the usual "Select An Item" as the first labelto a comboBox? The labels are from a webservice and I'm usinglableField="GAL_NAME" so there isn't one available to me. How do I addthat into the dataProvider?Any help appreciated. Thanks, Will.
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FP9 crashes Firefox frequently

2006-06-06 Thread Michael Schmalle



Do you have any other extensions installed ?

No, just plain ole FireFox, I'm not much of a plugin man, don't have enough time ;-)

What happens if you start with a new clean profile ?

I tried, they were all gone. The weird thing is, is all my passwords and history is still there.

Did you submit a talkback crash dump ?

No, I don't even know how :)

Peace, MikeOn 6/6/06, Tom Chiverton [EMAIL PROTECTED] wrote:
On Tuesday 06 June 2006 01:52, Michael Schmalle (and also who ever moanedabout some sites killed FP9) wrote: I actually had it crash 2 days ago from FlexBuilder2 and debug, crashed FireFox, nuked all of my bookmarks! No virus, I know this.
Do you have any other extensions installed ?What happens if you start with a new clean profile ?Did you submit a talkback crash dump ?I'm using the latest FireFox with just the Flash9 player and tabmix plugins
fine. On linux. Under wine :-)--Tom ChivertonThis 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.CONFIDENTIALITYThis
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.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards
 Yahoo! Groups Sponsor ~--Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/
-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Firefox and Flex

2006-06-06 Thread Alejo Vinjoy



Hi,We are loading dynamically some images using an Image or Loader component for this site (www.e-galeno.com.ar). The id is in a dynamically generated xml. The same id is used to form the URL of a servlet which ultimately gets the images for the site.It works perfectly in IE but we can´t make it wok on Firefox.Does anybody know to fix this?Thanks,  __Correo Yahoo!Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread David Mendels





Hi,

This will not be in Flex 2.0.

It is something we'd like to see in a future version of 
Flex (2.5? 3.0?) but we don't have a specific date or release planned 
yet. We'll get to that after we ship 2.0.

Regards,
David
Adobe

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
  LuSent: Tuesday, June 06, 2006 6:51 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3
  Ely post in Ben's comment saying Adobe is working on this thing 
  (although it might not make it to the v2 release). Maybe engineers 
  from Adobe can confirm this ?
  On 6/6/06, Michael 
  Schmalle [EMAIL PROTECTED] 
  wrote:
  






But to be able to do it with out goingthrough every 
control and using the built in setStyle would be the cherry onthe 
cake.
yeah, it's nice.I agree with you on Adobe, and getting a 
timeline. That is why I have been dragging my feet on this. Knowing adobe, 
they did a good job and it's almost done ;-)Peace, Mike

On 6/6/06, Jason 
Hawryluk  [EMAIL PROTECTED] wrote:

  
  
  
  
  
  
  
  Definitely 
  interested in collaborating on a solid solution, even if Adobe does come 
  out with it built in at a later date. However if it's going to be in the 
  final release of Flex 2.0I would rather not waste the time. AFAIK it 
  is not slated for Flex 2.0, but then I don't work for 
  Adobe.
  
  Can anyone from 
  Adobe confirm or not if runtime style sheet loading will be built in 
  within the context we have been discussing?
  
  Anyway between 
  what I have, you have, and mikes work with a little elbow grease I should 
  be able to get a solution going. Keep in mind I have not looked at your 
  code yet which may simply solve the problem. 
  
  Jason
  
  
  
  
-Message 
d'origine-De: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com]De la part de 
mailEnvoyé: lundi 5 juin 2006 17:43À: 
flexcoders@yahoogroups.comObjet: RE: 
[flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  I've done some work in this area as 
  well, and postedan example a few weeks ago on my blog ( http://blog.benstucki.net/?id=22). With a slight 
  change it can be used to update the style of anything in the application, 
  not just custom styles. I will try to update it toward that end tonight. 
  Also, I would be happy to collaborate with anyone else working on similar 
  functionality until we hear what Adobe's timeline is for it. Ben 
  Stuckihttp://blog.benstucki.net/
  
  From: "Jason 
  Hawryluk" [EMAIL PROTECTED]Sent: Monday, June 05, 2006 
  7:34 AMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Runtime CSS Styles Flex 2.0 B3 
  yes exactly, basicly they 
  load a bare bones application component with a defined 
  mx:Styleand boom all styles changed. I guess they replaced the 
  loaded style that was compiled in or somthing. Anyway that was flex 
  1.5,I think... it's been a while, and i'm trying to do this in Flex 
  2.It did not do any parseing of it at all which is why it rocked 
  :) 
  
  Jason 

  
-Message 
d'origine-De: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
15:07À: flexcoders@yahoogroups.comObjet: Re: 
[flexcoders] Runtime CSS Styles Flex 2.0 
B3Hmm,I don't follow, you mean load a style 
sheet that changes fill color styles?Peace, Mike
On 6/5/06, Jason 
Hawryluk [EMAIL PROTECTED] 
wrote: 

  
  
  I was thinking more 
  along the lines of styles for components fill colors etc. Someone had 
  done it inFlex 1.5 and it was very slick or it may have been in 
  the alpha (can't recollect).
  
  
-Message 
d'origine-De:flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
13:33À:flexcoders@yahoogroups.comObjet: 
Re: [flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  Hi,Search the list, there are a couple of posts on 
  this. You need to use the styleSheet load of the TextField. Then 
  custom parse through values. I am sure there will be some class 
  libraries for this in the future. Gordon Smith (Adobe) hinted that 
  there might also be this in a future version of Flex, I am sure of 
  this.The 'apply' part of the algorithm is the hardest. I 
  created this in Flash8 for components, havn't finished it to Flex2. 
  When I do I will 

Re: [flexcoders] Flex2 and TIFF image format

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 12:29, Carlos Rovira wrote:
 I have a client that wants to use Flex2 for a project, but he want to
 display TIFF images.

Display for what purpose ? You can just open a new browser window with the 
TIFF in from Flash, for instance.

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] add target to link on RichTextEditor

2006-06-06 Thread Jesús Iglesias





Hi again, 

I have a richtexteditor and I want to let the user 
add the "target" field when inserting a link. 
How to add the target to a link on the 
richtexteditor?


Regards, 
Jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FP9 crashes Firefox frequently

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 13:08, Michael Schmalle wrote:
 No, just plain ole FireFox, I'm not much of a plugin man, don't have enough
 time ;-)

Odd then.

 I tried, they were all gone. The weird thing is, is all my passwords and
 history is still there.

Oddness.
Bookmarks are just a plain file in your profile directory, maybe it got 
deleted and/or you have a backup ?

 Did you submit a talkback crash dump ?
 No, I don't even know how :)

It prompts you if you want it when you install it when you install FireFox, 
IIRC, then it's all automatic.

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Re: Cairngorm Bindings etc

2006-06-06 Thread Stacey Mulcahy










Tim thanks for the reply 
only one I didnt cover is 4. Everything else is as it should be. Typically
Id post code too ( probably one of the rare occasions I didnt)
but I was looking for what you replied with  some high level check these
first items. 



Ceheers!











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Tuesday, June 06, 2006 1:40
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Cairngorm Bindings etc











Hi Stacey,

Here's couple of debugging thoughts. But, it's hard to tell without 
seeing some of your code.

1. What have you changed recently?
2. Is the model's namespace correct in the view and command?
3. Are you using curly brackets for binding in the view? Like: 
{ModelLocator.getInstance().dataArray}.
4. Are you certain that the model is getting updated by the 
command? (Did you change result to lastResult?) 
5. Are you updating the underlying array of an ArrayCollection or 
the ArrayCollection itself? (Does the ArrayCollection need to be 
refreshed because of a filter function?).
6. Perhaps, by trying to fix this problem, you've added some code in 
the ModelLocator that is interfering with it's function. Maybe try 
to revert to an earlier version or start a new model (basic 
structure) from scratch.

Obviously, these are just guesses. If you post some code, maybe 
someone will see something. I don't like blank screens either. :)

-TH

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

 Using Carigngorm , which i love.
 I have never had a problem up until now, but i can't bind to my 
fricking
 model regardless of going creating a private var to hold a model 
refernece
 or going straight to ModelLocator.getInstance().dataArray;
 
 Its driving me nuts, the bindings are definitely not taking even 
tho i
 tried making the Model class itself bindable, making just the 
dataArray on
 the model bindable - etc(with the [Bindable] bit ). This is like 
my fifth
 app with Cairngorm and first time i have had this and i don't 
think i am
 missing any of the basics ( but who knows. )The model is getting 
updated
 properly but the bindings themselves are not in place.
 
 One thing i am doing is I am having the command pass the Model an 
object
 of a certain type and having the model check to see if the item 
exists in
 its data, if it does it does the itemUpdated on the collection and 
if not,
 it adds it. But no matter how i do this ( using an 
arraycollection, just
 modifying hte array) it totally doesn't fire an update of any sort 
that
 any item on the view captures. I am not sure if this is proper or 
right or
 whatever, and this is definitely something different I am doing.
 
 I'm likely missing something basic - but anyone have any 
suggestions of
 where to look - I've been looking at a blank screen with no luck.
 
 I'll take most noobified question for 500 Alex
 Thanks in advance for any suggestions.







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread Michael Schmalle



Thanks David!

Well, the community will put something out in the interum, we know a lot of developers could use this.

Peace, MikeOn 6/6/06, David Mendels [EMAIL PROTECTED] wrote:









  






Hi,

This will not be in Flex 2.0.

It is something we'd like to see in a future version of 
Flex (2.5? 3.0?) but we don't have a specific date or release planned 
yet. We'll get to that after we ship 2.0.

Regards,
David
Adobe

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy 
  LuSent: Tuesday, June 06, 2006 6:51 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Runtime CSS 
  Styles Flex 2.0 B3
  Ely post in Ben's comment saying Adobe is working on this thing 
  (although it might not make it to the v2 release). Maybe engineers 
  from Adobe can confirm this ?
  On 6/6/06, Michael 
  Schmalle [EMAIL PROTECTED] 
  wrote:
  






But to be able to do it with out goingthrough every 
control and using the built in setStyle would be the cherry onthe 
cake.
yeah, it's nice.I agree with you on Adobe, and getting a 
timeline. That is why I have been dragging my feet on this. Knowing adobe, 
they did a good job and it's almost done ;-)Peace, Mike

On 6/6/06, Jason 
Hawryluk  [EMAIL PROTECTED] wrote:

  
  
  
  
  
  
  
  Definitely 
  interested in collaborating on a solid solution, even if Adobe does come 
  out with it built in at a later date. However if it's going to be in the 
  final release of Flex 2.0I would rather not waste the time. AFAIK it 
  is not slated for Flex 2.0, but then I don't work for 
  Adobe.
  

  Can anyone from 
  Adobe confirm or not if runtime style sheet loading will be built in 
  within the context we have been discussing?
  
  Anyway between 
  what I have, you have, and mikes work with a little elbow grease I should 
  be able to get a solution going. Keep in mind I have not looked at your 
  code yet which may simply solve the problem. 
  

  Jason

  
  
  
  
-Message 
d'origine-De: flexcoders@yahoogroups.com [mailto:
 
flexcoders@yahoogroups.com]De la part de 
mailEnvoyé: lundi 5 juin 2006 17:43À: 
flexcoders@yahoogroups.comObjet: RE: 
[flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  I've done some work in this area as 
  well, and postedan example a few weeks ago on my blog ( http://blog.benstucki.net/?id=22). With a slight 
  change it can be used to update the style of anything in the application, 
  not just custom styles. I will try to update it toward that end tonight. 
  Also, I would be happy to collaborate with anyone else working on similar 
  functionality until we hear what Adobe's timeline is for it. Ben 
  Stuckihttp://blog.benstucki.net/

  
  From: Jason 
  Hawryluk [EMAIL PROTECTED]Sent: Monday, June 05, 2006 
  7:34 AMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Runtime CSS Styles Flex 2.0 B3 
  yes exactly, basicly they 
  load a bare bones application component with a defined 
  mx:Styleand boom all styles changed. I guess they replaced the 
  loaded style that was compiled in or somthing. Anyway that was flex 
  1.5,I think... it's been a while, and i'm trying to do this in Flex 
  2.It did not do any parseing of it at all which is why it rocked 
  :) 
  
  Jason 

  
-Message 
d'origine-De: flexcoders@yahoogroups.com [mailto:
 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
15:07À: flexcoders@yahoogroups.comObjet: Re: 
[flexcoders] Runtime CSS Styles Flex 2.0 
B3Hmm,I don't follow, you mean load a style 
sheet that changes fill color styles?Peace, Mike
On 6/5/06, Jason 
Hawryluk [EMAIL PROTECTED] 
wrote: 

  
  
  I was thinking more 
  along the lines of styles for components fill colors etc. Someone had 
  done it inFlex 1.5 and it was very slick or it may have been in 
  the alpha (can't recollect).
  
  
-Message 
d'origine-De:flexcoders@yahoogroups.com [mailto:
 
flexcoders@yahoogroups.com]De la part de Michael 
SchmalleEnvoyé: lundi 5 juin 2006 
13:33À:flexcoders@yahoogroups.comObjet: 
Re: [flexcoders] Runtime CSS Styles Flex 2.0 
  B3
  Hi,Search the list, there are a couple of posts on 
  this. You need to use the styleSheet load of the TextField. Then 
  custom parse through values. I am sure there will be some class 
  libraries for this in the future. Gordon Smith (Adobe) hinted that 
  there might also 

[flexcoders] help me

2006-06-06 Thread DIBYADYUTI CHAKRABORTY



i am new to this group and also in flex tools.  please if any body can help me over the flex remote object data service.  i want to devlop a simple web project using flex,and want to run it on the tomcat server.  please help me.dibyadyuti chakraborty  software associate  eforce india
Dibyadyuti Chakraborty
19/2a lala babu shair road 
belur math,howrah
pin-711202
Mob:-(0)9433219471
hello:-(033)26540632
e-mail:[EMAIL PROTECTED]

"ARISE,AWAKE AND STOP NOT TILL THE GOAL IS REACHED"
	

	
		 
 Yahoo! India Answers: Share what you know. Learn something new Click here 
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Firefox and Flex

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 13:22, Alejo Vinjoy wrote:
 Does anybody know to fix this?

What do the web server logs say for the two cases ?

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: F2B3: namespaceDeclarations() doesn't see un-prefixed namespaces

2006-06-06 Thread ben.clinkinbeard
No, that doesn't work because according to Flex, the xml object does
not have any namespaces. Can anyone else, someone from Adobe maybe,
shed some light here? Why isn't a non-prefixed namespace addressable?

Thanks,
Ben

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

 You can use namespace() like this:
  WSResultXML.namespace().toString().length;







 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Connecting to a sql or an aCcess database through flex

2006-06-06 Thread Iuliu Burtoiu
Hi Rama,

Check this out:
http://fluorine.thesilentgroup.com/fluorine/index.html
(you may want to see Using Flash Remoting section)

Iuliu


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


 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] ComboBox default label.

2006-06-06 Thread Will Morgan



Joshi - thanks, but that wasn't quiet what I was looking for. Stacey - that kinda works, but I need to tweet it a little - thank you for the pointer!
Will.On 6/6/06, Ranadheer Reddy 
[EMAIL PROTECTED] wrote:








  



Hisimple example of the combobox given below :?xml version=1.0?mx:Application xmlns:mx=
http://www.adobe.com/2006/mxmlmx:Script  ![CDATA[[Bindable]  public var cards: Array = [ {label:Hyperion, data:1},   {label:August technologies, data:2}, {label:VoIP Services, data:3} ];
[Bindable]  public var selectedItem:Object;  ]]  /mx:Scriptmx:Panel title=ComboBox Control Example height=75% width=75%   paddingTop=10 paddingLeft=10mx:HBox  mx:ComboBox 
dataProvider={cards} width=150   change=selectedItem=ComboBox(event.target).selectedItem/mx:VBox width=250  mx:Text text=Select a type of CreditCard.
 width=200/  mx:Label text=You selected: {selectedItem.label}/  mx:Label text=Data: {selectedItem.data}/  /mx:VBox   /mx:HBox  /mx:Panel/mx:Application
  regards  Joshi Pattabhi  [EMAIL PROTECTED]
  Hyperion Technologies (Flex Team)  willmorganuk 
[EMAIL PROTECTED] wrote:  Hi All,Any idea
 how I can add the usual Select An Item as the first labelto a comboBox? The labels are from a webservice and I'm usinglableField=GAL_NAME so there isn't one available to me. How do I add
that into the dataProvider?Any help appreciated. Thanks, Will.
		How low will we go? Check out Yahoo! Messenger's low 
 PC-to-Phone call rates.
  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Topology view? - also- generating server-side images

2006-06-06 Thread Tom Chiverton
On Monday 05 June 2006 21:56, bobbrose wrote:
 Has anyone done something similar, not necessarily w/topology, but
 images generated on the server?

I've written a Flex2 app that takes an xml file like
a
  bs
c name=foo
d
/a
c
  bs
a name=bar
f
g
/c
And writes each top-level node as a dragabel panel. Lines with names connect 
each panel to panels given in the 'bs' list. In the example, we have two 
panels a,b with lines ac and ca.

See my post the other day about drawing in Flex.

Other than that the only tricky part is getting the layout right automagicaly, 
and I gave up and just had a button you could click to output the current 
panel positions, and then hard-coded that :-)

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Connecting to a sql or an access database through flex

2006-06-06 Thread iuliub
Hi Rama,

Check this out:
http://fluorine.thesilentgroup.com/fluorine/index.html
(you may want to see Using Flash Remoting section)

Iuliu

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

 Hi all,
 Can anyone teach a way to connect the flex application to an access
 database or sql database.What i need is a simple tutorial or a sample
 example. 
 Kindly help.
 Thanks in advance.
 
 Rama.








 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex2 and TIFF image format

2006-06-06 Thread Michael Klishin
Carlos Rovira wrote:
 Hi,
 
 I have a client that wants to use Flex2 for a project, but he want to 
 display TIFF images.
 
 As FP9 doesn't support this image format natively, I want to know, from 
 someone who has some experience with this format, the possiblilities 
 that I could follow and pros and cons of these possibilities.
 
 Any original idea is very wellcome :).

I'm not about to be original here but why don't you just convert it to 
JPEG/PNG/whatever @ sever-side? What's the reason your client claims?

-- 
Michael Antares Klishin,

http://www.novemberain.com |  mailto:[EMAIL PROTECTED]


 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Extracting Form Parameters in Remote Class (Flex 2 Beta 3)

2006-06-06 Thread Tom Chiverton
On Tuesday 06 June 2006 09:21, tinywhistles wrote:
 flex.messaging.FlexContext.getHttpRequest().getParameter(firstName).

If you want to pass arguments into the remote method, you have to put them in 
your call to it in getdata().

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Flex2 and TIFF image format

2006-06-06 Thread Carlos Rovira



Many thanks guys, that mails was very valuable for me to give all the posibilities to my client :).As Tom says, it depends mainly on the purpose of the app, but is good to know all the weapons to handle this format
Thanks,C.On 6/6/06, Tom Chiverton [EMAIL PROTECTED] wrote:
On Tuesday 06 June 2006 12:29, Carlos Rovira wrote: I have a client that wants to use Flex2 for a project, but he want to
 display TIFF images.Display for what purpose ? You can just open a new browser window with theTIFF in from Flash, for instance.--Tom Chiverton
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.
CONFIDENTIALITYThis 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.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards
 Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/
-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Runtime CSS Styles Flex 2.0 B3

2006-06-06 Thread Michael Schmalle



Michael, Jason  Jeremy, perhaps we should
open a project on osflash.com and start working on a common code base.

I am interested in this, I would leave the whole config up to you. I
have never done it, just tell me where I can get code and put code and
I am there.

Peace, Mike
On 6/6/06, Ben Stucki [EMAIL PROTECTED] wrote:









  











Well, it sounds like there is enough
interest in this to warrant further work and some indication that it won't
be available in the 2.0 release. Michael, Jason  Jeremy, perhaps we should
open a project on osflash.com and start working on a common code base. If
anyone is interested in contributing to this project, please email me
personally. Thank you.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of David Mendels
Sent: Tuesday, June 06, 2006 7:38
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Runtime
CSS Styles Flex 2.0 B3











Hi,



This will not be in Flex 2.0.



It is something we'd like to see in a
future version of Flex (2.5? 3.0?) but we don't have a specific date or
release planned yet. We'll get to that after we ship 2.0.



Regards,

David

Adobe











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jeremy Lu
Sent: Tuesday, June 06, 2006 6:51
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Runtime
CSS Styles Flex 2.0 B3


Ely post in Ben's comment saying Adobe is working on this thing (although it
might not make it to the v2 release). 

Maybe engineers from Adobe can confirm this ?






On 6/6/06, Michael
Schmalle [EMAIL PROTECTED]
wrote: 












But to be able to
do it with out going
through every control and using the built in setStyle would be
the cherry on
the cake.






yeah, it's nice.

I agree with you on Adobe, and getting a timeline. That is why I have been
dragging my feet on this. Knowing adobe, they did a good job and it's almost
done ;-)

Peace, Mike











On 6/6/06, Jason Hawryluk  [EMAIL PROTECTED] wrote:
















Definitely interested in
collaborating on a solid solution, even if Adobe does come out with it built in
at a later date. However if it's going to be in the final release of Flex
2.0I would rather not waste the time. AFAIK it is not slated for Flex
2.0, but then I don't work for Adobe.





Can anyone from Adobe
confirm or not if runtime style sheet loading will be built in within the
context we have been discussing?





Anyway between what I
have, you have, and mikes work with a little elbow grease I should be able to
get a solution going. Keep in mind I have not looked at your code yet which may
simply solve the problem. 





Jason



























-Message
d'origine-
De: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com]De la part de
mail
Envoyé: lundi 5 juin 2006
17:43
À: flexcoders@yahoogroups.com
Objet: RE: [flexcoders]
Runtime CSS Styles Flex 2.0 B3








I've done some work
in this area as well, and postedan example a few weeks ago on my blog ( http://blog.benstucki.net/?id=22
).
With a slight change it can be used to update the style of anything in the
application, not just custom styles. I will try to update it toward that end
tonight. Also, I would be happy to collaborate with anyone else working on
similar functionality until we hear what Adobe's timeline is for it. 

Ben Stucki
http://blog.benstucki.net/









From: Jason Hawryluk 
[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 7:34
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Runtime
CSS Styles Flex 2.0 B3 




yes exactly, basicly they
load a bare bones application component with a defined mx:Styleand
boom all styles changed. I guess they replaced the loaded style that was
compiled in or somthing. Anyway that was flex 1.5,I think... it's been a
while, and i'm trying to do this in Flex 2.It did not do any parseing of
it at all which is why it rocked :) 













Jason 






-Message
d'origine-
De: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com]De la part de
Michael Schmalle
Envoyé: lundi 5 juin 2006
15:07
À: flexcoders@yahoogroups.com
Objet: Re: [flexcoders]
Runtime CSS Styles Flex 2.0 B3


Hmm,

I don't follow, you mean load a style sheet that changes fill color styles?

Peace, Mike




On 6/5/06, Jason Hawryluk [EMAIL PROTECTED] wrote:










I was thinking more along
the lines of styles for components fill colors etc. Someone had done it
inFlex 1.5 and it was very slick or it may have been in the alpha (can't
recollect).













-Message
d'origine-
De:flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com]De la part de
Michael Schmalle
Envoyé: lundi 5 juin 2006
13:33
À:flexcoders@yahoogroups.com
Objet: Re: [flexcoders]
Runtime CSS Styles Flex 2.0 B3








Hi,

Search the list, there are a couple of posts on this. You need to use the
styleSheet load of the TextField. Then custom parse through values. I 

[flexcoders] Pls help me

2006-06-06 Thread Devis





Hi,
i wish to integrate Jbuilder X with flex beta 3, 
but i have no idea where i can find the xmi file or xml schema 
catalog!
Can you help me pls
Devis
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] help me

2006-06-06 Thread Antoine Malpel






You need to tell if you allready have the remote Object coded... in JSP
?


DIBYADYUTI CHAKRABORTY a crit:

  
  i am new to this group and also in flex tools.
  please if any body can help me over the flex remote object data
service.
  i want to devlop a simple web project using flex,and want to run
it on the tomcat server.
  please help me.
  
  dibyadyuti chakraborty
  software associate
  eforce india
  
  
  
  Dibyadyuti Chakraborty
  19/2a lala babu shair road 
  belur math,howrah
  pin-711202
  Mob:-(0)9433219471
  hello:-(033)26540632
  e-mail:[EMAIL PROTECTED]
  
  "ARISE,AWAKE
AND STOP NOT TILL THE GOAL IS REACHED"
  
   
   Yahoo! India Answers: Share what you know. Learn
something new Click
here
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download
now 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




[flexcoders] Re: Repeater XML Attribute

2006-06-06 Thread iuliub
Why don't you try:

[EMAIL PROTECTED]

Iuliu

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

 
 Hi, I am trying to retrieve a certain XML node using the attribute
 value, tried various syntax. Just can't get it to work. Sample code
 below.
 
 Any ideas?
 
 Thanks for any help.
 
 Amount Type=Number_of_Records Units=1 Format=Actual256/Amount
 Amount Type=Number_of_Critical_Changes Units=1
 Format=Actual10/Amount
 Amount Type=High_Risk Units=1 Format=Percentage55/Amount
 
 mx:Repeater id=list dataProvider={myHomePageAC}
mx:GridRow width=778 paddingLeft=4
  mx:GridItem
 mx:LinkButton label={list.currentItem.Amount[0]}
 textAlign=center /
   /mx:GridItem
   mx:GridItem
 mx:LinkButton
 label={list.currentItem.Amount[Type=='High_Risk']} textAlign=center
 /
   /mx:GridItem
  /mx:GridRow
 /mx:Repeater








 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: ComboBox default label.

2006-06-06 Thread hyperionflexteam
Hi 

?xml version=1.0?
!-- Simple example to demonstrate the ComboBox control. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

mx:Script
![CDATA[

[Bindable]
public var cards: Array = [ {label:Visa, data:1}, 
{label:Master Card, data:2}, {label:American 
Express, data:3} ];

[Bindable]
public var selectedItem:Object;
]]
/mx:Script

mx:Panel title=ComboBox Control Example height=75% width=75% 
paddingTop=10 paddingLeft=10

mx:HBox
mx:ComboBox dataProvider={cards} width=150 
change=selectedItem=ComboBox
(event.target).selectedItem/

mx:VBox width=250
mx:Text text=Select a type of CreditCard. 
width=200/
mx:Label text=You selected: {selectedItem.label}/
mx:Label text=Data: {selectedItem.data}/
/mx:VBox 
/mx:HBox
/mx:Panel

/mx:Application


Check the about applicaiton.

Regards
Joshi Pattabhi
Hyperion Technologies (Flex Team)


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

 Hi All,
 
 Any idea how I can add the usual Select An Item as the first label
 to a comboBox? The labels are from a webservice and I'm using
 lableField=GAL_NAME so there isn't one available to me. How do I add
 that into the dataProvider?
 
 Any help appreciated. Thanks, Will.







 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Net.Connection debugger - Is there something like it in Flex2?

2006-06-06 Thread Phil Marston
or any other way of seeing what's being sent to AMFPHP and coming back?

Cheers,

Phil

-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495



 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Cairngorm and Flex 2.0b3

2006-06-06 Thread Alejo Vinjoy



Hi, it´s me again.I´m having trouble configuring cairngorm 0.99 in flex 2.0b3. It seems that Tomcat 5.0.28 throws this exception (Error 500):javax.servlet.ServletException: Invalid Configuration: see previous failures. flex.util.ServiceUtil.setupFlexService(ServiceUtil.java:55) flex2.server.j2ee.MxmlServlet.init(MxmlServlet.java:58) flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 java.lang.Thread.run(Thread.java:534)I was told that the flex-config.xml is no longer used to declare remote-objects and from now on I have to do that in flex-remote-service.xmldoes anybody know how to do this, or where to find some documentation because i am missing something with the flex builder help.Thanks, __Correo Yahoo!Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Instantiation and setting problems - Example included

2006-06-06 Thread Suzy Lawson
OK, yeah, thanks. I was also facing the problem when I was
instantiating classes and setting properties w/o URLLoader. I created
a very simple example and I realized the problem was my misuse of
[Bindable]. I'm using Cairngorm and have all my VO objects in the
ModelLocator...well, my many VO objects don't have [Bindable] declared
within those classes. I lazily assumed that having [Bindable] declared
in the ModelLocator would take care of everything for me. Not the
case...once I added [Bindable] to each VO, everything appeared in the
UI correctly. Which makes sense b/c my trace statements had the value
but the UI was not updating. Sorry for the newbie brain fart!!  
Thanksa again Pete.

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

 Ah, right, much clearer now that I see this code.
 
 
 The issue is that a request to an HTTP URL via something like URLLoader
 is asynchronous, so the SWF script is not held up waiting for the
 network to respond. This means you will need to wait until the response
 comes back some time later, i.e. when the result handler is called,
 before accessing the generateXML property.
 
 So, I would architect this a little differently.
 
 Decouple the logic for loading XML into a service helper class and then
 when you get back a response pass that to a utility method to actually
 generate the XML.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Suzy Lawson
 Sent: Monday, June 05, 2006 11:52 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Instantiation and setting problems - Example
 included
 
   Thanks for your response...this error is still haunting so I included
 a simple example to show my problem of class variables not being able to
 be set after I initialize a new class. Even if I move the generateXML
 method into the complete Handlerthe same null pointer is still
 thrown. Any ideas why??
 
 Top-level MXML file:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
   mx:Script
   ![CDATA[
   private function setValue() : void
   {
   var testA : TestA = new TestA();
   xmlValue.text =
 testA.generateXML(55).toXMLString();
   }
   ]]
   /mx:Script
   mx:Button label=Set Value click=setValue()/
   mx:Label id=xmlValue/
 /mx:Application
 
 _-
 //TestA class
 package
 {
   import flash.events.Event;
   import flash.net.URLLoader;
   import flash.net.URLRequest;
 
   
   public class TestA
   {
   private var sampleXML : XML ;
   
   public function TestA() : void
   {
   var loader : URLLoader = new URLLoader();
 loader.addEventListener(Event.COMPLETE, completeHandler);
   loader.load(new URLRequest(sample.xml));
   }
   
   private function completeHandler(event:Event):void {
 sampleXML = new XML(event.target.data);
   }
   
   public function generateXML(value : String) : XML
   {
   [EMAIL PROTECTED] = value; // error is here b/c
 sampleXML is 'null'
   return sampleXML;
   }
   }
 }
 
 sample.xml file:
 test id= data=/
 --
 The exact error I get is:
 TypeError: Error #1009: Cannot access a property or method of a null
 object reference.
   at TestA/generateXML()[C:\flex\TestA.as:25]
   at sampleBug/sampleBug::setValue()[C:\flex\sampleBug.mxml:8]
   at sampleBug/___Button1_click()[C:\flex\sampleBug.mxml:12] 
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  I'd have to see the code to really understand what is going on, but
 can you avoid doing anything in a constructor and use a button or
 something to trigger the work to see if that's the issue?
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On Behalf Of Suzy Lawson
  Sent: Friday, June 02, 2006 4:54 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Instantiation and setting problems
  
  I'm using the Cairngorm framework, so in the implented Command
 classes...
  
  For the XML problem, it's in a class that the Command class calls.
 The constructor load the XML file stored locally, then the
 completeHandler  calls XML(event.target.data) and assigns the XML to a
 local variable.
  
  However, when I instantiate this object, then call a method on it,
 the XML is still null. If I put a timer on it to stall for a second,
 it's there
  
  --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
  
   
   Where are you declaring these classes?

   
   -Original Message-
   From: 

RE: [flexcoders] ComboBox default label.

2006-06-06 Thread Peter Watson










Hi Will,



There is also a prompt
attribute for the mx:ComboBox component that may be what you are looking for. 

That way you dont have to modify
the dataProvider and once a selection is made the prompt doesnt show
again.



mx:ComboBox dataProvider={cards}
prompt=Please Select a Card Type





If you always want the prompt value to be
in the list then go with Staceys approach.



regards,

peter











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Will Morgan
Sent: Tuesday, June 06, 2006 9:26
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ComboBox
default label.











Joshi - thanks, but that wasn't
quiet what I was looking for. Stacey - that kinda works, but I need to tweet it
a little - thank you for the pointer!

Will.



On 6/6/06, Ranadheer
Reddy 
[EMAIL PROTECTED] wrote:













Hi



simple example of the combobox given below :?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml mx:Script ![CDATA[ [Bindable] public var cards: Array = [ {label:Hyperion, data:1}, {label:August technologies, data:2}, {label:VoIP Services, data:3} ]; [Bindable] public var selectedItem:Object; ]] /mx:Script mx:Panel title=ComboBox Control Example height=75% width=75% paddingTop=10 paddingLeft=10 mx:HBox mx:ComboBox dataProvider={cards} width=150 change=selectedItem=ComboBox(event.target).selectedItem/ mx:VBox width=250 mx:Text text=Select a type of CreditCard.
width=200/ mx:Label text=You selected: {selectedItem.label}/ mx:Label text=Data: {selectedItem.data}/ /mx:VBox /mx:HBox /mx:Panel /mx:Application



regards





Joshi Pattabhi





[EMAIL PROTECTED]






Hyperion Technologies (Flex Team)










willmorganuk  [EMAIL PROTECTED]
wrote:









Hi All,

Any idea how I can add the usual Select An Item as the first label
to a comboBox? The labels are from a webservice and I'm using
lableField=GAL_NAME so there isn't one available to me. How do I
add
that into the dataProvider?

Any help appreciated. Thanks, Will.



















How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.






















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] help me

2006-06-06 Thread Devis





no,
i wish to use only code completition.
Adobewrite

IDEs and Text Editors
Flex provides an XML schema to enable IDEs that support XML with code 
coloring, code hinting, etc., including IntelliJ IDEA, Borland JBuilder, and 
Altova 
xmlspy. You can also use code editors such as VI and emacs with Flex.

but i can'f find it this schema! Any suggestion 
pls
Devis

  - Original Message - 
  From: 
  Antoine 
  Malpel 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, June 06, 2006 3:30 
PM
  Subject: Re: [flexcoders] help me
  
  
  You need to tell if you allready have the remote Object coded... in JSP 
  ?DIBYADYUTI CHAKRABORTY a écrit: 
  

i am new to this group and also in flex tools.
please if any body can help me over the flex remote object data 
service.
i want to devlop a simple web project using flex,and want to run it on 
the tomcat server.
please help me.

dibyadyuti chakraborty
software associate
eforce india

Dibyadyuti Chakraborty
19/2a lala babu shair road 
belur math,howrah
pin-711202
Mob:-(0)9433219471
hello:-(033)26540632
e-mail:[EMAIL PROTECTED]

"ARISE,AWAKE AND STOP 
NOT TILL THE GOAL IS REACHED"


Yahoo! India Answers: Share what you know. Learn something new Click 
hereSend free SMS to your Friends on Mobile from your Yahoo! 
Messenger Download 
now 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: FusionCharts under Flex

2006-06-06 Thread Jason
Unfortunately, it looks like I'll have no choice.  Looks like
FusionCharts is currently incompatible with Flex.  They say they'll
try to make the next version work with it.

Kinda sucks, as FusionCharts did a LOT of cool stuff.  To match it, I
would have to write all sorts of renderers - 3d bar/pie charts,
animations for when the chart loads (my boss really liked those),
rotating axis labels, etc.  Yeah, it can be done, but it's a lot
cheaper to have someone do a lot of it once and sell it for a small
price (FusionCharts) than to have every programmer redo it again at
their rates.  I'd much rather be working on the logic of the program.
 This may actually be something that will make my boss shoot down
using Flex at all.  Which would be a shame, because I'm liking it.

Maybe it would help if you had a lot of samples where you implemented
a lot of these features so people could just reuse your code instead
of rewriting the renderers. 

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

 
 
 You'll probably have an easier time just building a custom renderer ;)
 
 Ely.
  
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Jason
 Sent: Sunday, June 04, 2006 9:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FusionCharts under Flex
 
 Has anyone had success getting FusionCharts to run under Flex
(specifically 2beta3)?  If so, I would really love to see some example
code.  I've been tearing my hair out trying to get it working right.
 
 Thanks.
 
 
 
 
 
  Yahoo! Groups Sponsor
~-- Home is just a click away.  Make Yahoo! your
home page now.
 http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
 ~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Net.Connection debugger - Is there something like it in Flex2?

2006-06-06 Thread Peter Farland





If you're using a raw NetConnection, then... no, not 
natively from the client. There are third party tools out there that sniffing 
AMF over HTTP traffic.

However, I'd first try using some of the utilities that 
Flex has to dumping an objectgraph to a string:

import mx.utils.ObjectUtil;

...

 
trace(ObjectUtil.toString(result));


If you 
were using FDS channels and messaging then you could take advantage of the 
mx.logging framework by creating a trace target to dump the traffic out to the 
flashlog.txt file. A simple way to do this is to add

 mx:TraceTarget level="0" 
/

to 
your MXML to see everything that was logged... however if you want to filter 
this information you'll need to read up on the ASDoc on logging targets and use 
some script to customize the information being displayed.

FWIW, 
NetConnection Debugger relied on some mix-ins in your app that intercepted trace 
calls to an underlying NetConnection and then broadcast this information on a 
local connection to the NCD... Flex 2 has moved beyond this architecture and now 
uses a messaging framework and a logging API that decouples how a request is 
made from the service being contacted. I would love to see people in the 
community writing their own implementations of mx.messaging.Channel or perhaps a 
simple mx.logging.ILoggingTarget that reported info back to the old 
NCD!

Pete




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Phil 
MarstonSent: Tuesday, June 06, 2006 9:52 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Net.Connection 
debugger - Is there something like it in Flex2?


or any other way of seeing what's being sent to AMFPHP and coming 
back?Cheers,Phil-- 
__ 
Phil Marston Learning TechnologistLearning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK[EMAIL PROTECTED]ac.uk Tel: 
+44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/http://www.abdn.ac.uk/diss/ltu/__The 
University of Aberdeen Open Day 29th August 2006Booking is 
essentialwww.abdn.ac.uk/opendayemail [EMAIL PROTECTED]ac.ukor call 0800 
027 1495
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Connecting to a sql or an access database through flex

2006-06-06 Thread Tim Hoff



Hi Rama,
Getting SQL Server or Access data into Flexisn't that difficult. However, it's not that easy either. There are currently several different technologies that you can use to get .NET data into Flex. They include: Web Services, HTTPService, Flash Remoting, WebOrb and Fluorine. In addition, the Flex RPC components may be combined with Flex Data Services (FDS) to provide integrated enterprise functionality.
My guess is that all of this is too much information. You probably just want to connect Flex to a SQL or Access database, right? Well, to get your feet wet, I would recommend reading the following two articles/examples. They are not current with F2B3, but little change is required.
Andrew Stepford's Weblog - Flex and .NET web services pt1.Andrew Stepford's Weblog - Flex and .NET web services pt2.
Using .NET web services to get data into Flex is probably the easiest approach to learn. However, it's also the slowest data transfer method. I'm not recommending that you choose web services for your data needs. But, for learning purposes, you should be able to get up-to-speed, in a short amount of time. At the same time, I would start reading the Flex Help Documentation. It contains just about everything that you might need to know about "Working with Data." Once you have a data connection, you can look into the other technologies to determine which approach is right for your application.
Best Regards,Tim Hoff
--- In flexcoders@yahoogroups.com, "rama satoskar" [EMAIL PROTECTED] wrote: Hi all, Can anyone teach a way to connect the flex application to an access database or sql database.What i need is a simple tutorial or a sample example.  Kindly help. Thanks in advance.  Rama.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex 2.0b3 WebServices

2006-06-06 Thread praful . aggarwal
Guys,

I'm trying to call a webservice and getting an error when FlexServer tries
to read the wsdl.

The WebService is deployed on a Websphere box and the wsdl files are
divided into two pieces :

 a) A Service Wsdl and,
b) An Interface wsdl.

The Service Wsdl imports the Interface wsdl file and runs fine when tested
inside WebSphere test environment. I'm using Cairngorm2b3 to get to the
WebService but receive the following error at the start of the application
:

[RPC Fault faultString=Cannot resolve relative WSDL import without a fully
qualified base address. faultCode=Client.WSDL.Import faultDetail=Please
specify the location of the WSDL document for the WebService.]
  at mx.rpc.soap::WSDLParser/::dispatchFault()
  at
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
  at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
  at mx.rpc::Responder/result()
  at mx.rpc::AsyncRequest/acknowledge()
  at
::HTTPMessageResponder/HTTPChannel.as$8:HTTPMessageResponder::resultHandler()
  at ::HTTPMessageResponder/completeHandler()
  at ::ChannelRequestLoader/::callEventCallback()
  at ::ChannelRequestLoader/::completeHandler()
  at flash.events::EventDispatcher/dispatchEvent()
  at flash.net::URLLoader/flash.net:URLLoader::onComplete()

I'm guessing that Flex can only read WSDL files with inline schemas ? Does
anyone have any pointers ?


Thanks in advance,
Praful

Praful Aggarwal
Lending Projects Team
EBS IT Department
[EMAIL PROTECTED]
Ph : +353-1-6659256

Wrinkles should merely indicate where smiles have been - Mark Twain



Savings - Home Loans - Personal Loans - Investments - Credit Card - Insurance

all together better  EBS Building 
Society 
  www.ebs.ie

**
Terms and Conditions apply. EBS is regulated by the Financial Regulator.
**
The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed.  It may
contain confidential or legally privileged information.  If you are not
the intended recipient you are hereby notified that
any disclosure, copying,  distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful.  If you have received this communication in error, please
notify us immediately by responding to this email and then delete it from 
your system.

Any personal opinions expressed in this e-mail are views of the
individual and do not necessarily reflect the views of the EBS Group.
The content of this e-mail may have been sent without the authority of
the EBS Group.

EBS Group cannot guarantee that this e-mail and attachments are free of viruses 
and you must ensure that you carry out your own virus checks. EBS 

Group accepts no liability for any loss or damage caused by software
viruses.

www.ebs.ie

***



 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] ComboBox default label.

2006-06-06 Thread Will Morgan



Peter - this is exactly what I was looking for. Thanks!On 6/6/06, Peter Watson [EMAIL PROTECTED] wrote:









  











Hi Will,



There is also a "prompt"
attribute for the mx:ComboBox component that may be what you are looking for. 

That way you don't have to modify
the dataProvider and once a selection is made the prompt doesn't show
again.



mx:ComboBox dataProvider={cards}
prompt=Please Select a Card Type…





If you always want the prompt value to be
in the list then go with Stacey's approach.



regards,

peter











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Will Morgan
Sent: Tuesday, June 06, 2006 9:26
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ComboBox
default label.











Joshi - thanks, but that wasn't
quiet what I was looking for. Stacey - that kinda works, but I need to tweet it
a little - thank you for the pointer!

Will.



On 6/6/06, Ranadheer
Reddy 
[EMAIL PROTECTED] wrote:














Hi




simple example of the combobox given below :
?xml version=1.0? mx:Application xmlns:mx=

http://www.adobe.com/2006/mxml mx:Script ![CDATA[ [Bindable] 
public var cards: Array = [ {label:Hyperion, data:1}, {label:August technologies, data:2}, {label:VoIP Services, data:3} ];

 [Bindable] public var selectedItem:Object; ]] /mx:Script mx:Panel title=ComboBox Control Example height=75% width=75% paddingTop=10 paddingLeft=10 mx:HBox mx:ComboBox 

dataProvider={cards} width=150 change=selectedItem=ComboBox(event.target).selectedItem/ mx:VBox width=250 mx:Text text=Select a type of CreditCard.


width=200/ mx:Label text=You selected: {selectedItem.label}/ mx:Label text=Data: {selectedItem.data}/ /mx:VBox /mx:HBox /mx:Panel /mx:Application





regards






Joshi Pattabhi






[EMAIL PROTECTED]







Hyperion Technologies (Flex Team)











willmorganuk  [EMAIL PROTECTED]

wrote:










Hi All,

Any idea how I can add the usual Select An Item as the first label
to a comboBox? The labels are from a webservice and I'm using
lableField=GAL_NAME so there isn't one available to me. How do I
add
that into the dataProvider?

Any help appreciated. Thanks, Will.






















How low will we go? Check out Yahoo! Messenger's low 
PC-to-Phone call rates.


























  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex 2 Beta 3: Move effect no longer respects layout constraints

2006-06-06 Thread Jason Y. Kwong



I know this isn't an overly critical issue, but it's real ugly. Does anyone have a workaround for this? Or at least confirm that it'll be fixed in the production version? Thanks.On 5/31/06, 
Jason Y. Kwong [EMAIL PROTECTED] wrote:
I have a Canvas with a border and it contains a TextArea. The Canvas is intentionally made larger than the TextArea via layout constraints. I then apply a Move 
effect to the Canvas. While the Canvas is moving, the size of the Canvas gets reduced to the minimum size required to contain the TextArea. After the effect is complete, the Canvas is back to its original larger size. In Beta 2, the Canvas kept its size while it was being moved, which is the expected behaviour. The little app below demonstrates. Click the Button to 
move the Canvas.
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute
 mx:Move id=canvasMover duration=500 target={mycanvas} xBy=200/
 mx:Canvas borderStyle=solid width=500 height=400  mx:Canvas id=mycanvas x=50 width=200 borderStyle=solid borderThickness=4 top=5 bottom=5
   mx:TextArea x=33 y=51/  /mx:Canvas /mx:Canvas mx:Button x=10 y=408 label=Button click=
canvasMover.play
()//mx:Application 



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Flex 2.0b3 WebServices

2006-06-06 Thread Peter Farland





Do you have a fully qualified URL for the wsdl attribute on 
the mx:WebService tag?

Flex 2 
should support WSDL imports.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: Tuesday, June 06, 2006 10:52 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 
2.0b3  WebServices


Guys,I'm trying to call a webservice and getting an error when 
FlexServer triesto read the wsdl.The WebService is deployed on a 
Websphere box and the wsdl files aredivided into two pieces :a) A 
Service Wsdl and,b) An Interface wsdl.The Service Wsdl imports the 
Interface wsdl file and runs fine when testedinside WebSphere test 
environment. I'm using Cairngorm2b3 to get to theWebService but receive the 
following error at the start of the application:[RPC Fault 
faultString="Cannot resolve relative WSDL import without a 
fullyqualified base address." faultCode="Client.WSDL.Import" 
faultDetail="Pleasespecify the location of the WSDL document for the 
WebService."]at 
mx.rpc.soap::WSDLParser/::dispatchFault()atmx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()at 
flash.events::EventDispatcher/dispatchEvent()atmx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()atmx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()at 
mx.rpc::Responder/result()at 
mx.rpc::AsyncRequest/acknowledge()at::HTTPMessageResponder/HTTPChannel.as$8:HTTPMessageResponder::resultHandler()at 
::HTTPMessageResponder/completeHandler()at 
::ChannelRequestLoader/::callEventCallback()at 
::ChannelRequestLoader/::completeHandler()at 
flash.events::EventDispatcher/dispatchEvent()at 
flash.net::URLLoader/flash.net:URLLoader::onComplete()I'm 
guessing that Flex can only read WSDL files with inline schemas ? Doesanyone 
have any pointers ?Thanks in advance,PrafulPraful 
AggarwalLending Projects TeamEBS IT Departmentpraful.aggarwal@mail.ebs.iePh 
: +353-1-6659256"Wrinkles should merely indicate where smiles have been 
- Mark Twain"Savings - Home Loans - Personal Loans - Investments - 
Credit Card - Insuranceall together better EBS Building Society 
www.ebs.ie**Terms 
and Conditions apply. EBS is regulated by the Financial 
Regulator.**The 
information contained in this communication is intended solely forthe use of 
the individual or entity to whom it is addressed. It maycontain confidential 
or legally privileged information. If you are notthe intended recipient you 
are hereby notified thatany disclosure, copying, distribution or taking any 
action in relianceon the contents of this information is strictly prohibited 
and may beunlawful. If you have received this communication in error, 
pleasenotify us immediately by responding to this email and then delete it 
from your system.Any personal opinions expressed in this e-mail are 
views of theindividual and do not necessarily reflect the views of the EBS 
Group.The content of this e-mail may have been sent without the authority 
ofthe EBS Group.EBS Group cannot guarantee that this e-mail and 
attachments are free of viruses and you must ensure that you carry out your own 
virus checks. EBS Group accepts no liability for any loss or damage 
caused by 
softwareviruses.www.ebs.ie***
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Cairngorm Sample Store

2006-06-06 Thread Tom Chiverton
On Tuesday 23 May 2006 18:11, Stefan Schmalhaus wrote:
 --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote:
  We have a build of Cairngorm Store for Flex Beta 3, and
  Cairngorm 2 that we intend to deliver to you in the days ahead.
 Any news on this?

Any further news ?

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] need help in making usrname/pswd Database

2006-06-06 Thread raju_bb
hey can anybody tell me how to retrieve and send data to/from the
database which will display the results on the datagrid..it can be any
database SQL/Access..plzz help






 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] need help in making usrname/pswd Database

2006-06-06 Thread Niklas Richardson



Do you know any server side languages? Java? ColdFusion? ASP? PHP? Perl?You'll need to start there first.On 6/6/06, raju_bb 
[EMAIL PROTECTED] wrote:








  



hey can anybody tell me how to retrieve and send data to/from the
database which will display the results on the datagrid..it can be any
database SQL/Access..plzz help


  













-- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: FusionCharts under Flex

2006-06-06 Thread Ely Greenfield






I hear you Jason, but there's only so many hours in the 
day.

 3d 
bar/pie charts,
Yeah, that's something we don't support. 


 animations for when the chart loads 

Can you Describe what you're looking 
for?

 
rotating axis labels

Flex 
charts support those, if you use embedded fonts.


 Maybe it would help if you had a lot of samples where you 
implementeda lot of these features so people could just reuse your code 
insteadof rewriting the renderers. 

Indeed it would. Only so many hours in the day 
though. I spend the late hours of the night ignoring my family and writing 
samplesthat I post on my blog. Let me know what you'd like to see 
and I'll put 'em on the list.


Ely.
http://www.quietlyscheming.com/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Accordian from XML: Repeater Woes

2006-06-06 Thread Doug Lowder
That was a Flex 1.5 example.  I'm not sure if the mx:Model tag is 
supported the same way in Flex 2.0, so that may be part of the 
problem.

You should be able to use an array as the dataprovider for your 
repeater, just to get things going until you are able to read 
external XML.

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

 I'm having lots of trouble using XML as a dataProvider for a 
Repeater
 component (Flex 2 B3), and from what I've seen of the other posts 
on
 the list, it appears that I'm not alone. 
 
 I tried Doug Lowder's code below, thinking that it would help me to
 see what is wrong with my code. But when I compile Doug's code and 
run
 it, the Accordion appears as a blank white rectangle in the upper 
left
 corner of the screen: No buttons or labels of any kind are 
visible. 
 
 In my own code, my intent is to use a Repeater to display 
instances of
 a custom component. When I could not get that to work, I tried just
 getting the Repeater to display Label components with their text 
set
 to the Repeater's currentIndex (cast to a String of course). But 
when
 I compile it and run it, nothing is displayed where the Labels 
should
 be. I'm not getting any compiler errors, but the app is simply 
blank
 where the Repeater should be giving me Labels. 
 
 I've searched around, but I can't find anything in the Flex 2.0 
docs
 or online that provides clear guidelines on how to use an external 
XML
 file with a Repeater. I don't have any trouble with other 
components
 (MenuBar, DataGrid, ComboBox, List). It's just the Repeater that I
 can't seem to figure out.
 
 Can anyone point me to a good resource for this?
 
 -Jim
 
 --- In flexcoders@yahoogroups.com, Doug Lowder douglowder@ 
wrote:
 
  Building the accordion tabs is very easy.  You'll need some 
extra 
  work to create the children of the accordion; probably a custom 
  component instead of the Canvas tag used in the below example.  
BTW, 
  I think I got the basis for this sample code from someone's 
site, 
  probably Jester's, but I couldn't find the direct link.
  
  Data.xml:
  ---
  xml
header label=my header 1 /
header label=my header 2 /
header label=my header 3 /
  /xml 
  
  app.mxml:
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
  width=100% height=100%
  
  mx:Model id=myXml source=Data.xml/
  
  mx:Accordion height=300 width=200
  mx:Repeater  id=rp dataProvider={myXml.header}
  mx:Canvas height=100% width=100% 
  label={rp.currentItem.label}/
  /mx:Repeater
  /mx:Accordion
  
  /mx:Application
  
  
  Enjoy!
  Doug
  
  
  --- In flexcoders@yahoogroups.com, alehrens axe130@ wrote:
  
   I'm a newbie to both Flex and FlexCoders...  How would you go 
  about 
   populating an accordian tab/data from an XML file?  
Specifically, 
  I 
   have an XML file that contains a label, data and description.  
I'd 
   like to use the label as the tab of the accordian, then show 
the 
  data 
   and description inside the accordian.  Is there a clean and 
simple 
  way 
   to do this?
  
 








 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Re: Accordian from XML: Repeater Woes

2006-06-06 Thread Jim Robson










Thanks Doug  



I found  posted a solution, but our
posts crossed in cyberspace.



Thanks again



-Jim











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Lowder
Sent: Tuesday, June 06, 2006 12:23
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Accordian from XML: Repeater Woes











That was a Flex 1.5 example. I'm not sure if the
mx:Model tag is 
supported the same way in Flex 2.0, so that may be part of the 
problem.

You should be able to use an array as the dataprovider for your 
repeater, just to get things going until you are able to read 
external XML.

--- In [EMAIL PROTECTED]ups.com,
dadrobson jim.robson@... 
wrote:

 I'm having lots of trouble using XML as a dataProvider for a 
Repeater
 component (Flex 2 B3), and from what I've seen of the other posts 
on
 the list, it appears that I'm not alone. 
 
 I tried Doug Lowder's code below, thinking that it would help me to
 see what is wrong with my code. But when I compile Doug's code and 
run
 it, the Accordion appears as a blank white rectangle in the upper 
left
 corner of the screen: No buttons or labels of any kind are 
visible. 
 
 In my own code, my intent is to use a Repeater to display 
instances of
 a custom component. When I could not get that to work, I tried just
 getting the Repeater to display Label components with their text 
set
 to the Repeater's currentIndex (cast to a String of course). But 
when
 I compile it and run it, nothing is displayed where the Labels 
should
 be. I'm not getting any compiler errors, but the app is simply 
blank
 where the Repeater should be giving me Labels. 
 
 I've searched around, but I can't find anything in the Flex 2.0 
docs
 or online that provides clear guidelines on how to use an external 
XML
 file with a Repeater. I don't have any trouble with other 
components
 (MenuBar, DataGrid, ComboBox, List). It's just the Repeater that I
 can't seem to figure out.
 
 Can anyone point me to a good resource for this?
 
 -Jim
 
 --- In [EMAIL PROTECTED]ups.com,
Doug Lowder douglowder@ 
wrote:
 
  Building the accordion tabs is very easy. You'll need some 
extra 
  work to create the children of the accordion; probably a custom 
  component instead of the Canvas tag used in the below example. 
BTW, 
  I think I got the basis for this sample code from someone's 
site, 
  probably Jester's, but I couldn't find the direct link.
  
  Data.xml:
  ---
  xml
  header label=my header 1 /
  header label=my header 2 /
  header label=my header 3 /
  /xml 
  
  app.mxml:
  
  ?xml version=1.0 encoding=utf-8?
  
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

  width=100% height=100%
  
  mx:Model id=myXml source=Data.xml/
  
  mx:Accordion height=300 width=200
  mx:Repeater id=rp dataProvider={myXml.header}
  mx:Canvas height=100% width=100% 
  label={rp.currentItem.label}/
  /mx:Repeater
  /mx:Accordion
  
  /mx:Application
  
  
  Enjoy!
  Doug
  
  
  --- In [EMAIL PROTECTED]ups.com,
alehrens axe130@ wrote:
  
   I'm a newbie to both Flex and FlexCoders... How would you
go 
  about 
   populating an accordian tab/data from an XML file? 
Specifically, 
  I 
   have an XML file that contains a label, data and description. 
I'd 
   like to use the label as the tab of the accordian, then show 
the 
  data 
   and description inside the accordian. Is there a clean and 
simple 
  way 
   to do this?
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






SOLVED - RE: [flexcoders] Re: Accordian from XML: Repeater Woes

2006-06-06 Thread Jim Robson










I finally figured out what was wrong.
With MenuBar components, the external XML file has a root node root
and it is ignored in the MXML code. However, for Repeater components, this does
not work: on the contrary, it is necessary to specify the root node in the MXML
code. So, the following slightly modified version of Dougs code works
perfectly (notice the change to the value of the dataProvider attribute):



?xml
version=1.0 encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute
width=100% height=100%



 mx:Model
id=myXml source=Data.xml/



 mx:Accordion
height=300 width=200

 mx:Repeater
id=rp dataProvider={myXml.xml.header}

 mx:Canvas
height=100% width=100%
label={rp.currentItem.label}/

 /mx:Repeater

/mx:Accordion



/mx:Application



!Data.xml


xml

header
label=my header 1 /

header
label=my header 2 /

header
label=my header 3 /

/xml











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dadrobson
Sent: Tuesday, June 06, 2006 10:34
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Accordian from XML: Repeater Woes











I'm having lots of trouble using XML as a dataProvider
for a Repeater
component (Flex 2 B3), and from what I've seen of the other posts on
the list, it appears that I'm not alone. 

I tried Doug Lowder's code below, thinking that it would help me to
see what is wrong with my code. But when I compile Doug's code and run
it, the Accordion appears as a blank white rectangle in the upper left
corner of the screen: No buttons or labels of any kind are visible. 

In my own code, my intent is to use a Repeater to display instances of
a custom component. When I could not get that to work, I tried just
getting the Repeater to display Label components with their text set
to the Repeater's currentIndex (cast to a String of course). But when
I compile it and run it, nothing is displayed where the Labels should
be. I'm not getting any compiler errors, but the app is simply blank
where the Repeater should be giving me Labels. 

I've searched around, but I can't find anything in the Flex 2.0 docs
or online that provides clear guidelines on how to use an external XML
file with a Repeater. I don't have any trouble with other components
(MenuBar, DataGrid, ComboBox, List). It's just the Repeater that I
can't seem to figure out.

Can anyone point me to a good resource for this?

-Jim

--- In [EMAIL PROTECTED]ups.com,
Doug Lowder douglowder@... wrote:

 Building the accordion tabs is very easy. You'll need some extra 
 work to create the children of the accordion; probably a custom 
 component instead of the Canvas tag used in the below example. BTW, 
 I think I got the basis for this sample code from someone's site, 
 probably Jester's, but I couldn't find the direct link.
 
 Data.xml:
 ---
 xml
 header label=my header 1 /
 header label=my header 2 /
 header label=my header 3 /
 /xml 
 
 app.mxml:
 
 ?xml version=1.0 encoding=utf-8?
 
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 width=100% height=100%
 
 mx:Model id=myXml source=Data.xml/
 
 mx:Accordion height=300 width=200
 mx:Repeater id=rp dataProvider={myXml.header}
 mx:Canvas height=100% width=100% 
 label={rp.currentItem.label}/
 /mx:Repeater
 /mx:Accordion
 
 /mx:Application
 
 
 Enjoy!
 Doug
 
 
 --- In [EMAIL PROTECTED]ups.com,
alehrens axe130@ wrote:
 
  I'm a newbie to both Flex and FlexCoders... How would you go 
 about 
  populating an accordian tab/data from an XML file? Specifically, 
 I 
  have an XML file that contains a label, data and description. I'd 
  like to use the label as the tab of the accordian, then show the 
 data 
  and description inside the accordian. Is there a clean and simple 
 way 
  to do this?
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: FusionCharts under Flex

2006-06-06 Thread Jason
Go to
http://www.infosoftglobal.com/FusionCharts/Gallery.asp?gMenuItemId=3#ps
and click on the charts under 2D/3D Column Charts.  You'll see the
animations I mean.  And if you click on the FusionCharts Presentation
Suite, you'll see what my boss REALLY went wild for.  They use Flash
to put a bit of Powerpoint-ish pizazz into the charts.  Not really my
thing as I'm more of a usability guy, but it does impress the suits.

I managed to get the label rotation working.  The help for
labelRotation under mx.charts.AxisRenderer should have a big bold
reference to the embedding thing.  I went there first and only figured
out the problem when I finally went to the Rotating axis elements
example page.  I think it's a good way to do it, but you have to admit
that it's a bit of a learning curve compared to just setting a label
rotation property and having it always work.

I hear what you're saying about time.  I wish Adobe would put some
more people on Flex to just write examples and such.  One good example
is worth a whole page of documentation.  Of course, that can get
problematic when you're still redesigning some of it as you go along.  :D

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

  
 I hear you Jason, but there's only so many hours in the day.
  
  3d bar/pie charts,
 
 Yeah, that's something we don't support. 
  
  animations for when the chart loads 
  
 Can you Describe what you're looking for?
  
  rotating axis labels
  
 Flex charts support those, if you use embedded fonts.
  
  
  Maybe it would help if you had a lot of samples where you implemented
 a lot of these features so people could just reuse your code instead
 of rewriting the renderers. 
  
 Indeed it would. Only so many hours in the day though.  I spend the late
 hours of the night ignoring my family and writing samples that I post on
 my blog.  Let me know what you'd like to see and I'll put 'em on the
 list.
  
  
 Ely.
 http://www.quietlyscheming.com/






 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] how can I load text from a file

2006-06-06 Thread Antoine Malpel
Hi

I have a text containing a big big big html text that I need to put 
inside a mx:texarea in my app
I don't how to load the content of this file in order to set the value 
of htmltext ...

Any example ?


 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Re: FusionCharts under Flex

2006-06-06 Thread Jim Robson










I wish Adobe would put some more people on Flex



That would be great!!! 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason
Sent: Tuesday, June 06, 2006 12:53
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
FusionCharts under Flex











Go to
http://www.infosoftglobal.com/FusionCharts/Gallery.asp?gMenuItemId=3#ps
and click on the charts under 2D/3D Column Charts. You'll see the
animations I mean. And if you click on the FusionCharts Presentation
Suite, you'll see what my boss REALLY went wild for. They use Flash
to put a bit of Powerpoint-ish pizazz into the charts. Not really my
thing as I'm more of a usability guy, but it does impress the suits.

I managed to get the label rotation working. The help for
labelRotation under mx.charts.AxisRenderer should have a big
bold
reference to the embedding thing. I went there first and only figured
out the problem when I finally went to the Rotating axis elements
example page. I think it's a good way to do it, but you have to admit
that it's a bit of a learning curve compared to just setting a label
rotation property and having it always work.

I hear what you're saying about time. I wish Adobe would put some
more people on Flex to just write examples and such. One good example
is worth a whole page of documentation. Of course, that can get
problematic when you're still redesigning some of it as you go along. :D

--- In [EMAIL PROTECTED]ups.com,
Ely Greenfield [EMAIL PROTECTED]. wrote:

 
 I hear you Jason, but there's only so many hours in the day.
 
  3d bar/pie charts,
 
 Yeah, that's something we don't support. 
 
  animations for when the chart loads 
 
 Can you Describe what you're looking for?
 
  rotating axis labels
 
 Flex charts support those, if you use embedded fonts.
 
 
  Maybe it would help if you had a lot of samples where you implemented
 a lot of these features so people could just reuse your code instead
 of rewriting the renderers. 
 
 Indeed it would. Only so many hours in the day though. I spend the late
 hours of the night ignoring my family and writing samples that I post on
 my blog. Let me know what you'd like to see and I'll put 'em on the
 list.
 
 
 Ely.
 http://www.quietlyscheming.com/







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] how can I load text from a file

2006-06-06 Thread Jeremy Lu



if you don't mind embedding it in the mxml, try this:mx:TextAreamx:htmlText![CDATA[your text here...]]/mx:htmlTextmx:TextArea
On 6/7/06, Antoine Malpel [EMAIL PROTECTED] wrote:









  



Hi

I have a text containing a big big big html text that I need to put 
inside a mx:texarea in my app
I don't how to load the content of this file in order to set the value 
of htmltext ...

Any example ?

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] How up upload a ByteArray to PHP on the server?

2006-06-06 Thread rigidcode

If I make a ByteArray of jpeg data, how do I send it to the server in
such a way that PHP will have it in it's $_FILES array?  If I just set
the URLRequest.data property to the ByteArray, then it won't have a
filename, or a variable name, to refer to in the php.  

http://us3.php.net/manual/en/features.file-upload.php







 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Re: FusionCharts under Flex

2006-06-06 Thread Ely Greenfield







I'll check out the fusion charts when I get a 
moment.

In the meantime, I'll forward your suggestion ( a good one 
) on to our doc guy.

And regarding samples...you're absolutely right, for a new 
platform like Flex, you can't underestimate the value of samples and docs ( I 
think MSDN employs the entire population of Colorado and Arizona). The 
guys building docs and samples for flex continue to produce great stuff that 
hopefully you'll see before too long. Also, when Flex 2 makes it out the 
door, the dev team, who really knows the framework inside and out, will 
hopefully have more time to contribute samples to the 
community.


In the meantime, I took a half hour to put together a 
threshold renderer you can use as a starting point:

http://www.quietlyscheming.com/blog/2006/06/06/flex-charting-example-data-based-renderers/

Ely.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: RSL: using runtime shared library prompts debug dialog [F2b3]

2006-06-06 Thread Peter Blazejewicz
Hello Tom,

thanks for looking into that :)

I've already tried different things,
my library project (which produces .swc for RSL) has also added -
debug=false into compiler additional params,
RSL .swf file is extracted in project where .swc is linked as dynamic
 for compiler (Flex build pathLibrary PathLink Type on .swc),

I haven't tried commandline compiler yet though only using that built-
in with FlexBuilder,
I've also got the same behavior with different project which should 
use RSL,
most probably I'll log that for adobe team as bug (or at least as 
feature wish for documentation - i've simply followed flex docs 
documentation to create RSL library and project that uses RSL)

regards,
Peter Blazejewicz









 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Namespace hell

2006-06-06 Thread ben.clinkinbeard
OK, I have posted several times now about problems caused by having
namespaces in XML in Flex (specifically Beta 3), and have gotten
virtually no responses. Please, someone respond, even if to say I
have the same problem or this can't be done. I am beginning to
think that Flex is simply not very capable in this area. I seriously
hope this is not the case.

Default namespaces seem to be the most problematic, as they seem to
prevent the XML from even being used as a DataProvider. Take this
simple setup.

===
var entries:XML = 
rootNode xmlns=http://site.com/Back/DocMetadata;
Entry
  CreateDate5/5/2006 9:56:30 AM/CreateDate
  DocumentTypeRPR/DocumentType
/Entry
Entry
  CreateDate5/3/2006 3:07:27 PM/CreateDate
  DocumentTypeRPR/DocumentType
/Entry
/rootNode;

namespace d = http://site.com/Back/DocMetadata;;
var list:XMLListCollection = new XMLListCollection(entries.d::Entry);
myDataGrid.dataProvider = list;

mx:DataGrid id=myDataGrid x=10 y=247 width=536 height=230
mx:columns
mx:DataGridColumn headerText=Column 1 
dataField=CreateDate/
mx:DataGridColumn headerText=Column 2 
dataField=DocumentType/
/mx:columns
/mx:DataGrid
===

This results in the DataGrid being populated with 2 items, but there
is no text displayed. You simply have empty rollovers. However, if you
remove the namespace from the xml and update the AS accordingly,
everything works correctly, with text being displayed as expected. Is
this really a shortcoming of Flex or am I missing something really simple?

Thanks,
Ben





 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Beta3 on win 2003.

2006-06-06 Thread sufibaba
Hi Tom,

Thanks for your reply,

It seems that my clients are using CF7 standard and not Enterprise. 
Do you know if the CF-flex connector works for CF7 Standard or is an
CF enterprise thing.

Tim

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

 On Monday 05 June 2006 17:29, sufibaba wrote:
  Send failed: Channel.Connect.Failed error
  NetConnection.Call.Failed: HTTP: Failed
 
 If I understand right, FlexBuilder can't cope if the Flex and CF
servers are 
 on different boxes.
 You have to use mxmlc from the command line in this case.
 
 -- 
 Tom Chiverton
 
 
 
 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.
 
 We are pleased to announce that Halliwells LLP has been voted AIM
Lawyer of the Year at the 2005 Growth Company Awards








 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Flex 2.0b3 WebServices

2006-06-06 Thread Franck de Bruijn










I am using wsdl imports for schemas and
that works ok.



You have to be careful with the URL in the
import though. Initially, in my situation, the external IP-address of the
server was used in the import-URL, while I was testing the application from localhost.
Flex security mechanism then prohibits to download from the URL on an
other IP-address.



After I started my application on the
external IP-address, all worked fine.



Cheers,
Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland
Sent: Tuesday, June 06, 2006 5:18
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
2.0b3  WebServices











Do you have a fully qualified URL for the
wsdl attribute on the mx:WebService tag?









Flex 2 should support WSDL imports.
















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 10:52
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0b3
 WebServices



Guys,

I'm trying to call a webservice and getting an error when FlexServer tries
to read the wsdl.

The WebService is deployed on a Websphere box and the wsdl files are
divided into two pieces :

a) A Service Wsdl and,
b) An Interface wsdl.

The Service Wsdl imports the Interface wsdl file and runs fine when tested
inside WebSphere test environment. I'm using Cairngorm2b3 to get to the
WebService but receive the following error at the start of the application
:

[RPC Fault faultString=Cannot resolve relative WSDL import without a
fully
qualified base address. faultCode=Client.WSDL.Import
faultDetail=Please
specify the location of the WSDL document for the WebService.]
at mx.rpc.soap::WSDLParser/::dispatchFault()
at
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at
::HTTPMessageResponder/HTTPChannel.as$8:HTTPMessageResponder::resultHandler()
at ::HTTPMessageResponder/completeHandler()
at ::ChannelRequestLoader/::callEventCallback()
at ::ChannelRequestLoader/::completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

I'm guessing that Flex can only read WSDL files with inline schemas ? Does
anyone have any pointers ?

Thanks in advance,
Praful

Praful Aggarwal
Lending Projects Team
EBS IT Department
praful.aggarwal@mail.ebs.ie
Ph : +353-1-6659256

Wrinkles should merely indicate where smiles have been - Mark Twain

Savings - Home Loans - Personal Loans - Investments - Credit Card - Insurance

all together better EBS Building Society www.ebs.ie

**
Terms and Conditions apply. EBS is regulated by the Financial Regulator.
**
The information contained in this communication is intended solely for
the use of the individual or entity to whom it is addressed. It may
contain confidential or legally privileged information. If you are not
the intended recipient you are hereby notified that
any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please
notify us immediately by responding to this email and then delete it from 
your system.

Any personal opinions expressed in this e-mail are views of the
individual and do not necessarily reflect the views of the EBS Group.
The content of this e-mail may have been sent without the authority of
the EBS Group.

EBS Group cannot guarantee that this e-mail and attachments are free of viruses
and you must ensure that you carry out your own virus checks. EBS 

Group accepts no liability for any loss or damage caused by software
viruses.

www.ebs.ie

***








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from 

RE: [flexcoders] Re: RDS problems with beta 3

2006-06-06 Thread João Fernandes
Ed,

check in the cf administrator , in the system information if it reports as 
mystic 7.0.2.

João Fernandes


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Ed Lovell
Sent: Tue 06-Jun-06 6:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RDS problems with beta 3
 
I installed CFMX7 from the CD, then the 7.0.1 update, then the 
cf_flexconnect_B3 file from labs.adobe.com.  I guess I'm out of luck, eh??  
Thanks!!
 
-Original Message-
Message: 13 
   Date: Mon Jun 5, 2006 1:54 pm (PDT) 
   From: João Fernandes [EMAIL PROTECTED]  
Subject: Re: RDS problems with beta 3 
 
 
Ed,
 
Did you install the cf_connectivity_updater ? To be able to connect RDS with FB 
you'll need the updater otherwise it won't work.
 
João Fernandes
 
-Original Message-
From: flexcoders@yahoogroups.com on behalf of Ed Lovell
Sent: Mon 05-Jun-06 9:19 PM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] Re: RDS problems with beta 3
 
João, 
 
Thanks for the suggestion. I've tried both port 80 and port 8500 with FB2 
running on the same box as CF7 and a separate box.  The really weird thing is 
that I can access via RDS from CF Report Builder, but not from FB2b3.  
 
-Ed
 
 From: João Fernandes [EMAIL PROTECTED]  
 Subject: Re: RDS problems with beta 3 
 I had the same issue when using IIS and pointing to port 80. 
 When using de CF instance port number It started to work.
 
 João Fernandes
 Dep. Informática - à rea de Desenvolvimento
 Cofina media
 
 I'm having problems with Flex Builder 2 beta 3 in connecting via 
 RDS to CFMX7.  I installed the CF_FBExtensions_B3_0515 on top 
 of FB2b3.  In trying to configure RDS to connect to my CF7 server, 
 all I can get is Unable to contact the RDS server  I've tried two 
 different CF7 servers and have verified that both CF7 server are 
 accepting RDS connections since I can connect to both using RDS 
 via CF Report Writer.  I've tried connecting by host name and IP 
 address.  Any suggestions??  Thanks!



IMPORTANT NOTICE:  This e-mail is meant only for the use of the intended
recipient.  It may contain confidential information which is legally
privileged or otherwise protected by law.  If you received this e-mail
in error or from someone who was not authorized to send it to you, you
are strictly prohibited from reviewing, using, disseminating,
distributing or copying the e-mail.  PLEASE NOTIFY US IMMEDIATELY OF THE
ERROR BY RETURN E-MAIL AND DELETE THIS MESSAGE FROM YOUR SYSTEM.  Thank
you for your cooperation.



 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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

Re: [flexcoders] How up upload a ByteArray to PHP on the server?

2006-06-06 Thread Tim Scollick



I might be wrong but I think that if you wanted it in the files array, you would have to:1. Get the ByteArray.2. Send it to the server to make the jpg.3. Load the jpg into Flash.4. Send it again in the files array.
I think it would be easier and more effiicient to send the ByteArray to make the jpeg and then send the other files independently (I'm assuming that you're sending it with other files).
On 6/6/06, rigidcode [EMAIL PROTECTED] wrote:









  




If I make a ByteArray of jpeg data, how do I send it to the server in
such a way that PHP will have it in it's $_FILES array?  If I just set
the URLRequest.data property to the ByteArray, then it won't have a
filename, or a variable name, to refer to in the php.  

http://us3.php.net/manual/en/features.file-upload.php


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Loading one cairngorm into another cairngorm

2006-06-06 Thread sufibaba
Thanks gentlemen for your input,

I've been really busy chasing fires in other parts of the project. 
Haven't had time to test out some of the ideas yet.  Will post the
results back when I do get a chance.

Cheers,

Tim




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

 What if you will remove singletons from you code? I don't think that
you can
 get clear solution to this problem with Cairngorm design, just some
 workarounds.
 
 Best regards
 Stanisla
 
 
 On 5/27/06, Xavi Beumala [EMAIL PROTECTED] wrote:
 
   Maybe the new LoaderContext (similar to classLoader in Java) can
help you
  on this.
 
  Best
  X.
 
 
  On 5/27/06, Darren Houle  [EMAIL PROTECTED] wrote:
  
   If that was the case then you'd have to worry about singletons and
   object
   names every time you used a SWFLoader to load any other SWF. 
Any SWF
   you
   load might have coincidentally used a duplicate variable, class, or
   package
   name.  I'm not 100% sure, but I believe that SWFs loaded into
other SWFs
   by
   default are scoped separately and self contained and you do
not have
   to
   worry about the singleton classes or var names.  If that wasn't
the case
   then it would be incredibly simple to communicate between the
mast SWF
   and
   the loaded SWF.  It would be an easy enough experiment... just
create a
   page
   that loaded the same Flex app twice on the page, right next to each
   other,
   and see if they continue to work properly.  Then try it again with a
   simple
   app that, say, displayed a label and then SWFloaded a copy of
   itself.  See
   if that collides.
  
   Darren
  
  
   in the case of
   Cairngorm, I think that I might run into problems with the fact
that
   in Cairngorm, some things are singletons (AppController, Service,
   AppModel).  If Both apps have the same names for these singletons,
   would these not conflict?
  
  
  
  
  
   --
   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
 
 
 
   SPONSORED LINKS
Web site design
developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
Computer
  software
developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
Software
  design and
developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 Macromedia
 
flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
Software
  development best
practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
   --
  YAHOO! GROUPS LINKS
 
 
 -  Visit your group
flexcodershttp://groups.yahoo.com/group/flexcoders
 on the web.
 
 
To unsubscribe from this group, send an email to:
  
[EMAIL PROTECTED][EMAIL PROTECTED]
 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Servicehttp://docs.yahoo.com/info/terms/
  .
 
 
 
   --
 







 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] 1.5 - 2.0 Migration, my final error: Definition UIComponent could not be found.....

2006-06-06 Thread Tracy Spratt
The problem is that the error panel does not indicate a file, and line
15 does not appear to be significant in any file I have looked at.

Furthermore, UIComponent is a base class, or at least a very fundamental
class and I have not needed to import it for any other app.

Plus the CODEGEN error text is different from any other error I have
seen.

I don't know where to start!

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, June 06, 2006 8:25 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] 1.5 - 2.0 Migration, my final error:
Definition UIComponent could not be found.

On Monday 05 June 2006 21:02, Tracy Spratt wrote:
 Location: line 15

What's on that line ?
Are you just missing an import ?

-- 
Tom Chiverton



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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards




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



 






 Yahoo! Groups Sponsor ~-- 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Validate an email without using validator structure??

2006-06-06 Thread Ronan Bottini










Hi

Is there any way to validate an email address field without
using the validator structure??
I mean just simply knowing if the string in the TextInput is a validate email address.
I don´t want to get no Alerts.
Thanks 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] need help in making usrname/pswd Database

2006-06-06 Thread Tracy Spratt










See my advice in the thread titled: Connecting
to a sql or an access database through flex

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of raju_bb
Sent: Tuesday, June 06, 2006 11:53
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] need help in
making usrname/pswd Database











hey can anybody tell me how to retrieve and send data
to/from the
database which will display the results on the datagrid..it can be any
database SQL/Access..plzz help






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Connecting to a sql or an access database through flex

2006-06-06 Thread Tracy Spratt










I recommend HTTPService. Web
services are unnecessarily complicated if you have control of both client and
server. To use HTTPService, just create an aspx application with the
content-type =text/xml. Then use the .net data access
objects to talk to the database, and return XML to the calling Flex
client. If your data requirements are simple enough, use FOR XML [raw,
auto, explicit] in the SQL queries, and you wont even need to massage
the data into xml.



Set resultType=e4x in the
HTTPService tag.



I would post an example, but my current
exampl is so old, it uses Flex 1.5, and classic ASP. I am using .net in
production, but havent created an example yet.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Tuesday, June 06, 2006 11:01
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Connecting to a sql or an access database through flex











Hi Rama,

Getting
SQL Server or Access data into Flexisn't that difficult. However,
it's not that easy either. There are currently several different
technologies that you can use to get .NET data into Flex. They include: Web
Services, HTTPService, Flash Remoting, WebOrb and Fluorine. In addition,
the Flex RPC components may be combined with Flex Data Services (FDS) to
provide integrated enterprise functionality.

My guess
is that all of this is too much information. You probably just want to
connect Flex to a SQL or Access database, right? Well, to get your
feet wet, I would recommend reading the following two articles/examples.
They are not current with F2B3, but little change is required.

Andrew Stepford's
Weblog - Flex and .NET web services pt1.
Andrew
Stepford's Weblog - Flex and .NET web services pt2.

Using
.NET web services to get data into Flex is probably the easiest approach to
learn. However, it's also the slowest data transfer method. I'm not
recommending that you choose web services for your data needs. But, for
learning purposes, you should be able to get up-to-speed, in a short amount of
time. At the same time, I would start reading the Flex Help Documentation.
It contains just about everything that you might need to know about
Working with Data. Once you have a data connection, you can
look into the other technologies to determine which approach is right for your
application.

Best
Regards,
Tim Hoff


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

 Hi all,
 Can anyone teach a way to connect the flex application to an access
 database or sql database.What i need is a simple tutorial or a sample
 example. 
 Kindly help.
 Thanks in advance.
 
 Rama.







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] how can I load text from a file

2006-06-06 Thread Tracy Spratt










Use HTTPService or URLLoader().



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel
Sent: Tuesday, June 06, 2006 12:22
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how can I
load text from a file











Hi

I have a text containing a big big big html text that I need to put 
inside a mx:texarea in my app
I don't how to load the content of this file in order to set the value 
of htmltext ...

Any example ?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] having trouble with menu bar f2b3

2006-06-06 Thread Jeremy Rottman
I am working on migrating an app to f2b3, and I have run into a issue
that I cant figure out. I have also tested this with the example code
provided on the adobe flexapps site.

When I run the code below, it displays only the children of the Contacts
xml, and doesnt display anything else.  Anyone have an idea why it is
doing this.

Here is my code.

menuBar.mxml

?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=initCollections() width=100% height=100%
   mx:Script source=as/asMenuBar.as /
 mx:MenuBar labelField=@label showRoot=false
dataProvider={menuBarCollection} width=100% height=22 /

/mx:Canvas


asMenuBar.as

 // IMPORTS

 import mx.events.MenuEvent;
 import mx.collections.*;

 [Bindable]
 public var menuBarCollection:XMLListCollection;

 private var menubarXML:XMLList =
 
menuitem label=Contacts
 menuitem label=Outside Agent data=1A/
 menuitem label=Vendor data=1A/
 menuitem label=Clients data=1A/
 /menuitem
 menuitem label=Search
 menuitem label=Listings data=1A/
 menuitem label=Sales data=1A/
 menuitem label=Rentals data=1A/
 menuitem label=Referrals data=1A/
 /menuitem
 /;

 private function initCollections() : void
 {
 menuBarCollection = new XMLListCollection(menubarXML);
 }










 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Release date? Maybe 15th

2006-06-06 Thread Robert Thompson



Release date?Just wondering. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Jason Y. Kwong



I've noticed one other problem: If a Tree's showRoot property is set to false, not even calling invalidateList() will refresh the display. In fact, I can't find any way to get the Tree to refresh in such a case. Any ideas?
On 5/25/06, Michael Montagna [EMAIL PROTECTED] wrote:
Post beta3, changes to XML will automatically get updated in the Treecontrol.And you won't be required to go through XMLListCollectionbut you can simply make changes to the XML model itself, e.g. delete,+, appendChild, etc.
You're seeing a bug in the b3 Tree where the collection events aren'tbeing handled properly.HTH,-MichaelFlex Framework--- In flexcoders@yahoogroups.com
, Tracy Spratt [EMAIL PROTECTED] wrote: Well, I figured it out already: myTree.invalidateList(); cleanly updates my display. If there is a better way, let me know.
 Tracy  From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 8:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2b3: e4x XML object as Tree dataprovider, how to
 refresh tree display? I need to modify the xml node names and text nodes so I can't use the XMLListCollection API. In 1.5, we could dispatch a modelChanged event to update a control.
 What is the 2.0 style way to cause a Tree control to refresh? Tracy -- Flexcoders Mailing List FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
 Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw
 Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
  YAHOO! GROUPS LINKS *Visit your group flexcoders 
http://groups.yahoo.com/group/flexcoders  on the web. *To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]?subject=Unsubscribe *Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ .  Yahoo! Groups Sponsor ~--
Get to your groups with one click. Know instantly when new email arriveshttp://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] URLLoader().

2006-06-06 Thread Ravindra Suthar










Hi,



Can I
use URLLoader in flex 1.5. and what is the diff frm httpReqest. How can I use this







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
Rottman
Sent: Wednesday, June 07, 2006 12:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] having trouble with menu bar f2b3













I am working on migrating an app to f2b3, and I
have run into a issue
that I cant figure out. I have also tested this with the example code
provided on the adobe flexapps site.

When I run the code below, it displays only the children of the Contacts
xml, and doesnt display anything else. Anyone have an idea why it is
doing this.

Here is my code.

menuBar.mxml

?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
creationComplete=initCollections() width=100%
height=100%
mx:Script source=as/asMenuBar.as /
mx:MenuBar labelField=@label showRoot=false
dataProvider={menuBarCollection} width=100%
height=22 /

/mx:Canvas

asMenuBar.as

// IMPORTS

import mx.events.MenuEvent;
import mx.collections.*;

[Bindable]
public var menuBarCollection:XMLListCollection;

private var menubarXML:XMLList =

menuitem label=Contacts
menuitem label=Outside Agent data="">
menuitem label=Vendor data="">
menuitem label=Clients data="">
/menuitem
menuitem label=Search
menuitem label=Listings data="">
menuitem label=Sales data="">
menuitem label=Rentals data="">
menuitem label=Referrals data="">
/menuitem
/;

private function initCollections() : void
{
menuBarCollection = new XMLListCollection(menubarXML);
}



 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Passing data between seperate components

2006-06-06 Thread rgwilson26
I have an app where I have created a single control bar that allows 
the user to navigate through various components in my application. 
This is so that the navigiation is always located at the bottom of 
the screen and is visible at all times to the user without 
scrolling. I am doing this becuase some of my components are fairly 
large, and while the user scrolls down the bottom navigation will 
stay in view at all times.

My navigation component succesfully navigates through my components 
through a dispatched event with no problems. What I want to do is 
send the data in each component to a data model. However, I have not 
figured a way to do this without putting the control directly inside 
the component. What I need is a way in which the navigation 
component can some how tell each component to send its data to my 
data model each time a navigation click event is fired.

Simply put, I need a way for one component (my navigation component) 
to tell each individual component to send data to my data model. If 
anyone has worked with some sort of navigation bar that is used to 
direct the user from component to component while saving data along 
the way I would appreciate some advice on how to approach this.

Thanks in advance,

Ryan





 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Jason Y. Kwong



Actually, let me clarify that a bit. I can't get the Tree to show new nodes added to the root node. If I add nodes to child nodes, they show up when calling invalidateList(). The root node is the problem. I did a trace of the Tree's dataprovider after adding to the root node and the new children are in the XML. Must be a problem with the Tree's refresh logic.
On 6/6/06, Jason Y. Kwong [EMAIL PROTECTED] wrote:
I've noticed one other problem: If a Tree's showRoot property is set to false, not even calling invalidateList() will refresh the display. In fact, I can't find any way to get the Tree to refresh in such a case. Any ideas?
On 5/25/06, Michael Montagna 
[EMAIL PROTECTED] wrote:
Post beta3, changes to XML will automatically get updated in the Treecontrol.And you won't be required to go through XMLListCollectionbut you can simply make changes to the XML model itself, e.g. delete,+, appendChild, etc.
You're seeing a bug in the b3 Tree where the collection events aren'tbeing handled properly.HTH,-MichaelFlex Framework--- In 
flexcoders@yahoogroups.com
, Tracy Spratt [EMAIL PROTECTED] wrote: Well, I figured it out already: myTree.invalidateList(); cleanly updates my display. If there is a better way, let me know.
 Tracy  From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 8:58 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] F2b3: e4x XML object as Tree dataprovider, how to
 refresh tree display? I need to modify the xml node names and text nodes so I can't use the XMLListCollection API. In 1.5, we could dispatch a modelChanged event to update a control.
 What is the 2.0 style way to cause a Tree control to refresh? Tracy -- Flexcoders Mailing List FAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com
 SPONSORED LINKS Web site design development 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer software development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
 Software design and development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

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

http://groups.yahoo.com/group/flexcoders  on the web. *To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]?subject=Unsubscribe
 *Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 Yahoo! Groups Sponsor ~--
Get to your groups with one click. Know instantly when new email arriveshttp://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
 

[flexcoders] changing states.

2006-06-06 Thread Jeremy Rottman
I am using a stateManager type setup with my new flex app. I have one
mxml file that holds all the information about various states with in
my app. And I am using a menubar that will allow users to navigate
through these states. I am having a bit of trouble getting this to work. 

I am using this function to change teh state.
  private function menuHandler(event : MenuEvent) : void {

stateManager.currentState = [EMAIL PROTECTED];
}

I have imported the component stateManager with this.
   import components.managers.stateManager;

When I try to compile I get this error.

Access of possibly undefined property currentState through a reference
with static type Class.

Can someone give me a bit of help with this.





 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] How up upload a ByteArray to PHP on the server?

2006-06-06 Thread Luís Gustavo Sanabio



Hi rigidcode, 

Send the bytearray using URLLoader with $POST. I think that you need to send the apropriate header. I did it, but I don't remember well.

 At PHP, use:
 if(is_uploaded_file($_FILES[Filedata][tmp_name]))
 $_FILES[Filedata][tmp_name]

Gustavo Sanabio

2006/6/6, Tim Scollick [EMAIL PROTECTED]:


I might be wrong but I think that if you wanted it in the files array, you would have to:1. Get the ByteArray.2. Send it to the server to make the jpg.3. Load the jpg into Flash.4. Send it again in the files array. 
I think it would be easier and more effiicient to send the ByteArray to make the jpeg and then send the other files independently (I'm assuming that you're sending it with other files).

On 6/6/06, rigidcode [EMAIL PROTECTED]
 wrote:








If I make a ByteArray of jpeg data, how do I send it to the server insuch a way that PHP will have it in it's $_FILES array? If I just setthe URLRequest.data property to the ByteArray, then it won't have a
filename, or a variable name, to refer to in the php. http://us3.php.net/manual/en/features.file-upload.php

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Connecting to a sql or an access database through flex

2006-06-06 Thread Tim Hoff
Yeah,  you're right Tracy.  The HTTPService route may be better in 
this case.  Thanks for the input.

Tim

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

 I recommend HTTPService.  Web services are unnecessarily 
complicated if
 you have control of both client and server.  To use HTTPService, 
just
 create an aspx application with the content-type =text/xml.  
Then use
 the .net data access objects to talk to the database, and return 
XML to
 the calling Flex client.  If your data requirements are simple 
enough,
 use FOR XML [raw, auto, explicit] in the SQL queries, and you 
won't even
 need to massage the data into xml.
 
  
 
 Set resultType=e4x in the HTTPService tag.
 
  
 
 I would post an example, but my current exampl is so old, it uses 
Flex
 1.5, and classic ASP.  I am using .net in production, but haven't
 created an example yet.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tim Hoff
 Sent: Tuesday, June 06, 2006 11:01 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Connecting to a sql or an access database
 through flex
 
  
 
 Hi Rama,
 
 Getting SQL Server or Access data into Flex isn't that difficult.
 However, it's not that easy either.  There are currently several
 different technologies that you can use to get .NET data into 
Flex. They
 include: Web Services, HTTPService, Flash Remoting, WebOrb and 
Fluorine.
 In addition, the Flex RPC components may be combined with Flex Data
 Services (FDS) to provide integrated enterprise functionality.
 
 My guess is that all of this is too much information.  You 
probably just
 want to connect Flex to a SQL or Access database, right?   Well, 
to get
 your feet wet, I would recommend reading the following two
 articles/examples.  They are not current with F2B3, but little 
change is
 required.
 
 Andrew Stepford's Weblog - Flex and .NET web services pt1.
 http://weblogs.asp.net/astopford/articles/105551.aspx  
 Andrew Stepford's Weblog - Flex and .NET web services pt2.
 http://weblogs.asp.net/astopford/articles/106476.aspx  
 
 Using .NET web services to get data into Flex is probably the 
easiest
 approach to learn.  However, it's also the slowest data transfer 
method.
 I'm not recommending that you choose web services for your data 
needs.
 But, for learning purposes, you should be able to get up-to-speed, 
in a
 short amount of time.  At the same time, I would start reading the 
Flex
 Help Documentation.  It contains just about everything that you 
might
 need to know about Working with Data.  Once you have a data
 connection, you can look into the other technologies to determine 
which
 approach is right for your application.
 
 Best Regards,
 Tim Hoff
 
 
 --- In flexcoders@yahoogroups.com, rama satoskar satoskar.rama@
 wrote:
 
  Hi all,
  Can anyone teach a way to connect the flex application to an 
access
  database or sql database.What i need is a simple tutorial or a 
sample
  example. 
  Kindly help.
  Thanks in advance.
  
  Rama.
 







 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: quick filter for datagrid

2006-06-06 Thread tonyx_788
the problem is i'm almost finish with my project and the last time i
tried to install beta3 it throw me lots of errors
after i finish i'll install it
the other thing is that sho's example it's only for comboboxes
and i have a text input an a datagrid



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

 well, I'm not sure about that, why not ask Sho about it ?
 
 btw, as Flex2 is very close to release, why not port your application to
 Beta3 ?
 
 
 On 6/6/06, tonyx_788 [EMAIL PROTECTED] wrote:
 
  Thanks for the fast reply Jeremy
  but do you know if this works in Flex 2 Beta1
  i only see it for beta 3
 
 







 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Namespace hell

2006-06-06 Thread Tobias Patton










Hi Ben;



You can get this to work using the
labelFunction property of the DataGridColumn.



?xml
version=1.0 encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute



 mx:Script

 ![CDATA[

 import
mx.controls.dataGridClasses.DataGridColumn;

 import
mx.collections.XMLListCollection;

 [
Bindable ]

 public
var entries:XML = 

 rootNode
xmlns=http://site.com/Back/DocMetadata

 Entry

 CreateDate5/5/2006
9:56:30 AM/CreateDate

 DocumentTypeRPR/DocumentType

 /Entry

 Entry

 CreateDate5/3/2006 3:07:27
PM/CreateDate

 DocumentTypeRPR/DocumentType

 /Entry

 /rootNode; 

 

 public
var ns : Namespace = new Namespace(
http://site.com/Back/DocMetadata );

 

 public
function LabelFunctionDate( item : Object, column : DataGridColumn ) : String

 {

 return
XML( item ).ns::CreateDate[ 0 ].toString();

 }

 

 public
function LabelFunctionType( item : Object, column : DataGridColumn ) : String

 {

 return
XML( item ).ns::DocumentType[ 0 ].toString();

 }

 

 ]]

 /mx:Script



 mx:DataGrid
id=myDataGrid x=10 y=247
width=536 height=230

 dataProvider={entries.ns::Entry} 

 mx:columns

 mx:DataGridColumn
headerText=Column 1
labelFunction=LabelFunctionDate/

 mx:DataGridColumn
headerText=Column 2
labelFunction=LabelFunctionType/

 /mx:columns

 /mx:DataGrid



/mx:Application











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
Sent: Tuesday, June 06, 2006 10:43
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Namespace
hell











OK, I have posted several times now about problems
caused by having
namespaces in XML in Flex (specifically Beta 3), and have gotten
virtually no responses. Please, someone respond, even if to say I
have the same problem or this can't be done. I am beginning
to
think that Flex is simply not very capable in this area. I seriously
hope this is not the case.

Default namespaces seem to be the most problematic, as they seem to
prevent the XML from even being used as a DataProvider. Take this
simple setup.

===
var entries:XML = 
rootNode xmlns=http://site.com/Back/DocMetadata
Entry
CreateDate5/5/2006 9:56:30 AM/CreateDate
DocumentTypeRPR/DocumentType
/Entry
Entry
CreateDate5/3/2006 3:07:27 PM/CreateDate
DocumentTypeRPR/DocumentType
/Entry
/rootNode;

namespace d = http://site.com/Back/DocMetadata;
var list:XMLListCollection = new XMLListCollection(entries.d::Entry);
myDataGrid.dataProvider = list;

mx:DataGrid id=myDataGrid x=10 y=247
width=536 height=230
mx:columns
mx:DataGridColumn headerText=Column 1
dataField=CreateDate/
mx:DataGridColumn headerText=Column 2
dataField=DocumentType/
/mx:columns
/mx:DataGrid
===

This results in the DataGrid being populated with 2 items, but there
is no text displayed. You simply have empty rollovers. However, if you
remove the namespace from the xml and update the AS accordingly,
everything works correctly, with text being displayed as expected. Is
this really a shortcoming of Flex or am I missing something really simple?

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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Tracy Spratt










As a last resort, you can re-assign the
dataProvider. That should definitely cause the tree to refresh. In 1.5, we
could do myTree.dataProvider = myTree.dataProvider;

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Y. Kwong
Sent: Tuesday, June 06, 2006 3:46
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?











Actually, let me clarify that a bit. I can't get
the Tree to show new nodes added to the root node. If I add nodes to
child nodes, they show up when calling invalidateList(). The root node is
the problem. I did a trace of the Tree's dataprovider after adding to the
root node and the new children are in the XML. Must be a problem with the
Tree's refresh logic. 



On 6/6/06, Jason Y.
Kwong [EMAIL PROTECTED]
wrote:



I've noticed one other problem: If a Tree's showRoot property is set to
false, not even calling invalidateList() will refresh the display. In
fact, I can't find any way to get the Tree to refresh in such a case. Any
ideas? 









On 5/25/06, Michael
Montagna 
[EMAIL PROTECTED] wrote:

Post beta3, changes to
XML will automatically get updated in the Tree
control.And you won't be required to go through XMLListCollection
but you can simply make changes to the XML model itself, e.g. delete,
+, appendChild, etc. 

You're seeing a bug in the b3 Tree where the collection events aren't
being handled properly.

HTH,

-Michael
Flex Framework


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

 Well, I figured it out already:

 myTree.invalidateList();

 cleanly updates my display.



 If there is a better way, let me know. 

 Tracy



 

 From: flexcoders@yahoogroups.com
[mailto:
flexcoders@yahoogroups.com] On
 Behalf Of Tracy Spratt
 Sent: Wednesday, May 24, 2006 8:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] F2b3: e4x XML object as Tree dataprovider, how to 
 refresh tree display?



 I need to modify the xml node names and text nodes so I can't use the
 XMLListCollection API.

 In 1.5, we could dispatch a modelChanged event to update a
control. 

 What is the 2.0 style way to cause a Tree control to refresh?

 Tracy



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




 SPONSORED LINKS

 Web site design development
  http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+


site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 

 Computer software development
 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We


b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 

 Software design and development
  http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=


Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 

 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

 developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 

 Software development best practice
 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practice


w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw

are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 





 

 YAHOO! GROUPS LINKS



 *Visit your group flexcoders
 
http://groups.yahoo.com/group/flexcoders  on the web.

 *To unsubscribe from this group, send
an email to:

[EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]?subject=Unsubscribe

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



  







 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM 
~- 

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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

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

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

* 

RE: [flexcoders] URLLoader().

2006-06-06 Thread Tracy Spratt










No, URLLoader is 2.0 only. What is the
difference between it an HTTPService? That is a very good question, I hope
someone will answer it.

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ravindra Suthar
Sent: Tuesday, June 06, 2006 3:10
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] URLLoader().













Hi,



Can I use URLLoader in flex 1.5. and what is the diff frm
httpReqest. How can I use this









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman
Sent: Wednesday, June 07, 2006
12:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] having
trouble with menu bar f2b3













I am
working on migrating an app to f2b3, and I have run into a issue
that I cant figure out. I have also tested this with the example code
provided on the adobe flexapps site.

When I run the code below, it displays only the children of the Contacts
xml, and doesnt display anything else. Anyone have an idea why it is
doing this.

Here is my code.

menuBar.mxml

?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
creationComplete=initCollections() width=100%
height=100%
mx:Script source=as/asMenuBar.as /
mx:MenuBar labelField=@label showRoot=false
dataProvider={menuBarCollection} width=100%
height=22 /

/mx:Canvas

asMenuBar.as

// IMPORTS

import mx.events.MenuEvent;
import mx.collections.*;

[Bindable]
public var menuBarCollection:XMLListCollection;

private var menubarXML:XMLList =

menuitem label=Contacts
menuitem label=Outside Agent data="">
menuitem label=Vendor data="">
menuitem label=Clients data="">
/menuitem
menuitem label=Search
menuitem label=Listings data="">
menuitem label=Sales data="">
menuitem label=Rentals data="">
menuitem label=Referrals data="">
/menuitem
/;

private function initCollections() : void
{
menuBarCollection = new XMLListCollection(menubarXML);
}














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: changing states.

2006-06-06 Thread Tim Hoff
If your stateManager component is MXML, use a namespace instead of 
import to get it into the main application.

Put this in the application tag:
xmlns:managers=components.managers.*

Then define your component somewhere in the application body:
managers:stateManager id=StateManager/ 

I think that you're having a problem because you are treating an 
MXML component like a class.  If not, sorry.

Tim

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

 I am using a stateManager type setup with my new flex app. I have 
one
 mxml file that holds all the information about various states with 
in
 my app. And I am using a menubar that will allow users to navigate
 through these states. I am having a bit of trouble getting this to 
work. 
 
 I am using this function to change teh state.
   private function menuHandler(event : MenuEvent) : void {
 
 stateManager.currentState = [EMAIL PROTECTED];
 }
 
 I have imported the component stateManager with this.
import components.managers.stateManager;
 
 When I try to compile I get this error.
 
 Access of possibly undefined property currentState through a 
reference
 with static type Class.
 
 Can someone give me a bit of help with this.








 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Namespace hell

2006-06-06 Thread ben.clinkinbeard
Thanks, Tobias. I actually thought about that approach shortly after I
posted but was hoping I could avoid it. Its pretty unfortunate that
you have to write a labelFunction for every column in every DataGrid
(my real ones have more like 8 columns) just because of a namespace
but whatever. I greatly appreciate your reply, it gets the job done.

To Adobe, I hope you will consider addressing this issue if this is
indeed the only solution. You could make things waaay easier on
people like me if there were a way to strip out default namespaces.

Thanks,
Ben






 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Passing data between seperate components

2006-06-06 Thread Tim Hoff
Ryan,

If you're already using a model, then you don't necessarily have to 
pass data between seperate components and/or send data to the model 
to be updated.  Instead, use can implement data binding.  This is 
where the power of Cairngorm really shows.  I'm not saying that you 
have to use Cairngorm here, but you can certainly borrow some of its 
concepts.  Because you have created an event driven navigation 
system, you can choose to attach the component's data to the 
navigation event and update the model when the event fires.  

Preferably though, you can bind the data in the model to the 
components and avoid having to update the model at all.  In this 
case, the client side data (Value Objects) would reside in the 
model.  This applies to permanent and temporary data alike.  
When a change is made to the data in the model, the bound components 
automatically reflect the change.  Conversely, when the data 
changes in the components, the data in the model is immediately 
updated.  This is possible because the data in both places is 
actually the same object. :)

-TH


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

 I have an app where I have created a single control bar that 
allows 
 the user to navigate through various components in my application. 
 This is so that the navigiation is always located at the bottom of 
 the screen and is visible at all times to the user without 
 scrolling. I am doing this becuase some of my components are 
fairly 
 large, and while the user scrolls down the bottom navigation will 
 stay in view at all times.
 
 My navigation component succesfully navigates through my 
components 
 through a dispatched event with no problems. What I want to do is 
 send the data in each component to a data model. However, I have 
not 
 figured a way to do this without putting the control directly 
inside 
 the component. What I need is a way in which the navigation 
 component can some how tell each component to send its data to my 
 data model each time a navigation click event is fired.
 
 Simply put, I need a way for one component (my navigation 
component) 
 to tell each individual component to send data to my data model. 
If 
 anyone has worked with some sort of navigation bar that is used to 
 direct the user from component to component while saving data 
along 
 the way I would appreciate some advice on how to approach this.
 
 Thanks in advance,
 
 Ryan








 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Release date? Maybe 15th

2006-06-06 Thread Matt Chotin










Not that soon. We cant announce
the exact date yet. We are still aiming for first half of 2006
which you can interpret as June. Aiming being a key word



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Robert Thompson
Sent: Tuesday, June 06, 2006 12:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Release
date? Maybe 15th











Release
date?

Just wondering.

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






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Release date? Maybe 15th

2006-06-06 Thread Michael Schmalle



If you have kids, this list is starting to sound like an

ARE WE THERE YET trip ;-)

Peace, MikeOn 6/6/06, Matt Chotin [EMAIL PROTECTED] wrote:









  











Not that soon. We can't announce
the exact date yet. We are still aiming for "first half of 2006"
which you can interpret as June. Aiming being a key word…



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Robert Thompson
Sent: Tuesday, June 06, 2006 12:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Release
date? Maybe 15th











Release
date?

Just wondering.

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










  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Release date? Maybe 15th

2006-06-06 Thread Sho Kuwamoto





Why am I reminded of the unexpected hanging paradox? 


http://en.wikipedia.org/wiki/Unexpected_hanging_paradox

-Sho



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Michael 
SchmalleSent: Tuesday, June 06, 2006 2:36 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Release date? 
Maybe 15th


If you have kids, this list is starting to sound like an"ARE WE THERE 
YET" trip ;-)Peace, Mike
On 6/6/06, Matt 
Chotin [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  
  
  Not that soon. 
  We can't announce the exact date yet. We are still aiming for "first 
  half of 2006" which you can interpret as June. Aiming being a key 
  word
  
  Matt
  
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert ThompsonSent: Tuesday, June 06, 2006 12:20 
  PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Release date? Maybe 
  15th
  
  
  
  
  
  Release 
  date?Just wondering.
  __Do 
  You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 
  
  
  -- What goes up, does come down. 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



  1   2   >