[flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread p smith
Does ActionScript have any statements/operators that support looping the 
properties of user-defined classes? 

for..in works on looping basic objects. However, in the docs, the Looping page 
for "Programming ActionScript 3.0" says: 

What you cannot do is iterate through the properties of an object if it is an 
instance of a user-defined class, unless the class is a dynamic class. Even 
with instances of dynamic classes, you will be able to iterate only through 
properties that are added dynamically.

Doc page here:
http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_16.html

thanks,

p




  

[flexcoders] LCDS vs FMIS for flex-based text chat

2008-08-18 Thread p smith
i am working with a team planning development on a new flex app. the app will 
have multiple text chat rooms and video chat too.

for video the architecture must include flash media interactive server (FMIS), 
so team members assume we will use FMIS for the text messaging.

i am wondering if livecycle data services (LCDS) might have any advantages over 
FMIS for text chat?

does anyone here have experience with both that they can comment on? or links 
to articles or blog posts that might compare the pros and cons of LCDS vs FMIS 
in real time messaging apps? maybe even including BlazeDS in the analysis too?

any thoughts or assistance will be appreciated.

p


  

[flexcoders] FormItem Multiline Labels Possible?

2008-07-12 Thread P Smith
A designer has requested a 2 line form label.
 
FormItem's label property instantiates a descendent of .  And 
obviously,  supports only single line text (or single line htmlText).
 
I looked at the source on FormItem.as.  Before putting time in to extend 
FormItem, I am posting here to see if anyone else may have developed a solution 
that they would share?
 
Short of that, following is an embarrassing hack:




Thanks
 


  

Re: [flexcoders] Flash video switcher to video file..

2008-01-31 Thread P Smith
>> The only actual FLV editor that really can save a new FLV file out is the 
>> FLV editor at richapps.de.
   
  could the fms serverside actionscript method Stream.record() be used to 
generate new flv?
  http://www.adobe.com/livedocs/flashmediaserver/3.0/hpdocs/0396.html#116659

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: [flexcoders] Re: Flex E-Mail a Form PHP, ASP, or ColdFusion

2007-04-09 Thread P Smith
videogamer2791,
  
  re "I still would like to know what a MX Record is"
  
  try googling the following quoted string (ie include the quotes when 
searching):  "MX Record" 
  
  many answers. including wikipedia:
  http://en.wikipedia.org/wiki/MX_record
  
  when you get this working, please do post back with details on the solution.
  
  hth,
  
  pete
  

videogamer2791 <[EMAIL PROTECTED]> wrote:  lol, thats actually the tutorial 
that I found earlier. Great minds 
think alike.
I still would like to know what a MX Record is though.
Any help is appreciated.



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





 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

Re: [flexcoders] Re: Flex E-Mail a Form PHP, ASP, or ColdFusion

2007-04-07 Thread P Smith
videogamer2791,
  
  i googled on:  "google apps" php
  
  this came up:
  Google Apps for your Domain (PHP mail forms)
  http://www.bluehostforum.com/showthread.php?t=5444
  
  maybe somebody else will post with other solutions
  
  hth,
  
  pete
  

videogamer2791 <[EMAIL PROTECTED]> wrote:  thats good to know, however, i found 
a way to do it with a php file 
combined with a  however a new problem has occurred,
google apps, which the person who i am making the web site for, does 
not support php, so right now i am looking for a file hosting site and 
see if that helps.

ill post back to say if i have a victory



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





 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

Re: [flexcoders] Flex E-Mail a Form PHP, ASP, or ColdFusion

2007-04-07 Thread P Smith
videogamer2791,

I think you have 2 choices, either an app server sends the email, or  you 
rely on the default email program on the users' machines (using  something 
like:  URLRequest("mailto:"+ ... ) )

On the web, you have this issue sending email regardless of what you  use 
to code the UI (e.g. regardless if HTML, Flash, Flex, etc.)

Following is a sample method for sending mail from default email program on 
the users' machines using AS3/Flex:

private function clickSendEmail_submitBtn():void {
 var u:URLRequest = new  URLRequest("mailto:[EMAIL PROTECTED]"+ 
subjectBox  +"&body="+ messageBox );
navigateToURL(u,"_self");
}

btw ... any app server Flash can talk to, Flex can talk to too.   Commonly 
including:  PHP, Java, ColdFusion, WebServices, etc.  Will  pembrokecycle.com 
have access to an app server?  If so, please post  back regarding what 
language.  And of course there are any of a number  of ways to send the data 
from Flash/Flex to the app server.
  
  Please post back any follow up questions you may have.
  
hth,

g
  

videogamer2791 <[EMAIL PROTECTED]> wrote:  Hi all,
i am making a web page for a friend that will be at pembrokecycle.com,
I am a Flash AS coder with little experience with Flex, but I knew 
that it would be a little easier with data, so I used that instead 
(plus, the components look nicer).  I am pretty much done with every 
thing else except for the "Contact Us" page. In flash, I know to use 
a php script with a new Load Vars class, but I have no idea what to 
do with flex. I have seen Google searches with coldfusion, but no 
tuts.  I don't even know if google domains (which he is using), 
supports coldfusion, so i would like to save that as a last resort.  
some one please help me.
Also, im only 16, so please keep the explanation a little dumbed 
down, even though i could probably understand it anyways.
**
[code]

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
[/code]


 
-
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

[flexcoders] proxying via named destinations - coldfusion support?

2007-04-05 Thread P Smith
when using flex with coldfusion, does coldfusion support proxying via named 
destinations?

e.g.  
or 

if yes, i guess the named destination would be configured through the 
services-config.xml under the coldfusion root?

can anyone confirm if they are using coldfusion for proxying with flex?

i ask because i checked the documentation and see no mention of configuring 
coldfusion for proxying. but coldfusion does have aervices-config.xml so it 
seems like it could support proxying. but i am not sure exactly how the adapter 
would be configured in services-config.xml.

any help?

p





 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

[flexcoders] Why Flex SDK 2 Classes not included in Adobe® Fle x™ 2 Language Reference documentation

2006-12-22 Thread P Smith
Just curious.  Can anyone explain why many classes in the Flex SDK 2 are not 
included in the Adobe® Flex™ 2 Language Reference documentation?

Like the entire mx.binding package?  (only the 2 classes in the 
mx.binding.utils package are in the Language Reference.)

Thanks,

Pete



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

Re: [flexcoders] Image Slide Show(Quick One)

2006-11-30 Thread P Smith
Kumar,

If you are up for an Image Slide Show with a bit more functionality than 
Lachlan's excellent reply on your request for a "Quick One", you might want to 
check out the "Photo Viewer" Sample App that installs with Flex Builder 2.  It 
uses an external xml file (galleries.xml) for loading each photo.  

You can view it in action here:
http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html

Note:  This sample app has 3 views:  , , 
.  At the link above, you switch views by clicking icons on 
the top right corner of the gray thumbnail viewer along the bottom.

This "Photo Viewer" Sample App is easy to install via the Flex Builder 2 "Flex 
Start Page" (Install sequence:  Main Menu -> Help -> Flex Start Page -> More 
installed samples -> Photo Viewer -> Open Project)

Regarding the XML that is uses, following is a sample from galleries.xml::

  Acropolis: Matt Chotin
  Acropolis on Calton Hill in Edinburgh
  flextravel/Acropolis on Calton Hill.jpg



Happy Flexing!

Pete


- Original Message 
From: KP <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, November 29, 2006 5:48:58 AM
Subject: [flexcoders] Image Slide Show(Quick One)




 
 










Hi All,
 

  
 

Well I want to know some simple approach for creating an
image slide show.
 

  
 

I have an XML file containing all path and source of the
images.  
 

I don’t want to give any more functionality except
that images should changes every 5sec.
 

  
 

Can some one suggest a quick and easy approach on this one
 

  
 

Thanks,
 

Kumar
 











 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

