Re: [flexcoders] Flex 3 Builder and package imports

2008-09-25 Thread Ed
Thanks Paul,

It looks like we need to rearrange our project structure to accommodate for 
this.

Regards,
Edison

--- On Thu, 25/9/08, Paul Andrews [EMAIL PROTECTED] wrote:
From: Paul Andrews [EMAIL PROTECTED]
Subject: Re: [flexcoders] Flex 3 Builder and package imports
To: flexcoders@yahoogroups.com
Received: Thursday, 25 September, 2008, 3:01 PM











You have a pretty mixed up project structure - even for Flex 2.



Move the com directory to be a subdirectory of src. The Flex build path 

should find them.



Paul



- Original Message - 

From: Edison [EMAIL PROTECTED] com

To: [EMAIL PROTECTED] ups.com

Sent: Thursday, September 25, 2008 3:56 PM

Subject: [flexcoders] Flex 3 Builder and package imports



 Hi,



  I currently have a flex 2 project with the following structure:



 [project-name] /

  src/

web/

  assets/

  css/

  img/

  javascript/

  WEB-INF/

classes/

flex/

flex_classes/

  com/

adobe/

  cairngorm/

etc...

proj/

  business/

  commands/

  etc...

lib/



 The main source folder is: src\web



 I'm having trouble creating new ActionScript classes under the folder

 src\web\WEB- INF\flex- classes\com\ proj\*



 I get the error message: ActionScript package names must only contain

 letters, numbers, \_\, and \$\. and figured out its because its

 residing in the WEB-INF folder (which contains a '-' in the name).

 However, WEB-INF isn't part of the package structure as the package

 declaration always starts from com.proj...  for all the current

 classes. This was originally a flex 2 project using Flex 2 Builder

 without any problems.



 Is this a known problem with Flex 3 Builder? Is there any way to

 specify source files within the main source folder (the Flex Build

 Path only allows for source files outside the main source folder)?



 Thanks in advance.



 Regards,

 Edison









  - - --



 --

 Flexcoders Mailing List

 FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt

 Alternative FAQ location: 

 https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f- 
 b4cf-1e62079f684 7

 Search Archives: 

 http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups 

 Links







 




  




 

















  Make the switch to the world#39;s best email. Get Yahoo!7 Mail! 
http://au.yahoo.com/y7mail

[flexcoders] Getting YouTube videos into Flex

2008-03-22 Thread Ed Smith
Unless anyone knows an (authorized) way to get YouTube vids into Flex
apps/AS3, could you please show your support for getting Google to
write an AS3 wrapper to their AS2 API, by starring this feature
request here:

http://code.google.com/p/gdata-issues/issues/detail?id=416

I imagine many of you would like YouTube in Flex, and I believe it
would  also increase the appeal of Flex as a whole.

Thanks,

Ed



[flexcoders] Happy Valentines Day!

2008-02-13 Thread Ed Capistrano
Ahh I wonder if any of the tech guys here and @ adobe do celebrate Valentines 
Day? Hehe...

Ed
Proud  Happy Member

Send instant messages to your online friends http://uk.messenger.yahoo.com 


RE: [flexcoders] Modifying sounds

2008-01-18 Thread Ed Capistrano
Oh, realy?! I mean this is interesting modifying sound object#39;s properties! 
Waiting for the answer to this...

Edtrade;
Proud and happy member

jay.bradley wrote: 
 I'm trying to create an application like a one way skype where 
 the 
 human voice recorded from the microphone is altered to sound different 
 and I've had no luck finding a starting point or any examples of 
 modifying sound in flex or flash. 
 Does anybody know how to modify sound on-the-fly in flex/ flash? 
 Maybe I need to look at server side solutions? Anybody done anything 
 like this before? 
 Cheers, 
 Jay 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


[flexcoders] Packages classes stuffs

2007-09-28 Thread Ed Capistrano
Im just starting to learn this topic. So first you need to call or to include a 
package or class to be able play mp3 files in flex right?

