[flexcoders] Re: USing the FileReference Class

2006-06-07 Thread rama satoskar
How did u solve the problem then??
--- In flexcoders@yahoogroups.com, "Luís Gustavo Sanabio"
<[EMAIL PROTECTED]> wrote:
>
> I have the same problem.
> I think that is impossible, because of the security reasons.
> 
> 
> 2006/6/7, rama satoskar <[EMAIL PROTECTED]>:
> >
> > Hi friends,
> > I am using the FileReference class to select an image and show it
> > directly at runtime. However I am not able to extract the complete
> > file path from the browse property of the FileReference class object.
> > When i select a particular image file only its name gets extracted .
> > And when i apply the name to the source property of the image or the
> > load function of the image object, it does not display the image.
> > I dont know how to go abnout it!!
> > Please
> > help,
> > Thanks in advance,
> > Rama.
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] One last try: Javascript security

2006-06-07 Thread Matt Chotin










Did you compile with –use-network=false? 
I have a sample app that will be coming out where the HTML can communicate into
the SWF.  And I know that the ExternalInterface was at least able to register
the callbacks out.  I didn’t try making calls from the SWF out.

 

Also have you tried putting  at the top of your HTML file?  I seem to remember
that being necessary to allow local scripting.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of FineLine
Sent: Wednesday, June 07, 2006
5:22 PM
To: FlexCoders List
Subject: [flexcoders] One last
try: _javascript_ security



 









Hi.
I would like to raise this point one last time, before the Adobe engineers lock
in this aspect of framework behaviour in the final release.

 

Is
it really necessary to restrict the security of the Flash Player / Flex
Application model to such an extent that a flex application (SWF) located *on a users local hard disk* cannot make
calls to _javascript_ functions in its container page, also located on the same
hard disk? (I have described in the thread “_javascript_ security” my
various attempts to disprove this, to no avail).

 

I
understand why it should be impossible for Internet based applications to
operate within a strict sandbox, which prevents them from accessing local
resources. But surely, functions scripted within the application’s
container page should also be considered to exist within the same sandbox? And
if not, how does it make sense that *Internet*
based apps can call external _javascript_, whilst local ones can’t?

 

Flex
is a fantastic, emerging cross-platform framework technology. Imagine how
useful it would be to be able to use visual Flex components within
local-machine applications developed using other technologies, such as .NET,
Java, Delphi etc. Whilst Flex provides excellent user interface development
capabilities, it is not a tool for the kind of business application development
that these other environments excel in. It doesn’t have the same data
modelling tools, low-level system APIs, encryption libraries, etc. etc.

 

If
you could use Flex to develop custom components, which you could then embed
within a host application using a browser component, then you would have the
best of both worlds. Those who develop Flex components would have a wider reach
for their products. Many of you will have heard of Mono, the cross-platform
.NET implementation. The one area where Mono lags most behind Microsoft’s
own implementation is in GUI development. Imagine developing a cross platform
app in .NET, using all its data access and business process modelling power,
with a Flex front end. Flex reads and writes .NET datasets very easily (just
convert them to XML, and you’ve got the power of E4X to do all your manipulation
within the UI layer).

 

Maybe
this can be put in the category of “Flex was never meant to do
that”, but really, all it would take is being able to use the
ExternalInterface API to accept commands, report events and exchange data with
the host application via scripted functions in the container page. Ideally, the
page shouldn’t even have to exist on disk – it could be dynamically
created and fed to the browser component by the host application – but
that’s getting a bit esoteric. The main thing is being able to establish
communications between Flex and its HTML page – an interface which
already exists in its entirety, but which is locked down in such a way that it
is not useable in this scenario, as it currently stands.

 

Again,
if anyone can prove me wrong on this, I’d love to hear how.

 

Rant
over, have a nice day. Cheers, 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.



  






__,_._,___






[flexcoders] Re: two tabnavigators with different tab colors?

2006-06-07 Thread shemeshkale



tnx allnothing of the suggested methods above works in flex 1.5 :the tabStyleName
property is not working in flex 1.5the getTabAt() is not recognized in flex 1.5and usig Tab in style (as in the ASDoc example) is setting the same color to all tabs throughout the applicatioso what r u saying?there is no way to do this in flex 1.5?

__._,_.___





--
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: changing states.

2006-06-07 Thread Jeremy Rottman
Maybe I didnt post this correctly.

Here is how it should work. My main mxml file displays my menubar and
my state manager. I have an action script file that goes with my
menubar. That holds all the xml to populate the menubar and has a
function that should change the states with in the stateManager file. 

Here is that function.

  private function menuHandler(event : MenuEvent) : void {

   currentState = [EMAIL PROTECTED];
}

If I was doing this on the parentApplication level I would use
something liek this.

parentApplication.currentState = 'Blah' or whatever.

But to better organize my application, I have split the stateManager
into a seperate file. The issue is I cant get the menubar to change
the state inside my stateManager file. 

I have my main mxml file that holds my application tag


http://www.adobe.com/2006/mxml";
xmlns="*"
xmlns:widgets="components.widgets.*"
xmlns:stateManager="components.managers.*" layout="absolute">















Then I have my Menu bar widget which contains my menu bar.


http://www.adobe.com/2006/mxml";
creationComplete="initCollections()" width="100%" height="100%">








Then I have my State Manager manager that holds all the information
about the various states I have.


http://www.adobe.com/2006/mxml";
xmlns:contacts="components.views.contacts.*"
xmlns:content="components.views.content.*"
xmlns:education="components.views.education.*"
xmlns:marketing="components.views.marketing.*"
xmlns:reports="components.views.reports.*"
xmlns:setup="components.views.setup.*"
xmlns:today="components.views.today.*"
xmlns:tools="components.views.tools.*"
xmlns:transactions="components.views.transactions.*" width="100%"
height="100%" currentState="EditListing">







  





   
  











 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Problem with Flex2 Beta3

2006-06-07 Thread Robs
Hi All,
I am facing a strange problem with the components within my 
application. As per our architecture, all the basic controls are not 
being used directly, but as custom classed extending the base ones. So, 
instead of using a "HBox" control, I use "CapHBox" control which is the 
custom one. There are times when FlexBuilder doesn't reflect all the 
properties of that control & often gives "Undefined property" errors.
The custom classes used have no extra code written within them. Why 
is this happening? Any ideas on how to correct this?

Thanks.






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] Re: Namespace hell

2006-06-07 Thread Ben Clinkinbeard



Nope, because there is no way to even address the default namespace. Sorry, I thought I had mentioned that already but that was in a different thread. namespaceDeclarations() does not include default namespaces and namespaceDeclarations().length returns 0 when all you have is a default namespace. If you can manage to figure out a way to delete a default namespace I would be mighty grateful.
Thanks,Ben

__._,_.___





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

2006-06-07 Thread Nando




Offering an argument from the other end of the spectrum, Java is free,
but Java developers aren't, and development in Java often takes a *lot*
longer than in CF. And you don't necessarily need a CF Enterprise
license to develop in CF or to put an app in production. The Standard
license is much less, i believe something like $1200, Developer version
of CF is free, and there are plenty of hosting options available to fit
any budget.

In the long run, developing an app in Java can be MUCH more expensive
than doing it in CF. That $7000 can easily become a drop in the bucket,
so to speak, in certain circumstances. If you need the low level
capabilities of Java for something, you can always drop down into Java
to write them. When you don't, then CF development usually is much
faster for a developer with comparable skills, especially these days
with the set of frameworks that have been developed for CF ... Reactor,
ColdSpring, Model-Glue, Fusebox, etc.

Bottom line, depending on the application, you can use both Java and
ColdFusion on a CF server and reap the benefits of both. Rapid
development with CF, and low level functionality with Java on the
(mostly rare) occasions when you need it. 

Kelly @ Dekayd Media Inc. wrote:

  
  

  

  
  
  
  ColdFusion
compiles to Java and it doesn’t
offer all the features of Java.
   
  It also
costs about $7000 per enterprise
license (last time I checked).
   
   
  Java is free.
   
   
   
  As for any
of the other competitors I
cannot say.
   
   
   
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner
  Sent: Wednesday, June
07, 2006
4:59 PM
  To: flexcoders@yahoogroups.com
  Subject: Re:
[flexcoders] Question
  
   
  
  
  
  So how about we take this off on a tangent a
bit...
why would I use Java instead of ColdFusion or vice versa?  The floor is
open...  My apologies if this has already been discussed, but I don't
remember seeing anything.
  
  
  
  
  On
6/7/06, Tracy
Spratt <[EMAIL PROTECTED]>
wrote:
  
  
  
  
  
  
  Yes.
  Tracy
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
  On Behalf Of [EMAIL PROTECTED]
  Sent: Wednesday, June
07, 2006
5:13 PM
  
  
  
  To: flexcoders@yahoogroups.com
  Subject:
[flexcoders]
Question
  
  
  
   
  
  
  
  
  Does Flex
and Java work
well together
  
  
  
  
  
  
  
  
  
  
  
   
  
  
  
  
  

  



-- 


Aria
Media Sagl
CP 234
6934 Bioggio
Switzerland
www.aria-media.com








Re: [flexcoders] Dumb Newbie Question - Underlined Hyperlinks

2006-06-07 Thread Jeremy Lu



well I ran into this recently, what I did was: link text    -- this worked link text  -- this won't work.I remember someone on this list saying chaning text color in htmltext is not supported ? yes ?
On 6/8/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:









  











Yes, there is a css style setup that will
do this.  I recall reading it very recently in this list.  If I can find it I'll
point you to it.

Tracy


 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of swhitley02
Sent: Wednesday, June 07, 2006
5:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dumb Newbie
Question - Underlined Hyperlinks



 







Hello everyone. I'm hoping this is super easy, but I
can't find any 
documentation on it. 

I'm working with Flex 2.0 Beta 3. While using the TextArea control, 
I'm posting an HTML hyperlink to the htmlText property. The link 
appears in the TextArea control and it works, but there's nothing to 
show the user that it's a link. Is there an easy way to force the 
display of hyperlinks to blue and underlined in the TextArea control? 
Is there another control that will display standard HTML?










  















__._,_.___





--
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] Flex 2 beta 3 debug children variables

2006-06-07 Thread gilchrist_steve
Something about the flex debugger hasn't gelled yet.

If I add components to a container using actionscript addChild() and 
then look up the variables in the debugger I don't see them. The 
only children I get to see are those created by  tags.

Try the code below, set a break point on show() and run the 
debugger. The code creates a swfloader and a button and inserts into 
a canvas. Now in debugger variables if I peek in 'this.mainBucket' I 
don't see them. I also used show() to get a local variable to 
reference mainBucket and it doesn't show the children either. 

What am I missing?

Thanks!
Steve



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















 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Limiting number of items a control displays

2006-06-07 Thread Jeremy Lu



from Doc:
  If the height of the component has been explicitly set,
  this property might not have any effect.
 so if it's a listbox with explicitly set height, rowCount might not be honored.guess custom function is the way to go in the end.On 6/8/06, 
Tracy Spratt <[EMAIL PROTECTED]> wrote:









  











Check out rowCount.


http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls/listClasses/ListBase.html

Tracy

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Stacey Mulcahy
Sent: Wednesday, June 07, 2006
3:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Limiting
number of items a control displays



 









 Is there a way to limit the number of items that a control
displays of a dp or do you have to modify the array/arraycollection prior to
setting it in order to do so?

 

For example I have a list control that's gets a result that
has 10 items, but I only want to show 3 and let the user have the choice to
show more via rightClick. I can create a function to do this and handle how
many items gets put into a dp but just wondering if I was missing a basic
property or what not.

 

 

 














  















__._,_.___





--
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] I noticed something >>>> MS Vista Beta 2 out

2006-06-07 Thread Michael Schmalle



Man,

You must have been burned by that stove bad..

It's not healthy holding a grudge this hard!

Peace, Mike.On 6/7/06, Robert Thompson <[EMAIL PROTECTED]> wrote:









  



Re:
belowRegarding this Vista, I've seen this little thing called
"Sparkle" -- a reincantation of a purely failed effort to compete
against Flash back a few years ago (it was sad).  But this time
around, Microsoft may intend to do what it has done to other
competitors regarding Adobe, and that is, to use Sparkle to "crush the
enemy Adobe by beating it over the head with the Windows Desktop".I
do believe (but am unsure and not claiming so in order to protect
myself :-) that's an actual quote by a high level exec, but a different
company as to whoe the "enemy" was, at some time, by some person, at
high levels, about another competitor, and I do believe my eyes have
seen something of this sortbut I can't be sure if it was a dream or
real :-)  But I can say no more than that...until a short
time...it will all be exposed soon enough...My Advice to Adobe:
Watch out.  Old cheeseburger loving dogs who have been found to
have broken the law don't learn new tricks (they don't change). 
And believe me $50B in cash reserves buys a lot of cheeseburgers; and
that's just cold hard cash; earned and blossomed all from the seed of a
bald-man telling IBM they had DOS _complete_ when in actuality they did
not, and instead this bald-man offered 50k to someone who wasn't aware
of this information about IBM needing what he'd developed.  The
story spawns from there.  Was that first action illegal. 
Probably not.  Dishonest - Absolutely.  Unethical -
Absolutely.This
bald-headed guy grew up just a few miles from me and taints the image
and spirit of a beautiful school called "Country Day".Question
is: Was he numbed up by his boss, or was it the other way around. 
I kind of think being caught for soliciting prostitution in Arizona,
leads me to believe it was his boss.  So, obviously these people
have no spiritual foundation and simply believe "whatever means
necessary" and "survival of the fittest".They've got some hot weather coming.Who am I talking about -- your guess is as good as mine -- not my thread.But I do plan on Establishing FLEX 
2.0 for my future development.As
Mickey softy (he's a ganster :-) fades away ever so slowly.  Long
live Bono a true and tried person who has a long track record of
helping the poor in africa; as for the other two.  I won't say it.-rchristopherjdunn <
[EMAIL PROTECTED]> wrote:  Just incase anyone would like to test any of the flex apps/clients on MS Vista
 Beta 2, it can now be downloaded from MS's website:  http://www.microsoft.com/windowsvista/getready/preview.mspx
  Chris   
 __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
  













-- What goes up, does come down.

__._,_.___





--
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] I noticed something >>>> MS Vista Beta 2 out

2006-06-07 Thread Robert Thompson



Re: belowRegarding this Vista, I've seen this little thing called "Sparkle" -- a reincantation of a purely failed effort to compete against Flash back a few years ago (it was sad).  But this time around, Microsoft may intend to do what it has done to other competitors regarding Adobe, and that is, to use Sparkle to "crush the enemy Adobe by beating it over the head with the Windows Desktop".I do believe (but am unsure and not claiming so in order to protect myself :-) that's an actual quote by a high level exec, but a different company as to whoe the "enemy" was, at some time, by some person, at high levels, about another competitor, and I do believe my eyes have seen something of this sortbut I can't be sure if it was a dream or real :-)  But I can say no more than that...until a short time...it will all be exposed soon enough...My Advice to Adobe: Watch out.  Old cheeseburger loving dogs who have been found to have broken the law
 don't learn new tricks (they don't change).  And believe me $50B in cash reserves buys a lot of cheeseburgers; and that's just cold hard cash; earned and blossomed all from the seed of a bald-man telling IBM they had DOS _complete_ when in actuality they did not, and instead this bald-man offered 50k to someone who wasn't aware of this information about IBM needing what he'd developed.  The story spawns from there.  Was that first action illegal.  Probably not.  Dishonest - Absolutely.  Unethical - Absolutely.This bald-headed guy grew up just a few miles from me and taints the image and spirit of a beautiful school called "Country Day".Question is: Was he numbed up by his boss, or was it the other way around.  I kind of think being caught for soliciting prostitution in Arizona, leads me to believe it was his boss.  So, obviously these people have no spiritual foundation and simply believe "whatever means necessary"
 and "survival of the fittest".They've got some hot weather coming.Who am I talking about -- your guess is as good as mine -- not my thread.But I do plan on Establishing FLEX 2.0 for my future development.As Mickey softy (he's a ganster :-) fades away ever so slowly.  Long live Bono a true and tried person who has a long track record of helping the poor in africa; as for the other two.  I won't say it.-rchristopherjdunn <[EMAIL PROTECTED]> wrote:  Just incase anyone would like to test any of the flex apps/clients on MS Vista
 Beta 2, it can now be downloaded from MS's website:  http://www.microsoft.com/windowsvista/getready/preview.mspx  Chris   
 __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] One last try: Javascript security

2006-06-07 Thread Michael Schmalle



> It doesn't have the
same data modelling tools, low-level system APIs, encryption libraries, etc. etc.

Don't take my word for it but, I think these issues Apollo is going to address.

Peace, Mike
On 6/7/06, FineLine <[EMAIL PROTECTED]> wrote:









  











Hi. I would like to raise this point one last time,
before the Adobe engineers lock in this aspect of framework behaviour in the
final release.

 

Is it really necessary to restrict the security of
the Flash Player / Flex Application model to such an extent that a flex
application (SWF) located *on a users local
hard disk* cannot make calls to _javascript_ functions in its
container page, also located on the same hard disk? (I have described in the
thread "_javascript_ security" my various attempts to disprove this,
to no avail).

 

I understand why it should be impossible for Internet
based applications to operate within a strict sandbox, which prevents them from
accessing local resources. But surely, functions scripted within the
application's container page should also be considered to exist within
the same sandbox? And if not, how does it make sense that *Internet* based apps can call external
_javascript_, whilst local ones can't?

 

