[flexcoders] Dual core license policy

2005-11-03 Thread Mika Kiljunen










What is the Macromedias license policy on dual core
processors? Is a single dual core processor calculated as 1, 1.5 or 2
processors ? 

I couldnt find this info anywhere, but I think it
would be nice to know J



P.S. Microsoft counts em as 1 ;) 



-Mika











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

   
  







  
  
  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] Dual core license policy

2005-11-03 Thread Scott Barnes



Personally, i think that now that FLEX 2.0 is on the showroom floor,
any who have bought FLEX 1.5 already should get a big ol 1xFLEX per
Computer, not cpu ;) as theres no real direction anyone can go unless
they upgrade to Enterprise Services..

heh :) *(worth a shot)*
On 11/3/05, Mika Kiljunen [EMAIL PROTECTED] wrote:















What is the Macromedia's license policy on dual core
processors? Is a single dual core processor calculated as 1, 1.5 or 2
processors ? 

I couldn't find this info anywhere, but I think it
would be nice to know J




P.S. Microsoft counts 'em as 1… ;) 



-Mika











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

   
  







  
  
  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.




  










-- Regards,Scott Barneshttp://www.mossyblog.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



  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: component and generated source code?

2005-11-03 Thread Spike



There are options in the project settings to allow you to add compiler
arguments, but in the public alpha it doesn't work correctly.

The only way I know of to get it to generate the .as files is to use the command line compiler - mxmlc.exe

That lives in the Flex Framework 2 Alpha\bin directory which I think
is automatically added under the Flex Builder install if you use the
standalone install.

Once you've found it, you can compile a file using the following from the command line:

mxmlc -keep {path_to_file}

SpikeOn 11/3/05, Julian Suggate [EMAIL PROTECTED] wrote:



Hi all,

Anyone know where/if we can get our hands on the component source for the Flex2 Alpha?

Also, there's a directory underneath my FB2 project tree called
generated but it always seems empty! Is therea way to inspect
the generated as3 code in Flex2 projects? Just for interests sake more
than anything else...


Jules






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

   
  







  
  
  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.




  








-- Stephen MilliganDo you do the Badger?http://www.yellowbadger.com
Do you cfeclipse? http://www.cfeclipse.org






--
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] Creating custom v3 components

2005-11-03 Thread Xavi Beumala
For what I've seen v3 components are based on a template method pattern 
like did v2.

If I'm not wrong this is the method invocation workflow :
Constructor
Initialize
createChildren
childrenCreated
measure
updateDisplayList

Instead of calling invalidate() like in v2, now, if I'm not wrong, we 
can call redraw(Boolean) or invalidateDisplayList(). On the other hand 
when you call addChild, internally invalidateDisplayList is called. My 
problem is that if in updateDisplayList() overriden method I add an 
addChild statement then an infinite loop starts.

Is there a way to prevent this? Or the way is to keep out addChild 
statements from updateDisplayList method?

Thanks in advance


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Flow.as from Re: div like behaviour?

2005-11-03 Thread edeustace
hi,
thanks for the response, i suppose i could do something like that,
although after a quick test it would mean deferring a function call
using getTime(), so a workaround.

I was hoping that there is something more straightforward i could do
within the component. i suspect i am missing something in my
'layoutChildren()' method, like changing invalidate flags or the like,
that would get it to behave like the standard components.

I just need a better understanding of how components draw themselves.

thanks
ed

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

 Maybe give the boxes an initial visibility of false and then in
 creationComplete set the visibility to true?
 








 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Creating custom v3 components

2005-11-03 Thread Xavi Beumala
Sorry if this mail arribes twice, I've sent it before but I haven't 
received a copy...

For what I've seen v3 components are based on a template method pattern 
like did v2.

If I'm not wrong this is the method invocation workflow :
Constructor
Initialize
createChildren
childrenCreated
measure
updateDisplayList

Instead of calling invalidate() like in v2, now, if I'm not wrong, we 
can call redraw(Boolean) or invalidateDisplayList(). On the other hand 
when you call addChild, internally invalidateDisplayList is called. My 
problem is that if in updateDisplayList() overriden method I add an 
addChild statement then an infinite loop starts.

Is there a way to prevent this? Or the way is to keep out addChild 
statements from updateDisplayList method?

Thanks in advance



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Resizing images in a TileList

2005-11-03 Thread gootish
Hi, i have a little problem with a TileList in Flex 1.5.

The cellrenderer of my TileList, is a Thumbnail.mxml that´s only has 
an mx:Image:

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml;
horizontalAlign=center
verticalGap=0
width=100%
height=100%
hScrollPolicy=off 
vScrollPolicy=off

mx:Script
var element:Object;
var thumb:Object;

function setValue(str: String, item: Object) {
if (item==undefined) {
visible = false;
return;
} else {
element = item;
thumb = element.REPRESENTACIONES;

visible=true;
}
} 
/mx:Script

mx:Image id=image 
width=100
height=100 
source={thumb.THUMB}
horizontalAlign=center 
verticalAlign=middle
scaleContent=true/   
/mx:VBox


I have an mx:HSlider that´s determine the size of the tilelist´s 
items. When i change the value of HSlider, the size of items changed 
too, but the image dissapear. 

Anyone can help me?






 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Hi,

i'm extremely new to Flex and, although I've seen in a few days part 
of the potential it has to give, I still got a lot to learn.

Question comes here: I've tested the ability to drag-and-drop between 
two different custom components and it works amazingly well without 
demanding a lot of code. However, I'd like to do this between two 
different Flex files embedded in a JSP page (to accomplish some reuse 
of the SWF pages through the whole JSP application).

I've tested a few things and googled about it, without getting any 
conclusion. Is this possible? If so, how?

Thanks in advance
Pablo Apanasionek





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] To code-behind or not to code-behind?

2005-11-03 Thread Clint Modien



I was also raised .NET / Java and keep my code files the same name as the component and put them in a mx:Script source=ComponentName.as / 

It's probably personal perference but Flex Builder and the Eclipse plugin for mxml can't help at all with *.as formatting or any sort of tag completion if you keep your script in the mxml file. That... plus I love being able tosee the versions of the mxml files apart from the script in source control... shows me where we messed up in designing the UI higher version number in an mxml file means bad design up front.

And now for the inflamatory material IT'S JUST CLEANER... WHY WOULDN'T YOU KEEP YOUR CODE FILE SEPARATE???!?!?!?!?? *snickers*


On 11/2/05, Julian Suggate [EMAIL PROTECTED] wrote:

Gidday everyone,

Years back, I wrote php scripts with code embedded in the html and it led to maintenance hassles. Since then, I've migrated to Java and now .NET and what I liked about their models was the ability to separate the code into code-behind, something done quite elegantly in 
ASP.NET. These eliminated a lot of the maintenance problems I'd encountered earlier with PHP.

So when I saw macromedia's examples of mxml with mx:Script.../mx:Script blocks embedded directly into the mxml,I immediately searched for a way to avoid this. I found that i could add a source=.. attribute to the mx:Script element and the AS code would be included by the compiler from an external file at compile time. The IDE was even smart enough that any elements I'd defined with id attributes in the mxml showed up with intellisense in the included AS file (I am using Flex Builder 2, not sure if 
FB1.5 had that feature or not).

But now I'm having second thoughts. It kinda feels like going against thegrain. I don't want to carry old biases into a new paradigm unnecessarily. I read an article by Aral Balkan (of ARP fame) endorsing the code-behind approach quite strongly, but by the same token, all sample apps from the Cairngorm team freely mix mxml and AS code, as do examples from macromedia themselves. 


I note though, that the Cairngorm framework itself is all pure AS; it is only the sample apps that use inline actionscript. 

I can't seem to find a best practice anywhere, because for every framework/example/article I find that seems to hint at one way of doing things, I find another one that suggests the opposite! Has anyone else with more Flex experience than me answered this question, particularly in terms of which approach is easier to maintain? 


At this stage, any hintswould be appreciated!

TIA,
Jules--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] Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Clint Modien



Can you tell the list a bit more about your trying to do... it sounds like your going about this the wrong way?

On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
Hi,i'm extremely new to Flex and, although I've seen in a few days partof the potential it has to give, I still got a lot to learn.
Question comes here: I've tested the ability to drag-and-drop betweentwo different custom components and it works amazingly well withoutdemanding a lot of code. However, I'd like to do this between two
different Flex files embedded in a JSP page (to accomplish some reuseof the SWF pages through the whole JSP application).I've tested a few things and googled about it, without getting anyconclusion. Is this possible? If so, how?
Thanks in advancePablo Apanasionek Yahoo! Groups Sponsor ~--Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] Opening for Flash ActionScript programmers with Japanese skillset for Japan.

2005-11-03 Thread Dimitrios Gianninas





I double-checked, didn't 
approve this one, learned my lesson the first time. Must be a little gremlin in 
the system :)

Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven 
WebsterSent: Wednesday, November 02, 2005 10:14 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Opening for Flash 
ActionScript programmers with Japanese skillset for Japan.
Ok, which one of the moderators of flexcoders 
overenthusiasticallyapproved this emailusually it's me, but I feel 
self-righteousbeing able to point finger of blame at someone 
else.I'm going to accuse Andrew Spaulding, while hedging my bets with 
alooming shadow of doubt cast over Jimmy at Optimal 
Payments...:-)--Steven WebsterPractice Director (Rich 
Internet Applications)Macromedia Consulting EMEAOffice: + 44 (0) 131 
338 6108Mobile: +44 (0) 7917 428 947 -Original 
Message- From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Prabhu Santhanam Sent: 
02 November 2005 14:12 To: [EMAIL PROTECTED] 
Subject: [flexcoders] Opening for Flash ActionScript  programmers with 
Japanese skillset for Japan.  Opening for Flash ActionScript 
programmers with Japanese  skillset for Japan.





--
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] Yahoo Maps built with Flex!

2005-11-03 Thread David Mendels





Hi,

More 
info here: http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-power-of-flash/

I 
suspect this is the highest profile Flex app to date. Note there is also a 
developer API designed for Flex developers to use.

-David





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





  




  
  
  YAHOO! GROUPS LINKS



  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] Opening for Flash ActionScript programmers with Japanese skillset for Japan.

2005-11-03 Thread Clint Modien



If a person is a contributing member of the group is it considered ok for them to post jobs?
*The answer should be yes... I'm just posting it here because I was asked the question a while ago and my reply was yes.*

On 11/3/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote:

I double-checked, didn't approve this one, learned my lesson the first time. Must be a little gremlin in the system :)


Dimitrios Jimmy Gianninas
RIADeveloper
Optimal Payments Inc.



From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Steven WebsterSent: Wednesday, November 02, 2005 10:14 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Opening for Flash ActionScript programmers with Japanese skillset for Japan.
Ok, which one of the moderators of flexcoders overenthusiasticallyapproved this emailusually it's me, but I feel self-righteousbeing able to point finger of blame at someone else.I'm going to accuse Andrew Spaulding, while hedging my bets with a
looming shadow of doubt cast over Jimmy at Optimal Payments...:-)--Steven WebsterPractice Director (Rich Internet Applications)Macromedia Consulting EMEAOffice: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947 -Original Message- From: flexcoders@yahoogroups.com
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Prabhu Santhanam Sent: 02 November 2005 14:12
 To: [EMAIL PROTECTED] Subject: [flexcoders] Opening for Flash ActionScript 
 programmers with Japanese skillset for Japan.  Opening for Flash ActionScript programmers with Japanese  skillset for Japan.--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
  

   
  







  
  
  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] Yahoo Maps built with Flex!

2005-11-03 Thread hank williams
Wow.

This is the first app where you can easily compare apples to oranges.
I cant tell you how many people really cant understand the difference
between flash/flex and DHTML/ajax. Its wierd. Its like there is some
developer stupidity field that can be very hard to break through. This
is exactly the kind of thing that is needed to help people understand.

Hank

On 11/3/05, David Mendels [EMAIL PROTECTED] wrote:

 Hi,

 More info here:
 http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-power-of-flash/

 I suspect this is the highest profile Flex app to date.  Note there is also
 a developer API designed for Flex developers to use.

 -David

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



  
  YAHOO! GROUPS LINKS


  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.

  



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Robert Thompson
Why does the Flex API require use of a Shockwave
Control instead of simply the Flash control?

Although I'm not saying this is the case, there is
prob. only one thing I'm sensetive to when it comes to
macromedia, and that would be anything going on to try
to unnecessarily require someone to adopt a certain
technology only for the sake of spreading it (e.g. I
like the new plans for Flex2 that won't _require_
getting involved in the huge license of Flex
Presentation Server; on the same token, all my
customers have complained heavily in the past about
Shockwave versus Flash; Flash is _always_ preferred).

-r


--- David Mendels [EMAIL PROTECTED] wrote:

 Hi,
  
 More info here:

http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-power-of-flash
 /
  
 I suspect this is the highest profile Flex app to
 date.  Note there is
 also a developer API designed for Flex developers to
 use.
  
 -David
 




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread hank williams
On 11/3/05, Robert Thompson [EMAIL PROTECTED] wrote:
 Why does the Flex API require use of a Shockwave
 Control instead of simply the Flash control?


I dont think this is true.

Hank


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread JesterXL





API's pretty dead simple, too... what isn't in 
Flex?

For those who want the direct link:
http://ws1.inf.scd.yahoo.com/maps/flash/flexGettingStarted.html

Insane amount of methods, too.

yahoo:YahooMap id="myMap" 
width="550" height="400" zoomLevel="3" latitude="37.77159" 
longitude="-122.401714" / 

- Original Message - 
From: David 
Mendels 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 8:47 AM
Subject: [flexcoders] Yahoo Maps built with Flex!

Hi,

More 
info here: http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-power-of-flash/

I 
suspect this is the highest profile Flex app to date. Note there is also a 
developer API designed for Flex developers to use.

-David





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] Yahoo Maps built with Flex!

2005-11-03 Thread Ben Forta





 Why does the Flex API require use of a 
Shockwave Control instead of 
simply the Flash control?

This 
is incorrect. Flex apps are run by the Flash player, not the Shockwave 
player.

--- 
Ben



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Robert 
ThompsonSent: Thursday, November 03, 2005 9:08 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Yahoo Maps built 
with Flex!
Why does the Flex API require use of a ShockwaveControl 
instead of simply the Flash control?Although I'm not saying this is the 
case, there isprob. only one thing I'm sensetive to when it comes 
tomacromedia, and that would be anything going on to tryto unnecessarily 
require someone to adopt a certaintechnology only for the sake of spreading 
it (e.g. Ilike the new plans for Flex2 that won't _require_getting 
involved in the huge license of FlexPresentation Server; on the same token, 
all mycustomers have complained heavily in the past aboutShockwave 
versus Flash; Flash is _always_ preferred).-r--- David 
Mendels [EMAIL PROTECTED] wrote: Hi, 
 More info here:http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-power-of-flash 
/  I suspect this is the highest profile Flex app 
to date. Note there is also a developer API designed for 
Flex developers to use.  -David 
  
__ Yahoo! FareChase: Search multiple 
travel sites in one click.http://farechase.yahoo.com





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





  




  
  
  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] Yahoo Maps Example

2005-11-03 Thread JesterXL
For those who want to see a quick example, you can download the SWC 
(stupidly called Shockave control on the site, that's where the confusion 
came in), and use this code.  Keep in mind the sliders are NOT BACKWARDS! 
Since I'm not a map geek, this was my first lesson in latitude  longitude 
as applied to map movements.

--JesterXL

?xml version=1.0 encoding=utf-8?
mx:Application
 xmlns:mx=http://www.macromedia.com/2003/mxml;
 xmlns:yahoo=com.yahoo.maps.api.flex.*
 initialize=onMapInit()

 mx:Script
 ![CDATA[

// import mx.managers.PopUpManager;
 import mx.utils.Delegate;

 import com.yahoo.maps.LatLon;
 import com.yahoo.maps.Marker;
 import com.yahoo.maps.markers.CustomSWFMarker;
 import com.yahoo.maps.markers.WaypointMarker;
 import com.yahoo.maps.api.flex.YahooMap;

 public var latitude:Number = 37.771829;
 public var longitude:Number = -122.401681;

 //private var debugWindow:DebugWindow;

 function onMapInit():Void
 {
  //debugWindow = DebugWindow(PopUpManager.createPopUp(this, DebugWindow, 
false));
  //debugWindow.move(400, 400);
 }

 function onYahooMapInit()
 {
  //d(start map lat:  + map_ym.latitude);
  //d(start map long:  + map_ym.longitude);
  //dProps(WaypointMarker);
  lat_slider.value = latitude;
  //d(long_slider.value:  + long_slider.value);
  //d(longitude:  + longitude);
  long_slider.value = longitude;
  //d(long_slider.value:  + long_slider.value);
  zoom_slider.value = map_ym.getZoomLevel();

  var a:LatLon = new LatLon(latitude, longitude);
  map_ym.setCenterByLatLon(a, 0, false);

  //var a:LatLon = new LatLon(latitude, longitude);
  //var m = map_ym.addMarkerByLatLon(CustomSWFMarker, map_ym.getCenter(), 
{url: bluebox.swf});
  //m.addEventListener(YahooMap.MARKER_INITIALIZE, Delegate.create(this, 
onMarker));
  //m.addEventListener(toolAdded, this);
  //var rs = m.callCustomMethod(getMoo);
  //d(rs:  + rs);
  //var m = map_ym.addMarkerByLatLon(WaypointMarker, map_ym.getCenter());
  //d(m.isVisible:  + m.isVisible());
  //m.show();
 }

 function onMarker(o)
 {
  d(onMarker);
 }


 function d(o)
 {
  //debugWindow.d(o);
 }

 public function dProps(o)
 {
  for(var p in o)
  {
   d(p + :  + o[p]);
  }
 }

 function updateCords():Void
 {
  //d(before lat:  + latitude);
  //d(before long:  + longitude);
  //d(before map lat:  + map_ym.latitude);
  //d(before map long:  + map_ym.longitude);
  latitude = lat_slider.value;
  longitude = long_slider.value;
  //d(after lat:  + latitude);
  //d(after long:  + longitude);


  var a:LatLon = new LatLon(latitude, longitude);
  map_ym.setCenterByLatLon(a, 3000, false);
  /*
  d(a.lat:  + a.lat);
  d(a.lon:  + a.lon);
  d(after map lat:  + map_ym.latitude);
  d(after map long:  + map_ym.longitude);
  */
 }

 private function updateZoom()
 {
  map_ym.setZoomLevel(zoom_slider.value);
 }


 ]]
 /mx:Script

 mx:Canvas
  width=100% height=100%

   yahoo:YahooMap
id=map_ym
x=0
y=0
latitude={latitude}
longitude={longitude}
width=100%
height=100%
zoomLevel=5
initialize=onYahooMapInit() /

 mx:HSlider
id=lat_slider
x=5
y=206
width=200
liveDragging=false
minimum=-200 maximum=200
showToolTip=true
thumbCount=1
thumbReleased=updateCords()/

   mx:VSlider
id=long_slider
x=200
y=6
height=200
liveDragging=false
minimum=-200 maximum=200
showToolTip=true
thumbCount=1
thumbReleased=updateCords()/

   mx:HSlider