Edtrade;
proud  happy member

Send instant messages to your online friends http://uk.messenger.yahoo.com 


[flexcoders] Packages stuffs

2007-09-28 Thread Ed Capistrano
Im just starting to learn this topic. So first you need to call or to include a 
package or class to be able play mp3 files in flex right?

Edtrade;
proud  happy member

Send instant messages to your online friends http://uk.messenger.yahoo.com 


Re:%20[flexcoders]%20Re:%20How%20to%20create%20a%20PHOTO%20BOOK%20using%20Flex%20(%20i%20want%20to%20flip%20the%20pages%20of%20it)

2007-09-28 Thread Ed Capistrano
Wow a photobook! Seen one that before was created in flash!

Edtrade;
proud  happy member

Giles Roadnight wrote: 
 Sorry for hijacking but how do you generate those view source 
 pages. I looked at the docs but it jsut tells you how to put a url in for the 
 view source option. not how to generate the pages. 
 On 9/28/07, candysmate  [EMAIL PROTECTED] software. com  wrote: 
 --- In [EMAIL PROTECTED] ups.com , flex_smarty flex_smarty@ 
 ... wrote:
 
 Hi All, 
 Im new to this community as well as to Flex. Im learning Flex for the 
 last couple of months. Im trying to create a Photo book using Flex and 
 Action scripting but unable to get an idea of how to proceed. Can any 
 one Please help me regarding this.Kindly help me and make me to enjoy 
 the flavour of Flex. 
 
 Reference: I have found this really interseting please go through the 
 site its fabulous of Flex. 
 
 http://www.rubenswi eringa.com/ code/as3/ flex/Book/ 
 
 Thank You All. 
 
 Well, if you go back to the link which you gave us for the example and 
 right-click your mouse, choosing 'View Source' will show all the code 
 used to create it. Much can be learned from studying that. That is 
 where I would start from. 
 Good luck! 
  -- Giles Roadnight http://giles. roadnight. name 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


Re:%20[flexcoders]%20Re:%20How%20to%20create%20a%20PHOTO%20BOOK%20using%20Flex%20(%20i%20want%20to%20flip%20the%20pages%20of%20it)

2007-09-28 Thread Ed Capistrano
Wow a photobook! Seen one that before was created in flash!

Edtrade;
proud  happy member

Giles Roadnight wrote: 
 Sorry for hijacking but how do you generate those view source 
 pages. I looked at the docs but it jsut tells you how to put a url in for the 
 view source option. not how to generate the pages. 
 On 9/28/07, candysmate  [EMAIL PROTECTED] software. com  wrote: 
 --- In [EMAIL PROTECTED] ups.com , flex_smarty flex_smarty@ 
 ... wrote:
 
 Hi All, 
 Im new to this community as well as to Flex. Im learning Flex for the 
 last couple of months. Im trying to create a Photo book using Flex and 
 Action scripting but unable to get an idea of how to proceed. Can any 
 one Please help me regarding this.Kindly help me and make me to enjoy 
 the flavour of Flex. 
 
 Reference: I have found this really interseting please go through the 
 site its fabulous of Flex. 
 
 http://www.rubenswi eringa.com/ code/as3/ flex/Book/ 
 
 Thank You All. 
 
 Well, if you go back to the link which you gave us for the example and 
 right-click your mouse, choosing 'View Source' will show all the code 
 used to create it. Much can be learned from studying that. That is 
 where I would start from. 
 Good luck! 
  -- Giles Roadnight http://giles. roadnight. name 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


RE:%20[flexcoders]%20Using%20the%20Sandy%203D%20engine%20in%20Flex

2007-09-26 Thread Ed Capistrano
Can you do 3d stuffs in flex?

Ed
proud  happy member

Dennis Ippel wrote: 
 Hi all, If you give a damn about Flex and 3D then this might be 
 of interest to you: http://www.rozengai n.com/?postid= 51 If you don't, never 
 mind :-) 
 Dennis 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