Flex is a fantastic, emerging cross-platform framework
technology. Imagine how useful it would be to be able to use visual Flex
components within local-machine applications developed using other technologies,
such as .NET, Java, Delphi etc. Whilst Flex provides excellent user interface
development capabilities, it is not a tool for the kind of business application
development that these other environments excel in. It doesn't have the
same data modelling tools, low-level system APIs, encryption libraries, etc. etc.

 

If you could use Flex to develop custom components,
which you could then embed within a host application using a browser component,
then you would have the best of both worlds. Those who develop Flex components
would have a wider reach for their products. Many of you will have heard of
Mono, the cross-platform .NET implementation. The one area where Mono lags most
behind Microsoft's own implementation is in GUI development. Imagine
developing a cross platform app in .NET, using all its data access and business
process modelling power, with a Flex front end. Flex reads and writes .NET
datasets very easily (just convert them to XML, and you've got the power
of E4X to do all your manipulation within the UI layer).

 

Maybe this can be put in the category of "Flex
was never meant to do that", but really, all it would take is being able
to use the ExternalInterface API to accept commands, report events and exchange
data with the host application via scripted functions in the container page. Ideally,
the page shouldn't even have to exist on disk – it could be
dynamically created and fed to the browser component by the host application –
but that's getting a bit esoteric. The main thing is being able to
establish communications between Flex and its HTML page – an interface which
already exists in its entirety, but which is locked down in such a way that it
is not useable in this scenario, as it currently stands.

 

Again, if anyone can prove me wrong on this, I'd
love to hear how.

 

Rant over, have a nice day. Cheers, Tim.







  













-- What goes up, does come down.

__._,_.___





--
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: Namespace hell

2006-06-07 Thread Tim Hoff
I don't suppose the xml.removeNamespace() method would come in handy 
here.

-TH

--- In flexcoders@yahoogroups.com, "Ben Clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> Hi Peter,
> 
> Thanks for the reply. My development is actually focused around 
consuming
> SOAP web services that are created by other developers, so not 
using
> namespaces isn't an option for me anyways. (I made the example 
above as
> simple as possible for demo purposes.) As for transforming the XML 
before
> setting it as a dataProvider, I would love to do that but as far 
as I can
> tell there is no way to strip out a default namespace. When 
grabbing child
> nodes they inherit any parent namespace, so once they're in there, 
it seems
> there is no way to get them out.
> 
> If you know how to get rid of default namespaces I would love to 
know how. I
> have been struggling with namespace related issues ever since I 
installed
> Beta 3.
> 
> Thanks,
> Ben
>







 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

2006-06-07 Thread Bjorn Schultheiss
Thanks,

I found the issue was that the RMTP channel had a fatal exception on the
Flex server start-up.
Something about it had already been defined.

I removed the samples directory on my flex server and this time no fatal
exceptions and apps work lovely.

I think having these problems and overcoming them has given me a clear sense
of the way Producers and Consumers work with the Event Messaging Gateway.

Thanks Adobe for the bungled examples ;)

Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Farland
Sent: Thursday, 8 June 2006 12:30 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having
problem, getting errors.

If you're using Producers and Consumers to contact the messaging service
then you'll need to ensure the channel can broadcast messages to clients -
i.e. the client would need to either be statefully connected with a real
time channel such as RTMPChannel or a polling channel such as the AMFChannel
with polling-enabled set to true.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steve House
Sent: Wednesday, June 07, 2006 10:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having
problem, getting errors.
Have you checked on the WEB-INF\flex\flex-enterprise-services.xml file?

Specifically, look at 
--- I had to change use-mappings to true and make sure all my methods are
remote access or change this to public
 

 true
 
remote


Secondly,
--- Here is my channels section, I think the
{server.name}:{server.port}{context.root } helps pick up non-standard ports
and context roots


http://server.name>
}:{server.port}{context.root}/flex2gateway/"
class="flex.messaging.endpoints.AMFEndpoint"/>

false
 
false





Hope this helps,

Steve House

On 6/7/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: 
I can't get this CFMail example to work.
The destination totally fails for me.

Where should the destination that I use for Producer and Consumer be
defined?

I have it in,
C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-message-service.xml






My App is running on,
http://localhost:8700/flex/waitlist/


Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

From: flexcoders@yahoogroups.com 
[mailto: flexcoders@yahoogroups.com  ]
On
Behalf Of Bjorn Schultheiss
Sent: Wednesday, 7 June 2006 10:50 PM
To: flexcoders@yahoogroups.com  
Subject: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having

problem, getting errors.

I feel you Malik,

Good chance it has to do with the Destination in your RemoteObject.

I skipped that example though, but I will take a look at it soon.

In the same doc I'm getting problems with the use Event Gateway Mail
Example.

Compiler is throwing a few errors

Example had
mailto:flexcoders%40yahoogroups.com>
[mailto: flexcoders@yahoogroups.com  ]
On
Behalf Of malik_robinson
Sent: Wednesday, 7 June 2006 6:20 PM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having
problem, getting errors.

Hi,
I am trying to use this example to get Flex 2.0 Beta 3, Mystic, and CF 7.02
to work together 
but 
having some problems. If someone has a few moments to help that would be
great, there is not much code to struggle through and this example is posted
on the Macromedia/Adobe Site.
I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3, 
FDS, 
with CF Extensions.
The code I am trying is here:
http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503
 
.p
df. This is posted on the Macromedia site. Has anyone gotten this 
to 
work?
I am trying to follow the code in "section 1" of this PDF.
It specifically states: "To specify a CFC to connect to, you do one 
of 
the following:" This seems to mean I can use a "Named Resource" OR 
specify the full path to the cfc in the source attribute which is 
what 
I am trying to do. 
I know the Flex can see my CFC and that this is not a path issue or a 
case where it can't find the CFC because I accidentally declared two 
methods with the same name, compiled the Flex App and ran it, and it 
told me that I can't declare two methods with the same name obviously.
The error I am getting when clicking "Get Secure Data" is:
[RPC Fault faultString="Didn't receive an acknowledge message" 
faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting 
mx.messaging.messages.AcknowledgeMessage, but received null"]
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ul
tHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::NetConnectionMessageRe

[flexcoders] Re: loadWSDL Webservice result?

2006-06-07 Thread wayne_badu_johnson
Thanks Ben for the resultFormat tip. 
lastResult is still throwing an error so I will go with 
using 'result'for the moment.

Cheers
Wayne

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> The lastResult vs. result thing is a property of the WS operation 
you
> call, not the ResultEvent object that is sent to your result 
handler.
> I believe the most common place you would use this would be when 
you
> want to bind part of the returned data to something.
> 
> myWebService.myWsMethod.lastResult
> 
> resultFormat is a property of the AbstractOperation when calling a 
WS
> from AS. For some reason it is not recognized by code completion or
> listed in the docs, but I was told this by an Adobe engineer and it
> does work.
> 
> myWebService['myWsMethod'].resultFormat = "e4x";
> 
> Hope this helps,
> Ben
>






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: Beta3 BUG: Date.parse does not work with XML format (YYYY-MM-DDThh:mm:ss) string

2006-06-07 Thread Steven Toth
Can Adobe confirm this is a bug?  Thanks.

--- In flexcoders@yahoogroups.com, "Steven Toth" <[EMAIL PROTECTED]> 
wrote:
>
> My WebSerivce returns a date string in the XML Date format (-
MM-
> DDThh:mm:ss).  Calling Date.parse() to convert it to a Number (a 
Number 
> representing the milliseconds elapsed since January 1, 1970, UTC) 
> always return NaN.  According to the Flex docs for Beta3 this 
format is 
> supported by the Date.parse() method. 
> 
> I also tried appending different timezone abbreviations (GMT, PST, 
and 
> EST) to provide the full date string (-MM-DDThh:mm:ssTZD).
> 
> -Steven
>






 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: Problem with drawn lines appearing outside the bounds of container on resize.

2006-06-07 Thread Steven Toth
Can anyone comment?  Anyone from Adobe have any insight?  Thanks.

--- In flexcoders@yahoogroups.com, "Steven Toth" <[EMAIL PROTECTED]> 
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
>






 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] One last try: Javascript security

2006-06-07 Thread FineLine










Hi. I would like to raise this point one last time,
before the Adobe engineers lock in this aspect of framework behaviour in the
final release.

 

Is it really necessary to restrict the security of
the Flash Player / Flex Application model to such an extent that a flex
application (SWF) located *on a users local
hard disk* cannot make calls to _javascript_ functions in its
container page, also located on the same hard disk? (I have described in the
thread “_javascript_ security” my various attempts to disprove this,
to no avail).

 

I understand why it should be impossible for Internet
based applications to operate within a strict sandbox, which prevents them from
accessing local resources. But surely, functions scripted within the
application’s container page should also be considered to exist within
the same sandbox? And if not, how does it make sense that *Internet* based apps can call external
_javascript_, whilst local ones can’t?

 

Flex is a fantastic, emerging cross-platform framework
technology. Imagine how useful it would be to be able to use visual Flex
components within local-machine applications developed using other technologies,
such as .NET, Java, Delphi etc. Whilst Flex provides excellent user interface
development capabilities, it is not a tool for the kind of business application
development that these other environments excel in. It doesn’t have the
same data modelling tools, low-level system APIs, encryption libraries, etc. etc.

 

If you could use Flex to develop custom components,
which you could then embed within a host application using a browser component,
then you would have the best of both worlds. Those who develop Flex components
would have a wider reach for their products. Many of you will have heard of
Mono, the cross-platform .NET implementation. The one area where Mono lags most
behind Microsoft’s own implementation is in GUI development. Imagine
developing a cross platform app in .NET, using all its data access and business
process modelling power, with a Flex front end. Flex reads and writes .NET
datasets very easily (just convert them to XML, and you’ve got the power
of E4X to do all your manipulation within the UI layer).

 

Maybe this can be put in the category of “Flex
was never meant to do that”, but really, all it would take is being able
to use the ExternalInterface API to accept commands, report events and exchange
data with the host application via scripted functions in the container page. Ideally,
the page shouldn’t even have to exist on disk – it could be
dynamically created and fed to the browser component by the host application –
but that’s getting a bit esoteric. The main thing is being able to
establish communications between Flex and its HTML page – an interface which
already exists in its entirety, but which is locked down in such a way that it
is not useable in this scenario, as it currently stands.

 

Again, if anyone can prove me wrong on this, I’d
love to hear how.

 

Rant over, have a nice day. Cheers, 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.



  






__,_._,___





[flexcoders] SOAP Date formatter

2006-06-07 Thread wayne_badu_johnson

Hi

I've got a query, possible bug. In the dateFormatter class I'm 
getting unexpected results when applying it, I'm using F2B3.

This is the soap xml
2001-05-18T14:00:07.000Z 

This is the output from the returned result, which has been 
automatically updated to GMT+1000. 
event.result.provisioningStatus.onsetDate
Sat May 19 00:00:07 GMT+1000 2001

This looks good up to this point. 

However, this is the format string I'm applying and the output.
myDate.formatString=" DD/MM/ HH:NN:SS A";
Monday 19/05/1000 01:00:07 AM

It would appear that maybe there is a bug in the DateFormatter? 

Cheers
Wayne






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: quick filter for datagrid

2006-06-07 Thread tonyx_788
thanks i'been reading about sho's auto complete sample and i think it
wont be dificult to do it for datagrid i'll upload my file and give
you the url 

thanks for the help


--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> yap, directly migrating from b1 to b3 would be a huge pain, but
there's a
> migration script in beta2 which automatically do most of the job for you
> 
>  (but it's a unix shell script so you need cygwin on windows to use
it, if
> you have probelm setting that up, send me the file I can convert
that since
> I still have cygwin installed)
> 
> then it's a snip to migrate from b2 to b3, guess this is the fact of
life
> for playing with beta proggy.
> 
> ComboBox and DataGrid are both ListBased classes, so they shared
almost the
> same APIs, like getItem(), getItemAt() thru dataProvider, so it
should not
> be difficult to modify that sample to use Datagrid.
> 
> 
> 
> On 6/7/06, tonyx_788 <[EMAIL PROTECTED]> wrote:
> >
> >   the problem is i'm almost finish with my project and the last time i
> > tried to install beta3 it throw me lots of errors
> > after i finish i'll install it
> > the other thing is that sho's example it's only for comboboxes
> > and i have a text input an a datagrid
> >
> >
> > --- In flexcoders@yahoogroups.com ,
"Jeremy
> > Lu"  wrote:
> > >
> > > well, I'm not sure about that, why not ask Sho about it ?
> > >
> > > btw, as Flex2 is very close to release, why not port your
application to
> > > Beta3 ?
> > >
> > >
> > > On 6/6/06, tonyx_788  wrote:
> > > >
> > > > Thanks for the fast reply Jeremy
> > > > but do you know if this works in Flex 2 Beta1
> > > > i only see it for beta 3
> > > >
> > > >
> > >
> >
> >  
> >
>







 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] zombie warnings

2006-06-07 Thread Jason
So what's the recommended way to get rid of erroneous warnings that
won't go away in Flex 2 beta 3?  I have a bunch that are definitely
wrong.  Like 'Data binding will not be able to detect assignments to
"length".' and pointing to a line that says "".  It has that
warning x2 (for the same line), along with several others.  I've tried
closing the project and restarting Flex.  Is there some kind, gentle
way I can get it to clear them out?







 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Question

2006-06-07 Thread Michael Schmalle



Kelly,

> Java is free.

Am I getting messed up, I thought you needed like jrun or j2ee.
Honestly, I did Java 2 years back and I would love to know how I could
use it with FDS?

I had got servlets working and things. Do you have any urls that point
to what 'free' java would give you using flex. Right now I use php5.

Peace, Mike
On 6/7/06, Kelly @ Dekayd Media Inc. <[EMAIL PROTECTED]> wrote:









  











ColdFusion compiles to Java and it doesn't
offer all the features of Java.

 

It also costs about $7000 per enterprise
license (last time I checked).

 

 

Java is free.

 

 

 

As for any of the other competitors I
cannot say.

 

 

 

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Brendan Meutzner
Sent: Wednesday, June 07, 2006
4:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Question



 







So how about we take this off on a tangent a bit...
why would I use Java instead of ColdFusion or vice versa?  The floor is
open...  My apologies if this has already been discussed, but I don't
remember seeing anything.






On 6/7/06, Tracy
Spratt <[EMAIL PROTECTED]>
wrote:














Yes.


Tracy


 











From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006
5:13 PM







To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Question








 










Does Flex and Java work
well together























 












  













-- What goes up, does come down.

__._,_.___





--
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: Namespace hell

2006-06-07 Thread Ben Clinkinbeard



Hi Peter,Thanks for the reply. My development is actually focused around consuming SOAP web services that are created by other developers, so not using namespaces isn't an option for me anyways. (I made the example above as simple as possible for demo purposes.) As for transforming the XML before setting it as a dataProvider, I would love to do that but as far as I can tell there is no way to strip out a default namespace. When grabbing child nodes they inherit any parent namespace, so once they're in there, it seems there is no way to get them out.
If you know how to get rid of default namespaces I would love to know how. I have been struggling with namespace related issues ever since I installed Beta 3.Thanks,Ben

__._,_.___





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

2006-06-07 Thread Kelly @ Dekayd Media Inc.










ColdFusion compiles to Java and it doesn’t
offer all the features of Java.

 

It also costs about $7000 per enterprise
license (last time I checked).

 

 

Java is free.

 

 

 

As for any of the other competitors I
cannot say.

 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner
Sent: Wednesday, June 07, 2006
4:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Question



 







So how about we take this off on a tangent a bit...
why would I use Java instead of ColdFusion or vice versa?  The floor is
open...  My apologies if this has already been discussed, but I don't
remember seeing anything.






On 6/7/06, Tracy
Spratt <[EMAIL PROTECTED]>
wrote:













Yes.

Tracy

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006
5:13 PM






To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Question







 









Does Flex and Java work
well together























 








__._,_.___





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

2006-06-07 Thread Tracy Spratt










If your skillsets for both are equal, and
there is no business or political preference, well, you are pretty lucky.

 

Seriously, the decision is often based on
in-house expertise or corporate policy.  You can toss into the mix .NET,
PHP, etc.  This is one of the intended strengths of Flex, allowing you to
use the business logic tier platform of your choice.  If you plan to use
FDS, you would be advised to choose a platform supported by that, but even
then, WebOrb is developing the infrastructure to use FDs with .Net .

 

So use what you know, what your company
mandates, or what your customers want.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner
Sent: Wednesday, June 07, 2006
7:59 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Question



 







So how about we take this off on a tangent a bit...
why would I use Java instead of ColdFusion or vice versa?  The floor is
open...  My apologies if this has already been discussed, but I don't
remember seeing anything.






On 6/7/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:













Yes.

Tracy

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 5:13
PM






To: flexcoders@yahoogroups.com
Subject:
[flexcoders] Question







 









Does Flex and Java work
well together























 








__._,_.___





--
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] MS Vista Beta 2 out

2006-06-07 Thread christopherjdunn
Just incase anyone would like to test any of the flex apps/clients on
MS Vista Beta 2, it can now be downloaded from MS's website:

http://www.microsoft.com/windowsvista/getready/preview.mspx

Chris






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Question

2006-06-07 Thread Brendan Meutzner



