Re: Re: [flexcoders] integrating map24 maps with FLEX2

2006-08-04 Thread Michael Hansen
You could use an iframe solution. Google around for iframe and
flex2... I've seen seen a sample somewhere out there.

cheers

-michael



On 7/28/06, duccio del ministro [EMAIL PROTECTED] wrote:






 Thanks Rich but yahoo maps don't have road  details that map24 has for
 Europe and Italy in particular.
 Is there a way to show an  html tag inside a flex  layout?
 Thanks
 Duccio

  2006/7/27, Rich Tretola [EMAIL PROTECTED]:
 
 
 
 
 
 
 
  Why don't you use the Yahoo maps which already support Flash and Flex
  1.5 and should have Fle 2 support soon. In the mean time you can use
  localconnection to speak to your Flash 8 map from Flex 2. This is how
  I accomplished mapping at StatPods.com
 
  Rich
 
 
  On 7/27/06, duccio del ministro [EMAIL PROTECTED] wrote:
   Does anyone have any experience in integrating map24 maps
   (http://devnet.map24.com) with a flex2 application? I saw the
   flex-ajax bridge in adobe.labs and i'm using it to pass he right
   parameters but the resulting maps need to be visualized inside an
   html div tag, how can i integrate them inside a complex flex layout?
   Thanks in advance
   Duccio
  
  
 
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
  
  
  
  
  
  
  
  
 
  --
  Rich Tretola
  mx:EverythingFlex/
  http://www.EverythingFlex.com
 
 
 



  


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

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

* 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] FTP client in AS3?

2006-07-03 Thread Michael Hansen



I know you can allow XMLSocket access to ports below 1024 using a policy file.Is the same true for binary sockets? cheers-mOn 7/3/06, 
David Clark [EMAIL PROTECTED] wrote:













  



The only proviso that I can think of is the security sandbox. You can only connect to network resources in the same domain or with a crossdomain policy file allowing the originating domain access.Getting the crossdomain file from an FTP server could be tricky. I am not certain, but I imagine that would entail running an HTTP or XMLSocket  server from the same domain as the FTP server and loading the crossdomain file that way (with 
Security.loadPolicyFile).-- davidMany people die at twenty five and aren't buried until they are seventy five. - Benjamin Franklin

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Shouldn't we use Flex to built website

2006-06-30 Thread Michael Hansen



Ted,I've had the same thoughts for quite awhile. The techniques you describe could be used for making an awesome CMS system. The only problem is the initial file size. A typical MXML applications start off with a fairly high initial download size before _any_ viewing of content. Users _hate_ this. They wanna start reading from the get go, just like the HTML load stack allows. It's the small things that pisses people off I'm afraid. 
You probably know this, but Roger (of Adobe) has begun some work on shared resource injection (as far as i rememeber)
which i've yet to read through. But still, as long the framework code is a big blob there no way to implement a HTML load stack, right?Looking forward to see some postings from you. 
cheers-michaelOn 6/28/06, Ted Patrick 
[EMAIL PROTECTED] wrote:









  



I need to post a few examples but you can use Flex as a very powerful
templating engine for large content sites. I am evaluating a technique
that provides seamless search engine support, restful urls
(del.icio.us), rich presentation, and API RIA like interactivity.
Basically you have 1 Flex SWF file that provides the site template and
based on the URL loaded, the Flex SWF is injected with HTML/XML/URL/AMF
data based on the page.

The idea is to cleanly separate presentation from the data that drives
the page itself. HTML and AJAX force you into delivering a server merged
data/design to the client where Flash Player/SWF can merge the
presentation/data tier on the client side. Plus with E4X you can bind
controls to the injected XML/Data for very powerful interactive
templates.

1. Load HTML/XML Page with SWFObject DIV Overwrite.
2. Inject HTML/XML/URL/AMF into Flex SWF Template
3. Layout the data in Flash Player interactively. The SWF here might
support many States, Components, Panels, Forms that simplify user
interaction.
4. Restful URLs that allow for bookmark support and inner interactivity.

One of the key advantages is that you can skin a complete site by
changing one file. Once cached loading time is minimal and typically as
fast or faster than transferring a large quantity of HTML with images,
etc.

If anyone is interested in working on formalizing this design with me in
the community, I am wide open to suggestions.

Free your mind, Flex 2 can be anything you want it to be. You can use it
in the small (Widgets), in the large (Application), or somewhere
inbetween.

What is funny is that this solution actually delivers the promise that
XML/XSL tried to deliver a few years back but with layout containers,
controls, states, and interactivity.

Regards,

Ted Patrick
Flex Evangelist
Adobe Systems Incorporated

  
















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] [Flex2] File upload using HTTP PUT ?

2006-05-19 Thread Michael Hansen



This one is for the Adobe guys...Any chance we'll see Flex2 implement file uploading using HTTP PUT ? I sense that your're going to see a demand for this in the near future. (I could use it right now! :) Cheers
-michael






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] [Flex2] File upload using HTTP PUT ?

2006-05-19 Thread Michael Hansen



NP! You had me going there for a minute... :)-michaelOn 5/19/06, Stacy Young [EMAIL PROTECTED]
 wrote:
















Sorry, misread your post …scratch
what I said ;-)

I thought "post"











From: Stacy Young 

Sent: Friday, May 19, 2006 5:29 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] [Flex2]
File upload using HTTP PUT ?





It's already in there , I'm
using it !



-Stace











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Michael Hansen
Sent: Friday, May 19, 2006 5:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex2] File
upload using HTTP PUT ?





This one is for the Adobe
guys...

Any chance we'll see Flex2 implement file uploading using HTTP PUT ? I sense
that your're going to see a demand for this in the near future. (I could use it
right now! :) 

Cheers 

-michael










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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] [Flex2] File upload using HTTP PUT ?

2006-05-19 Thread Michael Hansen



Thanks Peter. My problem is that I need to interface with a 3rd party server that *only* accepts uploads by HTTP PUT (REST Interface). I'm looking to save huge amounts of bandwidth by not streaming everything through a server side proxy.
So just to be clear: * File upload using PUT will _not_ be part of the next flash VM release (i.e. Flash9)? * There is no way to get a hold of the binary data of the file reference so to make my own PUT using sockets, right?
cheers -michaelOn 5/20/06, 
Peter Farland [EMAIL PROTECTED] wrote:








You can use HTTP 1.1 methods such as PUTwith the FDS 
Proxy Service.

The Flash Player URLLoader only supports GET and POST, 
however the FDS Proxy Service uses Apache Commons HTTPClient to make the request 
for you and this library is HTTP 1.1 compliant. Note, however, that the Proxy 
Service does not support multipart form post.




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Michael 
HansenSent: Friday, May 19, 2006 5:47 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] [Flex2] File 
upload using HTTP PUT ?
NP! You had me going there for a minute... 
:)-michael
On 5/19/06, Stacy 
Young [EMAIL PROTECTED] 
 wrote:

  
  
  
  Sorry, misread your 
  post …scratch what I said ;-)
  I thought 
  post
  
  
  
  
  
  From: Stacy 
  Young Sent: Friday, May 19, 
  2006 5:29 PMTo: 'flexcoders@yahoogroups.com'

Subject: RE: [flexcoders] [Flex2] File 
  upload using HTTP PUT ?
  
  
  It's already in there 
  , I'm using it !
  
  -Stace
  
  
  
  
  
  From: 

flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 

On Behalf Of Michael HansenSent: Friday, May 19, 2006 5:09 
  PMTo: flexcoders@yahoogroups.com

Subject: [flexcoders] [Flex2] File upload 
  using HTTP PUT ?
  
  This one is for the Adobe guys...Any chance 
  we'll see Flex2 implement file uploading using HTTP PUT ? I sense that your're 
  going to see a demand for this in the near future. (I could use it right now! 
  :) Cheers 
  -michael--Flexcoders Mailing 
  ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  

Web site design development 
  

Computer software development 
  

Software design and development 

  

Macromedia flex 
  

Software development best practice 
  
  
  
  YAHOO! GROUPS LINKS 
  
Visit your group flexcoders on the web. 


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

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





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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.


  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.



  
















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?

2006-02-12 Thread Michael Hansen



Please explain why Roger Gonzalez (last 4 lines) construct is a hack (other than different from the Java way)?It is interesting to note that private constructors are discouraged in C# 
2.0 and replaced by statics. (much like in AS3)cheers
-michaelOn 2/12/06, Xavi Beumala 
[EMAIL PROTECTED] wrote:



Hi there,
I also completely agree with you. If it's a fact of architecture why
not let us (programmers) decide what to use (internal vs private) ??

All new features on AS3 and FES are really amazing, but I think two
main things are being forgotten as has been said: abstract classes and
private methods. 

It's really tricky and weird to use runtime exceptions to control what can be controlled at compile time. 

And despite patterns are language agnostic and can have different
implementations on different languages they must be easy to identify on
the code. Using hacks like the ones explained isn't easy to identify
them. Implementing a template method using exceptions IMHO also looks
really bad...

Just my opinion
X.
On 2/12/06, Carlos Rovira [EMAIL PROTECTED]
 wrote:



Thanks to god! I thought was completly alone in this topic! : )2006/2/12, Jens Halm 


[EMAIL PROTECTED]:





 again from other people's coming to the Flash platform they look at
 all this stuff as the typical flash hacks from old days.

 I don't know why are you so reactive to introduce private
 constructors that are very clear and precise to resolve this kind of
 things and don't need any trick. 

 Another question is what's about Abstract classes that are again very 



needed.

 Please rethink this two things so we could get a very flexible
 languaje and bring more people form other backgrounds to our beloved
 platform without think that we have a platform full of hacks. 

I have to second all those points.

Ok, now we know Adobe had long discussions internally about this
issue, but I still can't see any disadvantages in permitting
non-public constructors which might have led to this decision.
As it seems evident from this and other similar threads the
proposed workarounds for singletons are ugly and confusing for
most developers.

As for abstract classes: Maybe they are not part of ECMA 4 yet?
I tried to google it up, but somehow I am not able to find an
up-to-date specification draft. (The newest one I was able to find is
from 2003). In AS 3 abstract is a reserved keyword but it's not used
yet. But again: If we don't get abstract classes we need non-public
constructors to fake them. In AS 2 I combine private constructors with
empty (pseudo-abstract) template methods to accomplish this.

AS 3 is a huge step forward, but I still miss some pieces in the core
language:

- Private constructors

- Abstract classes and methods

- Enumerations!

- Class.instantiate(args:Array) method


Jens
www.oregano-server.org











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




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












  
  
SPONSORED LINKS
  
  
  





Web site design development
  
  




Computer software development
  
  




Software design and development
  
  






Macromedia flex
  
  




Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.




  To unsubscribe from this group, send an email to:



[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service



.



  










-- ::| Carlos Rovira::| http://www.carlosrovira.com







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



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











  
  
SPONSORED LINKS
  
  
  




Web site design development
  
  



Computer software development
  
  



Software design and development
  
  





Macromedia flex
  
  



Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.



  To unsubscribe from this group, send an email to:


[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.




  








-- Xavi Beumalahttp://www.code4net.com







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


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










  
  
SPONSORED LINKS
  
  
  

Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?

2006-02-12 Thread Michael Hansen



I agree that it can become tedious, but it's hardly a hack.My point is that every time there's a new language (yes I've been around for awhile :) there are people complaining that it's unlike some other language (mostly an older one). It's understandable, but I also know that the people implementing the language spec's for the most parts is not inexperienced fools. There's in all properly a reason for the missing 'feature', and it just _might_ be that the language does in fact support the desired construct but in a different way than the one you are used to. A new language is often more productive than the older one _overall_, but some specifics might become more tedious on account of the re-arrangement in complexity. You simply cannot progress and keep everything as is. This also applies for humans.
Personally I still need to absorb some of the new features (like using the namespace type for e.g. implementing a factory pattern) in the AS3 language, and reflect on the new set of options before I 'complain' on missing features. Perhaps you guys already have _the grand perspective_ on the AS3 language, and thus rightfully criticise the decision. If so, I'm sorry for the interruption. I just got the feeling that this was more of the 'why? Java has it!' kind of thing. :)
cheers-michaelOn 2/12/06, Julian Suggate [EMAIL PROTECTED]
 wrote:


Try writing static facades for a class with any larger interface than five or so methods and it becomes tedious to say the least. not to mention that every time you add a function to the Manager class you have to manually expose it through ManagerImpl. If there was a codegen tool that could do this for me, I'd not care so much but with languages as they are at the moment, this kind of extensive delegation involves too much grunt work.


Languages should have a wraps keyword to manage this. In the AS2 days you could use __resolve quite nicely to delegate behaviour but lost typesafety :(

I don't think Roger's solution would hold much traction with my team leader who is always looking for the path of least resistance (sorry Roger!). Unfortunately, it looks like AS3 doesn't have one of those when it comes to implementing singletons (or template methods for that matter).


Otherwise, i think AS3 is awesome andcongratulate all the Macrobat dudes for revamping their platform Yet Again! Well done :-) And the performance enhancements combined with Flash's capabilities mean that people will use the language no matter what. Heck, if it still had AS1 syntax, we'd still be using it.


But really, I think abstract classes and modifiable constructors should make it into the AS4 spec. And typesafe delegation/wrappers that also avoid pointless delegation code like in Roger's example!

My $.02.

Cheers,
Jules
On 2/13/06, Michael Hansen [EMAIL PROTECTED]
 wrote:
Please explain why Roger Gonzalez (last 4 lines) construct is a hack (other than different from the Java way)?
It is interesting to note that private constructors are discouraged in C# 2.0 and replaced by statics. (much like in AS3)cheers-michael 

On 2/12/06, Xavi Beumala  [EMAIL PROTECTED]

 wrote: 
Hi there,I also completely agree with you. If it's a fact of architecture why not let us (programmers) decide what to use (internal vs private) ??
All new features on AS3 and FES are really amazing, but I think two main things are being forgotten as has been said: abstract classes and private methods. It's really tricky and weird to use runtime exceptions to control what can be controlled at compile time. 
And despite patterns are language agnostic and can have different implementations on different languages they must be easy to identify on the code. Using hacks like the ones explained isn't easy to identify them. Implementing a template method using exceptions IMHO also looks really bad...
Just my opinionX. 

On 2/12/06, Carlos Rovira [EMAIL PROTECTED] 
 wrote: 
Thanks to god! I thought was completly alone in this topic! : )
2006/2/12, Jens Halm  [EMAIL PROTECTED]: 

 again from other people's coming to the Flash platform they look at all this stuff as the typical flash hacks from old days. I don't know why are you so reactive to introduce private
 constructors that are very clear and precise to resolve this kind of things and don't need any trick.  Another question is what's about Abstract classes that are again very 






needed. Please rethink this two things so we could get a very flexible languaje and bring more people form other backgrounds to our beloved platform without think that we have a platform full of hacks. 
I have to second all those points.Ok, now we know Adobe had long discussions internally about thisissue, but I still can't see any disadvantages in permittingnon-public constructors which might have led to this decision.
As it seems evident from this and other similar threads theproposed workarounds for singletons are ugly and confusing formost developers.As for abstract classes: Maybe they are not part of ECMA 4

Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?

2006-02-10 Thread Michael Hansen



Patterns are not meant to be language specific. The way you implement a singleton may vary from language to language, but the abstraction is the same. That's the point. So you may expect to do it differently in AS3. It's a new language with new features which hopefully will make us much more productive than with the old Java style stuff. Cheer up guys! This is exciting stuff. :)
Also some people would argue that singleton is a 'dead' pattern. :)AS3 is not a prototype language - yes it is.cheers-michaelOn 2/10/06, 
Johannes Nel [EMAIL PROTECTED] wrote:



so even if i create a private class that is only accecible in that package (and then on package level declare a accesor for it) the only way i can be certain that class will only be created once is by having nothing else in that package. this does not seem right.
On 2/10/06, Matt Chotin 
[EMAIL PROTECTED] wrote:

















You have to simulate private constructors
by having the constructor take a class that is inaccessible to other classes
(namely putting that class in the same file as the singleton outside of the
package block). Unfortunately I believe the rule is that the constructor of
the class has to have the same visibility as the class itself. So public
classes need public constructors, internal classes get internal constructors,
etc.



Matt











From: 

flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 

On Behalf Of Johannes Nel
Sent: Thursday, February 09, 2006
4:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS3
class constructors can't be private? Abstract classes?





abstract classes i am not
expecting, private constructers i certainly hope for



On 2/9/06, Carlos
Rovira [EMAIL PROTECTED]
 wrote:

Hi,

I was trying to migrate some classes from AS2 to AS3 and notice that can't mark
the class constructor as private. Is that correct or there's a workaround? if
not have plans to implement private constructors.

and abstract classes?

Thanks in advance.

-- 
::| Carlos Rovira
::| http://www.carlosrovira.com


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

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








SPONSORED
LINKS 






 
  
  

Web site design development 
  
  
  

Computer software development 
  
  
  

Software design and development 
  
 
 
  
  

Macromedia flex 
  
  
  

Software development best practice 
  
  
  
  
 










YAHOO!
GROUPS LINKS





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















-- 
j:pn 








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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.


  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.



  










-- j:pn 






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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  

Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?

2006-02-09 Thread Michael Hansen



AS3 has some pretty interesting constructs, and private constructors is not one of them. Don't be fooled - it's not java. I can recommend reading up on the as3 pdf.A couple of months ago I hit that same stumbling block, 
i.e. what! no private constructors?!I what follows is a response from zwetan posted on the Adobe labs forum:zwetan writes:here are common cases where *other* languages need private constructors:
- classes containing only static utility methods- classes containing only constants- type safe enumerations- singletonsin AS3 with the actual implementation of the ECMAScript 4 specyou don't need private constructors to implement all that
for cases:- classes containing only static utility methods- classes containing only constantspackage foobar {  class blah   {   function blah() //internal
   {   } public const test:String = test;public static function utility():String {  return hello world;
 }  } }the constructor blah is by default internal to the package,you can not instanciate it outside of the packagebut by declaring the constant and/or static members public