RE:%20[flexcoders]%20Using%20the%20Sandy%203D%20engine%20in%20Flex

2007-09-26 Thread Ed Capistrano
Can you do 3d stuffs in flex?

Ed
proud  happy member

Dennis Ippel wrote: 
 Hi all, If you give a damn about Flex and 3D then this might be 
 of interest to you: http://www.rozengai n.com/?postid= 51 If you don't, never 
 mind :-) 
 Dennis 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


RE:%20[flexcoders]%20Using%20the%20Sandy%203D%20engine%20in%20Flex

2007-09-26 Thread Ed Capistrano
Can you do 3d stuffs in flex?

Ed
proud  happy member

Dennis Ippel wrote: 
 Hi all, If you give a damn about Flex and 3D then this might be 
 of interest to you: http://www.rozengai n.com/?postid= 51 If you don't, never 
 mind :-) 
 Dennis 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


Re: [flexcoders] Any non-attendee access to Adobe Max presentations?

2007-09-25 Thread Ed Capistrano
I hope they will... But it will take some time.

Ed
proud  happy member
--- flexcoders@yahoogroups.com [EMAIL PROTECTED]
wrote:
 Just wondering, since I can't afford to go to
Chicago...
 
 Will Adobe be providing access to any of the
presentation materials
 from this year's Max conference?
 
 TIA,
 pc



  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz


RE: [flexcoders] Are you going to MAX?

2007-09-23 Thread Ed Capistrano
Okay, I will not be there guys but give my thanks to
those @ adobe for developing such a nice app..

Edtrade;
Proud  Happy Member
--- flexcoders@yahoogroups.com
[EMAIL PROTECTED] wrote:
 I will be there!
  
 Dimitrios Gianninas
 Development Team Lead / Moderator
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Beh
 alf Of ben.clinkinbeard
 Sent: Friday, September 21, 2007 9:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Are you going to MAX?
 
 
 
 Just curious how many people from the list will be
in Chicago.
 
 Ben
 
 
 
  
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may
contain confidential, propr
 ietary or legally privileged information, which is
solely for the use of th
 e intended recipient.  No privilege or other rights
are waived by any unint
 ended transmission or unauthorized retransmission of
this message.  If you 
 are not the intended recipient of this message, or
if you have received it 
 in error, you should immediately stop reading this
message and delete it an
 d all attachments from your system.  The reading,
distribution, copying or 
 other use of this message or its attachments by
unintended recipients is un
 authorized and may be unlawful.  If you have
received this e-mail in error,
  please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes
peuvent contenir des rens
 eignements confidentiels, exclusifs ou légalement
privilégiés destin
 és au seul usage du destinataire visé.  L'expéditeur
original ne reno
 nce à aucun privilège ou à aucun autre droit si le
présent message 
 a été transmis involontairement ou s'il est
retransmis sans son autoris
 ation.  Si vous n'êtes pas le destinataire visé du
présent message ou
  si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le li
 re et le supprimer, ainsi que toutes ses pièces
jointes, de votre systè
 me.  La lecture, la distribution, la copie ou tout
autre usage du présent
  message ou de ses pièces jointes par des personnes
autres que le destina
 taire visé ne sont pas autorisés et pourraient être
illégaux.  Si v
 ous avez reçu ce courrier électronique par erreur,
veuillez en aviser l
 'expéditeur.
 



   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/


RE: [flexcoders] Are you going to MAX?

2007-09-23 Thread Ed Capistrano
Okay, I will not be there guys just give my thanks to
those @ adobe for developing such a nice app..

Edtrade;
Proud  Happy Member
--- flexcoders@yahoogroups.com
[EMAIL PROTECTED] wrote:
 I will be there!
  
 Dimitrios Gianninas
 Development Team Lead / Moderator
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Beh
 alf Of ben.clinkinbeard
 Sent: Friday, September 21, 2007 9:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Are you going to MAX?
 
 
 
 Just curious how many people from the list will be
