RE: [flexcoders] MXMXL Editor

2005-04-14 Thread Abdul Qabiz

In my personal opinion, PrimalScript is good one. 

-Original Message-
From: Jeff Steiner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


I love PrimalScript.  It has intellisense for mxml and, for flash
developers, they are supposed to be a decent platform.

For those that remember Cold Fusion Studio - you will feel right at home.

http://www.sapien.com/products.aspx

Jeff
http://www.flexauthority.com

- Original Message - 
From: Matthew Shirey [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, April 13, 2005 9:19 PM
Subject: Re: [flexcoders] MXMXL Editor


I'd be interested in that answer as well. Flex Builder's performance leaves
a lot to be desired. Editing multiple CSS files practically takes the editor
to a stand still.

M.

On 4/13/05, Ketan Bengali [EMAIL PROTECTED] wrote:

 Has anybody tried any editors apart from from Flex Builder for mxml?
 Flex Builder degrades the performance of my PC.

 --
 Regards,

 Ketan Bengali


 Yahoo! Groups Links








 
Yahoo! Groups Links



 





 
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] MXML Components and using mx:Effect

2005-04-14 Thread Gordon Smith

 I wonder if MM will ever allow us to do new MovieClip instead of
 createEmptyMovieClip etc..

The Flash team is investigating this. I hope MovieClips can become more
normal.

- Gordon


-Original Message-
From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 10:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXML Components and using mx:Effect



hmm

thanks for that gordon,

I wonder if MM will ever allow us to do new MovieClip instead of
createEmptyMovieClip etc..

i've seen some MovieClip.prototype workarounds for this but *sigh* ...
anyway thanks for the info! :)


On 4/13/05, Gordon Smith [EMAIL PROTECTED] wrote:
 
 I'd say that the most important differences between a MovieClip and a
plain
 Object are the following:
 
 1. A MovieClip has all kinds of properties (_x, _width, _visible, etc.)
and
 methods (attachMovie(), loadMovie(), etc.) that an Object doesn't.
 
 2. A MovieClip can't be created with the 'new' operator, but an Object
can.
 
 3. A MovieClip is  a visual object that is connected to the player's
 rendering engine. When you change a property of a MovieClip, the player
 automatically re-renders it when moving to the next frame; you don't have
to
 call redraw() or update() to make this happen. An Object has nothing to do
 with the renderer.
 
 4. Certain methods of a MovieClip -- onPress(), onRelease(), etc. -- are
 automatically called by the Player in response to various user actions.
 
 5. A MovieClip can be destroyed with removeMovieClip() (I think), while an
 Object is simply garbage-collected.
 
 6. MovieClip is a Flash-specific class, while Object is a class of the
 standard EcmaScript language.
 
 - Gordon
 
 
 -Original Message-
 From: Scott Barnes [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 12, 2005 6:44 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] MXML Components and using mx:Effect
 
 Yup, sorry I knew all that anyway (I'm a vetran Flash MX 2004 monkey
 hehe) i was more looking for info on MovieClip vs Object under the
 hood. Haven't you all wondered or pondered as to what the significant
 difference between the two are?
 
 A MovieClip extends Object but what changes or difference does it
 actually do to an Object, i ask this more out of courisity :)
 
 Sorry I should of asked that more directly heh :P
 
 Scott.
 
 On 4/13/05, Manish Jethani [EMAIL PROTECTED] wrote:
 
  On 4/12/05, Scott Barnes [EMAIL PROTECTED] wrote:
 
   Also, probably outside the scope of this thread but whats the
   difference between a MovieClip and an Object (ie technically, i know
   MovieClip adds timeline to the equation etc.. but how is a MovieClip
   Constructed vs a plain object)
 
  An object is an ActionScript object.
 
  Object is the name of the topmost class in the ActionScript class
  heirarchy.  Every object is an Object.
 
  MovieClip in ActionScript is the class that represents movie clips.
  All Flex UI components are movie clips.  Class mx.core.UIObject
  extends MovieClip.
 
  --
  [EMAIL PROTECTED]
  http://manish.revise.org/
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 --
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Coming Soon)
 
 Yahoo! Groups Links
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links



 





 
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] MXMXL Editor

2005-04-14 Thread Scott Barnes

*blink* *blink*

PrimalScript is umm.. KICK...A$$...

woah, i can't believe i've not bothered to check this out until now,
*pushes FLEX builder aside*.

CVS support!!! .ok... back to work.


On 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
 
 In my personal opinion, PrimalScript is good one.
 
 -Original Message-
 From: Jeff Steiner [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 10:34 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] MXMXL Editor
 
 I love PrimalScript.  It has intellisense for mxml and, for flash
 developers, they are supposed to be a decent platform.
 
 For those that remember Cold Fusion Studio - you will feel right at home.
 
 http://www.sapien.com/products.aspx
 
 Jeff
 http://www.flexauthority.com
 
 - Original Message -
 From: Matthew Shirey [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, April 13, 2005 9:19 PM
 Subject: Re: [flexcoders] MXMXL Editor
 
 I'd be interested in that answer as well. Flex Builder's performance leaves
 a lot to be desired. Editing multiple CSS files practically takes the editor
 to a stand still.
 
 M.
 
 On 4/13/05, Ketan Bengali [EMAIL PROTECTED] wrote:
 
  Has anybody tried any editors apart from from Flex Builder for mxml?
  Flex Builder degrades the performance of my PC.
 
  --
  Regards,
 
  Ketan Bengali
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] Accordion headers and forms

2005-04-14 Thread Gordon Smith

I don't think this is necessarily endorsed by Macromedia's Experience Design
team. I believe they're still thinking about this issue. But this is
certainly a simple way to display short error messages in an Accordion.

- Gordon


-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 3:25 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Accordion headers and forms



On 4/13/05, Andrew Spaulding [EMAIL PROTECTED] wrote:

 If I have an Validation error in a form, what is the best way to show
 this in an accordion header?

Set the label property of the currently selected view to include the
error message in it.

  accordion.selectedChild.label += (Error: foo);

-- 
[EMAIL PROTECTED]
http://manish.revise.org/


 
Yahoo! Groups Links



 





 
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] createClassObject bug?

2005-04-14 Thread Gordon Smith

I think the problem is that creatClassObject() wants a third param -- the
depth for the child, which must be unique for each child. By not specifying
it, you are effectively passing 'undefined' for the depth. This probably
gets interpreted as 0 and you get a depth collision. Each successively
created object blows away the previous one at depth 0.

- Gordon


-Original Message-
From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 10:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] createClassObject bug?



I've got a few components that extend mx.core.UIObject, and from a
parent object i want to create two children objects (in that they all
extend UIObject).

ie:

function parent() {

this.child01 = this.createClassObject(com.SynergyFLEX.child01,child1);
this.child02 = this.createClassObject(com.SynergyFLEX.child02,child2);

}


yet, it only creates the last one in the stack? in that if i debug or
try and reference this.child01 it shows up null?

If i use createChild() (forcing my parent container to now extend
mx.core.View) it works fine. Yet that has me confused as doesn't
createChild use createClassObject anyway?

Wort's the G.O ?


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links



 





 
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] MXMXL Editor

2005-04-14 Thread Brooks Andrus

Sounds like you already found yourself a winner with primalscript, but here
goes for those wanting to use the free version of xmlspy...

1) You create a new file extension by going to Tools  Options  File types
 Add new file extension

2) Drop the mxml.xsd file in the Program Files/Altova/XMPSpy2005/Template
folder

3) Next create a new mxml document in xml spy. File  New  mxml document.
At this stage you need to choose based on schema and browse the the mxml.xsd
file you dropped in the Template folder. 

4) Define a root tag and set up the template with any default tags you want
(I usually just stick with an opening and closing Application element).

5) Save the document you just created as new.mxml in the Template directory
mentioned above.

Now when you choose File  New  mxml, the xsd will be already be reference
properly. You still have a slight delay while xmlspy parses the xsd file,
but that's all there is to it.

Regards,

Brooks

-Original Message-
From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 11:58 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


I like XMLSpy, but:

Q. How do you make the editor always load the mxml schema upon editing
a .mxml file? In that at the moment I have to assign it per file which
is a pain in the butt as it takes a bit to process?

I'm using the Home Edition?

On 4/14/05, Brooks Andrus [EMAIL PROTECTED] wrote:
 
 http://www.altova.com/download_spy_home.html
 
 There's a stand alone version as well as an eclipse plugin for the Home
 version.
 
 -Original Message-
 From: Ketan Bengali [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 11:07 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] MXMXL Editor
 
 Is it altova.com ?
 
 Regards,
 
 Ketan Bengali
 
 Brooks Andrus wrote:
 
  I've used XMLSPY home edition (free) and quite enjoy it.
 
  
 
  *From:* Matthew Shirey [mailto:[EMAIL PROTECTED]
  *Sent:* Wednesday, April 13, 2005 10:20 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] MXMXL Editor
 
  I'd be interested in that answer as well. Flex Builder's performance
  leaves a lot to be desired. Editing multiple CSS files practically
  takes the editor to a stand still.
 
  M.
 
  On 4/13/05, Ketan Bengali [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Has anybody tried any editors apart from from Flex Builder for mxml?
  Flex Builder degrades the performance of my PC.
 
  --
  Regards,
 
  Ketan Bengali
 
 
  Yahoo! Groups Links
 
 
  mailto:[EMAIL PROTECTED]
 
 
 
 
 
  
  *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]
 
mailto:[EMAIL PROTECTED]
  * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/.
 
 
 
 Yahoo! Groups Links
 
 --
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.8 - Release Date: 4/13/2005
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links



 





-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.8 - Release Date: 4/13/2005




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

2005-04-14 Thread Francois Le Lay



By the way, do they call you on the phone or do they email you, just to know what to expect...?

François Le Lay
--
http://www.mfworx.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 the Yahoo! Terms of Service.










Re: [flexcoders] createClassObject bug?

2005-04-14 Thread Scott Barnes

Ahhh.. of course you are right. I assumed UIObject would auto-find a
depth if none is provided (much like createChild). sure enough, it
works now.

thanks Gordon.


On 4/14/05, Gordon Smith [EMAIL PROTECTED] wrote:
 
 I think the problem is that creatClassObject() wants a third param -- the
 depth for the child, which must be unique for each child. By not specifying
 it, you are effectively passing 'undefined' for the depth. This probably
 gets interpreted as 0 and you get a depth collision. Each successively
 created object blows away the previous one at depth 0.
 
 - Gordon
 
 
 -Original Message-
 From: Scott Barnes [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 10:26 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] createClassObject bug?
 
 I've got a few components that extend mx.core.UIObject, and from a
 parent object i want to create two children objects (in that they all
 extend UIObject).
 
 ie:
 
 function parent() {
 
 this.child01 = this.createClassObject(com.SynergyFLEX.child01,child1);
 this.child02 = this.createClassObject(com.SynergyFLEX.child02,child2);
 
 }
 
 yet, it only creates the last one in the stack? in that if i debug or
 try and reference this.child01 it shows up null?
 
 If i use createChild() (forcing my parent container to now extend
 mx.core.View) it works fine. Yet that has me confused as doesn't
 createChild use createClassObject anyway?
 
 Wort's the G.O ?
 
 --
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Coming Soon)
 
 Yahoo! Groups Links
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] MXMXL Editor

2005-04-14 Thread Hans Omli

In addition to FlexBuilder, I use Eclipse with the following plug-ins
installed:

* OxygenXML for coding MXML (can also use JavaScript editor for
Actionscript)
* CFEclipse for CFML and CFCs
* Sysdeo for controlling Tomcat from within the IDE
* Eclipse's built-in Java support for POJOs that will be called as Remote
Objects

XMLSpy and PrimalScript are also good.


-Original Message-
From: Ketan Bengali [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 9:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] MXMXL Editor

Has anybody tried any editors apart from from Flex Builder for mxml?
Flex Builder degrades the performance of my PC.

--
Regards,

Ketan Bengali



 
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: Flex Source Files are viewable! hehe...

2005-04-14 Thread r0main


Yep,
I knew that the debugger (flexbuilder one) allows me to view mx.*
source code... Useful to trace unexpected behaviours occuring on the
mx.* side... Did that trick once : Inherit a buggy (my point of
view) mx.* component and overwrite the faulty method by a cleaner
one (at least in my opinion), don't know if it is 100% legal, but it
is 110% useful !

Romain

--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED] wrote:
 I didn't know this - that or another way - but :
 
 http://www.mossyblog.com/archives/455.cfm
 
 It can be done via Flash MX 2004 Pro Debugger or did everyone know
 that and not share?
 
 -- 
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Coming Soon)





 
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] MXMXL Editor

2005-04-14 Thread Scott Barnes

PrimalCoder...

I am actually drooling here :) hehehe.

On 4/14/05, Hans Omli [EMAIL PROTECTED] wrote:
 
 In addition to FlexBuilder, I use Eclipse with the following plug-ins
 installed:
 
 * OxygenXML for coding MXML (can also use JavaScript editor for
 Actionscript)
 * CFEclipse for CFML and CFCs
 * Sysdeo for controlling Tomcat from within the IDE
 * Eclipse's built-in Java support for POJOs that will be called as Remote
 Objects
 
 XMLSpy and PrimalScript are also good.
 
 
 -Original Message-
 From: Ketan Bengali [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 9:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] MXMXL Editor
 
 Has anybody tried any editors apart from from Flex Builder for mxml?
 Flex Builder degrades the performance of my PC.
 
 --
 Regards,
 
 Ketan Bengali
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
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] xml-combobox

2005-04-14 Thread ibibas


Thanks, Manish.

Isaac Bibás Forado




   
  Manish Jethani
   
  [EMAIL PROTECTED]Para: 
flexcoders@yahoogroups.com
  mail.comcc:  
   
   Asunto:   Re: [flexcoders] 
xml-combobox 
  14/04/2005 00:31  
   
  Por favor,
   
  responda a
   
  flexcoders
   

   

   




On 4/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 mx:ComboBox id=object_list backgroundColor=#FF cornerRadius=0
   dataProvider={helpList.obj} width=180
   change=selectFields(event) initialize=sort();/

 In selectFields function I create dataprovider for 2nd combo:

 mx:ComboBox id=field_list backgroundColor=#FF cornerRadius=0
   width=180
   change=display_help(event) initialize=sort();/
[snip]

I would simply use data binding to set this up.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=*

  mx:Model id=model
root
  items label=item1
recordone/record
recordtwo/record
  /items
  items label=item2
recordthree/record
recordfour/record
  /items
/root
  /mx:Model

  mx:ComboBox id=cb1 dataProvider={model.root.items} /
  mx:ComboBox id=cb2 dataProvider={cb1.selectedItem.record} /

/mx:Application

--
[EMAIL PROTECTED]
http://manish.revise.org/

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 the Yahoo! Terms of Service.






 
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] MXMXL Editor

2005-04-14 Thread Simon Fifield





Hi 
flexcoders,

I've 
been using FlexBuilder for my MXML/Actionscript and Eclipse for my Java 
RemoteObjects. FlexBuilder used to be stupidly slow until they put in the switch 
todisable MXML Design View (Preferences/General), nowI don't have 
any problems with it no matter how many files I have open.

I do 
nearly all of my work in Flexbuilder and I'm still getting into Eclipse (it's 
like Photoshop - youcan do so many thingswith it). I really don't like programming Actionscript in 
it, its so basic. The real reason I use it so much is because I have all of my 
site settings created for JSP, Flex, and PHP websites. Do any of you know of any 
way of setting up something comparable in Eclipse? Or perhaps some links to 
somewhere with examples or tutorials etc?

Thanks,
Simon 
Fifield


  -Original Message-From: Scott Barnes 
  [mailto:[EMAIL PROTECTED]Sent: 14 April 2005 
  08:02To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] MXMXL EditorPrimalCoder...I am 
  actually drooling here :) hehehe.On 4/14/05, Hans Omli 
  [EMAIL PROTECTED] wrote:  In addition to FlexBuilder, 
  I use Eclipse with the following plug-ins installed:  
  * OxygenXML for coding MXML (can also use _javascript_ editor for 
  Actionscript) * CFEclipse for CFML and CFCs * Sysdeo for 
  controlling Tomcat from within the IDE * Eclipse's built-in Java 
  support for POJOs that will be called as Remote Objects 
   XMLSpy and PrimalScript are also good.   
  -Original Message- From: Ketan Bengali 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 9:17 
  PM To: flexcoders@yahoogroups.com Subject: [flexcoders] MXMXL 
  Editor  Has anybody tried any editors apart from from Flex 
  Builder for mxml? Flex Builder degrades the performance of my 
  PC.  -- Regards,  Ketan 
  Bengali  Yahoo! Groups Links   
-- Regards,Scott Barneshttp://www.mossyblog.comhttp://www.flexcoder.com (Coming 
  Soon)







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 the Yahoo! Terms of Service.










[flexcoders] Please a suggestion

2005-04-14 Thread [EMAIL PROTECTED]

Hi,
 i'don't know if this post it's OT.
I'm using flex with j2ee architecture, i must to do when end user click 
Transaction i must write into a client machine an xml file.
With a RIA this how is it possible?
Please help.
Devis
PS
now i'm testing a bad solution

Client click Transaction and i call a servlet that seralizate into a 
session an object, this servlet push into Java signed Applet  that 
write a simple xml file into client machine, but for me this solution 
it's very bad, because
1)In the user machine must run 2 app (Browser for front-end and applet 
for  write a file)


sorry to all if this post is OT
Devis





 
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] SharedObject across Applications

2005-04-14 Thread Erik Westra





It is also possible to share SharedObjects between 
applications running on a different domain, check this link for more 
information:

http://www.thoughtsabout.net/blog/archives/03.html


Greetz Erik


From: peter blazejewicz 
[mailto:[EMAIL PROTECTED] Sent: donderdag 14 april 2005 
0:51To: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] SharedObject across Applications
Hello everyone,I'm not sure if that will work with Flex 
application but to avoid such collision names in standalone desktop application 
I've used names following package pattern:eg:var soName:String = "com.company.cookieName";
var so:SharedObject = SharedObject.getLocal(soName, "/");there 
is a subset of characters which are not allowed in SO name but dots are 
allowed:)hth,regards,PeterPeter 
BlazejewiczJesterXL wrote: 
As long as your apps are both deployed on 
  "cow.com", then just add a "/" to the 2nd parameter of your get, and it'll put 
  the .sol at the top level of the domain. Currently, it's scoped to a 
  folder name same as your app path. The 2nd parameter creates it's own 
  folderpath/namespace. Maknig a "/" puts it at the top. 
  
  however, watch for out collisions of data 
  since your both sharing. You don't have to worry about file handles or 
  anything, but you know why checkin/checkout systems were invented in the first 
  place...







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 the Yahoo! Terms of Service.