id=zoom_slider
x=4
y=0
width=180
liveDragging=false
minimum=1
maximum=17
showToolTip=true
thumbCount=1
thumbReleased=updateZoom() snapInterval=1 tickInterval=1 
height=22 /


 /mx:Canvas

/mx:Application 



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Brian Deitte
The Flex API for Yahoo Maps does not require Shockwave.  The pure-Flash,
nothing-Shockwave-in-it SWC format is named SWC for historical reasons
(ie, we never changed it to something that makes more sense).  Yahoo
gives the full name, ShockWave(r) Control, in one place that I noticed.
Hopefully they can change this to just say SWC.  -Brian


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson
 Sent: Thursday, November 03, 2005 9:08 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Yahoo Maps built with Flex!
 
 Why does the Flex API require use of a Shockwave
 Control instead of simply the Flash control?
 
 Although I'm not saying this is the case, there is
 prob. only one thing I'm sensetive to when it comes to
 macromedia, and that would be anything going on to try
 to unnecessarily require someone to adopt a certain
 technology only for the sake of spreading it (e.g. I
 like the new plans for Flex2 that won't _require_
 getting involved in the huge license of Flex
 Presentation Server; on the same token, all my
 customers have complained heavily in the past about
 Shockwave versus Flash; Flash is _always_ preferred).
 
 -r
 
 
 --- David Mendels [EMAIL PROTECTED] wrote:
 
  Hi,
   
  More info here:
 
 http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-powe
 r-of-flash
  /
   
  I suspect this is the highest profile Flex app to
  date.  Note there is
  also a developer API designed for Flex developers to
  use.
   
  -David
  
 
 
 
   
 __ 
 Yahoo! FareChase: Search multiple travel sites in one click.
 http://farechase.yahoo.com
 
 
  Yahoo! Groups Sponsor 
 ~-- 
 Most low income households are not online. Help bridge the 
 digital divide today!
 http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Sure!

First of all, I have my JSP based application, which manages all the 
interaction between pages and business objects.

When reaching the frontend subject, we thought of Flex for that job. 
So we began analyzing building some UI components which combine 
business logic in a fancy way. Those components (in SWF format), 
we'd like to use several times across the application, in different 
use cases.

At the bottom line, we end up having (for example) a JSP page with 
2+ embedded SWF/Flex files, that we would like to interact with each 
other. For instance, imagine a Registration component working with 
a Shopping Cart component as two different SWF files in the same 
JSP, and then reusing the Registration one with another SWF file 
in another page.

I might be looking it the wrong way, but it's the approach we were 
looking for. (By the way, I'd be really interesting to find out it 
is wrong.) =)

Thanks in advance

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

 Can you tell the list a bit more about your trying to do... it 
sounds like
 your going about this the wrong way?
 
  On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
 
  Hi,
 
  i'm extremely new to Flex and, although I've seen in a few days 
part
  of the potential it has to give, I still got a lot to learn.
 
  Question comes here: I've tested the ability to drag-and-drop 
between
  two different custom components and it works amazingly well 
without
  demanding a lot of code. However, I'd like to do this between two
  different Flex files embedded in a JSP page (to accomplish some 
reuse
  of the SWF pages through the whole JSP application).
 
  I've tested a few things and googled about it, without getting 
any
  conclusion. Is this possible? If so, how?
 
  Thanks in advance
  Pablo Apanasionek
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 








 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Weyert de Boer
Their are some minor issues with it :-) Such as, NaN in the Local Event 
Browser.


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: problem adapting to FLEX 2 on defining variables

2005-11-03 Thread yaagcur
Yep. That would be no problem. But I want to do
other stuff like set a title based on a combination of the result fields.
It also bugging me that I cannot get a handle on something pretty basic :)

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

 So why not take that array collection that worked and assign to the
 DataGrid?  That's what DataGrid expects now.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of yaagcur
 Sent: Wednesday, November 02, 2005 8:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] problem adapting to FLEX 2 on defining variables
 
  
 
 I had  the following working OK in FLEX 1.5
 
 mx:Script
   ![CDATA[
 var gridResult:Object
 
 function getPlayersResultHandler(result):Void {
 
 gridResult=result;
 // other stuff
 }
 
 ]]
 /mx:Script
 
 mx:DataGrid dataProvider={gridResult}
 
 However I am finding it impossible to duplicate in FLEX2/AS3
 
 I have tried various alternatives e.g
 [BINDABLE]
 public var myTest:Object - which gives me a no type declaration error
 
 Placing the variable within the resulthandler gives an access of
 undefined property error (predictably I suppose) in the mx:DataGrid
 
 The data is coming across OK because if I alternatively do
 mx:ArrayCollection id=gridResult
 source={mx.utils.ArrayUtil.toArray(ContactService.getPlayers.result)}
 /
 I can populate fine
 And also putting breakpoints in the resulthandler I get debug results
 e.g
 result=[](0x6c5c746)
 [0] Object
 FULLNAME=Joe Blow
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
 5l1Q  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
 NcnaqQ  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
 OxaXG2Sg  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg  
 
  
 
  
 
  
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Robert Thompson
  Why does the Flex API require use of a Shockwave
  Control instead of simply the Flash control?
 
 I dont think this is true.


Maybe I'm just mis-understanding this (is SWC a new
way to deploy Flex Builder components or something?):

From
http://ws1.inf.scd.yahoo.com/maps/flash/flexGettingStarted.html

In order to create and test applications using Yahoo!
Flash Maps using the Flex component, you'll need...You
will also need to accept the terms and download the
Yahoo! Maps SWC (ShockWave® Control) file that
contains the Flex components.




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps Example

2005-11-03 Thread Robert Thompson
Thanks Jester!

It's obvious of course as has been said that Flash
Player is used for presentation of Flex -- still the
SWC as you say and I agree, is a big mistake as it can
cause shock :-/

Besides this mistake though, seems Yahoo is starting
to get it's act together in working with developers;
i'm sure to compete with Google.

I really see huge things for Web Services and Flex in
the next 1-3 yearswith the smooth performance of
Flash 8 Video, I just have to believe it's possible to
do one-up on DirectX and create a unifying OSX WINXP
3D model that is xml tag based in description of
object, environments, etc.  If this issue is somewhere
in there, the sky's the limit (as long as the
corp.anality stays out; but w/ the nice change in
reasonable deployment model for Flex2 I see good
things only).

--- JesterXL [EMAIL PROTECTED] wrote:

 For those who want to see a quick example, you can
 download the SWC 
 (stupidly called Shockave control on the site,
 that's where the confusion 
 came in), and use this code.  Keep in mind the
 sliders are NOT BACKWARDS! 
 Since I'm not a map geek, this was my first lesson
 in latitude  longitude 
 as applied to map movements.
 
 --JesterXL
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application
  xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns:yahoo=com.yahoo.maps.api.flex.*
  initialize=onMapInit()
 
  mx:Script
  ![CDATA[
 
 // import mx.managers.PopUpManager;
  import mx.utils.Delegate;
 
  import com.yahoo.maps.LatLon;
  import com.yahoo.maps.Marker;
  import com.yahoo.maps.markers.CustomSWFMarker;
  import com.yahoo.maps.markers.WaypointMarker;
  import com.yahoo.maps.api.flex.YahooMap;
 
  public var latitude:Number = 37.771829;
  public var longitude:Number = -122.401681;
 
  //private var debugWindow:DebugWindow;
 
  function onMapInit():Void
  {
   //debugWindow =
 DebugWindow(PopUpManager.createPopUp(this,
 DebugWindow, 
 false));
   //debugWindow.move(400, 400);
  }
 
  function onYahooMapInit()
  {
   //d(start map lat:  + map_ym.latitude);
   //d(start map long:  + map_ym.longitude);
   //dProps(WaypointMarker);
   lat_slider.value = latitude;
   //d(long_slider.value:  + long_slider.value);
   //d(longitude:  + longitude);
   long_slider.value = longitude;
   //d(long_slider.value:  + long_slider.value);
   zoom_slider.value = map_ym.getZoomLevel();
 
   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 0, false);
 
   //var a:LatLon = new LatLon(latitude, longitude);
   //var m =
 map_ym.addMarkerByLatLon(CustomSWFMarker,
 map_ym.getCenter(), 
 {url: bluebox.swf});
   //m.addEventListener(YahooMap.MARKER_INITIALIZE,
 Delegate.create(this, 
 onMarker));
   //m.addEventListener(toolAdded, this);
   //var rs = m.callCustomMethod(getMoo);
   //d(rs:  + rs);
   //var m = map_ym.addMarkerByLatLon(WaypointMarker,
 map_ym.getCenter());
   //d(m.isVisible:  + m.isVisible());
   //m.show();
  }
 
  function onMarker(o)
  {
   d(onMarker);
  }
 
 
  function d(o)
  {
   //debugWindow.d(o);
  }
 
  public function dProps(o)
  {
   for(var p in o)
   {
d(p + :  + o[p]);
   }
  }
 
  function updateCords():Void
  {
   //d(before lat:  + latitude);
   //d(before long:  + longitude);
   //d(before map lat:  + map_ym.latitude);
   //d(before map long:  + map_ym.longitude);
   latitude = lat_slider.value;
   longitude = long_slider.value;
   //d(after lat:  + latitude);
   //d(after long:  + longitude);
 
 
   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 3000, false);
   /*
   d(a.lat:  + a.lat);
   d(a.lon:  + a.lon);
   d(after map lat:  + map_ym.latitude);
   d(after map long:  + map_ym.longitude);
   */
  }
 
  private function updateZoom()
  {
   map_ym.setZoomLevel(zoom_slider.value);
  }
 
 
  ]]
  /mx:Script
 
  mx:Canvas
   width=100% height=100%
 
yahoo:YahooMap
 id=map_ym
 x=0
 y=0
 latitude={latitude}
 longitude={longitude}
 width=100%
 height=100%
 zoomLevel=5
 initialize=onYahooMapInit() /
 
  mx:HSlider
 id=lat_slider
 x=5
 y=206
 width=200
 liveDragging=false
 minimum=-200 maximum=200
 showToolTip=true
 thumbCount=1
 thumbReleased=updateCords()/
 
mx:VSlider
 id=long_slider
 x=200
 y=6
 height=200
 liveDragging=false
 minimum=-200 maximum=200
 showToolTip=true
 thumbCount=1
 thumbReleased=updateCords()/
 
mx:HSlider
 id=zoom_slider
 x=4
 y=0
 width=180
 liveDragging=false
 minimum=1
 maximum=17
 showToolTip=true
 thumbCount=1
 thumbReleased=updateZoom() snapInterval=1
 tickInterval=1 
 height=22 /
 
 
  /mx:Canvas
 
 /mx:Application 
 
 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!

RE: [flexcoders] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Tom Versweyveld
It's not possible to drag an mc from one embedded swf to another, not
visually, at least...
So the only option imo, is to design your html page in such a way that
the 2 swfs can be loaded into 1 wrapper swf...essentially making it 1
application...
You can however, let two embedded swfs transfer data to another using
localconnection, but then you loose the visual dd handling...

Grtz,
t

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pablo Apanasionek
Sent: donderdag 3 november 2005 15:40
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between two
Flex-SWF files

Sure!

First of all, I have my JSP based application, which manages all the 
interaction between pages and business objects.

When reaching the frontend subject, we thought of Flex for that job. 
So we began analyzing building some UI components which combine 
business logic in a fancy way. Those components (in SWF format), 
we'd like to use several times across the application, in different 
use cases.

At the bottom line, we end up having (for example) a JSP page with 
2+ embedded SWF/Flex files, that we would like to interact with each 
other. For instance, imagine a Registration component working with 
a Shopping Cart component as two different SWF files in the same 
JSP, and then reusing the Registration one with another SWF file 
in another page.

I might be looking it the wrong way, but it's the approach we were 
looking for. (By the way, I'd be really interesting to find out it 
is wrong.) =)

Thanks in advance

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

 Can you tell the list a bit more about your trying to do... it 
sounds like
 your going about this the wrong way?
 
  On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
 
  Hi,
 
  i'm extremely new to Flex and, although I've seen in a few days 
part
  of the potential it has to give, I still got a lot to learn.
 
  Question comes here: I've tested the ability to drag-and-drop 
between
  two different custom components and it works amazingly well 
without
  demanding a lot of code. However, I'd like to do this between two
  different Flex files embedded in a JSP page (to accomplish some 
reuse
  of the SWF pages through the whole JSP application).
 
  I've tested a few things and googled about it, without getting 
any
  conclusion. Is this possible? If so, how?
 
  Thanks in advance
  Pablo Apanasionek
 
 
 
 
 
 
  --
  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



 




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Ian Welsh
And no United Kingdom - sob, sob.

Ian 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Weyert de Boer
Sent: 03 November 2005 14:42
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Yahoo Maps built with Flex!

Their are some minor issues with it :-) Such as, NaN in the Local Event
Browser.



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



 








 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Merrill, Jason










As has already been pointed out, this part
of their text: SWC (ShockWave Control) is incorrect. 



Read this and also read up on swc on macromedia.com

http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=3109.html







Jason
Merrill | E-Learning Solutions |
icfconsulting.com 






















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Thompson
Sent: Thursday, November 03, 2005
9:48 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Yahoo
Maps built with Flex!





  Why does the Flex
API require use of a Shockwave
  Control instead of simply the Flash
control?
 
 I dont think this is true.


Maybe I'm just mis-understanding this (is SWC a
new
way to deploy Flex Builder components or
something?):

From
http://ws1.inf.scd.yahoo.com/maps/flash/flexGettingStarted.html

In order to create and test applications using
Yahoo!
Flash Maps using the Flex component, you'll
need...You
will also need to accept the terms and download
the
Yahoo! Maps SWC (ShockWave Control) file that
contains the Flex components.


 

 
__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



NOTICE:
This message is for the designated recipient only and may 
contain privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original.Any 
other use of this e-mail by you is prohibited.






--
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] Yahoo Maps built with Flex!

2005-11-03 Thread JesterXL
It's called web content writers that know diddly squat about what they are 
writing.

SWC is like a Java JAR file; it contains code and assets applicable to a 
control.

The Flex SWC is just the packaged component; a zip file with the component 
in a SWF + code defintion files used for compiling + catalog XML file + icon 
file + all other assets.

The Flex framework is demployed in an .swc file as well.

I can either give you a bunch of folders full of code that you must compile, 
or I can give you 1 swc file that's already compiled, with the flexibility 
of it compiling into your app.

- Original Message - 
From: Robert Thompson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 9:47 AM
Subject: Re: [flexcoders] Yahoo Maps built with Flex!


  Why does the Flex API require use of a Shockwave
  Control instead of simply the Flash control?

 I dont think this is true.


Maybe I'm just mis-understanding this (is SWC a new
way to deploy Flex Builder components or something?):

From
http://ws1.inf.scd.yahoo.com/maps/flash/flexGettingStarted.html

In order to create and test applications using Yahoo!
Flash Maps using the Flex component, you'll need...You
will also need to accept the terms and download the
Yahoo! Maps SWC (ShockWave® Control) file that
contains the Flex components.




__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com



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







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps Example

2005-11-03 Thread JesterXL
The SWC file is great, the way it's written is blasphemy; I agree it should 
be changed, and damn quick before the blogsphere picks it up full steam.

- Original Message - 
From: Robert Thompson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 9:53 AM
Subject: Re: [flexcoders] Yahoo Maps Example


Thanks Jester!

It's obvious of course as has been said that Flash
Player is used for presentation of Flex -- still the
SWC as you say and I agree, is a big mistake as it can
cause shock :-/

Besides this mistake though, seems Yahoo is starting
to get it's act together in working with developers;
i'm sure to compete with Google.

I really see huge things for Web Services and Flex in
the next 1-3 yearswith the smooth performance of
Flash 8 Video, I just have to believe it's possible to
do one-up on DirectX and create a unifying OSX WINXP
3D model that is xml tag based in description of
object, environments, etc.  If this issue is somewhere
in there, the sky's the limit (as long as the
corp.anality stays out; but w/ the nice change in
reasonable deployment model for Flex2 I see good
things only).

--- JesterXL [EMAIL PROTECTED] wrote:

 For those who want to see a quick example, you can
 download the SWC
 (stupidly called Shockave control on the site,
 that's where the confusion
 came in), and use this code.  Keep in mind the
 sliders are NOT BACKWARDS!
 Since I'm not a map geek, this was my first lesson
 in latitude  longitude
 as applied to map movements.

 --JesterXL

 ?xml version=1.0 encoding=utf-8?
 mx:Application
  xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns:yahoo=com.yahoo.maps.api.flex.*
  initialize=onMapInit()

  mx:Script
  ![CDATA[

 // import mx.managers.PopUpManager;
  import mx.utils.Delegate;

  import com.yahoo.maps.LatLon;
  import com.yahoo.maps.Marker;
  import com.yahoo.maps.markers.CustomSWFMarker;
  import com.yahoo.maps.markers.WaypointMarker;
  import com.yahoo.maps.api.flex.YahooMap;

  public var latitude:Number = 37.771829;
  public var longitude:Number = -122.401681;

  //private var debugWindow:DebugWindow;

  function onMapInit():Void
  {
   //debugWindow =
 DebugWindow(PopUpManager.createPopUp(this,
 DebugWindow,
 false));
   //debugWindow.move(400, 400);
  }

  function onYahooMapInit()
  {
   //d(start map lat:  + map_ym.latitude);
   //d(start map long:  + map_ym.longitude);
   //dProps(WaypointMarker);
   lat_slider.value = latitude;
   //d(long_slider.value:  + long_slider.value);
   //d(longitude:  + longitude);
   long_slider.value = longitude;
   //d(long_slider.value:  + long_slider.value);
   zoom_slider.value = map_ym.getZoomLevel();

   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 0, false);

   //var a:LatLon = new LatLon(latitude, longitude);
   //var m =
 map_ym.addMarkerByLatLon(CustomSWFMarker,
 map_ym.getCenter(),
 {url: bluebox.swf});
   //m.addEventListener(YahooMap.MARKER_INITIALIZE,
 Delegate.create(this,
 onMarker));
   //m.addEventListener(toolAdded, this);
   //var rs = m.callCustomMethod(getMoo);
   //d(rs:  + rs);
   //var m = map_ym.addMarkerByLatLon(WaypointMarker,
 map_ym.getCenter());
   //d(m.isVisible:  + m.isVisible());
   //m.show();
  }

  function onMarker(o)
  {
   d(onMarker);
  }


  function d(o)
  {
   //debugWindow.d(o);
  }

  public function dProps(o)
  {
   for(var p in o)
   {
d(p + :  + o[p]);
   }
  }

  function updateCords():Void
  {
   //d(before lat:  + latitude);
   //d(before long:  + longitude);
   //d(before map lat:  + map_ym.latitude);
   //d(before map long:  + map_ym.longitude);
   latitude = lat_slider.value;
   longitude = long_slider.value;
   //d(after lat:  + latitude);
   //d(after long:  + longitude);


   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 3000, false);
   /*
   d(a.lat:  + a.lat);
   d(a.lon:  + a.lon);
   d(after map lat:  + map_ym.latitude);
   d(after map long:  + map_ym.longitude);
   */
  }

  private function updateZoom()
  {
   map_ym.setZoomLevel(zoom_slider.value);
  }


  ]]
  /mx:Script

  mx:Canvas
   width=100% height=100%