you can access them outside from the package.(you don't even need to define a constructor )check the prog_actionscript3.pdf page 43class ConstExample{ static const EXAMPLE_STATIC:String = Global access;
 public const EXAMPLE_PUBLIC:String = Public access; private const EXAMPLE_PRIVATE:String = Class access;}for the singletons case it's almost the same,especially if you want to have a constructor to initialize it
---package foobar { class Singleton() //internal{ function Singleton() //package scope internal constructor   {   }
  public var someProperty:String = someProperty;  public function someMethod():String  {   return someMethod  }}
 }---package foobar {  public const MySingleton:Singleton = new Singleton(); }---you can only instanciate the Singleton constructor inside its package,
not outside because it IS internal,and making it const and public you're sure it gonna beglobally accessible and instancied only once.You don't need private constructor in prototype-based languagebecause you can directly have an object
http://en.wikipedia.org/wiki/Singleton_pattern In a prototype-based programming language, where objects but not classes
are used, a singleton simply refers to an object without copies or that isnot used as the prototype for any other object.zwetanOn 2/10/06, 
Johannes Nel [EMAIL PROTECTED] wrote:



abstract classes i am not expecting, private constructers i certainly hope forOn 2/9/06, Carlos Rovira
 [EMAIL PROTECTED]
 wrote:


Hi,I was trying to migrate some classes from AS2 to AS3
and notice that can't mark the class constructor as private. Is that
correct or there's a workaround? if not have plans to implement private
constructors.
and abstract classes?Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.com







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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.




  








-- j:pn 






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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  















--

Re: [flexcoders] Flex 2 - Looking for feedback on Flex API doc

2006-02-03 Thread Michael Hansen



They are just perfect! Nice work.I definitely don't agree with Gunnar's remark that:The MXML examples at the end, however, should be removed and replaced with AS-examples.Cheers-michael
On 2/3/06, gunnar a reinseth [EMAIL PROTECTED] wrote:



1. The docs should definately display both protected and public methods/properties - just the way it is! (and it's nice to see that the 'override' keyword is used as well)2. The MXML syntax summary is helpful to get a quick overview of the component - 
e.g. if i'm only looking for a style name. The MXML examples at the end, however, should be removed and replaced with AS-examples.3. No problems with the styling...4. I use the inheritance tables all the time - so, yes.
--gunnarOn 2/2/06, Stephen Gilson 
[EMAIL PROTECTED] wrote:




All,

We are looking for feedback on the Flex API documentation. This
documentation is titled Macromedia Flex 2 ActionScript and MXML
Language Reference and is available from Flex Builder Help, or in a
standalone form. 

We modeled this documentation on JavaDocs. So, if you are familiar with
JavaDocs, it should look pretty familiar. You can see it here:

http://livedocs.macromedia.com/labs/1/flex/langref/index.html

After the Alpha release, we made several changes to it based on user
feedback. One change was to move static properties and methods to their
own area of the output. 

Topics for discussion now are:

1. For each class, we mix both public and protected methods in the same
summary table. This is the way JavaDocs handles methods. We have a
request to split the public and protected methods into separate tables,
so that you do not see the protected methods if you are using the class,
but view them only when you are creating a subclass.

Is this a change you would like to see?


2. We include a summary of the MXML syntax for the Flex components at
the top of each class description. The syntax lists the MXML tag
attributes and default values for each component.

Is this helpful, or should we just remove it? Without it, you would have
to look at the tables of properties, events, effects, and styles to
determine the MXML syntax.


3. Is it styled well? Is it easy to read and does the use of color,
font, and layout make sense?


4. Are the inheritance tables usable? These are the tables that list the
inherited items from the superclasses.

One possibility is to replace these inheritance lists with actual
summary tables, like you see for the properties and methods defined in
the class. The summary table shows the item, and includes a one-line
summary.

Thanks,

Stephen 
Flex Doc Team







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


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







  




  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.


  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service

.



  
















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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex charting components dont work

2006-02-03 Thread Michael Hansen



I had the same experience. I suspect it some setup that has to be done, but I have not had the time to investigate.cheers-michaelOn 2/3/06, 
ze_fsaldanha [EMAIL PROTECTED] wrote:




Afther the instal of the framework the IDE and FES its ok, but the 
charts dont work in Flex Sample Apps (Collaboration Dashboard and 
Real Time Data Feed)I think the error is because the NOTE:

Error
id is specified but mx:SeriesInterpolate can't be resolved to a 
component implementation

But and i try to use charts on IDE flex builder without server the 
problems panel show the same error.

I dont know whats up I have the charts.swc in the bins folders

Here is the paths:

C:\Documents and 
Settings\Utilizador\workspaceEclipse\.metadata\.plugins\zorn.project\
flex2_sdk\frameworks\libs

C:\Programas\Adobe\Flex Charting Components 2 Beta 1\libs

C:\Programas\Adobe\Flex Builder 2 Beta 1\Flex Framework 2
\frameworks\libs

C:\Programas\Adobe\Flex Builder 2 Plug-in Beta 1\Flex Framework 2
\frameworks\libs



need some help, something is missing me maybe the last realease of 
Flex alpha charts conflit with beta?













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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2006-01-08 Thread Michael Hansen



Nice to get confirmation on this.Thank you Manish :D
-michaelOn 1/7/06, Manish Jethani [EMAIL PROTECTED] wrote:




On 1/5/06, Michael Hansen [EMAIL PROTECTED] wrote:

 Check out the example here:

 http://www.mindinteraction.com/bin/TestDataGrid2.html (Note Flex2 app)

 Drag an item to generate an exception.

 Basically it's a drag enabled datagrid using drop-in cellrenderer. I'm unsure if the exception
 is my fault or a bug. The docs on drop-in cell renderers is not that exhaustive.

Looks like a bug. I've logged it.

BTW, in Beta 1 (when it's out), you should be able to bind to
'dataObject' instead of having to override the setter method.

Manish







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

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






  




  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

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



  
















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2006-01-05 Thread Michael Hansen



I'd like to bump this :) (holidays'n'all)Check out the example here:http://www.mindinteraction.com/bin/TestDataGrid2.html
 (Note Flex2 app)
Drag an item to generate an exception.Basically it's a drag enabled datagrid using drop-in cellrenderer. I'm unsure if the exception is my fault or a bug. The docs on drop-in cell renderers is not that exhaustive.
Thanks in advanceCheers-michaelHere's the raw code:***APP ***?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=*
 mx:Script  ![CDATA[  import 
mx.controls.DataGrid;  import mx.controls.gridclasses.DataGridColumn;//a test dataset  public var initDG:Array = [{ Artist: 'xxx', Price: true, Album: 'x123'},
{ Artist: 'yyy', Price: false, Album: 'y123'} ]; //testing label function  private function myLabelFunction(rowData:Object, col:DataGridColumn):String  {
   return (String(rowData.Artist)+[added info]);  }  ]] /mx:Script  mx:Panel title=Grid Panel width=100% height=100%
  mx:DataGrid dataProvider={initDG} editable=false height=100% width=100% dragEnabled=true  mx:columns mx:Array