[flexcoders] Re: Flex Source Files are viewable! hehe...

2005-04-14 Thread zhfbanks


Is there any flex edit plugin for eclipse?
--- In flexcoders@yahoogroups.com, r0main [EMAIL PROTECTED] wrote:
 
 Yep,
 I knew that the debugger (flexbuilder one) allows me to view mx.*
 source code... Useful to trace unexpected behaviours occuring on the
 mx.* side... Did that trick once : Inherit a buggy (my point of
 view) mx.* component and overwrite the faulty method by a cleaner
 one (at least in my opinion), don't know if it is 100% legal, but it
 is 110% useful !
 
 Romain
 
 --- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED]
wrote:
  I didn't know this - that or another way - but :
  
  http://www.mossyblog.com/archives/455.cfm
  
  It can be done via Flash MX 2004 Pro Debugger or did everyone know
  that and not share?
  
  -- 
  Regards,
  Scott Barnes
  http://www.mossyblog.com
  http://www.flexcoder.com (Coming Soon)





 
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: Real World Opinions of Flex?

2005-04-14 Thread zfbanks


It seems to be interesting
--- In flexcoders@yahoogroups.com, Mike Chambers [EMAIL PROTECTED] wrote:
 The next version of Central, Gemini, will be out this summer.
 
 mike chambers
 
 [EMAIL PROTECTED]
 
 On Jun 30, 2004, at 12:46 PM, Hans Omli wrote:
 
  MM also publicly announced file upload/download support for the next 
  rev of Central, as well as some level of integration with Flex.  I 
  don't know much about Central though, other than it's a way to do
apps 
  that function more like stand-alone apps but that are delivered via 
  the net.  Not sure on the timeframe this will be available either.  
  But it does show MM understands the need for this functionality in 
  Flash- and Flex-based apps.





 
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: Flex Non Comercial

2005-04-14 Thread zfbanks


I subscribe my order, but I don't know how long time for shipping the
copy to China...
--- In flexcoders@yahoogroups.com, Jeff Steiner [EMAIL PROTECTED] wrote:
 I have one for Flex Authority.
 
 It took about 3 days from the time I requested until I heard.
 
 Jeff
 http://www.flexauthority.com
 
 - Original Message - 
 From: Rich Tretola [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, April 13, 2005 12:29 PM
 Subject: Re: [flexcoders] Flex Non Comercial
 
 
  
  Do you have a non comercial licence ?  Does anyone have one ?
  
  
  On 4/13/05, Ryan Scott Jones [EMAIL PROTECTED] wrote:
   
   (But I'm not from MM.)
   
   -Original Message-
   From: Rich Tretola [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, April 13, 2005 2:46 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Flex Non Comercial
   
   Anyone here  from MM know how long it takes to get a response about
   getting a non commercial flex licence ?
   
   Rich
   
   Yahoo! Groups Links
   
   Yahoo! Groups Links
   
   
   
   
  
  
  
   
  Yahoo! Groups Links
  
  
  
   
  
  
 





 
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] MXMXL Editor

2005-04-14 Thread Rich Tretola

Primalscript, love it.

Rich

On 4/14/05, Simon Fifield [EMAIL PROTECTED] wrote:
  
 Hi flexcoders, 
   
 I've been using FlexBuilder for my MXML/Actionscript and Eclipse for my Java
 RemoteObjects. FlexBuilder used to be stupidly slow until they put in the
 switch to disable MXML Design View (Preferences/General), now I don't have
 any problems with it no matter how many files I have open. 
   
 I do nearly all of my work in Flexbuilder and I'm still getting into Eclipse
 (it's like Photoshop - you can do so many things with it). I really don't
 like programming Actionscript in it, its so basic. The real reason I use it
 so much is because I have all of my site settings created for JSP, Flex, and
 PHP websites. Do any of you know of any way of setting up something
 comparable in Eclipse? Or perhaps some links to somewhere with examples or
 tutorials etc? 
   
 Thanks, 
 Simon Fifield 
   
  
 -Original Message-
 From: Scott Barnes [mailto:[EMAIL PROTECTED]
 Sent: 14 April 2005 08:02
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] MXMXL Editor
 
 PrimalCoder...
 
 I am actually drooling here :) hehehe.
 
 On 4/14/05, Hans Omli [EMAIL PROTECTED] wrote:
  
  In addition to FlexBuilder, I use Eclipse with the following plug-ins
  installed:
  
  * OxygenXML for coding MXML (can also use JavaScript editor for
  Actionscript)
  * CFEclipse for CFML and CFCs
  * Sysdeo for controlling Tomcat from within the IDE
  * Eclipse's built-in Java support for POJOs that will be called as Remote
  Objects
  
  XMLSpy and PrimalScript are also good.
  
  
  -Original Message-
  From: Ketan Bengali [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 13, 2005 9:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] MXMXL Editor
  
  Has anybody tried any editors apart from from Flex Builder for mxml?
  Flex Builder degrades the performance of my PC.
  
  --
  Regards,
  
  Ketan Bengali
  
  Yahoo! Groups Links
  
  
  
  
  
 
 
 -- 
 Regards,
 Scott Barnes
 http://www.mossyblog.com
 http://www.flexcoder.com (Coming Soon)
  
  
  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 the Yahoo! Terms of Service.


 
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] Alert Listener

2005-04-14 Thread Fernando Barros










Hi there,



I have fixed the problems with yours helps but I
still have some doubts.



Look this:

import mx.controls.Alert;

class classes.Confirmar{

 public function Confirmar()

 {}

 

 public function click(evt):Boolean

 {

 if (evt.detail == 4) //ok

 return true;

 else

  return false;

 }



 public function Show(sMensagem:String,
sTitulo:String, sOkLabel:String, sCancelLabel:String)

 {

 Alert.okLabel = sOkLabel;

 Alert.cancelLabel =
sCancelLabel;

 Alert.show(sMensagem,
sTitulo, Alert.OK | Alert.CANCEL, null, this, '', Alert.OK);

 }

}



So I did:



Var obj: classes.Confirmar = new classes.Confirmar();

obj. Show();



How can I access the click method if its a
listener?



Thks in advance,







---
Fernando Barros

---













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 the Yahoo! Terms of Service.












RE: [flexcoders] MXMXL Editor

2005-04-14 Thread Erik Westra

A question about primascript. 

I have all my classes in a central location. In Flash MX 2004 I set a
classpath. How can I set a classPath with primalscript?


Greetz Erik
 

-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 14:24
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


Primalscript, love it.

Rich



 
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] Alert Listener

2005-04-14 Thread Abdul Qabiz





Alert.show(sMensagem, sTitulo, 
Alert.OK | Alert.CANCEL, null,mx.utils.Delegate.create(this, click), '', 
Alert.OK);

It 
should solve your problem...

-abdul




From: Fernando Barros 
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 5:56 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Alert Listener


Hi 
there,

I have fixed the problems with yours 
helps but I still have some doubts.

Look 
this:
import 
mx.controls.Alert;
class 
classes.Confirmar{
 
public function Confirmar()
 
{}
 

 
public function click(evt):Boolean
 
{
 
if (evt.detail == 4) //ok
 
return true;
 
else
 
 return 
false;
 
}

 
public function Show(sMensagem:String, sTitulo:String, sOkLabel:String, 
sCancelLabel:String)
 
{
 
Alert.okLabel = sOkLabel;
 
Alert.cancelLabel = sCancelLabel;
 
Alert.show(sMensagem, sTitulo, 
Alert.OK | Alert.CANCEL, null, this, '', Alert.OK);
 
}
}

So I 
did:

Var obj: classes.Confirmar = new 
classes.Confirmar();
obj. Show();

How can I access the click method if 
its a listener?

Thks in 
advance,


---Fernando 
Barros
---








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 the Yahoo! Terms of Service.










RE: [flexcoders] MXMXL Editor

2005-04-14 Thread Abdul Qabiz

Why would you want to set classpath in PrimalScript? Are you compiling code
from Primal script using JSFL? In that case, your classpath needs to be set
for individual .fla file or globally in your Flash IDE.

-abdul 

-Original Message-
From: Erik Westra [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


A question about primascript. 

I have all my classes in a central location. In Flash MX 2004 I set a
classpath. How can I set a classPath with primalscript?


Greetz Erik
 

-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 14:24
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


Primalscript, love it.

Rich



 
Yahoo! Groups Links



 





 
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] beginners question about sending data to custom flex components

2005-04-14 Thread Abdul Qabiz





Hi,
Can you post 
the code so that we look at it? IMO this shouldn't happen?


-abdul



From: erik katerborg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 3:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] beginners question 
about sending data to custom flex componentsImportance: 
High

hi,

This may be a beginner's question but I just can't 
figure one thing out: how to send dynamic data to a custom flex 
component.
what I want to do is the following:

myCustomSWC 
myDataToBeUsed="{myActionscriptClass.getData();}" /

the problem is that the function is not executed 
but simply passed as a string to the component. Another problem is that the 
actionscript class may not have initialised yet so the function would not work 
at all.

does anyone have a suggestion on how to do this 
???

thanks very much !!!

a confused flex coder,

erik.



  
  

  Erik Katerborg 
  Multimedia Designer t: 
  050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED] w: www.thefactore.com 

  theFactor.eFriesestraatweg 215a 
  Postbus 20109704CA 
  GroningenBusiness Partner for MediasurfaceAlliance Partner for 
  Macromedia







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 the Yahoo! Terms of Service.










RE: [flexcoders] Please a suggestion

2005-04-14 Thread Abdul Qabiz

HI Davis,

Is it really important that your application needs to be browser based? You
can deploy Flex application in Macromedia Central platform...

Macromedia Central can read and write files from file system. Check out
macromedia.com for more...

What's the purpose of writing xml on client machine?

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 1:57 PM
To: Flex Coders
Subject: [flexcoders] Please a suggestion


Hi,
 i'don't know if this post it's OT.
I'm using flex with j2ee architecture, i must to do when end user click 
Transaction i must write into a client machine an xml file.
With a RIA this how is it possible?
Please help.
Devis
PS
now i'm testing a bad solution

Client click Transaction and i call a servlet that seralizate into a 
session an object, this servlet push into Java signed Applet  that 
write a simple xml file into client machine, but for me this solution 
it's very bad, because
1)In the user machine must run 2 app (Browser for front-end and applet 
for  write a file)


sorry to all if this post is OT
Devis





 
Yahoo! Groups Links



 





 
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] any ideas about flex client side caching?

2005-04-14 Thread Abdul Qabiz

Hi,

You can cache object on client in SharedObject. So you can serialize a class
to SharedObject on client and later deserialize to use in application.

For example, you fetch a huge dataset from server(via xml, http or
remoteobject), you can serialize it to SharedObject and show a part of it in
front-end when required. This way you can avoid network calls and memory
problems...

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] any ideas about flex client side caching?


Hi,all,
   In Christophe's blog, we can code our own class to
cache data. Does flex provider some other solutions
for the client_side caching?

Best Regards
Feng

_
Do You Yahoo!?
150MP3
http://music.yisou.com/

http://image.yisou.com
1G1000
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
g/


 
Yahoo! Groups Links



 





 
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] Please a suggestion

2005-04-14 Thread [EMAIL PROTECTED]

Hi
it's not important that run into browser,
but with i don't know how to work Macromedia Central platform.

--What's the purpose of writing xml on client machine?
   We have write a simple c++ program that read a xml file and comunicate with 
com of client for external device, for examples
   our flash app will run , i hope, into a ibm POS and for credit card, 
bancomat machine (i don't know how to write in English, in Italy simple :pos 
;-) )

do know some link for see Macromedia Central platform that write and read file?
Thank's
Devis




Abdul Qabiz ha scritto:

HI Davis,

Is it really important that your application needs to be browser based? You
can deploy Flex application in Macromedia Central platform...

Macromedia Central can read and write files from file system. Check out
macromedia.com for more...

What's the purpose of writing xml on client machine?

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 1:57 PM
To: Flex Coders
Subject: [flexcoders] Please a suggestion


Hi,
 i'don't know if this post it's OT.
I'm using flex with j2ee architecture, i must to do when end user click 
Transaction i must write into a client machine an xml file.
With a RIA this how is it possible?
Please help.
Devis
PS
now i'm testing a bad solution

Client click Transaction and i call a servlet that seralizate into a 
session an object, this servlet push into Java signed Applet  that 
write a simple xml file into client machine, but for me this solution 
it's very bad, because
1)In the user machine must run 2 app (Browser for front-end and applet 
for  write a file)


sorry to all if this post is OT
Devis





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 


  





 
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] MXMXL Editor

2005-04-14 Thread Erik Westra

Well I want to be able to use 'primalsence' (codehinting) that
primalscript offers on the classes I use on different projects.

Greetz Erik
 

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 15:02
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


Why would you want to set classpath in PrimalScript? Are you compiling
code from Primal script using JSFL? In that case, your classpath needs
to be set for individual .fla file or globally in your Flash IDE.

-abdul 

-Original Message-
From: Erik Westra [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 6:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


A question about primascript. 

I have all my classes in a central location. In Flash MX 2004 I set a
classpath. How can I set a classPath with primalscript?


Greetz Erik
 

-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 14:24
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


Primalscript, love it.

Rich



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 






 
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] Running FLEX standalone as a service?

2005-04-14 Thread Abdul Qabiz
Hi Scott,

You can't run the integrated version of JRUN as service, though full version
of JRUN can be run as service, you need to buy it. You can download the
trail version from macromedia.com

This has been discussed in past. I am attaching some threads with this
mail

Hope that helps..

-abdul

-Original Message-
From: Scott Barnes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Running FLEX standalone as a service?


Anyone know the cmd line to put FLEX standalone server as a service? I
didn't do the instance j2ee approach yet i'm finding it annoying to
have the dos prompt window open


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)


 
Yahoo! Groups Links



 






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


  _  

From: Speer, Dustin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 18, 2005 2:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Install Flex service Windows?



Is the full version of JRun included with the Flex license? 

 


  _  


From: Cathy Murphy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 18, 2005 1:52 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Install Flex service Windows?

 

The embedded version of JRun which ships with Flex does not allow
installation as a Windows Service.  If you require this functionality,
install the full version of JRun available at
http://www.macromedia.com/products/jrun
http://www.macromedia.com/products/jrun  (during install, choose the
option
to run as a windows service) and then deploy your Flex applications to that
new server.