yahoo:YahooMap
 id=map_ym
 x=0
 y=0
 latitude={latitude}
 longitude={longitude}
 width=100%
 height=100%
 zoomLevel=5
 initialize=onYahooMapInit() /

  mx:HSlider
 id=lat_slider
 x=5
 y=206
 width=200
 liveDragging=false
 minimum=-200 maximum=200
 showToolTip=true
 thumbCount=1
 thumbReleased=updateCords()/

mx:VSlider
 id=long_slider
 x=200
 y=6
 height=200
 liveDragging=false
 minimum=-200 maximum=200
 showToolTip=true
 thumbCount=1
 thumbReleased=updateCords()/

mx:HSlider
 id=zoom_slider
 x=4
 y=0
 width=180
 liveDragging=false
 minimum=1
 maximum=17
 showToolTip=true
 thumbCount=1
 thumbReleased=updateZoom() snapInterval=1
 tickInterval=1
 height=22 /


  /mx:Canvas

 /mx:Application

Re: [flexcoders] Yahoo Maps Example

2005-11-03 Thread JesterXL
Keep in mind, Yahoo! is one of the few large companies that publicly hosts a 
crossdomain.xml file to allow Flash developers to access their webservice 
API's.  Flex doesn't really need this if you use the server as a proxy, but 
they have a plethora of API's they have been pushing for awhile.

However, it really makes developers take you seriously when you deploy 
applications that utilize some of those very services you are offering.

- Original Message - 
From: JesterXL [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 9:57 AM
Subject: Re: [flexcoders] Yahoo Maps Example


The SWC file is great, the way it's written is blasphemy; I agree it should
be changed, and damn quick before the blogsphere picks it up full steam.

- Original Message - 
From: Robert Thompson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 9:53 AM
Subject: Re: [flexcoders] Yahoo Maps Example


Thanks Jester!

It's obvious of course as has been said that Flash
Player is used for presentation of Flex -- still the
SWC as you say and I agree, is a big mistake as it can
cause shock :-/

Besides this mistake though, seems Yahoo is starting
to get it's act together in working with developers;
i'm sure to compete with Google.

I really see huge things for Web Services and Flex in
the next 1-3 yearswith the smooth performance of
Flash 8 Video, I just have to believe it's possible to
do one-up on DirectX and create a unifying OSX WINXP
3D model that is xml tag based in description of
object, environments, etc.  If this issue is somewhere
in there, the sky's the limit (as long as the
corp.anality stays out; but w/ the nice change in
reasonable deployment model for Flex2 I see good
things only).

--- JesterXL [EMAIL PROTECTED] wrote:

 For those who want to see a quick example, you can
 download the SWC
 (stupidly called Shockave control on the site,
 that's where the confusion
 came in), and use this code.  Keep in mind the
 sliders are NOT BACKWARDS!
 Since I'm not a map geek, this was my first lesson
 in latitude  longitude
 as applied to map movements.

 --JesterXL

 ?xml version=1.0 encoding=utf-8?
 mx:Application
  xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns:yahoo=com.yahoo.maps.api.flex.*
  initialize=onMapInit()

  mx:Script
  ![CDATA[

 // import mx.managers.PopUpManager;
  import mx.utils.Delegate;

  import com.yahoo.maps.LatLon;
  import com.yahoo.maps.Marker;
  import com.yahoo.maps.markers.CustomSWFMarker;
  import com.yahoo.maps.markers.WaypointMarker;
  import com.yahoo.maps.api.flex.YahooMap;

  public var latitude:Number = 37.771829;
  public var longitude:Number = -122.401681;

  //private var debugWindow:DebugWindow;

  function onMapInit():Void
  {
   //debugWindow =
 DebugWindow(PopUpManager.createPopUp(this,
 DebugWindow,
 false));
   //debugWindow.move(400, 400);
  }

  function onYahooMapInit()
  {
   //d(start map lat:  + map_ym.latitude);
   //d(start map long:  + map_ym.longitude);
   //dProps(WaypointMarker);
   lat_slider.value = latitude;
   //d(long_slider.value:  + long_slider.value);
   //d(longitude:  + longitude);
   long_slider.value = longitude;
   //d(long_slider.value:  + long_slider.value);
   zoom_slider.value = map_ym.getZoomLevel();

   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 0, false);

   //var a:LatLon = new LatLon(latitude, longitude);
   //var m =
 map_ym.addMarkerByLatLon(CustomSWFMarker,
 map_ym.getCenter(),
 {url: bluebox.swf});
   //m.addEventListener(YahooMap.MARKER_INITIALIZE,
 Delegate.create(this,
 onMarker));
   //m.addEventListener(toolAdded, this);
   //var rs = m.callCustomMethod(getMoo);
   //d(rs:  + rs);
   //var m = map_ym.addMarkerByLatLon(WaypointMarker,
 map_ym.getCenter());
   //d(m.isVisible:  + m.isVisible());
   //m.show();
  }

  function onMarker(o)
  {
   d(onMarker);
  }


  function d(o)
  {
   //debugWindow.d(o);
  }

  public function dProps(o)
  {
   for(var p in o)
   {
d(p + :  + o[p]);
   }
  }

  function updateCords():Void
  {
   //d(before lat:  + latitude);
   //d(before long:  + longitude);
   //d(before map lat:  + map_ym.latitude);
   //d(before map long:  + map_ym.longitude);
   latitude = lat_slider.value;
   longitude = long_slider.value;
   //d(after lat:  + latitude);
   //d(after long:  + longitude);


   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 3000, false);
   /*
   d(a.lat:  + a.lat);
   d(a.lon:  + a.lon);
   d(after map lat:  + map_ym.latitude);
   d(after map long:  + map_ym.longitude);
   */
  }

  private function updateZoom()
  {
   map_ym.setZoomLevel(zoom_slider.value);
  }


  ]]
  /mx:Script

  mx:Canvas
   width=100% height=100%

yahoo:YahooMap
 id=map_ym
 x=0
 y=0
 latitude={latitude}
 longitude={longitude}
 width=100%
 height=100%
 zoomLevel=5
 initialize=onYahooMapInit() /

  mx:HSlider
 id=lat_slider
 x=5

[flexcoders] AMFPHP

2005-11-03 Thread Jesse Cardoso Mota





Hi,

Where I can find some examples of Flex and 
AMFPHP?

Thanks
Jesse





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

   
  







  
  
  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] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread John Crosby



I'm having trouble with dispatchEvent in an AS 3.0 Class:  package com {public class DataVO {   import flash.events.*;...   [Bindable("sampleChanged")]  public function get sample_ac():ArrayCollection  {   return _sample_ac;  }  public function set sample_ac(value:ArrayCollection):Void  {   _sample_ac = value;   var evt:Event = new Event("sampleChanged", true, true);   dispatchEvent(evt);  }  } }  I get the compile error: Access of undefined property dispatchEvent  Any help would be appreciated. TIA.  - John Crosby






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

   
  







  
  
  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] To code-behind or not to code-behind?

2005-11-03 Thread Robert Thompson
So what's the best practices for this process of
seperating the MXML and AS?

I'm just getting up to speed with Cairngorm so I
figure it would be good to get into the right habits
now.

I would like to note, however, that one can go into a
resursive perceived optimization extrme with just
about any model, until the effort at not ever
repeating anything actually becomes a burden in
itself...so I don't believe there is a
purest/extremist view that should be applied to any
model.

There's a threshold of waiting in the wings while
designing where it just becomes the right time to
seperate into an abstractino; granted, I realize
code-behind isn't necessarily exactly like an actual
pure design (but then again after 3 years of ASP.Net I
realize how overkill it can be and I'm finding much
more comfort in Java designs; webservices).  I've did
an IBuySpy store and found after considering it's
implementation after 2 years to be just outright
un-elegant.  C#.Net and VB.Net is more elegant as far
as what .Net can really do...and Web Services is
really the best target for that and I find MXML
consumes them quite well thank you.

The way I see it, the majority of the future is Web
Services WDSL and Flex Presentation Tier (long term
even as long as there is a 3D modelling project for
the future of Flash).

-r

--- Matt Horn [EMAIL PROTECTED] wrote:

 Guilty. The examples in the Flex documentation
 usually mix AS and
 MXML... but we do this mostly for readability. Plus,
 we want people to
 be able to just copy a sample out of the doc and
 paste it into a file
 and run it -- without worrying about file
 structures, relative vs
 absolute paths, etc. 
  
 This doesn't mean we shouldn't try to improve on the
 samples somehow...
  
 matt horn
 flex docs
 
 
 
 
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Julian Suggate
   Sent: Wednesday, November 02, 2005 10:31 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] To code-behind or not to
 code-behind?
   
   
   Gidday everyone,

   Years back, I wrote php scripts with code embedded
 in the html
 and it led to maintenance hassles. Since then, I've
 migrated to Java and
 now .NET and what I liked about their models was the
 ability to separate
 the code into code-behind, something done quite
 elegantly in ASP.NET.
 These eliminated a lot of the maintenance problems
 I'd encountered
 earlier with PHP.

   So when I saw macromedia's examples of mxml with
 mx:Script.../mx:Script blocks embedded directly
 into the mxml, I
 immediately searched for a way to avoid this. I
 found that i could add a
 source=.. attribute to the mx:Script element and
 the AS code would be
 included by the compiler from an external file at
 compile time. The IDE
 was even smart enough that any elements I'd defined
 with id attributes
 in the mxml showed up with intellisense in the
 included AS file (I am
 using Flex Builder 2, not sure if FB1.5 had that
 feature or not).

   But now I'm having second thoughts. It kinda feels
 like going
 against the grain. I don't want to carry old biases
 into a new paradigm
 unnecessarily. I read an article by Aral Balkan (of
 ARP fame) endorsing
 the code-behind approach quite strongly, but by the
 same token, all
 sample apps from the Cairngorm team freely mix mxml
 and AS code, as do
 examples from macromedia themselves. 

   I note though, that the Cairngorm framework itself
 is all pure
 AS; it is only the sample apps that use inline
 actionscript. 

   I can't seem to find a best practice anywhere,
 because for every
 framework/example/article I find that seems to hint
 at one way of doing
 things, I find another one that suggests the
 opposite! Has anyone else
 with more Flex experience than me answered this
 question, particularly
 in terms of which approach is easier to maintain? 

   At this stage, any hints would be appreciated! 

   TIA,
   Jules
 
 
   --
   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
 http://groups.yahoo.com/group/flexcoders  on the
 web.
 
   *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! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com




 Yahoo! Groups Sponsor 

[flexcoders] Re: FLEX 2. What happens on Alpha expiry

2005-11-03 Thread yaagcur
Thanks for the info, Phil

Will there be an increase in build speed? That's
a drag for buggy newbies like me

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

 We'll release another build before the alpha expires.
 Phil Costa 
 Sr. Product Manager 
 Macromedia 
 
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of yaagcur
 Sent: 02 November 2005 15:50
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FLEX 2. What happens on Alpha expiry
  
 My copy expires in less than four months well before projected product
 release
 For those not selected for the beta program will the  alpha be extended?
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
 5l1Q Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
 NcnaqQ   Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
 OxaXG2Sg 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg 
 
 
 
 YAHOO! GROUPS LINKS 
 
   
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 










 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Steve Cox










Flex doesnt require shockwave
control, only the flash J





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Robert Thompson
Sent: 03 November 2005 14:08
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Yahoo
Maps built with Flex!



Why does the Flex API require
use of a Shockwave
Control instead of simply the Flash control?

Although I'm not saying this is the case, there is
prob. only one thing I'm sensetive to when it
comes to
macromedia, and that would be anything going on to
try
to unnecessarily require someone to adopt a
certain
technology only for the sake of spreading it (e.g.
I
like the new plans for Flex2 that won't _require_
getting involved in the huge license of Flex
Presentation Server; on the same token, all my
customers have complained heavily in the past
about
Shockwave versus Flash; Flash is _always_
preferred).

-r


--- David Mendels [EMAIL PROTECTED]
wrote:

 Hi,
 
 More info here:

http://www.techcrunch.com/2005/11/02/new-yahoo-maps-shows-power-of-flash
 /
 
 I suspect this is the highest profile Flex
app to
 date. Note there is
 also a developer API designed for Flex
developers to
 use.
 
 -David
 




 
__ 
Yahoo! FareChase: Search multiple travel sites in
one click.
http://farechase.yahoo.com








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





  




  
  
  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: Flex 1.5 - n checkboxes

2005-11-03 Thread Richard Rodseth



No, my requirements are simple. An Edit User panel with checkboxes for all the roles the user has.

I have the check boxes rendering as follows

  mx:Repeater id=rolesList dataProvider={allroles}

  
mx:CheckBox id=role label={rolesList.currentItem}
selected={user.hasRole(rolesList.currentItem)} /

  /mx:Repeater

Now, I need to submit the form, and call user.setRoles() with an array
of the the checked roles. Right now there roles are just strings, but
they should probably be Role objects.
Presumably I will need a submit handler that iterates over the
checkboxes looking at their selected state and building the array of
checked ones. I don't know how to do that yet, but I'm sure I can
figure it out. 
It would be nifty if there was a more automatic way to do this. 

Thanks,
RichardOn 11/2/05, Brendan Meutzner [EMAIL PROTECTED] wrote:




Hi Richard,

I recently completed a project in which we had to dynamically build
form selection elements based on different control types (eg.
checkboxes, radio buttons, etc...). The data model we worked with
provided us with the string name of the control type to use, and the
appropriate data structure to populate the control type(s). Solution
I came up with was to (as you mention you might have to do) create the
form elements using actionscript, more specifically the createChild
method. I created a custom instance of each control type, and added
some additional properties to it, the most important being the data
property it needed to affect. Inside the custom control, I had my
change event directly modify the data property that was passed in. 
Because the reference was passed in, this essentially bound that
change to the data model it came from. Problem solved.

Your requirements may be slightly different as it sounds like you
already know what type of control you need to render. In this case, I
would imagine you could use a repeater tag and have it's children be
the custom check box you're creating, and pass in the object
property reference that needs to be changed.

Hope this helps you...


Brendan


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

 Yes, as I mentioned, I am using the repeater tag. But the data
provider for
 it is the list of all possible roles. I'm interested in the process of
 mapping the checked items to an array of objects (strings or value
objects).
 I'm guessing there's no way around using Actionscipt to populate the
form
 from the model and vice versa.
 
 - Richard
 
 On 11/2/05, Matt Chotin [EMAIL PROTECTED] wrote:
 
  Check out the Repeater tag.
 
  --
 
  *From:* flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] *On
  Behalf Of *Richard Rodseth
  *Sent:* Wednesday, November 02, 2005 9:07 AM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Flex 1.5 - n checkboxes
 
  Is there a slick way to bind a variable number of checkboxes to
an array
  of value objects in a data model?
 
  Example: user has an array of roles. Display a list of checkboxes
  I see how to use repeaters to render the checkboxes, but I'm
unclear on
  the best way to capture the user selections.
 
  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
flexcodershttp://groups.yahoo.com/group/flexcoders
  on the web.
  - To unsubscribe from this group, send an email to:
  
[EMAIL PROTECTED]
[EMAIL PROTECTED]
  - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/.
 
 
  --
 













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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  

   
  







  
  
  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] Code-only Flex apps

2005-11-03 Thread Daniel Cascais
I've just started playing around with Flex 2's alpha and AS 3, so I
might be missing something.

Are we [going to be] able to build code-only Flex apps, using Flex
components without a single line of MXML?

I can't see any drawbacks with code-only (if you look at other
languages), but there might be, for which I would also like to hear
comments besides the yes/no answer.

Thanks,
Daniel Cascais


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] To code-behind or not to code-behind?

2005-11-03 Thread Damon E. Farnham
Title: Message





Jules:

Quoting from Steve and Alistair's Developing Rich Clients with 
Macromedia Flex book (p.57):

 "Developers should generally avoid inline ActionScript 
where possible; instead, they should refactor code into external classes 
imported at compile-time."

While 
prototyping, and perhaps for small, exceptional cases, in-line AS is probably a 
reasonable approach, however the "rule" expressed above certainly creates a more 
easily managed configuration within a production 
environment.

Hope 
this helps.

Regards,


Damon

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Julian SuggateSent: Wednesday, November 02, 2005 7:31 
  PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] To 
  code-behind or not to code-behind?
  Gidday everyone,
  
  Years back, I wrote php scripts with code embedded in the html and it led 
  to maintenance hassles. Since then, I've migrated to Java and now .NET and 
  what I liked about their models was the ability to separate the code into 
  "code-behind", something done quite elegantly in ASP.NET. These eliminated a lot of the maintenance 
  problems I'd encountered earlier with PHP.
  
  So when I saw macromedia's examples of mxml with 
  mx:Script.../mx:Script blocks embedded directly into the 
  mxml,I immediately searched for a way to avoid this. I found that i 
  could add a source=".." attribute to the mx:Script element and the AS code 
  would be included by the compiler from an external file at compile time. The 
  IDE was even smart enough that any elements I'd defined with id attributes in 
  the mxml showed up with intellisense in the included AS file (I am using Flex 
  Builder 2, not sure if FB1.5 had that feature or not).
  
  But now I'm having second thoughts. It kinda feels like going against 
  thegrain. I don't want to carry old biases into a new paradigm 
  unnecessarily. I read an article by Aral Balkan (of ARP fame) endorsing the 
  code-behind approach quite strongly, but by the same token, all sample apps 
  from the Cairngorm team freely mix mxml and AS code, as do examples from 
  macromedia themselves. 
  
  I note though, that the Cairngorm framework itself is all pure AS; it is 
  only the sample apps that use inline actionscript. 
  
  I can't seem to find a best practice anywhere, because for every 
  framework/example/article I find that seems to hint at one way of doing 
  things, I find another one that suggests the opposite! Has anyone else with 
  more Flex experience than me answered this question, particularly in terms of 
  which approach is easier to maintain? 
  
  At this stage, any hintswould be appreciated!
  
  TIA,
  Jules





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

   
  







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

2005-11-03 Thread JesterXL





http://www.jessewarden.com/archives/2005/06/flash_flex_amfp.html

http://www.jessewarden.com/archives/2005/09/miscellaneous_d_1.html


- Original Message - 
From: Jesse 
Cardoso Mota 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 02, 2005 6:06 PM
Subject: [flexcoders] AMFPHP

Hi,

Where I can find some examples of Flex and 
AMFPHP?

Thanks
Jesse





--
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] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread JesterXL





Just guessing, but your DataVO doesn't extend 
EventDispatcher, only Object; try extending him so you'll get all the 
addEventListener/removeEventListener/dispatchEvent functions.

- Original Message - 
From: John 
Crosby 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 02, 2005 10:41 PM
Subject: [flexcoders] dispatchEvent troubles (Flex 2.0)
I'm having trouble with 
dispatchEvent in an AS 3.0 Class:package com 
{  public class DataVO 
{  import 
flash.events.*; 
  ... 
[Bindable("sampleChanged")] public function get 
sample_ac():ArrayCollection {  return 
_sample_ac; } public function set 
sample_ac(value:ArrayCollection):Void {  _sample_ac 
= value;  var 
evt:Event = n! ew Event("sampleChanged", true, true);  
dispatchEvent(evt); } 
}}I get the 
compile error: Access of undefined property dispatchEventAny help would be appreciated. TIA.- John 
Crosby





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

   
  







  
  
  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] Code-only Flex apps