in Chicago.
 
 Ben
 
 
 
  
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may
contain confidential, propr
 ietary or legally privileged information, which is
solely for the use of th
 e intended recipient.  No privilege or other rights
are waived by any unint
 ended transmission or unauthorized retransmission of
this message.  If you 
 are not the intended recipient of this message, or
if you have received it 
 in error, you should immediately stop reading this
message and delete it an
 d all attachments from your system.  The reading,
distribution, copying or 
 other use of this message or its attachments by
unintended recipients is un
 authorized and may be unlawful.  If you have
received this e-mail in error,
  please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes
peuvent contenir des rens
 eignements confidentiels, exclusifs ou légalement
privilégiés destin
 és au seul usage du destinataire visé.  L'expéditeur
original ne reno
 nce à aucun privilège ou à aucun autre droit si le
présent message 
 a été transmis involontairement ou s'il est
retransmis sans son autoris
 ation.  Si vous n'êtes pas le destinataire visé du
présent message ou
  si vous l'avez reçu par erreur, veuillez cesser
immédiatement de le li
 re et le supprimer, ainsi que toutes ses pièces
jointes, de votre systè
 me.  La lecture, la distribution, la copie ou tout
autre usage du présent
  message ou de ses pièces jointes par des personnes
autres que le destina
 taire visé ne sont pas autorisés et pourraient être
illégaux.  Si v
 ous avez reçu ce courrier électronique par erreur,
veuillez en aviser l
 'expéditeur.
 



   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


[flexcoders] Max Conference

2007-09-22 Thread Ed Capistrano
Seems like tokyo game show to me yipee! Btw could you just go in there w/o any 
fees

Edtrade;

Send instant messages to your online friends http://uk.messenger.yahoo.com 


RE:%20[flexcoders]%20Are%20you%20going%20to%20MAX?

2007-09-21 Thread Ed Capistrano
Naa! I like to go there anyways can you share a vid of it to others.

ben.clinkinbeard wrote: 
 Just curious how many people from the list will be in Chicago. 
 Ben 
  


Send instant messages to your online friends http://uk.messenger.yahoo.com 


[flexcoders] Greetings!

2007-09-20 Thread Ed Capistrano
Goodmorning!
Any updates on the max conference on n.y.?

Send instant messages to your online friends http://uk.messenger.yahoo.com 


[flexcoders] Greetings!

2007-09-20 Thread Ed Capistrano
Goodmorning!
Any updates on the max conference on n.y.?

Send instant messages to your online friends http://uk.messenger.yahoo.com 


[flexcoders] Embedded font thing...

2007-09-18 Thread Ed Capistrano
Ideas? Got one! 
is there any substitute or alternative to webdings font?
Second embed the whole characters!

Ed
proud  happy member

Send instant messages to your online friends http://uk.messenger.yahoo.com 


[flexcoders] Flex Chat

2007-09-16 Thread Ed Capistrano
Realy? A flex chat app! Is it possible? using as2/3


  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz


Re: [flexcoders] How to invoke AIR app from a webpage?

2007-08-28 Thread Ed Capistrano
Guyz, can someone please explain to me whats an air
appz  the diff. to flex appz. 
Thanks in advance.

Ed
proud  a happy member
--- flexcoders@yahoogroups.com
[EMAIL PROTECTED] wrote:
 Hi everyone,
 
 i'm new to this group.
 
 i've a question as subject.
 
 I've an AIR app for client to download.
 But how to invoke my AIR app from a webpage and how
to detect if the
 client downloaded  installed my AIR app already?
 
 Please kindly advise.
 
 Thanks a million.
 
 cheers,
 vicky
 



   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222


Re: [flexcoders] How to invoke AIR app from a webpage?

