[flexcoders] Re: get rid of light line on top of panel

2006-08-02 Thread bhaq1972
are you talking about the line that divides the header and the main 
panel area?

try borderStyle=solid;

--- In flexcoders@yahoogroups.com, "Pan Troglodytes" 
<[EMAIL PROTECTED]> wrote:
>
> I've been playing with panels and I haven't been able to get the 
light
> colored line to not show up on top, no matter what I do.  Is there 
some way
> to do this?  I played with the Flex 2 Style Explorer at
> 
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleEx
plorer.htmland
> used these settings.
> 
> Panel {
>cornerRadius: 0;
>headerHeight: 50;
>borderThickness: 0;
>dropShadowEnabled: false;
>roundedBottomCorners: false;
>textAlign: center;
>backgroundAlpha: 0;
>borderAlpha: 0;
>highlightAlphas: 0, 0;
>borderStyle: undefined;
>borderColor: #0066ff;
>titleStyleName: "myTitleStyle";
> }
> 
> .myTitleStyle {
>}
> 
> -- 
> Jason
>






--
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] Person with the "[Junk E-Mail - LOW]" tags in the Subject

2006-08-02 Thread Mike Anderson
Hello there!

Not to nitpick here, but since FlexCoders is definitely considered
"desired e-mail" (otherwise, you wouldn't be subscribed to this mailing
list), isn't there a way in your Spam Filter or e-mail client, to
"Whitelist" the FlexCoder postings?  This way the Subject Line doesn't
have to scream "Hey I am flagged as Spam" every time new messages pop
into our mailboxes.  Also, with each subsequent reply to a post, it's
appending another Spam Message to the Subject Line - in which the
original Subject of the post, is not even viewable in the Subject Field.
Kind of defeats the purpose of having a Subject ...

There is just something disturbing (maybe on a subconscious level) about
looking at my FlexCoders Folder, and seeing all these messages flagged
as "Spam" - especially since Spam has become such a terrible and
sensitive issue.

Of course, this is all a moot point, if your ISP is flagging those
messages before you are even getting them - then of course, you can't do
much about it (other than manually deleting the offending message from
your Subject Line when replying to messages).

I apologize all, if this sounds silly or nitpicky.  I only mention this
in the interests of all the List Members, and have the utmost respect
for every person on this list.

For every Mailing List that I've administered over the years, our goal
has always been to strip out unnecessary characters, and trimming down
lengthy posts - in order to conserve Disk Space and most important,
Internet Bandwidth.

Thanks for listening :-)

Respectfully,

Mike


--
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: Simple way to do "Please wait..." type window

2006-08-02 Thread bhaq1972
guys
its not working because, your line 

popUpParent = mainPanel;

isn't being set inside an initialize event(for eg).

you can do this

function test()
{
   popUpParent=mainPanel
}

regards
bod

--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Tim Hoff wrote:
> > 
> > Do you still have this line.
> > 
> > var popUpParent:DisplayObject;
> > 
> > If so, then wtf.
> 
> Yup, I sure do.
> 
> And yeah, wtf?
> 
> I solved the problem by eliminating the reference to popUpParent 
> entirely and just put Application.application.mainPanel where it 
was 
> used in the code.
> 
> rick
>






--
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] fp9 auto-update

2006-08-02 Thread Matt Chotin
So I've been told that Player 9 is being downloaded at quite the clip
and therefore we're actually holding off form the moment on starting to
push so that we don't overload the servers.  I assume part of your
question is to address penetration concerns?  Player 8 hit approximately
45% penetration in 3 months.  We think we're on pace to match or better
that for Player 9.

Matt


--
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] FlexBuilder - is there a way to enable code hints for FDS stuff?

2006-08-02 Thread Matt Chotin












If you create the project in FB as an FDS
project it will ask for the config file that will find the fds.swc.  If you don’t
want to re-create the project just open up the project properties and go to the
libraries section and add the fds.swc into that.

 

Fds.swc is in your web-inf/flex/libs  directory.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
Sent: Tuesday, August 01, 2006
2:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexBuilder
- is there a way to enable code hints for FDS stuff?



 







I am using Eclipse plugin. I have started as a Flex
SDK project
originally. Now I am using FDS and compile everything on the server. I
can't get code hints for FDS stuff (such as DataService,
ItemReference, etc) to work. All the code hints for standard SDK stuff
work great.

Any ideas?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] strange XMLListCollection behavior

2006-08-02 Thread Matt Chotin












Ah, this may be an interesting case.  When
we do an additem in the XMLList case we use the += operator so that we can
affect the original source.  However that means that we’re appending to a
node which may then affect any XMLList that contains that node.  Not quite the
expected behavior.  It all comes from us trying to do the “right”
thing by affecting the underlying source list (all XMLLists are copies, if you
try to add to an XMLList itself that doesn’t affect the “source”);
but maybe in this case you’re finding a flaw in our logic.  It’d be
worth filing this on our wish form, http://www.adobe.com/go/wish.

 

Matt 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Bray
Sent: Tuesday, August 01, 2006
9:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] strange XMLListCollection
behavior



 







If you
run the code below, expand the folder, select a file, and click "add to
list" repeatedly, items get added to both dataProviders, but I don't
understand why the original tree is changing because I'm not adding items to
it.  Could someone explain what's happening?  I'm less interested in
fixing it than in understanding what's happening.  Thanks. 


http://www.adobe.com/2006/mxml"
height="400" creationComplete="init()"> 
    
    
    
    
    
     
    
    
    
    
    
     








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Flex Builder Upgrade?

2006-08-02 Thread Matt Chotin












Flex Builder does not work with 3.2 right
now, we’ll address that in our next release.

 

Matt

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Rick Root
Sent: Wednesday, August 02, 2006
6:08 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex
Builder Upgrade?



 







dinger0007
wrote:
> 
> I searched for upgrades to my Flex Builder and see that there is an
> upgrade to eclipse. Do I ever need to worry about the upgrade not
> being compatable with the flex plugin portion?

I believe the Flex Builder 2 plugin *ONLY* works with CFEclipse 3.1 - 
NOT 3.2 - unless Adobe has released an updated plugin since June 27.

Rick






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] How do I match against an XML attribute that has a hyphen in its name?

2006-08-02 Thread Matt Chotin












Maybe try var
results:XMLList = books.book.(@[“book-id”] == id);

 

Haven’t tested this myself.

 

You need quotes when you’re
referring to a property that has a hyphen.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of quinnwong74
Sent: Monday, July 31, 2006 4:09
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I
match against an XML attribute that has a hyphen in its name?



 







How do I match against an attribute that has a hyphen
in its name? 
For example, suppose I have the following actionscript:

private var books:XML; 
public function XMLListExample() {
books = 







;

showBooksById("1");
}

private function showBooksById(id:String):void {
var results:XMLList = books.book.(@book-id == id);
showList(results);
}

private function showList(list:XMLList):void {
var item:XML;
for each(item in list) {
trace("item: " + item.toXMLString());
}
} 

And I want to match on the node that has a book-id of 1. The
following does not work:

var results:XMLList = books.book.(@book-id == id);

This results in a "ReferenceError: Error #1065: Variable @book is not
defined." and thinks this is a subtraction operation.

Also, using brackets doesn't work as well:

var results:XMLList = books.book.(["@book-id"] == id);

Thanks in advance!

- Quinn






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Adding AS3 support to 3rd party editors - legal question

2006-08-02 Thread Matt Chotin












I have a phone call with our lawyer
tomorrow, I’ll ask him.  Offhand I don’t think scraping the
livedocs is kosher, but let me get back to you.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
Sent: Wednesday, August 02, 2006
5:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adding
AS3 support to 3rd party editors - legal question



 







Anyone? Is there a different place I should be asking
this?

Thanks,
Ben

--- In [EMAIL PROTECTED]ups.com,
"ben.clinkinbeard"
...> wrote:
>
> Dear Adobe,
> 
> I was recently having a discussion about adding AS3 support (code
> completion, type checking, etc) to a 3rd party editor and a
> legal/copyright/license question came up that I am hoping to get a
> definitive answer to. The question is basically whether or not its ok
> to create files required by the editor by scraping the language ref
> pages available on LiveDocs.
> 
> It seems to me that this would be fine since (a) the pages are freely
> available to the public and (b) the SDK was released for free to
> encourage adoption and things like code completion are more or less
> requirements for an editor to be considered a legitimate development
> environment.
> 
> Is my thinking correct?
> 
> Thanks,
> Ben
> http://www.returnundefined.com/
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] License Number on FlexBuilder 2

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





Matt:
 
I'll order tomorrow.
 
Thanks,
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Wednesday, August 02, 2006 11:40 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] License Number on 
FlexBuilder 2




I don’t have an answer 
for you on this so probably going ahead and getting the download is the right 
thing to do.  But it’s something I’m sure people will run into so I’ll ask 
around.

If you ordered the 
download and still want the DVD mail me offlist and I’ll see what I can 
do.

Matt





From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jack W. Caldwell @ 
Zingit Technologies, Inc.Sent: 
Wednesday, August 02, 2006 10:50 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] License Number on 
FlexBuilder 2




Marco:

Well . . . . I 
guess I will have to order the download
so I can get the 
License Key now.

Thanks,

Jack




From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Marco 
CasarioSent: Wednesday, August 
02, 2006 12:41 PMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] License Number on 
FlexBuilder 2




Hi,

you 
won't.

You have to wait for your CD I 
guess



best

Marco 
Casario

http://casario.blogs.com





  
  - Original Message - 
  
  
  From: Jack W. 
  Caldwell @ Zingit Technologies, Inc. 
  
  To: [EMAIL PROTECTED]ups.com 
  
  
  Sent: 
  Wednesday, August 02, 2006 7:20 PM
  
  Subject: 
  [flexcoders] License Number on FlexBuilder 2
  
  
  
  I 
  am ready to purchase Flex Builder 2 w/charting. 
  I 
  have already downloaded the trial and it will expire in 10 days. 
  
  I 
  would prefer to get the CD, but it may not get delivered before the 
  expiration.  If I order the 
  CD will I be given the license number so I can go ahead an enter 
  it? 
  Thanks, 
  Jack 
  
  


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Flash Player 9 Push?

2006-08-02 Thread Matt Chotin












We do have the ability to push as well, we
usually turn it on about a month after we’ve launched and then Players
will ping to see if there was an update every so often.  Users can configure
how often the Player pings, so it’s not something that we can force out.

 

I’ve asked if we know when we’ll
be turning it on.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nick Collins
Sent: Wednesday, August 02, 2006
9:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash
Player 9 Push?



 







I'm pretty sure it's just the detection script and
changing the required major version to 9 instead of 8.The version of the SWF
doesn't affect that. It will still prompt them to upgrade.



On 8/1/06, Brendan
Meutzner <[EMAIL PROTECTED]com>
wrote:











The way I understand it, there is a point at which it
will start "suggesting" upgrading to previous version users when they
load any swf content, not just v9... am I mistaken?


Brendan












On 8/1/06, Nick Collins <[EMAIL PROTECTED]com>
wrote: 











It already is in the Express install. You just need to
adjust your detection script to detect for 9





 



On 8/1/06, Brendan Meutzner < [EMAIL PROTECTED]com>
wrote:











Hey,

Any ideas from Adobe on when version 9 of the player will start getting pushed
out to older version users?


Brendan













 















 















 








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] License Number on FlexBuilder 2

2006-08-02 Thread Matt Chotin












I don’t have an answer for you on
this so probably going ahead and getting the download is the right thing to do.
 But it’s something I’m sure people will run into so I’ll ask
around.

 

If you ordered the download and still want
the DVD mail me offlist and I’ll see what I can do.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jack W. Caldwell @ Zingit
Technologies, Inc.
Sent: Wednesday, August 02, 2006
10:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] License
Number on FlexBuilder 2



 







Marco:

 

Well . . . . I guess I will have to
order the download

so I can get the License Key now.

 

Thanks,

 

Jack

 







From:
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Marco Casario
Sent: Wednesday, August 02, 2006
12:41 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] License
Number on FlexBuilder 2





 





Hi,





you won't.





You have to wait for your CD I guess





 





best





Marco Casario





http://casario.blogs.com





 





 







- Original Message - 





From: Jack W. Caldwell
@ Zingit Technologies, Inc. 





To: [EMAIL PROTECTED]ups.com






Sent: Wednesday, August
02, 2006 7:20 PM





Subject: [flexcoders]
License Number on FlexBuilder 2





 







I
am ready to purchase Flex Builder 2 w/charting. 

I
have already downloaded the trial and it will expire in 10 days. 

I
would prefer to get the CD, but it may not get delivered before the 
expiration. 
If I order the CD will I be given the license number so I 
can go
ahead an enter it? 

Thanks,


Jack 

 












__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Easy Question: can't connect to flash debugger?

2006-08-02 Thread Matt Chotin












Launch the browser going to that url and
wait for the dialog to come up.  Then in fdb just type run and let it sit
hanging.  Then choose the default “where” option for the debugger
and hit OK. Should work.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of G
Sent: Wednesday, August 02, 2006
4:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Easy
Question: can't connect to flash debugger?



 







I am
trying to use the flash debugger, and failing. I
have the flash debug player installed, and from inside
fdb I type, for instance:

run http://localhost:8080/flex/AnotherTest.mxml

fdb immediately returns saying "Failed to connect;
session timed out."

At the same time, a new browser window opens to that
URL, and it loads properly.

Right when it starts loading a small pop-up window
appears asking me "Where is the Flash debugger host
running?" I've tried answering "localhost," tried
127.0.0.1, and my machine's IP address, nothing helps.

The Flash documentation mentions this pop-up, but the
instructions are highly unhelpful: "You will need to
ensure that your server configuration settings and the
URL used to invoke the MXML file are correct"

Can anyone help?

Thanks!

Greg

__
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Create variables dynamic in Flex 2

2006-08-02 Thread Tom Ortega



What about the opposite?I want to find a property value of a dynamically named var.  I.e. what if later in the code, i once again looped but instead of:var myVar_i:String = new String();

o["myVar_" + i] = new String();I wanted to do:"myVar_"+i.someProperty = someValue;orsomeVar = "myVar_"+i.somePropertyThanks,Tom
On 7/26/06, JesterXL <[EMAIL PROTECTED]> wrote:













  



Make the class dynamic or use an object.

var o:Object = {};
for (var i:uint=0; i == 10; i++)
{
var myVar_i:String = new String();
o["myVar_" + i] = new String();
}

Or:

package
{
dynamic public class Flexible
{
publid function Flexible()
{
}
}
}

var a:Flexible = new Flexible();
a["cow" + i] = new String();

- Original Message - 
From: "Artur Kordowski" <[EMAIL PROTECTED]>
To: 

Sent: Wednesday, July 26, 2006 10:24 AM
Subject: RE: [flexcoders] Create variables dynamic in Flex 2

But i dont want to use an array. I would like to create those vars on the
fly.

Artur

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Paul Andrews
Sent: Wednesday, July 26, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Create variables dynamic in Flex 2