2005-11-03 Thread JesterXL
You could do insanity like this:
http://www.helpqlodhelp.com/blog/archives/000140.html

But then, you are missing out of the benefits of using MXML.  Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.

- Original Message - 
From: Daniel Cascais [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 10:04 AM
Subject: [flexcoders] Code-only Flex apps


I've just started playing around with Flex 2's alpha and AS 3, so I
might be missing something.

Are we [going to be] able to build code-only Flex apps, using Flex
components without a single line of MXML?

I can't see any drawbacks with code-only (if you look at other
languages), but there might be, for which I would also like to hear
comments besides the yes/no answer.

Thanks,
Daniel Cascais



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








 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Clint Modien



Ya I thought so... technically no it isn't wrong it's just not what flex was meant for. Instead of writing multiple small flex SWF pages you'd write one user interface in flex and use ActionScript to control the interaction on the client. There areso many advantages of doing it this way over your traditional JSP/HTML application I really wouldn't know where to start. (client side caching... zero post backs... drag and drop... drawing... ). Flex is a beautiful framework to write web apps in and based on what you've said your leveraging very few of what flex has to offer. I would SERIOUSLY consider re-architecting your application. The data interaction you've already written can still be used with flex through remote objects and unless you have an incredibly large JSP app I'm willing to bet recoding it in mxml would be very painless. 

On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
Sure!First of all, I have my JSP based application, which manages all theinteraction between pages and business objects.
When reaching the frontend subject, we thought of Flex for that job.So we began analyzing building some UI components which combinebusiness logic in a fancy way. Those components (in SWF format),we'd like to use several times across the application, in different
use cases.At the bottom line, we end up having (for example) a JSP page with2+ embedded SWF/Flex files, that we would like to interact with eachother. For instance, imagine a Registration component working with
a Shopping Cart component as two different SWF files in the sameJSP, and then reusing the Registration one with another SWF filein another page.I might be looking it the wrong way, but it's the approach we were
looking for. (By the way, I'd be really interesting to find out itis wrong.) =)Thanks in advance--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED]
... wrote: Can you tell the list a bit more about your trying to do... itsounds like your going about this the wrong way?On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
   Hi,   i'm extremely new to Flex and, although I've seen in a few dayspart  of the potential it has to give, I still got a lot to learn.   Question comes here: I've tested the ability to drag-and-drop
between  two different custom components and it works amazingly wellwithout  demanding a lot of code. However, I'd like to do this between two  different Flex files embedded in a JSP page (to accomplish some
reuse  of the SWF pages through the whole JSP application).   I've tested a few things and googled about it, without gettingany  conclusion. Is this possible? If so, how?
   Thanks in advance  Pablo Apanasionek--  Flexcoders Mailing List  FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt  Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com  Yahoo! Groups Links   
 Yahoo! Groups Sponsor ~--Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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





  




  
  
  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] Code-only Flex apps

2005-11-03 Thread Mink, Joseph





The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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
  

   
  







  
  
  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] Video and Breeze

2005-11-03 Thread Robert Thompson
Maybe I'm just I have ADD or something, but I swear I
learn from video tutorials and breeze presentations so
much faster than spending time on a book.

The only reason I'm posting this is that I got my
quick start with Sho's video (and the other guy:) and
since then it's gone expoential.

I would encourage Macr to not only keep doing this,
but I'd even pay for a DVD for Alpha 2 and/or Beta
tutorials (not that that's needed but just explaining
the point).  Done right, these can even be updated and
managed better than largely distributed books.

Seems like very piece of software I have from 3D
animation to Music Production and apps. have DVDs or
some type of video tutorial and it take about 1/3 the
time of thumbing through poor dead trees (though it is
nice to sit down to a quiet room with coffee to a book
once in a while; but video is far better for 90% of
the case).

-r



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Code-only Flex apps

2005-11-03 Thread JesterXL





Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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



  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] Opening for Flash ActionScript programmers with Japanese skillset for Japan.

2005-11-03 Thread Steven Webster





Contributing members of the group are welcome to post roles 
within their own organisations; we just don't want to have agencies that spam 
yahoogroups with jobs posting, that's all.

The little gremlin in the system that approved the post has 
apologised, and will now apply the same care and attention to moderation as he 
does to maintaining the open-source animation package tool.

Steven

--
Steven 
Webster
Practice Director (Rich 
Internet Applications)
Macromedia Consulting 
EMEA

Office: + 44 (0) 131 338 
6108
Mobile: +44 (0) 7917 428 
947


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Clint 
  ModienSent: 03 November 2005 13:49To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Opening for 
  Flash ActionScript programmers with Japanese skillset for 
  Japan.
  
  If a person is a contributing member of the group is it considered ok for 
  them to post jobs?
  *The answer should be yes... I'm just posting it here because I was 
  asked the question a while ago and my reply was yes.*
  
  On 11/3/05, Dimitrios 
  Gianninas [EMAIL PROTECTED] 
  wrote: 
  
I double-checked, didn't approve this one, learned my 
lesson the first time. Must be a little gremlin in the system 
:) 

Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments 
Inc.





--
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] To code-behind or not to code-behind?

2005-11-03 Thread Steven Webster
Title: Message





Damon et al,

I'd rather consider that the "official line" be one of 
"apply your own pragmatism". Rather than enforce a rule, understand 
exactly what you're trying to achieve ... for me, that's maintainability and 
clarity of code, rather than any purist ideal.

Separation of content and code can be taken on many levels; 
on an extreme level it would suggest "thou shalt not put code into MXML 
ever". However, if that then means that a piece of obvious code 
-like say a method that clears the text in an input field and broadcasts 
an event - is scurried away into an external file, then have you improved the 
clarity of your code (ie can someone read it and understand it as easily) 
? Or have you introduced abstraction that in turn introduces an 
opportunity for confusion.

When something becomes it's extreme, it becomes it's 
opposite -- so if people invest TOO much time and effort into code behind 
classes, helper classes, etc, then all of a sudden the very thing they're trying 
to achieve, clarity, is lost within complexity.

I'd advocate that really what we're doing is performing the 
age-old refactorings of "Extract Method" and "Extract Class". We'll start 
by putting things inline in event handlers, eg click="...code here", then 
we'll extract method to get click="callMyMethod()" where callMyMethod() resides 
on the MXML inline, because it is encapsulated there. Finally, we'll find 
we have a bunch of methods, or we have methods that don't deserve to be 
encapsulated by the MXML Class, and so we'll factor them out into additional 
classes, like ShoppingCarts, APRCalculators, etc, etc.

I think if you apply that pragmatism to when to extract 
things into other classes, and apply that pragmatism with some understanding of 
how to build object-based systems with the correct attention to cohesion and 
decoupling, then the clarity will take care of itself.

If you just blindly follow some rules that some idiot wrote 
in a book ;) without some thought behind where that rule may or not make sense, 
then you're never going to be happy that you've got it right. 


For me, I care about code clarity more than anything else 
... can someone else sit down at your code, and quickly find their way around it 
because it is logically organised? If they can do that, then you 
have expressed your design intent through code that both machine and human can 
understand. All else follows that.

Apologies if any of the above sounds like teaching you to 
suck eggs. I neither think there's a right answer here, nor do I feel 
so strongly about this that I'm wishing to enter into big long spirited debate 
on it. Whatever other people say is right too. 
:)

Best,

Steven

--
Steven 
Webster
Practice Director (Rich 
Internet Applications)
Macromedia Consulting 
EMEA

Office: + 44 (0) 131 338 
6108
Mobile: +44 (0) 7917 428 
947


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Damon E. 
  FarnhamSent: 03 November 2005 03:48To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] To code-behind 
  or not to code-behind?
  
  Jules:
  
  Quoting from Steve and Alistair's Developing Rich Clients with 
  Macromedia Flex book (p.57):
  
   "Developers should generally avoid inline ActionScript 
  where possible; instead, they should refactor code into external classes 
  imported at compile-time."
  
  While prototyping, and perhaps for small, exceptional cases, in-line AS 
  is probably a reasonable approach, however the "rule" expressed above 
  certainly creates a more easily managed configuration within a production 
  environment.
  
  Hope 
  this helps.
  
  Regards,
  
  
  Damon
  

-Original Message-From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf 
Of Julian SuggateSent: Wednesday, November 02, 2005 7:31 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
To code-behind or not to code-behind?
Gidday everyone,

Years back, I wrote php scripts with code embedded in the html and it 
led to maintenance hassles. Since then, I've migrated to Java and now .NET 
and what I liked about their models was the ability to separate the code 
into "code-behind", something done quite elegantly in ASP.NET. These eliminated a lot of the maintenance 
problems I'd encountered earlier with PHP.

So when I saw macromedia's examples of mxml with 
mx:Script.../mx:Script blocks embedded directly into the 
mxml,I immediately searched for a way to avoid this. I found that i 
could add a source=".." attribute to the mx:Script element and the AS code 
would be included by the compiler from an external file at compile time. The 
IDE was even smart enough that any elements I'd defined with id attributes 
in the mxml showed up with intellisense in the included AS file (I am using 
Flex Builder 2, not sure if FB1.5 had that feature or not).

But now I'm having second 

RE: [flexcoders] Code-only Flex apps

2005-11-03 Thread Mink, Joseph





Yes indeed! Nothing like the convenience of MXML when 
you can use it...and it's easy to forget to use MXML if you're a developer fresh 
off another programming project (Java, C++, etc).

From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:27 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps

Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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
  

   
  







  
  
  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: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Tom,

thanks for your answer.

In a middle step in my way of discover, I tried using a wrapper and 
it worked well, including DD effects and events.

Thanks for the localConnection tip too!

Pablo Apanasionek


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

 It's not possible to drag an mc from one embedded swf to another, 
not
 visually, at least...
 So the only option imo, is to design your html page in such a way 
that
 the 2 swfs can be loaded into 1 wrapper swf...essentially making 
it 1
 application...
 You can however, let two embedded swfs transfer data to another 
using
 localconnection, but then you loose the visual dd handling...
 
 Grtz,
 t
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Pablo Apanasionek
 Sent: donderdag 3 november 2005 15:40
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between 
two
 Flex-SWF files
 
 Sure!
 
 First of all, I have my JSP based application, which manages all 
the 
 interaction between pages and business objects.
 
 When reaching the frontend subject, we thought of Flex for that 
job. 
 So we began analyzing building some UI components which combine 
 business logic in a fancy way. Those components (in SWF format), 
 we'd like to use several times across the application, in 
different 
 use cases.
 
 At the bottom line, we end up having (for example) a JSP page with 
 2+ embedded SWF/Flex files, that we would like to interact with 
each 
 other. For instance, imagine a Registration component working 
with 
 a Shopping Cart component as two different SWF files in the same 
 JSP, and then reusing the Registration one with another SWF file 
 in another page.
 
 I might be looking it the wrong way, but it's the approach we were 
 looking for. (By the way, I'd be really interesting to find out it 
 is wrong.) =)
 
 Thanks in advance
 
 --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] 
wrote:
 
  Can you tell the list a bit more about your trying to do... it 
 sounds like
  your going about this the wrong way?
  
   On 11/3/05, Pablo Apanasionek [EMAIL PROTECTED] wrote:
  
   Hi,
  
   i'm extremely new to Flex and, although I've seen in a few 
days 
 part
   of the potential it has to give, I still got a lot to learn.
  
   Question comes here: I've tested the ability to drag-and-drop 
 between
   two different custom components and it works amazingly well 
 without
   demanding a lot of code. However, I'd like to do this between 
two
   different Flex files embedded in a JSP page (to accomplish 
some 
 reuse
   of the SWF pages through the whole JSP application).
  
   I've tested a few things and googled about it, without getting 
 any
   conclusion. Is this possible? If so, how?
  
   Thanks in advance
   Pablo Apanasionek
  
  
  
  
  
  
   --
   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







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Dual core license policy

2005-11-03 Thread Dave Carabetta
On 11/3/05, Mika Kiljunen [EMAIL PROTECTED] wrote:
 What is the Macromedia's license policy on dual core processors? Is a single 
 dual core processor calculated as 1, 1.5 or 2 processors ?

 I couldn't find this info anywhere, but I think it would be nice to know J


I can't remember where I read it, but I know for sure that
Macromedia's current policy is to use the number of *physical*
processors in the server as the number. So a dual core would just be
one processor.

Regards,
Dave.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] go away, Matt!

2005-11-03 Thread Roger Gonzalez
Heh.  No, I avoid looking at my queue whenever possible.  The bugs in
there scare me.  My QA buddy is a sadist.

Responding to forum posts is a great way to procrastinate doing real
work, though.  ;-)

-rg 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
 Sent: Wednesday, November 02, 2005 11:23 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] go away, Matt!
 
 Q. Do you two sit and stare at mailing lists + bug queues all day?
 
 (curious)
 
 
 On 11/3/05, Matt Chotin [EMAIL PROTECTED] wrote:
 
   Well if you threw in the one-liners too I wouldn't have 
 to :-)   Our roles are this: 
 

 
   Roger: thoughtful responses requiring knowing what 
 you're talking about
 
   Matt: one line requests for more information, 
 semi-useful suggestions, and anything that fits in less than 
 100 words and doesn't require much thought
 

 

 

 
   
 
 
 
   From: flexcoders@yahoogroups.com 
 mailto:flexcoders@yahoogroups.com  
 [mailto:[EMAIL PROTECTED] On Behalf Of Roger Gonzalez
   Sent: Wednesday, November 02, 2005 9:08 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] go away, Matt!
 

 
   How is my boss supposed to notice my after-work 
 diligence and my long,
   thoughtfully written posts, if you're spamming the list 
 with your
   one-liners?  Sheesh!  ;-)
   
   -rg
   
   
   
   --
   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 
 http://groups.yahoo.com/group/flexcoders  on the web.

   
   *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/ .
 
 
 
 
   
 
 
 
 
 --
 Regards,
 Scott Barnes
 http://www.mossyblog.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 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developme
 ntw1=Web+site+design+developmentw2=Computer+software+develop
 mentw3=Software+design+and+developmentw4=Macromedia+flexc=4
 s=126.sig=ynjozILdtUiijfLjiz5l1Q   Computer software 
 development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+develop
 mentw1=Web+site+design+developmentw2=Computer+software+devel
 opmentw3=Software+design+and+developmentw4=Macromedia+flexc
 =4s=126.sig=i_RMdAMzxP1R8fB7NcnaqQ Software design 
 and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+devel
 opmentw1=Web+site+design+developmentw2=Computer+software+dev
 elopmentw3=Software+design+and+developmentw4=Macromedia+flex
 c=4s=126.sig=4g8hODKyQov1GXOxaXG2Sg   
 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si
 te+design+developmentw2=Computer+software+developmentw3=Soft
 ware+design+and+developmentw4=Macromedia+flexc=4s=126.sig=
 hhODNnONza_qi3x2OWe-Qg   
 
 
 
 YAHOO! GROUPS LINKS 
 
 
   
 *  Visit your group flexcoders 
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! 
 Terms of Service http://docs.yahoo.com/info/terms/ . 
 
 
 
 
 


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Code-only Flex apps

2005-11-03 Thread JesterXL





Most definately. It took me months to feel 
comfortable working in MXML... months I tell you! I kept wanting to go 
back to my ActionScript comfort zone.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:29 AM
Subject: RE: [flexcoders] Code-only Flex apps

Yes indeed! Nothing like the convenience of MXML when 
you can use it...and it's easy to forget to use MXML if you're a developer fresh 
off another programming project (Java, C++, etc). 

From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:27 AMTo: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] Code-only Flex apps

Don't get me wrong; 90% of my work currently in 
Flex is ActionScript; mainly because I'm building just what you said, extremely 
dynamic components.

...however, using those components is lovely, easy, 
MXML.

- Original Message - 
From: Mink, 
Joseph 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 10:20 AM
Subject: RE: [flexcoders] Code-only Flex apps

The more you can factor out into mxml, the better (I've 
found). But we have a VERY dynamic presentation, including a dynamically 
generate graph (vertex/edge kinda graph)...along with a tabnavigator that has an 
arbitrary # of tabs, and within those tabs are controls that may or may not 
appear...etc, etc. So AS coding is inevitable if you want your app to be 
VERY dynamic.

But @ the same time, when I can manage to label something 
as static, then I'll try to make an MXML component because it's quicker and it's 
easier to manage the layout.

Joey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Code-only Flex 
apps
You could do insanity like this:http://www.helpqlodhelp.com/blog/archives/000140.htmlBut 
then, you are missing out of the benefits of using MXML. Seperating 
your business logic and presentation, or more plainly, MXML lays my stuff 
out, and the code handles logic, with nothing to do with repetitive, time 
wasting, GUI stuff.- Original Message - From: "Daniel 
Cascais" [EMAIL PROTECTED]To: 
flexcoders@yahoogroups.comSent: Thursday, November 03, 2005 10:04 
AMSubject: [flexcoders] Code-only Flex appsI've just started 
playing around with Flex 2's alpha and AS 3, so Imight be missing 
something.Are we [going to be] able to build code-only Flex apps, using 
Flexcomponents without a single line of MXML?I can't see any 
drawbacks with code-only (if you look at otherlanguages), but there might 
be, for which I would also like to hearcomments besides the yes/no 
answer.Thanks,Daniel Cascais--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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



  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] Dual core license policy

2005-11-03 Thread Clint Modien



Actually Dave dual-core *is* 2 physical processors. As opposed to Intel's Hyper Threading which is two virutal processors. So if what you read is true... then Macromedia would consider dual core as 2 processors.

On 11/3/05, Dave Carabetta [EMAIL PROTECTED] wrote:
On 11/3/05, Mika Kiljunen [EMAIL PROTECTED] wrote:
 What is the Macromedia's license policy on dual core processors? Is a single dual core processor calculated as 1, 1.5 or 2 processors ? I couldn't find this info anywhere, but I think it would be nice to know J
I can't remember where I read it, but I know for sure thatMacromedia's current policy is to use the number of *physical*processors in the server as the number. So a dual core would just beone processor.
Regards,Dave. Yahoo! Groups Sponsor ~--Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  

   
  







  
  
  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] Video and Breeze

2005-11-03 Thread Kai Pradel
Same here. Sho's video gave me a jump start as well and I too would pay 
for content. At work, we have subscriptions to VTC and Lynda.com and 
they are a fully integrated part of keeping everyone involved up to date 
- much faster than by buying a book (although I do like the feeling of 
anticipation after ordering a book and tracking it ..;).

Kai

