Re: [flexcoders] Implementing Office 2007 menus

2008-02-15 Thread Fidel Viegas
On Feb 16, 2008 12:06 AM, Samuel Neff <[EMAIL PROTECTED]> wrote:

> I don't have info on how to help you with implementation, but just in case
> you were not aware, you need to license the UI from MS before implementing
> it yourself.  Licenses are free, but as part of the license you have to
> abide by their 120+ pages of guidelines on how to properly implement the UI.
>
> http://blogs.msdn.com/jensenh/archive/2006/11/21/licensing-the-2007-microsoft-office-user-interface.aspx

Hi Sam,

Thanks for letting me know about that. I wasn't aware of that.
I was reading the license and it seems ok.

Thanks once again,

Fidel.


[flexcoders] Finding objects in flex

2008-02-15 Thread aceoohay
I want to loop through all of the children of a flex object and find 
all children of a specific type.

I have code that works, but it looks really kludgy;

for each (var field:Object in object.getChildren())
{
  if (field.constructor.toString() == "[class ValidatedTextInput]")
  {
field.validateData();
if (bolAllValid ) bolAllValid = field.isValid;
  }
}

Like I said it works, but there has got to be something better than;

if (field.constructor.toString() == "[class ValidatedTextInput]")

All help is rewarded with an attaboy!

Actually it is greatly appreciated, but it is getting late.

Paul




[flexcoders] Re: textAlign attribute not accessible from TextInput extended class.

2008-02-15 Thread aceoohay
Jason:

That works great. Thanks for the info.

That still leaves one question, 

Is there a way of telling if the textAlign attribute is at its 
default (left) state or was it set in the mxml (or programmatically) 
to "left"?

What I am trying to do is override default behavior in my extended 
TextInput, but if someone actually specifies textAlign="left" I 
don't want to override that.

Paul

--- In flexcoders@yahoogroups.com, "jmfillman" <[EMAIL PROTECTED]> wrote:
>
> Paul,
> 
> I believe that the answer to your original question is that you 
need 
> to use setStyle().
> 
> For example:
> 
> 
> 
> private function textAlign():void{
>  myTextInput.setStyle("textAlign", "center");
> }
> 
> Jason
> --- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
> >
> > Well I found the answer, but I have another question or two.
> > 
> > The answer is this.nonInheritingStyles.textAlign.
> > 
> > One new question is how can I tell whether this value is the 
> default 
> > value, or a value set by the mxml?
> > 
> > If I change the value during run time, it doesn't seem to honor 
the 
> > new value. How can I go about making this happen?
> > 
> > Paul
> > 
> > --- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
> > >
> > > I am trying to extend the TextInput class and one thing I 
would 
> > like 
> > > to do is check the current value of the textAlign attribute, 
and 
> > > change it if needed.
> > > 
> > > I access the other attributes that I need using the syntax 
> > > this.attributeName such as this.maxChars, I cannot, however 
> access 
> > > this.textAlign. The compiler barfs with error 1119 Access of 
> > possibly 
> > > undefined property...
> > > 
> > > It also doesn't appear in the intellisense for the "this" 
keyword 
> > in 
> > > my extended class. It does appear in the intellisense for the 
> > >  tag.
> > > 
> > > Any ideas?
> > > 
> > > Paul
> > >
> >
>




[flexcoders] Re: Problem with focus in secondary popups

2008-02-15 Thread reflexactions
We had similar issues, 
The only thing that we found that could be garaunteed to work was:

Set up a CreationComplete listener and then in the handler use 
callLater() to invoke a focusManager.setFocus() call for a specific 
control.

For good measure we also found it best to call showFocus after 
setFocus as well.

Anything else breaks under one circumstance or another..


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Try adding one or two callLater's to delay the creation of the third
> popup, then have that third popup setFocus to something within.  If 
that
> doesn't work you may have to make systemManager.activate calls 
directly
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitri Girski
> Sent: Friday, February 15, 2008 4:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Problem with focus in secondary popups
> 
>  
> 
> Hi all,
> 
> I bumped into the problem with setting focus to the subsequent 
popups.
> 
> E.g. first popup is created, then user presses the button on it and
> first popup creates second popup and second popup immediately 
creates
> third popup.
> 
> I can't find a way to set focus to the third popup - it still stays 
in
> the first one.
> 
> If I invoke popups manually, i.e. clicking on buttons every time -
> there is no problem, every next popup get focus correctly.
> 
> Does anybody know to fix this problem?
> 
> Thanks in advance!
> 
> Cheers,
> Dmitri.
>




RE: [flexcoders] Problem with focus in secondary popups

2008-02-15 Thread Alex Harui
Try adding one or two callLater's to delay the creation of the third
popup, then have that third popup setFocus to something within.  If that
doesn't work you may have to make systemManager.activate calls directly

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitri Girski
Sent: Friday, February 15, 2008 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with focus in secondary popups

 

Hi all,

I bumped into the problem with setting focus to the subsequent popups.

E.g. first popup is created, then user presses the button on it and
first popup creates second popup and second popup immediately creates
third popup.

I can't find a way to set focus to the third popup - it still stays in
the first one.

If I invoke popups manually, i.e. clicking on buttons every time -
there is no problem, every next popup get focus correctly.

Does anybody know to fix this problem?

Thanks in advance!

Cheers,
Dmitri.

 



[flexcoders] Re: textAlign attribute not accessible from TextInput extended class.

2008-02-15 Thread jmfillman
Paul,

I believe that the answer to your original question is that you need 
to use setStyle().

For example:



private function textAlign():void{
 myTextInput.setStyle("textAlign", "center");
}

Jason
--- In flexcoders@yahoogroups.com, "aceoohay" <[EMAIL PROTECTED]> wrote:
>
> Well I found the answer, but I have another question or two.
> 
> The answer is this.nonInheritingStyles.textAlign.
> 
> One new question is how can I tell whether this value is the 
default 
> value, or a value set by the mxml?
> 
> If I change the value during run time, it doesn't seem to honor the 
> new value. How can I go about making this happen?
> 
> Paul
> 
> --- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
> >
> > I am trying to extend the TextInput class and one thing I would 
> like 
> > to do is check the current value of the textAlign attribute, and 
> > change it if needed.
> > 
> > I access the other attributes that I need using the syntax 
> > this.attributeName such as this.maxChars, I cannot, however 
access 
> > this.textAlign. The compiler barfs with error 1119 Access of 
> possibly 
> > undefined property...
> > 
> > It also doesn't appear in the intellisense for the "this" keyword 
> in 
> > my extended class. It does appear in the intellisense for the 
> >  tag.
> > 
> > Any ideas?
> > 
> > Paul
> >
>




[flexcoders] Remove me from List....

2008-02-15 Thread aristide horugavye
Remove me  from list..I don t know how i got on this list..i will report to 
Yahoo...
   
-
Never miss a thing.   Make Yahoo your homepage.

Re: [flexcoders] File Download

2008-02-15 Thread jitendra jain
I want to store this file on the client machine not just navigate to the URL.

Thanks,

with regards,
JJain

Tom Chiverton <[EMAIL PROTECTED]> wrote: On Friday 15 Feb 2008, jitendra jain 
wrote:
> FileReference, but it hasn't worked for me. Suggest me the best way to
> convert this incoming object(File object (java.io.File)) into the Flex

Why not just navigateToFile() the Flex client ?

-- 
Tom Chiverton
Helping to apprehensively foster 24/7 experiences
on: http://thefalken.livejournal.com



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

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

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


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





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

Re: [flexcoders] How do I procedurally select multiple items in a list control

2008-02-15 Thread Paul Andrews
- Original Message - 
From: "hoytlee2000" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 16, 2008 4:16 AM
Subject: [flexcoders] How do I procedurally select multiple items in a list 
control


> How do I procedurally select multiple items in a list control.
>
> I have an xml file generated from a server-side script that I want to
> use to preselect items in a list control (such as a simple list or
> datagrid) Basically I am storing a user's selections in a database and
> when the user returns to this page I want to display back what they
> had previously set so they can modify their settings.
>
> I can highlite the correct list item using the findString method but
> I'm not sure how to actually select it (use a send event?) and how to
> select multiple items (I have allowMultipleSelection set to true)
>
> or is there a better way to do this?

Check out the selectedIndices and selectedItems properties for a list.

Paul

>
> I am new to flex, still learning stuff, and have traditionally used
> php generated html for the data entry and editing side and flex for
> the client side UI. Any help would be appreciated, I thought I'd try
> to do this purely in flex.
>
> be well,
> Hoyt
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
> 



Re: [flexcoders] OpenEJB - Geronimo - Jetty Confusion -- Please Help!!

2008-02-15 Thread yusuf baker
Hi P

I am using EJB in gernomimo2.2 with tomcat, lcds express
The issues i encountered

   - flex.war was not deploying in Geronimo properly.
   flex-jsp-bootstrap.jar contained a tld file that could not b e parsed
   by Geronimo's xml parser -  solution: remove jar, live without custom tags
   - OpenEjb cannot handle huge entity beans. - solution:make your
   beans/tables smaller until next version in which its reported to be
   fixed(avg size i think was about 20 columns)
   - Google for FlexEJBFactory this is jar that is needed to call ejbs
   directly from flex the jar is written for ejb2.1 but some guy has
   updated for 3.0. - Solution throw jar in with other flex jars.
   - When you list your ejb in remote-config use the prefix
   "java:comp/env/ejb/" this is how Geronimo looks up in jndi
   - Add in this xml snippet into service-config" 
   
   "
   -  If your using eclipse and the servers plugin i recommend you write
   your own ant script for deploying the one in eclipse is shite.
   - Oh yeah there an eclipses plugin of Geronimo on apaches site.

Hope this helps

Thanks
Yusuf


On Fri, Feb 15, 2008 at 8:27 PM, [p e r c e p t i c o n] <
[EMAIL PROTECTED]> wrote:

>   Hi Folks...
> Please pardon the X-POST but i really need some help here...i've been
> battleing this for a week now and can't find any ansers
>
> basically what Ive done is configure everything correctly(hopefully) and
> created a facade that uses my EJB's (stateless beans )
> and then tried to access that facade with Flex and get this error
>
> RPC Fault faultString="java.lang.NullPointerException : null" faultCode="
> Server.Processing" faultDetail="null"]
> at mx.rpc::AbstractInvoker/
> http://www.adobe.com/2006/flex/mx/internal::faultHandler()
> [E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:223]
> at mx.rpc::Responder/fault
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
> at mx.rpc::AsyncRequest/fault
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110]
> at
> NetConnectionMessageResponder/statusHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:531]
> at mx.messaging::MessageResponder/status
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:229]
>
> has anyone had this problem? can anyone give me some pointers using EJB3
> and Flex...
>
> Thanks Much!
>
> p
>  
>


Re: [flexcoders] How do I procedurally select multiple items in a list control

2008-02-15 Thread Sherif Abdou
myList.selectedIndices=[0,1,2]; 


- Original Message 
From: hoytlee2000 <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, February 15, 2008 10:16:01 PM
Subject: [flexcoders] How do I procedurally select multiple items in a list 
control

How do I procedurally select multiple items in a list control.

I have an xml file generated from a server-side script that I want to
use to preselect items in a list control (such as a simple list or
datagrid) Basically I am storing a user's selections in a database and
when the user returns to this page I want to display back what they
had previously set so they can modify their settings.

I can highlite the correct list item using the findString method but
I'm not sure how to actually select it (use a send event?) and how to
select multiple items (I have allowMultipleSelect ion set to true)

or is there a better way to do this?

I am new to flex, still learning stuff, and have traditionally used
php generated html for the data entry and editing side and flex for
the client side UI. Any help would be appreciated, I thought I'd try
to do this purely in flex.

be well,
Hoyt





  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[flexcoders] How do I procedurally select multiple items in a list control

2008-02-15 Thread hoytlee2000
How do I procedurally select multiple items in a list control.

I have an xml file generated from a server-side script that I want to
use to preselect items in a list control (such as a simple list or
datagrid) Basically I am storing a user's selections in a database and
when the user returns to this page I want to display back what they
had previously set so they can modify their settings.

I can highlite the correct list item using the findString method but
I'm not sure how to actually select it (use a send event?) and how to
select multiple items (I have allowMultipleSelection set to true)

or is there a better way to do this?

I am new to flex, still learning stuff, and have traditionally used
php generated html for the data entry and editing side and flex for
the client side UI. Any help would be appreciated, I thought I'd try
to do this purely in flex.

be well,
Hoyt




[flexcoders] ADG and Grouping

2008-02-15 Thread reflexactions
I have a simple flat array extracted from the server.

The "flat" data is really hierarchical in nature in that each row has 
a "parentKey" that connects the rows together like a tree.

How should I load this into an ADG.

Is there a way this can be done using grouping or do I first need to 
manually process the data and build a hierarchical tree structure 
myself and then load that into the ADG?

>From what I have seen so far that is what I need to do but I wanted to 
see if anyone has found an easier way to do this sort of thing before I 
reinvent the wheel.

tks





Re: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Paul Andrews
- Original Message - 
From: "simonjpalmer" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 16, 2008 1:18 AM
Subject: [flexcoders] Re: Why upgrade to FB3?


> Sorry to say it, and please don't be offended, but this is classic
> illogic posing as a rational argument.

It could also be rational debate dismissed by narrow-minded opinion!

> Your argument is about saving money.  So, do you go home 15 minutes
> early every day and the company stops paying you for those 15 minutes?
> Otherwise how is the company saving money and therefore how can you
> justify it on those grounds?  I can clearly see the investment, I
> can't clearly see the return.

That doesn't mean there isn't one.

> All the arguments over cost savings are rubbish unless you can
> actually prove that this will reduce the overall cost of the project.
> Given that 50-75% of the project cost will be wages this won't happen
> unless those efficiency gains are turned into fewer working hours.

That's not true. There may well be an improvement in quality for the 
solution. The resulting software may have a reduced maintenance cost for the 
same development time, the solution achieved for the same effort may offer 
an improved return on the development effort resulting in cost savings over 
the life of the software release, either as greater sales of an improved 
software solution, or as improved efficiency for the end user.

There are many ways that efficiency gains can result in an economic return 
that isn't equivalent to reduced working hours.

> If your argument were real then they could upgrade everyone and make a
> developer redundant.  That would be the sort of rational argument that
> might persuade them into an upgrade.  If you really believe what you
> say is right, then presumably you see the inevitability of that logic
> - whether you agree with it or not?

There's nothing inevitable about that assesment.

> Unfortunately this is how the cheap people outside development look at
> it.  I'll show my hand, I sit on both sides of the fence, and I pay
> for a lot of development out of my own pocket, and there's nothing
> like shelling out your own beans to make you think carefully about
> what you spend it on.  I also spent a lot of my life arguing for
> increasing spend in development, so I know this territory well and
> have been caught out using just this sort of apparent logic.
>
> Tracy's point about making the developers feel better is the only one
> which has any credibility for me (plus those which refer to addressing
> a specific technical need, which the OP has denied)... if it will
> genuinely do that.
>
> Take them all out, that'll make them feel even better.

And a few months down the line they won't remember their boozy evening, but 
every day they'll be reminded that the company they worked for didn't invest 
and now the productivity gains and improved solutions made possible by 
upgrading is now being experienced by the rest of the community and not 
them. That annoying bug which came to light in using Flex 2 which has a 
maintenance fix in Flex 3, is something they have to live with.

> I really think the answer for the original poster's company is wait
> for a while, even if that is not the nicest answer for the poster himself.

That's certainly a sensible option, but it's not a no-cost option. it's just 
an option you can pay for in different ways.

Simon, you make valid points, but the 'value' of upgrading is not solely 
confined to the criteria you have mentioned, so I don't agree with your 
assesment.

Inevitably, the 'value' of upgrading is subject to benefits that are 
sometimes tangible (access to improved tools, etc) and sometimes less 
tangible, or event open to dispute (improved productivity, quality, etc).

The cost-benefit of upgrading Flex is little different to many business 
decisions made every day and though not always easy to quantify, I suspect 
is a more worthwhile benefit that management having an afternoon at the golf 
course, deciding future strategy..   ;-)

Paul

> --- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>>
>>
>> Good points from Tracy there.
>> If it saves you only 15 minutes a day, say 5 hours a month and the
> cost to your company of employing you (wages + a surprising amount of
> extra cost in admin, office space, insurance etc etc) is roughly $50
> an hour then it pays for itself in only 4 weeks (If the upgrade cost
> is the $250 discussed earlier, you might want to check that). These
> are not unreasonable estimates at all, it's really a no brainer in
> terms of cost. It surely can't take more than 8 weeks to repay the
> cost even if my guesses are out by a factor of two?
>> OK, I'll admit that you might spend 5 hours installing and testing,
> maybe twice that, but if you look at over, say, a year then you should
> show some decent savings.
>>
>>
>> -Original Message-
>> From: flexcoders@yahoogroups.com on behalf of Tracy Spratt
>> Sent: Fri 1

RE: [flexcoders] Re: Adding parallel transition effect or filter to target when create on Base St

2008-02-15 Thread Harry Saputra
Yup, thanks. This work fine for me, too.
 
But, I get another problem, when I refresh my page that when application has
run /create , I see a component show at first ( but it fast, like blink ),
and do a transition function again. Try and see, you will see too.
 
 I think it happen cause I locate the function on creationComplete ( not
onCreate ), so the presentation must be create and complete before do the
function.
 
When I try to use transition with mxml style, the result is different.
 
Can we solve this problem ? I want to use actionscript style to my effect
transition.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of joan_lynn
Sent: Saturday, February 16, 2008 2:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adding parallel transition effect or filter to
target when create on Base St
 
Your code works fine for me. I tried it in Flex 3 and Flex 2.0.1. What
build are you using. Please be sure that you have the panLogin object
in your application. Here is the entire application that I compiled:


http://www.adobe.com/2006/mxml"; 
layout="vertical" creationComplete="createEffect(event)">












 


RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Jim Hayes
No offence taken Simon,
I see your point of view very clearly (both as you've just put it and as a 
result of a decades experience of exactly this sort of thing).
It's very late here in uk I'm afraid, I'm too tired to think about it just now, 
so if you'll forgive me I'll leave it at that for now.
Cheers, 
Jim.



-Original Message-
From: flexcoders@yahoogroups.com on behalf of simonjpalmer
Sent: Sat 16/02/2008 01:18
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why upgrade to FB3?
 
Sorry to say it, and please don't be offended, but this is classic
illogic posing as a rational argument.

Your argument is about saving money.  So, do you go home 15 minutes
early every day and the company stops paying you for those 15 minutes?
 Otherwise how is the company saving money and therefore how can you
justify it on those grounds?  I can clearly see the investment, I
can't clearly see the return.

All the arguments over cost savings are rubbish unless you can
actually prove that this will reduce the overall cost of the project.
 Given that 50-75% of the project cost will be wages this won't happen
unless those efficiency gains are turned into fewer working hours.  

If your argument were real then they could upgrade everyone and make a
developer redundant.  That would be the sort of rational argument that
might persuade them into an upgrade.  If you really believe what you
say is right, then presumably you see the inevitability of that logic
- whether you agree with it or not?

Unfortunately this is how the cheap people outside development look at
it.  I'll show my hand, I sit on both sides of the fence, and I pay
for a lot of development out of my own pocket, and there's nothing
like shelling out your own beans to make you think carefully about
what you spend it on.  I also spent a lot of my life arguing for
increasing spend in development, so I know this territory well and
have been caught out using just this sort of apparent logic.

Tracy's point about making the developers feel better is the only one
which has any credibility for me (plus those which refer to addressing
a specific technical need, which the OP has denied)... if it will
genuinely do that.

Take them all out, that'll make them feel even better.

I really think the answer for the original poster's company is wait
for a while, even if that is not the nicest answer for the poster himself.

--- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> 
> Good points from Tracy there.
> If it saves you only 15 minutes a day, say 5 hours a month and the
cost to your company of employing you (wages + a surprising amount of
extra cost in admin, office space, insurance etc etc) is roughly $50
an hour then it pays for itself in only 4 weeks (If the upgrade cost
is the $250 discussed earlier, you might want to check that). These
are not unreasonable estimates at all, it's really a no brainer in
terms of cost. It surely can't take more than 8 weeks to repay the
cost even if my guesses are out by a factor of two? 
> OK, I'll admit that you might spend 5 hours installing and testing,
maybe twice that, but if you look at over, say, a year then you should
show some decent savings.
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com on behalf of Tracy Spratt
> Sent: Fri 15/02/2008 23:12
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Why upgrade to FB3?
>  
> The improvement in developer attitude from the speed an stability alone
> is probably worth the cost.
> 
>  
> 
> You do not need to maigrate your apps immediately, but can continue to
> compile them under the 2x sdk.
> 
>  
> 
> Best of both worlds.
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of simonjpalmer
> Sent: Friday, February 15, 2008 5:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Why upgrade to FB3?
> 
>  
> 
> Wait. I can understand your company's reticence. It's normally a
> pretty empty promise to say that developers productivity will be
> greatly improved by spending money on a new version of an IDE. 
> 
> Even if it were, that rarely translates into either lower costs,
> faster development times or higher quality; these things come from the
> right cultural/social environment/attitudes not the latest versions of
> the tools. 
> 
> And if you take into consideration the cost of migration of your
> entire codebase from one version to the next and the associated
> testing effort, then it is not just about the license fees for the
> developers. I bet the bean counters are looking at that too.
> 
> I'm not saying don't do it, and I'm sure Flex 3 is a major step
> forward, I'm just saying you could easily defer the decision for 6
> months until it is actually a released product and has had its first
> couple of patches. From a commercial standpoint you'll lose nothing
> by staying put, whereas changing has attendant co

[flexcoders] Re: textAlign attribute not accessible from TextInput extended class.

2008-02-15 Thread aceoohay
Well I found the answer, but I have another question or two.

The answer is this.nonInheritingStyles.textAlign.

One new question is how can I tell whether this value is the default 
value, or a value set by the mxml?

If I change the value during run time, it doesn't seem to honor the 
new value. How can I go about making this happen?

Paul

--- In flexcoders@yahoogroups.com, "aceoohay" <[EMAIL PROTECTED]> wrote:
>
> I am trying to extend the TextInput class and one thing I would 
like 
> to do is check the current value of the textAlign attribute, and 
> change it if needed.
> 
> I access the other attributes that I need using the syntax 
> this.attributeName such as this.maxChars, I cannot, however access 
> this.textAlign. The compiler barfs with error 1119 Access of 
possibly 
> undefined property...
> 
> It also doesn't appear in the intellisense for the "this" keyword 
in 
> my extended class. It does appear in the intellisense for the 
>  tag.
> 
> Any ideas?
> 
> Paul
>




RE: [flexcoders] Re: Checkbox with function problem

2008-02-15 Thread Jim Hayes
I was thinking that it might be, because apart from my pedantic pick up on =/== 
everything else looks ok as far as I can tell.
Try adding ' selected="false" ' to the attributes of the checkbox mxml ? or you 
can set it in the properties panel in design view (does the same thing).


-Original Message-
From: flexcoders@yahoogroups.com on behalf of simonjpalmer
Sent: Fri 15/02/2008 23:04
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Checkbox with function problem
 
is your problem that the checkbox is checked by default?  

--- In flexcoders@yahoogroups.com, steven pollard <[EMAIL PROTECTED]> wrote:
>
> 
> same result.
>  
> I accidently left that true in there by mistake was testing.
>  
> thanks
> 
> 
> To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:53:01
+Subject: Re: [flexcoders] Checkbox with function problem
> 
> 
> 
> 
> 
> Maybe it should really be:
>  
> if (!signature_include.selected) {
>  
> Paul
> 
> - Original Message - 
> From: steven pollard 
> To: flexcoders@yahoogroups.com 
> Sent: Friday, February 15, 2008 5:43 PM
> Subject: RE: [flexcoders] Checkbox with function problem
> I tried that and still the same results.. here is my code  
> 
>  
> 
> 
> To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:34:34 
> +Subject:
RE: [flexcoders] Checkbox with function problem
> 
> 
> 
> 
> Use == rather than = 
> (the former compares, the latter sets the value).
>  (That's from your first example, not sure If I'm missing the actual
point you're making, tbh).
>  
> -Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of ghus32Sent: 15
February 2008 17:33To: [EMAIL PROTECTED]: [flexcoders] Checkbox with
function problem
>  
> 
> 
> Hello Everyone,I am emailing because I have a problem whenever I
write a function with if (Checkbox.selected=ture/false){something}or
if (!checkbox.selected){something}Flex reads the function before I
call it, or it reads the selected. So when I run the program the
checkbox is already selected by default.Anyone know of a
solution?thanksSteve
>
__This
communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered
office: 4th Floor, Tennyson House, 159-165 Great Portland Street,
London, W1W 5PA, UK. VAT registration No. 648874577.This e-mail is
confidential and may be privileged. It may be read, copied and used
only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by
telephoning +44(0)20 7637 1010. Please then delete the e-mail and do
not disclose its contents to any person.This email has been scanned
for Primal Pictures by the MessageLabs Email Security
System.__
> 
> 
>  
> 
> 
> 
> 
> 
> 
> _
>




__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

[flexcoders] textAlign attribute not accessible from TextInput extended class.

2008-02-15 Thread aceoohay
I am trying to extend the TextInput class and one thing I would like 
to do is check the current value of the textAlign attribute, and 
change it if needed.

I access the other attributes that I need using the syntax 
this.attributeName such as this.maxChars, I cannot, however access 
this.textAlign. The compiler barfs with error 1119 Access of possibly 
undefined property...

It also doesn't appear in the intellisense for the "this" keyword in 
my extended class. It does appear in the intellisense for the 
 tag.

Any ideas?

Paul





[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread simonjpalmer
Sorry to say it, and please don't be offended, but this is classic
illogic posing as a rational argument.

Your argument is about saving money.  So, do you go home 15 minutes
early every day and the company stops paying you for those 15 minutes?
 Otherwise how is the company saving money and therefore how can you
justify it on those grounds?  I can clearly see the investment, I
can't clearly see the return.

All the arguments over cost savings are rubbish unless you can
actually prove that this will reduce the overall cost of the project.
 Given that 50-75% of the project cost will be wages this won't happen
unless those efficiency gains are turned into fewer working hours.  

If your argument were real then they could upgrade everyone and make a
developer redundant.  That would be the sort of rational argument that
might persuade them into an upgrade.  If you really believe what you
say is right, then presumably you see the inevitability of that logic
- whether you agree with it or not?

Unfortunately this is how the cheap people outside development look at
it.  I'll show my hand, I sit on both sides of the fence, and I pay
for a lot of development out of my own pocket, and there's nothing
like shelling out your own beans to make you think carefully about
what you spend it on.  I also spent a lot of my life arguing for
increasing spend in development, so I know this territory well and
have been caught out using just this sort of apparent logic.

Tracy's point about making the developers feel better is the only one
which has any credibility for me (plus those which refer to addressing
a specific technical need, which the OP has denied)... if it will
genuinely do that.

Take them all out, that'll make them feel even better.

I really think the answer for the original poster's company is wait
for a while, even if that is not the nicest answer for the poster himself.

--- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> 
> Good points from Tracy there.
> If it saves you only 15 minutes a day, say 5 hours a month and the
cost to your company of employing you (wages + a surprising amount of
extra cost in admin, office space, insurance etc etc) is roughly $50
an hour then it pays for itself in only 4 weeks (If the upgrade cost
is the $250 discussed earlier, you might want to check that). These
are not unreasonable estimates at all, it's really a no brainer in
terms of cost. It surely can't take more than 8 weeks to repay the
cost even if my guesses are out by a factor of two? 
> OK, I'll admit that you might spend 5 hours installing and testing,
maybe twice that, but if you look at over, say, a year then you should
show some decent savings.
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com on behalf of Tracy Spratt
> Sent: Fri 15/02/2008 23:12
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Why upgrade to FB3?
>  
> The improvement in developer attitude from the speed an stability alone
> is probably worth the cost.
> 
>  
> 
> You do not need to maigrate your apps immediately, but can continue to
> compile them under the 2x sdk.
> 
>  
> 
> Best of both worlds.
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of simonjpalmer
> Sent: Friday, February 15, 2008 5:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Why upgrade to FB3?
> 
>  
> 
> Wait. I can understand your company's reticence. It's normally a
> pretty empty promise to say that developers productivity will be
> greatly improved by spending money on a new version of an IDE. 
> 
> Even if it were, that rarely translates into either lower costs,
> faster development times or higher quality; these things come from the
> right cultural/social environment/attitudes not the latest versions of
> the tools. 
> 
> And if you take into consideration the cost of migration of your
> entire codebase from one version to the next and the associated
> testing effort, then it is not just about the license fees for the
> developers. I bet the bean counters are looking at that too.
> 
> I'm not saying don't do it, and I'm sure Flex 3 is a major step
> forward, I'm just saying you could easily defer the decision for 6
> months until it is actually a released product and has had its first
> couple of patches. From a commercial standpoint you'll lose nothing
> by staying put, whereas changing has attendant cost and risk.
> 
> Of course at some point you'll have to upgrade because Adobe will stop
> supporting some or all of it, but if things are trundling along nicely
> and you are being successful in development and sales of your product,
> then it doesn't hurt to wait for a bit and you'll need to come up with
> a very rational argument to justify the cost. 
> 
> --- In flexcoders@yahoogroups.com 
> , "Tracy Spratt"  wrote:
> >
> > FB3 is much faster and more stable/pred

RE: [flexcoders] Flex Book

2008-02-15 Thread Jim Hayes

Dan, I'd set the components dataprovider to an XML variable, and initialise 
that variable as either empty or whatever the minimum xml information needs to 
be to prevent the component getting upset about null values. make that variable 
bindable.
Then, when you get the http service results, convert that to xml and put it 
into the variable that the component is bound to, the binding should result in 
the component updating. If binding isn't working (for whatever reason), then 
just reset the dataprovider to the new xml from the http result (and think 
about binding later if you have to).
Hopefully that should get you started on something that works, at least.

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Dan Vega
Sent: Fri 15/02/2008 20:55
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Book
 
Rob,
Great tip on using http instead of xml. The problem I am having now is I
think the component is trying to load before the service is completed.  I
don't think the dataSet is filled when the component is setting up. I tried
to create the component in AS but it would not let me. Any help is
appreciated, I am racking my brain over this.

Dan

[SWF] //bin-debug/.swf - 925,285 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at /loadContent()[C:\Program
Files\Apache\htdocs\src\.mxml:62]
at /__book_turnEnd()[C:\Program
Files\Apache\htdocs\\src\.mxml:85]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9041]
at qs.controls::FlexBook/dispatchEventForPage()[C:\Program
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:733]
at qs.controls::FlexBook/commitProperties()[C:\Program
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:777]
at mx.core::UIComponent/validateProperties
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
at mx.managers::LayoutManager/validateProperties
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
at mx.managers::LayoutManager/doPhasedInstantiation
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
at mx.core::UIComponent/callLaterDispatcher
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]




here is my code


http://www.adobe.com/2006/mxml"; xmlns:l="*"
layout="absolute"
xmlns:controls="qs.controls.*"
creationComplete="initApp();" xmlns:containers="qs.containers.*"
xmlns:effects="qs.effects.*"
width="720" height="430">


FlexBook {
color: #00;
textRollOverColor: #00;
border-thickness: 0;
border-style: none;
page-slope: .6;
active-grab-area: page;
page-shadow-strength: 1;
curve-shadow-strength: 1;
auto-turn-duration: 1500;
}

Application {
color: #F1F1CC;
textRollOverColor: #000;
backgroundColor: #ff;
}

SuperImage {
border-thickness: 0;
border-style: none;
}













__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__<>

RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Robert Thompson
OR you could say:

The improvement in developer productivity by upgrading to Flex3 and getting to 
know the powerful ActionScript 3.0 is well worth 

+

The reduced risk of trusting billg, Steven Balder and Mickeysoft once gain 
after several decades of betrayal while the former Macromedia and also now 
Adobe and eve moreso Apple have shown integrity toward their developers.

I recommend not taking any risk by developing on Windows except to test, and 
stay with APPLE + ADOBE

Jim Hayes <[EMAIL PROTECTED]> wrote:   
 Good points from Tracy there.
 If it saves you only 15 minutes a day, say 5 hours a month and the cost to 
your company of employing you (wages + a surprising amount of extra cost in 
admin, office space, insurance etc etc) is roughly $50 an hour then it pays for 
itself in only 4 weeks (If the upgrade cost is the $250 discussed earlier, you 
might want to check that). These are not unreasonable estimates at all, it's 
really a no brainer in terms of cost. It surely can't take more than 8 weeks to 
repay the cost even if my guesses are out by a factor of two? 
 OK, I'll admit that you might spend 5 hours installing and testing, maybe 
twice that, but if you look at over, say, a year then you should show some 
decent savings.
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of Tracy Spratt
 Sent: Fri 15/02/2008 23:12
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Why upgrade to FB3?
  
 The improvement in developer attitude from the speed an stability alone
 is probably worth the cost.
 
 You do not need to maigrate your apps immediately, but can continue to
 compile them under the 2x sdk.
 
 Best of both worlds.
 
 Tracy
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of simonjpalmer
 Sent: Friday, February 15, 2008 5:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Why upgrade to FB3?
 
 Wait. I can understand your company's reticence. It's normally a
 pretty empty promise to say that developers productivity will be
 greatly improved by spending money on a new version of an IDE. 
 
 Even if it were, that rarely translates into either lower costs,
 faster development times or higher quality; these things come from the
 right cultural/social environment/attitudes not the latest versions of
 the tools. 
 
 And if you take into consideration the cost of migration of your
 entire codebase from one version to the next and the associated
 testing effort, then it is not just about the license fees for the
 developers. I bet the bean counters are looking at that too.
 
 I'm not saying don't do it, and I'm sure Flex 3 is a major step
 forward, I'm just saying you could easily defer the decision for 6
 months until it is actually a released product and has had its first
 couple of patches. From a commercial standpoint you'll lose nothing
 by staying put, whereas changing has attendant cost and risk.
 
 Of course at some point you'll have to upgrade because Adobe will stop
 supporting some or all of it, but if things are trundling along nicely
 and you are being successful in development and sales of your product,
 then it doesn't hurt to wait for a bit and you'll need to come up with
 a very rational argument to justify the cost. 
 
 --- In flexcoders@yahoogroups.com 
 , "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
 >
 > FB3 is much faster and more stable/predictable than FB2. The UI is
 > significantly enhanced.
 > 
 > Tracy
 > 
 > 
 > 
 > 
 > 
 > From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com 
 ] On
 > Behalf Of Mr Greg Murnock
 > Sent: Friday, February 15, 2008 9:47 AM
 > To: flexcoders@yahoogroups.com  
 > Subject: [flexcoders] Why upgrade to FB3?
 > 
 > 
 > 
 > For the big discussion of the day/week...
 > 
 > 
 > 
 > I have been given the task to give a "strong case" on why we need to
 > spend the money (proposed pricing schedule) on the upgrade to FB3,
 when
 > available. 
 > 
 > Our company does not look to do AIR apps, we do not have a case to use
 > Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so the
 > FDS is already there. Current F2 apps with charting working great.
 > 
 > 
 > 
 > I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] 
 > company -
 did
 > I say that outloud, for us to purchase the upgrades. All comments are
 > accepted. :)
 > 
 > 
 > 
 > Greg
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > Looking for last minute shopping deals? Find them fast with Yahoo!
 > Search.
 >
  
 > h/category.php?category=shopping>
 >
 
 ___

RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Jim Hayes

Good points from Tracy there.
If it saves you only 15 minutes a day, say 5 hours a month and the cost to your 
company of employing you (wages + a surprising amount of extra cost in admin, 
office space, insurance etc etc) is roughly $50 an hour then it pays for itself 
in only 4 weeks (If the upgrade cost is the $250 discussed earlier, you might 
want to check that). These are not unreasonable estimates at all, it's really a 
no brainer in terms of cost. It surely can't take more than 8 weeks to repay 
the cost even if my guesses are out by a factor of two? 
OK, I'll admit that you might spend 5 hours installing and testing, maybe twice 
that, but if you look at over, say, a year then you should show some decent 
savings.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Tracy Spratt
Sent: Fri 15/02/2008 23:12
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Why upgrade to FB3?
 
The improvement in developer attitude from the speed an stability alone
is probably worth the cost.

 

You do not need to maigrate your apps immediately, but can continue to
compile them under the 2x sdk.

 

Best of both worlds.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simonjpalmer
Sent: Friday, February 15, 2008 5:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why upgrade to FB3?

 

Wait. I can understand your company's reticence. It's normally a
pretty empty promise to say that developers productivity will be
greatly improved by spending money on a new version of an IDE. 

Even if it were, that rarely translates into either lower costs,
faster development times or higher quality; these things come from the
right cultural/social environment/attitudes not the latest versions of
the tools. 

And if you take into consideration the cost of migration of your
entire codebase from one version to the next and the associated
testing effort, then it is not just about the license fees for the
developers. I bet the bean counters are looking at that too.

I'm not saying don't do it, and I'm sure Flex 3 is a major step
forward, I'm just saying you could easily defer the decision for 6
months until it is actually a released product and has had its first
couple of patches. From a commercial standpoint you'll lose nothing
by staying put, whereas changing has attendant cost and risk.

Of course at some point you'll have to upgrade because Adobe will stop
supporting some or all of it, but if things are trundling along nicely
and you are being successful in development and sales of your product,
then it doesn't hurt to wait for a bit and you'll need to come up with
a very rational argument to justify the cost. 

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> FB3 is much faster and more stable/predictable than FB2. The UI is
> significantly enhanced.
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Mr Greg Murnock
> Sent: Friday, February 15, 2008 9:47 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Why upgrade to FB3?
> 
> 
> 
> For the big discussion of the day/week...
> 
> 
> 
> I have been given the task to give a "strong case" on why we need to
> spend the money (proposed pricing schedule) on the upgrade to FB3,
when
> available. 
> 
> Our company does not look to do AIR apps, we do not have a case to use
> Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so the
> FDS is already there. Current F2 apps with charting working great.
> 
> 
> 
> I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company 
> -
did
> I say that outloud, for us to purchase the upgrades. All comments are
> accepted. :)
> 
> 
> 
> Greg
> 
> 
> 
> 
> 
> 
> 
> 
> Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
>
 
> h/category.php?category=shopping>
>

 



__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has

[flexcoders] Seeking structured drawing examples

2008-02-15 Thread Richard Rodseth
I'm just getting started on custom components, and have two applications in
mind:
1) a board game
2) a diagram editor (or even a page-layout app)

I'm looking for resources and guidance, and aiming for a nice
object-oriented design with clear model-view separation.

In both cases, I figured that the elements (board tiles or diagram elements)
should be lightweight (i.e. Sprites rather than UIComponents) and I would be
doing layout myself. In the case of the diagram editor, I would eventually
want to support models with large numbers of elements, and be able to
exclude invisible elements from the display list, or at least not render
them.

I've seen various examples of using the Graphics class methods directly,
and  some  that create custom Sprites. I've explored the  UIComponent
overrides (commitProperties, updateDisplayList etc). But things aren't quite
clicking yet.

How best to update view from model? (eg. set a property vs listen for custom
events)
How best to manage the display list? eg. Whether to construct the Sprites in
commitProperties, updateDisplayList, somewhere else or not at all.

I've seen references to SpringGraph, and should spend more time looking at
its implementation. Any other pointers?

Thanks in advance.


[flexcoders] Problem with focus in secondary popups

2008-02-15 Thread Dmitri Girski
Hi all,

I bumped into the problem with setting focus to the subsequent popups.

E.g. first popup is created, then user presses the button on it and
first popup creates second popup and second popup immediately creates
third popup.

I can't find a way to set focus to the third popup - it still stays in
the first one.

If I invoke popups manually, i.e. clicking on buttons every time -
there is no problem, every next popup get focus correctly.

Does anybody know to fix this problem?

Thanks in advance!

Cheers,
Dmitri.



RE: [flexcoders] Re: Example of Object.isPrototypeOf ()

2008-02-15 Thread Gordon Smith
It's definitely not a dumb question, but it is fairly irrelevant. 
 
You probably don't need to understand prototype chains to be a good Flex
programmer. I can't find a single place in any of our Flex components
that we call isPrototypeOf(), so its unlikely that you need to call it
either. (That said, we do use prototype chains to implement fast CSS
style lookup with getStyle().)
 