2007-08-28 Thread Ed Capistrano
Guyz, can someone please explain to me whats an air
appz  the diff. to flex appz. 
Thanks in advance.

Ed
proud  a happy member
--- flexcoders@yahoogroups.com
[EMAIL PROTECTED] wrote:
 Hi everyone,
 
 i'm new to this group.
 
 i've a question as subject.
 
 I've an AIR app for client to download.
 But how to invoke my AIR app from a webpage and how
to detect if the
 client downloaded  installed my AIR app already?
 
 Please kindly advise.
 
 Thanks a million.
 
 cheers,
 vicky
 



   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/


[flexcoders] Why the weird semantics for some of the higher-order functions?

2007-06-02 Thread Ed Smith
I very much appreciate having functions as first-class values. However, 
I'm finding it increasingly annoying that Array.map and .filter don't 
follow the normal definitions. I keep writing

a.map(  function(l){return ...}  );

only to get run-time errors because map requires a function with three 
(!) arguments. So I have to change it to:

a.map(  function(l,i:int,a:Array){return ...}  );

Why do map/filter and some of the other higher-order functions have such 
an unconventional semantics? As well as being annoying, passing the 
index and complete array also seems to me to violate the normal 
encapsulation rules that you'd expect of map.

Is there a 'normal' version of map somewhere that I'm missing?

Thanks,

Ed




Re: [flexcoders] Can I use a variable to refer to an object's property name?

2007-05-31 Thread Ed Smith
  ? Can I can instead do something like
  item.[myComboBox.selectedItem.data]? Do you know what I mean?

Actually, I think item[myComboBox.selectedItem.data] should actually 
work just fine,

Ed

Peter Demling wrote:
 
 
 (This is a fundamental question, and it' challenging to find a clear
 way to ask it):
 
 Let's say I have an ArrayCollection data source with 50 fields (which
 I do), and my user selects the name of one of these fields (let's say
 PRODUCT) with myComboBox, so that it's now in
 myComboBox.selectedItem.data.
 
 How can I make actionScript use this value dynamically, so that
 instead of coding a switch with 50 cases for each property like so:
 
 switch(myComboBox.selectedItem.data){
 case PRODUCT:
 return item.PRODUCT;
 break;
 case FIELD2:
 return item.FIELD2;
 break;
 case FIELD3:
 return item.FIELD3;
 break;
 ...
 }
 
 ? Can I can instead do something like
 item.[myComboBox.selectedItem.data]? Do you know what I mean?
 Something like
 item.getValueofNamedProperty(myComboBox.selectedItem.data);.
 
 [Without complicating the question, I ask because this would greatly
 simplify a complex charting component I'm developing, where the user
 should be able to summarize the underlying data based on any of the
 fields; so I need to know the selected property for the filter
 function, the toolTip, the sort function, etc. Right now I'm only
 supporting 3 properties, since I'm relying on nested switch statements
 like the one above].
 
 Hopefully I'm just missing a really basic piece of actionScript
 syntax. Many thanks for any suggestions!
 
 -Peter Demling
 Lexington, MA
 
 



[flexcoders] Re: Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Ed Smith
  I find runtime MXML something that would be invaluable.