Robert Thompson wrote:
 Maybe I'm just I have ADD or something, but I swear I
 learn from video tutorials and breeze presentations so
 much faster than spending time on a book.
 
 The only reason I'm posting this is that I got my
 quick start with Sho's video (and the other guy:) and
 since then it's gone expoential.
 
 I would encourage Macr to not only keep doing this,
 but I'd even pay for a DVD for Alpha 2 and/or Beta
 tutorials (not that that's needed but just explaining
 the point).  Done right, these can even be updated and
 managed better than largely distributed books.
 
 Seems like very piece of software I have from 3D
 animation to Music Production and apps. have DVDs or
 some type of video tutorial and it take about 1/3 the
 time of thumbing through poor dead trees (though it is
 nice to sit down to a quiet room with coffee to a book
 once in a while; but video is far better for 90% of
 the case).
 
 -r
 
 

 __
 Yahoo! FareChase: Search multiple travel sites in one click.
 http://farechase.yahoo.com
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
 SPONSORED LINKS
 Web site design development 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz5l1Q
  
   Computer software development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7NcnaqQ
  
   Software design and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GXOxaXG2Sg
  
 
 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg
  
 
 
 
 
 YAHOO! GROUPS LINKS
 
 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

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

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


-- 
-
Kai Christian Pradel   E-Mail:  [EMAIL PROTECTED]
Phone:  617.423.6200 x 112
Productorials, Inc.Fax:  617.507.8577
374 Congress StreetMobile:   617.792.6327
Suite 304  WWW: www.productorials.com
Boston, MA 02210   Skype:callto:kaipradel
-



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread Steven Webster

Douglas,

 Got me thinking thoughin OOP terms just what is a helper object?
  I don't recall seeing these in say Java, or maybe they have 
 a different name.

View Helper was one of the Core J2EE Patterns, that would most usually
have been implemented as a custom-tag in JSP.

It's nothing magical, just a pattern to be aware you can refactor
towards.  Sometimes patterns make the simple sound magical.  But the
View Helper ain't that.  It's simple.

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Macromedia Consulting EMEA
 
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Yahoo Maps Example

2005-11-03 Thread JesterXL
Here, 3rd paragraph:
http://ws1.inf.scd.yahoo.com/maps/flash/flexGettingStarted.html

I would encourage you, however, to have a content writer fully evaluate the 
site.  There are some weird depictions of Macromedia technology that do not 
coincide with how it should be portrayed.

For example, on this page, 1st paragraph:
http://ws1.inf.scd.yahoo.com/maps/index.html

 free Flash® viewer from Macromedia® 

What the heck is that?

- Original Message - 
From: David Mendels [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 10:55 AM
Subject: RE: [flexcoders] Yahoo Maps Example


Hi,

Where is it called a Shockwave controlcan you give the exact
location so we can get it fixed?

-David

 -Original Message-
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
 Sent: Thursday, November 03, 2005 9:30 AM
 To: Flexcoders
 Subject: [flexcoders] Yahoo Maps Example

 For those who want to see a quick example, you can download
 the SWC (stupidly called Shockave control on the site, that's
 where the confusion came in), and use this code.  Keep in
 mind the sliders are NOT BACKWARDS!
 Since I'm not a map geek, this was my first lesson in
 latitude  longitude as applied to map movements.

 --JesterXL

 ?xml version=1.0 encoding=utf-8?
 mx:Application
  xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns:yahoo=com.yahoo.maps.api.flex.*
  initialize=onMapInit()

  mx:Script
  ![CDATA[

 // import mx.managers.PopUpManager;
  import mx.utils.Delegate;

  import com.yahoo.maps.LatLon;
  import com.yahoo.maps.Marker;
  import com.yahoo.maps.markers.CustomSWFMarker;
  import com.yahoo.maps.markers.WaypointMarker;
  import com.yahoo.maps.api.flex.YahooMap;

  public var latitude:Number = 37.771829;  public var
 longitude:Number = -122.401681;

  //private var debugWindow:DebugWindow;

  function onMapInit():Void
  {
   //debugWindow = DebugWindow(PopUpManager.createPopUp(this,
 DebugWindow, false));
   //debugWindow.move(400, 400);
  }

  function onYahooMapInit()
  {
   //d(start map lat:  + map_ym.latitude);
   //d(start map long:  + map_ym.longitude);
   //dProps(WaypointMarker);
   lat_slider.value = latitude;
   //d(long_slider.value:  + long_slider.value);
   //d(longitude:  + longitude);
   long_slider.value = longitude;
   //d(long_slider.value:  + long_slider.value);
   zoom_slider.value = map_ym.getZoomLevel();

   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 0, false);

   //var a:LatLon = new LatLon(latitude, longitude);
   //var m = map_ym.addMarkerByLatLon(CustomSWFMarker,
 map_ym.getCenter(),
 {url: bluebox.swf});
   //m.addEventListener(YahooMap.MARKER_INITIALIZE,
 Delegate.create(this, onMarker));
   //m.addEventListener(toolAdded, this);
   //var rs = m.callCustomMethod(getMoo);
   //d(rs:  + rs);
   //var m = map_ym.addMarkerByLatLon(WaypointMarker,
 map_ym.getCenter());
   //d(m.isVisible:  + m.isVisible());
   //m.show();
  }

  function onMarker(o)
  {
   d(onMarker);
  }


  function d(o)
  {
   //debugWindow.d(o);
  }

  public function dProps(o)
  {
   for(var p in o)
   {
d(p + :  + o[p]);
   }
  }

  function updateCords():Void
  {
   //d(before lat:  + latitude);
   //d(before long:  + longitude);
   //d(before map lat:  + map_ym.latitude);
   //d(before map long:  + map_ym.longitude);
   latitude = lat_slider.value;
   longitude = long_slider.value;
   //d(after lat:  + latitude);
   //d(after long:  + longitude);


   var a:LatLon = new LatLon(latitude, longitude);
   map_ym.setCenterByLatLon(a, 3000, false);
   /*
   d(a.lat:  + a.lat);
   d(a.lon:  + a.lon);
   d(after map lat:  + map_ym.latitude);
   d(after map long:  + map_ym.longitude);
   */
  }

  private function updateZoom()
  {
   map_ym.setZoomLevel(zoom_slider.value);
  }


  ]]
  /mx:Script

  mx:Canvas
   width=100% height=100%

yahoo:YahooMap
 id=map_ym
 x=0
 y=0
 latitude={latitude}
 longitude={longitude}
 width=100%
 height=100%
 zoomLevel=5
 initialize=onYahooMapInit() /

  mx:HSlider
 id=lat_slider
 x=5
 y=206
 width=200
 liveDragging=false
 minimum=-200 maximum=200
 showToolTip=true
 thumbCount=1
 thumbReleased=updateCords()/

mx:VSlider
 id=long_slider
 x=200
 y=6
 height=200
 liveDragging=false
 minimum=-200 maximum=200
 showToolTip=true
 thumbCount=1
 thumbReleased=updateCords()/

mx:HSlider
 id=zoom_slider
 x=4
 y=0
 width=180
 liveDragging=false
 minimum=1
 maximum=17
 showToolTip=true
 thumbCount=1
 thumbReleased=updateZoom() snapInterval=1 tickInterval=1
 height=22 /


  /mx:Canvas

 /mx:Application



  Yahoo! Groups Sponsor
 ~-- Get Bzzzy! (real tools to help you
 find a job). Welcome to the Sweet Life.
 http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
 

RE: [flexcoders] Dual core license policy

2005-11-03 Thread João Fernandes





Clint,

http://en.wikipedia.org/wiki/Dual_core

Its seems that it depends on the point of view. What are we 
counting? the chip? or independent cores inside a chip? It seems that many are 
counting the chip himself no matter how many individual cores they have. It's up 
to Macromedia what's their point of view.



João Fernandes
Secção de Desenvolvimento
Departamento de Informática



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: quinta-feira, 3 de Novembro de 2005 15:47To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dual core license 
policy
Actually Dave dual-core *is* 2 
physical processors. As opposed to Intel's Hyper Threading 
which is two "virutal" processors. So if what you read is 
true... then Macromedia would consider dual core as 2 processors. 
On 11/3/05, Dave 
Carabetta [EMAIL PROTECTED] wrote: 
On 
  11/3/05, Mika Kiljunen [EMAIL PROTECTED] 
  wrote:  What is the Macromedia's license policy on dual core 
  processors? Is a single dual core processor calculated as 1, 1.5 or 2 
  processors ? I couldn't find this info anywhere, but I think 
  it would be nice to know J I can't remember where I read it, 
  but I know for sure thatMacromedia's current policy is to use the number 
  of *physical*processors in the server as the number. So a dual core would 
  just beone processor. 
  Regards,Dave. Yahoo! Groups 
  Sponsor ~--Get Bzzzy! (real tools to help you find 
  a job). Welcome to the Sweet Life.http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~---Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links * To visit your group on the web, go 
  to: http://groups.yahoo.com/group/flexcoders/* 
  To unsubscribe from this group, send an email to:  [EMAIL PROTECTED]* 
  Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ 
  





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





  




  
  
  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] Force binding for Arrays

2005-11-03 Thread superabe superabe



I realize that we can force binding for Arrays to occur, when modifying one of their indexes by doing something like

Model.myList = Model.myList

Is there any performance reasons or other reasons why this would be a bad idea to use?

TIA
- superabe






--
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: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread Douglas Knudsen
Yeah, I understand the ViewHelper.  The more generic 'helper object'
though I have not heard of.  So, View Helper is a helper obejct.  So,
say I have a Front Controller object that needs some 'help', would I
apply a Front Controller Helper object?  Obvioulsy this depends on the
problem to solve, abstractly though is this idea sound?  I'm no master
of patterns, but sounds like the view helper may come from a larger
parent pattern called Helper or something.

Does UK English really use ain't?  lol!

DK

On 11/3/05, Steven Webster [EMAIL PROTECTED] wrote:

 Douglas,

  Got me thinking thoughin OOP terms just what is a helper object?
   I don't recall seeing these in say Java, or maybe they have
  a different name.

 View Helper was one of the Core J2EE Patterns, that would most usually
 have been implemented as a custom-tag in JSP.

 It's nothing magical, just a pattern to be aware you can refactor
 towards.  Sometimes patterns make the simple sound magical.  But the
 View Helper ain't that.  It's simple.

 Steven

 --
 Steven Webster
 Practice Director (Rich Internet Applications)
 Macromedia Consulting EMEA

 Office: + 44 (0) 131 338 6108
 Mobile: +44 (0) 7917 428 947



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









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


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Dual core license policy

2005-11-03 Thread Clint Modien



I disagree... for all interpretations of thedefinitionat wikipediait results in the same conclusion... a dual-core cpu is 2 cpu's/processors. That's the point. A mobo with one dual core processor uses almost the same power as a mobo with 2 separate processors. All they managed to do was squeeze 2 cpu's on one die. 


It's 2 cpu's.
On 11/3/05, João Fernandes [EMAIL PROTECTED] wrote:

Clint,

http://en.wikipedia.org/wiki/Dual_core


Its seems that it depends on the point of view. What are we counting? the chip? or independent cores inside a chip? It seems that many are counting the chip himself no matter how many individual cores they have. It's up to Macromedia what's their point of view.




João Fernandes
Secção de Desenvolvimento
Departamento de Informática



From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Clint ModienSent: quinta-feira, 3 de Novembro de 2005 15:47To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dual core license policy

Actually Dave dual-core *is* 2 physical processors. As opposed to Intel's Hyper Threading which is two virutal processors. So if what you read is true... then Macromedia would consider dual core as 2 processors. 

On 11/3/05, Dave Carabetta [EMAIL PROTECTED]
 wrote: 
On 11/3/05, Mika Kiljunen 
[EMAIL PROTECTED] wrote:  What is the Macromedia's license policy on dual core processors? Is a single dual core processor calculated as 1, 1.5 or 2 processors ? I couldn't find this info anywhere, but I think it would be nice to know J 
I can't remember where I read it, but I know for sure thatMacromedia's current policy is to use the number of *physical*processors in the server as the number. So a dual core would just beone processor. 
Regards,Dave. Yahoo! Groups Sponsor ~--Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: 
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:  
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: 
http://docs.yahoo.com/info/terms/ --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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
  

   
  







  
  
  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] Force binding for Arrays

2005-11-03 Thread JesterXL





You don't need to do that; Array's in Flex already 
have the DataProvider API (in 1.5), and thus generate events.
So, if you are changing an index, ensure you do:

my_array.addItem(someItem)

Instead of:

my_array.push(someItem)

If you do the addItem, it'll trigger the event, and update whatever 
controls is bound to the array. Only reset the array entirely if the whole 
array changes.

- Original Message - 
From: superabe superabe 

To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 11:11 AM
Subject: [flexcoders] Force binding for Arrays

I realize that we can force binding for Arrays to occur, when modifying one 
of their indexes by doing something like

Model.myList = Model.myList

Is there any performance reasons or other reasons why this would be a bad 
idea to use?

TIA
- 
superabe





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

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] How do you pass bindings into a custom component?

2005-11-03 Thread Rob Rusher










I have an AS class that extends UIComponent. I can easily
pass a value into the component if it is a string, but if the property is bound
to something it does not come through.



Ive tried setting events to detect the change with no
luck. Most likely an error on my part.



Anyone have ideas on how to do this?



Main.mxml

==

?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml
xmlns=*

mx:TextInput
id=myText text=Click Me/

MyComponent
id=myPanel buttonText={ myText.text }/

/mx:Application





MyComponent.as

==

// Import all necessary classes.

import mx.core.*;

import mx.controls.*;



class MyComponent extends UIComponent

{

 //
Declare events

 [Event(click)]



 //
Declare input property.

 public
var buttonText:String;



 //
Declare two children member variables.

 public
var text_mc:TextArea;

 public
var button_mc:Button;



 function
createChildren():Void

 {

 if
( button_mc == undefined )

 createClassObject(
Button, button_mc, 1, { } );

 if
( text_mc == undefined )

 createClassObject(
TextArea, text_mc, 0, { preferredWidth: 150, editable: false } );

 button_mc.addEventListener(
click, this );



 //
assign input property to buttons label

 button_mc.label
= buttonText;

 }



 function
layoutChildren()

 {

 button_mc.move(
text_mc.width / 2 - 5, 50 );

 }



 //
Handle events that are dispatched by the children.

 function
handleEvent( eventObj:Object ):Void

 {

 if
( eventObj.type == click )

 text_mc.text
= You clicked the button;

 }



}



Regards,





Rob Rusher



RIA Consultant

Macromedia Certified Flex Instructor

e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher













--
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] Re: Problem dynamically creating text controls

2005-11-03 Thread pasflex
Matt,
Thanks for the semi-useful suggestion ;)
Tried to set creationPolicy=all on the view stack and it has the 
same behavior.  For kicks, I also tried moving the call to 
initLayout to the creationComplete event on the second VBox, this 
did not help either.  Any other ideas?

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

 What happens if you set creationPolicy=all on the view stack?  
Maybe
 the height it messed up because the VBox was not really ready to 
accept
 children?
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of pasflex
 Sent: Wednesday, November 02, 2005 2:30 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Problem dynamically creating text controls
 
  
 
 We have an application where we are dynamically creating various 
 controls in containers in a viewstack.  If a text control is 
created 
 in a non-visible layer of the viewstack, the height of the control 
 is not correct.  This only happens for text controls in 1.5.  It 
 does not seem to happen in 2.0.  Is this a bug or is there 
something 
 we are missing?
 
 Thanks
 
 Here is some code that demonstrates the problem:
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
 creationComplete=initLayout()
   mx:Panel width=250 height=300
 mx:ViewStack id=vs width=100% height=100%
   mx:VBox id=vb1 width=100% 
 height=100%/mx:VBox
   mx:VBox id=vb2 width=100% 
 height=100%/mx:VBox
 /mx:ViewStack
   /mx:Panel
   mx:Script
   ![CDATA[
 var textArray = new Array(The quick brown fox 
 jumped over the lazy dog,
   
 The quick brown fox jumped over the lazy dog,
   
 The quick brown fox jumped over the lazy dog);
 function initLayout():Void {
   for (var i=0; itextArray.length; i++) {
 vb1.createChild
 (mx.controls.Text, , {text:textArray[i], width:100%});
 vb2.createChild
 (mx.controls.Text, , {text:textArray[i], width:100%});
   }
   var vb1Button = vb1.createChild
 (mx.controls.Button,, {label:vbox 2, id:button1});
   vb1Button.addEventListener(click, this);
   var vb2Button = vb2.createChild
 (mx.controls.Button,, {label:vbox 1, id:button2});
   vb2Button.addEventListener(click, this);
 }
 
 function handleEvent(event:Object):Void {
   if( event.type == click ) {
 if (event.target.id = button1) {
   vs.selectedIndex = 1;
 }
 if (event.target.id = button2) {
   vs.selectedIndex = 0;
 }
   }
 }
   ]]
   /mx:Script
 /mx:Application
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
  
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
  
 
 







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] How do you pass bindings into a custom component?

2005-11-03 Thread JesterXL





You have to put a change tag above the property in 
question. Check in the documentation for ChangeEvent:

[ChangeEvent("change")]public var flavorStr:String;
- Original Message - 
From: Rob Rusher 

To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 11:47 AM
Subject: [flexcoders] How do you pass bindings into a custom 
component?


I have an AS class that extends 
UIComponent. I can easily pass a value into the component if it is a string, but 
if the property is bound to something it does not come 
through.

I’ve tried setting events to detect 
the change with no luck. Most likely an error on my 
part.

Anyone have ideas on how to do 
this?

Main.mxml
==
?xml version="1.0" 
encoding="utf-8"?
mx:Application 
xmlns:mx="http://www.macromedia.com/2003/mxml" 
xmlns="*"
mx:TextInput id="myText" 
text="Click Me"/
MyComponent id="myPanel" 
buttonText="{ myText.text }"/
/mx:Application


MyComponent.as
==
// Import all necessary 
classes.
import 
mx.core.*;
import 
mx.controls.*;

class MyComponent extends 
UIComponent
{
 
// Declare events
 
[Event("click")]

 
// Declare input property.
 
public var buttonText:String;

 
// Declare two children member variables.
 
public var text_mc:TextArea;
 
public var button_mc:Button;

 
function createChildren():Void
 
{
 
if ( button_mc == undefined )
 
createClassObject( Button, "button_mc", 1, { } );
 
if ( text_mc == undefined )
 
createClassObject( TextArea, "text_mc", 0, { preferredWidth: 150, editable: 
false } );
 
button_mc.addEventListener( "click", this );

 
// assign input property to button’s label
 
button_mc.label = buttonText;
 
}

 
function layoutChildren()
 
{
 
button_mc.move( text_mc.width / 2 - 5, 50 );
 
}

 
// Handle events that are dispatched by the 
children.
 
function handleEvent( eventObj:Object ):Void
 
{
 
if ( eventObj.type == "click" )
 
text_mc.text = "You clicked the button";
 
}

}

Regards,


Rob 
Rusher

RIA 
Consultant
Macromedia 
Certified Flex Instructor
e:[EMAIL PROTECTED] 
c:303.885.7044 im:robrusher






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

   
  







  
  
  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] Gaps between list items

2005-11-03 Thread Greg Morphis
Hey Matt, thanks for the reply.
I tried changing the canvas to a VBox and also adding the verticalGap
and leading properties to the VBox but it's not not placing a gap in
between the items. Do you have any other ideas or suggestions? I would
like a little gap between the cells. I even tried putting a spacer
after the text object in the VBox, nada..
Thanks again..