[flexcoders] Photo Viewer Sample App

2006-11-17 Thread P Smith
The "Photo Viewer" Sample App has a ViewStack with 3 views:  , , .

When I move  to the top of the stack, on execution it throws 
an:  Error #1009: Cannot access a property or method of a null object 
reference. 

Poking around with the debugger the problem is that the property gallery =  
null.  

It all works fine as originally written.  That is when  is 
not the first view in the stack.  The default app PhotoViewer.mxml uses 
databinding for passing in gallery="{gallery}" to each of the 3 views.

Can anyone help out suggesting why  only fails when it is 
first view in the stack?

fyi ...

The "Photo Viewer" Sample App is easy to install via the Flex Builder 2 "Flex 
Start Page"
(Install sequence:  Main Menu -> Help -> Flex Start Page -> More installed 
samples -> Photo Viewer -> Open Project)

Because ResourceBundle are used, you might encounter the (annoying) bug 174788 
(as documented in TechNote at www.adobe.com/go/4a146409) which requires "In 
Flex Builder, clean the project in order to remove the error."

I really would like to get "Photo Viewer" Sample App working with  as the default view.  If anyone can help me figure out how to do that, I 
would appreciate it.

In debugging this I have gotten as far as ...
When the Error #1009 occurs, FB2 opens Carousel.as pointing to the first 
statement in method reset() which references:  gallery.selected

Using a breakpoint, the debugger's Variables panel shows"gallery=null".

I then modified reset() to include "if ( gallery != null )" in 2 places.  
1) around:  var selected:int = gallery.selected;
2) around the entire loop:  for (var i:int=0; i < 9; i++)

This clears the #1009 error, but the Variables window continues to show 
"gallery=null".  Only if I then navigate to either  or 
 before navigating back to   does the 
databinding finally set the gallery property and  works.

Pete




 

Sponsored Link

$200,000 mortgage for $660/ mo - 
30/15 yr fixed, reduce debt - 
http://yahoo.ratemarketplace.com

Re: [flexcoders] 'big' sample projects

2006-10-20 Thread P Smith


Joost,

The open source JBoss Mail Server (aka Collaboration Server) might fit the bill:
http://labs.jboss.com/portal/jbossmail/

  And the Flex 2 UI was coded by Adobe's own James Ward using the Cairngorm framework for Flex 2!

So, it is big, it is free, and it implements best practices.

fyi ... there are forums for the project at:
http://www.jboss.com/index.html?module=bb&op=viewforum&f=186
Also the project's lead committer, Andrew C. Oliver, presented earlier this month at the Ajax World Conference on a "Case Study: The JBoss Flex-based Mail Client".

If you do go through the code on this project, please do post back with you impressions.

Anybody else know of other open source projects using Flex UIs?

Peter- Original Message From: Joost Saanen <[EMAIL PROTECTED]>To: flexcoders@yahoogroups.comSent: Friday, October 20, 2006 5:16:17 AMSubject: [flexcoders] 'big' sample projects



Are there any complete sample sites
where the source is free? I would like to know how I can setup a complete
site, with logindialogs, errorhandling, different components, etc., I did
some tutorials of the with flex delivered getting started guide but I mis
some big sample projects for learning how big projects can be made. Anyone
can help me?

regard,
Joost

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


[flexcoders] Express Install Handling Case where user selects "No" to install

2006-09-30 Thread P Smith



Has anyone ever created a custom handler for the case where users might select "No" on the Express Install dialogue?With Express Install, users are presented with a dialogue to install  Flash Player 9.  The dialogue has both a "Yes" and a "No" button.If the user selects "No" there currently is no logic in Express Install  to direct the user to an alternate page.  They are just left  staring at box the color of Flex's default background color.For Flex 2 applications where FP9 is a requirement, leading the user to a dead end is bad usability, eh?Any and all advice or assistance would be appreciated.Pete 
		Get your email and more, right on the  new 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Sample Flex 2 based email interface

2006-09-22 Thread P Smith