- Original Message -
From: "Paul Andrews" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, July 26, 2006 3:04 PM
Subject: Re: [flexcoders] Create variables dynamic in Flex 2

> - Original Message - 
> From: "Artur Kordowski" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, July 26, 2006 2:58 PM
> Subject: [flexcoders] Create variables dynamic in Flex 2
>
>
>> How can I create in a loop variables dynamicly?
>> Like this:
>>
>> for (var i:uint=0; i == 10; i++)
>> {
>> var myVar_i:String = new String();
>> }
>>
>> Any idea?
>
> var myVar:Array = new Array();
> for (var i:uint=0; i == 10; i++)
> {
> myVar[i]  = new String();
> }
>
>
>
>
>>
>>
>> Artur
>>
>>
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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

>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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

> Yahoo! Groups Links
>
>
>
>
>
>
>
>

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

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

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

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


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex2: Question and SecurityPolicy.loadPolicyFile()

2006-08-02 Thread dadrobson
Tobias,

I'm not sure if this was just a typo in your post, but I don't think
you want SecurityPolicy.loadPolicyFile(). I think the correct method is: 

flash.system.Security.loadPolicyFile("url");

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

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

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

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




Re: [flexcoders] Flex 2 and the Browser

2006-08-02 Thread Rick Root
Matt Horn wrote:
> 
>  > Two questions.
>  >
>  > #1 - Can a Flex 2 app know the URL of the browser window it
>  > is currently loaded into?
> 
> Yes.
> 
> var baseurl:String = Application.application.url;

Matt,

That returns the URL of the swf itself, not the URL of the parent 
browser window in which the swf  lives (unless the swf was called 
directly, not within an HTML page, I suppose).

Same goes for the Application.application.parameters - it returns the 
URL parameters of the SWF itself, not the parent browser window.

No matter though, as I posted earlier in the thread, that's good enough :)

Rick


--
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 with Using the JSP Tag Library

2006-08-02 Thread Joonha Lee
not support JSP Tag Library in Flex 2 !!
flex-bootstrap.jar in Flex 1.5 is not equals Flex 2
Tag Library part is deleted  

--- In flexcoders@yahoogroups.com, "Satish" <[EMAIL PROTECTED]> wrote:
>
> Hi i am trying to embed my mxml page in my jsp. But i was getting 
the 
> following error.
>  File "/FlexTagLib" not found
> .But my flex-bootstrap.jar is locating in right place. Can anybody 
tell me 
> why i am getting this error?
> 
> my sample code:
> <%@ taglib uri="FlexTagLib" prefix="mm" %>
> 
> 
> 
> <%String tree=" label='Option 1.2'/>"; %>
> 
> 
> 
> http://www.macromedia.com/2003/mxml"; 
> initialize="loadme()" >
> 
> ..
> 
> ..
>







--
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] Flex2: Question and SecurityPolicy.loadPolicyFile()

2006-08-02 Thread Tobias Patton










Hello Flexcoders;

 

Is there a way to know when SecurityPolicy.loadPolicyFile( )
has completed?

 

A little background: our Flex application needs to
communicate with another application running on the same machine. We are using
an XML socket to host the communication. When the user clicks the buttons that
exposes this functionality, a Cairngorm command is executed that does the
following:

 

1)   Call
SecurityPolicy.loadPolicyFile(). The server responds with a
 XML document.

2)   Create an
XML socket on the same IP address and port as specified in the loadPolicyFile()
call.

3)   Send a small
XML file to the socket.

4)   The server
closes the socket.

 

I’m running into a problem where the send() operation
on a socket returns successfully, but fails to send any data. This only happens
if I call SecurityPolicy.loadPolicyFile() immediately before calling
socket.connect(). If I use a timer to delay the send() call 500ms after the loadPolicyFile(),
there is no problem.

 

The docs state: 

 

When considering a request that requires a policy
file, Flash Player always waits for the completion of any policy file downloads
before denying a request

 

But this had not been my experience.  Well, I guess the
send() operation is not denied, it’s just never executed.

 

My solution right now is to use a timer to delay the send()
operation, but this feels like a nasty hack. Is there a better way?

 

Thanks.
Tobias.

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Re: Array parameters fail with Webservices

2006-08-02 Thread Darren Houle
Renaun, yes, that will send three distinct args, but I believe he needs to 
send one distinct arg that is an Array of three values.

Kaleb, have you tried creating an XML object and passing that into your 
operation?

var message:XML =
   
  Moe
  Curly
  Larry
   ;
var op:Object = ws.getOperation("sendStrings");
op.send(message);

Or something along those lines?
(Forgive me if this syntax is 100% correct, I just hacked it out real quick 
from memory)

Darren




>From: "Renaun Erickson" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Re: Array parameters fail with Webservices
>Date: Wed, 02 Aug 2006 18:21:06 -
>
>Try:
>ws.sendStrings("One","Two","Three");
>
>Which should make the call with 3 distinct parameters.
>
>Renaun
>
>--- In flexcoders@yahoogroups.com, "kaleb_pederson" <[EMAIL PROTECTED]> wrote:
> >
> > I'm using a webservice that requires that an array of strings be
> > passed to one function.  Each method that I have tried to send array
> > parameters fails.  By fails, I mean the request is successfully sent
> > to the server but the parameter list is empty and thus the response
> > isn't valid for the request that I'm attempting to make.
> >
> > Here are the variations that I have tried:
> >
> >ws = new mx.rpc.soap.mxml.WebService();
> >
> > ws.loadWSDL("http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";);
> > // waits for loadWSDL to finish
> >
> > // variation one
> > var op:Object = ws.getOperation("sendStrings");
> > op.arguments = new Array("One","Two","Three");
> > op.send();
> >
> > // variation two
> > ws.sendStrings.arguments = new Array("One","Two","Three");
> > ws.sendStrings.send();
> >
> > // variation three
> > ws.sendStrings.send(new Array("One","Two","Three"));
> >
> > // variation four
> > ws.sendStrings.send("One","Two","Three");
> >
> > The request that's made looks like the following (less formatting):
> >
> > 
> >  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > 
> >  > xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/"; />
> > 
> > 
> >
> > The response that comes back looks like the following:
> >
> > 
> >  > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> >
> > xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>
> > http://www.w3.org/2005/08/addressing";>
> > 
> > 
> > 
> > 
> > 
> >
> > The XSD shows the following input specification:
> >
> > 
> >  
> >   > minOccurs="0"/>
> >  
> > 
> >
> > I also tried using MXML without any success.  See the following for
> > details:
> >
> >
>http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1176598#4215452
> >
> > Any thoughts?  Am I missing something obvious?  I can give you more
> > information, including the complete WSDL, so please let me know if
> > there is anything else that would be useful.
> >
> > Thanks.
> >
> > --Kaleb






--
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] Flex 2 and the Browser

2006-08-02 Thread Matt Horn
> Two questions.
> 
> #1 - Can a Flex 2 app know the URL of the browser window it 
> is currently loaded into?

Yes.

var baseurl:String = Application.application.url;

> #2 - Can Flex 2 access URL parameters of the current browser window?

Yes.

Given a URL like this:

http://yoursite.com?myName=reiner&myHometown=Berlin 

You could do something like this if you know the param names:

private function initVars():void {
myName =
Application.application.parameters.myName;
myHometown =
Application.application.parameters.myHometown;
}

Or this if you don't:

private function iterateOverArguments():void {
for (var i:String in
Application.application.parameters) {
trace(i + ":" +
Application.application.parameters[i]);
}
}

This is described in the Flex 2 Developer's Guide here: 

http://livedocs.macromedia.com/flex/2/docs/1003.html

hth,

matt horn
flex docs





--
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] alternative regex delimeters

2006-08-02 Thread Gordon Smith












We followed the ECMA-262 spec for
Ecmascript compatibility, and alternative delimiters for String and RegExp
literals aren't part of that language. Of course, we've introduced all sorts of
additional concepts that aren't in that language (type annotations, classes, packages,
namespaces, etc.) but when it comes to features that ECMA-262 specifies, I believe
our lack of innovation is deliberate.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of fuad_kamal
Sent: Tuesday, August 01, 2006
2:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] alternative
regex delimeters



 







Just complaining...

As a perl hacker in the AS3 world, I make heavy use of RegEx...
It would be nice if Adobe would supply alternative delimeters for
strings other than single & double quotes (for example when your
string contains double and single quotes, and its too much trouble to
escape every quote - if that's even possible, which I can't recall at
the moment), and alternative delimeters for RegExp other than //. It
would make for a lot more readable code...

var pattern : RegExp = /\/\/.*?\//gis; //yes it comes up often

On top of that, Eclipse seems to get easily confused with its color
coding when it comes to RegEx... /.../ and everything in between
starts out red, but as you add to the _expression_ it goes into color
limbo land, changing colors on the pattern with no seeming logic.

And how the heck do you use a variable in a AS3 regex?

Complaints aside, hey I flipped out when they introduced RegEx support
in AS3. \;)






__._,_.___





--
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: need to be able to cancel change to a DateField

2006-08-02 Thread jrjazzman23
Thanks for the ideas.  I'm a little surprised that there's no notion
of cancelling a change event or capturing some kind of "before change"
event.

Jeremy

--- In flexcoders@yahoogroups.com, "Joan Lafferty" <[EMAIL PROTECTED]> wrote:
>
> Here is a quick example of how you can do it. 
> 
>  
> 
> 
> 
>  
> 
> http://www.adobe.com/2006/mxml"; >
> 
>  
> 
> 
> 
>
> 
> 
> 
>  
> 
>  
> 
>  creationComplete="currentSetDate = df.selectedDate" />
> 
>  
> 
> 
> 
>  
> 
> Good luck.
> 
> Joan
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Karl Johnson
> Sent: Wednesday, August 02, 2006 1:19 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] need to be able to cancel change to a
> DateField
> 
>  
> 
> You might be able to find another event to capture before the commit,
> but it can be a bit hacky sometimes because of the different way to
> interact with form inputs fire different events. The way to do this that
> would ensure you get it right everytime is to store the dateField value
> in a variable, and if they don't confirm the change, change the
> selectedDate back to what was in the Date variable. If they do confirm,
> then set the variable equal to the new selectedDate.
> 
>  
> 
> If you are doing this in a lot of places, then simply extend the
> DateField and add a new property on it called previousDate or something
> like that. Then you could build the confirmation and change back logic
> right into the component.
> 
>  
> 
> Karl 
> 
>  
> 
> Cynergy Systems, Inc.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jrjazzman23
> Sent: Wednesday, August 02, 2006 3:22 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] need to be able to cancel change to a DateField
> 
> I'd like to be able to ask the user to confirm their date selection
> BEFORE the selectedDate field gets set. The Change event appears to
> not be cancelable. Is there any other way to accomplish this?
> 
> 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

<*> 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] again - DataGrid rows and wows

2006-08-02 Thread Gordon Smith












When you scroll a DataGrid, it recycles
renderers -- the one that scrolls off the top goes to the bottom -- to optimize
performance; that way it only has to create as many renderers as are visible.

 

You're presumably seeing stale state
information. Can you post a small example to show how you are setting the
state?

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matti Bar-Zeev
Sent: Wednesday, August 02, 2006
2:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] again -
DataGrid rows and wows



 









Hi list,

Can someone
please tell me if the mess that scrolling a datagrid produces is a known bug or
just me doing something wrong?

What I mean
by "mess"? I mean that the top row goes to the bottom; the bottom row
goes to the top only to prevent rendering non-viewable rows. This causes my
cell renderers to lose touch with their initial place and state… and what
not.

 

Thnx.

 


 
  
   
  
 
 
  
   
  
 
 
  
   
  
 


 




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Re: Developing on Linux?

2006-08-02 Thread Impudent1
csewhiff wrote:
> --- In flexcoders@yahoogroups.com, "Nick Collins" <[EMAIL PROTECTED]> 
> wrote: 
>  
> 
>>well, you can use any IDE you want with the SDK, you just won't  
>>have all the nice code hinting and completion and such.  
> 
>  
> 
>>it would be a pain in the ass to do so. 
> 
>  
> It is a PITA, which is why I was looking for alternatives. 
>  
> I don't even use the GUI builder but the code completion sure is 
> nice. 

Speaking as a script masher not RIA developer :P ...

I never did care for anything besides basic syntax hilighting for the 
longest time. Ultraedit with a wordfile seemed happy, then, with the new 
extendscript toolkit on the last adobe production bundle cycle, I got a 
bit of a taste of how nice it is to have a code debugger.

the debugger environ, the ability to f1,f3 over code to pull up specific 
help or the associated file, plus the code completion hints etc really 
make me like Flex editor now ;)

My big snarl with it that does bug me tho, is that you cannot collapse 
functions within a set of script tags. I would love to be able to shrink 
down the script area to see only the functions I am working on.

Impudent1
LeapFrog Productions



--
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: Cairngorm: Managing Application State

2006-08-02 Thread christophers1228
That makes sense, I guess I'm a little confused because the coldfusion
application wizard generates a "login" state and "mainApplication"
state and that's where I saw the first real implementation of states.

I do realize that it could be done any number of ways, I was just
looking for some input as to why you would do it one way or another.