So how about we take this off on a tangent a bit... why would I use Java instead of ColdFusion or vice versa?  The floor is open...  My apologies if this has already been discussed, but I don't remember seeing anything.
On 6/7/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:









  











Yes.

Tracy

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006
5:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question



 









Does Flex and Java work well together












  















__._,_.___





--
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: Namespace hell

2006-06-07 Thread Peter Hall



I think it's a limitation right now. It has nothing to do with if the namespaces are default or not; that is  only relevent within the specific text representation of the XML. Namespaces are evaluated at compile-time, so there is not capacity for XMLListCollection to detect namespaces and use them, nor for XMLListCollection to be parametrised with namespaces to use.
I'm loathe to recommend not using namespaces, because they add a lot of robustness, and they are harder to add with hindsight. Could you, perhaps, transform your XML just prior to setting it as a dataProvider? It might even be possible to create subclasses of XMLListCollection, which has the namespace baked in, but I haven't looked into the source code to see how it is implemented.
PeterOn 6/7/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
>From what I can gather, default namespaces in XML data simply aren'tvery well supported in AS3/Flex 2. Can someone from Adobe chime in toconfirm or deny this? Should we simply try to avoid them at all costs?
Thanks,Ben Yahoo! Groups Sponsor ~-->Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] Limiting number of items a control displays

2006-06-07 Thread Tracy Spratt










Check out rowCount.

http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls/listClasses/ListBase.html

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacey Mulcahy
Sent: Wednesday, June 07, 2006
3:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Limiting
number of items a control displays



 









 Is there a way to limit the number of items that a control
displays of a dp or do you have to modify the array/arraycollection prior to
setting it in order to do so?

 

For example I have a list control that’s gets a result that
has 10 items, but I only want to show 3 and let the user have the choice to
show more via rightClick. I can create a function to do this and handle how
many items gets put into a dp but just wondering if I was missing a basic
property or what not.

 

 

 










__._,_.___





--
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] Dumb Newbie Question - Underlined Hyperlinks

2006-06-07 Thread Tracy Spratt










Yes, there is a css style setup that will
do this.  I recall reading it very recently in this list.  If I can find it I’ll
point you to it.

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of swhitley02
Sent: Wednesday, June 07, 2006
5:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dumb Newbie
Question - Underlined Hyperlinks



 







Hello everyone. I'm hoping this is super easy, but I
can't find any 
documentation on it. 

I'm working with Flex 2.0 Beta 3. While using the TextArea control, 
I'm posting an HTML hyperlink to the htmlText property. The link 
appears in the TextArea control and it works, but there's nothing to 
show the user that it's a link. Is there an easy way to force the 
display of hyperlinks to blue and underlined in the TextArea control? 
Is there another control that will display standard HTML?






__._,_.___





--
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: Alternative to firstChild, lastChild and nextSibling

2006-06-07 Thread Tracy Spratt










Check out the thread: “Namespace
Hell”.  Sounds like it is relevant.

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles
Sent: Wednesday, June 07, 2006
2:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Alternative to firstChild, lastChild and nextSibling



 







Actually,
now I have a follow-up question.  I've managed to use E4X to parse
the XML now, but, for some XML documents, there are attributes on some of the
items.  For instance, in comparison to the previous XML I posted, some are
now...

 

   //
the attribute of xmlns="..." is new
  11579339
  US
  Halo 2 (Xbox)
  USD
  
   
http://somesite.com/somepicture.jpg
  
  PayPal


 

So, with
the new attribute on the Item tag, I can't seem to access any children using
the same calls anymore.  For instance, when I go some_label.text =
xml_object.ItemID, it is now blank, when it used to be filled
before...?

 

I've
tried using the @ attribute operator in calls such as some_label.text =
xml_object.(@xmlns == "some.namespace.com").ItemID),
but still nothing.

 

Thanks
again

 

 

Charles


--- In flexcoders@yahoogroups.com,
"Charles" <[EMAIL PROTECTED]> wrote:
>
> Great. Got it! Thanks for the help everyone!
> 
> 
> 
> --- In flexcoders@yahoogroups.com,
"Peter Hall" peterjoel@ 
> wrote:
> >
> > XMLDocument is the old XML object, which has firstChild, 
> nextSibling etc.
> > Use XML to use e4x.
> > 
> > public var xml_object:XML = new XML();
> > 
> > Peter
> > 
> > 
> > On 6/7/06, Charles charles.bihis@ wrote:
> > >
> > > Hi guys,
> > >
> > > Thanks for the replies. But I should mention that I've tried 
> that
> > > before. I get no output...blank. I actually used that before 
> when my data
> > > provider was an ArrayCollection, or an HTTPService. But now 
> that it's an
> > > XMLDocument, for some reason, it doesn't work, and the only 
> thing that does
> > > is by using firstChild and lastChild. Just in case I am doing 
> something
> > > totally wrong here, I'll try and be a little more specific. 
> Here is a
> > > simpler version of what I am trying to do (if you are so 
> inclined, you can
> > > grab the actual .mxml file 
> here
> > > in case you wanted to see a little clearer)...
> > >
> > >
> > >
> > > 
> > > 
> > > layout="vertical">
> > > 
> > > 
> > > 
> > >
> > >  
> > >  
> > >
> > > 
> > > 
> > >
> > >
> > >
> > > Thanks for the help!
> > >
> > >
> > >
> > > Charles
> > >
> > >
> > >
> > >
> > > --- In flexcoders@yahoogroups.com,
"Tracy Spratt"
 
> wrote:
> > > >
> > > > Compare it to the Microsoft XML DOM, which has dozens of 
> classes.
> > > > "XML", huh, one class? How can that be?
> > > >
> > > > Tracy
> > > >
> > > >
> > > >
> > > > 
> > > >
> > > > From: flexcoders@yahoogroups.com

> [mailto:flexcoders@yahoogroups.com]
On
> > > > Behalf Of Michael Schmalle
> > > > Sent: Tuesday, June 06, 2006 6:40 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: Re: [flexcoders] Alternative to firstChild,
lastChild 
> and
> > > > nextSibling
> > > >
> > > >
> > > >
> > > > You got that right! E4x can do some crazy things. Sometimes
I 
> wonder if
> > > > I am kidding myself at how easy it is to use :)
> > > >
> > > > Peace, Mike
> > > >
> > > > On 6/6/06, Tracy Spratt
tspratt@ wrote:
> > > >
> > > > Yep. And the subtext to my style of response is "If
you are 
> not using
> > > > 2.0 yet, here is one very good reason to make the
move."
> > > >
> > > > Tracy
> > > >
> > > >
> > > >
> > > > 
> > > >
> > > > From: flexcoders@yahoogroups.com

> [mailto:flexcoders@yahoogroups.com]
On
> > > > Behalf Of Michael Schmalle
> > > > Sent: Tuesday, June 06, 2006 6:23 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: Re: [flexcoders] Alternative to firstChild,
lastChild 
> and
> > > > nextSibling
> > > >
> > > >
> > > >
> > > > Tracy
> > > >
> > > > :-( That is what I was getting to :) I guess being direct 
> works ... HA
> > > >
> > > > Peace, Mike
> > > >
> > > > On 6/6/06, Tracy Spratt
< tspratt@
> > >
> > > >  wrote:
> > > >
> > > > E4x:
> > > >
> > > > xml_object.PaymentMethods; //PayPal
> > > >
> > > > xml_object.SiteHostedPicture.GalleryType; //http://.
> > > >
> > > >
> > > >
> > > > Tracy
> > > >
> > > >
> > > >
> > > > 
> > > >
> > > > From: flexcoders@yahoogroups.com

> [mailto:flexcoders@yahoogroups.com]
On
> > > > Behalf Of Charles
> > > > Sent: Tuesday, June 06, 2006 5:52 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Alternative to firstChild, lastChild
and
> > > > nextSibling
> > > >
> > > >
> > > >
> > > > Hi everyone,
> > > >
> > > >
> > > >
> > > > I am trying to parse some XML for relevant info using 
> firstChild,
> > > > lastChild, and nextSibling. For instance, given an XML file

> like...
> > > >
> > > >
> > > >
> > > > 
> > > > 11579339
> > > > US
> > > > Halo 2 (Xbox)
> > > > USD
> > > > 
> > > >
http://

RE: [flexcoders] Question

2006-06-07 Thread Tracy Spratt










Yes.

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006
5:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question



 









Does Flex and Java work well together








__._,_.___





--
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: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-07 Thread Tracy Spratt
A bug, maybe.  That's been standard behavior since 1.0.  Asigning a
dataprovider to a control resets it to its initial state.  Yes,
definitely, I would prefer the state to not change.  I think this might
be quite difficult to do though.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Wednesday, June 07, 2006 6:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider,
how to refresh tree display?

On Tuesday 06 June 2006 23:55, Jason Y. Kwong wrote:
> Ya, that's always an option, but it's a little disruptive cause it
closes
> all the nodes that the user opened.  Oh well, for now I'm just showing
the
> root node.

IMVHO, that's a bug.
Unless the id of an open node, or the nodes depth have changed, it
should stay 
open.
More often than not, that's what you would want to happen, no ?

What do others think ?

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards




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



 






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] Re: need help in making usrname/pswd Database

2006-06-07 Thread Tracy Spratt










I sent you my prehistoric example
directly.

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of raju_bb
Sent: Wednesday, June 07, 2006
6:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: need
help in making usrname/pswd Database



 







i know Java and ASP(lil bit)...how can i do it...send
me any links if
u have..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] how can I load text from a file

2006-06-07 Thread Tracy Spratt










Use HTTPService.  It is a 1.5(and 2.0)
data service.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel
Sent: Wednesday, June 07, 2006
11:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] how can
I load text from a file



 







Thanks
all for anwsering

I should precise I use FLEX 1.5 .. can't theses objects ...

Tracy Spratt a écrit : 







Use HTTPService or URLLoader().



 

Tracy



 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Antoine Malpel
Sent: Tuesday, June 06, 2006 12:22
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how can I
load text from a file



 







Hi

I have a text containing a big big big html text that I need to put 
inside a mx:texarea in my app
I don't how to load the content of this file in order to set the value 
of htmltext ...

Any example ?













 








__._,_.___





--
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: Alternative to firstChild, lastChild and nextSibling

2006-06-07 Thread Peter Hall



namespace blah = "some.namespace.com";use namespace blah;
xml_object.ItemID;ORnamespace blah = 
"some.namespace.com
";xml_object.blah::ItemID;PeterOn 6/7/06, 
Charles <[EMAIL PROTECTED]> wrote:



Actually, now I have a follow-up question.  I've managed to use E4X to parse the XML now, but, for some XML documents, there are attributes on some of the items.  For instance, in comparison to the previous XML I posted, some are now...

 
some.namespace.com">   // the attribute of xmlns="..." is new
  11579339  US  Halo 2 (Xbox)  USD
      http://somesite.com/somepicture.jpg
    PayPal
 
So, with the new attribute on the Item tag, I can't seem to access any children using the same calls anymore.  For instance, when I go some_label.text = xml_object.ItemID, it is now blank, when it used to be filled before...?

 
I've tried using the @ attribute operator in calls such as some_label.text = xml_object.(@xmlns == "
some.namespace.com").ItemID), but still nothing.
 
Thanks again
 
 
Charles
--- In flexcoders@yahoogroups.com, "Charles" <[EMAIL PROTECTED]> wrote:>
> Great. Got it! Thanks for the help everyone!> > > > --- In flexcoders@yahoogroups.com
, "Peter Hall" peterjoel@ > wrote:> >> > XMLDocument is the old XML object, which has firstChild, > nextSibling etc.> > Use XML to use e4x.> > > > public var xml_object:XML = new XML();
> > > > Peter> > > > > > On 6/7/06, Charles charles.bihis@ wrote:> > >> > > Hi guys,> > >> > > Thanks for the replies. But I should mention that I've tried 
> that> > > before. I get no output...blank. I actually used that before > when my data> > > provider was an ArrayCollection, or an HTTPService. But now > that it's an> > > XMLDocument, for some reason, it doesn't work, and the only 
> thing that does> > > is by using firstChild and lastChild. Just in case I am doing > something> > > totally wrong here, I'll try and be a little more specific. > Here is a
> > > simpler version of what I am trying to do (if you are so > inclined, you can> > > grab the actual .mxml file > here<
http://charles.abstractations.com/test.mxml>> > > in case you wanted to see a little clearer)...> > >> > >> > >> > > 
> > > http://www.adobe.com/2006/mxml"> > > layout="vertical">
> > > > > > > > > > > >> > >  > > >  > > >
> > > > > > > > >> > >> > >> > > Thanks for the help!
> > >> > >> > >> > > Charles> > >> > >> > >> > >> > > --- In 
flexcoders@yahoogroups.com, "Tracy Spratt"  > wrote:> > > >> > > > Compare it to the Microsoft XML DOM, which has dozens of > classes.> > > > "XML", huh, one class? How can that be?
> > > >> > > > Tracy> > > >> > > >> > > >> > > > > > > >> > > > From: 
flexcoders@yahoogroups.com > [mailto:
flexcoders@yahoogroups.com] On> > > > Behalf Of Michael Schmalle> > > > Sent: Tuesday, June 06, 2006 6:40 PM> > > > To: 
flexcoders@yahoogroups.com> > > > Subject: Re: [flexcoders] Alternative to firstChild, lastChild > and> > > > nextSibling> > > >> > > >> > > >
> > > > You got that right! E4x can do some crazy things. Sometimes I > wonder if> > > > I am kidding myself at how easy it is to use :)> > > >> > > > Peace, Mike
> > > >> > > > On 6/6/06, Tracy Spratt tspratt@ wrote:> > > >> > > > Yep. And the subtext to my style of response is "If you are > not using> > > > 
2.0 yet, here is one very good reason to make the move."> > > >> > > > Tracy> > > >> > > >> > > >> > > > 
> > > >> > > > From: flexcoders@yahoogroups.com > [mailto:
flexcoders@yahoogroups.com] On> > > > Behalf Of Michael Schmalle> > > > Sent: Tuesday, June 06, 2006 6:23 PM> > > > To: 
flexcoders@yahoogroups.com> > > > Subject: Re: [flexcoders] Alternative to firstChild, lastChild > and> > > > nextSibling> > > >> > > >> > > >
> > > > Tracy> > > >> > > > :-( That is what I was getting to :) I guess being direct > works ... HA> > > >> > > > Peace, Mike
> > > >> > > > On 6/6/06, Tracy Spratt < tspratt@> > >> > > > 
tspratt@ > wrote:> > > >> > > > E4x:> > > >> > > > xml_object.PaymentMethods; //PayPal> > > >> > > > xml_object.SiteHostedPicture.GalleryType; //http://.
> > > >> > > >> > > >> > > > Tracy> > > >> > > >> > > >> > > > 
> > > >> > > > From: flexcoders@yahoogroups.com > [mailto:
flexcoders@yahoogroups.com] On> > > > Behalf Of Charles> > > > Sent: Tuesday, June 06, 2006 5:52 PM> > > > To: 
flexcoders@yahoogroups.com> > > > Subject: [flexcoders] Alternative to firstChild, lastChild and> > > > nextSibling> > > >> > > >> > > >
> > > > Hi everyone,> > > >> > > >> > > >> > > > I am trying to parse some XML for relevant info using > firstChild,> > > > lastChild, and nextSibling. For instance, given an XML file 
> like...> > > >> > > >> > > >> > > > > > > > 11579339> > > > US
> > > > Halo 2 (Xbox)> > > > USD> > > > > > > > 
http://somesite.com/somepicture.jpg> > > > > > > > PayPal> > > > 
> > > >> > > >> > > >> > > > ...when I try to get the ItemID, I just go> > > > xml_object.firstChild.firstChild. But, when I try and get 

[flexcoders] Re: RSL: using runtime shared library prompts debug dialog [F2b3]

2006-06-07 Thread Peter Blazejewicz
Hello list,

just to let you know,
I've just got mail from Adobe Flex QE after filling bug with that 
issue, They were able to reproduce that behavior,
so guys: when testing RSL just dismiss that dialog and movie will 
continue fine,
issue will be fixed soon,

kind regards,
Peter Blazejewicz

[CLOSED]






 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: Comboboxes in flex/flash

2006-06-07 Thread michaellisten
Thanks those are interesting and to the point.

But, I guess the implication is that there is no way to turn off the
jerky 'slide out' behavior of the built in flex combobox...and that
there is no autocomplete either?

The reason this seems important to me is that I'm mostly about
building data centric applications. Groovy visuals are not important,
what's crucial is 'natural' editing capabilities, usually text,
numbers etc. I'm wondering if this is an indicator of the non-data
centric roots of flex, or more properly flash.

Are people using flex for RIA applications that are data centric?
Think email client (I know about the one jboss is building),
quickbooks, that sort of thing? I don't want to be forcing flex to be
something it's not really primed for quite yet. 

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Check out Sho's completion input example here:
> 
> http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/
> 
> 
> -TH
> 
> 
> --- In flexcoders@yahoogroups.com, "michaellisten" 
> wrote:
> >
> > Just looking at flex/flash, have a general question re combobox, aka
> > dropdown list. I'm not sure that I've seen one in a sample app that
> > has a lookup feature; type ahead etc. They're more like "open the
> > combo and pick from the list". That's not very workable with data
> > centric apps which is what I do most of the time. Also, the gradual
> > drop down effect of the controls seems slow and even jerky...rather
> > odd considering how smooth many other aspects of flash are.
> >
> > Is there a type ahead type feature for combos in flex? And can the
> > slide out effect be either disabled or improved on?
> >
> > Is the the best list to ask entry level questions? I know there are
> > macromedia newsgroups for flex, but they don't seem quite as lively as
> > this list. OTOH, this list doesn't seem particularly oriented towards
> > newbies...hope though that it's ok to ask such questions here.
> >
>






 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: optimizing html output from RichTextEditor Component