Thank you all who responded.And Douglas, thank you very much!  The link for the JBoss Mail Server is brilliant!  A Flex 2 UI on the Mail Server portion of an open source Collaboration Server!And the Flex 2 UI was coded by Adobe's own James Ward!  And using the Cairngorm framework for Flex 2!It looks like both James and the project's lead committer, Andrew C. Oliver, will be presenting next month at the Ajax World Conference with Andrew specifically presenting on a "Case Study: The JBoss Flex-based Mail Client".If anyone has succeeded in downloading the source on this project
 please post back?  I tried this evening with no success.  When I can get this up and running I will post back with more observations.PeteDouglas Knudsen <[EMAIL PROTECTED]> wrote:http://labs.jboss.com/portal/jbossmail/DKOn 9/22/06, Brendan Meutzner <  [EMAIL PROTECTED]> wrote:I  think I remember seeing an example of this done in 1.5... damned if I  remember where though...  It wasn't a full on solution, but was a  good example... I'm pretty sure it was something that
 Macromedia had  done...Sorry :(BrendanOn 9/22/06, Tracy Spratt <  [EMAIL PROTECTED]> wrote:  You can do simple mailto style links in  flex natively, but I don't think that is what you want. You will need a server-side app that does  the actual mail creation and send.  Flex would make a fine front end for that.  Tracy From: [EMAIL PROTECTED]ups.com [mailto:  [EMAIL PROTECTED]  ups.com] On Behalf Of P Smith  Sent: Friday, September 22, 2006  3:17 PM  To: [EMAIL PROTECTED]ups.com  Subject: [flexcoders] Sample Flex  2 based email interface I need to create a Flex 2  based interface for email.  Is anyone aware of any examples?If not in Flex 2, maybe  Flex 1.5?  (or if not that, then maybe even Flash?)My initial requirement is  for a send email interface, ideally with a limited email
 address book.The closest I have seen  is LaszloMail.com but  a)  they don't provide the source, b) the syntax would be LZX and not MXML anyway.Pete  -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?   
		 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Sample Flex 2 based email interface

2006-09-22 Thread P Smith



I need to create a Flex 2 based interface for  email.  Is anyone aware of any examples?If not in Flex 2, maybe Flex 1.5?  (or if not that, then maybe even Flash?)My initial requirement is for a send email interface, ideally with a limited email address book.The closest I have seen is LaszloMail.com but  a) they don't provide the source, b) the syntax would be LZX and not MXML anyway.  Pete  __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Controlling Position of mx.controls.Alert

2006-09-10 Thread P Smith



Has anyone been able to get Alerts to center on anything other than the stage?     The docs for the show() method document the 4th param as:  parent:Sprite (default = null) — Object upon which the Alert control centers itself.     However, regardless what I pass on this param, the Alert window always centers itself on the stage.     And when I create an instance of the Alert and trace(myAlert.parent) or go into debug and check the parent of the instance the following is always displayed:  _AlertParentTest_mx_managers_SystemManager (where the application is (AlertParentTest.mxml)      Is this a bug?
   Following is some sample test code I tried:     http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="init();">         
		 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Controlling Position of mx.controls.Alert

2006-09-07 Thread P Smith



Can the position of an Alert window be controlled? Rather than  centered, I would like my Alert box to be positioned 20 pixels from the  top of the stage.  When I have created an Alert instance, I  have been unable to get move() or setting x and y to control the  position of the Alert window.I see that the position of a  TitleWindow can be controlled. LiveDocs for TitleWindow has an  example using localToGlobal() at the bottom of this page:  http://livedocs.macromedia.com/flex/2/langref/mx/containers/TitleWindow.htmlWhen modifying that TitleWindow example to use an Alert instead, the  same code fails to control the position of the Alert window (where it  did control the TitleWindow). Following below is the TitleWindow  example modified to use an Alert.I appreciate assistance understanding this. Pete**
 TitleWindow example modified to  use an Alert **                          paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">          click="showWindow();"/>               
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___