--- In flexcoders@yahoogroups.com, "Renaun Erickson" <[EMAIL PROTECTED]> wrote:
>
> The main thing here is if you use Views with ViewHelpers you should
> have those as separate views and not use .  States in my
> preception are more for UI changes within a view then what the
> switching containers or larger sets of UI.
> 
> Now this is not to say you can use the States for changing containers
> like that of the ViewStack, it just seems its not the purpose of it.
> 
> From the livedocs:
> 
> "The State class defines a view state, a particular view of a
> component. For example, a product thumbnail could have two view
> states; a base view state with minimal information, and a rich view
> state with additional information."
> 
> More reading:
>
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0923.html#321190
> 
> Renaun
> 
> --- In flexcoders@yahoogroups.com, "christophers1228"
>  wrote:
> >
> > Thanks for the input.  Maybe I've been misunderstanding the way to use
> > them from the beginning. ( very possible )
> > 
> > Let me give a better example, to make sure i'm not way out in left
> field.
> > 
> > This is a typical way I manage the state.
> > 
> > 
> >   
> >   
> >   
> > 
> > 
> > Model:
> >  public static var workflowState:Number = 0;
> >  public static var VIEWING_SOMETHING:Number = 0;
> >  public static var VIEWING_SOMETHING_ELSE:Number = 1;
> >  public static var VIEWING_ANOTHER_THING:Number = 2;
> > 
> > Inside of a view:
> >  
> > 
> > it seems like this should accomplish the same thing:
> > 
> >   
> > 
> >
> > 
> >   
> >   
> > 
> >
> > 
> >   
> >   
> > 
> >  
> > 
> >   
> > 
> > 
> > Inside of a view:
> > 
> > 
> > I have noticed in messing around with it, that maybe you could bind
> > the current state to the model and change from a number to a string.
> > 
> > sorry for the long post, just trying to learn something :)
> > 
> > Thanks, 
> > Chris
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> > >
> > > The states as used in Cairngorm will not correlate with the
> > >  in Flex 2.  The serve different purposes.  Well let me
> > > step back and say, this is how I feel about it.
> > > 
> > > Flex 2 states are good for view/control states where Cairngorm
> > > workflow states are just that work/process flow.  
> > > 
> > > Thats not to say you can't have an attribute on the Cairngorm
model to
> > > facilitate something you are trying to do with 
> > > 
> > > Renaun
> > > 
> > > --- In flexcoders@yahoogroups.com, "christophers1228"
> > >  wrote:
> > > >
> > > > Hello,
> > > > I've been using cairngorm for about a year now (flex 1.5) and
I just
> > > > started some projects using flex 2. (I have to admit I've been
using
> > > > and still trying to understand at the same time :) )
> > > > I was just wondering, how do the new view states in flex2 fit in
> with
> > > > managing the state in the model.
> > > > 
> > > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > > >  vs. 
> > > > 
> > > > 
> > > > 
> > > > I just got to the point were I was pretty comfortable with the
> flow of
> > > > cairngorm (it's taught me alot about architecture) I'm just
> wondering
> > > > how to fit some of the new features of flex2 in.
> > > > 
> > > > Any ideas?
> > > >
> > >
> >
>







--
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: Developing on Linux?

2006-08-02 Thread csewhiff
--- In flexcoders@yahoogroups.com, "Nick Collins" <[EMAIL PROTECTED]> 
wrote: 
 
> well, you can use any IDE you want with the SDK, you just won't  
> have all the nice code hinting and completion and such.  
 
>it would be a pain in the ass to do so. 
 
It is a PITA, which is why I was looking for alternatives. 
 
I don't even use the GUI builder but the code completion sure is 
nice. 
 
 





--
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 plugin conflicts with Aptana plugin

2006-08-02 Thread Uday M. Shankar
Hi All,
I have been using flex builder since the beta version. Since the final 
was released, I have been using that. Last week, I got my license key 
and registered my flex builder. Since then I have been getting a weird 
error. The editor was showing "Invalid identifier" all across the code. 
But, this was only in the Actionscript editor. After spending some time 
trying to fix this problem, I realized that the problem was because of 
the Aptana plugin. Somehow the aptana plugin interferes with the flex 
compiling. When I disabled aptana, everything was back to normal.

If anyone else is facing the same problem, and you have aptana 
installed, you might wanna try disabling it.

Regards,
Uday








--
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: Cairngorm: Managing Application State

2006-08-02 Thread christophers1228
Thanks for the input Brennan,

This makes sense because once you get into the child components,
this.currentState I believe refers to the component itself and not the
application.  
 So would you have the view update the model directly or would you
have a command that updates the model?

Thanks for the input,
Chris

--- In flexcoders@yahoogroups.com, "dreuimar" <[EMAIL PROTECTED]> wrote:
>
> Chris,
> 
> What I usually do is have something like:
> 
>  
> 
> ...
> 
>  
>
>  
>  
>  
>
>
>  
>  
>  
>
>
>  
>
>  
>
>  
> 
> And at the creation complete of the application I"ll simply put:
> model.selectedState = model.SOMESTATE;
> 
> Then whenever you want to switch just set model.selectedState to
> something else.'
> 
> Brennan
> 
> --- In flexcoders@yahoogroups.com, "christophers1228"
>  wrote:
> >
> > Thanks for the input.  Maybe I've been misunderstanding the way to use
> > them from the beginning. ( very possible )
> > 
> > Let me give a better example, to make sure i'm not way out in left
> field.
> > 
> > This is a typical way I manage the state.
> > 
> > 
> >   
> >   
> >   
> > 
> > 
> > Model:
> >  public static var workflowState:Number = 0;
> >  public static var VIEWING_SOMETHING:Number = 0;
> >  public static var VIEWING_SOMETHING_ELSE:Number = 1;
> >  public static var VIEWING_ANOTHER_THING:Number = 2;
> > 
> > Inside of a view:
> >  
> > 
> > it seems like this should accomplish the same thing:
> > 
> >   
> > 
> >
> > 
> >   
> >   
> > 
> >
> > 
> >   
> >   
> > 
> >  
> > 
> >   
> > 
> > 
> > Inside of a view:
> > 
> > 
> > I have noticed in messing around with it, that maybe you could bind
> > the current state to the model and change from a number to a string.
> > 
> > sorry for the long post, just trying to learn something :)
> > 
> > Thanks, 
> > Chris
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> > >
> > > The states as used in Cairngorm will not correlate with the
> > >  in Flex 2.  The serve different purposes.  Well let me
> > > step back and say, this is how I feel about it.
> > > 
> > > Flex 2 states are good for view/control states where Cairngorm
> > > workflow states are just that work/process flow.  
> > > 
> > > Thats not to say you can't have an attribute on the Cairngorm
model to
> > > facilitate something you are trying to do with 
> > > 
> > > Renaun
> > > 
> > > --- In flexcoders@yahoogroups.com, "christophers1228"
> > >  wrote:
> > > >
> > > > Hello,
> > > > I've been using cairngorm for about a year now (flex 1.5) and
I just
> > > > started some projects using flex 2. (I have to admit I've been
using
> > > > and still trying to understand at the same time :) )
> > > > I was just wondering, how do the new view states in flex2 fit in
> with
> > > > managing the state in the model.
> > > > 
> > > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > > >  vs. 
> > > > 
> > > > 
> > > > 
> > > > I just got to the point were I was pretty comfortable with the
> flow of
> > > > cairngorm (it's taught me alot about architecture) I'm just
> wondering
> > > > how to fit some of the new features of flex2 in.
> > > > 
> > > > Any ideas?
> > > >
> > >
> >
>







--
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] Easy Question: can't connect to flash debugger?

2006-08-02 Thread G
I am trying to use the flash debugger, and failing.  I
have the flash debug player installed, and from inside
fdb I type, for instance:

run http://localhost:8080/flex/AnotherTest.mxml

fdb immediately returns saying "Failed to connect;
session timed out."

At the same time, a new browser window opens to that
URL, and it loads properly.

Right when it starts loading a small pop-up window
appears asking me "Where is the Flash debugger host
running?"  I've tried answering "localhost," tried
127.0.0.1, and my machine's IP address, nothing helps.

The Flash documentation mentions this pop-up, but the
instructions are highly unhelpful:  "You will need to
ensure that your server configuration settings and the
URL used to invoke the MXML file are correct"

Can anyone help?

Thanks!


Greg


__
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 
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: Scrolling drawing API content?

2006-08-02 Thread wayne_badu_johnson
Thanks Dan, maybe some confusion but I am trying to 'activate' the 
scrollbars of the container. Even though the drawn content is a 
child of the container, boundaries aren't being recognised.

Any more thoughts?

Another version which may make it clearer:

http://www.adobe.com/2006/mxml"; 
layout="absolute" creationComplete="initApp()">
 


   
  

   








--- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> 
wrote:
>
> you need to explicitly set the size of lineSprite (and maybe it's 
parents).
> 
> lineSprite.width = 200;
> lineSprite.height = 900;
> 
> generally you would want this in the createChildren or measure 
functions if
> you were creating a new component, but here you just want it before
> lineSprite is added to it's parent.  Using width or measuredWidth 
or
> measuredMinWidth or explicitMinWidth should work.
> 
> - Dan
> 
> On 8/2/06, wayne_badu_johnson <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> > I am having trouble when adding dynamic graphics content to a
> > container in getting the container to scroll this content.
> >
> > So in a nutshell, I have some AS adding graphics/lineTo content 
to a
> > sprite class and then adding that as a child to a UIComponent, 
then
> > adding to a mxml declared container (tried variations Panel, 
HBox,
> > Canvas etc). The lines are being drawn however as the drawn 
conent
> > is larger than the visible container are I would have thought the
> > scrollbars for the target container to kick in. Hope this makes 
some
> > sense.
> >
> > Sample:
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute" creationComplete="initApp()">
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> >
> > Any help appreciated
> > Cheers
> > Wayne
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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

<*> 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 with drawn lines appearing outside the bounds of container on resize.

2006-08-02 Thread wayne_badu_johnson
I have the same issue. Did anyone from Adobe comment on this one?


--- In flexcoders@yahoogroups.com, "Steven Toth" <[EMAIL PROTECTED]> 
wrote:
>
> Can anyone comment?  Anyone from Adobe have any insight?  Thanks.
> 
> --- In flexcoders@yahoogroups.com, "Steven Toth"  
> wrote:
> >
> > I have a Canvas that I'm drawing on using the graphics.lineTo() 
> method 
> > of the Canvas. When I resize the browser window so the the 
Canvas 
> gets 
> > smaller the lines that were in the Canvas now extend outside the 
> bounds 
> > of the Canvas and show on other containers.  The only thing I 
have 
> been 
> > able to do to remove them is to call the graphics.clear() of the 
> > Canvas.  The clipContent property of the Canvas is set to true 
and 
> it 
> > still shows the lines outside of the bounds of the Canvas.  Is 
> this 
> > expected behavior?  What needs to be done to have the lines 
drawn 
> on 
> > the Canvas resize with the Canvas to stay contained within the 
> bounds 
> > of the Canvas?  I expected that to happen by default.  I'm using 
> Flex 2 
> > Beta 3.
> > 
> > Thanks.
> > 
> > -Steven
> >
>







--
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] sending parameters from Flex2 to AMFPHP

2006-08-02 Thread FineLine












You are only sending one single array parameter.
You can either read it as one parameter in AMFPHP, as Impudent1 suggests, or
you can send it as multiple parameters like:

 

gateway.call(“Service.operation”,
new Responder(resultFunction, faultFunction), param1, param2, param3 …)

 

Cheers, Tim

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of arnold_charming
Sent: Wednesday, 2 August 2006
11:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] sending
parameters from Flex2 to AMFPHP



 







Hi!

I'm having some difficulties sending parameters from Flex to AMFPHP.
Because flex has to send 2 parameters, AMFPHP always complains I
haven't sent the second argument, never the less the second argument
in in the array.

Below is my code:

var arrPosredovani:Array = new Array();
arrPosredovani[0] = ["1","1"];
arrPosredovani[1] = ["2","2"];

gateway.call("Projekt.shraniProjekt", new
Responder(onResult,
onFault), arrPosredovani);

I also tried like

var arrPosredovani:Array = [["1","1"],["2","2"]]

and still AMFPHP complains about not sending the right number of
parameters. If I change my AMFPHP function to allow only one parameter
then passing variables from Flex to AMFPHP works as it should. Also
this function works just fine in browser of AMFPHP.

What am I doing wrong?
I'm using the latest version of AMFPHP 1.2






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Re: Binding data in one MXML component to a Text component in a different MXML c

2006-08-02 Thread Marco Casario





Hi,
here is the code you need :
 
Main Application MXML :
 
http://www.adobe.com/2006/mxml" 
 layout="vertical" xmlns:miocomp="assets.*" 
> 
 

 
Your Component :
 
http://www.adobe.com/2006/mxml" 
width="400" 
height="300">
 
hope that helps you
best,
Marco Casario
http://casario.blogs.com
 
 
 
 

  - Original Message - 
  From: 
  Renaun 
  Erickson 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, August 02, 2006 11:35 
  PM
  Subject: [flexcoders] Re: Binding data in 
  one MXML component to a Text component in a different MXML c
  
  
  The scope of the controls is not the 
  same.patientSummaryExternal is in the parents scope of any 
  componentsinside of PatientSummaryView.Try:Or added a 
  Bindable attribute to the PatientSummaryView that you useto bind to the 
  text field. I encourage using a ModelLocator patternfor anything 
  major.Renaun--- In [EMAIL PROTECTED]ups.com, 
  "Jason" <[EMAIL PROTECTED]> wrote:>> Binding data in one MXML 
  component to a Text component in a different> MXML component - need 
  help please> > > > I seem to be missing what the 
  link is between different MXML> components. What I want to do is load 
  in external XML, populate a> data Model with the loaded data, and bind 
  that data to a dozen> different MXML components controlled by a 
  ViewStack. I can do what I> want when I am in one MXML file, but I am 
  having a problem talking> between MXML files. I need to bind components 
  in one MXML file to a> Model in a different MXML file> > 
  > > In the sample below the obvious problem is that the> 
  PatientSummaryView.mxml component does not have access to the> 
  patientSummaryExternal Model defined in Main.mxml. I do not know 
  how> to make that connection. I have tried a half-dozen different 
  options> with name spaces and eventHandlers, but I cannot seem to get 
  it to> work. I'm sure I am just missing a basic concept, but I cannot 
  find> the answer I need in the help. If you can give me any tips I 
  would> appreciate it.> > > > > > 8"?>> > http://www.adobe.com/2006/mxml" 
  xmlns="*">> > > 
  id="patientSummaryExternal"/>> > > bottom="40" right="10" 
  creationPolicy="all"> > > > 
  id="patientSummaryView" label="Patient Summary"/> > > 
  > > > 
  > > > > > > > 8"?>> > http://www.adobe.com/2006/mxml" 
  xmlns="*"> width="300" height="300">> > 
   
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] need to be able to cancel change to a DateField

2006-08-02 Thread Joan Lafferty












Here is a quick example of how you can do
it. 

 



 



 

    

   

    

 

 



 



 

Good luck.

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson
Sent: Wednesday, August 02, 2006
1:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] need to
be able to cancel change to a DateField



 







You might be able to find another event to
capture before the commit, but it can be a bit hacky sometimes because of the
different way to interact with form inputs fire different events. The way
to do this that would ensure you get it right everytime is to store the
dateField value in a variable, and if they don't confirm the change, change the
selectedDate back to what was in the Date variable. If they do confirm, then
set the variable equal to the new selectedDate.

 

If you are doing this in a lot of places,
then simply extend the DateField and add a new property on it called
previousDate or something like that. Then you could build the confirmation and
change back logic right into the component.

 

Karl 

 

Cynergy Systems, Inc.

 







From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jrjazzman23
Sent: Wednesday, August 02, 2006
3:22 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] need to be
able to cancel change to a DateField



I'd like to be able to ask the user to confirm their
date selection
BEFORE the selectedDate field gets set. The Change event appears to
not be cancelable. Is there any other way to accomplish this?

thanks








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Binding data in one MXML component to a Text component in a different MXML compo

2006-08-02 Thread Ralf Bokelberg
Hi Jason,

make the model a property of your PatientSummaryView
Cheers,
Ralf.