2006-06-07 Thread drome.dario
It is easy:
Just apply a XSLT to the output of RTE component and make the 
cleaning you want.


--- In flexcoders@yahoogroups.com, "Luís Gustavo Sanabio" 
<[EMAIL PROTECTED]> wrote:
>
> I would like this too..
>  I thinking develop my own RichEditor Component instead.
> 
> 
> 2006/6/7, Benjamin Dobler <[EMAIL PROTECTED]>:
> >
> > Hi list,
> >
> > can anyone share good strategies for optimizing the html output 
from the
> > RichTextEditor Component.
> > It uses a lot of unnecessary p- and Textformat- tags. Is there a 
way of
> > forcing the use of b-tags or any other solutions?
> >
> > Thanx
> >
> > benz
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>






 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Dumb Newbie Question - Underlined Hyperlinks

2006-06-07 Thread swhitley02
Hello everyone.  I'm hoping this is super easy, but I can't find any 
documentation on it.  

I'm working with Flex 2.0 Beta 3.  While using the TextArea control, 
I'm posting an HTML hyperlink to the htmlText property.  The link 
appears in the TextArea control and it works, but there's nothing to 
show the user that it's a link.  Is there an easy way to force the 
display of hyperlinks to blue and underlined in the TextArea control?  
Is there another control that will display standard HTML?





 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: ExternalInterface | How to get called from flash in"xml flavor"?

2006-06-07 Thread drome.dario
knock, knock...nobody out there?Still standing






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread drome.dario
Hello,
I'm assuming that what you want is to send a binary to your server in 
the same way that if it was sent by a browser (using that "browse" 
button in some forms) and then, at the server side, consume that file 
using PHP.
In that case, I think that the best way is to implement (using 
ByteArray, of course) a data packet compliant with "multipart/form-
data" encoding type, then just send it to your php handler in the 
server and that's it.
Writing a "multipart/form-data" packet is easy and you can find the 
full specification on w3c.org
Given that this spec may be "hard to read", I suggest you another way 
that worked for me in the past (though it's more, let's say, "empiric")

0. Prepare a sniffer between your browser and your server (there are 
many of them that are very easy to use)
1. Just upload a little jpeg file to your server using a browser and 
the standard way: a form with an  tag of type "file", bla, bla.
2. Capture the data from the browser to the server and use it to figure 
out and implement the multipart/form-data packet (is easy, believe me.)






 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Using E4X with attributes in XML tags

2006-06-07 Thread Charles



Hi everyone,
 
This is a follow-up question from my last post < http://groups.yahoo.com/group/flexcoders/message/38691?threaded=1&var=1 >.  I've managed to use an XML object instead of an XMLDocument object, so that I can utilize E4X to parse the XML.  BUT, my new problem is that for some xml results that are returned, the tags have attributes, and now the calls to access the child nodes don't work anymore.  For instance...
 
var xml_object =   // Item tag now has attribute xmlns="..." 11579339 US Halo 2 (Xbox) USD  http://somesite.com/somepicture.jpg  PayPal 
 
So, calls that used to work to access child nodes, such as some_label.text=xml_object.Title, which would return the items title, used to work but now they just display nothing...?  I've tried using the @ attribute operator in calls such as some_label.text=xml_object.(@xmlns="...").ItemID, but still nothing (I actually get an error for that last call - undefined property 'xmlns').  So now I'm stuck until I can figure out how to access those child nodes with the attribute on there, or to somehow parse the XMl and remove the attribute before I try to access the child nodes.
 
Thanks in advance
 
 
Charles

__._,_.___





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

2006-06-07 Thread Steven Webster





Yes, Flex and Java work well together 
:)
 
http://www.theserverside.com/news/thread.tss?thread_id=25418
 
http://www.theserverside.com/news/thread.tss?thread_id=30332
 
With FDS, even more so ... see the link I sent out 
earlier.
 
Best,
 
Steven
 


  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0) 7917 428 947 [EMAIL PROTECTED] 
  
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: 07 June 2006 22:13To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] 
  Question
  
  
  
  Does Flex and Java work well together
  
__._,_.___





--
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] "Embedding Swf files" Help sample broken. Need to refer to symbols at runtime.

2006-06-07 Thread Stephen Gilson
Sorry for the late reply. Modify the example so the SWFLoader line looks
like this:



This loads the SWF at runtime, rather than embedding it. The example
shuld now work.

Stephen


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pinkmongrel
Sent: Thursday, May 25, 2006 6:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] "Embedding Swf files" Help sample broken. Need to
refer to symbols at runtime.

I need to load swf's that include many symbols which I need to reference
dynamically at runtime.

I am able to embed and link to symbols whose name I know at compile time
using:

[Embed(source='shapes.swf', symbol='greenSquare')] [Bindable] public var
imgCls:Class;

I won't know some of my symbol names until runtime.

In the Help page "Embedding SWF files" there is an example of
referencing a symbol by using a string parameter:

The heart of it is:

 public var loadedSM:SystemManager;
[Bindable]
public var loadedLabel:Label;

// Initialize variables with information from
// the loaded application.
private function initNestedAppProps():void {
loadedSM = SystemManager(myLoader.content);
loadedLabel = loadedSM.application["lblOne"];
}
---
When I run the example I get a type conversion error at this line:
   loadedSM = SystemManager(myLoader.content);
(Droog3 is the project name.)
 ---
TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to
mx.managers.SystemManager.
at Droog3/::initNestedAppProps()
at Droog3/__myLoader_creationComplete()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
---

Did the example get broken by the move to beta 3? Did type conversion
rules for the SystemManager get more strict?

I'd love any help with this. Again, I need to get at a symbol using a
string parameter, as in the example:

loadedSM.application["lblOne"];

Thanks.







 Yahoo! Groups Sponsor ~-->
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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



 




 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: Alternative to firstChild, lastChild and nextSibling

2006-06-07 Thread Charles



Actually, now I have a follow-up question.  I've managed to use E4X to parse the XML now, but, for some XML documents, there are attributes on some of the items.  For instance, in comparison to the previous XML I posted, some are now...
 
   // the attribute of xmlns="..." is new  11579339  US  Halo 2 (Xbox)  USD      http://somesite.com/somepicture.jpg    PayPal
 
So, with the new attribute on the Item tag, I can't seem to access any children using the same calls anymore.  For instance, when I go some_label.text = xml_object.ItemID, it is now blank, when it used to be filled before...?
 
I've tried using the @ attribute operator in calls such as some_label.text = xml_object.(@xmlns == "some.namespace.com").ItemID), but still nothing.
 
Thanks again
 
 
Charles
--- In flexcoders@yahoogroups.com, "Charles" <[EMAIL PROTECTED]> wrote:>> Great. Got it! Thanks for the help everyone!> > > > --- In flexcoders@yahoogroups.com, "Peter Hall" peterjoel@ > wrote:> >> > XMLDocument is the old XML object, which has firstChild, > nextSibling etc.> > Use XML to use e4x.> > > > public var xml_object:XML = new XML();> > > > Peter> > > > > > On 6/7/06, Charles charles.bihis@ wrote:> > >> > > Hi guys,> > >> > > Thanks for the replies. But I should mention that I've tried > that> > > before. I get no output...blank. I actually used that before > when my data> > > provider was an ArrayCollection, or an HTTPService. But now > that it's an> > > XMLDocument, for some reason, it doesn't work, and the only > thing that does> > > is by using firstChild and lastChild. Just in case I am doing > something> > > totally wrong here, I'll try and be a little more specific. > Here is a> > > simpler version of what I am trying to do (if you are so > inclined, you can> > > grab the actual .mxml file > here> > > in case you wanted to see a little clearer)...> > >> > >> > >> > > > > > > > > layout="vertical">> > > > > > > > > > > >> > >  > > >  > > >> > > > > > > > >> > >> > >> > > Thanks for the help!> > >> > >> > >> > > Charles> > >> > >> > >> > >> > > --- In flexcoders@yahoogroups.com, "Tracy Spratt"  > wrote:> > > >> > > > Compare it to the Microsoft XML DOM, which has dozens of > classes.> > > > "XML", huh, one class? How can that be?> > > >> > > > Tracy> > > >> > > >> > > >> > > > > > > >> > > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On> > > > Behalf Of Michael Schmalle> > > > Sent: Tuesday, June 06, 2006 6:40 PM> > > > To: flexcoders@yahoogroups.com> > > > Subject: Re: [flexcoders] Alternative to firstChild, lastChild > and> > > > nextSibling> > > >> > > >> > > >> > > > You got that right! E4x can do some crazy things. Sometimes I > wonder if> > > > I am kidding myself at how easy it is to use :)> > > >> > > > Peace, Mike> > > >> > > > On 6/6/06, Tracy Spratt tspratt@ wrote:> > > >> > > > Yep. And the subtext to my style of response is "If you are > not using> > > > 2.0 yet, here is one very good reason to make the move."> > > >> > > > Tracy> > > >> > > >> > > >> > > > > > > >> > > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On> > > > Behalf Of Michael Schmalle> > > > Sent: Tuesday, June 06, 2006 6:23 PM> > > > To: flexcoders@yahoogroups.com> > > > Subject: Re: [flexcoders] Alternative to firstChild, lastChild > and> > > > nextSibling> > > >> > > >> > > >> > > > Tracy> > > >> > > > :-( That is what I was getting to :) I guess being direct > works ... HA> > > >> > > > Peace, Mike> > > >> > > > On 6/6/06, Tracy Spratt < tspratt@> > >> > > >  wrote:> > > >> > > > E4x:> > > >> > > > xml_object.PaymentMethods; //PayPal> > > >> > > > xml_object.SiteHostedPicture.GalleryType; //http://.> > > >> > > >> > > >> > > > Tracy> > > >> > > >> > > >> > > > > > > >> > > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On> > > > Behalf Of Charles> > > > Sent: Tuesday, June 06, 2006 5:52 PM> > > > To: flexcoders@yahoogroups.com> > > > Subject: [flexcoders] Alternative to firstChild, lastChild and> > > > nextSibling> > > >> > > >> > > >> > > > Hi everyone,> > > >> > > >> > > >> > > > I am trying to parse some XML for relevant info using > firstChild,> > > > lastChild, and nextSibling. For instance, given an XML file > like...> > > >> > > >> > > >> > > > > > > > 11579339> > > > US> > > > Halo 2 (Xbox)> > > > USD> > > > > > > > http://somesite.com/somepicture.jpg> > > > > > > > PayPal> > > > > > > >> > > >> > > >> > > > ...when I try to get the ItemID, I just go> > > > xml_object.firstChild.firstChild. But, when I try and get > things from> > > > the bottom, I would have to go something like> > > > > xml_object.firstChild.firstChild.firstChild.firstChild.firstChild.fir> stC> > > > hild.firstChild (which would give me PaymentMethods...I > think). I could> > > > use xml_object.lastChild.firstChild, but that's not the point. > I would> > > > just like to know if there is an alternative to this so

[flexcoders] Viewing HTML

2006-06-07 Thread Suzy Lawson
Hello Group-
  I have an app that receives XML data over the socket. Specifically,
it is data that is in 2 formats (plain text and HTML).

The HTML that gets sent represents the FULL html code (i.e. the
top-level 'html', 'meta', 'head', 'style', 'div', 'body' tags etc..).

Sometimes the tags have namespaces and even 'class' attributes
assigned to them which relate to styles defined w/i the 

[flexcoders] Question

2006-06-07 Thread nostra72





Does Flex and Java work well together
__._,_.___





--
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: Namespace hell

2006-06-07 Thread ben.clinkinbeard
>From what I can gather, default namespaces in XML data simply aren't
very well supported in AS3/Flex 2. Can someone from Adobe chime in to
confirm or deny this? Should we simply try to avoid them at all costs?

Thanks,
Ben






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Where does :: take you?

2006-06-07 Thread ben.clinkinbeard
Could someone explain where exactly the :: operator gets you? Ideally,
I would be able to do something like myXml.myNS::..deepChildNode, but
I understand that is not valid. So I guess I am just trying to figure
out what the context is. I have a default namespace on a node that is
within a SOAP response and cannot seem to access anything within the
namespace with this syntax.

myXml.myNS::NodeWithTheNS and myXml.myNS::FirstChildNode both return
nothing.

Thanks,
Ben






 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] optimizing html output from RichTextEditor Component

2006-06-07 Thread Luís Gustavo Sanabio



I would like this too..
 I thinking develop my own RichEditor Component instead. 
2006/6/7, Benjamin Dobler <[EMAIL PROTECTED]>:
Hi list,can anyone share good strategies for optimizing the html output from theRichTextEditor Component.
It uses a lot of unnecessary p- and Textformat- tags. Is there a way offorcing the use of b-tags or any other solutions?Thanxbenz Yahoo! Groups Sponsor ~-->
Everything you need is oneclick away. Make Yahoo! your home pagenow.http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~->
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:   http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:   [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial

2006-06-07 Thread Phil Marston






If you're using F1.5 also check out this tut I found yesterday
http://coenraets.com/tutorials/restaurant/index.jsp - handy for F2.0 as
well if you've done Mike's tut

HTH

Phil

Phil Marston wrote:

  
Hi Duncan,
  
The .as file does go at the same level as the .mxml file, but I don't
think it'll work with 1.5 because the class libraries are different -
RemotingConnection extends NetConnection and the whole structure of
remoting seems to be different in Flex 2.0
  
There's stuff on the AMFPHP site though about Flex 1.5 at the bottom of
this page http://www.amfphp.org/docs/otherplatforms.html
- if you get a
404 error just keep trying the server seems to be a bit flakey.
  
HTH
  
Phil
  
Duncan McMillan wrote:
  
Phil

So do you mean that you put this RemotingConnection.as file in the same
DIR as the mxml file? I'm using Flex 1.5 and this example is not working
for me and complaining about the same thing.

I've also tried to take the package declaration out (as I'm not sure if
Flex1.5 likes package declarations) and it still doesn;t work

Thanks again

Duncan


Phil Marston wrote On 06/02/06 12:01,:
  

  OK - so looks like I dumb!

For those of you who also turn out to be dumb ;-p when Mike speaks about
you already having RemotingConnection.as at the root of your project you
actually need to save the follow package code as RemotingConnection.as
and then you WILL have it!  I've wasted a day and half on this!  jeesh

HTH someone else

Phil Marston wrote:


  
I think I've traced it to not having the flash.net.* package installed 
(though Flex Builder isn't throwing a complaint about that it does say 
it doesn't know where it is) where can I get this package/library?

cheers,

Phil

Phil Marston wrote:
 

  

  Hi,

I thought I'd seen this covered somewhere but cant find it.

I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found 
here 
http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP 
and Flex is throwing a wobbly about the line;
public var gateway : RemotingConnection;

with the error
Type was not found or was not a compile-time constant: 
RemotingConnection.  

Can anyone shed light on this or point me in the right direction?

Cheers,

Phil

 
   



 

  
  
  -- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495



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









 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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



  
  
  
  -- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
  
  


-- 
__ 
Phil

Re: [flexcoders] Re: FusionCharts under Flex

2006-06-07 Thread Brendan Meutzner



Ely,110% agree with Jason on the suggestion for bolding/adding the embedded font intricacy to the docs for the AxisRenderer for labelRotation... would have saved me a few handfuls of hair.Brendan
On 6/6/06, Ely Greenfield <[EMAIL PROTECTED]> wrote:









  






 
 
I'll check out the fusion charts when I get a 
moment.
 
In the meantime, I'll forward your suggestion ( a good one 
) on to our doc guy.
 
And regarding samples...you're absolutely right, for a new 
platform like Flex, you can't underestimate the value of samples and docs ( I 
think MSDN employs the entire population of Colorado and Arizona).  The 
guys building docs and samples for flex continue to produce great stuff that 
hopefully you'll see before too long.  Also, when Flex 2 makes it out the 
door, the dev team, who really knows the framework inside and out, will 
hopefully have more time to contribute samples to the 
community.
 
 
In the meantime, I took a half hour to put together a 
threshold renderer you can use as a starting point:
 

http://www.quietlyscheming.com/blog/2006/06/06/flex-charting-example-data-based-renderers/
 
Ely.

  















__._,_.___





--
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: Namespace hell

2006-06-07 Thread ben.clinkinbeard
While it is not the ideal situation, as it still requires the use of
labelFunction, you can use a single function for all of the columns in
a DataGrid by using the headerText for each column to branch your
logic. I wish you could use something like the column's id attribute
but that is not a recognized property for some reason.

public function MyLabelFunction(item:Object, column:DataGridColumn):String
{
switch(column.headerText)
{
case "Column 1":
return XML(item).ns::CreateDate[0].toString();
break;
case "Column 2":
return XML(item).ns::DocumentType[0].toString();
break;
default:
return "Unrecognized column";
}
}






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Limiting number of items a control displays

2006-06-07 Thread Stacey Mulcahy










 Is there a way to limit the number of
items that a control displays of a dp or do you have to modify the
array/arraycollection prior to setting it in order to do so?

 

For example I have a list control that’s
gets a result that has 10 items, but I only want to show 3 and let the user
have the choice to show more via rightClick. I can create a function to do this
and handle how many items gets put into a dp but just wondering if I was
missing a basic property or what not.

 

 

 