- Cathy 

 -Original Message-
 From: Douglas Brito de Medeiros [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, January 18, 2005 2:26 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Install Flex service Windows?
 
 
 How to install the Flex in the services of windows 2000 Pro?
 
 -- 
 Douglas Brito de Medeiros
 MSN: [EMAIL PROTECTED]
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 




  _  

Yahoo! Groups Links


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

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

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


---End Message---
---BeginMessage---
Thanks.  I will play with this as I have been wanting to try running
ColdFusion development on JRun as well.

-- Jeff


  _  

From: Cathy Murphy [EMAIL PROTECTED]
Sent: Monday, February 28, 2005 12:28 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex Trial Edition - Setting up JRun as Windows
Service?


The Flex Trial version may not be run as a Windows Service.  You may however
download the Trial Version of JRun ( http://www.macromedia.com/products/jrun
http://www.macromedia.com/products/jrun ) which runs as a Windows Service
and then deploy flex.war and samples.war on that version of JRun.
 
- Cathy


  _  

From: GroupOne Dev. [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 28, 2005 1:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Trial Edition - Setting up JRun as Windows
Service?


A little off topic, but hopefully somebody knows a bit more about this than
I do.  I downloaded and installed the trial version of Flex about a week
ago.  Out of the box, it appears I have to go find the jrun.exe file and
start it manually every time.  Has anybody se! t this u p as a Windows
service that can start automatically?

Thanks
-- Jeff






Yahoo! Groups Sponsor

ADVERTISEMENT
 
http://us.ard.yahoo.com/SIG=129jccltq/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1109702323/A=2593423/R=0/SIG=11el9gslf/*http://www.
netflix.com/Default?mqso=60190075 click here   
 
http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2593423/rand=604419695   

  _  

Yahoo! Groups Links


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

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

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


---End Message---
---BeginMessage---
if you are on windows just put a shortcut to jrun.exe in your start up
folder and it will auto start...

[Clint Tredway]  -Original Message-
From: GroupOne Dev. [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 12:28 PM
To: flexcoders@yahoogroups.com

RE: [flexcoders] Please a suggestion

2005-04-14 Thread Abdul Qabiz

You can still achieve this without using Macromedia Central.

- Your Flex application writes data to SharedObject
- Your C++/VB application embeds a swf that is downloaded from same
webserver where Flex application is hosted.
- SWF(inside C++ application) reads SharedObject and passes the data to C++
program via FSCommand
- Your C++ application can do the desired action with data

I believe, this can be done easily...

Does it help?

-abdul

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Please a suggestion


Hi
it's not important that run into browser,
but with i don't know how to work Macromedia Central platform.

--What's the purpose of writing xml on client machine?
   We have write a simple c++ program that read a xml file and comunicate
with com of client for external device, for examples
   our flash app will run , i hope, into a ibm POS and for credit card,
bancomat machine (i don't know how to write in English, in Italy simple
:pos ;-) )

do know some link for see Macromedia Central platform that write and read
file?
Thank's
Devis




Abdul Qabiz ha scritto:

HI Davis,

Is it really important that your application needs to be browser based? You
can deploy Flex application in Macromedia Central platform...

Macromedia Central can read and write files from file system. Check out
macromedia.com for more...

What's the purpose of writing xml on client machine?

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 1:57 PM
To: Flex Coders
Subject: [flexcoders] Please a suggestion


Hi,
 i'don't know if this post it's OT.
I'm using flex with j2ee architecture, i must to do when end user click 
Transaction i must write into a client machine an xml file.
With a RIA this how is it possible?
Please help.
Devis
PS
now i'm testing a bad solution

Client click Transaction and i call a servlet that seralizate into a 
session an object, this servlet push into Java signed Applet  that 
write a simple xml file into client machine, but for me this solution 
it's very bad, because
1)In the user machine must run 2 app (Browser for front-end and applet 
for  write a file)


sorry to all if this post is OT
Devis





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 


  





 
Yahoo! Groups Links



 





 
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] MXMXL Editor

2005-04-14 Thread Abdul Qabiz

You can probably check at Primalscript support forums, they might be knowing
something... 

-abdul

-Original Message-
From: Erik Westra [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


Well I want to be able to use 'primalsence' (codehinting) that
primalscript offers on the classes I use on different projects.

Greetz Erik
 

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 15:02
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


Why would you want to set classpath in PrimalScript? Are you compiling
code from Primal script using JSFL? In that case, your classpath needs
to be set for individual .fla file or globally in your Flash IDE.

-abdul 

-Original Message-
From: Erik Westra [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 6:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] MXMXL Editor


A question about primascript. 

I have all my classes in a central location. In Flash MX 2004 I set a
classpath. How can I set a classPath with primalscript?


Greetz Erik
 

-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED] 
Sent: donderdag 14 april 2005 14:24
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL Editor


Primalscript, love it.

Rich



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 






 
Yahoo! Groups Links



 





 
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/
 





RES: [flexcoders] Alert Listener

2005-04-14 Thread Fernando Barros












It was funny! So easy and
I was doing a huge class! Abdul, thank you!

Abdul and people, which books
do you recommend?



Thks again!



PS: I dont know
but reading some articles from Macromedia and following the tutorial, I can
notice there are a big difference between them. At the begging, reading only
the tutorial, I had an idea, but If you want do to the rigth thing, it´s very
important to read the articles and some books. Would be a better idea the
Macromedia delivery more tutorials?. Like one for begginers, intermediates and experts?
Only an idea



---
Fernando Barros

Internet Officer
---







De: Abdul Qabiz
[mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 14 de
abril de 2005 10:00
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Alert
Listener







Alert.show(sMensagem, sTitulo, Alert.OK | Alert.CANCEL,
null,mx.utils.Delegate.create(this, click), '', Alert.OK);











It should solve your problem...











-abdul









 












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 the Yahoo! Terms of Service.












[flexcoders] Curved surfaces in flex...

2005-04-14 Thread Clint Modien










I just had a question thrown at me about a globe type
surface being done in flex.



My initial gut reaction to that was you cant
do that in flex



You could if you used flash to create the globe component
right?



Then embed that flash component in a flex app?



Just thought Id throw this out there for some input
on a solution.



Thanks in Advance,



Clint Modien

5by5 Software Ventures Ltd.

http://bridgewerx.com

Suite 355, 138 - 4th Ave. SE

Calgary, Alberta,
 Canada

T2G 4Z6

Cell: 403.809.3511

Work: 403.206.3195













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 the Yahoo! Terms of Service.












Re: [flexcoders] DataGrid performance

2005-04-14 Thread David George

Viraf -

When you say each cell in the grid contains 4 other objects that are
displayed, it sounds like you are using a custom cell renderer.  Is
that right?

Unfortunately, large DataGrids with custom cell renderers are a known
performance issue.  I'm afraid I can't completely solve your problem
on Flex v1.5.  You might want to turn off live scrolling, so that the
DataGrid doesn't attempt to constantly update while the user is
dragging the slider thumb.

We've already spoken publicly about the performance improvements
coming in Flash Player 8, so it should be no surprise that performance
is a major focus of Flex v2.0.

Viraf - would you be willing to send us a copy of your app, so that we
can use it as a performance test case for the next release?  Or ...
even better ... could you create a simple version of your app that
just contains the poorly-performing DataGrid?  If so, please send it
directly to me at my work address - [EMAIL PROTECTED]

Other folks on the list - this is an open invitation to send along
your performance test cases too!  We ordinarily discourage people from
contacting employees off-list, but I'll make an exception in this
case.

Thanks,
Dave

On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote:
  
  I have a DataGrid with approximately 20 rows and 10 columns.  Each 
  cell in the grid contains 4 other objects that are displayed.  When 
  scrolling vertically the performance is poor at best.  What can I do 
  to improve the performance?
  
  I am reading the articly on Macromedia's site - however my effectStart 
  and effectEnd eventHandlers are not being invoked.  I set them on a 
  HBox that contains the grids.
  
  Thanks.
  
  - viraf
  
  
  
  
  
  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 the Yahoo! Terms of Service.


 
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] Please a suggestion

2005-04-14 Thread [EMAIL PROTECTED]

Thanks Abdul,

 Your Flex application writes data to SharedObject  it's ok


- Your C++/VB application embeds a swf that is downloaded from same
webserver where Flex application is hosted.
- SWF(inside C++ application) reads SharedObject and passes the data to C++
program via FSCommand

here  sound very good and fantastic for our problem, but do you know some docs 
for swf c++ please.
Devis



Abdul Qabiz ha scritto:

You can still achieve this without using Macromedia Central.

- Your Flex application writes data to SharedObject
- Your C++/VB application embeds a swf that is downloaded from same
webserver where Flex application is hosted.
- SWF(inside C++ application) reads SharedObject and passes the data to C++
program via FSCommand
- Your C++ application can do the desired action with data

I believe, this can be done easily...

Does it help?

-abdul

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Please a suggestion


Hi
it's not important that run into browser,
but with i don't know how to work Macromedia Central platform.

--What's the purpose of writing xml on client machine?
   We have write a simple c++ program that read a xml file and comunicate
with com of client for external device, for examples
   our flash app will run , i hope, into a ibm POS and for credit card,
bancomat machine (i don't know how to write in English, in Italy simple
:pos ;-) )

do know some link for see Macromedia Central platform that write and read
file?
Thank's
Devis




Abdul Qabiz ha scritto:

  

HI Davis,

Is it really important that your application needs to be browser based? You
can deploy Flex application in Macromedia Central platform...

Macromedia Central can read and write files from file system. Check out
macromedia.com for more...

What's the purpose of writing xml on client machine?

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 1:57 PM
To: Flex Coders
Subject: [flexcoders] Please a suggestion


Hi,
i'don't know if this post it's OT.
I'm using flex with j2ee architecture, i must to do when end user click 
Transaction i must write into a client machine an xml file.
With a RIA this how is it possible?
Please help.
Devis
PS
now i'm testing a bad solution

Client click Transaction and i call a servlet that seralizate into a 
session an object, this servlet push into Java signed Applet  that 
write a simple xml file into client machine, but for me this solution 
it's very bad, because
1)In the user machine must run 2 app (Browser for front-end and applet 
for  write a file)


sorry to all if this post is OT
Devis






Yahoo! Groups Links










Yahoo! Groups Links






 







 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 


  





 
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] Curved surfaces in flex...

2005-04-14 Thread JesterXL





Do you have a link towards a visual example of the 
desired effect?

- Original Message - 
From: Clint Modien 
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 14, 2005 9:53 AM
Subject: [flexcoders] Curved surfaces in flex...


I just had a question thrown at me 
about a globe type surface being done in flex.

My initial gut reaction to that was… 
“you can’t do that in flex”

You could if you used flash to 
create the globe component right?

Then embed that flash component in a 
flex app?

Just thought I’d throw this out 
there for some input on a solution.

Thanks in 
Advance,

Clint Modien
5by5 Software Ventures 
Ltd.
http://bridgewerx.com
Suite 355, 138 - 4th 
Ave. SE
Calgary, Alberta, 
Canada
T2G 4Z6
Cell: 403.809.3511
Work: 403.206.3195








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 the Yahoo! Terms of Service.










[flexcoders] Rendering in background

2005-04-14 Thread viraf_bankwalla


Hi,

I have an application that displays a splash page on startup.  It then 
proceeds to load data for some grids.  Once the data has been 
received, it selects the view to be displayed.  

The problem is that this view takes a considerable amount of time to 
load (it has two grids).  I would like for this view to be constructed 
in thee background if possible.  When the data is received, and the 
view has been constructed, I would like to switch from the splash view 
to the application view.

My question being how do I get the view to render its content in the 
background while the splash page is being displayed.

Thanks.





 
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 to make an object active?

2005-04-14 Thread cnewroth55


Here's a quickie that I am sure someone can answer pretty quickly; I 
have a radio group that has x number of items, and what I want to do 
is make a coulple of checkboxes either be greyed out (active) or in-
active depending on which radiobutton a user clicks on; my code:
if a user click on the first radiobutton I want the summary check 
box to be active and the detail check box to gey out...
can reply to [EMAIL PROTECTED] or here...

mx:RadioButtonGroup id=thrustReportsGroup /
mx:RadioButton label=All 
groupName=thrustReportsGroup  x=24 y=14 /
mx:RadioButton label=ASMT - Affordable Structures 
amp; Mfg. Tech. groupName=thrustReportsGroup  x=24 y=34 /
mx:RadioButton label=ALE - Advanced Lean amp; 
Efficient groupName=thrustReportsGroup  x=24 y=54 /
mx:RadioButton label=ASC - Advanced Support Concepts 
groupName=thrustReportsGroup  x=24 y=74 /
mx:RadioButton label=APS - Advanced Platform Systems 
groupName=thrustReportsGroup  x=24 y=94 /
mx:RadioButton label=NCO - Netcentric Operations 
groupName=thrustReportsGroup  x=24 y=114 /
  /mx:VBox
  mx:VBox
  mx:FormItem label=Summary
mx:CheckBox label=Checkbox /
  /mx:FormItem
  mx:FormItem label=Detail
mx:CheckBox label=Checkbox /
  /mx:FormItem
  /mx:VBox






 
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] Curved surfaces in flex...

2005-04-14 Thread David Mendels





Hi,

In general, you can do just about anything in Flex that you 
can do in the Flash authoring tool. You have full access to 
Actionscript. That said, you don't have the graphical tools that the Flash 
authoring tool provides, so you need to be proficient in AS.

Regards,
David

  
  
  From: Clint Modien 
  [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 
  2005 9:53 AMTo: flexcoders@yahoogroups.comSubject: 
  [flexcoders] Curved surfaces in flex...
  
  
  I just had a question thrown at me 
  about a globe type surface being done in flex.
  
  My initial gut reaction to that 
  was you cant do that in flex
  
  You could if you used flash to 
  create the globe component right?
  
  Then embed that flash component in 
  a flex app?
  
  Just thought Id throw this out 
  there for some input on a solution.
  
  Thanks in 
  Advance,
  
  Clint Modien
  5by5 Software Ventures 
  Ltd.
  http://bridgewerx.com
  Suite 355, 138 - 
  4th Ave. SE
  Calgary, Alberta, 
  Canada
  T2G 4Z6
  Cell: 403.809.3511
  Work: 403.206.3195
  







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 the Yahoo! Terms of Service.










Re: [flexcoders] MXMXL Editor

2005-04-14 Thread jeff tapper

I'm a big fan of primal script, although, I'm starting to use Flex Builder 
a bit more now that you can disable design view...

At 12:16 AM 4/14/2005, you wrote:
Has anybody tried any editors apart from from Flex Builder for mxml?
Flex Builder degrades the performance of my PC.

--
Regards,

Ketan Bengali



--
Yahoo! Groups Links
* To visit your group on the web, go to:
* 
 http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/
  

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

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



 
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] MPEG4 streaming in Flash application?

2005-04-14 Thread Marcello Teodori


Hi,
please excuse me if this is a rather naive question, but I am approaching Flex 
with a 
strong experience in Java, but almost no experience in Flash.

I would like to embed within my Flash application an MPEG4 video stream, but as 
far as I 
know Flash allows only its own FLV Flash Video format.
Is there a way to do this? Does the Flash Communication Server product help in 
any way?
The video stream is a realtime, so the delay of the conversion from MPEG4 to 
FLV should 
not be too long...

Thanks in advance for any answer,

Marcello

--m
http://magomarcelo.blogspot.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] Curved surfaces in flex...

2005-04-14 Thread Clint Modien










I dont have an example no Its
still in the hey that would be kewl stage



Basically they want a globe thats able
to rotate so that you can pick multiple points on it and bring up windows on
those points with information about that particular point. 



Im 95% sure now that Ill
have to write/buy a custom .swc and import it













From: JesterXL
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005
8:03 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Curved
surfaces in flex...







Do you have a link towards a visual example of the desired
effect?











- Original Message - 



From: Clint Modien 





To: flexcoders@yahoogroups.com






Sent: Thursday, April
14, 2005 9:53 AM





Subject: [flexcoders]
Curved surfaces in flex...











I just had a question thrown at me about a globe type surface
being done in flex.



My initial gut reaction to that was you
cant do that in flex



You could if you used flash to create the globe component
right?



Then embed that flash component in a flex app?



Just thought Id throw this out there for some input
on a solution.



Thanks in Advance,



Clint Modien

5by5 Software Ventures Ltd.

http://bridgewerx.com

Suite 355, 138 - 4th Ave. SE

Calgary, Alberta,
 Canada

T2G 4Z6

Cell: 403.809.3511

Work: 403.206.3195














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 the Yahoo! Terms of Service.












[flexcoders] Cairngorm flex/AS2 framework naming convention

2005-04-14 Thread Valy Sivec




Hello,
My undertanding is that this framework is free and was initiated by the guys from "iteration::two", and we all are gratefull for their kindness to share with us this framework. Although, I have a question about it...
Why should the packages have been named using the company name? Shouldn't be nicer to have a neutral naming convention instead?.I know that it isn't a big thing and all of them can be easily renamed or maybe this will be part of the next release... 
Thanks Valy
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 







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 the Yahoo! Terms of Service.










Re: [flexcoders] Flex Non Comercial

2005-04-14 Thread Jeff Steiner

Email.  As far as I know there is no way to contact them to find out what
the status of your request is.

Jeff
http://www.flexauthority.com