On 8/2/06, Jason <[EMAIL PROTECTED]> wrote:
> Binding data in one MXML component to a Text component in a different
> MXML component - need help please
>
>
>
> I seem to be missing what the link is between different MXML
> components.  What I want to do is load in external XML, populate a
> data Model with the loaded data, and bind that data to a dozen
> different MXML components controlled by a ViewStack.  I can do what I
> want when I am in one MXML file, but I am having a problem talking
> between MXML files.  I need to bind components in one MXML file to a
> Model in a different MXML file
>
>
>
> In the sample below the obvious problem is that the
> PatientSummaryView.mxml component does not have access to the
> patientSummaryExternal Model defined in Main.mxml.  I do not know how
> to make that connection.  I have tried a half-dozen different options
> with name spaces and eventHandlers, but I cannot seem to get it to
> work.  I'm sure I am just missing a basic concept, but I cannot find
> the answer I need in the help.  If you can give me any tips I would
> appreciate it.
>
>
>
> 
>
> 
>
> http://www.adobe.com/2006/mxml"; xmlns="*">
>
>  id="patientSummaryExternal"/>
>
>  bottom="40" right="10" creationPolicy="all">
>
>  id="patientSummaryView" label="Patient Summary"/>
>
> 
>
> 
>
>
>
>
>
> 
>
> 
>
> http://www.adobe.com/2006/mxml"; xmlns="*"
> width="300" height="300">
>
>   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
>
>
>
>
>
>
>


-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


--
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: Binding data in one MXML component to a Text component in a different MXML c

2006-08-02 Thread Renaun Erickson
The scope of the controls is not the same.

patientSummaryExternal is in the parents scope of any components
inside of PatientSummaryView.

Try:


Or added a Bindable attribute to the PatientSummaryView that you use
to bind to the text field.  I encourage using a ModelLocator pattern
for anything major.

Renaun

--- In flexcoders@yahoogroups.com, "Jason" <[EMAIL PROTECTED]> wrote:
>
> Binding data in one MXML component to a Text component in a different
> MXML component - need help please
> 
>  
> 
> I seem to be missing what the link is between different MXML
> components.  What I want to do is load in external XML, populate a
> data Model with the loaded data, and bind that data to a dozen
> different MXML components controlled by a ViewStack.  I can do what I
> want when I am in one MXML file, but I am having a problem talking
> between MXML files.  I need to bind components in one MXML file to a
> Model in a different MXML file
> 
>  
> 
> In the sample below the obvious problem is that the
> PatientSummaryView.mxml component does not have access to the
> patientSummaryExternal Model defined in Main.mxml.  I do not know how
> to make that connection.  I have tried a half-dozen different options
> with name spaces and eventHandlers, but I cannot seem to get it to
> work.  I'm sure I am just missing a basic concept, but I cannot find
> the answer I need in the help.  If you can give me any tips I would
> appreciate it.
> 
>  
> 
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml"; xmlns="*">
> 
>  id="patientSummaryExternal"/>
> 
>  bottom="40" right="10" creationPolicy="all">  
> 
>  id="patientSummaryView" label="Patient Summary"/> 
> 
> 
> 
> 
> 
>  
> 
>  
> 
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml"; xmlns="*"
> width="300" height="300">
> 
>  

[flexcoders] Re: get rid of light line on top of panel

2006-08-02 Thread Doug Lowder
Setting headerHeight to 0 does it, but you'll have to throw your own 
label into the panel if you want a header title to show up.


--- In flexcoders@yahoogroups.com, "Pan Troglodytes" 
<[EMAIL PROTECTED]> wrote:
>
> I've been playing with panels and I haven't been able to get the 
light
> colored line to not show up on top, no matter what I do.  Is there 
some way
> to do this?  I played with the Flex 2 Style Explorer at
> 
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleEx
plorer.htmland
> used these settings.
> 
> Panel {
>cornerRadius: 0;
>headerHeight: 50;
>borderThickness: 0;
>dropShadowEnabled: false;
>roundedBottomCorners: false;
>textAlign: center;
>backgroundAlpha: 0;
>borderAlpha: 0;
>highlightAlphas: 0, 0;
>borderStyle: undefined;
>borderColor: #0066ff;
>titleStyleName: "myTitleStyle";
> }
> 
> .myTitleStyle {
>}
> 
> -- 
> Jason
>







--
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] Binding data in one MXML component to a Text component in a different MXML compo

2006-08-02 Thread Jason
Binding data in one MXML component to a Text component in a different
MXML component - need help please

 

I seem to be missing what the link is between different MXML
components.  What I want to do is load in external XML, populate a
data Model with the loaded data, and bind that data to a dozen
different MXML components controlled by a ViewStack.  I can do what I
want when I am in one MXML file, but I am having a problem talking
between MXML files.  I need to bind components in one MXML file to a
Model in a different MXML file

 

In the sample below the obvious problem is that the
PatientSummaryView.mxml component does not have access to the
patientSummaryExternal Model defined in Main.mxml.  I do not know how
to make that connection.  I have tried a half-dozen different options
with name spaces and eventHandlers, but I cannot seem to get it to
work.  I'm sure I am just missing a basic concept, but I cannot find
the answer I need in the help.  If you can give me any tips I would
appreciate it.

 





http://www.adobe.com/2006/mxml"; xmlns="*">



  

 





 

 





http://www.adobe.com/2006/mxml"; xmlns="*"
width="300" height="300">

 

[flexcoders] get rid of light line on top of panel

2006-08-02 Thread Pan Troglodytes



I've been playing with panels and I haven't been able to get the light colored line to not show up on top, no matter what I do.  Is there some way to do this?  I played with the Flex 2 Style Explorer at 
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html and used these settings. Panel {    cornerRadius: 0;   headerHeight: 50;   borderThickness: 0;   dropShadowEnabled: false;
   roundedBottomCorners: false;   textAlign: center;   backgroundAlpha: 0;   borderAlpha: 0;   highlightAlphas: 0, 0;   borderStyle: undefined;   borderColor: #0066ff;   titleStyleName: "myTitleStyle";
} .myTitleStyle {   }-- Jason 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] lazy evaluation - invalidating item/property on the client side

2006-08-02 Thread Jeff Vroom












One thing you could do is to just call
getItem on the referenced DataService using the id of the referenced item.  This
will cause the referenced item to be reloaded (its state updated).   

 

It would also be possible to null out the
member variable which stores the reference, without calling our Managed.setProperty
method (as that would actually trigger a change to the server).  Off the top
of my head though, if you are using the [Managed] keyword  the codegen we
do to add the managed support would probably prevent that from being possible
(all references to the member variable turn into the get/set methods we
generate for that property which use the Managed.set/getProperty methods).  But
this would be a possibility if you did the work of adding the managed support
to the class yourself.

 

Jeff

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
Sent: Tuesday, August 01, 2006
11:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] lazy
evaluation - invalidating item/property on the client side



 







I am using lazy evaluation and I was wondering if
there is a way to
mark some managed item properties as invalid. Meaning that even though
the some lazily evaluated item property has been already retrieved I
would like to mark this property as invalid on the Client so that when
referencing this property again would result in querying the server again

Thanks, 

--- Dmitry






__._,_.___





--
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: [Flex 2, newbie] Label with width matching text

2006-08-02 Thread astgtciv
Found the problem, it was because I was adding the Label instance to a class 
extending mx.core.Container, which didn't do any sizing/layout of its 
subcomponents. Once I changed it to extend mx.containers.Canvas, things 
worked out automagically. 



--
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] Keyboard.isDown

2006-08-02 Thread Cleiton Luiz Coradelli





This function was 
removed from Flex 2 final. 
 
Is there 
a similar function?
How can I 
implement a workaround?
 
TIA
Cleiton
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] need to be able to cancel change to a DateField

2006-08-02 Thread Karl Johnson





You might be able to find another event to capture before 
the commit, but it can be a bit hacky sometimes because of the different way to 
interact with form inputs fire different events. The way to do this that 
would ensure you get it right everytime is to store the dateField value in a 
variable, and if they don't confirm the change, change the selectedDate back to 
what was in the Date variable. If they do confirm, then set the variable equal 
to the new selectedDate.
 
If you are doing this in a lot of places, then simply 
extend the DateField and add a new property on it called previousDate or 
something like that. Then you could build the confirmation and change back logic 
right into the component.
 
Karl 
 
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
jrjazzman23Sent: Wednesday, August 02, 2006 3:22 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] need to be able to 
cancel change to a DateField


I'd like to be able to ask the user to confirm their date selectionBEFORE 
the selectedDate field gets set. The Change event appears tonot be 
cancelable. Is there any other way to accomplish 
this?thanks
__._,_.___





--
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: Chart multiple vertical axis

2006-08-02 Thread dkhvost
Hi,

I thought of that but the problem is this synchronization between 
the different charts. I looked at the code for the second axis and 
understand that all I need to do is create a new datatransform.

--- In flexcoders@yahoogroups.com, "Karl Johnson" <[EMAIL PROTECTED]> 
wrote:
>
> You may be able to accomplish what you want to do by overlaying 
multiple
> chart components on top of each other, with transparent 
backgrounds. Not
> sure I can exactly picture what you want the chart to look like, 
but it
> would be easy to align multiple charts on top of each other and 
then you
> can just set the dataproviders of each chart independently. You 
could be
> clever and create a custom component that could then generate X 
chart
> components within a canvas depending on properties set on your 
customer
> component. There would be some pretty clever ways to make it slick 
and
> very reusable. But I might be off base with what you are trying to 
do.
> If so, let me know.
>  
> Karl 
>  
> Cynergy Systems, Inc.
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of dkhvost
> Sent: Tuesday, August 01, 2006 11:27 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Chart multiple vertical axis
> 
> 
> 
> Hi,
> 
> Has anyone tried to develop a component that extends the
> CartesianChart and has the ablity to show multiple vertical axis. 
The
> idea is to display for example multiple dataseries with different
> units. I am thinking of undertaking this task and understand that 
it
> involves multiple datatransforms, etc... If anyone has an ideas or
> sugestions please let me know.
> e.g.
> LineChart
> --Temperature 'F (range 60 - 90 )
> --Humidity % (range 0 - 100)
> --Outside Temperature (range 40 - 120)
>






--
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: Rendering a variable height text area inside a datagrid cell

2006-08-02 Thread Doug Lowder
Try:




--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> I'm trying to render a textarea containing HTML within a datagrid 
cell.
> 
> I would like the HEIGHT of the datagrid cell to adjust accordingly 
so 
> that the textarea doesn't have to scroll.
> 
> Different rows in the datagrid will thus be different heights.
> 
> Is that possible?
> 
> Here's my column:
> 
> 
>   
>   
>   
>   
>   
> 
> 
> 
> Right now, I get a standard height textarea with scrollbars.
> 
> Rick
>







--
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] Rendering a variable height text area inside a datagrid cell

2006-08-02 Thread Rick Root
I'm trying to render a textarea containing HTML within a datagrid cell.

I would like the HEIGHT of the datagrid cell to adjust accordingly so 
that the textarea doesn't have to scroll.

Different rows in the datagrid will thus be different heights.

Is that possible?

Here's my column:










Right now, I get a standard height textarea with scrollbars.

Rick


--
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] Icon/Image with LinkBar

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





To All:
 
Like I said I must have been brain dead . . . 
.
 
I just used a series of LinkButtons w/icon within a 
VBox.
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jack W. Caldwell @ 
Zingit Technologies, Inc.Sent: Wednesday, August 02, 2006 1:32 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Icon/Image with LinkBar



I must be brain dead but I can not find a way to 
place an icon/image next to a LinkBar menu 
item. 
I am rather amazed that the LinkBar has NO icon or 
image setting. 
I would have thought this would have been a default 
property.  
So much for assuming . . . 
I have tried to manufacture a solution with an HBox 
and placing an  and then the 
LinkBar, but it does not line up correctly. 
I read that the LinkBar is a Subclass of the NavBar, 
which has a iconField property, but I don't 
know how to use this in regards to the 
LinkBar. 
Anyone have any ideas or can point to an 
example? 
Thanking you in advance, 
Jack 

__._,_.___





--
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: PopUp from within a class

2006-08-02 Thread Doug Lowder



A while back I came across Jester's link that Tracy mentioned.  The sample is for Flex 1.5, but the logic behind it is probably still applicable.
http://www.jessewarden.com/archives/2005/05/flex_flash_refr.html
You may not want to start any processing until after the creationComplete event of your popup, maybe even a certain amount of time beyond that.
--- In flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> wrote:>> Yea, I'm going to need some help. I ended up using:> > Application.application.callLater(parseOrders, args);> > parseOrders is a new function where I basically broke out the loop into a> seperate call to the above listed code. This still did not display my popup> before the loop properly. Maybe i'm not doing it right?> > for each(var vendorOrder:VendorOrder in vendorOrders)* *{> var args:Array = new Array();> args.push(vendorOrder);> Application.application.callLater(parseOrders, args);> }> > private function parseOrders(vendorOrder:VenorOrder):void {> *// do what was in my loop originally instead of callLater()...*> }> > On 8/2/06, Doug Arthur [EMAIL PROTECTED] wrote:> >> > I looked in the docs, and it's suppose to be: callLater(myFunction, args)> >> > When I try this, I get Error - 1180: Call to a possibly undefined method> > callLater.> >> > Thanks!> >> >> > On 8/1/06, Tracy Spratt [EMAIL PROTECTED] wrote:> >> > > Use callLater() to start the loop. That will give the ui a chance to> > > update before the heavy processing begins. If you have heavy processing> > > going on, like in a loop, the UI will not redraw until the loop is done. To> > > change this you need to break the loop up into smaller bits and use> > > callLater() to get the ui to update.> > >> > >> > >> > > Jesse helped me with this a year or so ago. I couldn't find his example> > > any more. If you need more help I will try.> > >> > >> > >> > > Tracy> > >> > >> > > --> > >> > > *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]> > > *On Behalf Of *Doug Arthur> > >> > > *Sent:* Tuesday, August 01, 2006 7:22 PM> > > *To:* flexcoders@yahoogroups.com> > >> > >> > > *Subject:* Re: [flexcoders] PopUp from within a class> > >> > >> > >> > > That's perfect, thanks.> > >> > >> > >> > > One other issue I have is when popuping up the window before a large> > > loop, the window doesn't actually render until the loop is done. Is there a> > > reason for that or a workaround? I'm working on the same thing as in another> > > thread about a 'Please Wait...' type of thing, but I want to put a progress> > > bar and do setProgress(n, x); where n is the incrimented number in the loop> > > and x is the total loop count.> > >> > >> > >> > > Thanks!> > >> > >> > >> > > On 8/1/06, *Martina Smith* < [EMAIL PROTECTED] wrote:> > >> > > Hi Doug,> > >> > >> > >> > > Try using the code in the zip attached herewith..> > >> > >> > >> > > I have given a complete example of how PopupManager will work.> > >> > >> > >> > > Hope this solves your problem!> > >> > >> > >> > > Regards,> > >> > > Martina> > >> > >> > >> > >> > >> > > *Doug Arthur < [EMAIL PROTECTED] wrote:> > >> > > Yes, I've dealt with PopUp's plenty of times, but the problem is while> > > I'm within a class object, it will not let me reference the document. I've> > > tried using "this", and it does not work. this.parent is null. The only> > > thing I've found to work now is the following:> > >> > >> > >> > > *var* tw:TitleWindow = *new* TitleWindow();> > > tw.title = *'Test Window...' *;> > > *var* txt:Label = *new* Label();> > > txt.text = *'THIS IS A TEST'*;> > > tw.addChild(txt);> > > PopUpManager.addPopUp(tw, Application.application *as* DisplayObject, *> > > true*);> > >> > >> > >> > >> > > I'm not sure if there is any other way though...?> > >> > >> > >> > > Thanks!> > >> > >> > >> > >> > > On 7/31/06, *Martina Smith* < [EMAIL PROTECTED] > wrote:> > >> > > Hi Doug,> > >> > >> > >> > > You can make use of PopupManager Class to create a popup dynamically.> > >> > >> > >> > > Regards,> > >> > > Martina> > >> > >> > >> > > *Doug Arthur < [EMAIL PROTECTED] wrote:> > >> > > Does anyone know how to create a popup from within a class? I can't> > > seem to reference anything of type DisplayObject such as .parent and so> > > on... I've even tried instantiating SystemManager.getSWFRoot(this), and> > > other things with SystemManager... Nothing is working.> > >> > >> > >> > > Any ideas? Thanks!> > >> > >> > > --> > >> > > Here's a new way to find what you're looking for - Yahoo! Answers> > >> > >> > >> > >> > > --> > >> > > Here's a new way to find what you're looking for - Yahoo! Answers> > >> > >> > >> > >> > > > > >> >> >> >>

__._,_.___





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

[flexcoders] need to be able to cancel change to a DateField

2006-08-02 Thread jrjazzman23
I'd like to be able to ask the user to confirm their date selection
BEFORE the selectedDate field gets set.  The Change event appears to
not be cancelable.  Is there any other way to accomplish this?

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

<*> 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] Problem connecting to the Webservice