__._,_.___





--
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: Comboboxes in flex/flash

2006-06-07 Thread Tim Hoff



Check out Sho's completion input example here:
http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ 
-TH
--- In flexcoders@yahoogroups.com, "michaellisten" <[EMAIL PROTECTED]> wrote:>> Just looking at flex/flash, have a general question re combobox, aka> dropdown list. I'm not sure that I've seen one in a sample app that> has a lookup feature; type ahead etc. They're more like "open the> combo and pick from the list". That's not very workable with data> centric apps which is what I do most of the time. Also, the gradual> drop down effect of the controls seems slow and even jerky...rather> odd considering how smooth many other aspects of flash are.> > Is there a type ahead type feature for combos in flex? And can the> slide out effect be either disabled or improved on?> > Is the the best list to ask entry level questions? I know there are> macromedia newsgroups for flex, but they don't seem quite as lively as> this list. OTOH, this list doesn't seem particularly oriented towards> newbies...hope though that it's ok to ask such questions here.>

__._,_.___





--
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 help in making usrname/pswd Database

2006-06-07 Thread raju_bb
i know Java and ASP(lil bit)...how can i do it...send me any links if
u have..thanks





 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Comboboxes in flex/flash

2006-06-07 Thread michaellisten
Just looking at flex/flash, have a general question re combobox, aka
dropdown list. I'm not sure that I've seen one in a sample app that
has a lookup feature; type ahead etc. They're more like "open the
combo and pick from the list". That's not very workable with data
centric apps which is what I do most of the time. Also, the gradual
drop down effect of the controls seems slow and even jerky...rather
odd considering how smooth many other aspects of flash are.

Is there a type ahead type feature for combos in flex? And can the
slide out effect be either disabled or improved on?

Is the the best list to ask entry level questions? I know there are
macromedia newsgroups for flex, but they don't seem quite as lively as
this list. OTOH, this list doesn't seem particularly oriented towards
newbies...hope though that it's ok to ask such questions here.





 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: Problem with Tree Control and custom ITreeDataDescriptor

2006-06-07 Thread Steve House
I should have mentioned that this is Flex 2 Beta 3.

Sorry,

Steve

On 6/7/06, Steve House <[EMAIL PROTECTED]> wrote:
> Help, I have created a custom ITreeDataDescriptor using a class named
> "subject".  Here is the  beginning of the class definition...
>
> public dynamic class subject implements ITreeDataDescriptor
> {
>
> public var iSubjectId:Number = 0;
> public var iQueueId:Number = 0;
> public var iParentSubjectId:Number = 0;
> public var sSubject:String = "";
> public var iCreatedById:Number = 0;
> public var dtCreated:Date = null;
> public var iDeletedById:Number = 0;
> public var dtDeleted:Date = null;
> public var children:subject[];
> ...
>
>
> All of my subjects appear in the tree in the appropriate hierarchy,
> but the problem is that all of the items show up as branches including
> the end points.  I have tried implementing a custom public function
> isBranch(node:Object, model:Object=null):Boolean, and even making it
> always return false, but it never change the problem.
>
> Can anyone tell me what I need to do?
>
> Thanks in advance,
>
> Steve House
>


 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] LinearAxis property access...

2006-06-07 Thread Brendan Meutzner



Solution: LinearAxis(chart.verticalAxis).title = 'sumthin'The error message is a result of FlexBuilder looking at the IAxis interface... type it properly, and you're gold.Brendan
On 6/6/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:









  



Sorry in advance if this is a duplicate post:

Hi,

It seems there is some contradiction regarding the title property for
the LinearAxis Class... the documentation indicates it's read-write,
but when I attempt to change programmatically
(LinearAxisInstance.title = 'sumthin') FlexBuilder tells me it's read
only... Bug?

Thanks,

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] pieChart with 100% one one point has callout

2006-06-07 Thread Jason
This seems something that's a little silly and could easily be fixed.
 Say you have a piechart with a pieseries with insideWithCallout
labelPosition.  If you only have one datapoint in the data, the series
gets a callout pointing to the whole pie rather than the label being
directly on the pie.  I've only tested this in Flex 2 beta 3.

On a related note, is this the place to post bugs/suggestions?  The
FAQ and the help are both mute on the point.





 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread rigidcode

No, I'm not sending it with other files. I just want to send this one,
a bytearray of a jpg file.  How do I do step 2 on your list?

If I make a UrlRequest, and set it's "data" property to my ByteArray,
 then what will the variable name be in php's $_FILES array?  

$_FILES['what??'] ?

It's not $_FILES['Filedata'], that's blank.  That's what it is for a
FileReference.upload(), but not for a URLRequest/URLLoader.






--- In flexcoders@yahoogroups.com, "Tim Scollick" <[EMAIL PROTECTED]>
wrote:
>
> I might be wrong but I think that if you wanted it in the files
array, you
> would have to:
> 1.  Get the ByteArray.
> 2.  Send it to the server to make the jpg.
> 3.  Load the jpg into Flash.
> 4.  Send it again in the files array.
> 
> I think it would be easier and more effiicient to send the ByteArray
to make
> the jpeg and then send the other files independently (I'm assuming that
> you're sending it with other files).
> 
> On 6/6/06, rigidcode <[EMAIL PROTECTED]> wrote:
> >
> >
> > If I make a ByteArray of jpeg data, how do I send it to the server in
> > such a way that PHP will have it in it's $_FILES array? If I just set
> > the URLRequest.data property to the ByteArray, then it won't have a
> > filename, or a variable name, to refer to in the php.
> >
> > http://us3.php.net/manual/en/features.file-upload.php
> >
> >  
> >
>







 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: f2b3: mx:State - resize events not firing properly - bug ?

2006-06-07 Thread Tim Hoff
Yeah, I hear you.  But, the first time you change to the expanded 
state, the children are created and added.  Unless you specifically 
re-define the application dimensions or remove these children, when 
you return to the base state, the application remains large enough 
to hold the children.  They aren't visible, but they are still there 
in the background.  I can't test this, but try putting a removeChild 
statement in the base state, for the children in the expanded state, 
and see what happens.  If it doesn't work, sorry. :)

Tim

--- In flexcoders@yahoogroups.com, "bobpardoe1959" <[EMAIL PROTECTED]> 
wrote:
>
> That was my point really. It should resize. 
> 
> The idea (i would have presumed) is that when one has alternative
> states it should transition completely between the states, not just
> changing some of the state's attributes and controls. It should do 
all
> of them.
> 
> BOb
> 
> --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> >
> > When you change back to the original state, without explicitly 
> > resizing, the application remains large enough to display the 
child 
> > components of the expanded state, since they still exist.  If 
you 
> > create and destroy the child components as needed, you might get 
the 
> > application to automatically resize back down again; and fire 
the 
> > resize event.
> > 
> > -TH
> > 
> > --- In flexcoders@yahoogroups.com, "bobpardoe1959"  
> > wrote:
> > >
> > > When creating a state that is larger than the original 
application 
> > and
> > > then adding resize="resized()" on the application tag, the 
event is
> > > only firing the first time the alternate state is set.
> > > 
> > > If I set currentState='expanded' - it fires, if I then set
> > > currentState='', no event fires. 
> > > 
> > > I believe that it should and the base state should set the 
size 
> > back
> > > to what is was, so that the event will fire correctly for the 
> > second
> > > and susequent changes of state.
> > > 
> > > Any views ?
> > > 
> > > thanks
> > > 
> > > BOb
> > >
> >
>






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] omitting pie values of 0

2006-06-07 Thread Jason
It might be helpful if there was an option to a pieseries to omit zero
values.  As it stands now, I have to have a function go back through
my data and delete any 0 values.  Otherwise, I get zero-width wedge
being labelled.  Very confusing to the user.






 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] optimizing html output from RichTextEditor Component

2006-06-07 Thread Benjamin Dobler
Hi list,

can anyone share good strategies for optimizing the html output from the
RichTextEditor Component.
It uses a lot of unnecessary p- and Textformat- tags. Is there a way of
forcing the use of b-tags or any other solutions?

Thanx 

benz



 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread rigidcode

Thanks, it's not working, here is what I've tried:

var bar:ByteArray;
. I put data in the byte array... I've checked the length, it's
about 4k

var urlu:URLRequest = new URLRequest(
'http://www.mysite.com/fileup.php' );

urlu.data = bar;
urlu.method = URLRequestMethod.POST;
urlu.requestHeaders = new Array(new URLRequestHeader("Content-Type"
,"multipart/form-data"));

var urll:URLLoader = new URLLoader();
urll.load(urlu);

The $_FILES array is empty. I've also tried:

var variables:URLVariables = new URLVariables();
variables.Filedata = bar;
urlu.data = variables;

The $_FILES array is always empty.



--- In flexcoders@yahoogroups.com, "Luís Gustavo Sanabio"
<[EMAIL PROTECTED]> wrote:
>
> Hi rigidcode,
> 
>Send the bytearray using URLLoader with $POST. I think that you
need to
> send the apropriate header. I did it, but I don't remember well.
> 
>At PHP, use:
> if(is_uploaded_file($_FILES["Filedata"]["tmp_name"]))
> $_FILES["Filedata"]["tmp_name"]
> 
> Gustavo Sanabio
> 
> 
> 2006/6/6, Tim Scollick <[EMAIL PROTECTED]>:
> >
> >  I might be wrong but I think that if you wanted it in the files
array,
> > you would have to:
> > 1.  Get the ByteArray.
> > 2.  Send it to the server to make the jpg.
> > 3.  Load the jpg into Flash.
> > 4.  Send it again in the files array.
> >
> > I think it would be easier and more effiicient to send the
ByteArray to
> > make the jpeg and then send the other files independently (I'm
assuming that
> > you're sending it with other files).
> >
> >  On 6/6/06, rigidcode <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > If I make a ByteArray of jpeg data, how do I send it to the
server in
> > > such a way that PHP will have it in it's $_FILES array? If I
just set
> > > the URLRequest.data property to the ByteArray, then it won't have a
> > > filename, or a variable name, to refer to in the php.
> > >
> > > http://us3.php.net/manual/en/features.file-upload.php
> > >
> > >
> > 
> >
>







 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] TileList childen height

2006-06-07 Thread Dan Wood



Hi allI'm playing around with the TileList in Flex2.  Is there a way to have children of different height in the TileList?At the moment it will take the height of the first child in the list and then either cut off children that are longer or center valign children that are smaller.
Perhaps extending the TileList would be the solution.Dan

__._,_.___





--
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] Multiple selection from a list

2006-06-07 Thread Sukhminder Singh
Hi All,

I have a list of Catalogues, and the customers can select one or more from
that list. I don't know how to highlight selected Catalogues - the once
customer have already selected. Below is a sample code:





how to get selectItem to highlight multiple Catalogues?

Thanks in advance

Sukhminder



 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: two tabnavigators with different tab colors?

2006-06-07 Thread Doug Lowder



Take a look at the first comment just below the examples for a way to do this in Flex 1.5:
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/TabNavigator.html#examples
--- In flexcoders@yahoogroups.com, "shemeshkale" <[EMAIL PROTECTED]> wrote:>> i m trying to change the colors of the Tabs themselves.> not the TabNavigator background.> it works? really? weird?> plz try again with this code then dont work for me - flex 1.5> u should get 2 TabNavigators with white backgrounds> the top should have red Tabs and the bottom Blue Tabs.> if its not working replace ".myTabStyle1" with "Tab" to see desired> effect.> > > > > width="100%" height="100%">> > .MyTabNavigator {> background-color:#ff;> tabStyleName: myTabStyle1;> }> > .MyTab {> background-color:#ff;> tabStyleName: myTabStyle2;> }> > > .myTabStyle1 {> fill-colors: #ff, #ff;> } > > .myTabStyle2 {> fill-colors: #ff, #ff;> } > > > > > > > > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "Jim Robson" jim.robson@ wrote:> >> > Your code works fine for me. I get one red TabNavigator and one blue> > TabNavigator. I am using Flex 2.0 - I don't know if something changed> > relative to TabNavigator styles since 1.5. > > > > > > > > _ > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> > Behalf Of shemeshkale> > Sent: Wednesday, June 07, 2006 9:59 AM> > To: flexcoders@yahoogroups.com> > Subject: [flexcoders] Re: two tabnavigators with different tab colors?> > > > > > > > oops..> > here is the code again: NOT WORKING.> > > > > > > > width="100%" height="100%">> > > > .MyTabNavigator {> > background-color:#FF;> > tabStyleName: myTabStyle;> > }> > > > .MyTab {> > background-color:#0033FF;> > }> > > > .myTabStyle {> > fill-colors: #ff, #ff;> > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- In [EMAIL PROTECTED] > ups.com,> > "Jim Robson"  wrote:> > >> > > I think you have an extra dot in your CSS style definitions. There> > should be> > > only one dot before each style name, as follows:> > > > > > > > > > > > .MyTabNavigator {> > > background-color:#FF;> > > tabStyleName: myTabStyle;> > > }> > > > > > > > > > > > _ > > > > > > From: [EMAIL PROTECTED] > ups.com> > [mailto:[EMAIL PROTECTED] > ups.com]> > On> > > Behalf Of shemeshkale> > > Sent: Wednesday, June 07, 2006 9:22 AM> > > To: [EMAIL PROTECTED]  ups.com> > > Subject: [flexcoders] Re: two tabnavigators with different tab colors?> > > > > > > > > > > > i thought of something like this but its not working!> > > here is my code: what m i doing wrong?> > > > > > > > > > > > width="100%" height="100%">> > > > > > ..MyTabNavigator {> > > background-color:#FF;> > > tabStyleName: myTabStyle;> > > }> > > > > > ..MyTab {> > > background-color:#0033FF;> > > }> > > > > > ..myTabStyle {> > > fill-colors: #ff, #ff;> > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- In [EMAIL PROTECTED] > > ups.com,> > > "Jim Robson"  wrote:> > > >> > > > I think you may be looking for tabStyleName:> > > > > > > > > > > > > > > > TabNavigator {> > > > > > > > fillColors: #FF, #CC;> > > > > > > > tabStyleName: myTabStyle;> > > > > > > > }> > > > > > > > .myTabStyle {> > > > > > > > fillColors: #FF, #CC;> > > > > > > > }> > > > > > > > > > > > > > > > _ > > > > > > > > From: [EMAIL PROTECTED] > > ups.com> > > [mailto:[EMAIL PROTECTED] > > ups.com]> > > On> > > > Behalf Of shemeshkale> > > > Sent: Wednesday, June 07, 2006 8:12 AM> > > > To: [EMAIL PROTECTED] > ups.com> > > > Subject: [flexcoders] two tabnavigators with different tab colors?> > > > > > > > > > > > > > > > hi,> > > > i have two TabNavigators in flex 1.5> > > > i want to give each of them different tab colors.> > > > fillColors is not working on a TabNavigator but only on Tab in the> > > > style declartion.> > > > so how do i give each navigator different tab colors?> > > >> > >> >>

__._,_.___





--
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] Repeater XML Attribute

2006-06-07 Thread Rob Rusher



I noticed that you named your dataProvider myHomePageAC indicating that you are using an ArrayCollection. The E4X notation is used only on XML objects. You can then put the XML into an XMLListCollection to use it as a dataProvider.
I think you have the right idea, but the wrong objects.


Rob Rusher

 

RIA Consultant

Adobe Certified Flex 2 Instructor

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

blog:http://www.robrusher.com








From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of mepaninaresh
Sent: Tuesday, June 06, 2006 5:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Repeater XML Attribute

 

Hi, I am trying to
retrieve a certain XML node using the attribute value, tried various syntax.
Just can't get it to work. Sample code below.

Any ideas?

Thanks for any help.

256
10 
55 


  
    
      
   
 
 
      
   
 
   
  


 



__._,_.___





--
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: f2b3: mx:State - resize events not firing properly - bug ?

2006-06-07 Thread bobpardoe1959
That was my point really. It should resize. 

The idea (i would have presumed) is that when one has alternative
states it should transition completely between the states, not just
changing some of the state's attributes and controls. It should do all
of them.

BOb

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> When you change back to the original state, without explicitly 
> resizing, the application remains large enough to display the child 
> components of the expanded state, since they still exist.  If you 
> create and destroy the child components as needed, you might get the 
> application to automatically resize back down again; and fire the 
> resize event.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "bobpardoe1959"  
> wrote:
> >
> > When creating a state that is larger than the original application 
> and
> > then adding resize="resized()" on the application tag, the event is
> > only firing the first time the alternate state is set.
> > 
> > If I set currentState='expanded' - it fires, if I then set
> > currentState='', no event fires. 
> > 
> > I believe that it should and the base state should set the size 
> back
> > to what is was, so that the event will fire correctly for the 
> second
> > and susequent changes of state.
> > 
> > Any views ?
> > 
> > thanks
> > 
> > BOb
> >
>







 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: f2b3: mx:State - resize events not firing properly - bug ?

2006-06-07 Thread Tim Hoff
When you change back to the original state, without explicitly 
resizing, the application remains large enough to display the child 
components of the expanded state, since they still exist.  If you 
create and destroy the child components as needed, you might get the 
application to automatically resize back down again; and fire the 
resize event.

-TH