- Original Message - 
From: Francois Le Lay [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, April 13, 2005 11:40 PM
Subject: Re: [flexcoders] Flex Non Comercial


By the way, do they call you on the phone or do they email you, just to know
what to expect...?

François Le Lay
--
http://www.mfworx.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] Curved surfaces in flex...

2005-04-14 Thread JesterXL





There are a plethora of ways to integrate this with 
Flex. You could do the SWC route, yes. You could do the animations, 
and just control it with Flex. You could do it in pieces, and let Flex 
have more control on how they are loaded in (popups in PopUpManager instead of 
standards container). You could also have all assets, include globe, be 
built and contained in Flex.

The actual creation of the assets, though, yes, it 
would probably be best to do in Flash and/or AfterEffects.

- Original Message - 
From: Clint Modien 
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 14, 2005 10:55 AM
Subject: RE: [flexcoders] Curved surfaces in flex...


I don’t have an example 
no… It’s still in the “hey that would be kewl 
stage”

Basically they want a 
globe that’s able to rotate so that you can pick multiple points on it and bring 
up windows on those points with information about that particular point. 


I’m 95% sure now that 
I’ll have to write/buy a custom .swc and import it…






From: JesterXL 
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 8:03 
AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Curved surfaces 
in flex...


Do you have a link towards a visual 
example of the desired effect?



- Original Message - 


From: Clint Modien 


To: flexcoders@yahoogroups.com 


Sent: Thursday, 
April 14, 2005 9:53 AM

Subject: 
[flexcoders] Curved surfaces in flex...


I just had a question thrown at me 
about a globe type surface being done in flex.

My initial gut reaction to that was… 
“you can’t do that in flex”

You could if you used flash to 
create the globe component right?

Then embed that flash component in a 
flex app?

Just thought I’d throw this out 
there for some input on a solution.

Thanks in 
Advance,

Clint 
Modien
5by5 Software Ventures 
Ltd.
http://bridgewerx.com
Suite 355, 138 - 4th 
Ave. SE
Calgary, Alberta, 
Canada
T2G 4Z6
Cell: 403.809.3511
Work: 403.206.3195









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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: Rendering in background

2005-04-14 Thread JesterXL

Don't put your splash in the viewstack.
- put a ProgressBar in the ViewStack's 1st view instead, set it to 
indeterminate
- load your Splash page up in the popupmanager
- use a doLater to change the ViewStack to the next child
- use another doLater to remove the popup; since it'll take a frame for 
everything to initialize, the next frame your component will be done 
initializing, and the popup will be removed.

- Original Message - 
From: viraf_bankwalla [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, April 14, 2005 11:06 AM
Subject: [flexcoders] Re: Rendering in background




Sorry - but I do not understand your response.

My Splash page is part of a viewStack as is the application page.
The data is loaded with the splash page being displayed.  The
performance problem is with the rendering of the application page.
This page is initialized when I select it in the viewstack.

So the question is how do I get the page to construct while it is
not displayed, and then switch to it when it has rendered.


Thanks.



--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 Throw your splash page in a modal popup?

 import mx.managers.PopUpManager;

 splash = PopUpManager.createPopUp(mx.core.Application.application,
 YourSplashComponent,
 true);


 // later

 splash.deletePopUp();

 - Original Message - 
 From: viraf_bankwalla [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, April 14, 2005 10:07 AM
 Subject: [flexcoders] Rendering in background




 Hi,

 I have an application that displays a splash page on startup.  It
then
 proceeds to load data for some grids.  Once the data has been
 received, it selects the view to be displayed.

 The problem is that this view takes a considerable amount of time
to
 load (it has two grids).  I would like for this view to be
constructed
 in thee background if possible.  When the data is received, and
the
 view has been constructed, I would like to switch from the splash
view
 to the application view.

 My question being how do I get the view to render its content in
the
 background while the splash page is being displayed.

 Thanks.






 Yahoo! Groups Links






Yahoo! Groups Links








 
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] Curved surfaces in flex...

2005-04-14 Thread Seth Voltz
When you said Globe ebject I immediately thought wireframe. You could easily write a wireframe sphere function that takes in perspective and rotation information and spits back a series of lines... There is code all over the 'net on wireframe drawing.

Seth


On Apr 14, 2005, at 11:00, JesterXL wrote:

There are a plethora of ways to integrate this with Flex. You could do the SWC route, yes. You could do the animations, and just control it with Flex. You could do it in pieces, and let Flex have more control on how they are loaded in (popups in PopUpManager instead of standards container). You could also have all assets, include globe, be built and contained in Flex.

The actual creation of the assets, though, yes, it would probably be best to do in Flash and/or AfterEffects.

x-tad-bigger- Original Message -/x-tad-bigger
x-tad-bigger /x-tad-biggerx-tad-biggerFrom:/x-tad-biggerx-tad-bigger /x-tad-biggerx-tad-biggerClint Modien/x-tad-biggerx-tad-bigger /x-tad-bigger
x-tad-biggerTo:/x-tad-biggerx-tad-bigger /x-tad-biggerx-tad-biggerflexcoders@yahoogroups.com/x-tad-biggerx-tad-bigger /x-tad-bigger
x-tad-biggerSent:/x-tad-biggerx-tad-bigger Thursday, April 14, 2005 10:55 AM/x-tad-bigger
x-tad-biggerSubject:/x-tad-biggerx-tad-bigger RE: [flexcoders] Curved surfaces in flex.../x-tad-bigger


x-tad-biggerI dont have an example no Its still in the hey that would be kewl stage/x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerBasically they want a globe thats able to rotate so that you can pick multiple points on it and bring up windows on those points with information about that particular point./x-tad-bigger

x-tad-bigger /x-tad-bigger

x-tad-biggerIm 95% sure now that Ill have to write/buy a custom .swc and import it/x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-bigger/x-tad-bigger


x-tad-biggerFrom:/x-tad-biggerx-tad-bigger JesterXL [mailto:[EMAIL PROTECTED]/x-tad-bigger
x-tad-bigger /x-tad-biggerx-tad-biggerSent:/x-tad-biggerx-tad-bigger Thursday, April 14, 2005 8:03 AM/x-tad-bigger
x-tad-biggerTo:/x-tad-biggerx-tad-bigger flexcoders@yahoogroups.com/x-tad-bigger
x-tad-biggerSubject:/x-tad-biggerx-tad-bigger Re: [flexcoders] Curved surfaces in flex.../x-tad-bigger



x-tad-biggerDo you have a link towards a visual example of the desired effect?/x-tad-bigger



x-tad-bigger- Original Message -/x-tad-bigger

x-tad-bigger /x-tad-biggerx-tad-biggerFrom:/x-tad-biggerx-tad-bigger /x-tad-biggerx-tad-biggerClint Modien/x-tad-biggerx-tad-bigger /x-tad-bigger

x-tad-biggerTo:/x-tad-biggerx-tad-bigger /x-tad-biggerx-tad-biggerflexcoders@yahoogroups.com/x-tad-biggerx-tad-bigger /x-tad-bigger

x-tad-biggerSent:/x-tad-biggerx-tad-bigger Thursday, April 14, 2005 9:53 AM/x-tad-bigger

x-tad-biggerSubject:/x-tad-biggerx-tad-bigger [flexcoders] Curved surfaces in flex.../x-tad-bigger



x-tad-biggerI just had a question thrown at me about a globe type surface being done in flex./x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerMy initial gut reaction to that was you cant do that in flex/x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerYou could if you used flash to create the globe component right?/x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerThen embed that flash component in a flex app?/x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerJust thought Id throw this out there for some input on a solution./x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerThanks in Advance,/x-tad-bigger

x-tad-bigger/x-tad-bigger

x-tad-biggerClint Modien/x-tad-bigger

5by5 Software Ventures Ltd.

x-tad-biggerhttp://bridgewerx.com/x-tad-bigger

x-tad-biggerSuite 355, 138 - 4th Ave. SE/x-tad-bigger

x-tad-biggerCalgary, Alberta, Canada/x-tad-bigger

x-tad-biggerT2G 4Z6/x-tad-bigger

x-tad-biggerCell: 403.809.3511/x-tad-bigger

x-tad-biggerWork: 403.206.3195/x-tad-bigger



x-tad-bigger/x-tad-bigger


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 the Yahoo! Terms of Service.



PGP.sig
Description: This is a digitally signed message part


Re: [flexcoders] beginners question about sending data to custom flex components

2005-04-14 Thread Matthew Shirey



I'm fairly new at this data binding stuff... but I thought you were
only able to bind properties, or getters/setters. I have had
mixed results when I try to bind to a function. Is this wrong?

-- MatthewOn 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:











Hi,
Can you post 
the code so that we look at it? IMO this shouldn't happen?


-abdul



From: erik katerborg [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 14, 2005 3:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] beginners question 
about sending data to custom flex componentsImportance: 
High

hi,

This may be a beginner's question but I just can't 
figure one thing out: how to send dynamic data to a custom flex 
component.
what I want to do is the following:

myCustomSWC 
myDataToBeUsed={myActionscriptClass.getData();} /

the problem is that the function is not executed 
but simply passed as a string to the component. Another problem is that the 
actionscript class may not have initialised yet so the function would not work 
at all.

does anyone have a suggestion on how to do this 
???

thanks very much !!!

a confused flex coder,

erik.



  
  

  Erik Katerborg 
  Multimedia Designer t: 
  050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED]
 w: www.thefactore.com 

  theFactor.eFriesestraatweg 215a 
  Postbus 20109704CA 
  GroningenBusiness Partner for MediasurfaceAlliance Partner for 
  Macromedia







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










RE: [flexcoders] Curved surfaces in flex...

2005-04-14 Thread Shell Bryson










Its almost impossible to do this with
normal Flash, let alone trying to do it in Flex. Sounds like a nightmare to me.
Flash just isnt suited (at the moment) for 3d (or pseudo 3d). Director has
that sort of thing.











From:
Seth Voltz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 16:21
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Curved
surfaces in flex...





When you said
Globe ebject I immediately thought wireframe. You could easily
write a wireframe sphere function that takes in perspective and rotation
information and spits back a series of lines... There is code all over the 'net
on wireframe drawing.

Seth


On Apr 14, 2005, at 11:00, JesterXL wrote:

There
are a plethora of ways to integrate this with Flex. You could do the SWC
route, yes. You could do the animations, and just control it with
Flex. You could do it in pieces, and let Flex have more control on how
they are loaded in (popups in PopUpManager instead of standards
container). You could also have all assets, include globe, be built and
contained in Flex.

The actual creation of the assets, though,
yes, it would probably be best to do in Flash and/or AfterEffects.

- Original Message -
From:
Clint Modien

To:
flexcoders@yahoogroups.com

Sent:
Thursday, April 14, 2005 10:55 AM
Subject:
RE: [flexcoders] Curved surfaces in flex...


I
dont have an example no Its still in the hey that would be kewl stage



Basically
they want a globe thats able to rotate so that you can pick multiple points on
it and bring up windows on those points with information about that particular
point.



Im
95% sure now that Ill have to write/buy a custom .swc and import it






From:
JesterXL [mailto:[EMAIL PROTECTED]
Sent:
Thursday, April 14, 2005 8:03 AM
To:
flexcoders@yahoogroups.com
Subject:
Re: [flexcoders] Curved surfaces in flex...



Do you have a link towards a visual
example of the desired effect?



- Original Message -

From:
Clint Modien


To:
flexcoders@yahoogroups.com


Sent:
Thursday, April 14, 2005 9:53 AM

Subject:
[flexcoders] Curved surfaces in flex...



I just had a question thrown at me
about a globe type surface being done in flex.



My initial gut reaction to that was
you cant do that in flex



You could if you used flash to create
the globe component right?



Then embed that flash component in a
flex app?



Just thought Id throw this out there
for some input on a solution.



Thanks in Advance,



Clint Modien

5by5 Software Ventures Ltd.

http://bridgewerx.com

Suite
 355, 138 - 4th Ave.
  SE

Calgary,
 Alberta, Canada

T2G 4Z6

Cell: 403.809.3511

Work: 403.206.3195






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 the Yahoo!
Terms of Service.











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 the Yahoo! Terms of Service.












Re: [flexcoders] any ideas about flex client side caching?

2005-04-14 Thread Matthew Shirey



Just be careful about how much you store in the SharedObject. By
default the client is set to accept up to 100k A 'Huge' dataset
might exceed that. If you exceed that about I think the client
then asks the user if more space can be allocated. I've just
started using a SharedObject; I'm a little paranoid about asking users
wierd questions, so I'm trying to keep it fairly limited.

-- MatthewOn 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi,You can cache object on client in SharedObject. So you can serialize a classto SharedObject on client and later deserialize to use in application.For example, you fetch a huge dataset from server(via xml, http or
remoteobject), you can serialize it to SharedObject and show a part of it infront-end when required. This way you can avoid network calls and memoryproblems...-abdul-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 14, 2005 10:33 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] any ideas about flex client side caching?Hi,all, In Christophe's blog, we can code our own class tocache data. Does flex provider some other solutions
for the client_side caching?Best RegardsFeng_Do You Yahoo!?150MP3http://music.yisou.com/
http://image.yisou.com1G1000http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
g/Yahoo! Groups LinksYahoo! 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/







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 the Yahoo! Terms of Service.










RE: [flexcoders] beginners question about sending data to custom flex components

2005-04-14 Thread Tracy Spratt










Abdul will probably be able to figure out
how to do this but there are several other options:


 Have
 the data in an Object or Array and pass that.
 Pass
 in a reference to the parent, and in the component do myParent.getData()
 Pass
 in a typed reference to the paren and use binding text={myParent.getData()}




Tracy











From: erik katerborg
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005
5:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] beginners
question about sending data to custom flex components
Importance: High







hi,











This may be a beginner's question but I just can't figure
one thing out: how to send dynamic data to a custom flex component.





what I want to do is the following:











myCustomSWC
myDataToBeUsed={myActionscriptClass.getData();} /











the problem is that the function is not executed but simply
passed as a string to the component. Another problem is that the actionscript
class may not have initialised yet so the function would not work at all.











does anyone have a suggestion on how to do this ???











thanks very much !!!











a confused flex coder,











erik.












 
  
  Erik
  Katerborg 
  Multimedia
  Designer 
  
  t: 050 - 575.78.88 
  f: 050 - 575.88.89 
  e: [EMAIL PROTECTED] 
  w: www.thefactore.com 
  
  
  theFactor.e
  Friesestraatweg 215a 
  Postbus 2010
  9704CA Groningen
  
  Business Partner for Mediasurface
Alliance
  Partner for Macromedia
  
 















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 the Yahoo! Terms of Service.












RES: [flexcoders] Re: Popup only works once

2005-04-14 Thread Rafael M. Martinelli

I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup =
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save 
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button 
 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up 
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of 
 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



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

2005-04-14 Thread David George

  Thanks - I'll find out what code I can share, or try to put together 
  a sample application to illustrate the fact.

Thanks.


  Could you please point me to the presentation on flex 2.0 and flash 
  8.0.  Were release dates specifed ?

I know that Flash Player 8 has been presented at some conferences 
(e.g.: http://www.moock.org/blog/archives/000146.html)

As far as I know, that's it so far.


  Finally, how does one quantify large ?  I consider my current 
  datagrid as small ( 20 rows and  20 columns).  

For the purposes of scrolling performance, we're interested in the
number of rows and columns that are visible on the screen at one time.
 Scrolling performance is fine with large datasets (many thousands of
records), so long as only a few rows are visible at a time (and so
long as each row contains only a few columns).


 
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: Popup only works once

2005-04-14 Thread Tracy Spratt

Post a simple sample app.

Half the time, just the process of doing that reveals the problem.

Tracy

-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once


I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come
back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup =
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save 
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button

 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up 
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of

 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 







 
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: Popup only works once

2005-04-14 Thread Robert Stuttaford

If you're using the cairngorm currently available, your view helper is not
being deregistered. Search the archives for 'cairngorm' and 'deregister'.

-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 05:37 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once


I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup =
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save 
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button 
 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up 
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of 
 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 





 
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: Popup only works once

2005-04-14 Thread Ben Elmore

Are you guys using the Cairngorm Framework? If so, does your popup window
have a viewHelper assigned to it? 


-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once



I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup = 
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button
 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up 
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of 
 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 







 
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] Curved surfaces in flex...

2005-04-14 Thread Abdul Qabiz





Hi,

Creating pseudo 3d is possible in Flash, yea it might get 
slow if there are lots of lines/polygons...But its 
possible...


see this:

http://mx3d.com/

-abdul


From: Shell Bryson 
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 
8:59 PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Curved surfaces in flex...


Its almost impossible 
to do this with normal Flash, let alone trying to do it in Flex. Sounds like a 
nightmare to me. Flash just isnt suited (at the moment) for 3d (or pseudo 3d). 
Director has that sort of thing.





From: Seth Voltz 
[mailto:[EMAIL PROTECTED] Sent: 14 April 2005 16:21To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Curved surfaces 
in flex...

When you said "Globe" ebject I immediately 
thought wireframe. You could easily write a wireframe sphere function that takes 
in perspective and rotation information and spits back a series of lines... 
There is code all over the 'net on wireframe drawing.SethOn 
Apr 14, 2005, at 11:00, JesterXL wrote:
There 
are a plethora of ways to integrate this with Flex. You could do the SWC 
route, yes. You could do the animations, and just control it with 
Flex. You could do it in pieces, and let Flex have more control on how 
they are loaded in (popups in PopUpManager instead of standards 
container). You could also have all assets, include globe, be built and 
contained in Flex.The 
actual creation of the assets, though, yes, it would probably be best to do in 
Flash and/or AfterEffects.- 
Original Message -From: 
Clint Modien To: 
flexcoders@yahoogroups.com 
Sent: 
Thursday, April 14, 2005 10:55 AMSubject: 
RE: [flexcoders] Curved surfaces in 
flex...I 
dont have an example no Its still in the hey that would be kewl stageBasically 
they want a globe thats able to rotate so that you can pick multiple points on 
it and bring up windows on those points with information about that particular 
point.Im 
95% sure now that Ill have to write/buy a custom .swc and import itFrom: 
JesterXL [mailto:[EMAIL PROTECTED]Sent: 
Thursday, April 14, 2005 8:03 AMTo: 
flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] Curved surfaces in 
flex...Do 
you have a link towards a visual example of the desired effect?- 
Original Message 
-From: 
Clint Modien To: 
flexcoders@yahoogroups.com 
Sent: 
Thursday, April 14, 2005 9:53 AMSubject: 
[flexcoders] Curved surfaces in flex...I 
just had a question thrown at me about a globe type surface being done in 
flex.My 
initial gut reaction to that was you cant do that in flexYou 
could if you used flash to create the globe component right?Then 
embed that flash component in a flex app?Just 
thought Id throw this out there for some input on a solution.Thanks 
in Advance,Clint 
Modien5by5 Software Ventures Ltd.http://bridgewerx.comSuite 
355, 138 - 4th Ave. 
SECalgary, 
Alberta, CanadaT2G 
4Z6Cell: 
403.809.3511Work: 
403.206.3195Yahoo! 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 the Yahoo! Terms of Service.







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 the Yahoo! Terms of Service.










RE: [flexcoders] Re: Rendering in background

2005-04-14 Thread Tracy Spratt

I have not done any of this but you might look into progressive
instantiation.  You set the creationPolicy=none on your containers,
then use methods that explicitly cause the children to be instantiated.

There is a white paper or technote about this somewhere.

Tracy

-Original Message-
From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Rendering in background



Sorry - but I do not understand your response.

My Splash page is part of a viewStack as is the application page.  
The data is loaded with the splash page being displayed.  The 
performance problem is with the rendering of the application page.  
This page is initialized when I select it in the viewstack.  

So the question is how do I get the page to construct while it is 
not displayed, and then switch to it when it has rendered.


Thanks.



--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 Throw your splash page in a modal popup?
 
 import mx.managers.PopUpManager;
 
 splash = PopUpManager.createPopUp(mx.core.Application.application,
 YourSplashComponent,
 true);
 
 
 // later
 
 splash.deletePopUp();
 
 - Original Message - 
 From: viraf_bankwalla [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, April 14, 2005 10:07 AM
 Subject: [flexcoders] Rendering in background
 
 
 
 
 Hi,
 
 I have an application that displays a splash page on startup.  It 
then 
 proceeds to load data for some grids.  Once the data has been 
 received, it selects the view to be displayed.  
 
 The problem is that this view takes a considerable amount of time 
to 
 load (it has two grids).  I would like for this view to be 
constructed 
 in thee background if possible.  When the data is received, and 
the 
 view has been constructed, I would like to switch from the splash 
view 
 to the application view.
 
 My question being how do I get the view to render its content in 
the 
 background while the splash page is being displayed.
 
 Thanks.
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 







 
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] Cairngorm flex/AS2 framework naming convention

2005-04-14 Thread Matthew Shirey



It's just a namespace... and they did make it afterall...

M.On 4/14/05, Valy Sivec [EMAIL PROTECTED] wrote:




Hello,
My undertanding is that this framework is free and was initiated by
the guys from iteration::two, and we all are gratefull for their
kindness to share with us this framework. Although, I have a question
about it...
Why should the packages have been named using the company name?
Shouldn't be nicer to have a neutral naming convention instead?.I know
that it isn't a big thing and all of them can be easily renamed or
maybe this will be part of the next release... 
Thanks Valy
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










Re: [flexcoders] Curved surfaces in flex...

2005-04-14 Thread JesterXL





Flash is definately suited to displaying 3D. 
Depends on if the 3D needs to be real or not and 
if there is any value gained from it being true 3D:

http://www.billybussey.com/main.html

http://www.gskinner.com/blog/archives/2005/04/new_3d_flash_ga_1.html

Click center screen when it comes up, then Skip the 
intro:
http://www.starfox.com/index_core.htm

After 1st load, click bypass:
http://www.metroid.com/main.htm

All of the above could be incorporated into Flex if 
the 2 teams we're brought together.


- Original Message - 
From: Shell 
Bryson 
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 14, 2005 11:29 AM
Subject: RE: [flexcoders] Curved surfaces in flex...


It’s almost impossible 
to do this with normal Flash, let alone trying to do it in Flex. Sounds like a 
nightmare to me. Flash just isn’t suited (at the moment) for 3d (or pseudo 3d). 
Director has that sort of thing.





From: Seth Voltz 
[mailto:[EMAIL PROTECTED] Sent: 14 April 2005 16:21To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Curved surfaces 
in flex...

When you said "Globe" ebject I immediately 
thought wireframe. You could easily write a wireframe sphere function that takes 
in perspective and rotation information and spits back a series of lines... 
There is code all over the 'net on wireframe drawing.SethOn 
Apr 14, 2005, at 11:00, JesterXL wrote:
There 
are a plethora of ways to integrate this with Flex. You could do the SWC 
route, yes. You could do the animations, and just control it with 
Flex. You could do it in pieces, and let Flex have more control on how 
they are loaded in (popups in PopUpManager instead of standards 
container). You could also have all assets, include globe, be built and 
contained in Flex.The 
actual creation of the assets, though, yes, it would probably be best to do in 
Flash and/or AfterEffects.- 
Original Message -From: 
Clint Modien To: 
flexcoders@yahoogroups.com 
Sent: 
Thursday, April 14, 2005 10:55 AMSubject: 
RE: [flexcoders] Curved surfaces in 
flex...I 
don’t have an example no… It’s still in the “hey that would be kewl stage”Basically 
they want a globe that’s able to rotate so that you can pick multiple points on 
it and bring up windows on those points with information about that particular 
point.I’m 
95% sure now that I’ll have to write/buy a custom .swc and import it…From: 
JesterXL [mailto:[EMAIL PROTECTED]Sent: 
Thursday, April 14, 2005 8:03 AMTo: 
flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] Curved surfaces in 
flex...Do 
you have a link towards a visual example of the desired effect?- 
Original Message 
-From: 
Clint Modien To: 
flexcoders@yahoogroups.com 
Sent: 
Thursday, April 14, 2005 9:53 AMSubject: 
[flexcoders] Curved surfaces in flex...I 
just had a question thrown at me about a globe type surface being done in 
flex.My 
initial gut reaction to that was… “you can’t do that in flex”You 
could if you used flash to create the globe component right?Then 
embed that flash component in a flex app?Just 
thought I’d throw this out there for some input on a solution.Thanks 
in Advance,Clint 
Modien5by5 Software Ventures Ltd.http://bridgewerx.comSuite 
355, 138 - 4th Ave. 
SECalgary, 
Alberta, CanadaT2G 
4Z6Cell: 
403.809.3511Work: 
403.206.3195Yahoo! 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 the Yahoo! Terms of Service.







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 the Yahoo! Terms of Service.










[flexcoders] Great Abdul

2005-04-14 Thread [EMAIL PROTECTED]

Very Very Very Very Very Very thank Abudl,

Without Macromedia Control  and with your suggestion ,

SWF(inside C++ application) reads SharedObject and passes the data to C++ work 
fine.




Then for all front end it's pure flex, but with integration with 
com/lpt1 client side with fscommand work nice.
Thank's again,
Devis


Ps
If some user have the same problem, post me and send you the c++/ 
Flex/fscommand integration simple simple program.
Bye Bye
Devis

PS2
I don't understand the price of  Macromedia Central?



 
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/
 





RES: [flexcoders] Re: Popup only works once

2005-04-14 Thread Rafael M. Martinelli

Yes, we're ussing the Cairngorm Framework and we're using a viewHelper in
the TileWindow.

How can I solve this problem? I can't use the viewHelper in this situation?

Thanks.

-Mensagem original-
De: Ben Elmore [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 14 de abril de 2005 12:49
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Re: Popup only works once


Are you guys using the Cairngorm Framework? If so, does your popup window
have a viewHelper assigned to it? 


-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once



I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup = 
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button
 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up 
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of 
 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 







 
Yahoo! Groups Links



 






-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
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] Curved surfaces in flex...

2005-04-14 Thread jeff tapper

Anything you can do in code in flash studio you can also do in flex.  If 
your up for the challange, you can using the drawing API and the curveTo 
method to create any curved surface you want, im generally more likely to 
import a graphic already created, whether im using it in flex or flash.

At 09:53 AM 4/14/2005, you wrote:
I just had a question thrown at me about a globe type surface being done 
in flex.

My initial gut reaction to that was… “you can’t do that in flex”

You could if you used flash to create the globe component right?

Then embed that flash component in a flex app?

Just thought I’d throw this out there for some input on a solution.

Thanks in Advance,

Clint Modien
5by5 Software Ventures Ltd.
http://bridgewerx.comhttp://bridgewerx.com
Suite 355, 138 - 4th Ave. SE
Calgary, Alberta, Canada
T2G 4Z6
Cell: 403.809.3511
Work: 403.206.3195



--
Yahoo! Groups Links
* To visit your group on the web, go to:
* 
 http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/
  

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

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



 
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] Please a suggestion

2005-04-14 Thread Abdul Qabiz

Hi,

You can search macromedia.com or google regarding embedding flash in C++
shell. But I will suggest you that you also look at Visual Basic, you can
quickly embed Flash in Visual Basic shell. There used to be openswf.org, a
nice site but it doesn't work any more...

Macromedia.com has some articles and examples on the same

http://www.macromedia.com/devnet/mx/flashslideshow/articles/part1.html
http://www.macromedia.com/devnet/mx/flashslideshow/ 


Please let me know, if need more information how can you read/write to
sharedobject...

-abdul

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 7:30 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Please a suggestion


Thanks Abdul,

 Your Flex application writes data to SharedObject  it's ok


- Your C++/VB application embeds a swf that is downloaded from same
webserver where Flex application is hosted.
- SWF(inside C++ application) reads SharedObject and passes the data to C++
program via FSCommand

here  sound very good and fantastic for our problem, but do you know some
docs for swf c++ please.
Devis



Abdul Qabiz ha scritto:

You can still achieve this without using Macromedia Central.

- Your Flex application writes data to SharedObject
- Your C++/VB application embeds a swf that is downloaded from same
webserver where Flex application is hosted.
- SWF(inside C++ application) reads SharedObject and passes the data to C++
program via FSCommand
- Your C++ application can do the desired action with data

I believe, this can be done easily...

Does it help?

-abdul

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Please a suggestion


Hi
it's not important that run into browser,
but with i don't know how to work Macromedia Central platform.

--What's the purpose of writing xml on client machine?
   We have write a simple c++ program that read a xml file and comunicate
with com of client for external device, for examples
   our flash app will run , i hope, into a ibm POS and for credit card,
bancomat machine (i don't know how to write in English, in Italy simple
:pos ;-) )

do know some link for see Macromedia Central platform that write and read
file?
Thank's
Devis




Abdul Qabiz ha scritto:

  

HI Davis,

Is it really important that your application needs to be browser based?
You
can deploy Flex application in Macromedia Central platform...

Macromedia Central can read and write files from file system. Check out
macromedia.com for more...

What's the purpose of writing xml on client machine?

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 1:57 PM
To: Flex Coders
Subject: [flexcoders] Please a suggestion


Hi,
i'don't know if this post it's OT.
I'm using flex with j2ee architecture, i must to do when end user click 
Transaction i must write into a client machine an xml file.
With a RIA this how is it possible?
Please help.
Devis
PS
now i'm testing a bad solution

Client click Transaction and i call a servlet that seralizate into a 
session an object, this servlet push into Java signed Applet  that 
write a simple xml file into client machine, but for me this solution 
it's very bad, because
1)In the user machine must run 2 app (Browser for front-end and applet 
for  write a file)