2006-08-02 Thread Franck de Bruijn












Hi Kiran,

 

Are you sure that the URL http://misdevservices/wsCommon/Options.asmx?wsdl
is actually a valid URL? If you are running the web services on your local
machine, you’d probably have something like localhost in the URL.

 

How did you actually run your application?
Through FlexBuilder? Or did you deploy your .swf file (and all files related to
it) together with your webservice? I always do the latter in order to get it
working.

 

Cheers,

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kiran
Sent: Wednesday, August 02, 2006
5:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem
connecting to the Webservice



 







Hi,

I have
never used Flash or Flex in my life before and am a .NET developer. Stumbled
across Flexbuilder yesterday and was really impressed by the RUI features it
offers so I decided to download a trial version and play with it. 

This is
what I did :


  Created a simple .NET Webservice with a
 method called 'SayHello'
 which returns a string message 'Hello World' (duh..very ingenious of
 me   
 ) and does not take any parameters. The service resided on a virtual
 windows server machine(called 'misdevservices')
 Created an mxml file called 'Lesson.mxml'. I
 am pasting the code below :




8"?>



creationComplete="kino.SayHello.send()">



wsdl="http://misdevservices/wsCommon/Options.asmx?wsdl"

useProxy="false"> 



















When i try to run this , i dont get any result back. I have
even placed a 'crossdomain.xml' file in the root folder of the virtual
server where the webservice is, but still the same problem. I cannot do
anything else if I dont get this sorted  Been
trying since yesterday but no luck! Would greatly appreciate if anyone could
help me in this matter!!

 

Thanks in advance.

Kiran






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Problems making SOAP calls via WSDL file

2006-08-02 Thread Franck de Bruijn












Hi Charles,

 

Yes, that’s right.

 

If you want to access a web service on a
different machine than the machine you’re hosting your application you
have to develop some sort of a proxy on your own machine. Flex can then connect
to this proxy (no security issues there), and the proxy can then connect to the
desired web service. The examples given in this thread are (I think) referring
to the Flex Data Services component, but I would use my own proxy web service.

 

Anyway, you do need some active component
on the server you are hosting your service. That’s the security model of
Flash/Flex. Otherwise, in principle, you could spam the entire world with your
Flex application... :).

 

Cheers,

Franck

 

 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles
Sent: Tuesday, August 01, 2006
10:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Problems
making SOAP calls via WSDL file



 







Oh, so what you're saying is that even though I am
running locally,
since the SOAP call invokes a remote operation not hosted on my
machine, it should fail anyways? So I can't make a successful API
call with Flex, at least not until I get my IP put on a crossdomain on
the Google server? Is that right?

Charles

--- In [EMAIL PROTECTED]ups.com,
"Franck de Bruijn"
...> wrote:
>
> I checked the WSDL with SOAPUI and the WSDL looks fine.
> 
> 
> 
> I do see however that the WSDL is of the type doc/literal. I have
had some
> serious issues with that connecting with Flex to such a web service
> back-end. I have not verified if the final release of Flex 2 has
resolved
> all these issues. I never encountered issues like Charles described,
so this
> statement probably does not apply.
> 
> 
> 
> With respect to 'running the files locally' the following: if you
are using
> the WSDL that you pointed out to us, it contains the following section:
> 
> 
> 
> 
> 
> 
> name="ReportService">
> 
> 
> location="https://adwords.google.com/api/adwords/v4/ReportService"/>
> 
> 
> 
> 
> 
> You might actually load the WSDL successfully from your local
machine (if
> you include it with your app-distribution), but once you try to
invoke an
> operation (as you describe in your first mail) it should fail, since
the web
> service itself is hosted on a different machine (I presume that
> 'adwords.google.com' is not your machine). 
> 
> 
> 
> Even here some easy-to-miss subtleties can arise: if you load your
flex app
> from e.g. 'localhost' and the WSDL points to your local machine but
with a
> different name (like 127.0.0.1), it will still fail. At least,
that's what I
> experienced from testing.
> 
> 
> 
> Cheers,
> 
> Franck
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Dave Wolf
> Sent: Tuesday, August 01, 2006 6:21 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: Problems making SOAP calls via WSDL file
> 
> 
> 
> Do you have any kind of proxy tool, like the SOAPMonitor or Tcptunnel
> where you can see the response coming back?
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Adobe Flex Alliance
Partner
> http://www.cynergys 
ystems.com
> http://www.cynergys 
ystems.com/blogs
> 
> Email: [EMAIL PROTECTED] wolf%40cynergysystems.com>
stems.com
> Office: 866-CYNERGY
> 
> --- In [EMAIL PROTECTED] 40yahoogroups.com>
ups.com,
> "Charles" > wrote:
> >
> > Hi Frank,
> > 
> > Yes, you're right. I'm familiar with the need for the crossdomain.xml
> > file on server that I am making the calls to, but I don't think it's
> > necessary since I am running the files locally. As far as I know, if
> > the machine that I am running the files from, the client, is the same
> > as the machine hosting the files, then it's fine. Otherwise, if I
> > post these files to some web server and run them remotely, then my
> > client machine is different from the machine hosting the files, and
in
> > that case I need the crossdomain.
> > 
> > Either way, I am making a successful connection to the WSDL, but my
> > problem isn't actually with connecting. It's that when I make the RPC
> > through the WSDL, I get an error returned: "The request XML was
> > invalid". So that is currently where I'm hung up. Thanks for the
> > reply though.
> > 
> > 
> > Charles
> > 
> > --- In [EMAIL PROTECTED] 40yahoogroups.com>
ups.com,
> "Franck de Bruijn"
> > > wrote:
> > >
> > > Hi Charles,
> > > 
> > > 
> > > 
> > > Due to the Flash security model, you cannot access a URL that is
not
> > hosted
> > > on the same server your Flex application is hosted, unless a
> > crossdomain.xml
> > > is present (which does not seem to be, I checked).
> > > 
> > > 
> > > 
> > > If you want to access a webservice on a different host, you have
to
> > provide
> > > a proxy on your own server.
> > > 
> > > 
> > > 
> > > See also the documentation on: Getting Started with Flex 2.0
>
> > Tutorials >
> > 

Re: [flexcoders] Serverside FLV conversion?

2006-08-02 Thread Greg Hamer



Hi Rick,

I fully support Renaun and John's replies.
Also thought you might find interesting the following very comprehensive post by Daniel Tietze.  
http://blog.go4teams.com/?p=56

Daniel entitled his post "Video Blogging using Django and Flash(tm)
Video (FLV)".  Russell Heimlich refers to Daniel's post as "How to
create your own YouTube site".  Daniel does not have Flex in his
application's technology stack.  And it focuses only on converting
AVI video using ffmpeg.  Still, it should be a great starting point for you.


fyi ... In general, the best support for questions on Flash Video, FLV, FMS, etc can be found at the FlashComm list: 

  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



The FlashComm list is very well subscribed, it is where all of the
Flash Video and FLV heavies can be found, and folks there are
surprising civil and supportive :-)



hth,



g

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Error 1119

2006-08-02 Thread Darren Houle
I believe the Operation.result property was changed to Operation.lastResult 
in Beta3 and has been there ever since.  If you check the help (Language 
Reference) in Flex Builder and look up mx.rpc.soap.Operation you'll see 
where it lists...

   lastResult : Object
   The result of the last invocation.

under public properties.

As for updated documentation... to my knowledge everything that's packaged 
with Flex 2 final is up to date.

Not sure where you found the old example code.  According to this labs page:
http://labs.adobe.com/wiki/index.php/Flex
Flex content isn't hosted on Labs anymore since final shipped, except maybe 
for stuff like Cairngorm and the Ajax bridge.  I'm sure if you posted the 
link to the old sample code, someone somewhere might do something about it 
:-)

Darren



>From: "Stefano" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Re: Error 1119
>Date: Wed, 02 Aug 2006 16:30:44 -
>
>Thank you for your help Darren, my problem has solved. I coded that
>application following instructions provided by Adobe labs and their
>tutorials... have any methods changed? Is there an updated manual I
>can reference to?
>
>Thank you again, cheers.
>
>
>
>
>
>--
>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

<*> 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, newbie] Label with width matching text

2006-08-02 Thread astgtciv
How do you create an mx.controls.Label whose width would automatically 
adjust when its .text is reset?
Or, at least, how do you figure out which width to set the Label to once its 
.text is reset?
The only thing I came up so far is "label.textWidth + 12" :) Thank you! 



--
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: Using Repeater to produce multiple chart series? [Flex 2]

2006-08-02 Thread Tariq Ahmed
Figured it out. The approach to use is with actionscript to dynamically 
create LineSeries objects, and add them to the LineChart's series array.

I'll post an example.

Tariq Ahmed wrote:
> Hey all, does anyone have a simple example on how to produce multiple 
> series in a chart based on an arraycollection?
>
> dataProvider="{chartData}"> 
>  categoryField="time"/>
>
>
>  
> yField="{myRep.currentItem.dataField}" form="curve"  
> displayName="{myRep.currentItem.Title}"/>
>  
>
>
>
>
> Trying to do something like the above. I get a Type Coercion 
> failed...cannot convert mx.core:Repeater to 
> mx.charts.charClasses.iChartElement.
>
> Seems like I can't use a repeater that way. What's the proper approach 
> here?
>
> Thx!
>
>





--
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] Icon/Image with LinkBar

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.
Title: Icon/Image with LinkBar









I must be brain dead but I can not find a way to place an icon/image

next to a LinkBar menu item.


I am rather amazed that the LinkBar has NO icon or image setting.


I would have thought this would have been a default property.  


So much for assuming . . .


I have tried to manufacture a solution with an HBox and placing an

 and then the LinkBar, but it does not line up correctly.


I read that the LinkBar is a Subclass of the NavBar, which has a

iconField property, but I don't know how to use this in regards to

the LinkBar.


Anyone have any ideas or can point to an example?


Thanking you in advance,


Jack 





__._,_.___





--
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: Array parameters fail with Webservices

2006-08-02 Thread Renaun Erickson
Try:
ws.sendStrings("One","Two","Three");

Which should make the call with 3 distinct parameters.

Renaun

--- In flexcoders@yahoogroups.com, "kaleb_pederson" <[EMAIL PROTECTED]> wrote:
>
> I'm using a webservice that requires that an array of strings be 
> passed to one function.  Each method that I have tried to send array 
> parameters fails.  By fails, I mean the request is successfully sent 
> to the server but the parameter list is empty and thus the response 
> isn't valid for the request that I'm attempting to make.
> 
> Here are the variations that I have tried:
> 
>ws = new mx.rpc.soap.mxml.WebService();
>
> ws.loadWSDL("http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";);
> // waits for loadWSDL to finish
> 
> // variation one
> var op:Object = ws.getOperation("sendStrings");
> op.arguments = new Array("One","Two","Three");
> op.send();
> 
> // variation two
> ws.sendStrings.arguments = new Array("One","Two","Three");
> ws.sendStrings.send();
> 
> // variation three
> ws.sendStrings.send(new Array("One","Two","Three"));
> 
> // variation four
> ws.sendStrings.send("One","Two","Three");
> 
> The request that's made looks like the following (less formatting):
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> 
>  xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/"; />
> 
> 
> 
> The response that comes back looks like the following:
> 
> 
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> 
> xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>
> http://www.w3.org/2005/08/addressing";>
> 
> 
> 
> 
> 
> 
> The XSD shows the following input specification:
> 
> 
>  
>   minOccurs="0"/>
>  
> 
> 
> I also tried using MXML without any success.  See the following for 
> details:
> 
>
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1176598#4215452
> 
> Any thoughts?  Am I missing something obvious?  I can give you more 
> information, including the complete WSDL, so please let me know if 
> there is anything else that would be useful.
> 
> Thanks.
> 
> --Kaleb
>






--
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] Array parameters fail with Webservices

2006-08-02 Thread kaleb_pederson
I'm using a webservice that requires that an array of strings be 
passed to one function.  Each method that I have tried to send array 
parameters fails.  By fails, I mean the request is successfully sent 
to the server but the parameter list is empty and thus the response 
isn't valid for the request that I'm attempting to make.

Here are the variations that I have tried:

   ws = new mx.rpc.soap.mxml.WebService();
   
ws.loadWSDL("http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";);
// waits for loadWSDL to finish

// variation one
var op:Object = ws.getOperation("sendStrings");
op.arguments = new Array("One","Two","Three");
op.send();

// variation two
ws.sendStrings.arguments = new Array("One","Two","Three");
ws.sendStrings.send();

// variation three
ws.sendStrings.send(new Array("One","Two","Three"));

// variation four
ws.sendStrings.send("One","Two","Three");

The request that's made looks like the following (less formatting):


http://www.w3.org/2001/XMLSchema-instance";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

http://server.webservices.tutorials.wakaleo.com/"; />



The response that comes back looks like the following:


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";

xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>
http://www.w3.org/2005/08/addressing";>






The XSD shows the following input specification:


 
 
 


I also tried using MXML without any success.  See the following for 
details:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1176598#4215452

Any thoughts?  Am I missing something obvious?  I can give you more 
information, including the complete WSDL, so please let me know if 
there is anything else that would be useful.

Thanks.

--Kaleb





--
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] License Number on FlexBuilder 2

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





Marco:
 
Well . . . . I guess I will have to order the 
download
so I can get the License Key now.
 
Thanks,
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Marco 
CasarioSent: Wednesday, August 02, 2006 12:41 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] License Number on 
FlexBuilder 2



 
Hi,
you won't.
You have to wait for your CD I guess
 