If you're curious about prototype-based inheritance, see
http://en.wikipedia.org/wiki/Prototype-based_programming. 
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roscoe P Coltrane
Sent: Friday, February 15, 2008 10:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Example of Object.isPrototypeOf ()



What exactly does it mean when the Flex doco says:
"This method returns true if the object is in the prototype chain of 
the object specified by the the Class parameter." What 
does "prototype chain" mean here? Sorry for my ignorance if this is 
a dumb question. And are you saying this is an obsolete method?

--- In flexcoders@yahoogroups.com 
, "Gordon Smith" <[EMAIL PROTECTED]> 
wrote:
>
> Flex makes almost no use of AS3's old-style prototype-based 
inheritance;
> it uses the new class-based inheritance. If by "descendant" you 
mean
> "instance of", use the 'is' operator:
> 
> var b:Button = new Button();
> trace(b is UIComponent); // --> true
> 
> Gordon Smith
> Adobe Flex SDK Team
> 
> 
> 
> From: flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Roscoe P Coltrane
> Sent: Thursday, February 14, 2008 6:15 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Example of Object.isPrototypeOf ()
> 
> 
> 
> Could someone give me a working or semi-working example of 
how/when to 
> use isPrototypeOf()? I was thinking that I could query an object 
and 
> if it was a descendent of another object, [the argument to 
> isPrototypeOf()], the method would return true. Not so :) 
Obviously I 
> don't understand the usage of this method.
> 
> Thanks,
> Roscoe
>



 


RE: [flexcoders] Re: Rich Text Editor

2008-02-15 Thread Gordon Smith
No, the player team hasn't disclosed either target date yet.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Harald Dehn
Sent: Friday, February 15, 2008 9:01 AM
To: flexcoders@yahoogroups.com
Subject: AW: [flexcoders] Re: Rich Text Editor



Hi Gordon,

Do you have newer informations when a beta or the final release of astro
will be available?

Harald

Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von cmalartre
Gesendet: Freitag, 15. Februar 2008 17:28
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: Rich Text Editor

Hi Gordon Smith & all,

I thought that the Buzzword aquisition was directly related to Flash
Player code named Astro:

http://labs.adobe.com/wiki/index.php/Astro
 

"Adobe is also developing a library of ActionScript-based text layout
components based on these new APIs to provide easy-to-integrate
features, such as multi-column layout of editable text that
automatically reflows, wrapping around inline images, and handling
tables. With this new architecture, text becomes an extensible part of
the platform -- new text layout features can be delivered without
requiring a new player release."

I hope this is true! I'm working mainly on text intensive application.
One is a text editor for math teachers and the second is a note taking
app.

I want multi-level bullets, tables and images!

Carl-Alexandre Malartre
Scolab

--- In flexcoders@yahoogroups.com 
, "Suketu Vyas" <[EMAIL PROTECTED]> wrote:
>
> I am running under similar kind of RTE problem. my scenario is more
complex.
> I am using FCKEditer which i have integrated with flex using Iframe
and
> ExternalInterface API.
> I still have to work on browser compatibility part. but it works
really
> well.
> 
> ~ Suketu Vyas
> 
> On Fri, Feb 15, 2008 at 9:34 AM, Harald Dehn <[EMAIL PROTECTED]> wrote:
> 
> > Hi Gordon,
> >
> >
> >
> > yes but we don't need the full functionality of buzzword, for
example we
> > don't need tables. Our problems with the RTE component are:
> >
> >
> >
> > - htmlText - we like to generate pdf-documents with the
> > .net-backend.
> >
> > - missing image support
> >
> > - missing page view and a page counter
> >
> >
> >
> > Harald Dehn
> >
> >
> >
> > *Von:* flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com 
] *Im
> > Auftrag von *Gordon Smith
> > *Gesendet:* Freitag, 15. Februar 2008 06:03
> > *An:* flexcoders@yahoogroups.com
 
> > *Betreff:* RE: [flexcoders] Rich Text Editor
> >
> >
> >
> > > Do you the a chance to get a component from your
"buzzword"-company in
> > the meantime
> >
> >
> >
> > Are you asking "Can we get Buzzword's editor as a Flex
component?". That's
> > a different part of the company, and I'm not aware of any plans to
make it
> > available in component form (either free or for money). I suspect
that there
> > are business reasons to keep it as an Adobe-only application for
awhile, but
> > I'm just an engineer and not involved in such decisions.
> >
> >
> >
> > BTW, what does your CRM app need in a texteditor beyond what
> > RichTextEditor currently provides? RTL support or something else?
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com 
] *On
> > Behalf Of *Harald Dehn
> > *Sent:* Thursday, February 14, 2008 12:18 AM
> > *To:* flexcoders@yahoogroups.com
 
> > *Subject:* Re: [flexcoders] Rich Text Editor
> >
> > Hi Gordon,
> >
> >
> >
> > this is a realy good news. Do you the a chance to get a component
from
> > your "buzzword"-company in the meantime. We need a texteditor for
a crm
> > application we developed in flex.
> >
> >
> >
> > Regards,
> >
> > Harald Dehn
> >
> >
> >
> > Am 14.02.2008 um 02:48 schrieb Gordon Smith:
> >
> >
> >
> >
> >
> > > Why Adobe does not make something decent about this issue?
> >
> >
> >
> > We're working on it! Flash Player 10 ("Astro") and Flex 4 are
likely to
> > have a new text engine that will support right-to-left text and
other text
> > improvements.
> >
> >
> >
> > Gordon Smith
> >
> > ! Adobe Fl ex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
  [mailto:flexcoders@ 
> > yahoogroups.com] *On Behalf Of *Rafael Faria
> > *Sent:* Wednesday, February 13, 2008 4:47 PM
> > *To:* flexcoders@yahoogroups.com
 
> > *Subject:* [flexcoders] Rich Text Editor
> >
> > I know this had been a big subject of discussion in the past but i
> > want to bring it up again.
> >
> > Does anybody found a good 

RE: [flexcoders] Re: Rich Text Editor

2008-02-15 Thread Gordon Smith
The team developing the new text libraries plans to support importing a
subset of HTML that is richer than what TextField's htmlText
understands. It will definitely not be a full HTML implementation.
Whether it will fall short of or exceed FCKEditor's capabilities isn't
determined yet.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jurgen Beck
Sent: Friday, February 15, 2008 8:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Rich Text Editor



And let's not forget that we need a way in Flex to work with simple HTML
content that does not use Flash's antiquated set of HTML formatting. We
already know the challenges of implementing a full browser in Flash/Flex
(at least outside of AIR.) At least allow us to represent and edit
simple HTML content that's compatible with the rest of the browser
world.

Again, no full HTML implementation is needed, just something along an
HTML editor like FCKEditor.

Jurgen

On Feb 15, 2008, at 10:27 AM, cmalartre wrote:




Hi Gordon Smith & all,

I thought that the Buzzword aquisition was directly related to
Flash
Player code named Astro:

http://labs.adobe.com/wiki/index.php/Astro
 

"Adobe is also developing a library of ActionScript-based text
layout
components based on these new APIs to provide easy-to-integrate
features, such as multi-column layout of editable text that
automatically reflows, wrapping around inline images, and
handling
tables. With this new architecture, text becomes an extensible
part of
the platform -- new text layout features can be delivered
without
requiring a new player release."

I hope this is true! I'm working mainly on text intensive
application.
One is a text editor for math teachers and the second is a note
taking
app.

I want multi-level bullets, tables and images!

Carl-Alexandre Malartre
Scolab

--- In flexcoders@yahoogroups.com
 , "Suketu Vyas" <[EMAIL PROTECTED]>
wrote:
>
> I am running under similar kind of RTE problem. my scenario is
more
complex.
> I am using FCKEditer which i have integrated with flex using
Iframe and
> ExternalInterface API.
> I still have to work on browser compatibility part. but it
works really
> well.
> 
> ~ Suketu Vyas
> 
> On Fri, Feb 15, 2008 at 9:34 AM, Harald Dehn <[EMAIL PROTECTED]>
wrote:
> 
> > Hi Gordon,
> >
> >
> >
> > yes but we don't need the full functionality of buzzword,
for
example we
> > don't need tables. Our problems with the RTE component are:
> >
> >
> >
> > - htmlText - we like to generate pdf-documents with the
> > .net-backend.
> >
> > - missing image support
> >
> > - missing page view and a page counter
> >
> >
> >
> > Harald Dehn
> >
> >
> >
> > *Von:* flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com
 ] *Im
> > Auftrag von *Gordon Smith
> > *Gesendet:* Freitag, 15. Februar 2008 06:03
> > *An:* flexcoders@yahoogroups.com
 
> > *Betreff:* RE: [flexcoders] Rich Text Editor
> >
> >
> >
> > > Do you the a chance to get a component from your
"buzzword"-company in
> > the meantime
> >
> >
> >
> > Are you asking "Can we get Buzzword's editor as a Flex
component?". That's
> > a different part of the company, and I'm not aware of any
plans to
make it
> > available in component form (either free or for money). I
suspect
that there
> > are business reasons to keep it as an Adobe-only application
for
awhile, but
> > I'm just an engineer and not involved in such decisions.
> >
> >
> >
> > BTW, what does your CRM app need in a texteditor beyond what
> > RichTextEditor currently provides? RTL support or something
else?
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com
 ] *On
> > Behalf Of *Harald Dehn
> > *Sent:* Thursday, February 14, 2008 12:18 AM
> > *To:* flexc

RE: [flexcoders] Re: Rich Text Editor

2008-02-15 Thread Gordon Smith
Buzzword currently runs on Flash Player 9 and renders its text by using
multiple instances of TextField. It doesn't need Astro to do what it
does today. But it seems likely that Buzzword will migrate to use the
improved text features in the libraries that are under development along
with Astro. These libraries will give developers all kinds of abilities
that TextField doesn't offer.
 
Gordon Smith
Adobe Flex SDK Team



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cmalartre
Sent: Friday, February 15, 2008 8:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Rich Text Editor



Hi Gordon Smith & all,

I thought that the Buzzword aquisition was directly related to Flash
Player code named Astro:

http://labs.adobe.com/wiki/index.php/Astro
 

"Adobe is also developing a library of ActionScript-based text layout
components based on these new APIs to provide easy-to-integrate
features, such as multi-column layout of editable text that
automatically reflows, wrapping around inline images, and handling
tables. With this new architecture, text becomes an extensible part of
the platform -- new text layout features can be delivered without
requiring a new player release."

I hope this is true! I'm working mainly on text intensive application.
One is a text editor for math teachers and the second is a note taking
app.

I want multi-level bullets, tables and images!

Carl-Alexandre Malartre
Scolab

--- In flexcoders@yahoogroups.com 
, "Suketu Vyas" <[EMAIL PROTECTED]> wrote:
>
> I am running under similar kind of RTE problem. my scenario is more
complex.
> I am using FCKEditer which i have integrated with flex using Iframe
and
> ExternalInterface API.
> I still have to work on browser compatibility part. but it works
really
> well.
> 
> ~ Suketu Vyas
> 
> On Fri, Feb 15, 2008 at 9:34 AM, Harald Dehn <[EMAIL PROTECTED]> wrote:
> 
> > Hi Gordon,
> >
> >
> >
> > yes but we don't need the full functionality of buzzword, for
example we
> > don't need tables. Our problems with the RTE component are:
> >
> >
> >
> > - htmlText - we like to generate pdf-documents with the
> > .net-backend.
> >
> > - missing image support
> >
> > - missing page view and a page counter
> >
> >
> >
> > Harald Dehn
> >
> >
> >
> > *Von:* flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com 
] *Im
> > Auftrag von *Gordon Smith
> > *Gesendet:* Freitag, 15. Februar 2008 06:03
> > *An:* flexcoders@yahoogroups.com
 
> > *Betreff:* RE: [flexcoders] Rich Text Editor
> >
> >
> >
> > > Do you the a chance to get a component from your
"buzzword"-company in
> > the meantime
> >
> >
> >
> > Are you asking "Can we get Buzzword's editor as a Flex
component?". That's
> > a different part of the company, and I'm not aware of any plans to
make it
> > available in component form (either free or for money). I suspect
that there
> > are business reasons to keep it as an Adobe-only application for
awhile, but
> > I'm just an engineer and not involved in such decisions.
> >
> >
> >
> > BTW, what does your CRM app need in a texteditor beyond what
> > RichTextEditor currently provides? RTL support or something else?
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com 
] *On
> > Behalf Of *Harald Dehn
> > *Sent:* Thursday, February 14, 2008 12:18 AM
> > *To:* flexcoders@yahoogroups.com
 
> > *Subject:* Re: [flexcoders] Rich Text Editor
> >
> > Hi Gordon,
> >
> >
> >
> > this is a realy good news. Do you the a chance to get a component
from
> > your "buzzword"-company in the meantime. We need a texteditor for
a crm
> > application we developed in flex.
> >
> >
> >
> > Regards,
> >
> > Harald Dehn
> >
> >
> >
> > Am 14.02.2008 um 02:48 schrieb Gordon Smith:
> >
> >
> >
> >
> >
> > > Why Adobe does not make something decent about this issue?
> >
> >
> >
> > We're working on it! Flash Player 10 ("Astro") and Flex 4 are
likely to
> > have a new text engine that will support right-to-left text and
other text
> > improvements.
> >
> >
> >
> > Gordon Smith
> >
> > ! Adobe Fl ex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
  [mailto:flexcoders@ 
> > yahoogroups.com] *On Behalf Of *Rafael Faria
> > *Sent:* Wednesday, February 13, 2008 4:47 PM
> > *To:* flexcoders@yahoogroups.com
 
> > *Subject:* [flexcoders] Rich Text Editor
> >
> > I know this had been a big subject of discussion in the past but i
> > want to bring it up again.
> >
> > Does anybody found a

RE: [flexcoders] how to create a file and then download

2008-02-15 Thread coder3

your sample is good enough for me. thanks!!



Seth Caldwell-2 wrote:
> 
> Sort of a limitation in flex, but created because of browser security. So
> its not really a limitation of flex, but a limitation of the web in
> general.
> 
> What you are trying to do is very easy, though, so I wouldn't worry. If
> you
> must send the file back and forth, you always can. 
> 
> In fact, its so simple I've made you an example (click the link to see it
> in
> action):
> 
> http://groupnetwork.com/tools/echoDownload.php?filename=test.txt
>  his%20is%20what%20goes%20in%20the%20txt%20file> &filedata=this is what
> goes
> in the txt file
> 
>  
> 
>  
> if($_REQUEST['filename']=="" || $_REQUEST['filedata']=="") exit(); //no
> filename or data specified
> 
>   
> 
> header("Content-Disposition: inline;
> filename=\"".$_REQUEST['filename']."\"");
> 
> header("Content-Type: application/octet-stream");
> 
> header("Content-Type: application/force-download");
> 
> header("Content-Type: application/download");
> 
> header("Content-Transfer-Encoding: binary");
> 
> header("Content-Length: ".( strlen( $_REQUEST['filedata'] ) + 1 ) );
> 
> header("Pragma: public");
> 
> header("Expires: 0");
> 
> header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
> 
> echo $_REQUEST['filedata'];
> 
> exit();
> 
>  
> 
> ?>
> 
>  
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of coder3
> Sent: Thursday, January 31, 2008 6:39 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] how to create a file and then download
> 
>  
> 
> 
> so basically i have to generate the file on server? 
> 
> currently my server returns an xml file via httpService. but i need a text
> file for user to download. The best way is to create that (temp) text file
> on my application and then download it. but sounds like it can't be done
> and
> i have to call my server with the extra filtering parameters to make it
> generate the text file.
> 
> isn't this one of the Flex limitations?
> 
> -c
> 
> Seth Caldwell-2 wrote:
>> 
>> You shouldn't have to save it on the server at all. You can return the
>> data
>> that was posted directly as a download. I would stray away from using a
>> query string and use HTTP_POST instead.
>> 
>> Another thing you could do rather than send all the data to the server
>> again
>> would be to send parameters that specify what filtering the user did, and
>> do
>> that on the dataset on the server side, generate the file you want to
>> have
>> them download and send it.
>> 
>> 
>> 
>> Seth
>> 
>> 
>> 
>> 
>> 
>> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com  ]
> On
>> Behalf Of coder3
>> Sent: Thursday, January 31, 2008 5:03 PM
>> To: flexcoders@yahoogroups.com  
>> Subject: RE: [flexcoders] how to create a file and then download
>> 
>> 
>> 
>> 
>> ok, if i send the data to the server, and server can generate it. for
>> example,
>> 
>> my application is at http:/www.myapp.com/myapp, and i need to call
>> "http://www.myserver.com/report.pl?myparameters"; so that it returns a
>> text
>> file, do i have to save it to the location where my application is and
>> then
>> download it?
>> 
>> thanks
>> 
>> -c
>> 
>> Tracy Spratt wrote:
>>> 
>>> Send the data to the server, generate the file there, pass back the
>>> saved location, and download it.
>>> 
>>> Tracy
>>> 
>>> 
>>> 
>>> 
>>> 
>>> From: flexcoders@yahoogroups.com 
> 
>> [mailto:flexcoders@yahoogroups.com 
>  ]
>> On
>>> Behalf Of coder3
>>> Sent: Thursday, January 31, 2008 6:34 PM
>>> To: flexcoders@yahoogroups.com 
>  
>>> Subject: [flexcoders] how to create a file and then download
>>> 
>>> 
>>> 
>>> 
>>> Hi, 
>>> I need to generate a file based on the current data on the page and then
>>> download it. help?
>>> 
>>> the sample code i can find is to download an existing file from the same
>>> directory as the SWF document. 
>>> 
>>> thanks!
>>> 
>>> c
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/how-to-create-a-file-and-then-download-tp15217361p
>>> 15217361.html
>>> >> p15217361.html> 
>>> Sent from the FlexCoders mailing list archive at Nabble.com.
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/how-to-create-a-file-and-then-download-tp15217361p1521
>> 8596.html
>> Sent from the FlexCoders mailing list archive at Nabble.com.
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/how-to-create-

Re: [flexcoders] Flex Book

2008-02-15 Thread Dan Vega
Well the component needs the data from the httpservice so somehow i need to
call the component when the service is completed.

Dan

On Fri, Feb 15, 2008 at 4:34 PM, Phil Krasko <[EMAIL PROTECTED]> wrote:

> CreationComplete on component call the httpservice
>
>
> Sent via BlackBerry from T-Mobile
>
> -Original Message-
> From: "Dan Vega" <[EMAIL PROTECTED]>
>
> Date: Fri, 15 Feb 2008 15:55:24
> To:flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Flex Book
>
>
> Rob,
> Great tip on using http instead of xml. The problem I am having now is I
> think the component is trying to load before the service is completed.  I
> don't think the dataSet is filled when the component is setting up. I tried
> to create the component in AS but it would not let me. Any help is
> appreciated, I am racking my brain over this.
>
> Dan
>
> [SWF] //bin-debug/.swf - 925,285 bytes after decompression
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
> at /loadContent()[C:\Program
> Files\Apache\htdocs\src\.mxml:62]
>  at /__book_turnEnd()[C:\Program
> Files\Apache\htdocs\\src\.mxml:85]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at mx.core::UIComponent/dispatchEvent
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9041]
>  at qs.controls::FlexBook/dispatchEventForPage()[C:\Program
> Files\Apache\htdocs\\src\qs\controls\FlexBook.as:733]
> at qs.controls::FlexBook/commitProperties()[C:\Program
> Files\Apache\htdocs\\src\qs\controls\FlexBook.as:777]
>  at mx.core::UIComponent/validateProperties
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
> at mx.managers::LayoutManager/validateProperties
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
>  at mx.managers::LayoutManager/doPhasedInstantiation
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at mx.core::UIComponent/callLaterDispatcher2
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
>  at mx.core::UIComponent/callLaterDispatcher
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]
>
>
>
>
> here is my code
>
> 
>  http://www.adobe. <
> http://www.adobe.com/2006/mxml> com/2006/mxml" xmlns:l="*"
> layout="absolute"
> xmlns:controls="qs.controls.*"
> creationComplete="initApp();" xmlns:containers="qs.containers.*"
> xmlns:effects="qs.effects.*"
>  width="720" height="430">
>
> 
> FlexBook {
> color: #00;
> textRollOverColor: #00;
> border-thickness: 0;
>  border-style: none;
> page-slope: .6;
> active-grab-area: page;
> page-shadow-strength: 1;
> curve-shadow-strength: 1;
> auto-turn-duration: 1500;
>  }
>
> Application {
> color: #F1F1CC;
> textRollOverColor: #000;
> backgroundColor: #ff;
> }
>
> SuperImage {
> border-thickness: 0;
>  border-style: none;
> }
> 
>
> 
> 
> 
>
>  />
>
>  horizontalCenter="0" backgroundColor="#00"
> animateCurrentPageIndex="true"
> showCornerTease="true"
>  edgeAndCornerSize="150"
> itemRenderer="ImagePage"
> content="{dataSet.lastResult..image}"
> turnStart="loadContent(event)"
> animatePagesOnTurn="true"
>  turnEnd="loadContent(event)"
> />
>
> 
>
>
>
>
> --
> 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
>
>
>
>