--- In flexcoders@yahoogroups.com, "bobpardoe1959" <[EMAIL PROTECTED]> 
wrote:
>
> When creating a state that is larger than the original application 
and
> then adding resize="resized()" on the application tag, the event is
> only firing the first time the alternate state is set.
> 
> If I set currentState='expanded' - it fires, if I then set
> currentState='', no event fires. 
> 
> I believe that it should and the base state should set the size 
back
> to what is was, so that the event will fire correctly for the 
second
> and susequent changes of state.
> 
> Any views ?
> 
> thanks
> 
> BOb
>







 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] changing states.

2006-06-07 Thread Rob Rusher





You
should only need to set the state on "this.currentState". No import needed.

 

Here
is an example:



 private
function stateHandler():void

{

   this.currentState
= 'About';

}

 

Rob Rusher


 

RIA Consultant

Adobe Certified Flex 2 Instructor

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

blog:http://www.robrusher.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.



  






__,_._,___



[flexcoders] Re: two tabnavigators with different tab colors?

2006-06-07 Thread Tim Hoff



As a side note, if you want to control the color (style) of individual tabs in a TabNavigator, you can use the following code in 2.0 (not sure if it works in 1.5).
//===//CSS://===
.tab1 { fill-colors: #99CC00, #CCFF66;}
.tab2 { fill-colors: #FFF04B, #CC;}
.tab3 { fill-colors: #8AC7D2, #CBEEF1;}
//===//    Action Script and MXML://===
        
setTabStyles();"/>
//===You can use this to customize any of the available style properties for individual tabs.
Salute,Tim Hoff
--- In flexcoders@yahoogroups.com, "Jim Robson" <[EMAIL PROTECTED]> wrote:>> To change the colors of the tabs themselves, you need to use the> tabStyleName property (at least that's how it works in Flex 2.0). The> following code gives one blue TabNavigator with blue tabs, and one red> TabNavigator with red tabs:> > > > > > > > > > .MyTabNavigator {> > background-color:#FF;> > tabStyleName: myTabStyle;> > }> > > > .MyTab {> > background-color:#0033FF;> > tabStyleName: blueTab;> > }> > .blueTab {> > fill-colors: #0033FF,#0033FF;> > }> > > > .myTabStyle {> > fill-colors: #ff, #ff;> > tabStyleName: redTab;> > } > > .redTab {> > fill-colors: #FF,#FF;> > }> > > > > > > > > > > styleName="MyTabNavigator">> > > > > > > > > height="50%" styleName="MyTab">> > > > > > > > > > > > > > > > > > _ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> Behalf Of shemeshkale> Sent: Wednesday, June 07, 2006 10:44 AM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] Re: two tabnavigators with different tab colors?> > > > i m trying to change the colors of the Tabs themselves.> not the TabNavigator background.> it works? really? weird?> plz try again with this code then dont work for me - flex 1.5> u should get 2 TabNavigators with white backgrounds> the top should have red Tabs and the bottom Blue Tabs.> if its not working replace ".myTabStyle1" with "Tab" to see desired> effect.> > > > width="100%" height="100%">> > .MyTabNavigator {> background-color:#ff;> tabStyleName: myTabStyle1;> }> > .MyTab {> background-color:#ff;> tabStyleName: myTabStyle2;> }> > .myTabStyle1 {> fill-colors: #ff, #ff;> } > > .myTabStyle2 {> fill-colors: #ff, #ff;> } > > > > > > > > > > > > > > > > > > > > --- In [EMAIL PROTECTED]  ups.com,> "Jim Robson" jim.robson@ wrote:> >> > Your code works fine for me. I get one red TabNavigator and one blue> > TabNavigator. I am using Flex 2.0 - I don't know if something changed> > relative to TabNavigator styles since 1.5. > > > > > > > > _ > > > > From: [EMAIL PROTECTED]  ups.com> [mailto:[EMAIL PROTECTED]  ups.com]> On> > Behalf Of shemeshkale> > Sent: Wednesday, June 07, 2006 9:59 AM> > To: [EMAIL PROTECTED]  ups.com> > Subject: [flexcoders] Re: two tabnavigators with different tab colors?> > > > > > > > oops..> > here is the code again: NOT WORKING.> > > > > > > > width="100%" height="100%">> > > > .MyTabNavigator {> > background-color:#FF;> > tabStyleName: myTabStyle;> > }> > > > .MyTab {> > background-color:#0033FF;> > }> > > > .myTabStyle {> > fill-colors: #ff, #ff;> > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- In [EMAIL PROTECTED] > ups.com,> > "Jim Robson"  wrote:> > >> > > I think you have an extra dot in your CSS style definitions. There> > should be> > > only one dot before each style name, as follows:> > > > > > > > > > > > .MyTabNavigator {> > > background-color:#FF;> > > tabStyleName: myTabStyle;> > > }> > > > > > > > > > > > _ > > > > > > From: [EMAIL PROTECTED] > ups.com> > [mailto:[EMAIL PROTECTED] > ups.com]> > On> > > Behalf Of shemeshkale> > > Sent: Wednesday, June 07, 2006 9:22 AM> > > To: [EMAIL PROTECTED]  ups.com> > > Subject: [flexcoders] Re: two tabnavigators with different tab colors?> > > > > > > > > > > > i thought of something like this but its not working!> > > here is my code: what m i doing wrong?> > > > > > > > > > > > width="100%" height="100%">> > > > > > ..MyTabNavigator {> > > background-color:#FF;> > > tabStyleName: myTabStyle;> > > }> > > > > > ..MyTab {> > > background-color:#0033FF;> > > }> > > > > > ..myTabStyle {> > > fill-colors: #ff, #ff;> > > } > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- In [EMAIL PROTECTED] > > ups.com,> > > "Jim Robson"  wrote:> > > >> > > > I think you may be looking for tabStyleName:> > > > > > > > > > > > > > > > TabNavigator {> > > > > > > > fillColors: #FF, #CC;> > > > > > > > tabStyleName: myTabStyle;> > > > > > > > }> > > > > > > > .myTabStyle {> > > > > > > > fillColors: #FF, #CC;> > > > > > > > }> > > > > > > > > > > > > > > > _ > > > > > > > > From: [EMAIL PROTECTED] > > ups.com> > > [mailto:[EMAIL 

[flexcoders] Re: Alternative to firstChild, lastChild and nextSibling

2006-06-07 Thread Charles
Great.  Got it!  Thanks for the help everyone!



--- In flexcoders@yahoogroups.com, "Peter Hall" <[EMAIL PROTECTED]> 
wrote:
>
> XMLDocument is the old XML object, which has firstChild, 
nextSibling etc.
> Use XML to use e4x.
> 
> public var xml_object:XML = new XML();
> 
> Peter
> 
> 
> On 6/7/06, Charles <[EMAIL PROTECTED]> wrote:
> >
> > Hi guys,
> >
> > Thanks for the replies.  But I should mention that I've tried 
that
> > before.  I get no output...blank.  I actually used that before 
when my data
> > provider was an ArrayCollection, or an HTTPService.  But now 
that it's an
> > XMLDocument, for some reason, it doesn't work, and the only 
thing that does
> > is by using firstChild and lastChild.  Just in case I am doing 
something
> > totally wrong here, I'll try and be a little more specific.  
Here is a
> > simpler version of what I am trying to do (if you are so 
inclined, you can
> > grab the actual .mxml file 
here
> > in case you wanted to see a little clearer)...
> >
> >
> >
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="vertical">
> >  
> >   
> >  
> >
> > 
> >
> >
> >  
> > 
> >
> >
> >
> > Thanks for the help!
> >
> >
> >
> > Charles
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "Tracy Spratt"  
wrote:
> > >
> > > Compare it to the Microsoft XML DOM, which has dozens of 
classes.
> > > "XML", huh, one class? How can that be?
> > >
> > > Tracy
> > >
> > >
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> > > Behalf Of Michael Schmalle
> > > Sent: Tuesday, June 06, 2006 6:40 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: Re: [flexcoders] Alternative to firstChild, lastChild 
and
> > > nextSibling
> > >
> > >
> > >
> > > You got that right! E4x can do some crazy things. Sometimes I 
wonder if
> > > I am kidding myself at how easy it is to use :)
> > >
> > > Peace, Mike
> > >
> > > On 6/6/06, Tracy Spratt tspratt@ wrote:
> > >
> > > Yep. And the subtext to my style of response is "If you are 
not using
> > > 2.0 yet, here is one very good reason to make the move."
> > >
> > > Tracy
> > >
> > >
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> > > Behalf Of Michael Schmalle
> > > Sent: Tuesday, June 06, 2006 6:23 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: Re: [flexcoders] Alternative to firstChild, lastChild 
and
> > > nextSibling
> > >
> > >
> > >
> > > Tracy
> > >
> > > :-( That is what I was getting to :) I guess being direct 
works ... HA
> > >
> > > Peace, Mike
> > >
> > > On 6/6/06, Tracy Spratt < tspratt@
> >
> > >  wrote:
> > >
> > > E4x:
> > >
> > > xml_object.PaymentMethods; //PayPal
> > >
> > > xml_object.SiteHostedPicture.GalleryType; //http://.
> > >
> > >
> > >
> > > Tracy
> > >
> > >
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> > > Behalf Of Charles
> > > Sent: Tuesday, June 06, 2006 5:52 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Alternative to firstChild, lastChild and
> > > nextSibling
> > >
> > >
> > >
> > > Hi everyone,
> > >
> > >
> > >
> > > I am trying to parse some XML for relevant info using 
firstChild,
> > > lastChild, and nextSibling. For instance, given an XML file 
like...
> > >
> > >
> > >
> > > 
> > > 11579339
> > > US
> > > Halo 2 (Xbox)
> > > USD
> > > 
> > > http://somesite.com/somepicture.jpg
> > > 
> > > PayPal
> > > 
> > >
> > >
> > >
> > > ...when I try to get the ItemID, I just go
> > > xml_object.firstChild.firstChild. But, when I try and get 
things from
> > > the bottom, I would have to go something like
> > > 
xml_object.firstChild.firstChild.firstChild.firstChild.firstChild.fir
stC
> > > hild.firstChild (which would give me PaymentMethods...I 
think). I could
> > > use xml_object.lastChild.firstChild, but that's not the point. 
I would
> > > just like to know if there is an alternative to this sort of 
accessing
> > > of the XML fields?
> > >
> > >
> > >
> > > My main concern is that for some XML files, the structure is 
slightly
> > > different (i.e. the  tags are not there). So, the 
long
> > > call to access PaymentMethods for one XML file would not work 
on
> > > another. Rather, it would return SiteHostedPicture for those. 
Any help
> > > would be great.
> > >
> > >
> > >
> > > Thanks
> > >
> > >
> > >
> > > Charles
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > What goes up, does come down.
> > >
> > >
> > >
> > >
> > > --
> > > What goes up, does come down.
> > >
> >
> > 
> >
>






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mai

[flexcoders] f2b3: mx:State - resize events not firing properly - bug ?

2006-06-07 Thread bobpardoe1959
When creating a state that is larger than the original application and
then adding resize="resized()" on the application tag, the event is
only firing the first time the alternate state is set.

If I set currentState='expanded' - it fires, if I then set
currentState='', no event fires. 

I believe that it should and the base state should set the size back
to what is was, so that the event will fire correctly for the second
and susequent changes of state.

Any views ?

thanks

BOb






 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] how can I load text from a file

2006-06-07 Thread Antoine Malpel






Thanks all for anwsering

I should precise I use FLEX 1.5 .. can't theses objects ...

Tracy Spratt a écrit :

  
  
  
  Use
HTTPService or URLLoader().
   
  Tracy
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel
  Sent: Tuesday, June
06, 2006 12:22
PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders]
how can I
load text from a file
  
   
  
  
  
  Hi
  
I have a text containing a big big big html text that I need to put 
inside a mx:texarea in my app
I don't how to load the content of this file in order to set the value 
of htmltext ...
  
Any example ?
  
  
  

  
  




__._,_.___





--
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] resizable, maximize and minimize TileWindow

2006-06-07 Thread Jesús Iglesias
Title: Mensaje





Hi 
all, 
 
Have 
any of you made a TileWindow component with resize, maximize and minimize 
controls?
Can 
you give me any idea on how to do it?
 
Thanks.
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com
 
Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.
 
The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.
 
__._,_.___





--
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: Flex2B3 - preventDefault()

2006-06-07 Thread bhaq1972
i think i got a work around like this

private var asyncVal:Boolean=false;
function doValidate(event:DataGridEvent):void
{
  if(e.reason == DataGridEventReason.NEW_COLUMN && this.asyncVal)
  {
e.preventDefault();
this.asyncVal = false;
return;
  }

  this.asyncVal=true;
  // code continued
}


--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> Hi
> 
> I have a datagrid itemEditEnd event, where i am doing an 
> asynchronous validation.
> 
> To prevent losing focus from the itemEditorInstance during the 
> asynchronous validation, i call event.preventDefault().
> 
> If the asynchronous validation is succesfull i want to cancel the 
> event.preventDefault().
> 
> How do i do this? 
> (i tried a couple of things but failed)
> 
> Code
> -
> 
> 
> private var eventObj:DataGridEvent;
> 
> function doValidation(event:DataGridEvent):void
> {
>   var newData:String= TextInput(dg.itemEditorInstance).text;
> 
>   event.preventDefault();
> 
>   this.eventObj = event;  
> 
>   validateClass.getInstance().validate(newData); 
>   // return handler below
> }
> 
> function validationReturnHandler(boolean1:Boolean):void
> {
>   if(boolean1)
>   {
> if(this.eventObj.isDefaultPrevented())
> {
>// how do i reverse this.eventObj.preventDefault();
> }
>   }
>   else
>   {
> TextInput(dg.itemEditorInstance).errorString = "Failed";
>   }
> }
>







 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: [Beta3] I found error that is a sample class named MyCustomTreeDataDescripto

2006-06-07 Thread pepe_perez_perez_perez
I'm facing the same error:

TreeModelChangedEvent
TreeModelChangedEventDetail

don't exist anymore. Haven't find anything in the documentation, any
suggestion for this?.

Thanks,

Pepe.

--- In flexcoders@yahoogroups.com, "Bryan Choi" <[EMAIL PROTECTED]> wrote:
>
> MyCustomTreeDataDescriptor implements ITreeDataDescriptor, but it's
wrong.
> 
> ==
> 
> package
> {
> import mx.collections.ICollectionView;
> import mx.collections.IViewCursor;
> import mx.events.TreeModelChangedEvent;
> import mx.events.TreeModelChangedEventDetail;
> import mx.controls.treeClasses.*;
> 
> public class MyCustomTreeDataDescriptor implements ITreeDataDescriptor
> {
> 
> // The getChildren method requires the node to be an Object
> // with a children field.
> // If the field contains an ArrayCollection, it returns the field
> // Otherwise, it wraps the field in an ArrayCollection.
> public function getChildren(node:Object,
> model:Object=null):ICollectionView
> {
> try
> {
> if (node is Object)
> {
> 
> if(node.children is ArrayCollection){
> return node.children;
> }else{
> return new ArrayCollection(node.children);
> }
> }
> }
> catch (e:Error)
> {
> trace("[Descriptor] exception checking for getChildren");
> 
> }
> return null;
> }
> 
> // The isBranch method simply returns true if the node is an
> // Object with a children field.
> // It does not support empty branches, but does support null
children
> // fields.
> public function isBranch(node:Object, model:Object=null):Boolean
> {
> try
> {
> if (node is Object)
> {
> if (node.children != null)
> {
> return true;
> }
> }
> }
> catch (e:Error)
> {
> trace("[Descriptor] exception checking for isBranch");
> }
> return false;
> }
> 
> // The getData method simply returns the node as an Object.
> public function getData(node:Object, model:Object=null):Object
> {
> try
> {
> return Object(node);
> }
> catch (e:Error)
> {
> }
> return null;
> }
> 
> // The addChildAt method does the following:
> // If the node parameter is null or undefined, inserts
> // the child parameter as the first child of the model parameter.
> // If the node parameter is an Object and has a children field,
> // adds the child parameter to it at the index parameter location.
> // It does not add a child to a terminal node if it does not have
> // a children field.
> public function addChildAt(node:Object, child:Object, index:int,
model:Object=null):Boolean
> {
> var event:TreeModelChangedEvent = new
TreeModelChangedEvent("modelChanged", false, false,
TreeModelChangedEventDetail.ADD_NODE, child, node, index);
> 
> if (!node)
> {
> var iterator:IViewCursor = model.createCursor();
> iterator.seek(CursorBookmark.FIRST, index);
> iterator.insert(child);
> }
> else if (node is Object)
> {
> if (node.children != null)
> {
> if(node.children is ArrayCollection) {
> node.children.addItemAt(child, index);
> if (model){
> model.dispatchEvent(event);
> model.itemUpdated(node);
> }
> return true;
> }
> else {
> node.children.splice(index, 0, child);
> if (model)
> model.dispatchEvent(event);
> return true;
> }
> }
> }
> return false;
> }
> 
> }
> }
> The following example code uses the MyCustomTreeDataDescriptor to
handle hierarchal nested ArrayCollections and objects. When you click
the button it adds a node to the tree by calling the data descriptor's
addChildAt method.
> 
> 
> http://www.adobe.com/2006/mxml";
creationComplete="initCollections()">
> 
> 
> 
> 
> 
>  treeDataDescriptor="{new MyCustomTreeDataDescriptor()}"/>  
 < this is an error
> 
> 
> You can see that error message follow, if you
run above application.-> Severity Description Resource In Folder
Location Creation Time Id2 Cannot resolve attribute
'treeDataDescriptor' for component type mx.controls.Tree.
AppMyCustomTreeDataDescriptor.mxml ShinhanBank_Local line 76 2006³â
5¿ù 18ÀÏ (¸ñ) ¿ÀÈÄ 2:07:36 47I couldn't find the property of
treeDataDescriptor from the help.However, I found a property named
dataDescriptor for the component fo

[flexcoders] How to cancel children resize of an UIComponent?

2006-06-07 Thread Iuliu Burtoiu
Hi list,

Does anyone know a way to cancel the default behavior
of an UIComponent, so as it won't resize its children,
while resizing itself?

More exactly, I have a button, which I want it to keep
the same proportions relative to its parent, when I
resize that parent.

In the "old" Flash, this was done by simply putting a
Button in a MovieClip. Then, if the parent MovieClip
was resized to double, the button would double too.

In FLEX, I know...the simples way should be, defining
button's width and height using percents.

But what if I want the button's icon and label to be
rescaled also?
What if I have 20 buttons?

Thanks,
Iuliu


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


 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




Re: [flexcoders] USing the FileReference Class

2006-06-07 Thread Luís Gustavo Sanabio



I have the same problem.
I think that is impossible, because of the security reasons. 
2006/6/7, rama satoskar <[EMAIL PROTECTED]>:
Hi friends,I am using the FileReference class to select an image and show itdirectly at runtime. However I am not able to extract the complete
file path from the browse property of the FileReference class object.When i select a particular image file only its name gets extracted .And when i apply the name to the source property of the image or the
load function of the image object, it does not display the image.I dont know how to go abnout it!!Pleasehelp,Thanks in advance,Rama. Yahoo! Groups Sponsor ~-->
Home is just a click away. Make Yahoo! your home page now.http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM~->
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:   http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:   [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] F2B3: Custom event type not used/recognized in MXML

2006-06-07 Thread Jason Y. Kwong



I have a very simple MXML component with a custom event:-
http://www.adobe.com/2006/mxml" width="400" height="300">            [Event("jump", type="MyNewEvent")]
            package{    import flash.events.Event
;    public class MyNewEvent extends Event    {        public var data: String;                public function MyNewEvent(eventType: String, d: String)        {
            super(eventType);            data = "">        }                public override function clone(): Event        {            return new MyNewEvent(type, data);        }    }
}---And I try to use it in an application like this:
http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute">                    
 When compiling, I get the error "Implicit coercion of a value with static type flash.events:Event to a possibly unrelated type MyNewEvent".  According to the docs, I should be able to declare "onJump" using the type "MyNewEvent".  If I change the type to "Event", it compiles ok.  At runtime, I can actually cast it to MyNewEvent and it works fine, so the right type is being passed.  It just looks like the code generator is not using the right type when creating the listener.


__._,_.___





--
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] F2B3: Error when passing single object to CF function