best
Marco Casario
http://casario.blogs.com
 
 

  - Original Message - 
  From: Jack W. 
  Caldwell @ Zingit Technologies, Inc. 
  To: [EMAIL PROTECTED]ups.com 
  
  Sent: Wednesday, August 02, 2006 7:20 
  PM
  Subject: [flexcoders] License Number on 
  FlexBuilder 2
  
  
  
  I am ready to purchase Flex Builder 2 
  w/charting. 
  I have already downloaded the trial and it will 
  expire in 10 days. 
  I would prefer to get the CD, but it may not get 
  delivered before the expiration.  If I 
  order the CD will I be given the license number so I can go ahead an enter it? 
  Thanks, 
  Jack 
  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] PopUp from within a class

2006-08-02 Thread Doug Arthur



Yea, I'm going to need some help. I ended up using: 
 
Application.application.callLater(parseOrders, args); 
 
parseOrders is a new function where I basically broke out the loop into a seperate call to the above listed code. This still did not display my popup before the loop properly. Maybe i'm not doing it right?
 
for each(var vendorOrder:VendorOrder in vendorOrders) {
  var args:Array = new Array();
  args.push(vendorOrder);
  Application.application.callLater(parseOrders, args);}
 
private function parseOrders(vendorOrder:VenorOrder):void {
  // do what was in my loop originally instead of callLater()...
} 
On 8/2/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


I looked in the docs, and it's suppose to be: callLater(myFunction, args)
 
When I try this, I get Error - 1180: Call to a possibly undefined method callLater.
 
Thanks! 

On 8/1/06, Tracy Spratt <[EMAIL PROTECTED]
> wrote: 










Use callLater() to start the loop. That will give the ui a chance to update before the heavy processing begins.  If you have heavy processing going on, like in a loop, the UI will not redraw until the loop is done.  To change this you need to break the loop up into smaller bits and use callLater() to get the ui to update. 

 
Jesse helped me with this a year or so ago. I couldn't find his example any more.  If you need more help I will try. 

 
Tracy
 





From: [EMAIL PROTECTED]
 ups.com [mailto:
[EMAIL PROTECTED] ups.com] On Behalf Of Doug Arthur

Sent: Tuesday, August 01, 2006 7:22 PMTo: [EMAIL PROTECTED]
ups.com



Subject: Re: [flexcoders] PopUp from within a class


 




That's perfect, thanks.


 

One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count. 


 

Thanks! 

On 8/1/06, Martina Smith <
 [EMAIL PROTECTED]> wrote: 






Hi Doug,

 

Try using the code in the zip attached herewith..

 

I have given a complete example of how PopupManager will work.

 

Hope this solves your problem!


 

Regards,

Martina

 

Doug Arthur <
 [EMAIL PROTECTED]> wrote:




Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. 
this.parent is null. The only thing I've found to work now is the following: 

 

var tw:TitleWindow = 
new TitleWindow();tw.title = 'Test Window...'
 ;var txt:Label = new Label();
txt.text = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application 
as DisplayObject, true); 

 

I'm not sure if there is any other way though...?

 

Thanks!

 

On 7/31/06, Martina Smith <
 [EMAIL PROTECTED] > wrote: 







Hi Doug,

 

You can make use of PopupManager Class to create a popup dynamically.

 

Regards,

Martina 

Doug Arthur <
 [EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating 
SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 

Any ideas? Thanks!
 





Here's a new way to find what you're looking for - 
Yahoo! Answers 
 
 



Here's a new way to find what you're looking for - 
Yahoo! Answers 

 





  

__._,_.___





--
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: SOLVED: Flex, remoting, and dev/production environments

2006-08-02 Thread flexnadobe
Yep I am Stoked I finally got everything working fine. Now my
Xserves are Flex/Coldfusion friendly. I am ready to rock. I hope Adobe
patches CF to use JVM 5.0 soon but I got it working for Now

Yeah!!

Flex is Great!!
ColdFusion Great!
Flex/CF LocaL Box Great!
Flex Local - CF Remote Dev Great!
Deployment on a Xserve - Great!

Thanks Adobe!!

Please get me FDS for my Xserves so I can lose this HP Quad Processor
Server I have. LOL


--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Rick Root wrote:
> > 
> > Okay, I copied the files to production and clearly it doesn't work. I
> > get an RPC error "channel disconnected before an acknowledgement was
> > received" - yet another error that doesn't show up in google.
> > 
> > Anyway... how do I recompile for production without making an entirely
> > new project? I tried changing my flex server path and compiler options
> > to the production server but I'm still getting the error now :(
> 
> This was related to my application.cfm, actually.  I had the following 
> code in my application.cfm:
> 
> 
>   
> 
> 
> this meant things worked fine on my local server, but the redirect 
> messed up calls to the flex gateway in production.  I didn't consider 
> that remoting calls would still go over port 80 even if the page is
secure.
> 
> anyway, after I added some code to bypass that if it was a remoting 
> call, all worked fine when I copied files from local machine to
production.
> 
> Rick
>






--
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] License Number on FlexBuilder 2

2006-08-02 Thread Marco Casario





 
Hi,
you won't.
You have to wait for your CD I guess
 
best
Marco Casario
http://casario.blogs.com
 
 

  - Original Message - 
  From: 
  Jack W. 
  Caldwell @ Zingit Technologies, Inc. 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, August 02, 2006 7:20 
  PM
  Subject: [flexcoders] License Number on 
  FlexBuilder 2
  
  
  
  I am ready to purchase Flex Builder 2 
  w/charting. 
  I have already downloaded the trial and it will 
  expire in 10 days. 
  I would prefer to get the CD, but it may not get 
  delivered before the expiration.  If I 
  order the CD will I be given the license number so I can go ahead an enter it? 
  Thanks, 
  Jack 
  
__._,_.___





--
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: Flex 2.0 Deployment with Remote Coldfusion Server

2006-08-02 Thread flexnadobe
Yeah! I am Stoked I finally got everything working fine. Now my
Xserves are Flex/Coldfusion friendly. I am ready to rock. I hope Adobe
patches CF to use JVM 5.0 soon but I got it working for Now

Yeah!!

Flex is Great!!
ColdFusion Great!
Flex/CF LocaL Box Great!
Flex Local - CF Remote Dev Great!
Deployment on a Xserve - Great!

Thanks Adobe!!

Please get me FDS for my Xserves so I can lose this HP Quad Processor
Server I have. LOL



--- In flexcoders@yahoogroups.com, "nigasak" <[EMAIL PROTECTED]> wrote:
>
> Hi, a quick answer for your questions maybe would be:
> 
> Question 1. Dev with Flex Locally and Link to a CF Server Remotely.
> (I can get to the Server with RDS Plug-in)
> 
> I get this to work using this information found on Mike Nimer blog:
> 
> 
> public var cSet:ChannelSet;
> 
> public function initApp()
> {
> cSet = new ChannelSet();
> var customChannel:Channel = new AMFChannel("my-cfamf",
> http://youremoteCFserver/flex2gateway/);
> // Add the Channel to the ChannelSet. cSet.addChannel(customChannel);
> foo.channelSet = cSet;
> }
> 
> foo its the "id" of your CF RemoteObject
> 
> this is the way how locally I don't need to reference
> services-config.xml from Flex Builder, and works also with FDS
> :-), Big thanks to Mike Nimer for that
> 
> You need to add a crossdomainxml file in your remote server.
> 
> Question 2.- For deploying, I would like to know recommendations on
that. 
> 
> 
> --- In flexcoders@yahoogroups.com, "flexnadobe"  wrote:
> >
> > Thanks for the reply -- but this info is for 1.x version but is almost
> > the same in the 2.0 docs. 
> > 
> > What I found out so far is this:
> > 
> > 1. Coldfusion running on Mac OSX xServe 10.4.6  and ColdfusionMX 7.02
> > will not run correctly if you are using JVM 1.5 it has to be launched
> > using JVM 1.4.2_09 or FLash Remoting/Flex Integration will not work.
> > 
> > you can go to 
> > 
> >
>
http://www.talkingtree.com/blog/index.dfm/2006/5/17/CFMX-MacOSX-JVM142#more
> > 
> > to get a nice work around to this but you will have the edit the
> > package contents to fix the case sensitive line "Jrun4" to "JRun4".
> > 
> > 2. When Starting from these work arounds however, you are not able use
> > the CFLauncher Program that is installed with the MultiServer install.
> > And you will have to come up with another solution to managing CF
> > Instances.
> > 
> > Now Flex Integration works I just have to figure out the Multiserver
> > part and managing CF without the CFLauncher Program.
> > 
> > I sure wish Adobe would stop abandoning the Mac Xserve platform. And
> > when it does release a product for the Mac Xserve that it would test
> > it out to see if will work. Maybe detect what version of JVM's you
> > have installed and launch it with the one that will run Adobe's
product.
> > 
> > I have heard they have just now got some macs for the Flex Dev
> > Engineers...they should have Every platform to test with at all times.
> > They make Billions of dollars a year! maybe Kevin Lynch and the
> > gang can give up some bonuses to supply the engineers with some
> > computers. LOL
> > 
> > Flex is Great!
> > 
> > Coldfusion is Great!
> > 
> > Flex and Coldfusion on a Local Box Great!
> > 
> > Seperate them on different Tiers... F-ing Nightmare!
> > 
> > Add a Mac to the Mix... F-ing forgetaboutit!!!
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Anthony DeBonis"  wrote:
> > >
> > > The short answer is yes you can but there are many variables that 
> > > will effect you setup.
> > > 
> > > I was able to do it no problem using ColdFusion CFCs - worked on my 
> > > local laptop and have deployed to several servers.  If Flex app is 
> > > delivered from the same host/port name then Flex will have no 
> > > problem making the calls.  IF not you will need to set 
> > > whitelist/crossdomain policy file ...ect theres lots of doc out on 
> > > that.  Hope this helps
> > > 
> > > 
> > > Exmple:
> > >
http://www.adobe.com/support/documentation/en/flex/1/deployingcheckli
> > > st/deployingchecklist2.html
> > > 
> > > Its not the best but give you a line of sight...
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "flexnadobe"  
> > > wrote:
> > > >
> > > > Hello,
> > > > 
> > > > I see this question asked over and over again but with no one
able 
> > > to
> > > > answer the simple Question.
> > > > 
> > > > It is not a problem to develope on a local machine we all know
that
> > > > and have got that working. But at some point we need to deploy the
> > > > app. And some of us would like to link to Coldfusion. Hell we
might
> > > > even go as far as having multiple devs who would all like to 
> > > develop
> > > > on a local machine and hook up to Coldfusion remotely ( WOW!
what a
> > > > concept ).
> > > > 
> > > > Now my Question -- Does anyone have a step by step, concise
> > > > instructions on how to accomplish this?
> > > > 
> > > > 1. Dev with Flex Locally and Link to a CF Server Remotely. 
> > > >(I can get to the Server wit

Re: [flexcoders] Re: Serverside FLV conversion?

2006-08-02 Thread John C. Bland II



Use FFMPEG. I did a preso on it some time ago but I THINK it was lost in the sauce once the Breeze url's changed.http://ffmpeg.mplayerhq.hu/It is free, easy to use, and highly powerful.
On 8/2/06, Renaun Erickson <[EMAIL PROTECTED]> wrote:













  



On2 Flix Engine

http://www.on2.com/developer/flix-engine-sdk/

There are other transcoding services or boxes that people sale.  

I think  ffmpeg is also used to encode FLV its open source but will
take some configuration to make it work as you want.

Renaun

--- In flexcoders@yahoogroups.com, "Rick Schmitty" <[EMAIL PROTECTED]> wrote:
>
> Are there any tools out there that will let users submit mpeg/avi/wmv
> through a form and have a server component convert into flv for use
> with Flex apps?
>


  













-- John C. Bland II"I do what I can do when I can do it." - Chris Tucker, Money Talkshttp://www.gotoandstop.org
 - Home of FMUG.az

__._,_.___





--
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] License Number on FlexBuilder 2

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.
Title: License Number on FlexBuilder 2








I am ready to purchase Flex Builder 2 w/charting.


I have already downloaded the trial and it will expire in 10 days.


I would prefer to get the CD, but it may not get delivered before the 

expiration.  If I order the CD will I be given the license number so I

can go ahead an enter it?


Thanks,


Jack 





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Flex 2 and the Browser

2006-08-02 Thread Rick Root
Doug Lowder wrote:
> 
> Sounds like you want Application.application.url and 
> Application.application.parameters.
> 
> http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#url 
> 
> 
> http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#parameters
>  
> 

That'll actually work great.

Technically, the url its referring to is the SWF url, and not the URL of 
the page the SWF is in.. but that's okay, because I can get what I need 
from there.

I could also attach URL parameters from the parent URL to the SWF url 
pretty easily too since I'm using CF.

rick


--
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] PopUp from within a class

2006-08-02 Thread Doug Arthur



I looked in the docs, and it's suppose to be: callLater(myFunction, args)
 
When I try this, I get Error - 1180: Call to a possibly undefined method callLater.
 
Thanks! 
On 8/1/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:








Use callLater() to start the loop. That will give the ui a chance to update before the heavy processing begins.  If you have heavy processing going on, like in a loop, the UI will not redraw until the loop is done.  To change this you need to break the loop up into smaller bits and use callLater() to get the ui to update.

 
Jesse helped me with this a year or so ago. I couldn't find his example any more.  If you need more help I will try.

 
Tracy
 




From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Doug ArthurSent: Tuesday, August 01, 2006 7:22 PMTo:
 [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] PopUp from within a class


 




That's perfect, thanks.


 

One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count. 


 

Thanks! 

On 8/1/06, Martina Smith <
[EMAIL PROTECTED]> wrote: 






Hi Doug,

 

Try using the code in the zip attached herewith..

 

I have given a complete example of how PopupManager will work.

 

Hope this solves your problem!


 

Regards,

Martina

 

Doug Arthur <
[EMAIL PROTECTED]> wrote:




Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. 
this.parent is null. The only thing I've found to work now is the following: 

 

var tw:TitleWindow = 
new TitleWindow();tw.title = 'Test Window...'
;var txt:Label = new Label();
txt.text = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application 
as DisplayObject, true); 

 

I'm not sure if there is any other way though...?

 

Thanks!

 

On 7/31/06, Martina Smith <
[EMAIL PROTECTED] > wrote: 







Hi Doug,

 

You can make use of PopupManager Class to create a popup dynamically.

 

Regards,

Martina 

Doug Arthur <
[EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating 
SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 

Any ideas? Thanks!
 





Here's a new way to find what you're looking for - 
Yahoo! Answers 
 
 



Here's a new way to find what you're looking for - 
Yahoo! Answers 

 


 

__._,_.___





--
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: Serverside FLV conversion?

2006-08-02 Thread Renaun Erickson
On2 Flix Engine

http://www.on2.com/developer/flix-engine-sdk/

There are other transcoding services or boxes that people sale.  

I think  ffmpeg is also used to encode FLV its open source but will
take some configuration to make it work as you want.

Renaun

--- In flexcoders@yahoogroups.com, "Rick Schmitty" <[EMAIL PROTECTED]> wrote:
>
> Are there any tools out there that will let users submit mpeg/avi/wmv
> through a form and have a server component convert into flv for use
> with Flex apps?
>







--
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] Praise Flex!