-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


Re: [flexcoders] Implementing Office 2007 menus

2008-02-15 Thread Samuel Neff
I don't have info on how to help you with implementation, but just in case
you were not aware, you need to license the UI from MS before implementing
it yourself.  Licenses are free, but as part of the license you have to
abide by their 120+ pages of guidelines on how to properly implement the UI.

http://blogs.msdn.com/jensenh/archive/2006/11/21/licensing-the-2007-microsoft-office-user-interface.aspx

Good luck.

Sam



On Fri, Feb 15, 2008 at 5:30 PM, Fidel Viegas <[EMAIL PROTECTED]>
wrote:

> Hello folks,
>
> I am trying to implement the Office 2007 menus, and I am trying to
> imagine what sort of Containers to use. So far, I have figured that I
> am going to use TabNavigator for the headings, but what sort of
> container would I use for the groups of buttons? Could it be Panels?
>
> I found this thing implemented in Mindomo. Does anyone have an idea
> how he created the menus?
>
> Thanks in advance,
>
> Fidel.
>
>


[flexcoders] Re: Checkbox with function problem

2008-02-15 Thread simonjpalmer
is your problem that the checkbox is checked by default?  

--- In flexcoders@yahoogroups.com, steven pollard <[EMAIL PROTECTED]> wrote:
>
> 
> same result.
>  
> I accidently left that true in there by mistake was testing.
>  
> thanks
> 
> 
> To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:53:01
+Subject: Re: [flexcoders] Checkbox with function problem
> 
> 
> 
> 
> 
> Maybe it should really be:
>  
> if (!signature_include.selected) {
>  
> Paul
> 
> - Original Message - 
> From: steven pollard 
> To: flexcoders@yahoogroups.com 
> Sent: Friday, February 15, 2008 5:43 PM
> Subject: RE: [flexcoders] Checkbox with function problem
> I tried that and still the same results.. here is my code  
> 
>  
> 
> 
> To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:34:34 
> +Subject:
RE: [flexcoders] Checkbox with function problem
> 
> 
> 
> 
> Use == rather than = 
> (the former compares, the latter sets the value).
>  (That's from your first example, not sure If I'm missing the actual
point you're making, tbh).
>  
> -Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of ghus32Sent: 15
February 2008 17:33To: [EMAIL PROTECTED]: [flexcoders] Checkbox with
function problem
>  
> 
> 
> Hello Everyone,I am emailing because I have a problem whenever I
write a function with if (Checkbox.selected=ture/false){something}or
if (!checkbox.selected){something}Flex reads the function before I
call it, or it reads the selected. So when I run the program the
checkbox is already selected by default.Anyone know of a
solution?thanksSteve
>
__This
communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered
office: 4th Floor, Tennyson House, 159-165 Great Portland Street,
London, W1W 5PA, UK. VAT registration No. 648874577.This e-mail is
confidential and may be privileged. It may be read, copied and used
only by the intended recipient. If you have received it in error,
please contact the sender immediately by return e-mail or by
telephoning +44(0)20 7637 1010. Please then delete the e-mail and do
not disclose its contents to any person.This email has been scanned
for Primal Pictures by the MessageLabs Email Security
System.__
> 
> 
>  
> 
> 
> 
> 
> 
> 
> _
>




RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Tracy Spratt
The improvement in developer attitude from the speed an stability alone
is probably worth the cost.

 

You do not need to maigrate your apps immediately, but can continue to
compile them under the 2x sdk.

 

Best of both worlds.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simonjpalmer
Sent: Friday, February 15, 2008 5:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why upgrade to FB3?

 

Wait. I can understand your company's reticence. It's normally a
pretty empty promise to say that developers productivity will be
greatly improved by spending money on a new version of an IDE. 

Even if it were, that rarely translates into either lower costs,
faster development times or higher quality; these things come from the
right cultural/social environment/attitudes not the latest versions of
the tools. 

And if you take into consideration the cost of migration of your
entire codebase from one version to the next and the associated
testing effort, then it is not just about the license fees for the
developers. I bet the bean counters are looking at that too.

I'm not saying don't do it, and I'm sure Flex 3 is a major step
forward, I'm just saying you could easily defer the decision for 6
months until it is actually a released product and has had its first
couple of patches. From a commercial standpoint you'll lose nothing
by staying put, whereas changing has attendant cost and risk.

Of course at some point you'll have to upgrade because Adobe will stop
supporting some or all of it, but if things are trundling along nicely
and you are being successful in development and sales of your product,
then it doesn't hurt to wait for a bit and you'll need to come up with
a very rational argument to justify the cost. 

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> FB3 is much faster and more stable/predictable than FB2. The UI is
> significantly enhanced.
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Mr Greg Murnock
> Sent: Friday, February 15, 2008 9:47 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Why upgrade to FB3?
> 
> 
> 
> For the big discussion of the day/week...
> 
> 
> 
> I have been given the task to give a "strong case" on why we need to
> spend the money (proposed pricing schedule) on the upgrade to FB3,
when
> available. 
> 
> Our company does not look to do AIR apps, we do not have a case to use
> Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so the
> FDS is already there. Current F2 apps with charting working great.
> 
> 
> 
> I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company 
> -
did
> I say that outloud, for us to purchase the upgrades. All comments are
> accepted. :)
> 
> 
> 
> Greg
> 
> 
> 
> 
> 
> 
> 
> 
> Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
>
 
> h/category.php?category=shopping>
>

 



[flexcoders] Re: Any way to version a swf with major and minor

2008-02-15 Thread simonjpalmer
this is exactly what we do too, except we use cruisecontrol to update
a build version rather than use an svn rev.  We show our version in
the UI.

--- In flexcoders@yahoogroups.com, "Samuel Neff" <[EMAIL PROTECTED]> wrote:
>
> We have a Version.as class which defines a version number in a
constant and
> then use the build script to populate the version number prior to
> compilation.  We include major, minor, and include svn revision number.
> 
> HTH,
> 
> Sam
> 
> 
> On Fri, Feb 15, 2008 at 8:10 AM, essuark <[EMAIL PROTECTED]> wrote:
> 
> > See subject?
> >
> > thanks
> > r
> >
>




[flexcoders] Smooth graphic for button skin?

2008-02-15 Thread Jonathan Lee
Hello all:
I apply some graphic skin to the button's up, down and over state.
The issue is when I rotate the button, the image looks not smooth at all.

I tried to use BitmapAsset, but it seems can not apply to the skin style for 
button.

Any solution?





   
-
Never miss a thing.   Make Yahoo your homepage.

Re: [flexcoders] File exist

2008-02-15 Thread Mark Lapasa
If you know the location of where the file ought to be, you can attempt 
to load the file. If the loading of the file fails, then an event will 
be fired. Look into the docs for the Loader API. -mL

doldol35 wrote:
>
>
> Dear Flex Coders:
>
> I am using Flex2.
> IS there any way to find whether a certain file (ex: test.jpg) exists
> in the folder
>
> Any help or hint is appreciated.
>
> Thanks.
>
>  



Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.



Re: [flexcoders] Custom Tooltip Display

2008-02-15 Thread Fidel Viegas
On Fri, Feb 15, 2008 at 11:27 PM, Mark Lapasa
<[EMAIL PROTECTED]> wrote:

>
> http://livedocs.adobe.com/labs/flex3/html/help.html?content=tooltips_4.html
>
>  See "Creating custom ToolTips"
>

Hi Mark,

Thanks for the reply. That is the first thing I should have done
before posting the question. I have to stop being lazy. ;-)

Thanks once again.

Fidel.


[flexcoders] Implementing Office 2007 menus

2008-02-15 Thread Fidel Viegas
Hello folks,

I am trying to implement the Office 2007 menus, and I am trying to
imagine what sort of Containers to use. So far, I have figured that I
am going to use TabNavigator for the headings, but what sort of
container would I use for the groups of buttons? Could it be Panels?

I found this thing implemented in Mindomo. Does anyone have an idea
how he created the menus?

Thanks in advance,

Fidel.


Re: [flexcoders] Custom Tooltip Display

2008-02-15 Thread Mark Lapasa
http://livedocs.adobe.com/labs/flex3/html/help.html?content=tooltips_4.html


See "Creating custom ToolTips"

-mL


Fidel Viegas wrote:
>
> Hello folks,
>
> I was wondering if someone can point me to a tutorial that shows me
> how to customize the Tooltip Window (if that is what I may call it).
> I want to to be able to display formatted data, as I have seen in many 
> demos.
>
> I look forward to hearing from you guys.
>
> Thanks in advance,
>
> Fidel.
>
>  



Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.



[flexcoders] Custom Tooltip Display

2008-02-15 Thread Fidel Viegas
Hello folks,

I was wondering if someone can point me to a tutorial that shows me
how to customize the Tooltip Window (if that is what I may call it).
I want to to be able to display formatted data, as I have seen in many demos.

I look forward to hearing from you guys.

Thanks in advance,

Fidel.


[flexcoders] Re: passing variables between two consecutive flex applications

2008-02-15 Thread aduston1976
> > i think i will have to add server side help :(
> > any hope?

1. Make the user navigate from one app to the other using javascript
rather than by requesting a new html page. You can use swfobject or
whatever for this. Then you can still use the ExternalInterface solution.
2. Use the server.

Those are your only options.

Adam

--- In flexcoders@yahoogroups.com, Joe <[EMAIL PROTECTED]> wrote:
>
> Id try a shared object.
> 
> http://learn.adobe.com/wiki/display/Flex/Shared+Objects
> 
> I have gotten it to communicate with a second browser before.
> 
> -Joe
> 
> On Fri, Feb 15, 2008 at 10:41 AM, yiðit boyar <[EMAIL PROTECTED]> wrote:
> 
> >   actually it does no work :(
> > i can store value to a cookie vie external interface and read in
the other
> > application;
> > but when i try to save xml data, since the way to keep cookies via
> > javascript is really weak, it does not work :(
> > i need to make too many escape character control and to make it robust
> > will be diffucult; so I better find another way.
> >
> > i think i will have to add server side help :(
> >
> > any hope?
> >
> >
> > On Fri, Feb 15, 2008 at 4:38 PM, yigit <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > sorry, i need to be more clear;
> > > the user navigates from application A to application B. so all
js object
> > > are cleared, and two applications can not talk via localconnection
> > > because they are not running at the same time.
> > >
> > > by the way, an idea came to my mind right now, i can use external
> > > interface, set cookies via javascript then navigate to the other
page
> > > and read values again with external interface; but actually i
did not
> > > like it (wish it works)
> > >
> > > but any other solution?
> > >
> > > by the way, aduston, thanks.
> > >
> > > aduston1976 wrote On 02/15/2008 04:22 PM:
> > > >
> > > > 1. Use LocalConnection -- see the API doc at
> > > >
> > >
http://livedocs.adobe.com/flex/2/langref/flash/net/LocalConnection.html
> > > > <
> > >
http://livedocs.adobe.com/flex/2/langref/flash/net/LocalConnection.html>
> > > >
> > > > 2. Use ExternalInterface to write your xml string to a variable
> > > > attached to javascript window -- see
> > > >
> > >
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=19_External_Interface_178_3.html
> > > > <
> > >
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=19_External_Interface_178_3.html
> > > >
> > > > and http://developer.mozilla.org/en/docs/DOM:window
> > > >  , or read a book
> > > > about javascript.
> > > >
> > > > --- In flexcoders@yahoogroups.com
> > > > , yigit  wrote:
> > > > >
> > > > > hi all,
> > > > > i have 2 sperate flex applications (say A B),
> > > > > the user first uses A, then B; and A has to pass an XML file
to B.
> > > > >
> > > > > i just could not find a way to pass the xml. it is long so i
can not
> > > > use
> > > > > GET method (so Application.application.parameters) and i do
not want
> > > to
> > > > > use a server side script to pass xml using flashvars. (i do
not want
> > > to
> > > > > code any server side! )
> > > > > i tried SharedObject.getLocal method, but although i serve
them from
> > > > the
> > > > > same domain, they can not reach each others data. (in the
help it
> > > says
> > > > > they can, but i could not make it work)
> > > > >
> > > > > so, any other solutions ?
> > > > >
> > > >
> > > >
> > >
> > >
> >  
> >
> 
> 
> 
> -- 
> -Joe
>




[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread simonjpalmer
Wait.  I can understand your company's reticence.  It's normally a
pretty empty promise to say that developers productivity will be
greatly improved by spending money on a new version of an IDE.  

Even if it were, that rarely translates into either lower costs,
faster development times or higher quality; these things come from the
right cultural/social environment/attitudes not the latest versions of
the tools.  

And if you take into consideration the cost of migration of your
entire codebase from one version to the next and the associated
testing effort, then it is not just about the license fees for the
developers.  I bet the bean counters are looking at that too.

I'm not saying don't do it, and I'm sure Flex 3 is a major step
forward, I'm just saying you could easily defer the decision for 6
months until it is actually a released product and has had its first
couple of patches.  From a commercial standpoint you'll lose nothing
by staying put, whereas changing has attendant cost and risk.

Of course at some point you'll have to upgrade because Adobe will stop
supporting some or all of it, but if things are trundling along nicely
and you are being successful in development and sales of your product,
then it doesn't hurt to wait for a bit and you'll need to come up with
a very rational argument to justify the cost.  

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> FB3 is much faster and more stable/predictable than FB2. The UI is
> significantly enhanced.
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Mr Greg Murnock
> Sent: Friday, February 15, 2008 9:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Why upgrade to FB3?
> 
>  
> 
> For the big discussion of the day/week...
> 
>  
> 
> I have been given the task to give a "strong case" on why we need to
> spend the money (proposed pricing schedule) on the upgrade to FB3, when
> available.  
> 
> Our company does not look to do AIR apps, we do not have a case to use
> Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so the
> FDS is already there.  Current F2 apps with charting working great.
> 
>  
> 
> I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company 
> - did
> I say that outloud, for us to purchase the upgrades.  All comments are
> accepted. :)
> 
>  
> 
> Greg
>  
> 
>  
> 
>  
> 
> 
> 
> Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
>  h/category.php?category=shopping>
>




RE: [flexcoders] Component Visbility in ViewStack

2008-02-15 Thread Brad Bueche
Thanks Tracy!!
 
CreationPolicy:  Dont leave home without it!
 
brad

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, February 15, 2008 2:32 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Component Visbility in ViewStack






You are not understanding "deferred instantiation" I'd wager the
component that works is the "0" index child of the ViewStack.



The child componets of a ViewStack, or TabNavigator, are not rendererd
(do not exist) until a user navigates to that view.  This is to improve
startup response by not requiring that the entire application be
rendered before the user can interact with it.  So you can't
programatically reference the a child of a ViewStack until it is viewed.



Best practice is to use an event, like show, or creationComplete to
fetch the data into the component, instead of trying to set it from the
"outside".  So have your resultHandler set a Bindable instance variable
with the data, then bind to that in the components.



Search the Archive or google for "deferred instantiation" and
"creationPolicy" for more info.



Tracy




  _  


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brad Bueche
Sent: Friday, February 15, 2008 1:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component Visbility in ViewStack



I am trying to assign a value to a component property in my
actionscript.



If the component is NOT in a viewstack, everything works fine.



If the component IS in the viewstack, all I get are null object
reference errors. I also get the warning "unable to bind to property
'month' on class 'XML' (class is not an IEventDispatcher).  The line it
blows up on is "bucketComponent.month_number = "9";



I have another component in the same program IN the viewstack that does
not have this problem. And I'm doing essentially the same thing in the
component that works.  



In the component that does not work I do the following:



[Bindable]

public var month_number:String = '6';   // this is just a default
setting

private var xmlService:HTTPService new HTTPService ();



private function loadXML():void

{ 

   xmlSerivce.url = "http//longurl/generateXM.php"

   xmlService.resultFormat = "e4X"

   xmlService.addEventListener(ResultEvent.RESULT, resultHandler);

   xmlService.send();



}



private function resultHandler(event:ResultEvent):void

{

linechart.dataProvider = event.result.month[month_number].day;

}





What am I not understanding here?



brad



 



Re: [flexcoders] Flex Book

2008-02-15 Thread Phil Krasko
CreationComplete on component call the httpservice


Sent via BlackBerry from T-Mobile

-Original Message-
From: "Dan Vega" <[EMAIL PROTECTED]>

Date: Fri, 15 Feb 2008 15:55:24 
To:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Book


Rob,
Great tip on using http instead of xml. The problem I am having now is I think 
the component is trying to load before the service is completed.  I don't think 
the dataSet is filled when the component is setting up. I tried to create the 
component in AS but it would not let me. Any help is appreciated, I am racking 
my brain over this.
 
Dan

[SWF] //bin-debug/.swf - 925,285 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at /loadContent()[C:\Program 
Files\Apache\htdocs\src\.mxml:62]
     at /__book_turnEnd()[C:\Program 
Files\Apache\htdocs\\src\.mxml:85]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at 
mx.core::UIComponent/dispatchEvent()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9041]
     at qs.controls::FlexBook/dispatchEventForPage()[C:\Program 
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:733]
    at qs.controls::FlexBook/commitProperties()[C:\Program 
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:777]
     at 
mx.core::UIComponent/validateProperties()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
    at 
mx.managers::LayoutManager/validateProperties()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
     at 
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at 
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
     at 
mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]




here is my code


 http://www.adobe.  
com/2006/mxml" xmlns:l="*" layout="absolute" 
    xmlns:controls="qs.controls.*"
    creationComplete="initApp();" xmlns:containers="qs.containers.*" 
xmlns:effects="qs.effects.*"
     width="720" height="430">

    
        FlexBook {        
            color: #00;
            textRollOverColor:     #00;        
            border-thickness: 0;
             border-style: none;
            page-slope: .6;
            active-grab-area: page;
            page-shadow-strength: 1;
            curve-shadow-strength: 1;
            auto-turn-duration: 1500;
         }
        
        Application {
            color: #F1F1CC;
            textRollOverColor:     #000;
            backgroundColor: #ff;
        }
        
        SuperImage {
            border-thickness: 0;
             border-style: none;            
        }        
    
    
    
        
    
    
    
 
    
                



   

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

2008-02-15 Thread Dan Vega
Rob,
Great tip on using http instead of xml. The problem I am having now is I
think the component is trying to load before the service is completed.  I
don't think the dataSet is filled when the component is setting up. I tried
to create the component in AS but it would not let me. Any help is
appreciated, I am racking my brain over this.

Dan

[SWF] //bin-debug/.swf - 925,285 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at /loadContent()[C:\Program
Files\Apache\htdocs\src\.mxml:62]
at /__book_turnEnd()[C:\Program
Files\Apache\htdocs\\src\.mxml:85]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9041]
at qs.controls::FlexBook/dispatchEventForPage()[C:\Program
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:733]
at qs.controls::FlexBook/commitProperties()[C:\Program
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:777]
at mx.core::UIComponent/validateProperties
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
at mx.managers::LayoutManager/validateProperties
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
at mx.managers::LayoutManager/doPhasedInstantiation
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
at mx.core::UIComponent/callLaterDispatcher
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]




here is my code


http://www.adobe.com/2006/mxml"; xmlns:l="*"
layout="absolute"
xmlns:controls="qs.controls.*"
creationComplete="initApp();" xmlns:containers="qs.containers.*"
xmlns:effects="qs.effects.*"
width="720" height="430">


FlexBook {
color: #00;
textRollOverColor: #00;
border-thickness: 0;
border-style: none;
page-slope: .6;
active-grab-area: page;
page-shadow-strength: 1;
curve-shadow-strength: 1;
auto-turn-duration: 1500;
}