GM

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



 The verticalGap may get ignored with cellRenderers, I can't remember.  Try
 adjusting your Canvas instead to have the gap, maybe use a VBox with margins
 instead?



 Matt



  


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Greg Morphis
  Sent: Wednesday, November 02, 2005 12:10 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Gaps between list items



 Hiya,

  When using cellrenderer to populate a list ex:
mx:List width=100%
height=100%
borderStyle=none
rowHeight=25
marginLeft=30
marginRight=30
textAlign=center
verticalGap=100
id=acts
dataProvider={ myDP }
labelField=activity
rollOverColor=0xFF
selectionColor=0xFF

 initialize=AddActivityViewHelper.getActivities()

 change=mx.core.Application.alert(event.target.selectedItem.color)

 cellRenderer=com.alltel.rapid.aopscheduler.view.ActivityCellRenderer
dragEnabled=true
/mx:List


  I cannot seem to get the verticalGap to work.
  The cellRenderer is pretty plain...

  ?xml version=1.0 encoding=UTF-8?

  mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml;
 height=49
  width=100% 

mx:Script
![CDATA[
  function setValue( str:String, item:Object, sel:Boolean ) {

this.d.text = item.activity;
this.setStyle(backgroundColor, item.color);
  }
]]
/mx:Script


mx:Text id=d
height=100%
width=100%
marginTop=5
marginBottom=5
fontSize=12
fontWeight=bold
selectable=false/
  /mx:Canvas


  Everything I try to put a small gap fails. Can someone offer any
 suggestions?

  Thanks!


  --
  Auxilium meum a Domino



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

  





--
Auxilium meum a Domino


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Flex 2:CFC can't seem to return the same type

2005-11-03 Thread Greg Johnson
I have a date field that gets returned to Flex2 from a CFC.  Thing is 
when there is a date in it, it returns a date.  When there is no date 
in it, it returns a empty string.

Flex is having indigestion as the Flex variable is of date type.  So 
when a date is returned, its happy, when a empty string is returned, it 
complains about coersion failure from string to date.

If this were a different language I would use something like IsDate, 
but the closest thing to it seems to be the DateValidator which, 
atleast as presented in the documentation, seems more complex then what 
I really need. 

Is there a function in Flex 2 that will accept a date or a empty string 
and will return ether a valid date or an empty date?  Or is there a 
better way to pass the date from the CFC so even when its  flex still 
sees it as a date type?

Thanks





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread Roger Gonzalez
See my previous reply for a concrete example.  I just meant an extra
object that encapsulates a well defined piece of functionality,
aggregated into your application.  I wasn't alluding to any particular
GoF-blessed pattern, but if you really need to get pedantic, the
application is probably best described as using the bridge pattern.
Helpers can be anything from flyweights to factories.

I personally consider it bad mojo to have the application's
implementation details exposed, so I abstract out pieces of
functionality through interfaces, build helper classes that implement
those interfaces, and only pass the interfaces around.  This is a bit of
leftover habit from keeping gigantic C++ apps from turning into
dependency hairballs.

An additional benefit is that you can then move those reusable bits off
into RSLs, decoupling development.  If you only change implementation
code but keep the interface constant, you don't need to recompile
clients of the interface.

This sort of development has some small development overhead in extra
interfaces and whatnot, but pays off as your code scales.

-rg 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
 Sent: Thursday, November 03, 2005 8:13 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: helper object? what's that? (was Re: 
 [flexcoders] To code-behind or not to code-behind?)
 
 Yeah, I understand the ViewHelper.  The more generic 'helper object'
 though I have not heard of.  So, View Helper is a helper 
 obejct.  So, say I have a Front Controller object that needs 
 some 'help', would I apply a Front Controller Helper object?  
 Obvioulsy this depends on the problem to solve, abstractly 
 though is this idea sound?  I'm no master of patterns, but 
 sounds like the view helper may come from a larger parent 
 pattern called Helper or something.
 
 Does UK English really use ain't?  lol!
 
 DK
 
 On 11/3/05, Steven Webster [EMAIL PROTECTED] wrote:
 
  Douglas,
 
   Got me thinking thoughin OOP terms just what is a 
 helper object?
I don't recall seeing these in say Java, or maybe they have a 
   different name.
 
  View Helper was one of the Core J2EE Patterns, that would 
 most usually 
  have been implemented as a custom-tag in JSP.
 
  It's nothing magical, just a pattern to be aware you can refactor 
  towards.  Sometimes patterns make the simple sound magical. 
  But the 
  View Helper ain't that.  It's simple.
 
  Steven
 
  --
  Steven Webster
  Practice Director (Rich Internet Applications) Macromedia 
 Consulting 
  EMEA
 
  Office: + 44 (0) 131 338 6108
  Mobile: +44 (0) 7917 428 947
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
 
 
  Yahoo! Groups Sponsor 
 ~-- Get Bzzzy! (real tools to help you 
 find a job). Welcome to the Sweet Life.
 http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread JesterXL
Just so I can get some context, it seems the Yahoo! Maps API follows this 
route; the majority of the controls all follow the 5 main interfaces.  Is 
that an example of a real-world usage scenario using what you describe below 
in a Flex context?

- Original Message - 
From: Roger Gonzalez [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 12:03 PM
Subject: RE: helper object? what's that? (was Re: [flexcoders] To 
code-behind or not to code-behind?)


See my previous reply for a concrete example.  I just meant an extra
object that encapsulates a well defined piece of functionality,
aggregated into your application.  I wasn't alluding to any particular
GoF-blessed pattern, but if you really need to get pedantic, the
application is probably best described as using the bridge pattern.
Helpers can be anything from flyweights to factories.

I personally consider it bad mojo to have the application's
implementation details exposed, so I abstract out pieces of
functionality through interfaces, build helper classes that implement
those interfaces, and only pass the interfaces around.  This is a bit of
leftover habit from keeping gigantic C++ apps from turning into
dependency hairballs.

An additional benefit is that you can then move those reusable bits off
into RSLs, decoupling development.  If you only change implementation
code but keep the interface constant, you don't need to recompile
clients of the interface.

This sort of development has some small development overhead in extra
interfaces and whatnot, but pays off as your code scales.

-rg

 -Original Message-
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
 Sent: Thursday, November 03, 2005 8:13 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: helper object? what's that? (was Re:
 [flexcoders] To code-behind or not to code-behind?)

 Yeah, I understand the ViewHelper.  The more generic 'helper object'
 though I have not heard of.  So, View Helper is a helper
 obejct.  So, say I have a Front Controller object that needs
 some 'help', would I apply a Front Controller Helper object?
 Obvioulsy this depends on the problem to solve, abstractly
 though is this idea sound?  I'm no master of patterns, but
 sounds like the view helper may come from a larger parent
 pattern called Helper or something.

 Does UK English really use ain't?  lol!

 DK

 On 11/3/05, Steven Webster [EMAIL PROTECTED] wrote:
 
  Douglas,
 
   Got me thinking thoughin OOP terms just what is a
 helper object?
I don't recall seeing these in say Java, or maybe they have a
   different name.
 
  View Helper was one of the Core J2EE Patterns, that would
 most usually
  have been implemented as a custom-tag in JSP.
 
  It's nothing magical, just a pattern to be aware you can refactor
  towards.  Sometimes patterns make the simple sound magical.
  But the
  View Helper ain't that.  It's simple.
 
  Steven
 
  --
  Steven Webster
  Practice Director (Rich Internet Applications) Macromedia
 Consulting
  EMEA
 
  Office: + 44 (0) 131 338 6108
  Mobile: +44 (0) 7917 428 947
 
 
 
  --
  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
 
 
 
 
 
 
 


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


  Yahoo! Groups Sponsor
 ~-- Get Bzzzy! (real tools to help you
 find a job). Welcome to the Sweet Life.
 http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
 --
 --~-

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











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







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread Steven Webster
OK, we're analysing this to a level it was never meant to be analysed
at.

The ViewHelper is a name borrowed from the Core J2EE Pattern catalogue.
As far as I'm aware, it's just a name, it's not a more generic or
specific form of another pattern, it's just an observation that
sometimes it makes sense to take functionality out of a big thing, and
stick it in a smaller thing.

If you abstract functionality out of a Front Controller and stick it in
a class that you think helps it; give it a name that makes sense ?
There are no pattern gods that will strike you down for not calling it a
Front Controller Helper.  

Code communicates intent.  So whatever you intend, communicate it.

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Macromedia Consulting EMEA
 
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
 Sent: 03 November 2005 16:13
 To: flexcoders@yahoogroups.com
 Subject: Re: helper object? what's that? (was Re: 
 [flexcoders] To code-behind or not to code-behind?)
 
 Yeah, I understand the ViewHelper.  The more generic 'helper object'
 though I have not heard of.  So, View Helper is a helper 
 obejct.  So, say I have a Front Controller object that needs 
 some 'help', would I apply a Front Controller Helper object?  
 Obvioulsy this depends on the problem to solve, abstractly 
 though is this idea sound?  I'm no master of patterns, but 
 sounds like the view helper may come from a larger parent 
 pattern called Helper or something.
 
 Does UK English really use ain't?  lol!
 
 DK
 
 On 11/3/05, Steven Webster [EMAIL PROTECTED] wrote:
 
  Douglas,
 
   Got me thinking thoughin OOP terms just what is a 
 helper object?
I don't recall seeing these in say Java, or maybe they have a 
   different name.
 
  View Helper was one of the Core J2EE Patterns, that would 
 most usually 
  have been implemented as a custom-tag in JSP.
 
  It's nothing magical, just a pattern to be aware you can refactor 
  towards.  Sometimes patterns make the simple sound magical. 
  But the 
  View Helper ain't that.  It's simple.
 
  Steven
 
  --
  Steven Webster
  Practice Director (Rich Internet Applications) Macromedia 
 Consulting 
  EMEA
 
  Office: + 44 (0) 131 338 6108
  Mobile: +44 (0) 7917 428 947
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
 
 
  Yahoo! Groups Sponsor 
 ~-- Get Bzzzy! (real tools to help you 
 find a job). Welcome to the Sweet Life.
 http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-

2005-11-03 Thread Dave Wolf
I actually don't think there are pattern gods.  There are just pattern
devils.  Maybe they are gremlins?  They like to creep into simple
problems and make them big and confusing.

ducking back into my dark closet/

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

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

 OK, we're analysing this to a level it was never meant to be analysed
 at.
 
 The ViewHelper is a name borrowed from the Core J2EE Pattern catalogue.
 As far as I'm aware, it's just a name, it's not a more generic or
 specific form of another pattern, it's just an observation that
 sometimes it makes sense to take functionality out of a big thing, and
 stick it in a smaller thing.
 
 If you abstract functionality out of a Front Controller and stick it in
 a class that you think helps it; give it a name that makes sense ?
 There are no pattern gods that will strike you down for not calling it a
 Front Controller Helper.  
 
 Code communicates intent.  So whatever you intend, communicate it.
 
 Steven
 
 --
 Steven Webster
 Practice Director (Rich Internet Applications)
 Macromedia Consulting EMEA
  
 Office: + 44 (0) 131 338 6108
 Mobile: +44 (0) 7917 428 947
  
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
  Sent: 03 November 2005 16:13
  To: flexcoders@yahoogroups.com
  Subject: Re: helper object? what's that? (was Re: 
  [flexcoders] To code-behind or not to code-behind?)
  
  Yeah, I understand the ViewHelper.  The more generic 'helper object'
  though I have not heard of.  So, View Helper is a helper 
  obejct.  So, say I have a Front Controller object that needs 
  some 'help', would I apply a Front Controller Helper object?  
  Obvioulsy this depends on the problem to solve, abstractly 
  though is this idea sound?  I'm no master of patterns, but 
  sounds like the view helper may come from a larger parent 
  pattern called Helper or something.
  
  Does UK English really use ain't?  lol!
  
  DK
  
  On 11/3/05, Steven Webster [EMAIL PROTECTED] wrote:
  
   Douglas,
  
Got me thinking thoughin OOP terms just what is a 
  helper object?
 I don't recall seeing these in say Java, or maybe they have a 
different name.
  
   View Helper was one of the Core J2EE Patterns, that would 
  most usually 
   have been implemented as a custom-tag in JSP.
  
   It's nothing magical, just a pattern to be aware you can refactor 
   towards.  Sometimes patterns make the simple sound magical. 
   But the 
   View Helper ain't that.  It's simple.
  
   Steven
  
   --
   Steven Webster
   Practice Director (Rich Internet Applications) Macromedia 
  Consulting 
   EMEA
  
   Office: + 44 (0) 131 338 6108
   Mobile: +44 (0) 7917 428 947
  
  
  
   --
   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
  
  
  
  
  
  
  
  
  
  --
  Douglas Knudsen
  http://www.cubicleman.com
  this is my signature, like it?
  
  
   Yahoo! Groups Sponsor 
  ~-- Get Bzzzy! (real tools to help you 
  find a job). Welcome to the Sweet Life.
  http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
  --
  --~- 
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
  
  
  
   
  
  
  
 







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-

2005-11-03 Thread Steven Webster
Dave,

If all you have is a hammer, everything looks like a nail.  

Too much of anything is a bad thing, and people who just blindly and
unobjectively turn everything into a pattern, focus so much on
shoehorning a solution, they don't stop to think what the problem is
they're trying to solve in the first place.

However, with the appropriate and prerequisite knowledge that was behind
the design pattern movement, they are a useful abstraction for software
engineers to apply to address complexity (not introduce it) and increase
code clarity (not obfuscate it) in a team environment.

Blame the player, don't blame the game.

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Macromedia Consulting EMEA
[EMAIL PROTECTED]
 
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf
 Sent: 03 November 2005 17:48
 To: flexcoders@yahoogroups.com
 Subject: helper object? what's that? (was Re: [flexcoders] To 
 code-behind or not to code-
 
 I actually don't think there are pattern gods.  There are 
 just pattern devils.  Maybe they are gremlins?  They like to 
 creep into simple problems and make them big and confusing.
 
 ducking back into my dark closet/
 
 --
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com
 
 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY
 
 --- In flexcoders@yahoogroups.com, Steven Webster 
 [EMAIL PROTECTED] wrote:
 
  OK, we're analysing this to a level it was never meant to 
 be analysed 
  at.
  
  The ViewHelper is a name borrowed from the Core J2EE 
 Pattern catalogue.
  As far as I'm aware, it's just a name, it's not a more generic or 
  specific form of another pattern, it's just an observation that 
  sometimes it makes sense to take functionality out of a big 
 thing, and 
  stick it in a smaller thing.
  
  If you abstract functionality out of a Front Controller and 
 stick it 
  in a class that you think helps it; give it a name that 
 makes sense ?
  There are no pattern gods that will strike you down for not 
 calling it 
  a Front Controller Helper.
  
  Code communicates intent.  So whatever you intend, communicate it.
  
  Steven
  
  --
  Steven Webster
  Practice Director (Rich Internet Applications) Macromedia 
 Consulting 
  EMEA
   
  Office: + 44 (0) 131 338 6108
  Mobile: +44 (0) 7917 428 947
   
  
   -Original Message-
   From: flexcoders@yahoogroups.com
   [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen
   Sent: 03 November 2005 16:13
   To: flexcoders@yahoogroups.com
   Subject: Re: helper object? what's that? (was Re: 
   [flexcoders] To code-behind or not to code-behind?)
   
   Yeah, I understand the ViewHelper.  The more generic 
 'helper object'
   though I have not heard of.  So, View Helper is a helper obejct.  
   So, say I have a Front Controller object that needs some 'help', 
   would I apply a Front Controller Helper object?
   Obvioulsy this depends on the problem to solve, 
 abstractly though is 
   this idea sound?  I'm no master of patterns, but sounds like the 
   view helper may come from a larger parent pattern called 
 Helper or 
   something.
   
   Does UK English really use ain't?  lol!
   
   DK
   
   On 11/3/05, Steven Webster [EMAIL PROTECTED] wrote:
   
Douglas,
   
 Got me thinking thoughin OOP terms just what is a
   helper object?
  I don't recall seeing these in say Java, or maybe 
 they have a 
 different name.
   
View Helper was one of the Core J2EE Patterns, that would
   most usually
have been implemented as a custom-tag in JSP.
   
It's nothing magical, just a pattern to be aware you 
 can refactor 
towards.  Sometimes patterns make the simple sound magical.
But the
View Helper ain't that.  It's simple.
   
Steven
   
--
Steven Webster
Practice Director (Rich Internet Applications) Macromedia
   Consulting
EMEA
   
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947
   
   
   
--
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
   
   
   
   
   
   
   
   
   
   --
   Douglas Knudsen
   http://www.cubicleman.com
   this is my signature, like it?
   
   
    Yahoo! Groups Sponsor 
   ~-- Get Bzzzy! (real tools to help 
 you find a 
   job). Welcome to the Sweet Life.
   http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
   --
   --~-
   
   --
   Flexcoders Mailing List
   FAQ: 
   http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives: 
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
   Yahoo! Groups Links
   
   
   

   
   

RE: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread John Crosby





Thanks! 

That removed the compile error. 
I still get thecompile warning 
- 'Unable to detect changes to "_sample_ac".' and the binding I have set up won't update 
unless I manually capture the event and update the controls' text property 
myself. 

I was under the inpression that Flex would watch for 
changes and update the binding chain if the getters/setters were set up as in 
the code below.

Thanks again!
- John

[Updated Code]

package com {  public class DataVO 
{  import 
flash.events.*; 
  ...[Bindable(event="sampleChanged")] public function get 
sample_ac():ArrayCollection {  return 
_sample_ac; } public function set 
sample_ac(value:ArrayCollection):Void {  _sample_ac 
= value; 
dispatchEvent(new Event("sampleChanged", true, true); } 
}}


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 8:14 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] dispatchEvent 
troubles (Flex 2.0)

Just guessing, but your DataVO doesn't extend 
EventDispatcher, only Object; try extending him so you'll get all the 
addEventListener/removeEventListener/dispatchEvent functions.

- Original Message - 
From: John 
Crosby 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 02, 2005 10:41 PM
Subject: [flexcoders] dispatchEvent troubles (Flex 2.0)
I'm having trouble with 
dispatchEvent in an AS 3.0 Class:package com 
{  public class DataVO 
{  import 
flash.events.*; 
  ... 
[Bindable("sampleChanged")] public function get 
sample_ac():ArrayCollection {  return 
_sample_ac; } public function set 
sample_ac(value:ArrayCollection):Void {  _sample_ac 
= value;  var 
evt:Event = n! ew Event("sampleChanged", true, true);  
dispatchEvent(evt); } 
}}I get the 
compile error: Access of undefined property dispatchEventAny help would be appreciated. TIA.- John 
Crosby





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



  









faux paw Re: [flexcoders] Access to an API for On2 VP6

2005-11-03 Thread Robert Thompson
Sorry, I spoke too soon, I just found the Developer
SDK at On2.  But since I've already asked, anyone
aware of a way to transform DirectX/Avalon on the
server to a   .SWF format?  I must admit I'm a little
confused whether Macr has bought On2 or just licensed
it for .swf

I have some video mixer work from a while back,
looking to do a COM based animation transform; but I'm
not sure I have 6 months to do testing to see if it's
viable...to texture map and render in real time future
Flash Player and possibly make the player too big; or
to server-side such technology and just integrate it
into On2 already in FP8...hsome can prob. see
where I'm heading...I see nothing wrong with Avalon on
the server; but I don't want it dominating on the
client; that's for all: Linux, OSX and lastly
Mickeysoft Windows.