!-- applying a label function -- mx:DataGridColumn  labelFunction=myLabelFunction  columnName=Artist
  headerText=Artist /!--embedding a custom cellrenderer -- mx:DataGridColumn  cellRenderer=Cellrender
  columnName=Price  headerText=Price /!-- embedding a control -- mx:DataGridColumn cellRenderer=
mx.controls.CheckBox isCellEditor=false editable=false  columnName=Album headerText=Album /
 /mx:Array /mx:columns /mx:DataGrid /mx:Panel /mx:Application***Drop-in Cellrenderer ***
?xml version=1.0 encoding=utf-8?mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml
 xmlns=* horizontalAlign=center
mx:Script ![CDATA[  // Override the setter method.  override public function set dataObject(value:Object):Void {  if(value != null) 
 { // Use super to set the value in the base class.  super.dataObject = value;checkImg.visible = value.Price; }  } 

 ]]/mx:Scriptmx:Image id=checkImg source=@Embed(source='checkmark.gif') //mx:VBox

On 12/21/05, Michael Hansen [EMAIL PROTECTED] wrote:

Hi!

I've implemented a grid using a drop-in cellrenderer as detailed in (my code is almost identical):

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""



I also have drag enabled on the grid.

The cellrenderer works fine. However, after I implementing the custom
renderer, I get a null reference exception when dragging an item in the
grid. 

_Looks_ like the drag proxy is not fully cloning the original item
(custom renderer ref. is null), which throws an exception when called.

Am I doing something wrong or is this a bug? Anyone else had luck in this kind of implementation?


Best wishes for the holidays!

-michael













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?

2005-12-21 Thread Michael Hansen



Hi!

I've implemented a grid using a drop-in cellrenderer as detailed in (my code is almost identical):

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""



I also have drag enabled on the grid.

The cellrenderer works fine. However, after I implementing the custom
renderer, I get a null reference exception when dragging an item in the
grid. 

_Looks_ like the drag proxy is not fully cloning the original item
(custom renderer ref. is null), which throws an exception when called.

Am I doing something wrong or is this a bug? Anyone else had luck in this kind of implementation?


Best wishes for the holidays!

-michael










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] (Flex 2.0) interacting with SWF files

2005-12-13 Thread Michael Hansen



Not exactly what you are looking for, but perhaps it may help you anyway...

http://www.helpqlodhelp.com/blog/archives/000141.html

http://www.livejournal.com/users/mannu/305284.html

cheers

-michael

On 12/13/05, Darin Kohles [EMAIL PROTECTED] wrote:




I was wondering if anyone can point me to some good documentation for
interacting with Flash generated SWF files in Flex 2.0. At present I'm
trying to re-skin some components with dynamic content (small event
triggerd animations) but so far to no avail.

Any help would be appreciated.

Thanks










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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] How can someone signup for the private beta of Flex 2?

2005-12-12 Thread Michael Hansen



http://www.surveymonkey.com/Users/94654059/Surveys/947291107854/1068578E-82F5-4C72-BD77-565DA58D1A4F.asp?U=947291107854DO_NOT_COPY_THIS_LINK


cheers

-michael
On 12/12/05, JesterXL [EMAIL PROTECTED] wrote:




...ok, I lied about the Gold, it's really release candidate, but 
Macromedia is always Gold because they always sell millions of copies... I 
forget how many platnium is.

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com

Sent: Monday, December 12, 2005 4:58 PM
Subject: Re: [flexcoders] How can someone signup for the private beta of 
Flex 2?


Not that I'm aware of, no.

Typically, software goes:

- prototype = developers in house get it to work
- alpha = developers in house get a working version who they then share with
in-house people
- beta = in house alpha works well enough, changes are made from in-house
alpha, and a select group from the public is invited to test the first build
of the beta
- gold = after beta 3, if no show stopping bugs, she's posted as a release
build, ready to ship

However, Macromedia has recently changed their alpha to public people.
Therefore, you can't get to point C without first going from point A, and
then to point B.

Alpha's not done yet, therefore, the beta can't start until the alpha is
done.