2006-08-02 Thread Rick Root
Okay, I loved Flash MX 2004 for building RIAs.  It was fun.  But the 
more complex my apps got the more it sucked because code got lost all 
over the place.

I never did Flex before Flex 2, but I gotta say.. I freakin' love it.

all my code in nice pretty TEXT files

and in the most recent app I "converted", the flex app SWF is bigger, 
but it runs *WAY* faster than the old flash mx 2004 app.

And just about everything is easier.  I had no idea how to make it so 
when a user hit "enter" that something specific would happen.. and flex 
2 has that nice defaultButton thing on the containers.  Super easy. 
Same with transitions and such.

I love it.  I wanna do lots more Flex now =)

rick


--
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: Flex 2 and the Browser

2006-08-02 Thread Doug Lowder



Sounds like you want Application.application.url and Application.application.parameters.
http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#url
http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#parameters
--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:>> Two questions.> > #1 - Can a Flex 2 app know the URL of the browser window it is currently > loaded into?> > #2 - Can Flex 2 access URL parameters of the current browser window?> > googling didn't help me much :(> > Rick>

__._,_.___





--
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] Serverside FLV conversion?

2006-08-02 Thread Rick Schmitty
Are there any tools out there that will let users submit mpeg/avi/wmv
through a form and have a server component convert into flv for use
with Flex apps?


--
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] TitleWindow Text colors

2006-08-02 Thread sufibaba



Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window:  ExplorerPlusThanks in advance.-Tim

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flash Player 9 Push?

2006-08-02 Thread Nick Collins



I'm pretty sure it's just the detection script and changing the required major version to 9 instead of 8.The version of the SWF doesn't affect that. It will still prompt them to upgrade.
On 8/1/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:













  



The way I understand it, there is a point at which it will start "suggesting" upgrading to previous version users when they load any swf content, not just v9... am I mistaken?Brendan

On 8/1/06, Nick Collins <[EMAIL PROTECTED]> wrote:














  



It already is in the Express install. You just need to adjust your detection script to detect for 9On 8/1/06, 
Brendan Meutzner <
[EMAIL PROTECTED]> wrote:












  



Hey,Any ideas from Adobe on when version 9 of the player will start getting pushed out to older version users?Brendan

  















  















  















__._,_.___





--
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: Cairngorm: Managing Application State

2006-08-02 Thread Renaun Erickson
The main thing here is if you use Views with ViewHelpers you should
have those as separate views and not use .  States in my
preception are more for UI changes within a view then what the
switching containers or larger sets of UI.

Now this is not to say you can use the States for changing containers
like that of the ViewStack, it just seems its not the purpose of it.

>From the livedocs:

"The State class defines a view state, a particular view of a
component. For example, a product thumbnail could have two view
states; a base view state with minimal information, and a rich view
state with additional information."

More reading:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0923.html#321190

Renaun

--- In flexcoders@yahoogroups.com, "christophers1228"
<[EMAIL PROTECTED]> wrote:
>
> Thanks for the input.  Maybe I've been misunderstanding the way to use
> them from the beginning. ( very possible )
> 
> Let me give a better example, to make sure i'm not way out in left
field.
> 
> This is a typical way I manage the state.
> 
> 
>   
>   
>   
> 
> 
> Model:
>  public static var workflowState:Number = 0;
>  public static var VIEWING_SOMETHING:Number = 0;
>  public static var VIEWING_SOMETHING_ELSE:Number = 1;
>  public static var VIEWING_ANOTHER_THING:Number = 2;
> 
> Inside of a view:
>  
> 
> it seems like this should accomplish the same thing:
> 
>   
> 
>  
> 
>   
>   
> 
>  
> 
>   
>   
> 
>
> 
>   
> 
> 
> Inside of a view:
> 
> 
> I have noticed in messing around with it, that maybe you could bind
> the current state to the model and change from a number to a string.
> 
> sorry for the long post, just trying to learn something :)
> 
> Thanks, 
> Chris
> 
> 
> --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> >
> > The states as used in Cairngorm will not correlate with the
> >  in Flex 2.  The serve different purposes.  Well let me
> > step back and say, this is how I feel about it.
> > 
> > Flex 2 states are good for view/control states where Cairngorm
> > workflow states are just that work/process flow.  
> > 
> > Thats not to say you can't have an attribute on the Cairngorm model to
> > facilitate something you are trying to do with 
> > 
> > Renaun
> > 
> > --- In flexcoders@yahoogroups.com, "christophers1228"
> >  wrote:
> > >
> > > Hello,
> > > I've been using cairngorm for about a year now (flex 1.5) and I just
> > > started some projects using flex 2. (I have to admit I've been using
> > > and still trying to understand at the same time :) )
> > > I was just wondering, how do the new view states in flex2 fit in
with
> > > managing the state in the model.
> > > 
> > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > >  vs. 
> > > 
> > > 
> > > 
> > > I just got to the point were I was pretty comfortable with the
flow of
> > > cairngorm (it's taught me alot about architecture) I'm just
wondering
> > > how to fit some of the new features of flex2 in.
> > > 
> > > Any ideas?
> > >
> >
>






--
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: Error 1119

2006-08-02 Thread Stefano
Thank you for your help Darren, my problem has solved. I coded that
application following instructions provided by Adobe labs and their
tutorials... have any methods changed? Is there an updated manual I
can reference to? 

Thank you again, cheers.





--
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] Using Repeater to produce multiple chart series? [Flex 2]

2006-08-02 Thread Tariq Ahmed
Hey all, does anyone have a simple example on how to produce multiple 
series in a chart based on an arraycollection?

  



  

  




Trying to do something like the above. I get a Type Coercion 
failed...cannot convert mx.core:Repeater to 
mx.charts.charClasses.iChartElement.

Seems like I can't use a repeater that way. What's the proper approach here?

Thx!





--
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] Problem connecting to the Webservice

2006-08-02 Thread Will Morgan



Instead of this:
try this:On 8/2/06, Kiran <[EMAIL PROTECTED]> wrote:













  



Hi,
I have never used Flash or Flex in my life before and am a .NET developer. Stumbled across Flexbuilder yesterday and was really impressed by the RUI features it offers so I decided to download a trial version and play with it. 

This is what I did :

 Created a simple .NET Webservice with a method called 'SayHello' which returns a string message 'Hello World' (duh..very ingenious of me    ) and does not take any parameters. The service resided on a virtual windows server machine(called 
'misdevservices')
Created an mxml file called 'Lesson.mxml'. I am pasting the code below :


http://www.adobe.com/2006/mxml" layout="absolute" 

creationComplete="kino.SayHello.send()">

wsdl="http://misdevservices/wsCommon/Options.asmx?wsdl"
useProxy="false"> 










When i try to run this , i dont get any result back. I have even placed a 'crossdomain.xml' file in the root folder of the virtual server where the webservice is, but still the same problem. I cannot do anything else if I dont get this sorted 
 Been trying since yesterday but no luck! Would greatly appreciate if anyone could help me in this matter!!
 
Thanks in advance.
Kiran

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Rick Root
Tim Hoff wrote:
> 
> Do you still have this line.
> 
> var popUpParent:DisplayObject;
> 
> If so, then wtf.

Yup, I sure do.

And yeah, wtf?

I solved the problem by eliminating the reference to popUpParent 
entirely and just put Application.application.mainPanel where it was 
used in the code.

rick


--
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] Problem connecting to the Webservice

2006-08-02 Thread Kiran
Hi,

I have never used Flash or Flex in my life before and am a .NET 
developer. Stumbled across Flexbuilder yesterday and was really 
impressed by the RUI features it offers so I decided to download a 
trial version and play with it. 

This is what I did :

* Created a simple .NET Webservice with a method called 'SayHello' 
which returns a string message 'Hello World' (duh..very ingenious of me 
dont you guys think :-) ) and does not take any parameters. The service 
resided on a virtual windows server machine(called 'misdevservices')





--
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: Flex 2 and the Browser

2006-08-02 Thread pfact0ry



I don't know of any Flex 2 API functions that will do either, but you are able to do both using the flash.external.ExternalInterface  to invoke _javascript_ in the browser.  There is a good entry on Abdul Qabiz's Blog  that provides example code to accomplish #2 and looking at that code you'll see how to do #1.Good luck!--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:>> Two questions.> > #1 - Can a Flex 2 app know the URL of the browser window it is currently > loaded into?> > #2 - Can Flex 2 access URL parameters of the current browser window?> > googling didn't help me much :(> > Rick>

__._,_.___





--
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: Cairngorm: Managing Application State

2006-08-02 Thread dreuimar
Chris,

What I usually do is have something like:

 

...

 
   
 
   
 
   
   
 
   
 
   
   
 
 
 
   
 

And at the creation complete of the application I"ll simply put:
model.selectedState = model.SOMESTATE;

Then whenever you want to switch just set model.selectedState to
something else.'

Brennan

--- In flexcoders@yahoogroups.com, "christophers1228"
<[EMAIL PROTECTED]> wrote:
>
> Thanks for the input.  Maybe I've been misunderstanding the way to use
> them from the beginning. ( very possible )
> 
> Let me give a better example, to make sure i'm not way out in left
field.
> 
> This is a typical way I manage the state.
> 
> 
>   
>   
>   
> 
> 
> Model:
>  public static var workflowState:Number = 0;
>  public static var VIEWING_SOMETHING:Number = 0;
>  public static var VIEWING_SOMETHING_ELSE:Number = 1;
>  public static var VIEWING_ANOTHER_THING:Number = 2;
> 
> Inside of a view:
>  
> 
> it seems like this should accomplish the same thing:
> 
>   
> 
>  
> 
>   
>   
> 
>  
> 
>   
>   
> 
>
> 
>   
> 
> 
> Inside of a view:
> 
> 
> I have noticed in messing around with it, that maybe you could bind
> the current state to the model and change from a number to a string.
> 
> sorry for the long post, just trying to learn something :)
> 
> Thanks, 
> Chris
> 
> 
> --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> >
> > The states as used in Cairngorm will not correlate with the
> >  in Flex 2.  The serve different purposes.  Well let me
> > step back and say, this is how I feel about it.
> > 
> > Flex 2 states are good for view/control states where Cairngorm
> > workflow states are just that work/process flow.  
> > 
> > Thats not to say you can't have an attribute on the Cairngorm model to
> > facilitate something you are trying to do with 
> > 
> > Renaun
> > 
> > --- In flexcoders@yahoogroups.com, "christophers1228"
> >  wrote:
> > >
> > > Hello,
> > > I've been using cairngorm for about a year now (flex 1.5) and I just
> > > started some projects using flex 2. (I have to admit I've been using
> > > and still trying to understand at the same time :) )
> > > I was just wondering, how do the new view states in flex2 fit in
with
> > > managing the state in the model.
> > > 
> > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > >  vs. 
> > > 
> > > 
> > > 
> > > I just got to the point were I was pretty comfortable with the
flow of
> > > cairngorm (it's taught me alot about architecture) I'm just
wondering
> > > how to fit some of the new features of flex2 in.
> > > 
> > > Any ideas?
> > >
> >
>







--
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: creating a variant PopUpButton - errors on getStyle("popUpIcon")

2006-08-02 Thread Pan Troglodytes



Yeah, that's what I did with the PopUpIcon style, then realized it was all the styles introduced in PopUpButton that were missing.  I could hack it in, but I still don't understand why PopUpButton doesn't have to hack it in.  I really wish someone from Adobe would actually respond...
On 8/2/06, Jeremy Lu <[EMAIL PROTECTED]> wrote:




yap, a pretty dirty hack, but you could always declare all the styles needed in your component.

On 8/2/06, Pan Troglodytes <[EMAIL PROTECTED]
> wrote:













  



Thanks
Jeremy, it's a decent hack.  Of course, you have to put an unused
popupbutton in your app to make it work.  Still wishing I could
make my popupbutton like the other naturally.On 7/31/06, 
Jeremy Lu <[EMAIL PROTECTED]> wrote:






Try this:

StyleManager.setStyleDeclaration("PopUpButtonExt",  StyleManager.getStyleDeclaration("PopUpButton"), true);

this will get all the styles from PopUpButton to your extended component.


Jeremy.

On 8/1/06, Tim Hoff <[EMAIL PROTECTED]> wrote:














  



Yeah,

That's what I was trying to say.  The default assets and styles are 
in different framework classes (like mx.skins.halo), unless you 
override them with CSS.  I think if you set the missing properties 
in your CSS file, you should be able to get it to work, but it might 
be very tedious.

-TH

--- In flexcoders@yahoogroups.com, "Pan Troglodytes" 
<[EMAIL PROTECTED]> wrote:
>
> Well, in this case there are only a couple of imports that I had 
to make.
> The problem seems to be in getting this icon.  Not sure what to 
make of
> that.
> 
> On 7/29/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> > Hi Jasom.
> >
> > I noticed when I tried copying an entire framework class, 
instead of
> > just extending,  that in addition to version, several other
> > framework class references where required.  I suppose that if you
> > placed your copy in the same directory as the original, it would
> > work the same.  But, this isn't really practical.  I gave up on 
that
> > approach and concentrated on subclassing instead.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Pan Troglodytes"
> >  wrote:
> > >
> > > I'm trying to create my own PopUpButton that will fire an event
> > BEFORE
> > > opening the dropdown list (so I can populate it dynamically).
> > > Unfortunately, everything useful (like openWithEvent) is 
declare
> > private and
> > > not protected.  So I thought the most elegant way would be to 
just
> > copy the
> > > PopUpButton.as source and rename it and the class to
> > PopUpButtonExt.  After
> > > commenting out the version include, I ran into a problem.  In
> > > calcArrowButtonSize(), there is this bit:
> > >
> > > var popUpIconClass:Class = Class(getStyle("popUpIcon"));
> > > popUpIcon = new popUpIconClass();
> > >
> > > In my variation, popUpIconClass is always null.  The source for
> > > PopUpButton.as says:
> > >
> > > /**
> > >  *  The icon used for the right button of PopUpButton.
> > >  *  Supported classes are mx.skins.halo.PopUpIcon
> > >  *  and mx.skins.halo.PopUpMenuIcon.
> > >  *  @default mx.skins.halo.PopUpIcon
> > >  */
> > > [Style(name="popUpIcon", type="Class", inherit="no")]
> > >
> > > I'm trying to understand why it would be ok in the original 
class
> > and not in
> > > the class using the same code.  Is there some internal voodoo
> > going on?
> > > Suggestions for other ways I should do this are welcome, but 
not
> > really the
> > > main point of my question.  I'd really like to understand why 
this
> > breaks.
> > >
> > > --
> > > Jason
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> -- 
> Jason
>


  


















-- Jason

  


















-- Jason

__._,_.___





--
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] Wierd Debug Out Error Output