sorry to all if this post is OT
Devis






Yahoo! Groups Links










Yahoo! Groups Links






 







 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 


  





 
Yahoo! Groups Links



 





 
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] Whitepaper on Application Deployments

2005-04-14 Thread JesterXL

I found these:

http://www.macromedia.com/software/flex/whitepapers/

It'd be helpful to snag a huge client if any of da boyz from Iteration::two 
had any they've made, or anyone else; anything is helpful!

Thanks if you have any whitepapers you can share!

--JesterXL 



 
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] Great Abdul

2005-04-14 Thread Abdul Qabiz

Thanks...

I must say, you are very fast...You made the program, before I replied...

:)

-abdul 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 9:28 PM
To: Flex Coders
Subject: [flexcoders] Great Abdul


Very Very Very Very Very Very thank Abudl,

Without Macromedia Control  and with your suggestion ,

SWF(inside C++ application) reads SharedObject and passes the data to C++
work fine.




Then for all front end it's pure flex, but with integration with 
com/lpt1 client side with fscommand work nice.
Thank's again,
Devis


Ps
If some user have the same problem, post me and send you the c++/ 
Flex/fscommand integration simple simple program.
Bye Bye
Devis

PS2
I don't understand the price of  Macromedia Central?



 
Yahoo! Groups Links



 





 
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] Great Abdul

2005-04-14 Thread Tracy Spratt

Devis, this requirement gets requested a lot!  If you have a working
solution and are willing to post it, It will be very helpful to many!

Tracy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 11:58 AM
To: Flex Coders
Subject: [flexcoders] Great Abdul


Very Very Very Very Very Very thank Abudl,

Without Macromedia Control  and with your suggestion ,

SWF(inside C++ application) reads SharedObject and passes the data to
C++ work fine.




Then for all front end it's pure flex, but with integration with 
com/lpt1 client side with fscommand work nice.
Thank's again,
Devis


Ps
If some user have the same problem, post me and send you the c++/ 
Flex/fscommand integration simple simple program.
Bye Bye
Devis

PS2
I don't understand the price of  Macromedia Central?



 
Yahoo! Groups Links



 







 
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] Alert Listener

2005-04-14 Thread Abdul Qabiz

Hi Fernando,
 
Frankly speaking, I generally don't read books cover-to-cover. I refer
product help and a few books sometimes, when I need to brush up concepts.
But I believe, I learnt more by doing than reading. And yes, Flexcoders is
the best place to learn about Flex by trying  helping out others.
 
However, following books might help you out:
 
For Flex: 

* Developing Rich Clients with Macromedia Flex by Steven Webster  Alistair
McLeod
 
For ActionScript2:
 
* Essential ActionScript 2 by Colin Moock
 
For low level details  Flash Player:

* ActionScript for Flash MX: The Definitive Guide by Colin Moock


Hope that helps...

-abdul
 


From: Fernando Barros [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 7:11 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Alert Listener



It was funny! So easy and I was doing a huge class! Abdul, thank you!

Abdul and people, which books do you recommend?

 

Thks again!

 

PS: I don't know but reading some articles from Macromedia and following the
tutorial, I can notice there are a big difference between them. At the
begging, reading only the tutorial, I had an idea, but If you want do to the
rigth thing, it´s very important to read the articles and some books. Would
be a better idea the Macromedia delivery more tutorials?. Like one for
begginers, intermediates and experts? Only an idea...

 

---
Fernando Barros

Internet Officer
---



De: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 14 de abril de 2005 10:00
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Alert Listener

 

Alert.show(sMensagem, sTitulo, Alert.OK | Alert.CANCEL, null,
mx.utils.Delegate.create(this, click), '', Alert.OK);

 

It should solve your problem...

 

-abdul

 

  





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]
mailto:[EMAIL PROTECTED] 
  
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ . 





 
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: Popup only works once

2005-04-14 Thread Ben Elmore

The issue is that each time the Popup opens, the ViewHelper attempts to
register itself to the ViewLocator. The framework has a rule that a
ViewHelper must be unique in its 'handle' (done by the ViewLocator checking
if the View Name is already registered to it) otherwise it raises and Error.
(Code can be seen in the ViewLocator.as file).

Cairngorm .99 should have the ability to unregister view helpers from the
ViewLocator so when this is released you will need to unregister the View in
the destruction sequence of the popup. In the mean time there are these
options (may be more out there):

1. Modify the Cairngorm framework by not throwing an error in the View
Locator if the Name is already registered to it. (Not saying this is the
best option, just saying this is one way to do it)

2. Open up the popup window (child) without a view helper or a view helper
that doesn't have a name on it (if you are looking for code abstraction).
Have the child raise events that the parent can listen to. When the event is
raised have the parent broadcast the event (to the command) and have your
Commands talk to the parent to get the necessary information from the child
window.

I have found there to be value have the child popup simply raise events that
the parent (the mxml file that created the popup) is listening for in
several situations. Esp in any sort of master/detail relationship (address
of a user for example).

Hope this helps.

Ben

-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 12:04 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once



Yes, we're ussing the Cairngorm Framework and we're using a viewHelper in
the TileWindow.

How can I solve this problem? I can't use the viewHelper in this situation?

Thanks.

-Mensagem original-
De: Ben Elmore [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 14 de abril de 2005 12:49
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Re: Popup only works once


Are you guys using the Cairngorm Framework? If so, does your popup window
have a viewHelper assigned to it? 


-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once



I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup =
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save 
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button 
 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of 
 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 







 
Yahoo! Groups Links



 






-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 







 
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] beginners question about sending data to custom flex components

2005-04-14 Thread Abdul Qabiz





Hi Matthew,

It would really help, if you can give me a test-case where 
you see mixed result...It would really help us...

Thanks

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 
8:57 PMTo: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] beginners question about sending data to custom flex 
components
I'm fairly new at this data binding stuff... but I thought you were 
only able to bind properties, or getters/setters. I have had mixed results 
when I try to bind to a function. Is this wrong?-- Matthew
On 4/14/05, Abdul 
Qabiz [EMAIL PROTECTED] wrote:

  Hi,
  Can you post 
  the code so that we look at it? IMO this shouldn't happen?
  
  
  -abdul
  
  
  
  From: erik katerborg [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, April 14, 2005 3:10 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  beginners question about sending data to custom flex 
  componentsImportance: High
  
  
  hi,
  
  This may be a beginner's question but I just 
  can't figure one thing out: how to send dynamic data to a custom flex 
  component.
  what I want to do is the following:
  
  myCustomSWC 
  myDataToBeUsed="{myActionscriptClass.getData();}" /
  
  the problem is that the function is not executed 
  but simply passed as a string to the component. Another problem is that the 
  actionscript class may not have initialised yet so the function would not work 
  at all.
  
  does anyone have a suggestion on how to do this 
  ???
  
  thanks very much !!!
  
  a confused flex coder,
  
  erik.
  
  
  


  
Erik Katerborg 
Multimedia Designer t: 
050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED]  w: www.thefactore.com 
  
theFactor.eFriesestraatweg 
215a 
Postbus 20109704CA 
GroningenBusiness Partner for MediasurfaceAlliance Partner 
for Macromedia
  
  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 the Yahoo! Terms of 
Service. 







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 the Yahoo! Terms of Service.










RE: [flexcoders] beginners question about sending data to custom flex components

2005-04-14 Thread Ben Elmore
Title: Message





I 
could be wrong, but from my experience I found that binding with functions 
doesn't work if there are no arguments that are passed into the function that 
Flex can watch.

So.

myClass.myFunc() - Flex doesn't know that it should recheck the 
function 
myClass.myFunc( myClass.att1 ) - only recalls function on change to 
myClass.att1

I 
havn't tried goofing around with what happens if class raises change events like 
dispatchEvent({type:'myFuncChanged'}). 



  
  -Original Message-From: Abdul Qabiz 
  [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 12:25 
  PMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] beginners question about sending data to custom flex 
  components
  Hi Matthew,
  
  It would really help, if you can give me a test-case 
  where you see mixed result...It would really help us...
  
  Thanks
  
  -abdul
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 
  8:57 PMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] beginners question about sending data to custom flex 
  components
  I'm fairly new at this data binding stuff... but I thought you were 
  only able to bind properties, or getters/setters. I have had mixed 
  results when I try to bind to a function. Is this wrong?-- 
  Matthew
  On 4/14/05, Abdul 
  Qabiz [EMAIL PROTECTED] 
  wrote: 
  
Hi,
Can you 
post the code so that we look at it? IMO this shouldn't happen?


-abdul



From: erik katerborg [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 14, 2005 3:10 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
beginners question about sending data to custom flex 
componentsImportance: High


hi,

This may be a beginner's question but I just 
can't figure one thing out: how to send dynamic data to a custom flex 
component.
what I want to do is the 
following:

myCustomSWC 
myDataToBeUsed="{myActionscriptClass.getData();}" /

the problem is that the function is not 
executed but simply passed as a string to the component. Another problem is 
that the actionscript class may not have initialised yet so the function 
would not work at all.

does anyone have a suggestion on how to do this 
???

thanks very much !!!

a confused flex coder,

erik.



  
  

  Erik Katerborg 

  Multimedia Designer t: 
  050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED]  w: www.thefactore.com 

  theFactor.eFriesestraatweg 
  215a 
  Postbus 20109704CA 
  GroningenBusiness Partner for MediasurfaceAlliance Partner 
  for Macromedia

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 the Yahoo! Terms of 
  Service. 







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 the Yahoo! Terms of Service.










Re: [flexcoders] beginners question about sending data to custom flex components

2005-04-14 Thread Matthew Shirey



That's actually more difficult than it sounds... Any time it has
happened I have coded around it. If the problem occurs again,
I'll be sure to share. At this point though, I simply avoid using
functions for data binding because of the problems I've had. If
another situation comes up where a function makes more sense, I'll give
it a try again and report any problems.

-- MatthewOn 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:









Hi Matthew,

It would really help, if you can give me a test-case where 
you see mixed result...It would really help us...

Thanks

-abdul


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] Sent: Thursday, April 14, 2005 
8:57 PMTo: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] beginners question about sending data to custom flex 
components
I'm fairly new at this data binding stuff... but I thought you were 
only able to bind properties, or getters/setters. I have had mixed results 
when I try to bind to a function. Is this wrong?-- Matthew
On 4/14/05, Abdul 
Qabiz [EMAIL PROTECTED] wrote:

  Hi,
  Can you post 
  the code so that we look at it? IMO this shouldn't happen?
  
  
  -abdul
  
  
  
  From: erik katerborg [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, April 14, 2005 3:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
  beginners question about sending data to custom flex 
  componentsImportance: High
  
  
  hi,
  
  This may be a beginner's question but I just 
  can't figure one thing out: how to send dynamic data to a custom flex 
  component.
  what I want to do is the following:
  
  myCustomSWC 
  myDataToBeUsed={myActionscriptClass.getData();} /
  
  the problem is that the function is not executed 
  but simply passed as a string to the component. Another problem is that the 
  actionscript class may not have initialised yet so the function would not work 
  at all.
  
  does anyone have a suggestion on how to do this 
  ???
  
  thanks very much !!!
  
  a confused flex coder,
  
  erik.
  
  
  


  
Erik Katerborg 
Multimedia Designer t: 
050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED] 
 w: www.thefactore.com 
  