- Original Message - 
From: Bart Harrison [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, December 12, 2005 4:50 PM
Subject: Re: [flexcoders] How can someone signup for the private beta of
Flex 2?


That's for the public Alpha. Is there a private Beta program ?

Bart


At 04:46 PM 12/12/2005, you wrote:
Here's a URL that isn't private:
http://labs.macromedia.com/
http://labs.macromedia.com/

- Original Message -
From: Clint Modien [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, December 12, 2005 4:31 PM
Subject: [flexcoders] How can someone signup for the private beta of Flex
2?


A client I'm working for needs the private beta for a
proof-of-concept. Anyone have a name and a contact number or a way to
signup for it?

Thanks in advance.



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

Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







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

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




--
YAHOO! GROUPS LINKS

 * Visit your group
 http://groups.yahoo.com/group/flexcodersflexcoders on the web.
 *
 * To unsubscribe from this group, send an email to:
 *
 mailto:[EMAIL PROTECTED]?subject=Unsubscribe
[EMAIL PROTECTED]

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


--




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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links












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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  
















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  

Re: [flexcoders] Livedocs for Flex 2.0

2005-12-05 Thread Michael Hansen



i use this:

http://www.google.com/search?num=100hl=enlr=safe=offq=site%3Ahttp%3A%2F%2Flivedocs.macromedia.com%2Flabs%2F1%2FflexbtnG=Search


cheers
-micahel
On 12/5/05, Ralf Rottmann [EMAIL PROTECTED] wrote:















By the way, is there a link to the Flex 2.0 Live docs
anywhere?



Ralf Rottmann












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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-30 Thread Michael Hansen



Hey Jesse,

The XMLRPC already contains CDATA, and nested CDATA is not allowed.

Also this is what the specs have to say:

What
 characters are allowed in strings? Non-printable characters? Null
 characters? Can a string be used to hold an arbitrary chunk of
 binary data? 



Any characters are allowed in a
string except  and , which are encoded as lt; and amp;. A
string can be used to encode binary data. 


(
http://www.xmlrpc.com/spec)

So i guess the question is, how do one return a xml-type in a XmlRPC reply?


Thanks for your time, and suggetion Jesse!
Cheers

-michael

On 11/30/05, JesterXL [EMAIL PROTECTED] wrote:









All jacked character data is supposed to use CDATA, 
like so:

string![CDATA[lt;taggt;testinglt;/taggt;]]/string

Like the script tag in Flex. Is there not a 
way to intercept .NET's response and wrap it?


- Original Message - 
From: 
Michael Hansen 

To: flexcoders@yahoogroups.com 
Sent: Tuesday, November 29, 2005 6:01 PM
Subject: Re: [flexcoders] Flex2 :: XML-RPC (char replacement 
nuisance)
Thanks for the reply Matt,I got a hold on what's going 
on.When sending a RPC request to the .net, it replies something like the 
following:?xml 
version=1.0?methodResponse 
params 
param 
value string[HERE 
BE THE REPLY/PAYLOAD]/string 
/value /param 
/params/methodResponseNow because .net regards what 
is inbetween string/string as a 'payload' wrapped in a RPC 
protocol, the data inside these tags cannot have chars like '',and '', 
since this would potentially invalidate the xml structure of the reply as a 
whole. Therefore whatever is between string/string is 
html-encoded, e.g.  translated to lt;Example: If the service was to return a 
xml dodument liketagtesting/tagthe reply from 
the service would be:?xml 
version=1.0?methodResponse 
params 
param 
value 
stringlt;taggt;testinglt;/taggt;/string 
/value /param 
/params/methodResponsewhich is decoded by flex to a 
string (Flex correctly interprets the data received as 'raw' data as has no 
other choice) and _not_ a xml document. Therefore the data is not passed, and 
the Object tree is not created. I guess other rpc services do not 
html-encode the 'payload'?? Flickr(PHP??) seems to work just fine... Is 
Microsoft right in doing this encoding?Anybody out there a genius on 
RPC?? (less may also do it 
:)Cheers-michaelPS. The linefeeds are 
definetly not the problem in this case. There's only one type (CRLF), and tests 
show that this works just fine. :)
On 11/29/05, Matt 
Chotin [EMAIL PROTECTED] 
wrote:

  
  Probably less people 
  are testing against .NET right now. We do have tests that did pass but 
  we've also seen some issues with the player (well also the compiler). 
  The issue that we had internally was one of line-endings where the XML was 
  mixed in using Windows line endings (CRLF or \r\n) and Unix (LF or \n). 
  Any way of checking how the service is coming back (I'd assume since it's .NET 
  that it's CRLF)?
  
  Matt 
  
  
  
  
  
  
  From: 
flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf 
  Of Michael HansenSent: Tuesday, November 29, 2005 10:06 
  AMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 :: XML-RPC 
  (char replacement nuisance)
  
  
  Hi list,I'm doing some Xml 
  RPC to .net backend, and having problems with char replacements.I call 
  the service, and it replies something like:lt;?xml version=1.0 
  encoding=utf-8?gt;lt;taggt;lt;/taggt;where 
  e.g.,  is replaced by 
  lt;As a result flex 
  do _not_ decoding into the desired object-array.If a do a .aspx page 
  that write the xml to the document stream i receive?xml 
  version=1.0 encoding=utf-8?tag/tagand 
  all is well.If a do a .net webservice, the payload (i.e. the result) 
  is also 'char-replaced' and once again flex2 chokes. If I do a .net client 
  that connects to the webservice all is well.Who's at 'fault' here? and 
  is there a way to fix it without writing a custom xmlDecoder? (either on .net 
  or flex2)Am I really the only one that have had problems with this or 
  am I stupid (gotta be realistic sometimes :o)Cheers 
  -michael--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  YAHOO! GROUPS LINKS 
  
Visit your group flexcoders on the web. 

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

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





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

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






  




  
  
  YAHOO! GROUPS LINKS



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

Re: [flexcoders] How to create XML Object from string (AS3: E4X)

2005-11-30 Thread Michael Hansen



try

var myxml:XML = {xmlstring};
Cheers

-michael


On 12/1/05, Ralf Rottmann [EMAIL PROTECTED] wrote:















Quick question: I have valid XML in a :String variable. How
can I create an XML Object from it?



This did NOT work:



1.

var tempXml:XML;

tempXml = XML(s);



2.

var tempXml:XML = new XML(s);



Any idea?







Ralf Rottmann












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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] How to create XML Object from string (AS3: E4X)

2005-11-30 Thread Michael Hansen



Sorry.. that doesn't work, but doing a XML construct from the string ought to work??

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2041.html


cheers

-michaelOn 12/1/05, Michael Hansen [EMAIL PROTECTED] wrote:
try

var myxml:XML = {xmlstring};
Cheers

-michael


On 12/1/05, Ralf Rottmann [EMAIL PROTECTED]
 wrote:















Quick question: I have valid XML in a :String variable. How
can I create an XML Object from it?



This did NOT work:



1.

var tempXml:XML;

tempXml = XML(s);



2.

var tempXml:XML = new XML(s);



Any idea?







Ralf Rottmann













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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





  



















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-29 Thread Michael Hansen



Hi list,

I'm doing some Xml RPC to .net backend, and having problems with char replacements.

I call the service, and it replies something like:

lt;?xml version=1.0 encoding=utf-8?gt;
lt;taggt;
lt;/taggt;

where e.g.,  is replaced by lt;

As a result flex do _not_ decoding into the desired object-array.

If a do a .aspx page that write the xml to the document stream i receive

?xml version=1.0 encoding=utf-8?

tag

/tag

and all is well.

If a do a .net webservice, the payload (i.e. the result) is also
'char-replaced' and once again flex2 chokes. If I do a .net client that
connects to the webservice all is well.

Who's at 'fault' here? and is there a way to fix it without writing a custom xmlDecoder? (either on .net or flex2)

Am I really the only one that have had problems with this or am I stupid (gotta be realistic sometimes :o)

Cheers

 -michael












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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-29 Thread Michael Hansen



Thanks for the reply Matt,

I got a hold on what's going on.

When sending a RPC request to the .net, it replies something like the following:

?xml version=1.0?
methodResponse
 params
 param
 value
 string[HERE BE THE REPLY/PAYLOAD]/string
 /value
 /param
 /params
/methodResponse

Now because .net regards what is inbetween
string/string as a 'payload' wrapped in a RPC protocol,
the data inside these tags cannot have chars like '',and '',
since this would potentially invalidate the xml structure of the reply
as a whole. Therefore whatever is between string/string
is html-encoded, e.g.  translated to lt;

Example: 

If the service was to return a xml dodument like

tagtesting/tag

the reply from the service would be:

?xml version=1.0?

methodResponse

 params

 param

 value

 stringlt;taggt;testinglt;/taggt;/string

 /value

 /param

 /params

/methodResponse

which is decoded by flex to a string (Flex correctly interprets the
data received as 'raw' data as has no other choice) and _not_ a xml
document. Therefore the data is not passed, and the Object tree is not
created. 

I guess other rpc services do not html-encode the 'payload'??
Flickr(PHP??) seems to work just fine... Is Microsoft right in doing
this encoding?

Anybody out there a genius on RPC?? (less may also do it :)

Cheers

-michael


PS. The linefeeds are definetly not the problem in this case. There's
only one type (CRLF), and tests show that this works just fine. :)


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
















Probably less people are testing against
.NET right now. We do have tests that did pass but we've also seen some
issues with the player (well also the compiler). The issue that we had
internally was one of line-endings where the XML was mixed in using Windows
line endings (CRLF or \r\n) and Unix (LF or \n). Any way of checking how the
service is coming back (I'd assume since it's .NET that it's
CRLF)?



Matt 











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Michael Hansen
Sent: Tuesday, November 29, 2005
10:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 ::
XML-RPC (char replacement nuisance)





Hi list,

I'm doing some Xml RPC to .net backend, and having problems with char
replacements.

I call the service, and it replies something like:

lt;?xml version=1.0 encoding=utf-8?gt;
lt;taggt;
lt;/taggt;

where e.g.,  is replaced by lt;

As a result flex do _not_ decoding into the desired object-array.

If a do a .aspx page that write the xml to the document stream i receive

?xml version=1.0 encoding=utf-8?
tag
/tag

and all is well.

If a do a .net webservice, the payload (i.e. the result) is also
'char-replaced' and once again flex2 chokes. If I do a .net client that
connects to the webservice all is well.

Who's at 'fault' here? and is there a way to fix it without writing a custom
xmlDecoder? (either on .net or flex2)

Am I really the only one that have had problems with this or am I stupid (gotta
be realistic sometimes :o)

Cheers

 -michael














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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 : databinding itemrenders

2005-11-21 Thread Michael Hansen



Thanks Manish.

I've abandoned the Hlist, and trying to build my own (much like the tile the flex store sample). 

I'm very much pressed for time now (did not foresee the problems with
databinding). If the new release hasn't come out when i finish this (a
week or so) I'll try to construct some samples that expose the problems.