I'm not too sure about this. Wouldn't every swf have to link to every mx 
library (just in case it's used)? That would mean that every time you 
load from a URL you'd download the whole of MX, not just the components 
that are actually being instantiated. Wouldn't that be a problem in 
practice?

Ed


Re: [flexcoders] FlexManiacs 2007 Conference - 90% full

2007-04-24 Thread Ed Capistrano
Some other members here cant go there so please do
share with us here using youtube, googlevideo or a
downloadable vid if its fine. Thanks

Ed
proud  happy member
--- flexcoders@yahoogroups.com [EMAIL PROTECTED]
wrote:
 This may be your last chance to register for the
FlexManiacs 2007
 conference, held on June 25-26 in Washington, DC.
  
 The conference is now at 90% of capacity, but we've
added a couple new
 sessions focused on Apollo and there are still a few
seats available in some
 hands-on sessions and all lecture sessions.
  
 The conference content covers both Flex 2 and
Apollo.
  
 Register today at
http://flex2conference.figleaf.com/
 http://flex2conference.figleaf.com/  before we
reach capacity!
  
 Regards,
 Steve Drucker
 CEO
 Fig Leaf Software
 www.figleaf.com http://www.figleaf.com 
 training.figleaf.com
  
 
 
 This email has been processed by SmoothZap -
www.smoothwall.net


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


Re: [flexcoders] FlexManiacs 2007 Conference - 90% full

2007-04-23 Thread Ed Capistrano
Some other members here cant go there so please do
share with us here using youtube, googlevideo or a
downloadable vid if its fine. Thanks

Ed
proud  happy member
--- flexcoders@yahoogroups.com [EMAIL PROTECTED]
wrote:
 This may be your last chance to register for the
FlexManiacs 2007
 conference, held on June 25-26 in Washington, DC.
  
 The conference is now at 90% of capacity, but we've
added a couple new
 sessions focused on Apollo and there are still a few
seats available in some
 hands-on sessions and all lecture sessions.
  
 The conference content covers both Flex 2 and
Apollo.
  
 Register today at
http://flex2conference.figleaf.com/
 http://flex2conference.figleaf.com/  before we
reach capacity!
  
 Regards,
 Steve Drucker
 CEO
 Fig Leaf Software
 www.figleaf.com http://www.figleaf.com 
 training.figleaf.com
  
 
 
 This email has been processed by SmoothZap -
www.smoothwall.net


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


Re: [flexcoders] New flex forum for flex developers (German)

2007-04-13 Thread Ed Capistrano
Does it have a mailing list?
If so, can you give the details for subscribing. 

thanks,
-Ed
Proud  happy member
--- [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 Today we have launched a new forum for Flex- and
Apollodevelopers.
 Everybody is welcome. Discuss and have fun! :) 
 
 www.flexhilfe.de
 
 
 


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


[flexcoders] To newbies...

2007-04-13 Thread Ed Capistrano
What can you say to the likes of me who came from
flash  just starting to grasp flex. Will I/we be
having a hard time in adapting/learning flex? Please
give any book titles or sites that best suite to
people like me.

Thanks,
-Ed
proud  a happy member

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


[flexcoders] The difference...

2007-04-11 Thread Ed Capistrano
Im a newbie in flex but I did studied developing flash
apps(mainly for the web)including its language as2.0.
I wonder whats with flex and flash appz? Any
significant diff. between the two?


   

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121


[flexcoders] The difference...(cleared)

2007-04-11 Thread Ed Capistrano
Yeah, thanks for lending bit of your time clearing up
vougue matter regarding flash  flex!

-Ed
proud  a happy member of flexcoders


   

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097


[flexcoders] The difference...(cleared)

2007-04-11 Thread Ed Capistrano
Yeah, thanks for lending bit of your time clearing up
vougue matter regarding flash  flex!

-Ed
proud  a happy member of flexcoders


   

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


[flexcoders] SharedObject.getLocal() throws RangeError

2007-04-03 Thread Ed
I have two Flex Applications: one is a Flex 1.5 App, the other a Flex
2 App.  Both want to access the same local SharedObject (lso).

SharedObject.getLocal(foo, /)

Both Apps are running on the same domain.

When I load the Flex 1.5 App, it accesses and reads the lso correctly.  If
I then load the Flex 2 App, I get an error every time I try to access
the lso.

Error.toString():

(RangeError)
 message: Error #2006: The supplied index is out of bounds. (*)
 name: RangeError (*)
 errorID: 2006 (int)

Error.getStackTrace():

RangeError: Error #2006: The supplied index is out of bounds.
  at flash.net::SharedObject$/getLocal()
  at -- snip --

After this error, the lso is cleared.  When the original Flex 1.5 app
tries to access it, it's empty.  The corresponding .sol file in my
Application Data dir is deleted.

It happens even if both apps are not running simultaneously.  As long
as the Flex 1.5 App accesses it first, the Flex 2 app can't.

The same error doesn't happen between 2 Flex 1.5 Apps or 2 Flex 2.0 Apps.



[flexcoders] Re: SharedObject.getLocal() throws RangeError

2007-04-03 Thread Ed
Flex 2 serializes lso's as AMF3.  Flex 1.5 as AMF0.

SharedObject.defaultObjectEncoding = ObjectEncoding.AMF0;
var cookie:Object = SharedObject.getLocal(foo, /).data;

You have to know the encoding before you try to access the lso.  Get
it wrong and the lso is deleted.  Kinda harsh.


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

 I have two Flex Applications: one is a Flex 1.5 App, the other a Flex
 2 App.  Both want to access the same local SharedObject (lso).
 
 SharedObject.getLocal(foo, /)
 
 Both Apps are running on the same domain.
 
 When I load the Flex 1.5 App, it accesses and reads the lso
correctly.  If
 I then load the Flex 2 App, I get an error every time I try to access
 the lso.
 
 Error.toString():
 
 (RangeError)
  message: Error #2006: The supplied index is out of bounds. (*)
  name: RangeError (*)
  errorID: 2006 (int)
 
 Error.getStackTrace():
 
 RangeError: Error #2006: The supplied index is out of bounds.
   at flash.net::SharedObject$/getLocal()
   at -- snip --
 
 After this error, the lso is cleared.  When the original Flex 1.5 app
 tries to access it, it's empty.  The corresponding .sol file in my
 Application Data dir is deleted.
 
 It happens even if both apps are not running simultaneously.  As long
 as the Flex 1.5 App accesses it first, the Flex 2 app can't.
 
 The same error doesn't happen between 2 Flex 1.5 Apps or 2 Flex 2.0
Apps.





[flexcoders] Re: Web Service Error Handling Problem

2007-03-21 Thread Ed
Follow-up:

Support for this is a little better documented in Flex 2, but still
feels like a hack.

If you inspect your RemoteObject and manage to find a reference to the
underlying NetConnection object, you can add a listener for the
NetStatusEvent to detect non-200 http status code responses or dead
connections.

For example, if you're using Renaun's RemoteObjectAMF0
(http://renaun.com/blog/flex-components/remoteobjectamf0/):

remoteObj.gateway_conn.addEventListener(NetStatusEvent.NET_STATUS,
onConnectionFault);

Where onConnectionFault is some function to handle connection-level
failures.

I haven't tried this with the built-in FDS RemoteObject yet, but it
would be nice if both the built-in and Renaun implementations just
called the fault handler on connection failures.

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

 This is killing me as well.  When my server returns anything other
 than HTTP status 200, like a 404 or 503, even if that's an
 appropriate response, neither the success nor fault handlers are
 executed.  As far as Flash/Flex is concerned, it will continue waiting
 as if a response is forthcoming.
 
 I have a Flex 1.5 fix, but I don't think it works very well.
 
 Say you have a RemoteObject:
 
 mx:RemoteObject id=services source=com.company.Facade
   fault=handleFault(event); result=handleResult(event);/
 
 Somewhere you make a call to the facade.
 
 services.doSomething();
 
 Say the request is really long running.  Using Apache/Tomcat, the
 server may decide to timeout with a 503 (Service Unavailable), which
 is an entirely appropriate and expected response.
 
 The 503 response will arrive at my Flex app and be completely ignored.
  If I've defined a busy cursor for this request.
 
 mx:method name=doSomething showBusyCursor=true /
 
 Then busy cursor will never go away and the Flex App will just spin.
 
 To fix this, I created a initialize event handler in the class that
 contains my RemoteObject.
 
 private function doInitialize(pEvent:Object):Void
 {
   pEvent.target.services.__conn.onStatus = onConnectionFailure;
 }
 private function onConnectionFailure(pEvent:Object):Void
 {
   // 1.  do something to indicate a connection failure
   // 2.  remove the busy cursor
 }
 
 This takes advantage of a connection level fault handler which
 documented at

http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0742.html
 
 If you just want *something* in your code to execute on request
 failures, this will do it for you.
 
 But there's a big problem with this fix.  Not only will you respond to
 404s, 503s, and whatever else, but you'll also respond to generic
 connection failures, like pulling your network cable out.  At first,
 that sounds like a bonus.  But in practice, connections come and go
 all the time.  Sometimes the server will just time you out for
 inactivity.  Sometimes you'll lose your connection for a few seconds
 in the middle of a request.  Those are false positives.
 
 You should be able to solve that problem by checking the argument
 passed to Connection.onStatus.  While that is documented, in my case
 (Flex 1.5), this argument is always undefined.  So when a fault is
 detected, you have no way of figuring out whether or not it's legit.
 
 To top it all off, more often than not my entire App becomes
 unresponsive after connection failures.  You have to hit refresh.
 
 It's disappointing to see that this isn't fixed in Flex 2 yet:

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=dataservices_099_03.html
 
 I suspect this isn't an Adobe problem, but a browser problem, but I
 don't know for sure.
 
 Anyway, even though the cure is probably worse than the disease, this
 is something you can try out as well.
 
 
 --- In flexcoders@yahoogroups.com, Chua Chee Seng quai83@ wrote:
 
  Hi all,
  
  I am building a data adapter using web service.  The
  mx.rpc.soap.WebService class works fine for me except in handling the
  exception thrown from server side.  The problem cause that I found out
  from the docs is that Flash Player doesn't read the SOAP Fault details
  when the Response status code is 500.
  
  The following URL suggest a solution:
  
 

http://stackoverflowexception.blogspot.com/2007/02/handing-web-service-exception-in-flex.html
  
  However, after I set the status code to 200 by using response wrapper,
  I got the result handler get called and not the fault handler as
  explained by the URL.
  
  Does anyone have better idea to achieve exception handling of web
 service?
  
  Thanks.
  
  Best Regards,
  Chua Chee Seng
 





[flexcoders] RDS problems with beta 3

2006-06-05 Thread Ed Lovell



I'm having problems with Flex Builder 2 beta 3 in connecting via RDS to CFMX7. I installed the CF_FBExtensions_B3_0515 on top of FB2b3. In trying to configure RDS to connect to my CF7 server, all I can get is "Unable to contactthe RDS server...". I've tried two different CF7 servers and have verified that both CF7 server are accepting RDS connections since I can connect to both using RDS via CF Report Writer. I've tried connecting by host name and IP address. Any suggestions?? Thanks!

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







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: RDS problems with beta 3

2006-06-05 Thread Ed Lovell




João, 

Thanks for the suggestion. I've tried both port 80 and port 8500 with FB2 running on the same box as CF7 and a separate box. The really weird thing is that I can access via RDS from CF Report Builder, but not from FB2b3. 

-Ed

 From: "João Fernandes" [EMAIL PROTECTED]  Subject: Re: RDS problems with beta 3 
 I had the same issue when using IIS and pointing to port 80. 
 When using de CF instance port number It started to work.

 João Fernandes Dep. Informática - à rea de Desenvolvimento Cofina media

 I'm having problems with Flex Builder 2 beta 3 in connecting via 
 RDS to CFMX7. I installed the CF_FBExtensions_B3_0515 on top 
 of FB2b3. In trying to configure RDS to connect to my CF7 server, 
 all I can get is "Unable to contact the RDS server...". I've tried two 
 different CF7 servers and have verified that both CF7 server are 
 accepting RDS connections since I can connect to both using RDS 
 via CF Report Writer. I've tried connecting by host name and IP 
 address. Any suggestions?? Thanks!

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







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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