Application {
color: #F1F1CC;
textRollOverColor: #000;
backgroundColor: #ff;
}

SuperImage {
border-thickness: 0;
border-style: none;
}













RE: [flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont?

2008-02-15 Thread Alex Harui
You can't control the order in which bindings are evaluated.  In this
case the label's text binding fires before the maxChar binding fires,
but it could be the other way in some other configuration.

 

It appears that the user's intention is to set the label's text to a
number that is a function of both maxChars and length of the TextInput.
The only "correct" way is to have a data model where the data in the
TextInput is in the model and the TI and the Label share that string and
can bind to its values.  Otherwise, if the TextInput had some initial
text in it, there would be no way to determine the correct value for the
Label.

 

If you assume the TI is empty, you can get this example working by
calling init() in the maxChars setter:

 

public function set maxChars(value:Number):void{

_maxChars = value;

init();

trace("MAXCHARS"+_maxChars);

}

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, February 15, 2008 11:44 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Adobe SDK, why flex comps accept bind in
properties and custom comps dont?

 

I am trying to think of a way to make the binding fire after the
maxChars is set on the first component.  Calling an invalidate method
will make the component re-render.  Just thinking aloud here. 

 

Maybe you can debug this by stepping through the initializing of the
components?

 

There will be other ways to do what you want, depending on the details
of what that is.  For instance, pass a reference to the controlling
component into the custom component, and then read and set maxChars in
creationComplete.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Friday, February 15, 2008 12:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in
properties and custom comps dont?

 

Sorry Tracy, i don't know what talking about with "Perhaps an
invalidate of some kind?" can you explain more?

Thanks.

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> The OP is using a public setter function to implement his public
> property, instead of a public variable, which is fine, even
prefereable.
> 
> 
> 
> And the trace shows that his setter is being called, but with the
> incorrect value.
> 
> 
> 
> I suspect a timing issue, but can't think of a solution. Perhaps an
> invalidate of some kind?
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of valdhor
> Sent: Thursday, February 14, 2008 11:12 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in
> properties and custom comps dont?
> 
> 
> 
> AFAIK (I am a newb to flex) to be able to set a property in a custom
> component, that property must be public. When Flex compiles the
> application, mxml components are compiled into actionscript classes so
> to modify the property it must be available to outside classes. Making
> it private denies other objects from doing so.
> 
> Also, you are running your init method on initialize. I think you
> meant for it to run on creationcomplete (This is why you are getting
> NaN).
> 
> I have modified your code to reflect the above:
> 
> Application:
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
 
>  > "
layout="absolute">
>  change="descCounter.countChars(tiTitulo.length)"/>
>  _maxChars="{tiTitulo.maxChars}" />
> 
> 
> Custom Component:
> 
> http://www.adobe.com/2006/mxml
 
>  > "
> creationComplete="init()" >
> 
> 
> 
> 
> 
>

 



[flexcoders] "headless" mode

2008-02-15 Thread arieljake
Can a library like the Flex Charting be used in headless mode if I
don't want to display the chart but rather just want to iterate over
multiple data sets and generate a JPG image of the chart for each data
set, for saving to a file in AIR?



[flexcoders] config files for messaging with BlazeDS

2008-02-15 Thread netdeep
Following the documentation, I wrote my own code to handle send() from an 
mx:Producer 
and to push data to an mx:Consumer.  But as far as I can tell, the send never 
gets picked 
up by my invoke().  I am pretty sure this is because I don't have the xml 
config files set up 
properly (or maybe I don't have the java .class file in the right place) but 
can't find where it 
explains how to set up a custom messaging client in this way.  Here is my 
invoke method 
for reference:

public class ReportManager extends ServiceAdapter {

public Object invoke(Message message) {
System.out.println(" msg:  "+message.toString());

javax.swing.JOptionPane.showInputDialog("Invoke");

MessageService msgService = 
(MessageService)getDestination().getService();
msgService.pushMessageToClients(message, true); 

return null;
}

}

I fire up the BlazeDS server, then call this java class from a JSP and then hit 
send from my 
Flex app andfizzle.

Does anyone know how to set this up?  Thanks.



[flexcoders]FlexCharting with SmartClient

2008-02-15 Thread Eduardo Dias
Hello,

We are investigating a few different charting tools in addition to Fusion
Charts which is already integrated with SmartClient. Are there any
significant barriers we should know regarding the potential use of Flex
Charting? Would there be any general integration issues between Flex and
SmartClient? Someone already did it before?


[flexcoders] Re: Why does RTE lose formatting when parent's styleName changes? (w/ test case)

2008-02-15 Thread madflexcoder
Hey Ben,
 Ran into this one before. Something to do with invalidateProperties()
being called, and they haven't accounted for all scenarios when the
text changes. If you look in the styleChanged function of the
RichTextEditor you'll notice they have an if at the bottom of it that
says the following

if (!invalidateToolBarFlag)
{
  invalidateToolBarFlag = true;
  callLater(getTextStyles);
}


I think it should be 

if (!invalidateToolBarFlag || htmlTextChanged)

but I'm not sure. They set htmlTextChanged = true when you
programmatically set the htmlText.



Anyways, as a work around you can extend RichTextEditor override the
styleChangedMethod and just do it the old fashioned way.  It ain't
pretty but I haven't had any problems with it.

override public function styleChanged(styleProp:String):void
{
super.styleChanged(styleProp);
this.htmlText = this.htmlText;
}







--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> No I know, but if I can figure out whats happening I can probably
> subclass RTE and prevent the behavior, and then recommend using it
> instead of the problematic one from the framework.
> 
> Here's hoping Alex and/or Gordon notice this thread... :)
> 
> 
> --- In flexcoders@yahoogroups.com, Tom Chiverton 
> wrote:
> >
> > On Friday 15 Feb 2008, ben.clinkinbeard wrote:
> > > Hmmm, that does work but I am looking for a more general purpose
> > > solution. Checking for any RTE children before every change
isn't very
> > > reasonable in my scenario.
> > 
> > It would only ever be a work around, I agree.
> > But I get the impression Flex 3 is fairly locked down now, so you're
> not going 
> > to get a fix in the framework very soon.
> > 
> > -- 
> > Tom Chiverton
> > Helping to completely cluster one-to-one data
> > on: http://thefalken.livejournal.com
> > 
> > 
> > 
> > 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 Halliwells LLP, 3 Hardman Square, Spinningfields,
> Manchester, M3 3EB.  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
> Solicitors Regulation Authority.
> > 
> > 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 2500.
> > 
> > For more information about Halliwells LLP visit www.halliwells.com.
> >
>




[flexcoders] Re: Adding parallel transition effect or filter to target when create on Base St

2008-02-15 Thread joan_lynn
Your code works fine for me. I tried it in Flex 3 and Flex 2.0.1. What
build are you using. Please be sure that you have the panLogin object
in your application. Here is the entire application that I compiled:


http://www.adobe.com/2006/mxml"; 
layout="vertical" creationComplete="createEffect(event)">










Hope this helps,
Joan



RE: [flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont?

2008-02-15 Thread Tracy Spratt
I am trying to think of a way to make the binding fire after the
maxChars is set on the first component.  Calling an invalidate method
will make the component re-render.  Just thinking aloud here. 

 

Maybe you can debug this by stepping through the initializing of the
components?

 

There will be other ways to do what you want, depending on the details
of what that is.  For instance, pass a reference to the controlling
component into the custom component, and then read and set maxChars in
creationComplete.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Friday, February 15, 2008 12:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in
properties and custom comps dont?

 

Sorry Tracy, i don't know what talking about with "Perhaps an
invalidate of some kind?" can you explain more?

Thanks.

--- In flexcoders@yahoogroups.com 
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> The OP is using a public setter function to implement his public
> property, instead of a public variable, which is fine, even
prefereable.
> 
> 
> 
> And the trace shows that his setter is being called, but with the
> incorrect value.
> 
> 
> 
> I suspect a timing issue, but can't think of a solution. Perhaps an
> invalidate of some kind?
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of valdhor
> Sent: Thursday, February 14, 2008 11:12 AM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in
> properties and custom comps dont?
> 
> 
> 
> AFAIK (I am a newb to flex) to be able to set a property in a custom
> component, that property must be public. When Flex compiles the
> application, mxml components are compiled into actionscript classes so
> to modify the property it must be available to outside classes. Making
> it private denies other objects from doing so.
> 
> Also, you are running your init method on initialize. I think you
> meant for it to run on creationcomplete (This is why you are getting
> NaN).
> 
> I have modified your code to reflect the above:
> 
> Application:
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
 
>  > "
layout="absolute">
>  change="descCounter.countChars(tiTitulo.length)"/>
>  _maxChars="{tiTitulo.maxChars}" />
> 
> 
> Custom Component:
> 
> http://www.adobe.com/2006/mxml
 
>  > "
> creationComplete="init()" >
> 
> 
> 
> 
> 
>

 



Re: [flexcoders] Re: Example of Object.isPrototypeOf ()

2008-02-15 Thread Ralf Bokelberg
This method doesn't work, or?
The note in the help seems to imply, that we want to override this
method. Maybe it is just a stub?

Note: Methods of the Object class are dynamically created on Object's
prototype. To redefine this method in a subclass of Object, do not use
the override keyword. For example, A subclass of Object implements
function isPrototypeOf():Boolean instead of using an override of the
base class.

Cheers
Ralf.


On Fri, Feb 15, 2008 at 7:15 PM, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> prototype chain is in for ecma complience. the white paper is a good source
> of info
>
>
>
> On Fri, Feb 15, 2008 at 1:03 PM, Roscoe P Coltrane <[EMAIL PROTECTED]>
> wrote:
>
> >
> >
> >
> >
> >
> >
> > What exactly does it mean when the Flex doco says:
> > "This method returns true if the object is in the prototype chain of
> > the object specified by the the Class parameter." What
> > does "prototype chain" mean here? Sorry for my ignorance if this is
> > a dumb question. And are you saying this is an obsolete method?
> >
> > --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]>
> > wrote:
> >
> >
> >
> > >
> > > Flex makes almost no use of AS3's old-style prototype-based
> > inheritance;
> > > it uses the new class-based inheritance. If by "descendant" you
> > mean
> > > "instance of", use the 'is' operator:
> > >
> > > var b:Button = new Button();
> > > trace(b is UIComponent); // --> true
> > >
> > > Gordon Smith
> > > Adobe Flex SDK Team
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Roscoe P Coltrane
> > > Sent: Thursday, February 14, 2008 6:15 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Example of Object.isPrototypeOf ()
> > >
> > >
> > >
> > > Could someone give me a working or semi-working example of
> > how/when to
> > > use isPrototypeOf()? I was thinking that I could query an object
> > and
> > > if it was a descendent of another object, [the argument to
> > > isPrototypeOf()], the method would return true. Not so :)
> > Obviously I
> > > don't understand the usage of this method.
> > >
> > > Thanks,
> > > Roscoe
> > >
> >
> >
>
>
>
> --
> j:pn
> \\no comment 



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


[flexcoders] Re: Milestone 4 - beta - color code and formatting for code - Solved

2008-02-15 Thread djhatrick
Simply uninstalling with the the uninstall tool and re-installing
makes it work right.  Yay, now i am golden

Thanks,
Patrick

--- In flexcoders@yahoogroups.com, "djhatrick" <[EMAIL PROTECTED]> wrote:
>
> Tho, i am on a mac, thanks Patrick
> 
> --- In flexcoders@yahoogroups.com, João Fernandes
>  wrote:
> >
> > I'm using FB standalone too :)
> > 
> > just open a command prompt and execute flexbuilder.exe /clean
> > 
> > 
> > -- 
> > 
> > João Fernandes
> > 
> > http://www.onflexwithcf.org
> > http://www.riapt.org
> >
>




[flexcoders] Re: Milestone 4 - beta - color code and formatting for code - Solved

2008-02-15 Thread djhatrick
Simply uninstalling with the the uninstall tool and re-installing
makes it work right.  Yay, now i am golden

Thanks,
Patrick

--- In flexcoders@yahoogroups.com, "djhatrick" <[EMAIL PROTECTED]> wrote:
>
> Tho, i am on a mac, thanks Patrick
> 
> --- In flexcoders@yahoogroups.com, João Fernandes
>  wrote:
> >
> > I'm using FB standalone too :)
> > 
> > just open a command prompt and execute flexbuilder.exe /clean
> > 
> > 
> > -- 
> > 
> > João Fernandes
> > 
> > http://www.onflexwithcf.org
> > http://www.riapt.org
> >
>




RE: [flexcoders] Component Visbility in ViewStack

2008-02-15 Thread Tracy Spratt
You are not understanding "deferred instantiation" I'd wager the
component that works is the "0" index child of the ViewStack.

 

The child componets of a ViewStack, or TabNavigator, are not rendererd
(do not exist) until a user navigates to that view.  This is to improve
startup response by not requiring that the entire application be
rendered before the user can interact with it.  So you can't
programatically reference the a child of a ViewStack until it is viewed.

 

Best practice is to use an event, like show, or creationComplete to
fetch the data into the component, instead of trying to set it from the
"outside".  So have your resultHandler set a Bindable instance variable
with the data, then bind to that in the components.

 

Search the Archive or google for "deferred instantiation" and
"creationPolicy" for more info.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brad Bueche
Sent: Friday, February 15, 2008 1:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component Visbility in ViewStack

 

I am trying to assign a value to a component property in my
actionscript.

 

If the component is NOT in a viewstack, everything works fine.

 

If the component IS in the viewstack, all I get are null object
reference errors. I also get the warning "unable to bind to property
'month' on class 'XML' (class is not an IEventDispatcher).  The line it
blows up on is "bucketComponent.month_number = "9";

 

I have another component in the same program IN the viewstack that does
not have this problem. And I'm doing essentially the same thing in the
component that works.  

 

In the component that does not work I do the following:

 

[Bindable]

public var month_number:String = '6';   // this is just a default
setting

private var xmlService:HTTPService new HTTPService ();

 

private function loadXML():void

{ 

   xmlSerivce.url = "http//longurl/generateXM.php"

   xmlService.resultFormat = "e4X"

   xmlService.addEventListener(ResultEvent.RESULT, resultHandler);

   xmlService.send();

 

}

 

private function resultHandler(event:ResultEvent):void

{

linechart.dataProvider = event.result.month[month_number].day;

}

 

 

What am I not understanding here?

 

brad

 



Re: [flexcoders] Flex hummmmmm in PC speakers...bizarre

2008-02-15 Thread Paul Andrews
- Original Message - 
From: "Don Kerr" <[EMAIL PROTECTED]>
To: 
Sent: Friday, February 15, 2008 4:37 PM
Subject: [flexcoders] Flex humm in PC speakers...bizarre


> Strangest thing. A user's speakers have a faint hum sound when a
> Flex App is open in their browser. Close it, sound goes away.
>
> I don't have any audio/video in the app.
>
> If he opens other web pages, no hummm sounds.
>
> Seem bizarre to me that a Flex app could generate some kind of
> vibration of the speakers. Any idea what might cause it?

The ghost of Silverlight, unable to rest..  ?

> Don

If not that, does it happen with any intensive application? Could just be 
bad internal shielding when the processor is stressed.

Paul 



RE: [flexcoders] Why upgrade to FB3?

2008-02-15 Thread Tracy Spratt
FB3 is much faster and more stable/predictable than FB2. The UI is
significantly enhanced.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mr Greg Murnock
Sent: Friday, February 15, 2008 9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why upgrade to FB3?

 

For the big discussion of the day/week...

 

I have been given the task to give a "strong case" on why we need to
spend the money (proposed pricing schedule) on the upgrade to FB3, when
available.  

Our company does not look to do AIR apps, we do not have a case to use
Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so the
FDS is already there.  Current F2 apps with charting working great.

 

I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company - 
did
I say that outloud, for us to purchase the upgrades.  All comments are
accepted. :)

 

Greg
 

 

 



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

 



Re: [flexcoders] Is it possible to display Horizontal Scroll bar at the top

2008-02-15 Thread Nadeem Manzoor
Thanks alot Sherif Abdou , It works.


On Fri, Feb 15, 2008 at 1:30 AM, Sherif Abdou <[EMAIL PROTECTED]> wrote:

>  create a custom one and just put this
> *
>
> override
> * *public* *function* validateDisplayList():*void*{
>
> *super*.validateDisplayList();
>
> *this*.*horizontalScrollBar*.move(0,0);
>
> }
>
>
> - Original Message 
> From: Nadeem Manzoor <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Thursday, February 14, 2008 2:08:58 PM
> Subject: [flexcoders] Is it possible to display Horizontal Scroll bar at
> the top
>
>  Hello Guys
>
> By default the horizontal Scroll bar is appeared at the bottom of
> container. I want it to be displayed on the top . Is it possible
>
> Thanks
>
> Nadeem Manzoor
>
>
> --
> Looking for last minute shopping deals? Find them fast with Yahoo! 
> Search.
> 
>



-- 
Regards,

Nadeem Manzoor


[flexcoders] Re: Flex hummmmmm in PC speakers...bizarre

2008-02-15 Thread caffeinewabbit
Sometimes, when a system is running a cpu or memory heavy application,
the sound card will pick up bits of interference from the PC's
internals. What kind of work is being performed inside your app?

Also, the monitor can cause interference if you have a large area of
intense color. In either case, it ultimately comes down to hardware
not being insulated as well as it should be, and isn't being caused
directly by Flex.

--- In flexcoders@yahoogroups.com, "Don Kerr" <[EMAIL PROTECTED]> wrote:
>
> Strangest thing. A user's speakers have a faint hum sound when a
> Flex App is open in their browser. Close it, sound goes away.
> 
> I don't have any audio/video in the app.
> 
> If he opens other web pages, no hummm sounds.
> 
> Seem bizarre to me that a Flex app could generate some kind of
> vibration of the speakers. Any idea what might cause it?
> 
> Don
>




[flexcoders] Piclens view

2008-02-15 Thread Greg Hess
Hi All,

Has anyone seen any examples of a 'piclens' viewer done in Flex?

Would the flash runtime support this type of view efficiently?

Any comments much appreciated.

-Greg


[flexcoders] Handeling ItemPending Errors in LabelFunctions and DataTipFunctions

2008-02-15 Thread Kevin
What is the preferred method for catching and handling IPE errors that
get thrown from labelFunctions and dataTipFunctions?  Is there a way
to handle these and still take advantage of dataBinding or do I need
to force load the whole collection first before I bind to the data
grid.  If so, this would seem to reduced my ability to enable paging
from the from the server?

Thanks,

Kevin



Re: [flexcoders] Flex Book

2008-02-15 Thread Rob Rusher
Then use HTTPService.
Example:
http://blog.flexexamples.com/2007/07/27/loading-xml-at-run-time-using-the-mxhttpservice-tag/

Rob

On Fri, Feb 15, 2008 at 11:07 AM, Dan Vega <[EMAIL PROTECTED]> wrote:

>   The problem with that is  is a compile time tag, the xml file
> will change on the server.
>
> Dan
>
> On Fri, Feb 15, 2008 at 11:41 AM, Rob Rusher <[EMAIL PROTECTED]> wrote:
>
> >   Simplify your code by using the  tag and set it's source
> > property to the path to your XML.
> >
> > 
> >
> > Your xml might look like:
> > 
> > 
> > ...
> >
> > Then reference it as myXML.image.thumb.
> >
> > HTH
> >
> > Rob
> >
> >
> > On Fri, Feb 15, 2008 at 9:31 AM, Dan Vega <[EMAIL PROTECTED]> wrote:
> >
> > >   I downloaded a great component from
> > > http://www.quietlyscheming.com/blog/ and I am trying to customize it
> > > and I am coming across a problem. The example uses
> > >  > > the xml at runtime so I changed the code. Here is my code and this is the
> > > error I keep getting. Does anyone
> > > know what I am doing wrong?
> > >
> > > ERROR
> > > [SWF] /*/bin-debug/ElginAds.swf - 765,388 bytes after
> > > decompression
> > > TypeError: Error #1009: Cannot access a property or method of a null
> > > object reference.
> > > at qs.controls::FlexBook/fillPage()[C:\Program
> > > Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:656]
> > > at qs.controls::FlexBook/commitProperties()[C:\Program
> > > Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:771]
> > > at mx.core::UIComponent/validateProperties
> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
> > > at mx.managers::LayoutManager/validateProperties
> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
> > > at mx.managers::LayoutManager/doPhasedInstantiation
> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
> > > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > > at mx.core::UIComponent/callLaterDispatcher2
> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
> > > at mx.core::UIComponent/callLaterDispatcher
> > > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]
> > >
> > >
> > >
> > >
> > > 
> > > http://www.adobe.com/2006/mxml"; xmlns:l="*"
> > > layout="absolute"
> > > xmlns:controls="qs.controls.*"
> > > creationComplete="initApp();" xmlns:containers="qs.containers.*"
> > > xmlns:effects="qs.effects.*"
> > > width="720" height="430">
> > >
> > > 
> > > FlexBook {
> > >
> > > color: #00;
> > > textRollOverColor: #00;
> > >
> > > border-thickness: 0;
> > > border-style: none;
> > > page-slope: .6;
> > > active-grab-area: page;
> > > page-shadow-strength: 1;
> > > curve-shadow-strength: 1;
> > > auto-turn-duration: 1500;
> > > }
> > >
> > > Application {
> > > color: #F1F1CC;
> > > textRollOverColor: #000;
> > > backgroundColor: #ff;
> > > }
> > >
> > > SuperImage {
> > > border-thickness: 0;
> > > border-style: none;
> > > }
> > > 
> > >
> > > 
> > > 
> > > 
> > >
> > >  > > height="400" horizontalCenter="0"
> > > animateCurrentPageIndex="true"
> > > showCornerTease="true"
> > > edgeAndCornerSize="150"
> > > itemRenderer="ImagePage"
> > > content="{dataSet}"
> > > turnStart="loadContent(event)"
> > > animatePagesOnTurn="true"
> > > turnEnd="loadContent(event)"
> > > />
> > >
> > > 
> > >
> > >
> > > --
> > > Thank You
> > > Dan Vega
> > > [EMAIL PROTECTED]
> > > http://www.danvega.org
> > >
> >
> >
> >
> > --
> > --
> > Regards,
> > Rob Rusher
> >
> > Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor
> > m: 303-885-7044
> > im: robrusher
> >
>
>
>
> --
> Thank You
> Dan Vega
> [EMAIL PROTECTED]
> http://www.danvega.org
>  
>



-- 
-- 
Regards,
Rob Rusher

Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor
m: 303-885-7044
im: robrusher


Re: AW: [flexcoders] Rich Text Editor

2008-02-15 Thread Weyert de Boer
Well, you can roll that your own I had the idea to write a series of 
articles about how to write custom components for Flex -- and after the 
smiley component I want to work on a RTE component. Only I haven't heard 
back from Adobe yet about this article idea. Maybe I should just put it 
on my blog :)
>
> Hi Gordon,
>
> yes but we don’t need the full functionality of buzzword, for example 
> we don’t need tables. Our problems with the RTE component are:
>
> - htmlText - we like to generate pdf-documents with the .net-backend.
>
> - missing image support
>
> - missing page view and a page counter
>
> Harald Dehn
>



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Loader.load() Error

2008-02-15 Thread Alex Harui
Do you have another class, function or variable called Loader somewhere
in your app?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of NileAge, Mail
Sent: Friday, February 15, 2008 5:00 AM
To: [EMAIL PROTECTED]; 'Flex Components'; [EMAIL PROTECTED];
flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Subject: [flexcoders] Loader.load() Error

 

Hello all,

I'm trying to execute this example but appear the error message (Call to
a possibly undefined method load through a reference with static type
Loader ).

I'm using Flex 2.

Plz tell me what is the problem?


--

import flash.display.*;

import flash.display.Loader;

import flash.display.Sprite;

import flash.events.*;

import flash.net.URLRequest;

public function Loader11():void

{

var rect:Shape = new Shape();

rect.graphics.beginFill(0xFF);

rect.graphics.drawRect(0, 0, 100, 100);

addChild(rect);

var ldr:Loader = new Loader();

ldr.mask = rect;

var url:String =
"http://www.unknown.example.com/content.swf";;

var urlReq:URLRequest = new
URLRequest(url);

Error --->>   ldr.load(urlReq);

addChild(ldr);

}


--

 

Thanks 

Abdullah Abdelhay

 



[flexcoders] Flex hummmmmm in PC speakers...bizarre

2008-02-15 Thread Don Kerr
Strangest thing. A user's speakers have a faint hum sound when a
Flex App is open in their browser. Close it, sound goes away.

I don't have any audio/video in the app.

If he opens other web pages, no hummm sounds.

Seem bizarre to me that a Flex app could generate some kind of
vibration of the speakers. Any idea what might cause it?

Don





[flexcoders] Simple questions for an SQLite specialist

2008-02-15 Thread cmalartre
Hi,

SQLite documentation is a bit lite ;-)

I'm developping my first Air app. I did some test and now I have some
basic questions:

1) Two SQLConnection
Would it be a good strategy to open two SQLConnection on the same DB?
One Asynchrone and one Synchrone.

- Could it lock the db?

- What happens internaly if I call an asynchrone operation and then
call a synchrone operation before the async one finish?

2) Queue and execution
I have this error: "3110 - Operation cannot be performed while
SQLStatement.executing is true."

- Under which circumstance can this error happen?

-Does this mean that I must wait for an SQLStatement to return before
calling it again?

- Does this mean that I can queue multiple SQLStatement, as long as
they are different?

3) Database locked
"SQLError: 'Error #3119: Database file is currently locked.',
details:'database is locked', operation:'execute'"

- Under which circumstance can this error happen?





[flexcoders] RE: [flexcomponents] simple renderer please help..........please review it

2008-02-15 Thread Alex Harui
Not bad for a first try.

 

I would:

1) extend UIComponent instead of Canvas.  You aren't using any of
Canvas's features so you'll save on size and performance

2) only call invalidateProperties() in the data setter.  Move the code
in there to commitProperties instead.  That'll probably remove the need
for the try/catch block.  The way it is coded now, you'll get exceptions
if the data setter is run before child objects have been set up in
createChildren

3) Move the positioning of your components to updateDisplayList().  

4) Calculate measuredWidth/Height in measure(), but you shouldn't set
x,y there as you may not actually be sized to your measured size and in
general, you'll probably want to react to that in updateDisplayList().
The measure method should compute measuredWidth/Height from the
getExplicitOrMeasuredWidth/Height of the child components plus any
spacing and gap styles or properties.

5) not bother to set the avatarholder's imagesource in measure().  If
these are external images, they won't be measureable in measure()
because loading external images is asynchronous.

 

I don't see any particular reason for why your images end up on the
wrong row.  Maybe there's some problem with AvatarHolder?

 

The 'template' for this is in our docs.   I'm sure our doc team would
love to know why the docs weren't clear enough for you.

 

-Alex

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of learner
Sent: Friday, February 15, 2008 12:52 AM
To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Subject: [flexcomponents] simple renderer please help..please
review it

 

Hi all,
I am doing my constant effort to learn and make a decent item renderer
for a list .. 
I have also attached a code that i have written for it...
please please have a look at it and tell me where i am doing wrong and
loopholes are...

the problem that i am facing is ;
in my image holder the images are  not shown properly ... meaning
sometimes the image from the different row gets displayed in the other
row..
I guessed that there is a way  in which u can cache the bitmap in image
holder and things like that.. don't know in details ...

can any body please suggest me the proper way to design a renderer for
this..  please review the following code...

(Would be a great help if any body can design this properly for me...i
know its too much too ask.. but that will give me guideline and a sort
of template .
And I once for all ,will get the authentic way to make renderer...till
this time .. for me its just blind chess  which has really exhausted me 
)

Thanks 

my item rendere contains :
1)  image.. 
2) a text comming next to image
3) a text comming below  the text in 2)

(Code file is attached)
package ms.messengermodule
{
import mx.containers.Canvas;
import mx.controls.Image;
import mx.controls.Label;

public class ContactBox extends Canvas  
{
 
/*private var memberStatus:Label;*/

[Embed(source='style.swf', symbol='memberOnline')]  
private var onlineIcon:Class;

[Embed(source='style.swf', symbol='memberOffline')]  
private var offlineIcon:Class;