theFactor.eFriesestraatweg 
215a 
Postbus 20109704CA 
GroningenBusiness Partner for MediasurfaceAlliance Partner 
for Macromedia
  
  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 the Yahoo! Terms of 
Service. 







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










RE: [flexcoders] Hibernate

2005-04-14 Thread Ryan Scott Jones










Hi Steve,



Thanks for the help. I have all of my
collections mapped as lazy=false. Everything Ive tried
ends with:



- could not initialize proxy - the owning
Session was closed

org.hibernate.LazyInitializationException:
could not initialize proxy - the owning Session was closed



Any idea what I might be forgetting?



Ryan











From: Steven Shaw
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 7:22 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Hibernate





You will want to watch your server log closely as you probably are
getting errors in there about lazy instantiation. Putting lazy=true
in your mapping file does not guarantee that the association will be
instantiated. It depends in max-fetch-depth and perhaps other things. You could
try using Hibernate.initialize(collection) to ensure it is initialised
before allowing AMF to get at it.

Steve.












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 the Yahoo! Terms of Service.












RES: [flexcoders] Re: Popup only works once

2005-04-14 Thread Rafael M. Martinelli

Thanks Bem. It helped a lot.

I was thinking about the second option and that's what I'm going to do.

Thanks again. 

-Mensagem original-
De: Ben Elmore [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 14 de abril de 2005 13:24
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Re: Popup only works once


The issue is that each time the Popup opens, the ViewHelper attempts to
register itself to the ViewLocator. The framework has a rule that a
ViewHelper must be unique in its 'handle' (done by the ViewLocator checking
if the View Name is already registered to it) otherwise it raises and Error.
(Code can be seen in the ViewLocator.as file).

Cairngorm .99 should have the ability to unregister view helpers from the
ViewLocator so when this is released you will need to unregister the View in
the destruction sequence of the popup. In the mean time there are these
options (may be more out there):

1. Modify the Cairngorm framework by not throwing an error in the View
Locator if the Name is already registered to it. (Not saying this is the
best option, just saying this is one way to do it)

2. Open up the popup window (child) without a view helper or a view helper
that doesn't have a name on it (if you are looking for code abstraction).
Have the child raise events that the parent can listen to. When the event is
raised have the parent broadcast the event (to the command) and have your
Commands talk to the parent to get the necessary information from the child
window.

I have found there to be value have the child popup simply raise events that
the parent (the mxml file that created the popup) is listening for in
several situations. Esp in any sort of master/detail relationship (address
of a user for example).

Hope this helps.

Ben

-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 12:04 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once



Yes, we're ussing the Cairngorm Framework and we're using a viewHelper in
the TileWindow.

How can I solve this problem? I can't use the viewHelper in this situation?

Thanks.

-Mensagem original-
De: Ben Elmore [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 14 de abril de 2005 12:49
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Re: Popup only works once


Are you guys using the Cairngorm Framework? If so, does your popup window
have a viewHelper assigned to it? 


-Original Message-
From: Rafael M. Martinelli [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 11:37 AM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Re: Popup only works once



I'm facing the same problem.

Did you find what's wrong?

Thanks

-Mensagem original-
De: cazzaran [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 8 de abril de 2005 13:37
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Popup only works once



That didn't seem to change my problem. My popup still refuses to come back
once it's been closed once. this.deletePopUp() (or using the
doLater) is the right place to be doing this, right?

-Josh

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Just for fun, try the magic doLater().
 doLater(this, deletePopUp)
 Tracy
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Popup only works once
 
 
 
 I have an Add Group button in my MXML that calls a method:
 
 public function showAddGroupWindow():Void {
   var popup =
 PopUpManager.createPopUp(MovieClip(mx.core.Application.application),
 addGroupWindow, true);
   popup.centerPopUp();
 } 
 
 In my popup MXML, which is just a simple title window, I have a save 
 and a cancel button. My cancel button calls the method:
 
 function cancelButtonPressed() {
   this.deletePopUp();
 }
 
 The save button is having the same problem...
 
 If I click either button, the popup closes, but the Add Group button 
 wont open another popup. I've verified that it's still calling the
 showAddGroupWindow() method, but for some reason, nothing pops up
 anymore. I have a feeling the deletePopUp() isn't fully getting rid of 
 it... where am I going wrong?
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 7/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005



 
Yahoo! Groups Links



 







 
Yahoo! Groups Links



 






-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release Date: 14/4/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.10 - Release 

[flexcoders] Re: Radio Button Custom Component

2005-04-14 Thread jwaknitz


I went back to the script and changed the if statement to create a 
RadioButton directly to the app and not grab a component.  This 
fixed the group problem but is not the fix that I wanted.  
Components is much nicer for what I want as the other way has 
generated a few problems with my design.  

Does anyone have any input about why the groupName attribute doesn't 
seem to work between components?


--- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] 
wrote:
 I am working with Jack and I am familiar with his problem. There's 
a few 
 reasons why we're using a component with a radio control inside 
it. Our 
 problem is that it seems to be ignoring the groupName property. Do 
radio 
 controls have to all exist inside the same parent container to 
work as a 
 group? I have looked in the documentation and didn't see any such 
 limitation. Maybe I missed it. Shouldn't you be able to put radio 
buttons 
 anywhere in the application and as long as they all have the same 
groupName 
 they all behave as a group?
 
 -- Matthew
 
 On 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
  
  
  Why not just use straight mxml. The following works for me.
  
  mx:VBox id=vboxRG x=3 y=3 
  mx:Repeater id=repeaterRB 
dataProvider={leParameter.valuesarray}
  
  mx:RadioButton id=RBParameter groupName=RGBParameter
  data={repeaterRB.currentItem[0]}
  label={repeaterRB.currentItem[labelColumn]}
  click=setParameterValue(event)
  width={this.width-6}/
  /mx:Repeater
  /mx:VBox
  
  Tracy
  
  -Original Message-
  From: jwaknitz [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 13, 2005 1:16 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Radio Button Custom Component
  
  I'm using a repeater to grab a component that makes a radiobutton
  each time.
  When the app is displayed, there are 7 radiobuttons. The problem
  is, they are not in the same group. They are all individually
  checkable. I went into the component and gave the radiobutton a
  groupName=group1. All of the radiobuttons then had the same
  groupName. The problem was still there.
  
  I also tried putting the component call within a RadioButtonGroup
  component and had no luck.
  
  Anyone have any solutions to this?
  
  ** App:
  
  mx:Script
  ![CDATA[
  
  var compData3:Object;
  var compData4:Object;
  
  function repeaterfunc(){
  if(repradio.currentItem.nodeName == response_lid){
  compData3 = cont.createChild
  (Components.RadioButtons.labelbuttoncomp);
  compData3.compData4 = repradio.currentItem;
  }
  }
  ]]
  /mx:Script
  
  mx:Repeater id=repradio dataProvider={compData2.childNodes
  [1].firstChild.childNodes} repeat=repeaterfunc()/
  
  mx:VBox id=cont/mx:VBox
  
  ** Component:
  
  mx:Script
  ![CDATA[
  
  var compData4;
  
  ]]
  /mx:Script
  
  mx:RadioButton
  
label={compData4.firstChild.firstChild.firstChild.firstChild.firstCh
  ild.firstChild} groupName=group1 labelPlacement=right/
  
  Yahoo! Groups Links
  
  Yahoo! Groups Links
  
  
  
  
 





 
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: Flex Bug or Not?

2005-04-14 Thread dchilcoat


I have a similar problem.  Did you find a solution?

--- In flexcoders@yahoogroups.com, gevgelija50 [EMAIL PROTECTED] 
wrote:
 
 While attempting to run in Debug mode, I received the following 
 message:
 
 2 Errors found. 
  
 Error generated version of _watcherSetup:260 
 Branch between 42711 and 75485 around line 1157 exceeds 32K span. 
If 
 possible, please refactor this component.
 
 
 
 Error 
 Branch between 42711 and 75485 around line 1157 exceeds 32K span.
 
 Any thoughts? 
 
 Thanks, Alex





 
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: Radio Button Custom Component

2005-04-14 Thread Deepa Subramaniam

I don't see a mx:RadioButtonGroup tag in your code anywhere. This tag is
what defines the group which your RadioButtons will work as a single control
under. You can also use this tag to specify the labelPlacement for all the
RB's in the group. 

So I think what you need is outside of your Repeater this:

mx:RadioButtonGroup id=group1 labelPlacement=right /

Check out the ASDocs for more info.

-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Radio Button Custom Component



I went back to the script and changed the if statement to create a 
RadioButton directly to the app and not grab a component.  This 
fixed the group problem but is not the fix that I wanted.  
Components is much nicer for what I want as the other way has 
generated a few problems with my design.  

Does anyone have any input about why the groupName attribute doesn't 
seem to work between components?


--- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] 
wrote:
 I am working with Jack and I am familiar with his problem. There's 
a few 
 reasons why we're using a component with a radio control inside 
it. Our 
 problem is that it seems to be ignoring the groupName property. Do 
radio 
 controls have to all exist inside the same parent container to 
work as a 
 group? I have looked in the documentation and didn't see any such 
 limitation. Maybe I missed it. Shouldn't you be able to put radio 
buttons 
 anywhere in the application and as long as they all have the same 
groupName 
 they all behave as a group?
 
 -- Matthew
 
 On 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
  
  
  Why not just use straight mxml. The following works for me.
  
  mx:VBox id=vboxRG x=3 y=3 
  mx:Repeater id=repeaterRB 
dataProvider={leParameter.valuesarray}
  
  mx:RadioButton id=RBParameter groupName=RGBParameter
  data={repeaterRB.currentItem[0]}
  label={repeaterRB.currentItem[labelColumn]}
  click=setParameterValue(event)
  width={this.width-6}/
  /mx:Repeater
  /mx:VBox
  
  Tracy
  
  -Original Message-
  From: jwaknitz [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 13, 2005 1:16 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Radio Button Custom Component
  
  I'm using a repeater to grab a component that makes a radiobutton
  each time.
  When the app is displayed, there are 7 radiobuttons. The problem
  is, they are not in the same group. They are all individually
  checkable. I went into the component and gave the radiobutton a
  groupName=group1. All of the radiobuttons then had the same
  groupName. The problem was still there.
  
  I also tried putting the component call within a RadioButtonGroup
  component and had no luck.
  
  Anyone have any solutions to this?
  
  ** App:
  
  mx:Script
  ![CDATA[
  
  var compData3:Object;
  var compData4:Object;
  
  function repeaterfunc(){
  if(repradio.currentItem.nodeName == response_lid){
  compData3 = cont.createChild
  (Components.RadioButtons.labelbuttoncomp);
  compData3.compData4 = repradio.currentItem;
  }
  }
  ]]
  /mx:Script
  
  mx:Repeater id=repradio dataProvider={compData2.childNodes
  [1].firstChild.childNodes} repeat=repeaterfunc()/
  
  mx:VBox id=cont/mx:VBox
  
  ** Component:
  
  mx:Script
  ![CDATA[
  
  var compData4;
  
  ]]
  /mx:Script
  
  mx:RadioButton
  
label={compData4.firstChild.firstChild.firstChild.firstChild.firstCh
  ild.firstChild} groupName=group1 labelPlacement=right/
  
  Yahoo! Groups Links
  
  Yahoo! Groups Links
  
  
  
  
 





 
Yahoo! Groups Links



 





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

2005-04-14 Thread Harris Reynolds

Ryan,

I'd suggest that you post some of your hibernate code
here [1] with the same question.  You'll get a lot
better Hibernate support there.

That said, one important thing to keep in mind from
the Flex perspective is your service interface.  You
should design the integration point as a
course-grained service that does as much work on the
server as possible (instead of lots and lots of
service calls, wrap all that logic behind one clean
service point).  This is a fairly well known pattern
for web services.

I have seen services before that exposed lots of
CRUD/database operations that don't provide a clean
layering in the application and caused serious pain
when integrating with Flex (imagine lots of
synchronous calls... possible, but painful).

hope that helps,

~harris


[1] http://forum.hibernate.org/


--- Ryan Scott Jones [EMAIL PROTECTED] wrote:
 Hi Steve,
 
  
 
 Thanks for the help.  I have all of my collections
 mapped as lazy=false.
 Everything I've tried ends with:
 
  
 
 - could not initialize proxy - the owning Session
 was closed
 
 org.hibernate.LazyInitializationException: could not
 initialize proxy - the
 owning Session was closed
 
  
 
 Any idea what I might be forgetting?
 
  
 
 Ryan
 
  
 
   _  
 
 From: Steven Shaw [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 12, 2005 7:22 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Hibernate
 
  
 
 You will want to watch your server log closely as
 you probably are getting
 errors in there about lazy instantiation. Putting
 lazy=true in your
 mapping file does not guarantee that the association
 will be instantiated.
 It depends in max-fetch-depth and perhaps other
 things. You could try using
 Hibernate.initialize(collection) to ensure it is
 initialised before
 allowing AMF to get at it.
 
 Steve.
 
 
 
   _  
 
 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]

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

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

2005-04-14 Thread dchilcoat


Thanks.  I did look at your post.  I will try the solution.  I guess 
I am asking whether you have implemented your solution and you know 
that will fix the problem.

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:
 There is no single simple solution.  See my post in this thread. 
Also
 search the list for 32k
 
 Tracy
 
 -Original Message-
 From: dchilcoat [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, April 14, 2005 1:56 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex Bug or Not?
 
 
 
 I have a similar problem.  Did you find a solution?
 
 --- In flexcoders@yahoogroups.com, gevgelija50 [EMAIL PROTECTED] 
 wrote:
  
  While attempting to run in Debug mode, I received the following 
  message:
  
  2 Errors found. 
   
  Error generated version of _watcherSetup:260 
  Branch between 42711 and 75485 around line 1157 exceeds 32K span. 
 If 
  possible, please refactor this component.
  
  
  
  Error 
  Branch between 42711 and 75485 around line 1157 exceeds 32K span.
  
  Any thoughts? 
  
  Thanks, Alex
 
 
 
 
 
  
 Yahoo! Groups Links





 
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] Cairngorm flex/AS2 framework naming convention

2005-04-14 Thread Alistair McLeod





Hi Valy,

From the 0.99 release, the framework 
willhavenon-iteration::two package structure.

Cheers,

Ali




--
Alistair 
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108

This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately.Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.




From: Valy Sivec [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 15:59To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm flex/AS2 
framework naming convention


Hello,
My undertanding is that this framework is free and was initiated by the guys 
from "iteration::two", and we all are gratefull for their kindness to share with 
us this framework. Although, I have a question about it...
Why should the packages have been named using the company name? Shouldn't be 
nicer to have a neutral naming convention instead?.I know that it isn't a big 
thing and all of them can be easily renamed or maybe this will be part of 
the next release... 
Thanks Valy


Do you Yahoo!?Yahoo! Small Business - Try 
our new resources site! 







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 the Yahoo! Terms of Service.










RE: [flexcoders] Re: Flex Bug or Not?

2005-04-14 Thread Tracy Spratt

Again, there is no single solution to implement, and no general fix. 

Mainly just keep included or in-line script blocks small, put script in
helper classes, use custom components.

Try the bogus code route.

Tracy

-Original Message-
From: dchilcoat [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 2:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex Bug or Not?



Thanks.  I did look at your post.  I will try the solution.  I guess 
I am asking whether you have implemented your solution and you know 
that will fix the problem.

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:
 There is no single simple solution.  See my post in this thread. 
Also
 search the list for 32k
 
 Tracy
 
 -Original Message-
 From: dchilcoat [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, April 14, 2005 1:56 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex Bug or Not?
 
 
 
 I have a similar problem.  Did you find a solution?
 
 --- In flexcoders@yahoogroups.com, gevgelija50 [EMAIL PROTECTED] 
 wrote:
  
  While attempting to run in Debug mode, I received the following 
  message:
  
  2 Errors found. 
   
  Error generated version of _watcherSetup:260 
  Branch between 42711 and 75485 around line 1157 exceeds 32K span. 
 If 
  possible, please refactor this component.
  
  
  
  Error 
  Branch between 42711 and 75485 around line 1157 exceeds 32K span.
  
  Any thoughts? 
  
  Thanks, Alex
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 







 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Robert Stuttaford

Abdul,

I don't suppose you'd be willing to share a c# app that allows local
connection access ? :)

Thanks
Robert

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 09:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

Hi,

You can save XML as string or object in SharedObject from main Flex
application. Then your SWF(in C++ app) reads XML string or object from
SharedObject, and sends XML as string to C++ application via fscommand...

I don't have Borland C++ IDE, so I couldn't compile your codeBut I have
written a program using C#, which should work with  .Net v2.0.40607, which
comes with Visual C# 2005 Express Edition Beta.

I am sorry, if you can't run the C# program, but that's the only IDE I have.
But if you want to learn how I have done, you might want to install Visual
C# 2005 Express Edition Beta and check out the code or run the application.
It is pretty straight forward.
http://lab.msdn.microsoft.com/express/vcsharp/default.aspx


There are two mxml files, one writes the data(as string) to SharedObject.
Other mxml files reads the data from it and passes to C# program


Well, there is another way, you can transfer data via LocalConnection
also...


-abdul 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

I have post this simple project, for me it's very important because i 
must develop a program that use the com port of client  for external device.

This example it's very poor but work!   
Sorry if it's not documentate the source, but if have any problem post me. 
Bye Bye
Devis



ps.
Please about you it's possiile a flex LocalObjectShare convert it into 
xml file.


ps.
Thanks again to Abdul for suggestion


 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 



 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Abdul Qabiz

Hi,

 I don't suppose you'd be willing to share a c# app that allows local
 connection access ? :)

Why not? :)

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...

I can guess, why you asked this :)

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm

-abdul

-Original Message-
From: Robert Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Abdul,

I don't suppose you'd be willing to share a c# app that allows local
connection access ? :)

Thanks
Robert

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 09:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

Hi,

You can save XML as string or object in SharedObject from main Flex
application. Then your SWF(in C++ app) reads XML string or object from
SharedObject, and sends XML as string to C++ application via fscommand...

I don't have Borland C++ IDE, so I couldn't compile your codeBut I have
written a program using C#, which should work with  .Net v2.0.40607, which
comes with Visual C# 2005 Express Edition Beta.

I am sorry, if you can't run the C# program, but that's the only IDE I have.
But if you want to learn how I have done, you might want to install Visual
C# 2005 Express Edition Beta and check out the code or run the application.
It is pretty straight forward.
http://lab.msdn.microsoft.com/express/vcsharp/default.aspx


There are two mxml files, one writes the data(as string) to SharedObject.
Other mxml files reads the data from it and passes to C# program


Well, there is another way, you can transfer data via LocalConnection
also...


-abdul 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

I have post this simple project, for me it's very important because i 
must develop a program that use the com port of client  for external device.

This example it's very poor but work!   
Sorry if it's not documentate the source, but if have any problem post me. 
Bye Bye
Devis



ps.
Please about you it's possiile a flex LocalObjectShare convert it into 
xml file.


ps.
Thanks again to Abdul for suggestion


 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 





 
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: Rendering in background

2005-04-14 Thread Jason Szeto

This should help:

http://www.macromedia.com/devnet/flex/articles/prog_layout.html

-Original Message-
From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 9:10 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Rendering in background


I have not done any of this but you might look into progressive
instantiation.  You set the creationPolicy=none on your containers,
then use methods that explicitly cause the children to be instantiated.

There is a white paper or technote about this somewhere.

Tracy

-Original Message-
From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Rendering in background



Sorry - but I do not understand your response.

My Splash page is part of a viewStack as is the application page.  
The data is loaded with the splash page being displayed.  The 
performance problem is with the rendering of the application page.  
This page is initialized when I select it in the viewstack.  

So the question is how do I get the page to construct while it is 
not displayed, and then switch to it when it has rendered.


Thanks.



--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 Throw your splash page in a modal popup?
 
 import mx.managers.PopUpManager;
 
 splash = PopUpManager.createPopUp(mx.core.Application.application,
 YourSplashComponent,
 true);
 
 
 // later
 
 splash.deletePopUp();
 
 - Original Message - 
 From: viraf_bankwalla [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, April 14, 2005 10:07 AM
 Subject: [flexcoders] Rendering in background
 
 
 
 
 Hi,
 
 I have an application that displays a splash page on startup.  It 
then 
 proceeds to load data for some grids.  Once the data has been 
 received, it selects the view to be displayed.  
 
 The problem is that this view takes a considerable amount of time 
to 
 load (it has two grids).  I would like for this view to be 
constructed 
 in thee background if possible.  When the data is received, and 
the 
 view has been constructed, I would like to switch from the splash 
view 
 to the application view.
 
 My question being how do I get the view to render its content in 
the 
 background while the splash page is being displayed.
 
 Thanks.
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 







 
Yahoo! Groups Links



 





 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Robert Stuttaford

You're exactly right! Since you seem to be a little closer to macromedia,
would you be in a position to find out if you can share this with us?

If you can ... PLEASE DO!! :) :)