2006-06-07 Thread Jason Y. Kwong



I'm not sure if this is an entirely Flex problem, but I don't recall seeing this when using Flash Remoting.  The problem arises when trying to do a RemoteObject call to a CF function that has one required argument that's a struct. eg:
   I try to pass an Object for arg1 and I get the error "The parameter ARG1 to function CallMe is required but was not passed in".  If I change the signature of CallMe so that it accepts a second dummy argument (of any type) and I pass a second dummy value, the call works fine.  The call also works fine if the type of arg1 is changed to string.  The problem arises only when there's a single required struct argument.  The workaround is to simply use a dummy argument, but this should be fixed.


__._,_.___





--
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: two tabnavigators with different tab colors?

2006-06-07 Thread shemeshkale
i m trying to change the colors of the Tabs themselves.
not the TabNavigator background.
it works? really? weird?
plz try again with this code then dont work for me - flex 1.5
u should get 2 TabNavigators with white backgrounds
the top should have red Tabs and the bottom Blue Tabs.
if its not working replace ".myTabStyle1" with "Tab" to see desired
effect.



http://www.macromedia.com/2003/mxml";
width="100%" height="100%">

.MyTabNavigator {
background-color:#ff;
tabStyleName: myTabStyle1;
}

.MyTab {
background-color:#ff;
tabStyleName: myTabStyle2;
}


.myTabStyle1 {
fill-colors: #ff, #ff;
} 

.myTabStyle2 {
fill-colors: #ff, #ff;
}   




















--- In flexcoders@yahoogroups.com, "Jim Robson" <[EMAIL PROTECTED]> wrote:
>
> Your code works fine for me. I get one red TabNavigator and one blue
> TabNavigator. I am using Flex 2.0 - I don't know if something changed
> relative to TabNavigator styles since 1.5. 
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of shemeshkale
> Sent: Wednesday, June 07, 2006 9:59 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: two tabnavigators with different tab colors?
> 
>  
> 
> oops..
> here is the code again: NOT WORKING.
> 
> 
> http://www.macromed
>  ia.com/2003/mxml"
> width="100%" height="100%">
> 
> .MyTabNavigator {
> background-color:#FF;
> tabStyleName: myTabStyle;
> }
> 
> .MyTab {
> background-color:#0033FF;
> }
> 
> .myTabStyle {
> fill-colors: #ff, #ff;
> } 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- In [EMAIL PROTECTED] 
ups.com,
> "Jim Robson"  wrote:
> >
> > I think you have an extra dot in your CSS style definitions. There
> should be
> > only one dot before each style name, as follows:
> > 
> > 
> > 
> > .MyTabNavigator {
> > background-color:#FF;
> > tabStyleName: myTabStyle;
> > }
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED] 
ups.com
> [mailto:[EMAIL PROTECTED] 
ups.com]
> On
> > Behalf Of shemeshkale
> > Sent: Wednesday, June 07, 2006 9:22 AM
> > To: [EMAIL PROTECTED]  ups.com
> > Subject: [flexcoders] Re: two tabnavigators with different tab colors?
> > 
> > 
> > 
> > i thought of something like this but its not working!
> > here is my code: what m i doing wrong?
> > 
> > 
> > http://www.macromed
> > 
> ia.com/2003/mxml> ia.com/2003/mxml"
> > width="100%" height="100%">
> > 
> > ..MyTabNavigator {
> > background-color:#FF;
> > tabStyleName: myTabStyle;
> > }
> > 
> > ..MyTab {
> > background-color:#0033FF;
> > }
> > 
> > ..myTabStyle {
> > fill-colors: #ff, #ff;
> > } 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --- In [EMAIL PROTECTED] 
> ups.com,
> > "Jim Robson"  wrote:
> > >
> > > I think you may be looking for tabStyleName:
> > > 
> > > 
> > > 
> > > TabNavigator {
> > > 
> > > fillColors: #FF, #CC;
> > > 
> > > tabStyleName: myTabStyle;
> > > 
> > > }
> > > 
> > > .myTabStyle {
> > > 
> > > fillColors: #FF, #CC;
> > > 
> > > }
> > > 
> > > 
> > > 
> > > _ 
> > > 
> > > From: [EMAIL PROTECTED] 
> ups.com
> > [mailto:[EMAIL PROTECTED] 
> ups.com]
> > On
> > > Behalf Of shemeshkale
> > > Sent: Wednesday, June 07, 2006 8:12 AM
> > > To: [EMAIL PROTECTED] 
ups.com
> > > Subject: [flexcoders] two tabnavigators with different tab colors?
> > > 
> > > 
> > > 
> > > hi,
> > > i have two TabNavigators in flex 1.5
> > > i want to give each of them different tab colors.
> > > fillColors is not working on a TabNavigator but only on Tab in the
> > > style declartion.
> > > so how do i give each navigator different tab colors?
> > >
> >
>






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] USing the FileReference Class

2006-06-07 Thread rama satoskar
Hi friends,
I am using the FileReference class to select an image and show it
directly at runtime. However I am not able to extract the complete
file path from the browse property of the FileReference class object.
When i select a particular image file only its name gets extracted .
And when i apply the name to the source property of the image or the
load function of the image object, it does not display the image. 
I dont know how to go abnout it!!
Please
help,
Thanks in advance,
Rama.





 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: Flex 1.5 and AMF and php

2006-06-07 Thread Renaun Erickson
To deploy Flex 1.5 SWF's you will have to buy a server license that is
quite expensive (~$15k per cpu).  Flex 2 has a couple options, free
SDK (do compiling your self) or FlexBuilder 2 IDE <$1000 (optional
Charting and Flex Data Services cost more also).

To connect to AMFPHP with Flex 1.5 you would use the RemoteObject
component.  Either setting up the endpoint to the gateway (ie:
http://localhost/amfphp/gateway.php ) in the flex-config.mxml or the
endpoint attribute of the RemoteObject.

Renaun

--- In flexcoders@yahoogroups.com, "duncanmcm" <[EMAIL PROTECTED]>
wrote:
>
> Hi
> 
> I'm new to flex and flexcoders, I have a problem that I am trying to
> use Flex 1.5 to communicate with my AMFphp installation and I cannot
> get it to work. All of the samples I have seen on the web are Flex2
> related.
> 
> Could someone provide me with a working Flex1.5 adaption communicating
> with AMFphp as I know my Amfphp install works, as what I am trying to
> dis not recognising any of the "imports" in the Flex2 examples.
> 
> Or am I being Dumb??
> 
> Also could someone clarify whether moving to Flex 2 would be
> beneficial? I believe I could use the beta release but then would have
> a heavty bill for the official release.
> 
> Thanks in advance
> 
> Duncan
>







 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

2006-06-07 Thread Peter Farland





If you're using Producers and Consumers to contact 
the messaging service then you'll need to ensure the channel can broadcast 
messages to clients - i.e. the client would need to either be statefully 
connected with a real time channel such as RTMPChannel or a polling channel such 
as the AMFChannel with polling-enabled set to true.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
HouseSent: Wednesday, June 07, 2006 10:11 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex/CF Tutorial 
PDF Posted on Adobe Site, having problem, getting errors.


Have you checked on the WEB-INF\flex\flex-enterprise-services.xml 
file?Specifically, look at --- I had to change use-mappings to true 
and make sure all my methods are remote access or change this to 
public  true 
remoteSecondly,--- 
Here is my channels section, I think the {server.name}:{server.port}{context.root } helps 
pick up non-standard ports and context 
roots 
server.name}:{server.port}{context.root}/flex2gateway/" 
class="flex.messaging.endpoints.AMFEndpoint"/>false 
falseHope 
this helps,Steve House
On 6/7/06, Bjorn 
Schultheiss <[EMAIL PROTECTED]> 
wrote:

  
  
  
  
  
  I can't get this CFMail example to work.The destination totally fails 
  for me.Where should the destination that I use for Producer and 
  Consumer bedefined?I have it 
  in,C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-message-service.xmlMy App 
  is running on,http://localhost:8700/flex/waitlist/
  Regards,Bjorn SchultheissSenior Flash 
  DeveloperQDC TechnologiesFrom: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On
  Behalf Of Bjorn SchultheissSent: Wednesday, 7 June 2006 10:50 
  PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
  Flex/CF Tutorial PDF Posted on Adobe Site, having
  problem, getting 
  errors.I feel you Malik,Good chance it has to do with the 
  Destination in your RemoteObject.I skipped that example though, but I 
  will take a look at it soon.In the same doc I'm getting problems with 
  the use Event Gateway MailExample.Compiler is throwing a few 
  errorsExample hadI had to change it to To get it to 
  compileAlso the producer propertiespublic var 
  pro:mx.messaging.Producer;public function initApp() {pro = new 
  mx.messaging.Producer();pro.destination = "gateway1"; //Error, Blows up 
  when I hit 'Send',Obviously Gateway1 doesn't existpro.resendAttempts = 
  5; //Error, Access of possibly undefined propertyresendAttempts through a 
  reference with static type mx.messaging:Producerpro.resendInterval = 5000; 
  //Error, Access of possibly undefined propertyresendInterval through a 
  reference with static type mx.messaging:ProducerA weird one 
  considering the docs say both are valid propertiesI had to comment both 
  lines out for it to compileA False importimport 
  mx.messaging.Message;Regards,Bjorn SchultheissSenior 
  Flash DeveloperQDC TechnologiesFrom: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] OnBehalf Of malik_robinsonSent: 
  Wednesday, 7 June 2006 6:20 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex/CF 
  Tutorial PDF Posted on Adobe Site, havingproblem, getting 
  errors.Hi,I am trying to use this example to get Flex 2.0 Beta 3, 
  Mystic, and CF 7.02to work together but having some problems. If 
  someone has a few moments to help that would begreat, there is not much 
  code to struggle through and this example is postedon the Macromedia/Adobe 
  Site.I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3, 
  FDS, with CF Extensions.The code I am trying is here:http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503 
  .pdf. This is posted on the Macromedia site. Has anyone gotten 
  this to work?I am trying to follow the code in "section 1" of this 
  PDF.It specifically states: "To specify a CFC to connect to, you do one 
  of the following:" This seems to mean I can use a "Named Resource" OR 
  specify the full path to the cfc in the source attribute which is what 
  I am trying to do. I know the Flex can see my CFC and that this is not 
  a path issue or a case where it can't find the CFC because I accidentally 
  declared two methods with the same name, compiled the Flex App and ran it, 
  and it told me that I can't declare two methods with the same name 
  obviously.The error I am getting when clicking "Get Secure Data" 
  is:[RPC Fault faultString="Didn't receive an acknowledge message" 
  faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting 
  mx.messaging.messages.AcknowledgeMessage, but received null"]at 
  mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()at 
  mx.rpc::Responder/fault()at mx.rpc::AsyncRequest/fault()at 
  ::NetConnectionMessageResponder/NetConnectionChannel.as$42:NetConnectionMessageResponder::resultHandler()at 
  mx.messaging::MessageResponder/result()The MXML File:http://www.adobe.com/2006/mxml" xmlns="*" 
  layout="absolut

RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

2006-06-07 Thread Peter Farland
Title: RE: [flexcoders] Flex/CF Tutorial  PDF Posted on Adobe Site, having problem, getting errors.








Bjorn,


As is true for any service, destinations must be declared as children of the  element. Also, if you don't have default channels defined for the service, you'll have to define at least one channel for the destination.



  

       


   

    


    

     ref="my-rtmp"/>

     ref="my-polling-amf"/>

    

    




Since the messaging service uses a publish-subscribe model for Producers and Consumers, you'll need to use a channel that can support real-time updates (or can poll for updates), such as an instance of RTMPChannel or AMFChannel with polling enabled.

_ 

From:   flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]  On Behalf Of Bjorn Schultheiss

Sent:   Wednesday, June 07, 2006 9:07 AM

To: flexcoders@yahoogroups.com

Subject:    RE: [flexcoders] Flex/CF Tutorial  PDF Posted on Adobe Site, having problem, getting errors.


I can’t get this CFMail example to work.

The destination totally fails for me.


Where should the destination that I use for Producer and Consumer be defined?


I have it in,
C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-message-service.xml



  

      

    


My App is running on,
http://localhost:8700/flex/waitlist/



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss
Sent: Wednesday, 7 June 2006 10:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.


I feel you Malik,

 

Good chance it has to do with the Destination in your RemoteObject.

 

I skipped that example though, but I will take a look at it soon.

 

In the same doc I’m getting problems with the use Event Gateway Mail Example.

 

Compiler is throwing a few errors

 

Example had



I had to change it to 



To get it to compile

 

Also the producer properties

public var pro:mx.messaging.Producer;

    