[Embed(source='ms/felix/css

/assets/felixStyle.swf', symbol='memberBusy')]  
private var busyIcon:Class;

[Embed(source='style.swf', symbol='organizer')]
private var organizerIcon:Class; 

private var memberName:Label;

private var memberDescription1:Label;
private var memberDescription2:Label;
private var memberDescription3:Label;

private var avatarHolder:ImageHolder; 

private var description1:String;
private var description2:String;
private var description3:String;

private var contactObject:ContactObject;
private var statusImage:Image;
private var statusIcon:Object;
private var memberNamestr:String;
private var userImage:String;

/**
 * Constructor
 */
function ContactBox() {
super();
this.horizontalScrollPolicy = "off";
this.verticalScrollPolicy = "off";

}

override public function set data(value:Object):void {
try{
super.data = value;
contactObject  = value as ContactObject;
description1 = contactObject.extensionObject["E"]; //
take the value from some dictinory object
memberNamestr = contactObject.name.split(" ")[0];
userImage = contactObject.imageUrl; // user image
statusIcon = "";
getStatusIcon();
invalidateProperties();
}
catch(e:Error){
 trace(e.message);
}
}



private function getStatusIcon():vo

Re: [flexcoders] Flex Book

2008-02-15 Thread Dan Vega
The problem with that is  is a compile time tag, the xml file will
change on the server.

Dan

On Fri, Feb 15, 2008 at 11:41 AM, Rob Rusher <[EMAIL PROTECTED]> wrote:

>   Simplify your code by using the  tag and set it's source
> property to the path to your XML.
>
> 
>
> Your xml might look like:
> 
> 
> ...
>
> Then reference it as myXML.image.thumb.
>
> HTH
>
> Rob
>
>
> On Fri, Feb 15, 2008 at 9:31 AM, Dan Vega <[EMAIL PROTECTED]> wrote:
>
> >   I downloaded a great component from
> > http://www.quietlyscheming.com/blog/ and I am trying to customize it and
> > I am coming across a problem. The example uses
> >  > xml at runtime so I changed the code. Here is my code and this is the error
> > I keep getting. Does anyone
> > know what I am doing wrong?
> >
> > ERROR
> > [SWF] /*/bin-debug/ElginAds.swf - 765,388 bytes after decompression
> > TypeError: Error #1009: Cannot access a property or method of a null
> > object reference.
> > at qs.controls::FlexBook/fillPage()[C:\Program
> > Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:656]
> > at qs.controls::FlexBook/commitProperties()[C:\Program
> > Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:771]
> > at mx.core::UIComponent/validateProperties
> > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
> > at mx.managers::LayoutManager/validateProperties
> > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
> > at mx.managers::LayoutManager/doPhasedInstantiation
> > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
> > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > at mx.core::UIComponent/callLaterDispatcher2
> > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
> > at mx.core::UIComponent/callLaterDispatcher
> > ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]
> >
> >
> >
> >
> > 
> > http://www.adobe.com/2006/mxml"; xmlns:l="*"
> > layout="absolute"
> > xmlns:controls="qs.controls.*"
> > creationComplete="initApp();" xmlns:containers="qs.containers.*"
> > xmlns:effects="qs.effects.*"
> > width="720" height="430">
> >
> > 
> > FlexBook {
> >
> > color: #00;
> > textRollOverColor: #00;
> >
> > border-thickness: 0;
> > border-style: none;
> > page-slope: .6;
> > active-grab-area: page;
> > page-shadow-strength: 1;
> > curve-shadow-strength: 1;
> > auto-turn-duration: 1500;
> > }
> >
> > Application {
> > color: #F1F1CC;
> > textRollOverColor: #000;
> > backgroundColor: #ff;
> > }
> >
> > SuperImage {
> > border-thickness: 0;
> > border-style: none;
> > }
> > 
> >
> > 
> > 
> > 
> >
> >  > height="400" horizontalCenter="0"
> > animateCurrentPageIndex="true"
> > showCornerTease="true"
> > edgeAndCornerSize="150"
> > itemRenderer="ImagePage"
> > content="{dataSet}"
> > turnStart="loadContent(event)"
> > animatePagesOnTurn="true"
> > turnEnd="loadContent(event)"
> > />
> >
> > 
> >
> >
> > --
> > Thank You
> > Dan Vega
> > [EMAIL PROTECTED]
> > http://www.danvega.org
> >
>
>
>
> --
> --
> Regards,
> Rob Rusher
>
> Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor
> m: 303-885-7044
> im: robrusher
> 
>



-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


[flexcoders] OpenEJB - Geronimo - Jetty Confusion -- Please Help!!

2008-02-15 Thread [p e r c e p t i c o n]
Hi Folks...
Please pardon the X-POST but i really need some help here...i've been
battleing this for a week now and can't find any ansers

basically what Ive done is configure everything correctly(hopefully) and
created a facade that uses my EJB's (stateless beans )
and then tried to access that facade with Flex and get this error

RPC Fault faultString="java.lang.NullPointerException : null" faultCode="
Server.Processing" faultDetail="null"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:223]
at mx.rpc::Responder/fault
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
at mx.rpc::AsyncRequest/fault
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110]
at
NetConnectionMessageResponder/statusHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:531]
at mx.messaging::MessageResponder/status
()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:229]

has anyone had this problem? can anyone give me some pointers using EJB3 and
Flex...

Thanks Much!

p


[flexcoders] Component Visbility in ViewStack

2008-02-15 Thread Brad Bueche
I am trying to assign a value to a component property in my
actionscript.
 
If the component is NOT in a viewstack, everything works fine.
 
If the component IS in the viewstack, all I get are null object
reference errors. I also get the warning "unable to bind to property
'month' on class 'XML' (class is not an IEventDispatcher).  The line it
blows up on is "bucketComponent.month_number = "9";
 
I have another component in the same program IN the viewstack that does
not have this problem. And I'm doing essentially the same thing in the
component that works.  
 
In the component that does not work I do the following:
 
[Bindable]
public var month_number:String = '6';   // this is just a default
setting
private var xmlService:HTTPService new HTTPService ();
 
private function loadXML():void
{ 
   xmlSerivce.url = "http//longurl/generateXM.php"
   xmlService.resultFormat = "e4X"
   xmlService.addEventListener(ResultEvent.RESULT, resultHandler);
   xmlService.send();
 
}
 
private function resultHandler(event:ResultEvent):void
{
linechart.dataProvider = event.result.month[month_number].day;
}
 
 
What am I not understanding here?
 
brad


[flexcoders] Re: Milestone 4 - beta - color code and formatting for code

2008-02-15 Thread djhatrick
Tho, i am on a mac, thanks Patrick

--- In flexcoders@yahoogroups.com, João Fernandes
<[EMAIL PROTECTED]> wrote:
>
> I'm using FB standalone too :)
> 
> just open a command prompt and execute flexbuilder.exe /clean
> 
> 
> -- 
> 
> João Fernandes
> 
> http://www.onflexwithcf.org
> http://www.riapt.org
>




RE: [flexcoders] Performance difference between ArrayCollection.removeAll() and ArrayCollection.source = []

2008-02-15 Thread Alex Harui
Because of the way GC works, I still think it is best for us to remove
the listeners.  GC is only on allocation so again, if someone had a
handle to an object that got removed and twiddled a value, the
notification code would run needlessly until GC kicked in.

 

However, I think you've come up with a great optimization for folks who
know they are destroying everything all at once.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Arpit Mathur
Sent: Thursday, February 14, 2008 9:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Performance difference between
ArrayCollection.removeAll() and ArrayCollection.source = []

 

Hmm, maybe I am missing something here? The only place I see
addEventListener being called is

 

 protected function startTrackUpdates(item:Object):void
{
if (item && (item is IEventDispatcher))
{
IEventDispatcher(item).addEventListener(
PropertyChangeEvent.PROPERTY_CHANGE, 
itemUpdateHandler, false, 0,
true);
}
}

 

which has the weak-keys boolean flag turned on. Shouldnt that allow
garbage collection to run without explicitly calling removeEventListener
?

 

On Thu, Feb 14, 2008 at 11:54 PM, Alex Harui <[EMAIL PROTECTED]
 > wrote:

Our code has to look like that otherwise if someone kept a reference to
one of the objects that got removed, it would keep the ArrayList from
being GC'd.  We added listeners, so we should remove them.  If the data
objects are going away too, then you can probably reset the source, but
if you see a memory leak later, I'd definitely check in that area.

 



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com  ]
On Behalf Of Arpit Mathur
Sent: Thursday, February 14, 2008 8:27 PM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] Performance difference between
ArrayCollection.removeAll() and ArrayCollection.source = []

 

I was trying to debug an issue with the LogBook application we released
a couple of days back. If you take a look at the interface on the main
page at http://cimlogbook.googlecode.com
  (or if you have installed the
application), you will see a clear logs button. Clicking on that clears
an ArrayCollection that holds a series of LogObjects by calling a
removeAll() function. However we got a bug saying the application would
almost hang if it tried to clear a lot of messages. A quick patch was to
reset the source like so:  arrayCollection.source = [] . The performance
became lightning fast.

Looking deeper into the removeAll function and following the hierarchy
to the ArrayList class, I see that the removeAll loops through the
entire array, looking at each member to see if its an event dispatcher
and if so calling a function to remove the propertyChange listener.
Why is this implemented this way ? Is there any reason I shouldnt just
use source = [] to reset the array ?

Thanks


-- 
Arpit Mathur
Lead Software Engineer,
Comcast Interactive Media
---
post your flex tips on 
http://flextips.corank.com   




-- 
Arpit Mathur
Lead Software Engineer,
Comcast Interactive Media
---
post your flex tips on 
http://flextips.corank.com   

 



Re: [flexcoders] Re: Example of Object.isPrototypeOf ()

2008-02-15 Thread Johannes Nel
prototype chain is in for ecma complience. the white paper is a good source
of info

On Fri, Feb 15, 2008 at 1:03 PM, Roscoe P Coltrane <[EMAIL PROTECTED]>
wrote:

>   What exactly does it mean when the Flex doco says:
> "This method returns true if the object is in the prototype chain of
> the object specified by the the Class parameter." What
> does "prototype chain" mean here? Sorry for my ignorance if this is
> a dumb question. And are you saying this is an obsolete method?
>
> --- In flexcoders@yahoogroups.com , "Gordon
> Smith" <[EMAIL PROTECTED]>
> wrote:
>
> >
> > Flex makes almost no use of AS3's old-style prototype-based
> inheritance;
> > it uses the new class-based inheritance. If by "descendant" you
> mean
> > "instance of", use the 'is' operator:
> >
> > var b:Button = new Button();
> > trace(b is UIComponent); // --> true
> >
> > Gordon Smith
> > Adobe Flex SDK Team
> >
> > 
> >
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com ] On
> > Behalf Of Roscoe P Coltrane
> > Sent: Thursday, February 14, 2008 6:15 AM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Example of Object.isPrototypeOf ()
> >
> >
> >
> > Could someone give me a working or semi-working example of
> how/when to
> > use isPrototypeOf()? I was thinking that I could query an object
> and
> > if it was a descendent of another object, [the argument to
> > isPrototypeOf()], the method would return true. Not so :)
> Obviously I
> > don't understand the usage of this method.
> >
> > Thanks,
> > Roscoe
> >
>
>  
>



-- 
j:pn
\\no comment


Re: [flexcoders] Re: Example of Object.isPrototypeOf ()

2008-02-15 Thread Sherif Abdou
you should not be using Prototypes in AS3, from what i understood the way it 
gets used is you can add properties on methods

private function mymethod():void{
//you can do something like thi
mymethod.yahooGroup="Flex Coders";

}

- Original Message 
From: Roscoe P Coltrane <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, February 15, 2008 12:03:49 PM
Subject: [flexcoders] Re: Example of Object.isPrototypeOf ()










  



What exactly does it mean when the Flex doco says:

"This method returns true if the object is in the prototype chain of 

the object specified by the the Class parameter." What 

does "prototype chain" mean here? Sorry for my ignorance if this is 

a dumb question. And are you saying this is an obsolete method?



--- In [EMAIL PROTECTED] ups.com, "Gordon Smith" <[EMAIL PROTECTED] > 

wrote:

>

> Flex makes almost no use of AS3's old-style prototype-based 

inheritance;

> it uses the new class-based inheritance. If by "descendant" you 

mean

> "instance of", use the 'is' operator:

>  

> var b:Button = new Button();

> trace(b is UIComponent) ; // --> true

>  

> Gordon Smith

> Adobe Flex SDK Team

> 

>  _ _ __

> 

> From: [EMAIL PROTECTED] ups.com 

[mailto:[EMAIL PROTECTED] ups.com] On

> Behalf Of Roscoe P Coltrane

> Sent: Thursday, February 14, 2008 6:15 AM

> To: [EMAIL PROTECTED] ups.com

> Subject: [flexcoders] Example of Object.isPrototypeO f ()

> 

> 

> 

> Could someone give me a working or semi-working example of 

how/when to 

> use isPrototypeOf( )? I was thinking that I could query an object 

and 

> if it was a descendent of another object, [the argument to 

> isPrototypeOf( )], the method would return true. Not so :) 

Obviously I 

> don't understand the usage of this method.

> 

> Thanks,

> Roscoe

>






  
























  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[flexcoders] Re: Example of Object.isPrototypeOf ()

2008-02-15 Thread Roscoe P Coltrane
What exactly does it mean when the Flex doco says:
"This method returns true if the object is in the prototype chain of 
the object specified by the the Class parameter." What 
does "prototype chain" mean here? Sorry for my ignorance if this is 
a dumb question. And are you saying this is an obsolete method?


--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> 
wrote:
>
> Flex makes almost no use of AS3's old-style prototype-based 
inheritance;
> it uses the new class-based inheritance. If by "descendant" you 
mean
> "instance of", use the 'is' operator:
>  
> var b:Button = new Button();
> trace(b is UIComponent); // --> true
>  
> Gordon Smith
> Adobe Flex SDK Team
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Roscoe P Coltrane
> Sent: Thursday, February 14, 2008 6:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Example of Object.isPrototypeOf ()
> 
> 
> 
> Could someone give me a working or semi-working example of 
how/when to 
> use isPrototypeOf()? I was thinking that I could query an object 
and 
> if it was a descendent of another object, [the argument to 
> isPrototypeOf()], the method would return true. Not so :) 
Obviously I 
> don't understand the usage of this method.
> 
> Thanks,
> Roscoe
>




RE: [flexcoders] Checkbox with function problem

2008-02-15 Thread steven pollard

same result.
 
I accidently left that true in there by mistake was testing.
 
thanks


To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:53:01 
+Subject: Re: [flexcoders] Checkbox with function problem





Maybe it should really be:
 
if (!signature_include.selected) {
 
Paul

- Original Message - 
From: steven pollard 
To: flexcoders@yahoogroups.com 
Sent: Friday, February 15, 2008 5:43 PM
Subject: RE: [flexcoders] Checkbox with function problem
I tried that and still the same results.. here is my code  

 


To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:34:34 
+Subject: RE: [flexcoders] Checkbox with function problem




Use == rather than = 
(the former compares, the latter sets the value).
 (That’s from your first example, not sure If I’m missing the actual point 
you’re making, tbh).
 
-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL 
PROTECTED] On Behalf Of ghus32Sent: 15 February 2008 17:33To: [EMAIL 
PROTECTED]: [flexcoders] Checkbox with function problem
 


Hello Everyone,I am emailing because I have a problem whenever I write a 
function with if (Checkbox.selected=ture/false){something}or if 
(!checkbox.selected){something}Flex reads the function before I call it, or it 
reads the selected. So when I run the program the checkbox is already selected 
by default.Anyone know of a solution?thanksSteve
__This 
communication is from Primal Pictures Ltd., a company registered in England and 
Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson 
House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 
648874577.This e-mail is confidential and may be privileged. It may be read, 
copied and used only by the intended recipient. If you have received it in 
error, please contact the sender immediately by return e-mail or by telephoning 
+44(0)20 7637 1010. Please then delete the e-mail and do not disclose its 
contents to any person.This email has been scanned for Primal Pictures by the 
MessageLabs Email Security 
System.__


 






_



[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Todd
You could be right, I don't remember the exact pricing and what came
with what, I only remember the charting components came in teh pro
version.. the more expensive one was like only $500, $700 or so.  (I
don't remember the exact prices, I just know they seem quite reasonable)


--- In flexcoders@yahoogroups.com, "Jim Hayes" <[EMAIL PROTECTED]> wrote:
>
> Isn't the profiler only going to be available in the more expensive
> version? e.g. the one that costs a fair bit more than $250?
> This is from memory (at home time on a Friday) I've not checked it ...
>  
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Todd
> Sent: 15 February 2008 17:31
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Why upgrade to FB3?
>  
> For the basic version of $250 bucks, for me it's a no brainer:
> 
> If you're using WebServices, then I'd upgrade, even if it's only to
> look at the code that the WSDL Import tool generates. This code is
> the best documentation I've found about Flex/Web Services. But you're
> not using Web Services. Scratch that.
> 
> Compilation times. So much faster, though this is probably more due
> to SDK, but who knows. I know is that you wont be using Flex3 SDK
> with FB2. (Someone correct me if I'm wrong on this, just assuming
> since one of the features of FB3 is targeting multiple SDKs). This
> alone is probably worth the aggravation of the upgrade.
> 
> The Profiler. You're developing naked, in Antartica, while
> hallucinating, and being chased by polar bears without it. It brings
> Flex development into the real world as far as I'm concerned - at
> least for developing complex applications.
> 
> At $250 bucks, it only needs to save a few hours of work to make
> itself pay for itself. One nasty memory leak bug...vioala.
> 
> --- In flexcoders@yahoogroups.com 
> , Mr Greg Murnock  wrote:
> >
> > For the big discussion of the day/week...
> > 
> > I have been given the task to give a "strong case" on why we need to
> spend the money (proposed pricing schedule) on the upgrade to FB3,
> when available. 
> > Our company does not look to do AIR apps, we do not have a case to
> use Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so
> the FDS is already there. Current F2 apps with charting working great.
> > 
> > I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] 
> > company -
> did I say that outloud, for us to purchase the upgrades. All comments
> are accepted. :)
> > 
> > Greg
> > 
> > 
> > 
> __
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile. Try it now. 
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>  
> >
>  
> 
> __
> This communication is from Primal Pictures Ltd., a company
registered in England and Wales with registration No. 02622298 and
registered office: 4th Floor, Tennyson House, 159-165 Great Portland
Street, London, W1W 5PA, UK. VAT registration No. 648874577.
> 
> This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received
it in error, please contact the sender immediately by return e-mail or
by telephoning +44(0)20 7637 1010. Please then delete the e-mail and
do not disclose its contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs
Email Security System.
> __
>




Re: [flexcoders] Checkbox with function problem

2008-02-15 Thread Paul Andrews
Maybe it should really be:

if (!signature_include.selected) {

Paul
  - Original Message - 
  From: steven pollard 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, February 15, 2008 5:43 PM
  Subject: RE: [flexcoders] Checkbox with function problem


  I tried that and still the same results..
   
  here is my code
   
   

  

  

  


   



To: flexcoders@yahoogroups.com
From: [EMAIL PROTECTED]
Date: Fri, 15 Feb 2008 17:34:34 +
Subject: RE: [flexcoders] Checkbox with function problem

Use == rather than = 


(the former compares, the latter sets the value).

 (That’s from your first example, not sure If I’m missing the actual point 
you’re making, tbh).



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
ghus32
Sent: 15 February 2008 17:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Checkbox with function problem



Hello Everyone,

I am emailing because I have a problem whenever I write a function with 

if (Checkbox.selected=ture/false){something}

or if (!checkbox.selected){something}

Flex reads the function before I call it, or it reads the selected. So 
when I run the program the checkbox is already selected by default.

Anyone know of a solution?

thanks

Steve



__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied 
and used only by the intended recipient. If you have received it in error, 
please contact the sender immediately by return e-mail or by telephoning 
+44(0)20 7637 1010. Please then delete the e-mail and do not disclose its 
contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__





--
   

[flexcoders] Re: Adobe SDK, why flex comps accept bind in properties and custom comps dont?

2008-02-15 Thread danielvlopes
Sorry Tracy, i don't know what talking about with "Perhaps an
invalidate of some kind?" can you explain more?

Thanks.

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> The OP is using a public setter function to implement his public
> property, instead of a public variable, which is fine, even prefereable.
> 
>  
> 
> And the trace shows that his setter is being called, but with the
> incorrect value.
> 
>  
> 
> I suspect a timing issue, but can't think of a solution.  Perhaps an
> invalidate of some kind?
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of valdhor
> Sent: Thursday, February 14, 2008 11:12 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Adobe SDK, why flex comps accept bind in
> properties and custom comps dont?
> 
>  
> 
> AFAIK (I am a newb to flex) to be able to set a property in a custom
> component, that property must be public. When Flex compiles the
> application, mxml components are compiled into actionscript classes so
> to modify the property it must be available to outside classes. Making
> it private denies other objects from doing so.
> 
> Also, you are running your init method on initialize. I think you
> meant for it to run on creationcomplete (This is why you are getting
> NaN).
> 
> I have modified your code to reflect the above:
> 
> Application:
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
>  " layout="absolute">
>  change="descCounter.countChars(tiTitulo.length)"/>
>  _maxChars="{tiTitulo.maxChars}" />
> 
> 
> Custom Component:
> 
> http://www.adobe.com/2006/mxml
>  "
> creationComplete="init()" >
> 
> 
> 
> 
> 
>




[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread madflexcoder
Don't forget about Ctrl-O for code navigation.



--- In flexcoders@yahoogroups.com, Mark Lapasa <[EMAIL PROTECTED]> wrote:
>
> OMG i didn't know about Ctrl-3This is awesome.
> 
> Anyways, I like FB3 cause it can handle the two plugins I use everyday
> 
> Subversive
> Mylyn
> 
> Refactoring is nice but I don't use it as often as I thought I would.
> 
> -mL
> 
> Uber_Nick wrote:
> >
> > In short: faster and more stable.
> >
> > FB3 is a lot smarter about compiling, so building a project after
> > making a change goes a lot faster. Developers were increasingly
> > frustrated and slowed by the long build times of our project with
FB2.01.
> >
> > There were also a variety of small bugs in 2.01, such as issues
> > recompiling styles, embedded assets, or external xml data.
> > Occasionally it would cause FB2 to crash, but usually it would just
> > require full cleans. These minor frustrations really built up and
> > could waste a lot of time and productivity (as well as lower morale
> > and excitement about the technology). There's no reason to put
> > developers through using older, buggier tools when better options are
> > available.
> >
> > Also, FB3 is based on a newer version of Eclipse. So better
> > navigation (ctrl+3 is a lifesaver!), smarter memory usage, and
> > enhanced stability all come with it.
> >
> > Not to mention all the plugin upgrades if you're using any of them
> > (Subclipse, SpringIDE, Jupiter, etc)...
> >
> > -Nick Matelli
> > Amentra, Inc
> >
> > --- In flexcoders@yahoogroups.com 
> > , Mr Greg Murnock  
> > wrote:
> > >
> > > For the big discussion of the day/week...
> > >
> > > I have been given the task to give a "strong case" on why we need to
> > spend the money (proposed pricing schedule) on the upgrade to FB3,
> > when available.
> > > Our company does not look to do AIR apps, we do not have a case to
> > use Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so
> > the FDS is already there. Current F2 apps with charting working great.
> > >
> > > I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] 
> > > company -
> > did I say that outloud, for us to purchase the upgrades. All comments
> > are accepted. :)
> > >
> > > Greg
> > >
> > >
> > >
> > __
> > > Be a better friend, newshound, and
> > > know-it-all with Yahoo! Mobile. Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> > 
> > >
> >
> >  
> 
> 
> 
> Notice of confidentiality:
> The information contained in this e-mail is intended only for the
use of the individual or entity named above and may be confidential.
Should the reader of this message not be the intended recipient, you
are hereby notified that any unauthorized dissemination, distribution
or reproduction of this message is strictly prohibited. If you have
received this message in error, please advise the sender immediately
and destroy the e-mail.
>




[flexcoders] CollectionEvent.COLLECTION_CHANGE is firing twice problem.

2008-02-15 Thread madflexcoder
I have an array collection that i'm listening to collection changes
on. For some reason when the event is an update, the event gets fired
twice.  I've been searching for an answer all morning, and I was
wondering if anybody has had this same problem? or could point me in
the right direction. My search terms are obviously not working because
I have found anything.



Re: [flexcoders] Flex Book

2008-02-15 Thread Rob Rusher
Simplify your code by using the  tag and set it's source property to
the path to your XML.



Your xml might look like:


...

Then reference it as myXML.image.thumb.

HTH

Rob

On Fri, Feb 15, 2008 at 9:31 AM, Dan Vega <[EMAIL PROTECTED]> wrote:

>   I downloaded a great component from http://www.quietlyscheming.com/blog/and 
> I am trying to customize it and I am coming across a problem. The
> example uses
>  xml at runtime so I changed the code. Here is my code and this is the error
> I keep getting. Does anyone
> know what I am doing wrong?
>
> ERROR
> [SWF] /*/bin-debug/ElginAds.swf - 765,388 bytes after decompression
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
> at qs.controls::FlexBook/fillPage()[C:\Program
> Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:656]
> at qs.controls::FlexBook/commitProperties()[C:\Program
> Files\Apache\htdocs\*\src\qs\controls\FlexBook.as:771]
> at mx.core::UIComponent/validateProperties
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
> at mx.managers::LayoutManager/validateProperties
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
> at mx.managers::LayoutManager/doPhasedInstantiation
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
> at Function/http://adobe.com/AS3/2006/builtin::apply()
> at mx.core::UIComponent/callLaterDispatcher2
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
> at mx.core::UIComponent/callLaterDispatcher
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]
>
>
>
>
> 
> http://www.adobe.com/2006/mxml"; xmlns:l="*"
> layout="absolute"
> xmlns:controls="qs.controls.*"
> creationComplete="initApp();" xmlns:containers="qs.containers.*"
> xmlns:effects="qs.effects.*"
> width="720" height="430">
>
> 
> FlexBook {
>
> color: #00;
> textRollOverColor: #00;
>
> border-thickness: 0;
> border-style: none;
> page-slope: .6;
> active-grab-area: page;
> page-shadow-strength: 1;
> curve-shadow-strength: 1;
> auto-turn-duration: 1500;
> }
>
> Application {
> color: #F1F1CC;
> textRollOverColor: #000;
> backgroundColor: #ff;
> }
>
> SuperImage {
> border-thickness: 0;
> border-style: none;
> }
> 
>
> 
> 
> 
>
>  horizontalCenter="0"
> animateCurrentPageIndex="true"
> showCornerTease="true"
> edgeAndCornerSize="150"
> itemRenderer="ImagePage"
> content="{dataSet}"
> turnStart="loadContent(event)"
> animatePagesOnTurn="true"
> turnEnd="loadContent(event)"
> />
>
> 
>
>
> --
> Thank You
> Dan Vega
> [EMAIL PROTECTED]
> http://www.danvega.org
>  
>



-- 
-- 
Regards,
Rob Rusher

Adobe Certified AIR, Connect, ColdFusion MX and Flex Instructor
m: 303-885-7044
im: robrusher


RE: [flexcoders] Checkbox with function problem

2008-02-15 Thread steven pollard

I tried that and still the same results..
 
here is my code
 
 



 


To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008 17:34:34 
+Subject: RE: [flexcoders] Checkbox with function problem






Use == rather than = 
(the former compares, the latter sets the value).
 (That’s from your first example, not sure If I’m missing the actual point 
you’re making, tbh).
 
-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL 
PROTECTED] On Behalf Of ghus32Sent: 15 February 2008 17:33To: [EMAIL 
PROTECTED]: [flexcoders] Checkbox with function problem
 



Hello Everyone,I am emailing because I have a problem whenever I write a 
function with if (Checkbox.selected=ture/false){something}or if 
(!checkbox.selected){something}Flex reads the function before I call it, or it 
reads the selected. So when I run the program the checkbox is already selected 
by default.Anyone know of a solution?thanksSteve
__This 
communication is from Primal Pictures Ltd., a company registered in England and 
Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson 
House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 
648874577.This e-mail is confidential and may be privileged. It may be read, 
copied and used only by the intended recipient. If you have received it in 
error, please contact the sender immediately by return e-mail or by telephoning 
+44(0)20 7637 1010. Please then delete the e-mail and do not disclose its 
contents to any person.This email has been scanned for Primal Pictures by the 
MessageLabs Email Security 
System.__
 






_



RE: [flexcoders] Checkbox with function problem

2008-02-15 Thread Jim Hayes
Use == rather than = 
(the former compares, the latter sets the value).
 (That's from your first example, not sure If I'm missing the actual
point you're making, tbh).
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ghus32
Sent: 15 February 2008 17:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Checkbox with function problem
 
Hello Everyone,

I am emailing because I have a problem whenever I write a function with 

if (Checkbox.selected=ture/false){something}

or if (!checkbox.selected){something}

Flex reads the function before I call it, or it reads the selected. So 
when I run the program the checkbox is already selected by default.

Anyone know of a solution?

thanks

Steve
 

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__

RE: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Jim Hayes
Isn't the profiler only going to be available in the more expensive
version? e.g. the one that costs a fair bit more than $250?
This is from memory (at home time on a Friday) I've not checked it ...
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Todd
Sent: 15 February 2008 17:31
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why upgrade to FB3?
 
For the basic version of $250 bucks, for me it's a no brainer:

If you're using WebServices, then I'd upgrade, even if it's only to
look at the code that the WSDL Import tool generates. This code is
the best documentation I've found about Flex/Web Services. But you're
not using Web Services. Scratch that.

Compilation times. So much faster, though this is probably more due
to SDK, but who knows. I know is that you wont be using Flex3 SDK
with FB2. (Someone correct me if I'm wrong on this, just assuming
since one of the features of FB3 is targeting multiple SDKs). This
alone is probably worth the aggravation of the upgrade.

The Profiler. You're developing naked, in Antartica, while
hallucinating, and being chased by polar bears without it. It brings
Flex development into the real world as far as I'm concerned - at
least for developing complex applications.

At $250 bucks, it only needs to save a few hours of work to make
itself pay for itself. One nasty memory leak bug...vioala.

--- In flexcoders@yahoogroups.com 
, Mr Greg Murnock <[EMAIL PROTECTED]> wrote:
>
> For the big discussion of the day/week...
> 
> I have been given the task to give a "strong case" on why we need to
spend the money (proposed pricing schedule) on the upgrade to FB3,
when available. 
> Our company does not look to do AIR apps, we do not have a case to
use Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so
the FDS is already there. Current F2 apps with charting working great.
> 
> I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company 
> -
did I say that outloud, for us to purchase the upgrades. All comments
are accepted. :)
> 
> Greg
> 
> 
> 
__
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile. Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
 
>
 

__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__

[flexcoders] Checkbox with function problem

2008-02-15 Thread ghus32
Hello Everyone,

I am emailing because I have a problem whenever I write a function with 

if (Checkbox.selected=ture/false){something}

or if (!checkbox.selected){something}

Flex reads the function before I call it, or it reads the selected. So 
when I run the program the checkbox is already selected by default.

Anyone know of a solution?

thanks

Steve



[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Todd
For the basic version of $250 bucks, for me it's a no brainer:

If you're using WebServices, then I'd upgrade, even if it's only to
look at the code that the WSDL Import tool generates.  This code is
the best documentation I've found about Flex/Web Services.  But you're
not using Web Services.  Scratch that.

Compilation times.  So much faster, though this is probably more due
to SDK, but who knows.  I know is that you wont be using Flex3 SDK
with FB2.  (Someone correct me if I'm wrong on this, just assuming
since one of the features of FB3 is targeting multiple SDKs).  This
alone is probably worth the aggravation of the upgrade.

The Profiler.  You're developing naked, in Antartica, while
hallucinating, and being chased by polar bears without it.  It brings
Flex development into the real world as far as I'm concerned - at
least for developing complex applications.

At $250 bucks, it only needs to save a few hours of work to make
itself pay for itself.  One nasty memory leak bug...vioala.


--- In flexcoders@yahoogroups.com, Mr Greg Murnock <[EMAIL PROTECTED]> wrote:
>
> For the big discussion of the day/week...
> 
> I have been given the task to give a "strong case" on why we need to
spend the money (proposed pricing schedule) on the upgrade to FB3,
when available.  
> Our company does not look to do AIR apps, we do not have a case to
use Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so
the FDS is already there.  Current F2 apps with charting working great.
> 
> I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company 
> -
did I say that outloud, for us to purchase the upgrades.  All comments
are accepted. :)
> 
> Greg
> 
> 
>  

> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>




RE: [flexcoders] Why upgrade to FB3?

2008-02-15 Thread Ted Patrick
1.   You will code 3X faster given new code model, search,
refactoring, auto-complete.

2.   You will be able to see and tune memory and performance with
the profiler.

3.   You will compile faster.

4.   You will be able to maintain projects across SDKs, 2.01, 3.0,
and onward.

5.   You will be able to build AIR applications and debug them
seamlessly

6.   You will be able to work with Web Services (SOAP) using strong
typing

7.   You will get advanced data visualization components (Adv
Datagrid, Tree DG) and hierarchical data providers.

8.   Includes a faster, meaner, cleaner SDK

9.   Enhanced design view for pixel perfect layout and advanced
constraints.

10.   Skinning and styling from Illustrator, Fireworks, Flash, PhotoShop

11.   Seamless support for Flex Framework Caching RSLs ( smaller FX swf
files )

 

Since Flex Builder 3 Beta 1, I have not been able to go back to using
Flex Builder 2 and have been updating to daily builds since. Actually I
believe it is the best  software IDE to come out of Adobe/Macromedia to
date.

 

My biased 2 cents!

 

Ted Patrick 

Flex Technical Evangelist 

Adobe Systems 

 

http://www.onflex.org   

http://www.linkedin.com/in/tedpatrick
  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mr Greg Murnock
Sent: Friday, February 15, 2008 6:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Why upgrade to FB3?

 

For the big discussion of the day/week...

 

I have been given the task to give a "strong case" on why we need to
spend the money (proposed pricing schedule) on the upgrade to FB3, when
available.  

Our company does not look to do AIR apps, we do not have a case to use
Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so the
FDS is already there.  Current F2 apps with charting working great.

 

I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] company - 
did
I say that outloud, for us to purchase the upgrades.  All comments are
accepted. :)

 

Greg
 

 

 



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

 

<><>

[flexcoders] Re: Flex 3.0 Beta + QTP 9.2 Trial Version Problem

2008-02-15 Thread Anthony DeBonis
Did you include automation libraries (SWCs) at compile time 

-include-
libraries "C:\...\libs\automation.swc" "C:\...\libs\automation_agent.swc
" "C:\...\libs\qtp.swc"

Besure not to use Tabbed Browser feature - turn it off.

Compare project settings between your project and sample store looking 
for how they set it up may give you a clue.

Thanks all I can think of.



Re: [flexcoders] Re: Mac mini for development?

2008-02-15 Thread Brendan Meutzner
Thanks all...

I made a fuss and now I'm getting a Mac Pro (not MacBook).  Laptop feature
doesn't matter much to me, so this works out "much" better in the end!  I'm
just still trying to figure out why a 2800 dollar price tag is doable when a
2200 dollar price tag is out of the question... go figure :-/


Brendan


On Fri, Feb 15, 2008 at 8:16 AM, <[EMAIL PROTECTED]> wrote:

>   If your only option is a Mini, which it sounds like it may be, you'll
> be fine - just put plenty of RAM in (cheap these days), get a nice big
> display, and grab an external drive for TimeMachine backups.
>
> A current Mini has plenty of horsepower for a Flex dev machine... of
> course, not as sexy as a MBP, but it's a fine machine.
>
> -R
>  
>



-- 
Brendan Meutzner
http://www.meutzner.com/blog/


Re: [flexcoders] draw simple shapes in a Flex app?

2008-02-15 Thread learner404
Ok, found myself the missing link...

It is necessary to change the "Shape" by a "UIComponent" (don't ask me
why...)

After 3 hours lost, I can now continue and just deal with the fact that AS3
also doesn't have theadings and a "great" security policy (impossible to
access an external public feed - without a crossdomain file - without
installing a proxy first...)

More pain ahead ;)
francois


On Fri, Feb 15, 2008 at 3:33 PM, learner404 <[EMAIL PROTECTED]> wrote:

> On Fri, Feb 15, 2008 at 2:47 PM, Merrill, Jason <
> [EMAIL PROTECTED]> wrote:
>
> """
> And to draw a Rectangle, why are you using beginBitmapFill?  Just try
> beginFill instead.
> """
> Oops, I went to quickly with the completion, thanks Jason.
>
> """
> You need to add the sprite to a container of some kind like a canvas or a
> panel.
> """
> What would be the best way to do that In my code above?
> My attempts have failed so far, the last one (I added a canvas in the mxml
> and try to add the shape rectangle to it):
>
> draw.mxml:
> """
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute">
> import DrawApp;
> 
> 
> 
> 
> 
> 
> """
> DrawApp.as:
> """
> package {
>
> import flash.display.*;
>
> class DrawApp extends Sprite
> {
> public function DrawApp()
> {
>  //don't use the constructor anymore since it won't return the
> rectangle
> }
> public function returnRectangle():Shape
> {
> var rectAndCircle:Shape=new Shape();
> rectAndCircle.graphics.lineStyle(1);
> rectAndCircle.graphics.beginFill(0xFF,1);
> rectAndCircle.graphics.drawRect(125,0,550,575);
> return rectAndCircle;
> }
> }//class
>
> }//package
> """
> I've got an error 1034 (BTW if anyone know how i can  avoid to  localise
> the AS3 error messages so I can paste full error messages in English)
>
> Thanks
>
> francois
>
>
>You need to add the sprite to a container of some kind like a canvas or
> > a panel.
> >
>
>
>
> >   And to draw a Rectangle, why are you using beginBitmapFill?  Just try
> > beginFill instead.
> >
> >
> > Jason Merrill
> > *Bank of America *
> > GT&O L&LD Solutions Design & Development
> > eTools & Multimedia
> >
> > *Bank of America Flash Platform Developer Community*
> >
> >
> >
> >
> >  --
> > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *learner404
> > *Sent:* Friday, February 15, 2008 7:55 AM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] draw simple shapes in a Flex app?
> >
> >  Hi guys,
> >
> > I'm new at Flex3/AS3 and I'm already stuck at what I thought would be a
> > simple "hello world" script:
> >
> > GOAL:
> > A flex app with a button. When the button is hit it a simple shape
> > (rectangle) would appear to the screen.
> >
> > PROPOSAL (doesn't work):
> >
> > draw.mxml:
> > """
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > import DrawApp;
> > 
> > 
> > 
> > 
> > 
> > """
> > DrawApp.as:
> > """
> > package {
> >
> > import flash.display.*;
> >
> > class DrawApp extends Sprite
> > {
> > public function DrawApp()
> > {
> >  var rectAndCircle:Shape=new Shape();
> > rectAndCircle.graphics.lineStyle(1);
> > rectAndCircle.graphics.beginBitmapFill(0xFF,1);
> > rectAndCircle.graphics.drawRect(125,0,150,75);
> > addChild(rectAndCircle);
> > }
> > }
> >
> > }
> > """
> > When I compile this in FB3 I've got 1067 error codes beginning with
> > rectAndCircle.graphics.beginBitmapFill(0xFF,1);
> >
> > Any idea what I'm missing here?
> >
> > Thanks
> >
> > francois
> >
> >
> >  
> >
>
>


[flexcoders] Re: Simulating Flex Client requests using Java?

2008-02-15 Thread Anthony DeBonis
Yes it supports Async calls using addAsync

Here is a snip

beerDataService.addEventListener(ResultEvent.RESULT, addAsync(result, 
3000));
beerDataService.send();



[flexcoders] Web Services and Queueing SOAP Operations..

2008-02-15 Thread Todd
Hello All,
  I have some SOAP operations that I think point at endpoints that
don't exist or are down.  I have a lot of debugging information turned
on and I'm seeing some messages like:
"Queueing SOAP operation GetTheDataDude"

I never receive an error in the client.

Is there a way to determine whether the service is active?  Or a way
to keep these types of things from being swallowed by the Web Services
API?  is this jsut a behavior of the debug Flash Player?

Any insights to the mythical world of Web Services and Flex would be
greatly appreciated.

--Todd



AW: [flexcoders] Re: Rich Text Editor

2008-02-15 Thread Harald Dehn
Hi Gordon,

 

Do you have newer informations when a beta or the final release of astro
will be available?

 

Harald

 

 

Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von cmalartre
Gesendet: Freitag, 15. Februar 2008 17:28
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: Rich Text Editor

 

Hi Gordon Smith & all,

I thought that the Buzzword aquisition was directly related to Flash
Player code named Astro:

http://labs.adobe.com/wiki/index.php/Astro

"Adobe is also developing a library of ActionScript-based text layout
components based on these new APIs to provide easy-to-integrate
features, such as multi-column layout of editable text that
automatically reflows, wrapping around inline images, and handling
tables. With this new architecture, text becomes an extensible part of
the platform -- new text layout features can be delivered without
requiring a new player release."

I hope this is true! I'm working mainly on text intensive application.
One is a text editor for math teachers and the second is a note taking
app.

I want multi-level bullets, tables and images!

Carl-Alexandre Malartre
Scolab

--- In flexcoders@yahoogroups.com  ,
"Suketu Vyas" <[EMAIL PROTECTED]> wrote:
>
> I am running under similar kind of RTE problem. my scenario is more
complex.
> I am using FCKEditer which i have integrated with flex using Iframe and
> ExternalInterface API.
> I still have to work on browser compatibility part. but it works really
> well.
> 
> ~ Suketu Vyas
> 
> On Fri, Feb 15, 2008 at 9:34 AM, Harald Dehn <[EMAIL PROTECTED]> wrote:
> 
> > Hi Gordon,
> >
> >
> >
> > yes but we don't need the full functionality of buzzword, for
example we
> > don't need tables. Our problems with the RTE component are:
> >
> >
> >
> > - htmlText - we like to generate pdf-documents with the
> > .net-backend.
> >
> > - missing image support
> >
> > - missing page view and a page counter
> >
> >
> >
> > Harald Dehn
> >
> >
> >
> > *Von:* flexcoders@yahoogroups.com  
[mailto:flexcoders@yahoogroups.com  ]
*Im
> > Auftrag von *Gordon Smith
> > *Gesendet:* Freitag, 15. Februar 2008 06:03
> > *An:* flexcoders@yahoogroups.com  
> > *Betreff:* RE: [flexcoders] Rich Text Editor
> >
> >
> >
> > > Do you the a chance to get a component from your
"buzzword"-company in
> > the meantime
> >
> >
> >
> > Are you asking "Can we get Buzzword's editor as a Flex
component?". That's
> > a different part of the company, and I'm not aware of any plans to
make it
> > available in component form (either free or for money). I suspect
that there
> > are business reasons to keep it as an Adobe-only application for
awhile, but
> > I'm just an engineer and not involved in such decisions.
> >
> >
> >
> > BTW, what does your CRM app need in a texteditor beyond what
> > RichTextEditor currently provides? RTL support or something else?
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com 

[mailto:flexcoders@yahoogroups.com  ]
*On
> > Behalf Of *Harald Dehn
> > *Sent:* Thursday, February 14, 2008 12:18 AM
> > *To:* flexcoders@yahoogroups.com  
> > *Subject:* Re: [flexcoders] Rich Text Editor
> >
> > Hi Gordon,
> >
> >
> >
> > this is a realy good news. Do you the a chance to get a component from
> > your "buzzword"-company in the meantime. We need a texteditor for
a crm
> > application we developed in flex.
> >
> >
> >
> > Regards,
> >
> > Harald Dehn
> >
> >
> >
> > Am 14.02.2008 um 02:48 schrieb Gordon Smith:
> >
> >
> >
> >
> >
> > > Why Adobe does not make something decent about this issue?
> >
> >
> >
> > We're working on it! Flash Player 10 ("Astro") and Flex 4 are
likely to
> > have a new text engine that will support right-to-left text and
other text
> > improvements.
> >
> >
> >
> > Gordon Smith
> >
> > ! Adobe Fl ex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com 
[mailto:flexcoders@ 
> > yahoogroups.com] *On Behalf Of *Rafael Faria
> > *Sent:* Wednesday, February 13, 2008 4:47 PM
> > *To:* flexcoders@yahoogroups.com  
> > *Subject:* [flexcoders] Rich Text Editor
> >
> > I know this had been a big subject of discussion in the past but i
> > want to bring it up again.
> >
> > Does anybody found a good solution to implement RTE in f! lex?
> >
> > I tried the iframe solution but it seems that it has some problems
> > with rendering, someone work it out how to fix it?
> >
> > I know there is some people from adobe here, so my question is
> > Why Adobe does not make something decent about this issue?
> > If adobe is trying to improve the flash player as much as they 

Re: [flexcoders] Re: Rich Text Editor

2008-02-15 Thread Jurgen Beck
And let's not forget that we need a way in Flex to work with simple  
HTML content that does not use Flash's antiquated set of HTML  
formatting. We already know the challenges of implementing a full  
browser in Flash/Flex (at least outside of AIR.) At least allow us to  
represent and edit simple HTML content that's compatible with the  
rest of the browser world.


Again, no full HTML implementation is needed, just something along an  
HTML editor like FCKEditor.


Jurgen

On Feb 15, 2008, at 10:27 AM, cmalartre wrote:


Hi Gordon Smith & all,

I thought that the Buzzword aquisition was directly related to Flash
Player code named Astro:

http://labs.adobe.com/wiki/index.php/Astro

"Adobe is also developing a library of ActionScript-based text layout
components based on these new APIs to provide easy-to-integrate
features, such as multi-column layout of editable text that
automatically reflows, wrapping around inline images, and handling
tables. With this new architecture, text becomes an extensible part of
the platform -- new text layout features can be delivered without
requiring a new player release."

I hope this is true! I'm working mainly on text intensive application.
One is a text editor for math teachers and the second is a note taking
app.

I want multi-level bullets, tables and images!

Carl-Alexandre Malartre
Scolab

--- In flexcoders@yahoogroups.com, "Suketu Vyas" <[EMAIL PROTECTED]> wrote:
>
> I am running under similar kind of RTE problem. my scenario is more
complex.
> I am using FCKEditer which i have integrated with flex using  
Iframe and

> ExternalInterface API.
> I still have to work on browser compatibility part. but it works  
really

> well.
>
> ~ Suketu Vyas
>
> On Fri, Feb 15, 2008 at 9:34 AM, Harald Dehn <[EMAIL PROTECTED]>  
wrote:

>
> > Hi Gordon,
> >
> >
> >
> > yes but we don't need the full functionality of buzzword, for
example we
> > don't need tables. Our problems with the RTE component are:
> >
> >
> >
> > - htmlText - we like to generate pdf-documents with the
> > .net-backend.
> >
> > - missing image support
> >
> > - missing page view and a page counter
> >
> >
> >
> > Harald Dehn
> >
> >
> >
> > *Von:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *Im
> > Auftrag von *Gordon Smith
> > *Gesendet:* Freitag, 15. Februar 2008 06:03
> > *An:* flexcoders@yahoogroups.com
> > *Betreff:* RE: [flexcoders] Rich Text Editor
> >
> >
> >
> > > Do you the a chance to get a component from your
"buzzword"-company in
> > the meantime
> >
> >
> >
> > Are you asking "Can we get Buzzword's editor as a Flex
component?". That's
> > a different part of the company, and I'm not aware of any plans to
make it
> > available in component form (either free or for money). I suspect
that there
> > are business reasons to keep it as an Adobe-only application for
awhile, but
> > I'm just an engineer and not involved in such decisions.
> >
> >
> >
> > BTW, what does your CRM app need in a texteditor beyond what
> > RichTextEditor currently provides? RTL support or something else?
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Harald Dehn
> > *Sent:* Thursday, February 14, 2008 12:18 AM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* Re: [flexcoders] Rich Text Editor
> >
> > Hi Gordon,
> >
> >
> >
> > this is a realy good news. Do you the a chance to get a  
component from

> > your "buzzword"-company in the meantime. We need a texteditor for
a crm
> > application we developed in flex.
> >
> >
> >
> > Regards,
> >
> > Harald Dehn
> >
> >
> >
> > Am 14.02.2008 um 02:48 schrieb Gordon Smith:
> >
> >
> >
> >
> >
> > > Why Adobe does not make something decent about this issue?
> >
> >
> >
> > We're working on it! Flash Player 10 ("Astro") and Flex 4 are
likely to
> > have a new text engine that will support right-to-left text and
other text
> > improvements.
> >
> >
> >
> > Gordon Smith
> >
> > ! Adobe Fl ex SDK Team
> >
> >
> > --
> >
> > *From:* flexcoders@yahoogroups.com [mailto:flexcoders@  


> > yahoogroups.com] *On Behalf Of *Rafael Faria
> > *Sent:* Wednesday, February 13, 2008 4:47 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Rich Text Editor
> >
> > I know this had been a big subject of discussion in the past but i
> > want to bring it up again.
> >
> > Does anybody found a good solution to implement RTE in f! lex?
> >
> > I tried the iframe solution but it seems that it has some problems
> > with rendering, someone work it out how to fix it?
> >
> > I know there is some people from adobe here, so my question is
> > Why Adobe does not make something decent about this issue?
> > If adobe is trying to improve the flash player as much as they  
can,

> > why do not spend some time in a decent RTE component?
> >
> > Any suggestion for any good RTE, even a paid one?
> >
> > Thanks
> > Raf
> >
> >
>

Re: [flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread Mark Lapasa
OMG i didn't know about Ctrl-3This is awesome.

Anyways, I like FB3 cause it can handle the two plugins I use everyday

Subversive
Mylyn

Refactoring is nice but I don't use it as often as I thought I would.

-mL

Uber_Nick wrote:
>
> In short: faster and more stable.
>
> FB3 is a lot smarter about compiling, so building a project after
> making a change goes a lot faster. Developers were increasingly
> frustrated and slowed by the long build times of our project with FB2.01.
>
> There were also a variety of small bugs in 2.01, such as issues
> recompiling styles, embedded assets, or external xml data.
> Occasionally it would cause FB2 to crash, but usually it would just
> require full cleans. These minor frustrations really built up and
> could waste a lot of time and productivity (as well as lower morale
> and excitement about the technology). There's no reason to put
> developers through using older, buggier tools when better options are
> available.
>
> Also, FB3 is based on a newer version of Eclipse. So better
> navigation (ctrl+3 is a lifesaver!), smarter memory usage, and
> enhanced stability all come with it.
>
> Not to mention all the plugin upgrades if you're using any of them
> (Subclipse, SpringIDE, Jupiter, etc)...
>
> -Nick Matelli
> Amentra, Inc
>
> --- In flexcoders@yahoogroups.com 
> , Mr Greg Murnock <[EMAIL PROTECTED]> 
> wrote:
> >
> > For the big discussion of the day/week...
> >
> > I have been given the task to give a "strong case" on why we need to
> spend the money (proposed pricing schedule) on the upgrade to FB3,
> when available.
> > Our company does not look to do AIR apps, we do not have a case to
> use Advanced Datagrid, we front CF7 with an Oracle DB (irrelevant) so
> the FDS is already there. Current F2 apps with charting working great.
> >
> > I want to upgrade but need more of a reason, for my [EMAIL PROTECTED] 
> > company -
> did I say that outloud, for us to purchase the upgrades. All comments
> are accepted. :)
> >
> > Greg
> >
> >
> >
> __
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> 
> >
>
>  



Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.



Re: [flexcoders] Re: Milestone 4 - beta - color code and formatting for code

2008-02-15 Thread João Fernandes
I'm using FB standalone too :)

just open a command prompt and execute flexbuilder.exe /clean


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org



[flexcoders] Re: Milestone 4 - beta - color code and formatting for code

2008-02-15 Thread djhatrick
Actually, I am using the stand alone Flex Builder. 

Can I ask specific instructions of how to start with the /clean
command, ie in terminal.

Thanks,
Patrick





--- In flexcoders@yahoogroups.com, "djhatrick" <[EMAIL PROTECTED]> wrote:
>
> HI,
> 
> I just got the latest milestone, my previous one expired. Now, my
> actionscript projects, and flex projects have no code formatting or
> color coding.  I just can't code with out indentation or color :(
> 
> Any suggestions how to enable or fix this?
> 
> Thanks,
> Patrick
>




  1   2   >