I'd LOVE to play with this!

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 09:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Hi,

 I don't suppose you'd be willing to share a c# app that allows local
 connection access ? :)

Why not? :)

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...

I can guess, why you asked this :)

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm

-abdul

-Original Message-
From: Robert Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Abdul,

I don't suppose you'd be willing to share a c# app that allows local
connection access ? :)

Thanks
Robert

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 09:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

Hi,

You can save XML as string or object in SharedObject from main Flex
application. Then your SWF(in C++ app) reads XML string or object from
SharedObject, and sends XML as string to C++ application via fscommand...

I don't have Borland C++ IDE, so I couldn't compile your codeBut I have
written a program using C#, which should work with  .Net v2.0.40607, which
comes with Visual C# 2005 Express Edition Beta.

I am sorry, if you can't run the C# program, but that's the only IDE I have.
But if you want to learn how I have done, you might want to install Visual
C# 2005 Express Edition Beta and check out the code or run the application.
It is pretty straight forward.
http://lab.msdn.microsoft.com/express/vcsharp/default.aspx


There are two mxml files, one writes the data(as string) to SharedObject.
Other mxml files reads the data from it and passes to C# program


Well, there is another way, you can transfer data via LocalConnection
also...


-abdul 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

I have post this simple project, for me it's very important because i 
must develop a program that use the com port of client  for external device.

This example it's very poor but work!   
Sorry if it's not documentate the source, but if have any problem post me. 
Bye Bye
Devis



ps.
Please about you it's possiile a flex LocalObjectShare convert it into 
xml file.


ps.
Thanks again to Abdul for suggestion


 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Abdul Qabiz

I am sorry, I am *not supposed to talk about anything which is not public. I
can surely help you build things with public API or public information

IMO, Darron is also holding things with him because he knows that reverse
engineering of softwares is not legal...

-abdul



-Original Message-
From: Robert Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


You're exactly right! Since you seem to be a little closer to macromedia,
would you be in a position to find out if you can share this with us?

If you can ... PLEASE DO!! :) :)

I'd LOVE to play with this!

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 09:46 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Hi,

 I don't suppose you'd be willing to share a c# app that allows local
 connection access ? :)

Why not? :)

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...

I can guess, why you asked this :)

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm

-abdul

-Original Message-
From: Robert Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:06 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Abdul,

I don't suppose you'd be willing to share a c# app that allows local
connection access ? :)

Thanks
Robert

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 09:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

Hi,

You can save XML as string or object in SharedObject from main Flex
application. Then your SWF(in C++ app) reads XML string or object from
SharedObject, and sends XML as string to C++ application via fscommand...

I don't have Borland C++ IDE, so I couldn't compile your codeBut I have
written a program using C#, which should work with  .Net v2.0.40607, which
comes with Visual C# 2005 Express Edition Beta.

I am sorry, if you can't run the C# program, but that's the only IDE I have.
But if you want to learn how I have done, you might want to install Visual
C# 2005 Express Edition Beta and check out the code or run the application.
It is pretty straight forward.
http://lab.msdn.microsoft.com/express/vcsharp/default.aspx


There are two mxml files, one writes the data(as string) to SharedObject.
Other mxml files reads the data from it and passes to C# program


Well, there is another way, you can transfer data via LocalConnection
also...


-abdul 




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Great Abdul (c++/flex) source c++ -- flex

I have post this simple project, for me it's very important because i 
must develop a program that use the com port of client  for external device.

This example it's very poor but work!   
Sorry if it's not documentate the source, but if have any problem post me. 
Bye Bye
Devis



ps.
Please about you it's possiile a flex LocalObjectShare convert it into 
xml file.


ps.
Thanks again to Abdul for suggestion


 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Darron J. Schall

Abdul Qabiz wrote:

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...
  

Yeah, you can embed Flash in C# and then have the Flash movies talk to 
each other via LC, however in the example I posted on my weblog.. I 
eliminated the middleman and made C# talk to Flash over local connection 
directly.

Also, I noticed that for the Shared Object approach you've embedded 
Flash in C# to read/write data to a shared object.. but you can also 
parse those files directly.  Again, you can just write a program that 
doesn't embed Flash but still does what you need it to do (which may be 
more work, but can end up being cross platform).  I wrote (started 
writing, never fully finished) a cross-platform Java app to take care of 
this for you:  http://solve.sf.net.  There's others out there...

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm
  

Man that link gets around.. ;-)  So many people have asked me for the 
code for that, but I'm hesitant to share it because it exposes some of 
the internals of how LC actually works, which I don't MM wants as public 
information.

-d




 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Robert Stuttaford

Fair enough :)

Damn, it just seems like such a benefit - C#/Flash integration would truly
be seamless, and all sorts of new wonderful real-time things could be done.

XML Socket it is, I guess...

Robert
Totally not a C++ programmer

-Original Message-
From: Darron J. Schall [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 10:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Abdul Qabiz wrote:

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...
  

Yeah, you can embed Flash in C# and then have the Flash movies talk to 
each other via LC, however in the example I posted on my weblog.. I 
eliminated the middleman and made C# talk to Flash over local connection 
directly.

Also, I noticed that for the Shared Object approach you've embedded 
Flash in C# to read/write data to a shared object.. but you can also 
parse those files directly.  Again, you can just write a program that 
doesn't embed Flash but still does what you need it to do (which may be 
more work, but can end up being cross platform).  I wrote (started 
writing, never fully finished) a cross-platform Java app to take care of 
this for you:  http://solve.sf.net.  There's others out there...

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm
  

Man that link gets around.. ;-)  So many people have asked me for the 
code for that, but I'm hesitant to share it because it exposes some of 
the internals of how LC actually works, which I don't MM wants as public 
information.

-d




 
Yahoo! Groups Links



 





 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Abdul Qabiz

Nope, Darron is doing very low-level stuff, reading/manipulating a part of
memory that's shared between instances...

Hope in future someone doesn't have to do such hacks for such things...

-abdul

-Original Message-
From: Robert Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Fair enough :)

Damn, it just seems like such a benefit - C#/Flash integration would truly
be seamless, and all sorts of new wonderful real-time things could be done.

XML Socket it is, I guess...

Robert
Totally not a C++ programmer

-Original Message-
From: Darron J. Schall [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 10:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Abdul Qabiz wrote:

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...
  

Yeah, you can embed Flash in C# and then have the Flash movies talk to 
each other via LC, however in the example I posted on my weblog.. I 
eliminated the middleman and made C# talk to Flash over local connection 
directly.

Also, I noticed that for the Shared Object approach you've embedded 
Flash in C# to read/write data to a shared object.. but you can also 
parse those files directly.  Again, you can just write a program that 
doesn't embed Flash but still does what you need it to do (which may be 
more work, but can end up being cross platform).  I wrote (started 
writing, never fully finished) a cross-platform Java app to take care of 
this for you:  http://solve.sf.net.  There's others out there...

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm
  

Man that link gets around.. ;-)  So many people have asked me for the 
code for that, but I'm hesitant to share it because it exposes some of 
the internals of how LC actually works, which I don't MM wants as public 
information.

-d




 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
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] Great Abdul (c++/flex) source c++ -- flex

2005-04-14 Thread Robert Stuttaford

Perhaps there is room for a .NET and/or Java components package here, for
use with those respective platforms? Kinda like Remoting for FMX2K4 was
done.

Who knows...

-grin-

-Original Message-
From: Abdul Qabiz [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 10:16 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Nope, Darron is doing very low-level stuff, reading/manipulating a part of
memory that's shared between instances...

Hope in future someone doesn't have to do such hacks for such things...

-abdul

-Original Message-
From: Robert Stuttaford [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 1:43 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Fair enough :)

Damn, it just seems like such a benefit - C#/Flash integration would truly
be seamless, and all sorts of new wonderful real-time things could be done.

XML Socket it is, I guess...

Robert
Totally not a C++ programmer

-Original Message-
From: Darron J. Schall [mailto:[EMAIL PROTECTED] 
Sent: 14 April 2005 10:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Great Abdul (c++/flex) source c++ -- flex


Abdul Qabiz wrote:

I have not yet made it, in my case it's going to be straight forward. A
flash movie embedded in C# app would communicate with Flex app via
LocalConnection...
  

Yeah, you can embed Flash in C# and then have the Flash movies talk to 
each other via LC, however in the example I posted on my weblog.. I 
eliminated the middleman and made C# talk to Flash over local connection 
directly.

Also, I noticed that for the Shared Object approach you've embedded 
Flash in C# to read/write data to a shared object.. but you can also 
parse those files directly.  Again, you can just write a program that 
doesn't embed Flash but still does what you need it to do (which may be 
more work, but can end up being cross platform).  I wrote (started 
writing, never fully finished) a cross-platform Java app to take care of 
this for you:  http://solve.sf.net.  There's others out there...

Because of this : http://www.darronschall.com/weblog/archives/000151.cfm
  

Man that link gets around.. ;-)  So many people have asked me for the 
code for that, but I'm hesitant to share it because it exposes some of 
the internals of how LC actually works, which I don't MM wants as public 
information.

-d




 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
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: Flex Cairngorm question

2005-04-14 Thread flexcoding


Hi Agha,

Thanks for your response... With your help I found 
that event.call.methodName gives the method name that was invoked 
in the execute method of command.

I see the command to be closer to the UI. So I am thinking of doing 
everything in response to a user action from within a single 
command, otherwise I will have to invoke these different commands 
from the UI.

I have designed my delgate methods at a more granular level for the 
sake of modularity and reuse from different commands. What do you 
think?

Regards,

Rohit Chhabra.


--- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote:
 Rohit,
 
 Q1: I haven't tried it because I never had to but I think that 
when the
 results come back from delegate in the event object, the object 
also has a
 property called method or operation. You can loop over the event 
object to
 see what properties it has. If there's a property holding the 
method name,
 you're good to go. If not then you'd need to execute the methods
 synchronously and have a flag inside the command that is set to 
whatever
 method you're going to call. In your onResult, you can than check 
for that
 flag and execute the next method.
 
 I'd rather create separate commands to execute each delegate's 
method as
 opposed to using one command do all. That will help with chaining 