public function initApp() {

  pro = new mx.messaging.Producer();

  pro.destination = "gateway1"; //Error, Blows up when I hit ‘Send’, Obviously Gateway1 doesn’t exist

  pro.resendAttempts = 5; //Error, Access of possibly undefined property resendAttempts through a reference with static type mx.messaging:Producer

  pro.resendInterval = 5000; //Error, Access of possibly undefined property resendInterval through a reference with static type mx.messaging:Producer

 

A weird one considering the docs say both are valid properties

I had to comment both lines out for it to compile

 

A False import

import mx.messaging.Message;

 

 

Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of malik_robinson
Sent: Wednesday, 7 June 2006 6:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

 

Hi,

I am trying to use this example to get Flex 2.0 Beta 3, Mystic, and CF 7.02  to work together
but
having some problems.  If someone has a few moments to help that would be great, there is not much code to struggle through and this example is posted on the Macromedia/Adobe Site.

I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3,
FDS,
with CF Extensions.

The code I am trying is here:

http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503
.p
df.  This is posted on the Macromedia site.  Has anyone gotten this
to
work?

I am trying to follow the code in "section 1" of this PDF.

It specifically states:  "To specify a CFC to connect to, you do one
of
the following:"  This seems to mean I can use a "Named Resource" OR
specify the full path to the cfc in the source attribute which is
what
I am trying to do.  

I know the Flex can see my CFC and that this is not a path issue or a
case where it can't find the CFC because I accidentally declared two
methods with the same name, compiled the Flex App and ran it, and it
told me that I can't declare two methods with the same name obviously.

The error I am getting when clicking "Get Secure Data" is:

[RPC Fault faultString="Didn't receive an acknowledge message"
faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting
mx.messaging.messages.AcknowledgeMessage, but received null"]
 at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ul
tHandler()
 at mx.rpc::Responder/fault()
 at mx.rpc::AsyncRequest/fault()
 at ::NetConnectionMessageResponder/NetConnectionChannel.as$42:
Ne
tConnectionMessageResponder::resultHandler()
 at mx.messaging::MessageResponder/result()
 
The MXML File:


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

 
  
 
 
 
source="myapp.com.menu">
  
 

Re: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

2006-06-07 Thread Steve House



Have you checked on the WEB-INF\flex\flex-enterprise-services.xml file?Specifically, look at --- I had to change use-mappings to true and make sure all my methods are remote access or change this to public
 true
remoteSecondly,--- Here is my channels section, I think the {server.name}:{server.port}{context.root
} helps pick up non-standard ports and context roots
server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>false
falseHope this helps,Steve House
On 6/7/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote:









  



I can't get this CFMail example to work.
The destination totally fails for me.

Where should the destination that I use for Producer and Consumer be
defined?

I have it in,
C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-message-service.xml

  

  


My App is running on,
http://localhost:8700/flex/waitlist/

Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Bjorn Schultheiss
Sent: Wednesday, 7 June 2006 10:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having
problem, getting errors.

I feel you Malik,
 
Good chance it has to do with the Destination in your RemoteObject.
 
I skipped that example though, but I will take a look at it soon.
 
In the same doc I'm getting problems with the use Event Gateway Mail
Example.
 
Compiler is throwing a few errors
 
Example had

I had to change it to 

To get it to compile
 
Also the producer properties
public var pro:mx.messaging.Producer;

public function initApp() {
  pro = new mx.messaging.Producer();
  pro.destination = "gateway1"; //Error, Blows up when I hit 'Send',
Obviously Gateway1 doesn't exist
  pro.resendAttempts = 5; //Error, Access of possibly undefined property
resendAttempts through a reference with static type mx.messaging:Producer
  pro.resendInterval = 5000; //Error, Access of possibly undefined property
resendInterval through a reference with static type mx.messaging:Producer
 
A weird one considering the docs say both are valid properties
I had to comment both lines out for it to compile
 
A False import
import mx.messaging.Message;
 
 
Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of malik_robinson
Sent: Wednesday, 7 June 2006 6:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having
problem, getting errors.
 
Hi,
I am trying to use this example to get Flex 2.0 Beta 3, Mystic, and CF 7.02
to work together 
but 
having some problems.  If someone has a few moments to help that would be
great, there is not much code to struggle through and this example is posted
on the Macromedia/Adobe Site.
I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3, 
FDS, 
with CF Extensions.
The code I am trying is here:
http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503

.p
df.  This is posted on the Macromedia site.  Has anyone gotten this 
to 
work?
I am trying to follow the code in "section 1" of this PDF.
It specifically states:  "To specify a CFC to connect to, you do one 
of 
the following:"  This seems to mean I can use a "Named Resource" OR 
specify the full path to the cfc in the source attribute which is 
what 
I am trying to do.  
I know the Flex can see my CFC and that this is not a path issue or a 
case where it can't find the CFC because I accidentally declared two 
methods with the same name, compiled the Flex App and ran it, and it 
told me that I can't declare two methods with the same name obviously.
The error I am getting when clicking "Get Secure Data" is:
[RPC Fault faultString="Didn't receive an acknowledge message" 
faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting 
mx.messaging.messages.AcknowledgeMessage, but received null"]
 at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ul
tHandler()
 at mx.rpc::Responder/fault()
 at mx.rpc::AsyncRequest/fault()
 at ::NetConnectionMessageResponder/NetConnectionChannel.as$42:
Ne
tConnectionMessageResponder::resultHandler()
 at mx.messaging::MessageResponder/result()
 
The MXML File:

http://www.adobe.com/2006/mxml" xmlns="*" 
layout="absolute">
 
  
 
 
 
source="myapp.com.menu">
  
  
 
 
 
  
   
  
  
   
  
  
   
   
  
  
 


This seems to be a basic app.  It only has 3 files.  The mxml file, the cfc
and the application.cfm file. 
Can anyone try this or shed some light.  The app loads fine no errors.  I
click "Login" It sets some cookie no errors at all.  I click "Logout" and it
errors with : ArgumentError: Error #2004: One of the parameters is invalid.
I click "Get Secure Data" and I get the big error message I displayed above.
Any help appreciated.
T

[flexcoders] Problem with Tree Control and custom ITreeDataDescriptor

2006-06-07 Thread Steve House
Help, I have created a custom ITreeDataDescriptor using a class named
"subject".  Here is the  beginning of the class definition...

public dynamic class subject implements ITreeDataDescriptor
{

public var iSubjectId:Number = 0;
public var iQueueId:Number = 0;
public var iParentSubjectId:Number = 0;
public var sSubject:String = "";
public var iCreatedById:Number = 0;
public var dtCreated:Date = null;
public var iDeletedById:Number = 0;
public var dtDeleted:Date = null;
public var children:subject[];
...


All of my subjects appear in the tree in the appropriate hierarchy,
but the problem is that all of the items show up as branches including
the end points.  I have tried implementing a custom public function
isBranch(node:Object, model:Object=null):Boolean, and even making it
always return false, but it never change the problem.

Can anyone tell me what I need to do?

Thanks in advance,

Steve House


 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




RE: [flexcoders] Re: System.showSettings(3);

2006-06-07 Thread Andrew Trice










Great!

Thanks for the info.  I’ll
definitely bookmark the migration docs.

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Lowder
Sent: Tuesday, June 06, 2006 7:28
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
System.showSettings(3);



 







Hi Andy,

Looks
like that's now
flash.system.Security.showSettings(flash.system.SecurityPanel.CAMERA)

It's in
the migration docs.  Pretty handy to have:
http://livedocs.macromedia.com/labs/1/flex20beta3/langref/migration.html


--- In flexcoders@yahoogroups.com,
"Andrew Trice" <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> 
> 
> 
> Quick question... I am using a webcam to capture still images from the
> live video stream. This all works without any problems. If there is no
> camera detected, I want to show the system camera settings where it
> says: "There is no camera found on your system.". 
> 
> 
> 
> You can do this in Flash 8/Flex 1.5 by using: System.showSettings(3);
> 
> 
> 
> The F2B3 compiler doesn't like this & spits out compilation errors:
> 
> "Access of undefined property System"
> 
> 
> 
> I haven't found this documented anywhere. Does anyone know of a way to
> do this?
> 
> 
> 
> The flash.system.System class does not have a showSettings method.
> 
> 
> 
> Thanks,
> 
> Andy
> 
> 
> 
> _
> 
> Andrew Trice
> 
> Cynergy Systems, Inc.
> 
> http://www.cynergysystems.com
> 
> 
> 
> Email: [EMAIL PROTECTED]
> 
> Office: 866-CYNERGY
>






__._,_.___





--
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: two tabnavigators with different tab colors?

2006-06-07 Thread Jim Robson










Your code works fine for me. I get one red
TabNavigator and one blue TabNavigator. I am using Flex 2.0 – I don’t
know if something changed relative to TabNavigator styles since 1.5. 

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of shemeshkale
Sent: Wednesday, June 07, 2006
9:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: two
tabnavigators with different tab colors?



 







oops..
here is the code again: NOT WORKING.

8"?>
http://www.macromedia.com/2003/mxml"
width="100%" height="100%">

.MyTabNavigator {
background-color:#FF;
tabStyleName: myTabStyle;
}

.MyTab {
background-color:#0033FF;
}

.myTabStyle {
fill-colors: #ff, #ff;
} 








>






--- In [EMAIL PROTECTED]ups.com,
"Jim Robson" ...> wrote:
>
> I think you have an extra dot in your CSS style definitions. There
should be
> only one dot before each style name, as follows:
> 
> 
> 
> .MyTabNavigator {
> background-color:#FF;
> tabStyleName: myTabStyle;
> }
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of shemeshkale
> Sent: Wednesday, June 07, 2006 9:22 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: two tabnavigators with different tab colors?
> 
> 
> 
> i thought of something like this but its not working!
> here is my code: what m i doing wrong?
> 
> 8"?>
> http://www.macromed
> 
ia.com/2003/mxml"
> width="100%" height="100%">
> 
> ..MyTabNavigator {
> background-color:#FF;
> tabStyleName: myTabStyle;
> }
> 
> ..MyTab {
> background-color:#0033FF;
> }
> 
> ..myTabStyle {
> fill-colors: #ff, #ff;
> } 
> 
> 
> 
> 
> 
> 
> 
> 
> >
> 
> 
> 
> 
> 
> 
> --- In [EMAIL PROTECTED] 40yahoogroups.com>
ups.com,
> "Jim Robson" > wrote:
> >
> > I think you may be looking for tabStyleName:
> > 
> > 
> > 
> > TabNavigator {
> > 
> > fillColors: #FF, #CC;
> > 
> > tabStyleName: myTabStyle;
> > 
> > }
> > 
> > .myTabStyle {
> > 
> > fillColors: #FF, #CC;
> > 
> > }
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED] 40yahoogroups.com>
ups.com
> [mailto:flexcoders@yahoogro 40yahoogroups.com>
ups.com]
> On
> > Behalf Of shemeshkale
> > Sent: Wednesday, June 07, 2006 8:12 AM
> > To: [EMAIL PROTECTED] 40yahoogroups.com>
ups.com
> > Subject: [flexcoders] two tabnavigators with different tab colors?
> > 
> > 
> > 
> > hi,
> > i have two TabNavigators in flex 1.5
> > i want to give each of them different tab colors.
> > fillColors is not working on a TabNavigator but only on Tab in the
> > style declartion.
> > so how do i give each navigator different tab colors?
> >
>






__._,_.___





--
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 help in making usrname/pswd Database

2006-06-07 Thread raju_bb
i know Java and ASP lil..how shud i go..plz help






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Flex2B3 - preventDefault()

2006-06-07 Thread bhaq1972
Hi

I have a datagrid itemEditEnd event, where i am doing an 
asynchronous validation.

To prevent losing focus from the itemEditorInstance during the 
asynchronous validation, i call event.preventDefault().

If the asynchronous validation is succesfull i want to cancel the 
event.preventDefault().

How do i do this? 
(i tried a couple of things but failed)

Code
-


private var eventObj:DataGridEvent;

function doValidation(event:DataGridEvent):void
{
  var newData:String= TextInput(dg.itemEditorInstance).text;

  event.preventDefault();

  this.eventObj = event;  

  validateClass.getInstance().validate(newData); 
  // return handler below
}

function validationReturnHandler(boolean1:Boolean):void
{
  if(boolean1)
  {
if(this.eventObj.isDefaultPrevented())
{
   // how do i reverse this.eventObj.preventDefault();
}
  }
  else
  {
TextInput(dg.itemEditorInstance).errorString = "Failed";
  }
}






 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: two tabnavigators with different tab colors?

2006-06-07 Thread shemeshkale
oops..
here is the code again: NOT WORKING.


http://www.macromedia.com/2003/mxml";
width="100%" height="100%">

.MyTabNavigator {
background-color:#FF;
tabStyleName: myTabStyle;
}

.MyTab {
background-color:#0033FF;
}


.myTabStyle {
fill-colors: #ff, #ff;
}   
















--- In flexcoders@yahoogroups.com, "Jim Robson" <[EMAIL PROTECTED]> wrote:
>
> I think you have an extra dot in your CSS style definitions. There
should be
> only one dot before each style name, as follows:
> 
>  
> 
> .MyTabNavigator {
> background-color:#FF;
> tabStyleName: myTabStyle;
> }
> 
> 
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of shemeshkale
> Sent: Wednesday, June 07, 2006 9:22 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: two tabnavigators with different tab colors?
> 
>  
> 
> i thought of something like this but its not working!
> here is my code: what m i doing wrong?
> 
> 
> http://www.macromed
>  ia.com/2003/mxml"
> width="100%" height="100%">
> 
> ..MyTabNavigator {
> background-color:#FF;
> tabStyleName: myTabStyle;
> }
> 
> ..MyTab {
> background-color:#0033FF;
> }
> 
> ..myTabStyle {
> fill-colors: #ff, #ff;
> } 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- In [EMAIL PROTECTED] 
ups.com,
> "Jim Robson"  wrote:
> >
> > I think you may be looking for tabStyleName:
> > 
> > 
> > 
> > TabNavigator {
> > 
> > fillColors: #FF, #CC;
> > 
> > tabStyleName: myTabStyle;
> > 
> > }
> > 
> > .myTabStyle {
> > 
> > fillColors: #FF, #CC;
> > 
> > }
> > 
> > 
> > 
> > _ 
> > 
> > From: [EMAIL PROTECTED] 
ups.com
> [mailto:[EMAIL PROTECTED] 
ups.com]
> On
> > Behalf Of shemeshkale
> > Sent: Wednesday, June 07, 2006 8:12 AM
> > To: [EMAIL PROTECTED]  ups.com
> > Subject: [flexcoders] two tabnavigators with different tab colors?
> > 
> > 
> > 
> > hi,
> > i have two TabNavigators in flex 1.5
> > i want to give each of them different tab colors.
> > fillColors is not working on a TabNavigator but only on Tab in the
> > style declartion.
> > so how do i give each navigator different tab colors?
> >
>






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Re: Cairngorm Sample Store

2006-06-07 Thread Steven Webster





Guys,
 
My apologies, but I thought I'd answered this before.  
As you all know from the engineers on the list, we're narrowing towards the 
final release of Flex, and the consulting team is consequently focussing our 
effort on shipping a version of Cairngorm and Cairngormstore that works for that 
release, rather than us focus on a beta build that we know is going to not be on 
your machines for too much longer.
 
We're just trying to prioritise the time we have to devote 
to this in the best means possible - and I'm sure you'll be happier knowing that 
what we deliver you works on the final build.
 
So, erm, Cairngorm Store in the first half of 2006 
;-)
 
Steven
 


  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0) 7917 428 947 [EMAIL PROTECTED] 
  
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tom 
  ChivertonSent: 07 June 2006 14:01To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm 
  Sample Store
  
  
  > Any further news ?http://www.richinternetapps.com/archives/000148.html 
  is the nearest I can get.Compiling with the latest cairgorm2 .swc seems to 
  work OK.-- Tom 
  ChivertonThis 
  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.CONFIDENTIALITYThis 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.We are pleased to announce that 
  Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth 
  Company Awards
__._,_.___





--
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] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial

2006-06-07 Thread Phil Marston






Hi Duncan,

The .as file does go at the same level as the .mxml file, but I don't
think it'll work with 1.5 because the class libraries are different -
RemotingConnection extends NetConnection and the whole structure of
remoting seems to be different in Flex 2.0

There's stuff on the AMFPHP site though about Flex 1.5 at the bottom of
this page http://www.amfphp.org/docs/otherplatforms.html - if you get a
404 error just keep trying the server seems to be a bit flakey.

HTH

Phil

Duncan McMillan wrote:

  Phil

So do you mean that you put this RemotingConnection.as file in the same
DIR as the mxml file? I'm using Flex 1.5 and this example is not working
for me and complaining about the same thing.

I've also tried to take the package declaration out (as I'm not sure if
Flex1.5 likes package declarations) and it still doesn;t work

Thanks again

Duncan


Phil Marston wrote On 06/02/06 12:01,:
  
  
OK - so looks like I dumb!

For those of you who also turn out to be dumb ;-p when Mike speaks about
you already having RemotingConnection.as at the root of your project you
actually need to save the follow package code as RemotingConnection.as
and then you WILL have it!  I've wasted a day and half on this!  jeesh

HTH someone else

Phil Marston wrote:



  I think I've traced it to not having the flash.net.* package installed 
(though Flex Builder isn't throwing a complaint about that it does say 
it doesn't know where it is) where can I get this package/library?

cheers,

Phil

Phil Marston wrote:
 

  
  
Hi,

I thought I'd seen this covered somewhere but cant find it.

I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found 
here 
http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP 
and Flex is throwing a wobbly about the line;
public var gateway : RemotingConnection;

with the error
Type was not found or was not a compile-time constant: 
RemotingConnection.  

Can anyone shed light on this or point me in the right direction?

Cheers,

Phil

 
   


  
   

  

-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495



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





  
  


 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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



  


-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495


__._,_.___





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

RE: [flexcoders] Re: two tabnavigators with different tab colors?

2006-06-07 Thread Jim Robson










I think you have an extra dot in your CSS
style definitions. There should be only one dot before each style name, as
follows:

 

.MyTabNavigator {
background-color:#FF;
tabStyleName: myTabStyle;
}











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale
Sent: Wednesday, June 07, 2006
9:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: two
tabnavigators with different tab colors?



 







i thought of something like this but its not working!
here is my code: what m i doing wrong?

8"?>
http://www.macromedia.com/2003/mxml"
width="100%" height="100%">

..MyTabNavigator {
background-color:#FF;
tabStyleName: myTabStyle;
}

..MyTab {
background-color:#0033FF;
}

..myTabStyle {
fill-colors: #ff, #ff;
} 








>






--- In [EMAIL PROTECTED]ups.com,
"Jim Robson" ...> wrote:
>
> I think you may be looking for tabStyleName:
> 
> 
> 
> TabNavigator {
> 
> fillColors: #FF, #CC;
> 
> tabStyleName: myTabStyle;
> 
> }
> 
> .myTabStyle {
> 
> fillColors: #FF, #CC;
> 
> }
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of shemeshkale
> Sent: Wednesday, June 07, 2006 8:12 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] two tabnavigators with different tab colors?
> 
> 
> 
> hi,
> i have two TabNavigators in flex 1.5
> i want to give each of them different tab colors.
> fillColors is not working on a TabNavigator but only on Tab in the
> style declartion.
> so how do i give each navigator different tab colors?
>






__._,_.___





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



  






__,_._,___






  1   2   >