Anyone want to create an open source project to do
this kind of thing?  I know there are some people out
there born to program DirectX (I have my talents and
can compete with anyone on almost anything; but there
are some pure machine like COM programmers out there
when it comes to gaming).

-r

--- Robert Thompson [EMAIL PROTECTED]
wrote:

 Does anyone know if Macromedia has some sort of
 Developer Program for Utilization of the On2 VP6
 that
 provides some sort of API and/or conversion?
 
 I'm not looking to batch convert things; I'm more
 looking to render in real time; snippets of alpha
 masked video, including an audio stream into it.
 
 Sounds lofty, but it involves another project I've
 had
 on the back burner for quite sometime; and Flash
 Player 8 video is the perfect deployment model.
 
 I'm basically looking for a way to render DirectX to
 On2 VP6 and was hoping there is some sort of
 licensing
 and/or agreement for doing this.
 
 I'm getting some very positive feedback from
 customers
 for Flash 8 video (one customer in particular who is
 not turned on by nearly everything --- i.e. he's a
 bid'nez'man :)
 
 -r
 
 
   
 __ 
 Yahoo! FareChase: Search multiple travel sites in
 one click.
 http://farechase.yahoo.com
 




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Access to an API for On2 VP6

2005-11-03 Thread Robert Thompson
Does anyone know if Macromedia has some sort of
Developer Program for Utilization of the On2 VP6 that
provides some sort of API and/or conversion?

I'm not looking to batch convert things; I'm more
looking to render in real time; snippets of alpha
masked video, including an audio stream into it.

Sounds lofty, but it involves another project I've had
on the back burner for quite sometime; and Flash
Player 8 video is the perfect deployment model.

I'm basically looking for a way to render DirectX to
On2 VP6 and was hoping there is some sort of licensing
and/or agreement for doing this.

I'm getting some very positive feedback from customers
for Flash 8 video (one customer in particular who is
not turned on by nearly everything --- i.e. he's a
bid'nez'man :)

-r



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Code-only Flex apps

2005-11-03 Thread Daniel Cascais
Thanks for your replies Jesse and Joseph,

I get your points, but to me it seems more appropriate, maybe cleaner,
with AS only. I can understand the need for MXML, maybe one of the
main reasons is to make easier/faster development for people that
might not have a strong coding background, which increases the user
base. But why force it on developers that can handle just as good or
maybe better without it (for whatever reason)?

--
Daniel Cascais





 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RE: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread Roger Gonzalez
 OK, we're analysing this to a level it was never meant to be 
 analysed at.
 

This often seems to happen, though.  I find design patterns to be
incredibly useful for attaching names to common code constructs (both
for describing how something was implemented or how it could/should be
implemented) but I find them unhelpful whenever they're wedged into a
context where the potential user of the pattern hasn't previously worked
on the problem and personally experienced the pain of coding themselves
into a corner.  They get locked up in a terror that they aren't
following the pattern to the letter, and freak out when the pattern
isn't a 100% match for what they're trying to do.  I once saw some code
that had a class factory that produced class factories, for no reason
other than they didn't dare put two factory methods on the same object,
because the pattern didn't say that was ok.

To bring it back to an area near and dear to my heart, its like
explaining lanesplitting techniques to a motorcyclist who lives in a
rural area with no traffic.  Sure, there are lots of best practices and
potential gotchas and what-to-do-when, but they're only interesting from
a theoretical perspective if you're never in that situation.  However,
they'll make a lot more sense -after- a cell-phone-babbling soccer mom
in a Maibatsu Monstrosity suddenly realizes she needs to exit soon and
cuts you off, forcing you to threshold brake, release, swerve a full
lanes-width in front of a bus to the next gap between lanes, and then
accelerate so hard you pull a small wheelie off a rain-slicked Bott's
Dot while still leaned over, three cylinders of bottled impatience
howling as you feed 120hp to the ground via a sticky rubber contact
patch the size of a deck of cards[1]  (Ah, Lanesplitting Pattern #4, on-
and off-ramps are like tributaries in the traffic stream, they cause
turbulence...)

-rg

[1] Part of my employment agreement is that I must checkpoint my code
into source control a bit more frequently than my sane coworkers.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




RES: [flexcoders] AMFPHP

2005-11-03 Thread Jesse Cardoso Mota










Thanks for you help!



The problem was crossdomain.xml
L



[]s

Jesse











De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de JesterXL
Enviada em: Thursday, November 03,
2005 1:12 PM
Para: flexcoders@yahoogroups.com
Assunto: Re: [flexcoders] AMFPHP







http://www.jessewarden.com/archives/2005/06/flash_flex_amfp.html











http://www.jessewarden.com/archives/2005/09/miscellaneous_d_1.html

















- Original Message - 



From: Jesse
Cardoso Mota 





To: flexcoders@yahoogroups.com






Sent: Wednesday,
November 02, 2005 6:06 PM





Subject: [flexcoders]
AMFPHP













Hi,











Where I can find some examples of Flex and AMFPHP?











Thanks





Jesse











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



  











E-mail classificado pelo Identificador de Spam Inteligente.
Para alterar a categoria classificada, visite o 
Terra Mail



Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: McAfee VirusScan / Atualizado em 02/11/2005 / Verso: 4.4.00/4618
Proteja o seu e-mail Terra: http://mail.terra.com.br/



[flexcoders] Licensing and dev server compilation

2005-11-03 Thread Jim Phelan










Hello all,



We have a client who has a Flex license for their server. We
only wish for the compiled SWF to be deployed on their server, so they dont
have access to the MXML / AS source files. My question is: is there a way to compile
our application on either a) our unlicensed development server or b) a development
server using their license code (so there would at some times be multiple servers
running the same license)? We are trying to avoid uploading source to their server
for compilation.



Any advice is appreciated,



Jim











--
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] Re: Code-only Flex apps

2005-11-03 Thread Mink, Joseph





Revisit this after you develop in Flex for about 2 
months...you might find that you made life harder on yourself or that you are 
having a harder time making modifications. On the flipside, maybe you'll 
disagree with that entirely.

The bottomline is that if you look @ Flex as a technology, 
as opposed to a language, it won't really matter to the developer whether he/she 
writes mxml or as. Both approaches represent the same thing in different 
ways. Would you want to write a complete native application's UI in 
C++? Or would you like to create the forms with the GUI builder IDE and 
then interface with those UI objects in C++?

MXML vs. AS isn't EXACTLY the same as the example just 
given, but it's in the same ballpark. Again, do it your way and then 
revisit. I know I started with no MXML, and changed pretty quickly, but 
that's me!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
CascaisSent: Thursday, November 03, 2005 1:16 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Code-only Flex 
apps
Thanks for your replies Jesse and Joseph,I get your 
points, but to me it seems more appropriate, maybe cleaner,with AS only. I 
can understand the need for MXML, maybe one of themain reasons is to make 
easier/faster development for people thatmight not have a strong coding 
background, which increases the userbase. But why force it on developers 
that can handle just as good ormaybe better without it (for whatever 
reason)?--Daniel Cascais





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

   
  







  
  
  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] Access to an API for On2 VP6

2005-11-03 Thread Jordan Snyder



:D

Well I don't have anything to offer, but I like your subtlety.

I, too, am trying to pass through some DirectX rendering to Flash Videoperhaps we should talk offlist if you're interested in collaborating on some things. (Although a lot of the IP still belongs to my employer.)


Cheers
On 11/3/05, Robert Thompson [EMAIL PROTECTED] wrote:
Does anyone know if Macromedia has some sort ofDeveloper Program for Utilization of the On2 VP6 that
provides some sort of API and/or conversion?I'm not looking to batch convert things; I'm morelooking to render in real time; snippets of alphamasked video, including an audio stream into it.Sounds lofty, but it involves another project I've had
on the back burner for quite sometime; and FlashPlayer 8 video is the perfect deployment model.I'm basically looking for a way to render DirectX toOn2 VP6 and was hoping there is some sort of licensing
and/or agreement for doing this.I'm getting some very positive feedback from customersfor Flash 8 video (one customer in particular who isnot turned on by nearly everything --- i.e. he's abid'nez'man :)
-r  __ Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Jordan SnyderApplications DeveloperImageAction, USAhttp://www.imageaction.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



  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: Code-only Flex apps

2005-11-03 Thread JesterXL
This is an experience thing, not a aptitude thing.  Experience being good 
vs. bad.

Go code your GUI in code for a few months, then come back and ask the 
question again.  I'm telling you man, from doing that crap for years in 
Flash, I've frikin had it, and Flex saves me TONS of time doing meaningless 
GUI code.

- Original Message - 
From: Daniel Cascais [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 1:15 PM
Subject: [flexcoders] Re: Code-only Flex apps


Thanks for your replies Jesse and Joseph,

I get your points, but to me it seems more appropriate, maybe cleaner,
with AS only. I can understand the need for MXML, maybe one of the
main reasons is to make easier/faster development for people that
might not have a strong coding background, which increases the user
base. But why force it on developers that can handle just as good or
maybe better without it (for whatever reason)?

--
Daniel Cascais






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







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread JesterXL
Anyone else break into a cold sweat reading that last part?  Whew... that 
was nice, John Woo style!

- Original Message - 
From: Roger Gonzalez [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03, 2005 1:20 PM
Subject: RE: helper object? what's that? (was Re: [flexcoders] To 
code-behind or not to code-behind?)


 OK, we're analysing this to a level it was never meant to be
 analysed at.


This often seems to happen, though.  I find design patterns to be
incredibly useful for attaching names to common code constructs (both
for describing how something was implemented or how it could/should be
implemented) but I find them unhelpful whenever they're wedged into a
context where the potential user of the pattern hasn't previously worked
on the problem and personally experienced the pain of coding themselves
into a corner.  They get locked up in a terror that they aren't
following the pattern to the letter, and freak out when the pattern
isn't a 100% match for what they're trying to do.  I once saw some code
that had a class factory that produced class factories, for no reason
other than they didn't dare put two factory methods on the same object,
because the pattern didn't say that was ok.

To bring it back to an area near and dear to my heart, its like
explaining lanesplitting techniques to a motorcyclist who lives in a
rural area with no traffic.  Sure, there are lots of best practices and
potential gotchas and what-to-do-when, but they're only interesting from
a theoretical perspective if you're never in that situation.  However,
they'll make a lot more sense -after- a cell-phone-babbling soccer mom
in a Maibatsu Monstrosity suddenly realizes she needs to exit soon and
cuts you off, forcing you to threshold brake, release, swerve a full
lanes-width in front of a bus to the next gap between lanes, and then
accelerate so hard you pull a small wheelie off a rain-slicked Bott's
Dot while still leaned over, three cylinders of bottled impatience
howling as you feed 120hp to the ground via a sticky rubber contact
patch the size of a deck of cards[1]  (Ah, Lanesplitting Pattern #4, on-
and off-ramps are like tributaries in the traffic stream, they cause
turbulence...)

-rg

[1] Part of my employment agreement is that I must checkpoint my code
into source control a bit more frequently than my sane coworkers.



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







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] dispatchEvent troubles (Flex 2.0)

2005-11-03 Thread JesterXL





Er, don't know G, haven't done binding in Flex 2 
yet, sorry!

- Original Message - 
From: John 
Crosby 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 11:31 AM
Subject: RE: [flexcoders] dispatchEvent troubles (Flex 
2.0)

Thanks! 

That removed the compile error. 
I still get thecompile warning 
- 'Unable to detect changes to "_sample_ac".' and the binding I have set up won't update 
unless I manually capture the event and update the controls' text property 
myself. 

I was under the inpression that Flex would watch for 
changes and update the binding chain if the getters/setters were set up as in 
the code below.

Thanks again!
- John

[Updated Code]

package com {  public class DataVO 
{  import 
flash.events.*; 
  ...[Bindable(event="sampleChanged")] public function get 
sample_ac():ArrayCollection {  return 
_sample_ac; } public function set 
sample_ac(value:ArrayCollection):Void {  _sample_ac 
= value; 
dispatchEvent(new Event("sampleChanged", true, true); } 
}}


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, November 03, 2005 8:14 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] dispatchEvent 
troubles (Flex 2.0)

Just guessing, but your DataVO doesn't extend 
EventDispatcher, only Object; try extending him so you'll get all the 
addEventListener/removeEventListener/dispatchEvent functions.

- Original Message - 
From: John 
Crosby 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, November 02, 2005 10:41 PM
Subject: [flexcoders] dispatchEvent troubles (Flex 2.0)
I'm having trouble with 
dispatchEvent in an AS 3.0 Class:package com 
{  public class DataVO 
{  import 
flash.events.*; 
  ... 
[Bindable("sampleChanged")] public function get 
sample_ac():ArrayCollection {  return 
_sample_ac; } public function set 
sample_ac(value:ArrayCollection):Void {  _sample_ac 
= value;  var 
evt:Event = n! ew Event("sampleChanged", true, true);  
dispatchEvent(evt); } 
}}I get the 
compile error: Access of undefined property dispatchEventAny help would be appreciated. TIA.- John 
Crosby





--
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] Re: Code-only Flex apps

2005-11-03 Thread Aldo Bucchi
Hola Daniel,

My advice is to use MXML for UI and Layout whenever possible. as jesse
suggests.. try and give it a ride, even if you are comfortable with
pure as coding as of today... here are some of the reasons off the top
of my head:

- MXML clearly represents the hierarchy of the components being defined
 this makes it easier to imagine the layout while reading/writing the code
 makes it easier (for you or other developer ) to locate a given
component after you've seen it's position on the rendered application.
 makes it easy to cut and paste a portion of the UI when changing the layout
- doing this ( using MXML for UI and layout ) creates an implicit
organization within your code.
 consider that it might be read by some other developer... he will
most probably start looking for a component in the MXML and, only if
he doesn't find it explicitly declared there, he would move the the AS
code in look for a dynamic instantiation. this second case is likely
to be harder, as he wouldn't really know where to start looking within
the ascript.
- MXML creates less verbose code ( less lines ). and less is always
better when you find yourself revisiting an old app after some time.

blabla...

best,
aldo

On 11/3/05, Mink, Joseph [EMAIL PROTECTED] wrote:

 Revisit this after you develop in Flex for about 2  months...you might find 
 that you made life harder on yourself or that you are  having a harder time 
 making modifications.  On the flipside, maybe you'll  disagree with that 
 entirely.

 The bottomline is that if you look @ Flex as a technology,  as opposed to a 
 language, it won't really matter to the developer whether he/she  writes mxml 
 or as.  Both approaches represent the same thing in different  ways.  Would 
 you want to write a complete native application's UI in  C++?  Or would you 
 like to create the forms with the GUI builder IDE and  then interface with 
 those UI objects in C++?

 MXML vs. AS isn't EXACTLY the same as the example just  given, but it's in 
 the same ballpark.  Again, do it your way and then  revisit.  I know I 
 started with no MXML, and changed pretty quickly, but  that's me!

  
 From: flexcoders@yahoogroups.com  [mailto:[EMAIL PROTECTED]
On Behalf Of Daniel  Cascais
 Sent: Thursday, November 03, 2005 1:16 PM
 To:  flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Code-only Flex  apps


 Thanks for your replies Jesse and Joseph,

 I get your  points, but to me it seems more appropriate, maybe cleaner,
 with AS only. I  can understand the need for MXML, maybe one of the
 main reasons is to make  easier/faster development for people that
 might not have a strong coding  background, which increases the user
 base. But why force it on developers  that can handle just as good or
 maybe better without it (for whatever  reason)?

 --
 Daniel Cascais





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


   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.






--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: helper object? what's that? (was Re: [flexcoders] To code-behind or not to code-behind?)

2005-11-03 Thread Douglas Knudsen
yeah right!  I even ran to the kawasaki web site just to peek...neat
little flash there.

Ok, sorry for sounding all pedantic, was just curious is all.  I'm
certainly far from the pattern spouting zealot.  The ideas do make me
miss college/academia though  :(


DK

On 11/3/05, JesterXL [EMAIL PROTECTED] wrote:
 Anyone else break into a cold sweat reading that last part?  Whew... that
 was nice, John Woo style!

 - Original Message -
 From: Roger Gonzalez [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, November 03, 2005 1:20 PM
 Subject: RE: helper object? what's that? (was Re: [flexcoders] To
 code-behind or not to code-behind?)


  OK, we're analysing this to a level it was never meant to be
  analysed at.
 

 This often seems to happen, though.  I find design patterns to be
 incredibly useful for attaching names to common code constructs (both
 for describing how something was implemented or how it could/should be
 implemented) but I find them unhelpful whenever they're wedged into a
 context where the potential user of the pattern hasn't previously worked
 on the problem and personally experienced the pain of coding themselves
 into a corner.  They get locked up in a terror that they aren't
 following the pattern to the letter, and freak out when the pattern
 isn't a 100% match for what they're trying to do.  I once saw some code
 that had a class factory that produced class factories, for no reason
 other than they didn't dare put two factory methods on the same object,
 because the pattern didn't say that was ok.

 To bring it back to an area near and dear to my heart, its like
 explaining lanesplitting techniques to a motorcyclist who lives in a
 rural area with no traffic.  Sure, there are lots of best practices and
 potential gotchas and what-to-do-when, but they're only interesting from
 a theoretical perspective if you're never in that situation.  However,
 they'll make a lot more sense -after- a cell-phone-babbling soccer mom
 in a Maibatsu Monstrosity suddenly realizes she needs to exit soon and
 cuts you off, forcing you to threshold brake, release, swerve a full
 lanes-width in front of a bus to the next gap between lanes, and then
 accelerate so hard you pull a small wheelie off a rain-slicked Bott's
 Dot while still leaned over, three cylinders of bottled impatience
 howling as you feed 120hp to the ground via a sticky rubber contact
 patch the size of a deck of cards[1]  (Ah, Lanesplitting Pattern #4, on-
 and off-ramps are like tributaries in the traffic stream, they cause
 turbulence...)

 -rg

 [1] Part of my employment agreement is that I must checkpoint my code
 into source control a bit more frequently than my sane coworkers.



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









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


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Popup window won't....pop

2005-11-03 Thread Stacy Young

Trying to pop open a window, which works initially...but when I attempt
to embed a view (with its own viewhelper) the window no longer
opens...but the screen is locked as if it did open.

var popWindow = PopUpManager.createPopUp( _root,
com.optimal.raven.view.resource.ResourceManager, true );
popWindow.addParent( this );
popWindow.centerPopUp( _root.rootStack.mainView );

Possible has to do with this embedded view initializing?

Any ideas appreciated!
Stace


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





RE: [flexcoders] go away, Matt!

2005-11-03 Thread Matt Chotin










I let myself get distracted too easily and
have semi-OCD about keeping my inbox empty. I do occasionally get other work
done though.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott
 Barnes
Sent: Wednesday, November 02, 2005
11:23 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] go away,
Matt!





Q. Do you two sit and
stare at mailing lists + bug queues all day?

(curious)



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



Well if you threw in the one-liners too I wouldn't have to J  Our roles are
this: 



Roger: thoughtful responses requiring knowing what you're
talking about

Matt: one line requests for more information, semi-useful
suggestions, and anything that fits in less than 100 words and doesn't require
much thought















From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Roger Gonzalez
Sent: Wednesday, November 02, 2005
9:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] go away,
Matt!