2006-08-02 Thread Daniel Freiman



I'm getting a weird error.  I don't expect anyone to be able to solve it for me because I think they'd have to go through too much code, but maybe someone can at least tell me what I'm looking at.The error message looks something like this (formated black instead of the normal red):
verify com.colorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren()    stack:    scope: [global Object$ flash.events::EventDispatcher$
 flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$
]  locals: com.colorquick.improv.document::Spread * * * * * *   0:debugfile "C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2;com\colorquick\improv\document;Spread.as"
    stack:    scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$
 mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$]  locals: com.colorquick.improv.document::Spread * * * * * *   3:debugline 52
    stack:    scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$
 mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$]  locals: com.colorquick.improv.document::Spread * * * * * *   5:getlocal0
    stack: com.colorquick.improv.document::Spread    scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$
 flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$]  locals: com.colorquick.improv.document::Spread
 * * * * * *   6:pushscopeit continues like that for a while and then prints the normal red formatted stack trace shown following:  160:getlocal3    stack: * *    scope: [global Object$ 
flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$
 com.colorquick.improv.document::Spread$] com.colorquick.improv.document::Spread com.VerifyError: Error #1058: Illegal operand type: * must be int.
    at com.colorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren()    at mx.core::UIComponent/initialize()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4862]
    at mx.core::Container/initialize()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2580]    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4759]
    at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3349]    at mx.core::Container/addChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2295]
    at com.colorquick.improv.workspace::FixedTile/addChildAt()[C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2\com\colorquick\improv\workspace\FixedTile.as:28]    at com.colorquick.improv.workspace::FixedTile/addChild
()[C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2\comcolorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren 
 locals: com.colorquick.improv.document::Spread? com.colorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren? * * * * * 
  161:nextvalue\colorquick\improv\workspace\FixedTile.as:24]    at com.colorquick.improv.workspace::DocumentWindow/com.colorquick.improv.workspace:DocumentWindow::createChildren
()[C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2\com\colorquick\improv\workspace\DocumentWindow.as:55]    at mx.core::UIComponent/initialize()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4862]
    ...(The linebreaks and color change is intentional and in the original output) The weird thing is that whether or not I get this error is dependent on where I put a return statement in the createChildren() method:
        override protected function createChildren():void {            super.createChildren();            var tempXMLList:XMLList; // temp        

[flexcoders] Re: Detecting browser close event

2006-08-02 Thread pfact0ry



Quick update...This can be accomplished using some Flex code as described on http://deepthoughts.orsomethinglikethat.com  ...ExternalInterfaceUtil.addExternalEventListener( "window.onunload", unload, "unloadFlex" );--- In flexcoders@yahoogroups.com, "pfact0ry" <[EMAIL PROTECTED]> wrote:>> Hello,> > Is there a built in flex mechanism for detecting when the containing> browser is closed or the flash player unloads?  I've got a requirement> to perform a final flex function when the user closes the browser> window via the 'X' or otherwise.  I'm currently attempting to> accomplish this by using the ExternalInterface to set the browser's> 'document.body.unLoad' event to call a flex function that has been> exposed to the browser via the ExternalInterface.addCallback()> function.  Does anyone know a simpler way of doing so or any thoughts> on this?> > Thanks in advance,> Luke>

__._,_.___





--
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: Simple way to do "Please wait..." type window

2006-08-02 Thread Tim Hoff
Do you still have this line.

var popUpParent:DisplayObject;

If so, then wtf.

--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Tim,
> 
> I made all your suggested changes but I still get a compiler error 
on 
> this line:
> 
>   popUpParent = Application.application.mainPanel;
> 
> The error is: "Access of undefined property popUpParent."
> 
> I don't get it, because I'm not actually accessing a property of 
> popUpParent...
> 
> Rick
>







--
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] Chage text on main preload

2006-08-02 Thread Jesús Iglesias





Hi again, 
 
Does anybody know how to change the text of the 
main preload "Loading" and "Initializing"?
 
Thanks.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Rick Root
Tim,

I made all your suggested changes but I still get a compiler error on 
this line:

popUpParent = Application.application.mainPanel;

The error is:   "Access of undefined property popUpParent."

I don't get it, because I'm not actually accessing a property of 
popUpParent...

Rick


--
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] SOLVED: Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
Rick Root wrote:
> 
> Okay, I copied the files to production and clearly it doesn't work. I
> get an RPC error "channel disconnected before an acknowledgement was
> received" - yet another error that doesn't show up in google.
> 
> Anyway... how do I recompile for production without making an entirely
> new project? I tried changing my flex server path and compiler options
> to the production server but I'm still getting the error now :(

This was related to my application.cfm, actually.  I had the following 
code in my application.cfm:





this meant things worked fine on my local server, but the redirect 
messed up calls to the flex gateway in production.  I didn't consider 
that remoting calls would still go over port 80 even if the page is secure.

anyway, after I added some code to bypass that if it was a remoting 
call, all worked fine when I copied files from local machine to production.

Rick


--
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] Flex, remoting, and dev/production environments

2006-08-02 Thread Douglas Knudsen



as long as your paths are the same, no need to re-compile at all.  Remember CFCs need a full dot path from  the web root, custom tag directory, or mapping.  DKOn 8/2/06, 
Rick Root <[EMAIL PROTECTED]> wrote:
Rick Root wrote:>> When building a flex app that uses remoting with coldfusion... if I'm> building on my local machine and get it all working using my local> coldfusion server, can I just copy the files to the production server,
> assuming the mappings and everything are set up the same?>> Or does remoting rely on the build process to know which server to go> to? In that case I'd have to rebuild the swf with the production
> servers services-config.xml file, right?Okay, I copied the files to production and clearly it doesn't work.  Iget an RPC error "channel disconnected before an acknowledgement wasreceived" - yet another error that doesn't show up in google.
Anyway... how do I recompile for production without making an entirelynew project?  I tried changing my flex server path and compiler optionsto the production server but I'm still getting the error now :(
Rick--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/-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
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: Simple way to do "Please wait..." type window

2006-08-02 Thread Tim Hoff



Hey Rick,
A couple of things jump out. // Add this import   import mx.core.Application;   // Make sure the path is correct   import PleaseWaitWindow; // may need path   import mx.managers.PopUpManager;   import mx.core.IFlexDisplayObject;   import flash.display.DisplayObject;   // Don't need to do this - just use import   // Delete this line.   public var searchingPopUpView:Class = PleaseWaitWindow;   public var popUpWindow:IFlexDisplayObject;   public var popUpParent:DisplayObject;   // Because Popups are on a different display list branch   // include your path of choice.   popUpParent = Application.application.mainPanel;
// below - just use the imported class   popUpWindow = PopUpManager.createPopUp(popUpParent,PleaseWaitWindow,true);Can't test this without your data, so I hope that this gets you closer.
Tim--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:>> Tim Hoff wrote:> > > > > > If you want, go ahead and post what your code currently looks like,> > and we'll get you fixed up. It's probably just a minor syntax issue.> > tim, you can view the code here... I won't paste it in because that > kinda stuff never shows up well in mailing lists =)> > https://www.it.dev.duke.edu/temp/test.txt> > It's really a very simple app. When I put in the popup code, I get the > following errors, both on the "popUpParent = mainPanel;" line:> > Severity Description Resource In Folder Location Creation Time Id> 2 1120: Access of undefined property mainPanel. DukeMagSearch_ro.mxml > DukeMagSearch_ro line 22 August 2, 2006 8:01:31 AM 148> 2 1120: Access of undefined property popUpParent. > DukeMagSearch_ro.mxml DukeMagSearch_ro line 22 August 2, 2006 8:01:31 AM 147> > If I comment out the lines relating the popup,everything works just fine.> > Rick>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] sending parameters from Flex2 to AMFPHP

2006-08-02 Thread Impudent1
Well definately no expert but this is what I have found works.

In your amfphp service, setup your function calls to use an array ala:

function authenticate($lognfo){
$username = $lognfo[0];
$password = $lognfo[1];

etc.

Then in your app setup your call to the function with an array of params.

click="getAuth('MySQL_Login.authenticate',[txtUID.text,txtPwd.text])"


Thats gotten me going here, I like you , have not been able to send a 
string of params so while this seems to work its probably not ideal.

one of the better explanations of flex2<->amfphp I have found is at 
http://hasan.otuome.com/ under tuts, check out the flexible guestbook tuts.

hth

Impudent1
LeapFrog Productions


--
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] Flex, remoting, and dev/production environments

2006-08-02 Thread Clint Tredway



I know that this isn't always possible, but if you make your dev & production directory structure the same, then it will work. Thats how I am doing my development and it works for me.
On 8/2/06, Rick Root <[EMAIL PROTECTED]> wrote:













  



Rick Root wrote:
> 
> When building a flex app that uses remoting with coldfusion... if I'm
> building on my local machine and get it all working using my local
> coldfusion server, can I just copy the files to the production server,
> assuming the mappings and everything are set up the same?
> 
> Or does remoting rely on the build process to know which server to go
> to? In that case I'd have to rebuild the swf with the production
> servers services-config.xml file, right?

Okay, I copied the files to production and clearly it doesn't work.  I 
get an RPC error "channel disconnected before an acknowledgement was 
received" - yet another error that doesn't show up in google.

Anyway... how do I recompile for production without making an entirely 
new project?  I tried changing my flex server path and compiler options 
to the production server but I'm still getting the error now :(

Rick

  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - "It's not that I'm so smart, it's just that I stay with problems longer."

__._,_.___





--
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] problem with Using the JSP Tag Library

2006-08-02 Thread Satish
Hi i am trying to embed my mxml page in my jsp. But i was getting the 
following error.
 File "/FlexTagLib" not found
.But my flex-bootstrap.jar is locating in right place. Can anybody tell me 
why i am getting this error?

my sample code:
<%@ taglib uri="FlexTagLib" prefix="mm" %>



<%String tree=""; %>



http://www.macromedia.com/2003/mxml"; 
initialize="loadme()" >

..

..



--
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] FlexCoders woes

2006-08-02 Thread Tom Chiverton
On Wednesday 02 August 2006 14:18, Rick Root wrote:
> I actually use procmail on my mail server to drop list mail directly

I am always amazed how people mange to cope without filtering out list mail 
from the main inbox.
And threading, he says, glaring at GroupWise.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

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

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

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




Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
Rick Root wrote:
> 
> When building a flex app that uses remoting with coldfusion... if I'm
> building on my local machine and get it all working using my local
> coldfusion server, can I just copy the files to the production server,
> assuming the mappings and everything are set up the same?
> 
> Or does remoting rely on the build process to know which server to go
> to? In that case I'd have to rebuild the swf with the production
> servers services-config.xml file, right?

Okay, I copied the files to production and clearly it doesn't work.  I 
get an RPC error "channel disconnected before an acknowledgement was 
received" - yet another error that doesn't show up in google.

Anyway... how do I recompile for production without making an entirely 
new project?  I tried changing my flex server path and compiler options 
to the production server but I'm still getting the error now :(

Rick


--
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] Scrolling drawing API content?

2006-08-02 Thread Daniel Freiman



you need to explicitly set the size of lineSprite (and maybe it's parents).lineSprite.width = 200;lineSprite.height = 900;generally you would want this in the createChildren or measure functions if you were creating a new component, but here you just want it before lineSprite is added to it's parent.  Using width or measuredWidth or measuredMinWidth or explicitMinWidth should work.
- DanOn 8/2/06, wayne_badu_johnson <[EMAIL PROTECTED]> wrote:
HiI am having trouble when adding dynamic graphics content to acontainer in getting the container to scroll this content.So in a nutshell, I have some AS adding graphics/lineTo content to asprite class and then adding that as a child to a UIComponent, then
adding to a mxml declared container (tried variations Panel, HBox,Canvas etc). The lines are being drawn however as the drawn conentis larger than the visible container are I would have thought thescrollbars for the target container to kick in. Hope this makes some
sense.Sample:http://www.adobe.com/2006/mxml"layout="absolute" creationComplete="initApp()">

Any help appreciatedCheersWayne--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
  
  
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] Custom component does not resize parent container

2006-08-02 Thread Sergey Kovalyov
Hi All!

Why in general custom component (inherited from VBox if it matters)
does not resize its parent container. When I add Label instance in
that container it resizes itself properly to fit the size of nested
content, but when I put my component there (and it actually wider than
the widest child) container does not change its size. Is any help
possible without an example? Any ideas and solutions "in general" are
welcome!

Regards, Sergey.


--
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] sending parameters from Flex2 to AMFPHP

2006-08-02 Thread arnold_charming
Hi!

I'm having some difficulties sending parameters from Flex to AMFPHP.
Because flex has to send 2 parameters, AMFPHP always complains I
haven't sent the second argument, never the less the second argument
in in the array.

Below is my code:

var arrPosredovani:Array = new Array();
 arrPosredovani[0] = ["1","1"];
 arrPosredovani[1] = ["2","2"];

gateway.call("Projekt.shraniProjekt", new Responder(onResult,
onFault), arrPosredovani);

I also tried like

var arrPosredovani:Array = [["1","1"],["2","2"]]

and still AMFPHP complains about not sending the right number of
parameters. If I change my AMFPHP function to allow only one parameter
then passing variables from Flex to AMFPHP works as it should. Also
this function works just fine in browser of AMFPHP.

What am I doing wrong?
I'm using the latest version of AMFPHP 1.2






--
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] Error 1119

2006-08-02 Thread Darren Houle
On line 11 you need to change your binding from

{myService.result.rsp.photos.photo}
to
{myService.lastResult.rsp.photos.photo}

Darren



>From: "Stefano" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Error 1119
>Date: Wed, 02 Aug 2006 11:00:31 -
>
>Hi everybody,
>I have this code...
>
>
>http://www.adobe.com/2006/mxml";
>layout="absolute">
>  url="http://www.flickr.com/services/rest?method=flickr.photos.search&\
>;api_key=***api_key***&per_page=9&tags={input.text}" />
>  
>  
>  
>  
>  
>  value="345"/>
>  
>  dataProvider="{myService.result.rsp.photos.photo}">
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  x="83.25" title="Photos" id="panel1" resizeEffect="Resize">
>  
>  
>  click="currentState='results'; myService.send()" id="button1"/>
>  
>
>
>
>but as I compile my app, an error occurs:
>
>1119: Access of possibly undefined property result through a reference
>with static type mx.rpc.http.mxml:HTTPService.
>
>but I can't understand why. Could you please help me out? Thank you.
>




--
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] FlexCoders woes

2006-08-02 Thread Rick Root
slangeberg wrote:
> 
> I have the solution for your flexcoders problems (too many emails).
> 
> In Gmail, go to Settings -> Filters -> Create New Filter:

the joys of gmail!

I actually use procmail on my mail server to drop list mail directly 
into their appropriate imap folders.  If I ever moved my list mail to 
gmail, I'd definately go the labeling route!

Rick


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