commands
 easily until we have Cairngorm 0.99.
 
 Please let me know if you have any questions.
 
 Thanks
 
 Agha
 
 -Original Message-
 From: flexcoding [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 13, 2005 8:41 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex Cairngorm question
 
 
 
 Hi Gurus,
 
 Any response to the following questions about Cairngorm? Posting 
it again in
 the forum because the original is burried deep inside. 
 Thanks for the help in advance...
 
 Hello Guys, 
 
 I just started Flex development two months back and we are trying 
to develop
 an enterprise level application. So we decided to use open source 
Cairngorm
 Framework v 0.9 by Iteration Two. Though it lacks ample 
documentation, we
 straightway found its benefits as it neatly separates and 
organizes the
 mxml/action script code. Kudos to the developers of this great 
framework. We
 found this to be very benefitial for a big size application. 
 
 I have two questions releted to the Cairngorm framework for rich 
internet
 apps: 
 
 Question 1. If we need to execute multiple delegate methods in 
response to
 one user action, should we write a command action script for each 
of the
 methods? Or can we just have one command corresponding to each 
user action
 and invoke more than one delegate method in the execute method of 
this
 single command? If we can do the latter, is there a way to know in 
the
 onResult method that the respons is coming from which delegate 
method's
 execution and take appropriate action? 
 
 Question 2. In the Java business classes, we return POJOs. Do they 
need to
 be converted to MXML Value Objects? We tried to directly pass 
these pojos to
 the view helpers do display them in the application and it seems 
to work
 perfectly. Are we doing something wrong or can there be any design 
problems
 in doing that which I am not realizing at the moment? 
 
 Thanks  Regards, 
 
 Rohit Chhabra.
 
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 
 This email may contain confidential and privileged material for 
the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited. If you 
are not the intended recipient (or authorized to receive for the 
recipient), please contact the sender by reply email and delete all 
copies of this message.
 
 To reply to our email administrator directly, send an email to
 [EMAIL PROTECTED]
 
 Littler Mendelson, P.C.
 http://www.littler.com





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

2005-04-14 Thread Mohanraj Jayaraman

Hi All,

I have a repeater with checkboxes.

I want the checkboxes to be checked/unchecked based on
the data I receive from a RemoteObject. What I receive
from the remote object is a string with list of State
ID's like '100,400'. Now based on this list I want
check/uncheck the corresponding check boxes
programmatically.

Here's a sample code/model. Can someone explain me how
this could be done?

mx:Model id=mdl_state
  node
node ID=100 LABEL=CA
node ID=200 LABEL=NY
node ID=300 LABEL=NJ
node ID=400 LABEL=KY
.
.
.
  /node
/mx:Model
mx:Repeater  id=rep_state
dataProvider={mdl_state}
mx:CheckBox
label={rep_state.currentItem.LABEL} 
click=fnSiteSelected(event.target); /
/mx:Repeater

Thanks,
Mohanraj





__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


 
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: Radio Button Custom Component

2005-04-14 Thread Jason Szeto

Let me explain what is going on here and why it has been done this way. 

Let's say you've got a MXML Component called myChoice. It contains three
RadioButtons, called rA, rB,  rC. You assign each of these a groupName
called myGroup. It also has a member variable called dataProvider. The way
that you use this component is that you set the dataProvider property, which
then sets the label and data properties of each of your three RadioButtons. 

Now in your main application, you instantiate three of these myChoice
components, called cA, cB,  cC. 

In this application, would you expect all nine RadioButton be part of a
single group called myGroup? No, you'd expect that there would be three
groups and that the RadioButtons within each component are only a part of
the internal group of the component. The same thing with the dataProvider
property. You wouldn't expect that this property would be shared among all
three components. 

What is happening under the covers is that a RadioButtonGroup with the id
myGroup is created as a member variable of the myChoice component. 

So in short, radio buttons can only share a RadioButtonGroup if they are
within the same class. (Remember that each MXML file is its own class.)

Jason

-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 10:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Radio Button Custom Component



I tried that, to no avail.  :(




--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED] 
wrote:
 I don't see a mx:RadioButtonGroup tag in your code anywhere. 
This tag is
 what defines the group which your RadioButtons will work as a 
single control
 under. You can also use this tag to specify the labelPlacement for 
all the
 RB's in the group. 
 
 So I think what you need is outside of your Repeater this:
 
 mx:RadioButtonGroup id=group1 labelPlacement=right /
 
 Check out the ASDocs for more info.
 
 -Original Message-
 From: jwaknitz [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, April 14, 2005 10:47 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Radio Button Custom Component
 
 
 
 I went back to the script and changed the if statement to create a 
 RadioButton directly to the app and not grab a component.  This 
 fixed the group problem but is not the fix that I wanted.  
 Components is much nicer for what I want as the other way has 
 generated a few problems with my design.  
 
 Does anyone have any input about why the groupName attribute 
doesn't 
 seem to work between components?
 
 
 --- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] 
 wrote:
  I am working with Jack and I am familiar with his problem. 
There's 
 a few 
  reasons why we're using a component with a radio control inside 
 it. Our 
  problem is that it seems to be ignoring the groupName property. 
Do 
 radio 
  controls have to all exist inside the same parent container to 
 work as a 
  group? I have looked in the documentation and didn't see any 
such 
  limitation. Maybe I missed it. Shouldn't you be able to put 
radio 
 buttons 
  anywhere in the application and as long as they all have the 
same 
 groupName 
  they all behave as a group?
  
  -- Matthew
  
  On 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
   
   
   Why not just use straight mxml. The following works for me.
   
   mx:VBox id=vboxRG x=3 y=3 
   mx:Repeater id=repeaterRB 
 dataProvider={leParameter.valuesarray}
   
   mx:RadioButton id=RBParameter groupName=RGBParameter
   data={repeaterRB.currentItem[0]}
   label={repeaterRB.currentItem[labelColumn]}
   click=setParameterValue(event)
   width={this.width-6}/
   /mx:Repeater
   /mx:VBox
   
   Tracy
   
   -Original Message-
   From: jwaknitz [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, April 13, 2005 1:16 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Radio Button Custom Component
   
   I'm using a repeater to grab a component that makes a 
radiobutton
   each time.
   When the app is displayed, there are 7 radiobuttons. The 
problem
   is, they are not in the same group. They are all individually
   checkable. I went into the component and gave the radiobutton a
   groupName=group1. All of the radiobuttons then had the same
   groupName. The problem was still there.
   
   I also tried putting the component call within a 
RadioButtonGroup
   component and had no luck.
   
   Anyone have any solutions to this?
   
   ** App:
   
   mx:Script
   ![CDATA[
   
   var compData3:Object;
   var compData4:Object;
   
   function repeaterfunc(){
   if(repradio.currentItem.nodeName == response_lid){
   compData3 = cont.createChild
   (Components.RadioButtons.labelbuttoncomp);
   compData3.compData4 = repradio.currentItem;
   }
   }
   ]]
   /mx:Script
   
   mx:Repeater id=repradio dataProvider={compData2.childNodes
   [1].firstChild.childNodes} repeat=repeaterfunc()/
   
   mx:VBox 

Re: [flexcoders] Re: Radio Button Custom Component

2005-04-14 Thread Matthew Shirey

That does make sense.  It's a bit of pain for what we're trying to do.
 But we'll find a workaround.  We're dealing with a ton of dynamic
data that is being used to generate in turn a dynamic interface. 
We'll just have to figure out a way to get the RadioButtons grouped in
the same container.  Thanks for the detailed explanation,

-- Matthew

On 4/14/05, Jason Szeto [EMAIL PROTECTED] wrote:
 
 Let me explain what is going on here and why it has been done this way.
 
 Let's say you've got a MXML Component called myChoice. It contains three
 RadioButtons, called rA, rB,  rC. You assign each of these a groupName
 called myGroup. It also has a member variable called dataProvider. The way
 that you use this component is that you set the dataProvider property, which
 then sets the label and data properties of each of your three RadioButtons.
 
 Now in your main application, you instantiate three of these myChoice
 components, called cA, cB,  cC.
 
 In this application, would you expect all nine RadioButton be part of a
 single group called myGroup? No, you'd expect that there would be three
 groups and that the RadioButtons within each component are only a part of
 the internal group of the component. The same thing with the dataProvider
 property. You wouldn't expect that this property would be shared among all
 three components.
 
 What is happening under the covers is that a RadioButtonGroup with the id
 myGroup is created as a member variable of the myChoice component.
 
 So in short, radio buttons can only share a RadioButtonGroup if they are
 within the same class. (Remember that each MXML file is its own class.)
 
 Jason
 
 -Original Message-
 From: jwaknitz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 10:59 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Radio Button Custom Component
 
 I tried that, to no avail.  :(
 
 --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
 wrote:
  I don't see a mx:RadioButtonGroup tag in your code anywhere.
 This tag is
  what defines the group which your RadioButtons will work as a
 single control
  under. You can also use this tag to specify the labelPlacement for
 all the
  RB's in the group.
 
  So I think what you need is outside of your Repeater this:
 
  mx:RadioButtonGroup id=group1 labelPlacement=right /
 
  Check out the ASDocs for more info.
 
  -Original Message-
  From: jwaknitz [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 14, 2005 10:47 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Radio Button Custom Component
 
 
 
  I went back to the script and changed the if statement to create a
  RadioButton directly to the app and not grab a component.  This
  fixed the group problem but is not the fix that I wanted.
  Components is much nicer for what I want as the other way has
  generated a few problems with my design.
 
  Does anyone have any input about why the groupName attribute
 doesn't
  seem to work between components?
 
 
  --- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED]
  wrote:
   I am working with Jack and I am familiar with his problem.
 There's
  a few
   reasons why we're using a component with a radio control inside
  it. Our
   problem is that it seems to be ignoring the groupName property.
 Do
  radio
   controls have to all exist inside the same parent container to
  work as a
   group? I have looked in the documentation and didn't see any
 such
   limitation. Maybe I missed it. Shouldn't you be able to put
 radio
  buttons
   anywhere in the application and as long as they all have the
 same
  groupName
   they all behave as a group?
  
   -- Matthew
  
   On 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
   
   
Why not just use straight mxml. The following works for me.
   
mx:VBox id=vboxRG x=3 y=3 
mx:Repeater id=repeaterRB
  dataProvider={leParameter.valuesarray}

mx:RadioButton id=RBParameter groupName=RGBParameter
data={repeaterRB.currentItem[0]}
label={repeaterRB.currentItem[labelColumn]}
click=setParameterValue(event)
width={this.width-6}/
/mx:Repeater
/mx:VBox
   
Tracy
   
-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Radio Button Custom Component
   
I'm using a repeater to grab a component that makes a
 radiobutton
each time.
When the app is displayed, there are 7 radiobuttons. The
 problem
is, they are not in the same group. They are all individually
checkable. I went into the component and gave the radiobutton a
groupName=group1. All of the radiobuttons then had the same
groupName. The problem was still there.
   
I also tried putting the component call within a
 RadioButtonGroup
component and had no luck.
   
Anyone have any solutions to this?
   
** App:
   
  

RE: [flexcoders] Parsing date time returned from a webservice cal l

2005-04-14 Thread Matt Chotin










You may have already solved this but Im
finally catching up on flexcoders



I believe the DateFormatter will be able
to parse the Date string and therefore allow you to place it in your DataGrid.
The formatString would probably be something like: -MM-DD HH:NN:SS



Then you give your DataGridColumn a
labelFunction, and the labelFunction would clal the formatter.



mx:DateFormatter id=df
formatString= -MM-DD HH:NN:SS /



mx:Script

 function labelFunc(item) : String

 {

 Return df.format(item);

 }

/mx:Script



mx:DataGrid  

 mx:columns

 mx:Array

 mx:DataGridColumn 
lableFunction=labelFunc /

 





Adjust as appropriate J



Matt













From: teddybearneo
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 3:58
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Parsing date
time returned from a webservice call






Hello,

I have a remote Coldfusion CFC returning a query
of sales orders.

In this query there is a field containing the
date/time of the order (encoded in a DATETIME 
field in a mySQL table).

When called, this CFC returns a wddx (xml) packet
with the data (query).
In this packet the date/time is encoded in the
following format :
2005-4-11T16:55:42+1:0
When I bind this query to a datagrid in a Flex
application, the date/time is shown as :
Monday Apr 11 16:55:42 GMT+0200 2005

When I trace in the Network monitor, I see that
the returned xml packet contains :
xsd:dateTime 2005-04-11T14:55:42.000z
The SOAP response is the same
and the WebService onResult is :
Mon Apr 11 16:55:42 2005 (+-2:00)
wich is what is (nearly) shown in the datagrid.

What must I do to have the date/time format in the
datagrid shown as, for example,
2005-04-11 16:55:42

so i can correctly sort the grid. For the moment,
as the day of the week begin the format, 
this column sorts by day of week first.

Do I have to use DateFormatter, and if yes, with
wich exact syntax ?

Many thanks.
















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 the Yahoo! Terms of Service.












RE: [flexcoders] question about the import statement and action s cript files

2005-04-14 Thread Matt Chotin










Something like this?



Component1.mxml

mx:VBox 

 mx:Number id=numberone /

/mx:VBox



Class Component2

{

 Public var comp1 : Component1;

 

}



App.mxml

mx:Application 

 Component1 id=comp1 /

 Component2 id=comp2 comp1={comp1}
/

/mx:Application











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 6:59
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] question
about the import statement and action s cript files









In a message dated 4/12/2005 12:53:39 AM Eastern Standard
Time, [EMAIL PROTECTED] writes:





Looks about like it would help but one
question is component one meant to be the mxml file







Sure, itd be something like this:



class component1

{

 public var numberone : Number;

}



class component2

{

 public var comp1 : component1;



 function readNumberOne() : Void

 {

 Var num : Number = comp1.numberone;

 //do what you want

 }

}



class parent

{

 var comp1: component1;

 var comp1 : component2;



 function parent()

 {

 Comp1 = new component1();

 Comp2 = new component2();

 Comp2.comp1 = comp1;

 }

}



That help?



Matt














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 the Yahoo! Terms of Service.












RE: [flexcoders] Re: Radio Button Custom Component

2005-04-14 Thread Jason Szeto
You can try using the group property of RadioButton. I've coded up a simple
example. The only issue with my sample is that the RadioButtons get added in
the wrong order. You'll need to add some logic to get them attached in the
correct order. 

Jason

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 4:40 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Radio Button Custom Component


That does make sense.  It's a bit of pain for what we're trying to do.
 But we'll find a workaround.  We're dealing with a ton of dynamic
data that is being used to generate in turn a dynamic interface. 
We'll just have to figure out a way to get the RadioButtons grouped in
the same container.  Thanks for the detailed explanation,

-- Matthew

On 4/14/05, Jason Szeto [EMAIL PROTECTED] wrote:
 
 Let me explain what is going on here and why it has been done this way.
 
 Let's say you've got a MXML Component called myChoice. It contains three
 RadioButtons, called rA, rB,  rC. You assign each of these a groupName
 called myGroup. It also has a member variable called dataProvider. The way
 that you use this component is that you set the dataProvider property,
which
 then sets the label and data properties of each of your three
RadioButtons.
 
 Now in your main application, you instantiate three of these myChoice
 components, called cA, cB,  cC.
 
 In this application, would you expect all nine RadioButton be part of a
 single group called myGroup? No, you'd expect that there would be three
 groups and that the RadioButtons within each component are only a part of
 the internal group of the component. The same thing with the dataProvider
 property. You wouldn't expect that this property would be shared among all
 three components.
 
 What is happening under the covers is that a RadioButtonGroup with the id
 myGroup is created as a member variable of the myChoice component.
 
 So in short, radio buttons can only share a RadioButtonGroup if they are
 within the same class. (Remember that each MXML file is its own class.)
 
 Jason
 
 -Original Message-
 From: jwaknitz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 10:59 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Radio Button Custom Component
 
 I tried that, to no avail.  :(
 
 --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
 wrote:
  I don't see a mx:RadioButtonGroup tag in your code anywhere.
 This tag is
  what defines the group which your RadioButtons will work as a
 single control
  under. You can also use this tag to specify the labelPlacement for
 all the
  RB's in the group.
 
  So I think what you need is outside of your Repeater this:
 
  mx:RadioButtonGroup id=group1 labelPlacement=right /
 
  Check out the ASDocs for more info.
 
  -Original Message-
  From: jwaknitz [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 14, 2005 10:47 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Radio Button Custom Component
 
 
 
  I went back to the script and changed the if statement to create a
  RadioButton directly to the app and not grab a component.  This
  fixed the group problem but is not the fix that I wanted.
  Components is much nicer for what I want as the other way has
  generated a few problems with my design.
 
  Does anyone have any input about why the groupName attribute
 doesn't
  seem to work between components?
 
 
  --- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED]
  wrote:
   I am working with Jack and I am familiar with his problem.
 There's
  a few
   reasons why we're using a component with a radio control inside
  it. Our
   problem is that it seems to be ignoring the groupName property.
 Do
  radio
   controls have to all exist inside the same parent container to
  work as a
   group? I have looked in the documentation and didn't see any
 such
   limitation. Maybe I missed it. Shouldn't you be able to put
 radio
  buttons
   anywhere in the application and as long as they all have the
 same
  groupName
   they all behave as a group?
  
   -- Matthew
  
   On 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
   
   
Why not just use straight mxml. The following works for me.
   
mx:VBox id=vboxRG x=3 y=3 
mx:Repeater id=repeaterRB
  dataProvider={leParameter.valuesarray}

mx:RadioButton id=RBParameter groupName=RGBParameter
data={repeaterRB.currentItem[0]}
label={repeaterRB.currentItem[labelColumn]}
click=setParameterValue(event)
width={this.width-6}/
/mx:Repeater
/mx:VBox
   
Tracy
   
-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Radio Button Custom Component
   
I'm using a repeater to grab a component that makes a
 radiobutton
each time.
When the app is displayed, there are 7 

RE: [flexcoders] Re: nodeName

2005-04-14 Thread Matt Chotin










You can iterate through an object and get
its properties (and therefore the names) using a for..in loop.



for (var p : String in myObj)

{

 trace(myObj[ + p + ]
=  + myObj[p]);

} 



Its harder to take a given property
and find out its own name, but you could try by taking the object of which its
a prop and executing the for..in like above and just search for it. Not
efficient by any stretch.



Matt









From: speedmetalrulez
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 1:59
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: nodeName






You're trying to reference a node name? I am
not sure how to print 
out node names without loading the data into an
xml object. I'm sure 
it's possible. It's very easy to access node
values/attributes 
declaritivelly without an XML object. Not
sure about the name though.


--- In flexcoders@yahoogroups.com,
jwaknitz [EMAIL PROTECTED] wrote:
 
 Hello,
 I was wondering if there is anyway to grab
the name of a node to 
test 
 against it not using an XML object. I'm
using data right from an 
HTTP 
 service and don't want it to be in XML format
either. Any ideas? I 
 know it can be done quickly with XML but that
would mean remaking my 
 entire app, not an option. 
 
 Could I create an XML object that grabs a
variable from the HTTP 
 Service? If so, how?
 
 I'm really stuck.















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 the Yahoo! Terms of Service.












RE: [flexcoders] Menubar control Anybody?

2005-04-14 Thread Matt Chotin










Can you try setting the labelField to name?
Your XML is not formatted in the way the Menu expects so you may need to use a
labelField or a labelFunction to get it formatted correctly.



Matt











From: nithya karthik
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005
11:14 PM
To: flexcoders@yahoogroups.com;
[EMAIL PROTECTED]
Subject: [flexcoders] Menubar
control Anybody?







I use tab
navigator container to display the category names and the menubar to display
the subcategories under each tab.. the menu bar should appear if and only if
there is any subcategory under the selected tab.. but the problm with my coe is
that it displays a menubar with label- 'undefined' when there is no
subcategory... when there is a subcategory it displays
[object object], 1,, [object object], null when it is clicked.. i
want to avoid this.. Please give me the code for this.. herewith i am giving
the XML file code and the coresponding MXML code..

?xml
version=1.0 encoding=utf-8?
mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml
width=100% height=500
mx:TabNavigator id=tab tabWidth=100
width=100% height=400 verticalGap=0
marginTop=0 fillColors=[#FF,#D8DAFA]
selectedFillColors=[#9966FF,#DFBFFF]

mx:Script
![CDATA[
var dataObject : Object;
]]
/mx:Script


mx:Repeater id=subcaty
dataProvider={dataObject}
 mx:VBox id=vb
label={subcaty.currentItem.name} width=100%
height=325

mx:MenuBar id=menu1 width=100%
dataProvider={subcaty.currentItem}
labelField=name /
 /mx:VBox
/mx:Repeater

/mx:TabNavigator
/mx:Panel

the XML:

Category
Id1/Id
NameArtistry Skin Care and Cosmetics/Name
Description A full range of basic to speciality skin care
treatments made with the highest quality formulations to meet the needs of
women today as well as a spectrum of colour for both background and feature
cosmetics to match any mood or occasion.TRY is among the world's top
five, largest selling, prestige brands of facial skincare and cosmetics. Based on
a 2000 Euromonitor International study of estimated global retail sales.
/Description
Imagehomephoto.jpg/Image

Subcategory
Id1/Id
NameDry-Skin/Name
DescriptionTesting jaxb/Description
item123.xml/item
/Subcategory

Subcategory
Id 2 /Id
NameNormal
Skin/Name
Description Testing jaxb/Description
Subcategory
Id 121 /Id
NameAqua/Name
Description Testing jaxb2/Description
item 124.xml /item
/Subcategory
Subcategory
Id 13 /Id
NameNon-Aqua/Name
Description Testing jaxb3/Description
item 124.xml /item
/Subcategory
/Subcategory

 Subcategory
Id3/Id
NameOily-Skin/Name
DescriptionTesting jaxb/Description
item125.xml/item
 /Subcategory

 Subcategory
Id4/Id
NameSensitive-Skin/Name
DescriptionTesting jaxb/Description
item126.xml/item
 /Subcategory

/Category









Yahoo! Messenger - Communicate
instantly...Ping your friends
today! Download Messenger Now











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 the Yahoo! Terms of Service.












RE: [flexcoders] Charts and fields

2005-04-14 Thread Matt Chotin










Im not having any luck looking for
how to do this either. Any chance you can put a getter on your myObjectX that
will do the right thing?



function get myOtherObjectMyNumber() :
Number

{

 return myOtherObject.myNumber;

}



Matt









From: Mika Kiljunen
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005
9:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Charts and
fields





Hi,

I ran into problem with charts. I have an object
that contains another object and I need to make a chart using them. Lets
say that the object looks like this:



class com.mycom.myObjectX


{


public var myString:String;


public var myOtherObject:SomeObject; // Contains a field: myNumber:Number


}





I would like to do something like this with an array
(myArray ) containing myObjectXs:



mx:ColumnChart id=bar
marginLeft=5 height=1000 width=100% marginRight=5
dataProvider={myArray } showDataTips=true

mx:series



mx:Array




mx:ColumnSeries yField= myOtherObject.myNumber /



/mx:Array


/mx:series


mx:horizontalAxis



mx:CategoryAxis dataProvider={myArray}
categoryField=myString /


/mx:horizontalAxis


 mx:verticalAxis



mx:LinearAxis interval=100 /


/mx:verticalAxis

/mx:ColumnChart





The problem is that
yField=myOtherObject.myNumber wont work (
yField=myNumber would work if myObjectX was a flat object but it
aint).

I just cant figure out why I cannot reference a
object.field instead of field in yField? Has anyone figured out this one?




Thanks,

Mika




















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 the Yahoo! Terms of Service.












  1   2   >