How is my boss supposed to notice my after-work
diligence and my long,
thoughtfully written posts, if you're spamming the
list with your
one-liners? Sheesh! ;-)

-rg



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

















-- 
Regards,
Scott Barnes
http://www.mossyblog.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



  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] Multilingual Messages in Validators

2005-11-03 Thread Matt Chotin










I wrote up one possible technique a while
back: http://weblogs.macromedia.com/mchotin/archives/2005/01/localizing_vali.cfm



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of r_woess
Sent: Wednesday, November 02, 2005
11:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multilingual
Messages in Validators





Hi,

my Application is multilingual. So I tried to set
errormessages in all
validators by databinding.

Here you can see a simple example.

...
var tooShortErrorMessage:String=Test
Message;
...

...
mx:StringValidator field=myModel.id
minLength=9 maxLength=20
tooShortError={tooShortErrorMessage}/
...

If the tooShortError occurs, I always get the
Message This string is
shorter than the minimum allowed length
instead of Test Message. 

Can anybody tell me, how I can customize the
messages?

best regards
Reini











--
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
  
  
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: Forcing Recompile in production mode

2005-11-03 Thread Dave Wolf
We never found one.  The SWF's are cached by the Filter in memory.

In theory a hotswap reload of the web app should do it, but would
then cause a pretty hefty leak, since thats how most containers do
hotswapping, is they leak that ClassLoader.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY 

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

 Hi,
 
 I have seached docs, but havn't turn up an answer yet,
 so thought I'ld ask you guys...
 
 We have a Developement Flex, and a Live Flex server.
 
 The live server is in production mode.
 
 We have done some fixes of our app, and moved them on to the live
server.
 
 Is there anyway to force a re-compile of a Flex App on a server in
 production mode with out restarting the Application Server?
 
 Cheers,
 
 David








 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Production development with Flex2... when?

2005-11-03 Thread Aldo Bucchi
Hi list,

I know it might be too soon to ask this, but I know many of us are
having this same questions. There are some dates I would like to
figure out:

- when will it be possible to start developing with Flex2
my bet: depends on what you need. personally I will wait for the data services.

- when will it be smart to launch an intranet application with Flex2
my bet: right after the first FP8.5 final release or Flex2 final
release, whichever happens first. you can control the easily control
the player version as they are all internal users.

- when will it be smart to launch an internet application with Flex2
my bet: when FP8.5 reaches considerable penetratrion.


Anyone would like to comment on this??


The thing is that I have two projects that will start in one or two
months and I need to figure out which Flex version will be used ASAP (
the version has some incidence on the functionality we can promess to
the customer among other issues ).
personally, I would love to start developing with Flex2 ASAP,
specially for the intranet project.

BTW; any chance macromedia might speed up the release of the FP8.5 so
we can start growing on penetration right away??

thanks,
aldo.




--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: RES: [flexcoders] Flex 2:CFC can't seem to return the same type

2005-11-03 Thread Greg Johnson
Nope, haven't tried that yet.

Basicaly what I did to get it to work is to make all my variables in 
Flex2 be strings.  Then when I assign the value returned from the 
CFC, if its a date or number being returned I use String() which will 
convert the number or date to a string representation.

mx:DateFormatter id=StdDateFormat/
mx:CurrenctFormatter id=StdMoneyFormat precision=2/

[Bindable]
public var date_dp:String = new String();
[Bindable]
public var total_dp:String = new String();

date_dp = String(result[0].DATE);
total_dp = String(result[0].TOTAL);

Then in the binding I use a currency formater and a date formater 
which seem to take strings or number/dates as acceptable input and 
output correctly.

mx:Label text={StdDateFormat.format(date_dp)}/
mx:Label text={StdMoneyFormat.format(total_dp)}/


--- In flexcoders@yahoogroups.com, Rafael M. Martinelli 
[EMAIL PROTECTED] wrote:

 Greg,
 
 I'm not sure, but I think that in AS 3.0 you can't assign an empty 
string to
 a Date Object. It's stronglly typed. As well you can't assigns na 
empty
 string to a Numeric variable. You must return 0 or -1 to a numeric 
variable.
 I guess that's the problem.
 
 As you're using Flex2 and ColdFusion, have you tested using session
 variables? It's not working for me and I don't know why. I tested 
the same
 components using just the browser and it worked.
 
 Thanks.
 
 Rafael
 
 -Mensagem original-
 De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
Em nome
 de Greg Johnson
 Enviada em: quinta-feira, 3 de novembro de 2005 15:06
 Para: flexcoders@yahoogroups.com
 Assunto: [flexcoders] Flex 2:CFC can't seem to return the same type
 
 I have a date field that gets returned to Flex2 from a CFC.  Thing 
is when
 there is a date in it, it returns a date.  When there is no date in 
it, it
 returns a empty string.
 
 Flex is having indigestion as the Flex variable is of date type.  
So when a
 date is returned, its happy, when a empty string is returned, it 
complains
 about coersion failure from string to date.
 
 If this were a different language I would use something like 
IsDate, but the
 closest thing to it seems to be the DateValidator which, atleast as
 presented in the documentation, seems more complex then what I 
really need. 
 
 Is there a function in Flex 2 that will accept a date or a empty 
string and
 will return ether a valid date or an empty date?  Or is there a 
better way
 to pass the date from the CFC so even when its  flex still sees 
it as a
 date type?
 
 Thanks
 
 
 
 
 
  Yahoo! Groups Sponsor 
~-- Fair
 play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
 
~- 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 
28/10/2005







 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Flex2: component and generated source code?

2005-11-03 Thread Julian Suggate



Great thanks a lot Spike.

Still looking for the framework component source ... any one?

Thanks,
Ules
On 11/3/05, Spike [EMAIL PROTECTED] wrote:
There are options in the project settings to allow you to add compiler arguments, but in the public alpha it doesn't work correctly.
The only way I know of to get it to generate the .as files is to use the command line compiler - mxmlc.exeThat lives in the Flex Framework 2 Alpha\bin directory which I think is automatically added under the Flex Builder install if you use the standalone install.
Once you've found it, you can compile a file using the following from the command line:mxmlc -keep {path_to_file}Spike

On 11/3/05, Julian Suggate 
[EMAIL PROTECTED] wrote:


Hi all,

Anyone know where/if we can get our hands on the component source for the Flex2 Alpha?

Also, there's a directory underneath my FB2 project tree called generated but it always seems empty! Is therea way to inspect the generated as3 code in Flex2 projects? Just for interests sake more than anything else... 


Jules--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 


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. 



-- Stephen MilliganDo you do the Badger?
http://www.yellowbadger.comDo you cfeclipse? http://www.cfeclipse.org--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: component and generated source code?

2005-11-03 Thread Matt Chotin










We havent shipped the source yet
but are hoping to in a later build.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Julian Suggate
Sent: Thursday, November 03, 2005
12:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex2:
component and generated source code?







Great thanks a lot Spike.











Still looking for the framework component source ... any one?











Thanks,





Ules







On 11/3/05, Spike
[EMAIL PROTECTED] wrote:


There are options in the
project settings to allow you to add compiler arguments, but in the public
alpha it doesn't work correctly. 

The only way I know of to get it to generate the .as files is to use the
command line compiler - mxmlc.exe

That lives in the Flex Framework 2 Alpha\bin directory which I
think is automatically added under the Flex Builder install if you use the
standalone install. 

Once you've found it, you can compile a file using the following from the
command line:

mxmlc -keep {path_to_file}

Spike





On 11/3/05, Julian
Suggate  [EMAIL PROTECTED] wrote:









Hi all,











Anyone know where/if we can get our hands on the component source for
the Flex2 Alpha?











Also, there's a directory underneath my FB2 project tree called generated
but it always seems empty! Is therea way to inspect the generated as3
code in Flex2 projects? Just for interests sake more than anything else... 











Jules












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










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.

















-- 

Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org



--
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] Re: Forcing Recompile in production mode

2005-11-03 Thread David Harris
Thanks for the answer Dave.

I guess the next question is,
Do the changes show up after a time period?
If so, how do I find out what the time is.

Cheers,

David

On 11/4/05, Dave Wolf [EMAIL PROTECTED] wrote:
  We never found one.  The SWF's are cached by the Filter in memory.

  In theory a hotswap reload of the web app should do it, but would
  then cause a pretty hefty leak, since thats how most containers do
  hotswapping, is they leak that ClassLoader.

  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com

  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY


  --- In flexcoders@yahoogroups.com, David Harris [EMAIL PROTECTED] wrote:
  
   Hi,
  
   I have seached docs, but havn't turn up an answer yet,
   so thought I'ld ask you guys...
  
   We have a Developement Flex, and a Live Flex server.
  
   The live server is in production mode.
  
   We have done some fixes of our app, and moved them on to the live
  server.
  
   Is there anyway to force a re-compile of a Flex App on a server in
   production mode with out restarting the Application Server?
  
   Cheers,
  
   David
  







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



  
  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.

  



 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Flex2: component and generated source code?

2005-11-03 Thread JesterXL





"...and sighs of releif were heard across the 
world..."

- Original Message - 
From: Matt 
Chotin 
To: flexcoders@yahoogroups.com 
Sent: Thursday, November 03, 2005 3:18 PM
Subject: RE: [flexcoders] Flex2: component and generated source 
code?


We haven’t shipped the 
source yet but are hoping to in a later build.





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Julian 
SuggateSent: Thursday, 
November 03, 2005 12:15 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2: component 
and generated source code?


Great thanks a lot 
Spike.



Still looking for the framework component source ... any 
one?



Thanks,

Ules

On 11/3/05, Spike [EMAIL PROTECTED] 
wrote: 
There are options in the project settings 
to allow you to add compiler arguments, but in the public alpha it doesn't work 
correctly. The only way I know of to get it to generate the .as files is 
to use the command line compiler - mxmlc.exeThat lives in the "Flex 
Framework 2 Alpha\bin" directory which I think is automatically added under the 
Flex Builder install if you use the standalone install. Once you've 
found it, you can compile a file using the following from the command 
line:mxmlc -keep 
{path_to_file}Spike


On 11/3/05, Julian Suggate  
[EMAIL PROTECTED] 
wrote:

  
  
  Hi all,
  
  
  
  Anyone know where/if we can get our hands on the 
  component source for the Flex2 Alpha?
  
  
  
  Also, there's a directory underneath my FB2 project 
  tree called "generated" but it always seems empty! Is therea way to 
  inspect the generated as3 code in Flex2 projects? Just for interests sake more 
  than anything else... 
  
  
  
  Jules
  
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  SPONSORED 
  LINKS 
  
  


  
Web site design development 

  
Computer software development 

  
Software design and development 


  
Macromedia flex 
  

  

  
  
  
  
  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. 
  
  
  
  
-- 
Stephen MilliganDo you 
do the Badger?http://www.yellowbadger.comDo you cfeclipse? http://www.cfeclipse.org--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
  
  
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: pricing info

2005-11-03 Thread Aldo Bucchi
Hola,

Where can I find pricing info??
I have to defend flex against some cheaper ajax frameworks. For this
matter, I believe the serverless deployment model is the feature to
highlight... any serverless flex apps TCO approximations?

--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Re: Code-only Flex apps

2005-11-03 Thread Aldo Bucchi
Try delivering meesy code to a bank... it won't get past QA. Some
customers DO READ the code. Specially when they are buying an open
license of the application in question, one that will allow them to
develop upon it.


On 11/3/05, Dave Wolf [EMAIL PROTECTED] wrote:
 Preach on!

 Its funny we had some folks on a big Flex project here come in and
 insist on writing tons of AS because they were coders.  Its amazing
 what a deadline will do to people.  They kicked into MXML as much as
 possible, wroteAS where they needed procedural control, and never
 looked back.

 So many people forget that when compile MXML actually turns into AS.
 I don't know about you, but I never found the desire to be first
 cousin to a pre-compiler.

 Its funny too, how much people want to focus on clean and easy to
 read.  In all my years I've never seen the end user reading the code

 Maintainability is clearly important.  Then again, when you cant get
 version 1 out the door due to poor productivity, there isnt much to
 maintain is there?

 Now where is that dark closet again?/

 --
 Dave Wolf
 Cynergy Systems, Inc.
 Macromedia Flex Alliance Partner
 http://www.cynergysystems.com

 Email:  [EMAIL PROTECTED]
 Office: 866-CYNERGY x85

 --- In flexcoders@yahoogroups.com, Mink, Joseph [EMAIL PROTECTED]
 wrote:
 
  Revisit this after you develop in Flex for about 2 months...you might
  find that you made life harder on yourself or that you are having a
  harder time making modifications.  On the flipside, maybe you'll
  disagree with that entirely.
 
  The bottomline is that if you look @ Flex as a technology, as opposed to
  a language, it won't really matter to the developer whether he/she
  writes mxml or as.  Both approaches represent the same thing in
  different ways.  Would you want to write a complete native application's
  UI in C++?  Or would you like to create the forms with the GUI builder
  IDE and then interface with those UI objects in C++?
 
  MXML vs. AS isn't EXACTLY the same as the example just given, but it's
  in the same ballpark.  Again, do it your way and then revisit.  I know I
  started with no MXML, and changed pretty quickly, but that's me!
 
  
 
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Daniel Cascais
  Sent: Thursday, November 03, 2005 1:16 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Code-only Flex apps
 
 
  Thanks for your replies Jesse and Joseph,
 
  I get your points, but to me it seems more appropriate, maybe cleaner,
  with AS only. I can understand the need for MXML, maybe one of the
  main reasons is to make easier/faster development for people that
  might not have a strong coding background, which increases the user
  base. But why force it on developers that can handle just as good or
  maybe better without it (for whatever reason)?
 
  --
  Daniel Cascais
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
 
  SPONSORED LINKS
  Web site design development
  http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
  site+design+developmentw2=Computer+software+developmentw3=Software+des
  ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
  5l1Q Computer software development
  http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
  b+site+design+developmentw2=Computer+software+developmentw3=Software+d
  esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
  NcnaqQ   Software design and development
  http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
  Web+site+design+developmentw2=Computer+software+developmentw3=Software
  +design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
  OxaXG2Sg
  Macromedia flex
  http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
  developmentw2=Computer+software+developmentw3=Software+design+and+deve
  lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg
 
  
 
  YAHOO! GROUPS LINKS
 
 
 
  *  Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders  on the web.
 
  *  To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
  *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/ .
 
 
  
 








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









--
: Aldo Bucchi :
mobile (56) 8 429 8300


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!

Re: [flexcoders] Re: Code-only Flex apps

2005-11-03 Thread Aldo Bucchi
typo: i meant messy code

On 11/3/05, Aldo Bucchi [EMAIL PROTECTED] wrote:
 Try delivering meesy code to a bank... it won't get past QA. Some
 customers DO READ the code. Specially when they are buying an open
 license of the application in question, one that will allow them to
 develop upon it.


 On 11/3/05, Dave Wolf [EMAIL PROTECTED] wrote:
  Preach on!
 
  Its funny we had some folks on a big Flex project here come in and
  insist on writing tons of AS because they were coders.  Its amazing
  what a deadline will do to people.  They kicked into MXML as much as
  possible, wroteAS where they needed procedural control, and never
  looked back.
 
  So many people forget that when compile MXML actually turns into AS.
  I don't know about you, but I never found the desire to be first
  cousin to a pre-compiler.
 
  Its funny too, how much people want to focus on clean and easy to
  read.  In all my years I've never seen the end user reading the code
 
  Maintainability is clearly important.  Then again, when you cant get
  version 1 out the door due to poor productivity, there isnt much to
  maintain is there?
 
  Now where is that dark closet again?/
 
  --
  Dave Wolf
  Cynergy Systems, Inc.
  Macromedia Flex Alliance Partner
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office: 866-CYNERGY x85
 
  --- In flexcoders@yahoogroups.com, Mink, Joseph [EMAIL PROTECTED]
  wrote:
  
   Revisit this after you develop in Flex for about 2 months...you might
   find that you made life harder on yourself or that you are having a
   harder time making modifications.  On the flipside, maybe you'll
   disagree with that entirely.
  
   The bottomline is that if you look @ Flex as a technology, as opposed to
   a language, it won't really matter to the developer whether he/she
   writes mxml or as.  Both approaches represent the same thing in
   different ways.  Would you want to write a complete native application's
   UI in C++?  Or would you like to create the forms with the GUI builder
   IDE and then interface with those UI objects in C++?
  
   MXML vs. AS isn't EXACTLY the same as the example just given, but it's
   in the same ballpark.  Again, do it your way and then revisit.  I know I
   started with no MXML, and changed pretty quickly, but that's me!
  
   
  
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Daniel Cascais
   Sent: Thursday, November 03, 2005 1:16 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Code-only Flex apps
  
  
   Thanks for your replies Jesse and Joseph,
  
   I get your points, but to me it seems more appropriate, maybe cleaner,
   with AS only. I can understand the need for MXML, maybe one of the
   main reasons is to make easier/faster development for people that
   might not have a strong coding background, which increases the user
   base. But why force it on developers that can handle just as good or
   maybe better without it (for whatever reason)?
  
   --
   Daniel Cascais
  
  
  
  
  
   --
   Flexcoders Mailing List
   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
   Search Archives:
   http://www.mail-archive.com/flexcoders%40yahoogroups.com
  
  
  
  
   SPONSORED LINKS
   Web site design development
   http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
   site+design+developmentw2=Computer+software+developmentw3=Software+des
   ign+and+developmentw4=Macromedia+flexc=4s=126.sig=ynjozILdtUiijfLjiz
   5l1Q Computer software development
   http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
   b+site+design+developmentw2=Computer+software+developmentw3=Software+d
   esign+and+developmentw4=Macromedia+flexc=4s=126.sig=i_RMdAMzxP1R8fB7
   NcnaqQ   Software design and development
   http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
   Web+site+design+developmentw2=Computer+software+developmentw3=Software
   +design+and+developmentw4=Macromedia+flexc=4s=126.sig=4g8hODKyQov1GX
   OxaXG2Sg
   Macromedia flex
   http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
   developmentw2=Computer+software+developmentw3=Software+design+and+deve
   lopmentw4=Macromedia+flexc=4s=126.sig=hhODNnONza_qi3x2OWe-Qg
  
   
  
   YAHOO! GROUPS LINKS
  
  
  
   *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders  on the web.
  
   *  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
  
   *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/ .
  
  
   
  
 
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 

Re: [flexcoders] Flex2: pricing info

2005-11-03 Thread Dave Carabetta
On 11/3/05, Aldo Bucchi [EMAIL PROTECTED] wrote:
 Hola,

 Where can I find pricing info??
 I have to defend flex against some cheaper ajax frameworks. For this
 matter, I believe the serverless deployment model is the feature to
 highlight... any serverless flex apps TCO approximations?


Dude, the product is in an *Alpha* form right now. It's waaay to early
to have final pricing worked out. That being said, this FAQ item might
help ballpark it:

http://www.macromedia.com/software/flex/productinfo/faq/flex2_faq.html#item-2-3

Regards,
Dave.


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





  1   2   >