I really appreciate your commitment. I hope com.macromedia.PayCheckManager is also looking at the list :D
cheers

 -michael


On 11/20/05, Manish Jethani [EMAIL PROTECTED] wrote:




On 11/20/05, Michael Hansen [EMAIL PROTECTED] wrote:

[snip]

 Isn't there a way to loop through the itemlist, and manually force a rebind
 of the dataObjects?

Okay, if you have the time, can you send me (directly to me, not to
the list) a standalone sample (a complete sample that compiles and
runs) that shows the problem? If you can't, it's okay, because I
think I know how to recreate your scenario.

Since you're hoping for this to be fixed in the next build, let me
make sure it works :)

Manish







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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 : databinding itemrenders

2005-11-20 Thread Michael Hansen



Hi Manish,

Your trick doesn't seem to work. Actually it throws an exception on app. init.

Debugging the thumbnail.mxml file I observe the following:

1. first thumbnail '  function set dataObject'  is called with dataObject corresponding to dataprovider[0] multiple times
2. when it do iterates over the dataProvider array, both 'label', and parent is null? (which is what causes the exception)
3.  'function set dataObject' is _not_ called when the dataProvider array is changed.

I also notice that the binding works when tiles are scrolled off, and
on screen. I presume this is caused by the tiles being
destroyed/created when not in view/being displayed anew and therefore
not related to anything useful.

Isn't there a way to loop through the itemlist, and manually force a rebind of the dataObjects?

I guess one could rebind the dataProvider by alternating 2 databuffers;
but how do i clone the object array. Object itself doesn't seem to implement
.clone() ? Do I have to write some for..in stuff for that?


I'll tell you, I for one is hoping for a new release _very_ soon. :D

cheers

-michael




On 11/19/05, Manish Jethani [EMAIL PROTECTED]
 wrote:




On 11/18/05, Michael Hansen [EMAIL PROTECTED] wrote:

 I don't quite follow your suggestion. Sorry for being stupid, but all this
 is semi new to me :) Could you elaborate a bit on your answer?

So instead of this:

mx:Vbox
 mx:Image source=./{dataObject.file /
 mx:Label text={dataObject.file}/
/mx:VBox

You have to do this:

mx:Vbox
 mx:Image source=./{dataObject.file /
 mx:Label id=label /
 mx:Script
 override public function set dataObject(value:Object):Void
 {
 super.dataObject = value;
 label.text = value.file;
 }
 /mx:Script
/mx:VBox

Which sucks obviously, but for the time being that's what we have
(wait for the next build).

 Also do you guys have a public bug tracking running somewhere. I would save
 us all (both you and me) some time. (i also got found 7 or 8 bugs i would
 like verify, before submitting)

No, I don't think so. I'm sure QA engineers from the Flex team are
lurking on the list (and often posting too) and will pick up any
problems reported here.

Manish







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




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









  




  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:



[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.







  



















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] handling empty(null) in CellRenderer

2005-11-18 Thread Michael Hansen



how about something like:

mx:Link label={dataObject.day==null?'':dataObject.day} /
cheers
 -michael
On 11/18/05, keishichi2001 [EMAIL PROTECTED] wrote:




(flex2.0)

When i pass empty XML element into CellRenderer, and handle it like
followed, it shows as 'null' - String.

(in the CellRenderer)
...
mx:Link label={dataObject.day} /
...

I want it to be shown real empty(which means, show nothing) if empty
XML element given.

Does anyone run into same issue?
And how did u solved this?


Best Regards,
Keishichi













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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 : databinding itemrenders

2005-11-18 Thread Michael Hansen



hi List,

I have a HorizontalList with a listItemRenderer. 

[Bindable]
public var ItemList:ArrayCollection;

mx:HorizontalList dataProvider={ItemList} listItemRenderer=Thumbnail /

The thumbnail.mxml consists of an vbox with an image and a label like so:

mx:Vbox
 mx:Image source=./{dataObject.file /
 mx:Label text={dataObject.file}/
/mx:VBox

My problem is that if I change the underlying model(ItemList) for the
HorizontalList, the label text in the thumbnail render does not reflect
the change!? However if I poll the model using 

function doClick(event:Event) {
 
 ... event.target.selectedItem.file ...
}

the updated data _is_ retrived. Seems the change is not reflected to the itemrender?!!
Am I missing something here...?

Thanks in advance :)

Cheers

-michael








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 : databinding itemrenders

2005-11-18 Thread Michael Hansen



Thank you Manish!

I'm not getting any warnings. :(

I don't quite follow your suggestion. Sorry for being stupid, but all
this is semi new to me :) Could you elaborate a bit on your
answer?

Also do you guys have a public bug tracking running somewhere. I would
save us all (both you and me) some time. (i also got found 7 or 8 bugs
i would like verify, before submitting)

Thanks again, and have a nice weekend.

cheers

-michael


On 11/18/05, Manish Jethani [EMAIL PROTECTED] wrote:




On 11/18/05, Michael Hansen [EMAIL PROTECTED] wrote:

 The thumbnail.mxml consists of an vbox with an image and a label like so:

 mx:Vbox
 mx:Image source=./{dataObject.file /
 mx:Label text={dataObject.file}/
 /mx:VBox

 My problem is that if I change the underlying
model(ItemList) for the HorizontalList, the label text in the thumbnail
render does not reflect the change!?

The Alpha 1 build has a bug: dataObject is not bindable (aren't you
getting a warning?). I believe we've fixed it now, but for the time
being you have to write a setter for the 'dataObject' property in your
custom cell renderer.

Manish







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

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






  




  
  
  YAHOO! GROUPS LINKS



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




  
















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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: mx.controls.HorizontalList-like control

2005-11-16 Thread Michael Hansen



Hi Matt,

Sure I have, but the interesting chapter is missing:

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href="">


The current docs is mostly simple stuff. What I am looking for is a
description of the component model, i.e. a component life cycle
description including required implemented
interfaces/extensions/abstract methods (and why), layout model, and
hooks etc. Perhaps also couple of UML diagrams...?

In other words a description detailed enough so that i don't have to
pester busy guys like yourself with more or less trivial questions :o)
I know this is an alpha release, so it is perhaps to early for this
kind of stuff?

Thank you for your time Matt.

Cheers

-michael



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

















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




One to look at would be Creating
and Extending Flex Components



Matt









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





Matt,

Thank you very much for your reply. 

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

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

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

 -michael








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



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



Matt











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







Hi list,

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

Cheers

 -michael







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

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








SPONSORED
LINKS 





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










YAHOO!
GROUPS LINKS





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

























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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 :: HorizontalList Bug

2005-11-16 Thread Michael Hansen



Hi list,

I'm experiencing problems with the HorizontalList. Put up a
HorizontalList and bind it to a XMLListCollection. In my case I'm
showing some images.

1. Make it so that the list has horizontal scrollbars (e.g. by scaling the browser window)

2. Drag the scrollbar so that the _first_ tile disappears

3. scroll the _first_ tile into view again

4. click on any one of the tiles and...


Error: Invalid index: -1
 at mx.collections::BaseListCollectionView/http://www.macromedia.com/2005/flex/mx/internal::getBookmark()
 at mx.collections::BaseListCollectionViewCursor/get bookmark()
 at mx.controls.listclasses::ListBase/selectItem()
 at mx.controls.listclasses::ListBase/mouseDownHandler()


Anybody see this issue, and found a fix?? I'm really desperate... 

Thank you for any help!!

-michael


** app.mxml

mx:HTTPService id=srv url=""
resultFormat=e4x useProxy=false result=resultHandler(event) /

mx:HorizontalList dataProvider={mediaAssets}
 height=200
 width=400
 listItemRenderer=Thumbnail
/mx:HorizontalList


** thumbnail.mxml

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml
   borderStyle=solid
   width=141
   height=180
   verticalAlign=middle 
   verticalGap=0
   vScrollPolicy=off
   hScrollPolicy=off

  mx:Image source=./{dataObject.previewFile}/
  mx:Label text=file: {dataObject.previewFile} /
/mx:VBox




Anybody experiencing problems with the HorizontalList in flex2?

Here's my problem:








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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: mx.controls.HorizontalList-like control

2005-11-15 Thread Michael Hansen



Matt,

Thank you very much for your reply. 

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

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

Do such a doc. exist at present? 

Any help would be much appreciated.

Cheers

 -michael




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

















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



Matt











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





Hi list,

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

Cheers

 -michael












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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  

















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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